:root {
  --blue-950: #061a3a;
  --blue-900: #082657;
  --blue-800: #0b3f91;
  --blue-700: #0b5cff;
  --blue-600: #2474ff;
  --blue-500: #3a86ff;
  --blue-100: #eaf2ff;
  --blue-50: #f5f8ff;
  --ink: #11213d;
  --muted: #60708c;
  --line: #dce5f2;
  --soft: #f6f9fe;
  --white: #ffffff;
  --green: #20b875;
  --shadow-sm: 0 12px 30px rgba(15, 57, 118, 0.08);
  --shadow-md: 0 24px 60px rgba(10, 52, 118, 0.14);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { max-width: 100%; }

.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 2000; top: 12px; left: 12px; padding: 10px 14px;
  background: var(--blue-950); color: white; border-radius: 8px; transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; z-index: 1000; top: 0; height: 76px;
  background: rgba(255, 255, 255, 0.9); border-bottom: 1px solid rgba(220, 229, 242, 0.78);
  backdrop-filter: blur(16px); transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.97); box-shadow: 0 8px 28px rgba(8, 38, 87, .08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  display: grid; width: 42px; height: 42px; place-items: center; color: white;
  background: linear-gradient(145deg, var(--blue-700), #053a9d); border-radius: 12px;
  box-shadow: 0 7px 16px rgba(11, 92, 255, .24); font-size: 14px; font-weight: 800; letter-spacing: -.02em;
}
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 16px; letter-spacing: -.03em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 700; }
.site-nav > a { position: relative; transition: color .2s ease; }
.site-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px;
  background: var(--blue-700); transition: right .2s ease;
}
.site-nav > a:hover, .site-nav > a.active { color: var(--blue-700); }
.site-nav > a:hover::after, .site-nav > a.active::after { right: 0; }
.nav-cta {
  padding: 11px 17px; color: white; background: var(--blue-700); border-radius: 10px;
  box-shadow: 0 8px 20px rgba(11, 92, 255, .2); transition: transform .2s ease, background .2s ease;
}
.nav-cta:hover { color: white !important; background: var(--blue-800); transform: translateY(-1px); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; border-radius: 10px; }
.menu-button span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .25s, opacity .25s; }

.hero { position: relative; overflow: hidden; padding: 92px 0 0; background: linear-gradient(180deg, #fbfdff 0%, #ffffff 72%); }
.hero::before {
  content: ""; position: absolute; top: -240px; left: -180px; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(58, 134, 255, .13), transparent 68%); pointer-events: none;
}
.hero-grid-bg, .contact-grid-bg {
  position: absolute; inset: 0; opacity: .4; pointer-events: none;
  background-image: linear-gradient(rgba(11, 92, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 92, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(to bottom, black, transparent 78%);
}
.hero-layout { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 62px; align-items: center; }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--blue-700); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 2px; background: var(--blue-700); }
.hero h1 { margin: 0; font-size: clamp(43px, 5vw, 68px); line-height: 1.16; letter-spacing: -.06em; word-break: keep-all; }
.hero h1 em { color: var(--blue-700); font-style: normal; }
.hero-lead { max-width: 660px; margin: 27px 0 0; color: #52637e; font-size: 17px; line-height: 1.9; word-break: keep-all; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px;
  padding: 0 22px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgba(36, 116, 255, .32); outline-offset: 3px; }
.button-primary { color: white; background: var(--blue-700); box-shadow: 0 12px 28px rgba(11, 92, 255, .25); }
.button-primary:hover { background: var(--blue-800); box-shadow: 0 15px 36px rgba(11, 92, 255, .32); }
.button-secondary { border-color: var(--line); background: white; }
.button-secondary:hover { border-color: #b6cbeb; box-shadow: var(--shadow-sm); }
.availability { display: flex; align-items: center; gap: 9px; margin-top: 27px; color: var(--muted); font-size: 12px; }
.availability strong { color: #234261; }
.status-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(32, 184, 117, .12); }
.divider { width: 1px; height: 13px; margin: 0 4px; background: var(--line); }

.hero-panel { position: relative; padding: 16px; }
.panel-orbit { position: absolute; border: 1px solid rgba(36, 116, 255, .12); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 480px; height: 480px; top: -45px; left: 25px; }
.orbit-two { width: 380px; height: 380px; top: 5px; left: 75px; border-style: dashed; }
.code-window { position: relative; z-index: 1; overflow: hidden; padding-bottom: 18px; background: white; border: 1px solid #dfe8f6; border-radius: 20px; box-shadow: var(--shadow-md); transform: rotate(1.2deg); }
.window-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 16px; border-bottom: 1px solid #e5ecf7; color: #73829a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d6dfec; }
.window-dots i:first-child { background: #ff7f7a; }
.window-dots i:nth-child(2) { background: #f7c84f; }
.window-dots i:last-child { background: #48cf8d; }
.live-chip { justify-self: end; display: inline-flex; align-items: center; gap: 5px; color: #29835d; font-size: 8px; font-weight: 800; }
.live-chip i { width: 6px; height: 6px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(32, 184, 117, .12); }
.code-body { padding: 22px 20px 18px; color: #435069; background: #fbfdff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; line-height: 2.05; white-space: nowrap; }
.line-no { display: inline-block; width: 30px; color: #b0bdcf; user-select: none; }
.code-blue { color: #0b5cff; font-weight: 700; }
.code-green { color: #18a86c; font-weight: 700; }
.metric-stack { display: grid; gap: 10px; padding: 0 16px; }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.metric-card { padding: 15px; border: 1px solid #e0e8f4; border-radius: 13px; background: white; }
.metric-card p { margin: 0 0 6px; color: var(--muted); font-size: 10px; }
.metric-card strong { display: block; color: var(--blue-900); font-size: 20px; letter-spacing: -.04em; }
.metric-card small { display: block; margin-top: 6px; color: #7e8da2; font-size: 8px; }
.metric-highlight { border-color: #c8dbff; background: linear-gradient(110deg, #f4f8ff, #ffffff); }
.metric-value { display: flex; align-items: center; gap: 10px; }
.metric-value s { color: #9aa7ba; font-size: 17px; }
.metric-value span { color: var(--blue-500); }
.metric-value strong { display: inline; color: var(--blue-700); font-size: 28px; }
.metric-value-wide { align-items: flex-start; }
.metric-value-wide strong { max-width: 255px; font-size: 19px; line-height: 1.25; word-break: keep-all; }
.proof-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 95px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.proof-strip > div { display: grid; gap: 2px; padding: 23px 28px; border-right: 1px solid var(--line); }
.proof-strip > div:last-child { border-right: 0; }
.proof-strip strong { color: var(--blue-900); font-size: 22px; letter-spacing: -.04em; }
.proof-strip span { color: var(--muted); font-size: 11px; }

.section { padding: 120px 0; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 680px; }
.section-heading.centered { margin: 0 auto 54px; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); line-height: 1.25; letter-spacing: -.055em; word-break: keep-all; }
.section-heading > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 16px; }
.intro-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start; }
.intro-copy { padding-top: 5px; }
.intro-copy p { margin: 0 0 20px; color: #5a6c86; font-size: 16px; line-height: 1.95; word-break: keep-all; }
.intro-copy .intro-lead { color: #223a5a; font-size: 20px; font-weight: 700; line-height: 1.8; }
.intro-copy blockquote { position: relative; margin: 32px 0 0; padding: 23px 26px 23px 51px; color: var(--blue-900); background: var(--blue-50); border: 1px solid #d7e6ff; border-radius: 16px; font-weight: 750; }
.intro-copy blockquote::before { content: "“"; position: absolute; top: 8px; left: 17px; color: var(--blue-500); font-size: 38px; font-family: Georgia, serif; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { position: relative; overflow: hidden; min-height: 382px; padding: 30px 25px; background: white; border: 1px solid #e0e8f4; border-radius: var(--radius); box-shadow: 0 8px 24px rgba(10, 52, 118, .04); transition: transform .25s ease, box-shadow .25s ease, border .25s ease; }
.service-card::after { content: ""; position: absolute; inset: auto -35px -55px auto; width: 130px; height: 130px; border: 24px solid var(--blue-50); border-radius: 50%; }
.service-card:hover { z-index: 2; transform: translateY(-8px); border-color: #b8d1ff; box-shadow: var(--shadow-md); }
.service-number { position: absolute; top: 24px; right: 22px; color: #cbd7e8; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.service-icon { display: grid; width: 48px; height: 48px; place-items: center; color: var(--blue-700); background: var(--blue-100); border-radius: 14px; font-size: 22px; font-weight: 800; }
.service-card h3 { margin: 24px 0 11px; font-size: 20px; letter-spacing: -.035em; }
.service-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.service-card ul { position: relative; z-index: 1; display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.service-card li { position: relative; padding-left: 17px; color: #3f526e; font-size: 12px; font-weight: 650; }
.service-card li::before { content: ""; position: absolute; top: 8px; left: 0; width: 6px; height: 6px; background: var(--blue-600); border-radius: 50%; }

.results-section { background: white; }
.results-section .section-heading { margin-bottom: 50px; }
.impact-list { border-top: 1px solid var(--line); }
.impact-card { display: grid; grid-template-columns: 64px 1fr 180px; gap: 28px; align-items: center; padding: 38px 0; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }
.impact-card:hover { padding-left: 18px; padding-right: 18px; background: linear-gradient(90deg, var(--blue-50), white); }
.impact-index { align-self: start; padding-top: 4px; color: var(--blue-600); font-size: 12px; font-weight: 800; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-row span { padding: 5px 9px; color: var(--blue-800); background: var(--blue-100); border-radius: 999px; font-size: 9px; font-weight: 800; }
.impact-main h3 { margin: 13px 0 9px; font-size: 23px; letter-spacing: -.04em; }
.impact-main p { max-width: 720px; margin: 0; color: var(--muted); font-size: 14px; }
.impact-number { justify-self: end; text-align: right; }
.impact-number strong { display: block; color: var(--blue-700); font-size: 28px; line-height: 1; letter-spacing: -.05em; }
.impact-number span { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; }

.credentials-section { position: relative; overflow: hidden; background: linear-gradient(180deg, #f7faff 0%, #eef5ff 100%); }
.credentials-section::before { content: ""; position: absolute; width: 520px; height: 520px; top: -270px; right: -180px; border: 74px solid rgba(11,92,255,.045); border-radius: 50%; }
.credentials-head { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 45px; }
.verification-badge { flex: 0 0 auto; display: grid; min-width: 225px; gap: 2px; padding: 20px 22px; background: white; border: 1px solid #cfe0fc; border-radius: 16px; box-shadow: var(--shadow-sm); }
.verification-badge span { color: var(--blue-700); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.verification-badge strong { color: var(--blue-900); font-size: 18px; letter-spacing: -.03em; }
.verification-badge small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.certificate-gallery { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.certificate-card { overflow: hidden; margin: 0; background: white; border: 1px solid #dbe7f8; border-radius: 18px; box-shadow: 0 14px 35px rgba(10,52,118,.08); transition: transform .25s ease, box-shadow .25s ease; }
.certificate-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.certificate-card > a { position: relative; display: block; overflow: hidden; aspect-ratio: .89; background: #edf3fb; }
.certificate-card img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.certificate-card:hover img { transform: scale(1.018); }
.image-action { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; color: white; background: rgba(6,26,58,.82); border-radius: 8px; font-size: 9px; font-weight: 800; backdrop-filter: blur(6px); }
.certificate-card figcaption { display: grid; gap: 4px; padding: 17px 18px 19px; }
.certificate-card figcaption strong { color: var(--blue-900); font-size: 13px; }
.certificate-card figcaption span { color: var(--muted); font-size: 10px; }
.credential-note { margin: 22px 0 0; color: #71819a; font-size: 10px; text-align: center; }

.section-blue { position: relative; overflow: hidden; color: white; background: radial-gradient(circle at 85% 0%, #1268df 0, transparent 35%), linear-gradient(145deg, #061a3a 0%, #082d68 70%, #073c86 100%); }
.section-blue::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 48px 48px; }
.section-blue > .container { position: relative; z-index: 1; }
.projects-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 42px; }
.section-heading.light .section-kicker { color: #8fbaff; }
.section-heading.light > p:last-child { color: #aebdd4; }
.project-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.filter-button { padding: 8px 13px; color: #bdd0e9; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font-size: 11px; font-weight: 750; cursor: pointer; transition: background .2s, color .2s, border .2s; }
.filter-button:hover, .filter-button.active { color: var(--blue-950); background: white; border-color: white; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.project-card { min-height: 298px; padding: 25px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; backdrop-filter: blur(8px); transition: transform .25s ease, background .25s ease, opacity .2s ease; }
.project-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.11); }
.project-card.hidden { display: none; }
.project-meta { display: flex; justify-content: space-between; gap: 12px; color: #8fbaff; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.project-card h3 { margin: 25px 0 13px; font-size: 19px; line-height: 1.4; letter-spacing: -.035em; }
.project-card p { min-height: 74px; margin: 0; color: #becce0; font-size: 12px; line-height: 1.75; }
.tech-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.tech-list span { padding: 5px 8px; color: #dbe9ff; background: rgba(20, 110, 255, .2); border: 1px solid rgba(143, 186, 255, .16); border-radius: 7px; font-size: 9px; font-weight: 700; }
.project-note { max-width: 900px; margin: 30px auto 0; color: #91a8c7; font-size: 11px; text-align: center; }

.skills-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.skills-board { display: grid; gap: 12px; padding: 18px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); }
.skill-group { padding: 18px; background: white; border: 1px solid #e3ebf6; border-radius: 14px; }
.skill-group strong { display: block; margin-bottom: 11px; color: var(--blue-900); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.skill-group div { display: flex; flex-wrap: wrap; gap: 7px; }
.skill-group span { padding: 6px 10px; color: #47607f; background: var(--blue-50); border-radius: 7px; font-size: 10px; font-weight: 700; }

.process-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.process-list li { position: relative; padding: 0 25px; border-right: 1px solid var(--line); }
.process-list li:first-child { padding-left: 0; }
.process-list li:last-child { padding-right: 0; border-right: 0; }
.process-list > li > span { display: grid; width: 45px; height: 45px; place-items: center; color: var(--blue-700); background: white; border: 1px solid #cadcff; border-radius: 50%; font-size: 11px; font-weight: 850; box-shadow: 0 7px 16px rgba(11, 92, 255, .1); }
.process-list h3 { margin: 20px 0 8px; font-size: 18px; letter-spacing: -.03em; }
.process-list p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

.contact-section { position: relative; overflow: hidden; padding: 96px 0; color: white; background: linear-gradient(120deg, #0b5cff, #073b96); }
.contact-section::after { content: ""; position: absolute; width: 440px; height: 440px; top: -220px; right: -100px; border: 70px solid rgba(255,255,255,.07); border-radius: 50%; }
.contact-grid-bg { opacity: .25; mask-image: none; }
.contact-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.contact-copy .section-kicker { color: #c7dcff; }
.contact-copy h2 { margin: 0; font-size: clamp(34px, 4vw, 51px); line-height: 1.28; letter-spacing: -.055em; word-break: keep-all; }
.contact-copy > p:last-child { max-width: 620px; margin: 22px 0 0; color: #d8e6ff; font-size: 15px; }
.contact-card { padding: 30px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.25); border-radius: 20px; backdrop-filter: blur(10px); }
.contact-card > p { margin: 0 0 8px; color: #c8ddff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-email { display: inline-block; font-size: clamp(24px, 3vw, 35px); font-weight: 800; letter-spacing: -.04em; }
.contact-email:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-phone { display: flex; align-items: center; gap: 9px; width: fit-content; margin-top: 7px; color: #dce9ff; font-size: 17px; font-weight: 750; letter-spacing: -.02em; }
.contact-phone span { padding: 3px 7px; color: var(--blue-800); background: white; border-radius: 6px; font-size: 9px; font-weight: 850; }
.contact-phone:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.contact-actions { display: flex; gap: 9px; margin-top: 25px; }
.button-white { color: var(--blue-800); background: white; }
.button-phone { color: white; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
.button-phone:hover { background: rgba(255,255,255,.22); }
.copy-button { padding: 0 18px; color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.35); border-radius: 12px; font-size: 12px; font-weight: 800; cursor: pointer; }
.copy-button:hover { background: rgba(255,255,255,.16); }
.contact-card small { display: block; margin-top: 20px; color: #c7dbfa; font-size: 10px; line-height: 1.7; }
.company-address { display: grid; gap: 3px; margin-top: 18px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.2); color: #c7dbfa; font-size: 10px; font-style: normal; }
.company-address strong { color: white; font-size: 11px; }

.site-footer { padding: 30px 0; background: var(--blue-950); color: #91a8c7; }
.footer-layout { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-brand .brand-copy strong { color: white; }
.footer-brand .brand-copy small { color: #879fbe; }
.footer-layout p, .footer-layout > a { margin: 0; font-size: 10px; }
.footer-layout > a:hover { color: white; }
.toast { position: fixed; z-index: 1500; left: 50%; bottom: 28px; padding: 12px 18px; color: white; background: var(--blue-950); border-radius: 10px; box-shadow: var(--shadow-md); font-size: 12px; font-weight: 700; opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.service-grid .reveal:nth-child(2), .process-list .reveal:nth-child(2) { transition-delay: .07s; }
.service-grid .reveal:nth-child(3), .process-list .reveal:nth-child(3) { transition-delay: .14s; }
.service-grid .reveal:nth-child(4), .process-list .reveal:nth-child(4) { transition-delay: .21s; }

@media (max-width: 1020px) {
  .site-nav { gap: 18px; }
  .hero { padding-top: 72px; }
  .hero-layout { grid-template-columns: 1fr; gap: 65px; }
  .hero-copy { max-width: 760px; }
  .hero-panel { width: min(100%, 610px); margin: 0 auto; }
  .proof-strip { margin-top: 75px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-card { grid-template-columns: 50px 1fr 150px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .certificate-gallery { gap: 12px; }
  .skills-layout, .intro-layout { gap: 55px; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .site-header { height: 68px; }
  .menu-button { display: block; cursor: pointer; }
  .menu-button[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 68px 0 auto; display: grid; gap: 0; padding: 14px 15px 24px;
    background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); box-shadow: 0 22px 40px rgba(8,38,87,.12);
    opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity .22s, transform .22s;
  }
  .site-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .site-nav > a { padding: 14px 11px; }
  .site-nav > a::after { display: none; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero { padding-top: 55px; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 54px); }
  .hero-lead { font-size: 15px; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip > div:nth-child(2) { border-right: 0; }
  .proof-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 88px 0; }
  .intro-layout, .skills-layout, .contact-layout { grid-template-columns: 1fr; gap: 45px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .impact-card { grid-template-columns: 42px 1fr; gap: 15px; }
  .impact-number { grid-column: 2; justify-self: start; margin-top: 5px; text-align: left; }
  .projects-head { display: block; }
  .credentials-head { align-items: flex-start; }
  .project-filters { justify-content: flex-start; margin-top: 28px; }
  .process-list { grid-template-columns: 1fr 1fr; gap: 35px 0; }
  .process-list li:nth-child(2) { border-right: 0; }
  .process-list li:nth-child(3) { padding-left: 0; }
  .contact-section { padding: 82px 0; }
}

@media (max-width: 560px) {
  .brand-copy small { display: none; }
  .hero-actions, .contact-actions { display: grid; grid-template-columns: 1fr; }
  .availability { align-items: flex-start; flex-wrap: wrap; line-height: 1.5; }
  .availability .divider { display: none; }
  .availability > span:last-child { flex-basis: 100%; padding-left: 17px; }
  .code-window { transform: none; }
  .code-body { overflow: hidden; padding-left: 14px; font-size: 8.4px; }
  .orbit-one, .orbit-two { display: none; }
  .proof-strip > div { padding: 19px 17px; }
  .proof-strip strong { font-size: 19px; }
  .section-heading h2 { font-size: 33px; }
  .intro-copy .intro-lead { font-size: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .impact-card { grid-template-columns: 1fr; padding: 30px 0; }
  .impact-index { grid-column: 1; }
  .impact-number { grid-column: 1; }
  .impact-main h3 { font-size: 20px; }
  .project-grid { grid-template-columns: 1fr; }
  .credentials-head { display: grid; gap: 28px; }
  .verification-badge { width: 100%; min-width: 0; }
  .certificate-gallery { grid-template-columns: 1fr; }
  .certificate-card > a { aspect-ratio: auto; }
  .certificate-card img { height: auto; }
  .project-card { min-height: auto; }
  .project-card p { min-height: auto; }
  .process-list { grid-template-columns: 1fr; gap: 34px; }
  .process-list li { display: grid; grid-template-columns: 52px 1fr; gap: 15px; padding: 0 !important; border-right: 0; }
  .process-list h3 { margin-top: 2px; }
  .contact-copy h2 { font-size: 34px; }
  .contact-card { padding: 24px 20px; }
  .contact-email { font-size: 22px; }
  .footer-layout { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
