:root {
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", monospace;
  --paper: #f6f4f0;
  --white: #ffffff;
  --blue: #075db8;
  --blue-ref: #004aac;
  --navy: #003e9a;
  --sky: #94b9eb;
  --wash: #eaf1f4;
  --border: #cbd7de;
  --muted: #788abf;
  --orange: #e84818;
  --ink: #14284a;
  --radius: 16px;
  --page: min(1480px, calc(100vw - 48px));
  --shadow: 0 30px 90px rgba(0, 62, 154, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before { display: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--white); background: var(--orange); }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-160%); padding: 10px 14px; color: var(--white); background: var(--navy); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.site-frame { width: 100%; margin: 0; overflow: clip; background-color: var(--paper); background-image: radial-gradient(circle at 15% 25%, rgba(7,93,184,.035) 0 1px, transparent 1.2px), radial-gradient(circle at 72% 61%, rgba(20,40,74,.025) 0 .8px, transparent 1px); background-size: 8px 8px, 12px 12px; border: 0; box-shadow: none; }

.site-header { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 78px; padding: 12px clamp(24px, 4vw, 60px); color: var(--blue-ref); background: repeating-linear-gradient(120deg, rgba(7,93,184,.055) 0 1px, transparent 1px 3px), rgba(246,244,240,.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(16px); }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 12px; font: 600 clamp(1.4rem, 2vw, 1.9rem)/1 var(--font-display); }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.primary-nav { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 24px); font-size: .82rem; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; }
.primary-nav a { position: relative; padding: 8px 0; }
.primary-nav a::after { content: ""; position: absolute; right: 0; bottom: 4px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .primary-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.primary-nav > span { font-size: .45rem; }
.mobile-resume { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 10px 20px; border: 1px solid currentColor; border-radius: 999px; font-family: var(--font-mono); font-size: .8rem; font-weight: 500; line-height: 1; text-transform: uppercase; letter-spacing: .025em; transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s ease; }
.button span:last-child { transition: transform .3s ease; }
.button:hover span:last-child { transform: translate(2px, 2px); }
.button:active { transform: scale(.98); }
.button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.button--resume { justify-self: end; background: rgba(255,255,255,.5); }
.button--resume:hover, .button--outline:hover { color: var(--white); background: var(--blue); border-color: var(--blue); }
.button--solid { color: var(--white); background: var(--blue); border-color: var(--blue); cursor: pointer; }
.button--solid:hover { background: var(--navy); border-color: var(--navy); }
.menu-toggle { display: none; }

.section-pad { padding: clamp(68px, 7vw, 104px) clamp(24px, 4.8vw, 72px); }
.eyebrow, .section-kicker, .experience-card__meta, .tag-list, .form-note { font-size: .76rem; font-weight: 500; line-height: 1.4; letter-spacing: .055em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { margin-bottom: .5em; font-family: var(--font-display); font-weight: 600; line-height: .98; letter-spacing: -.045em; }
h1 { font-size: clamp(3.3rem, 5vw, 6.2rem); }
h2 { font-size: clamp(2.8rem, 4.5vw, 5.5rem); }
h3 { font-size: clamp(2.4rem, 4vw, 4.9rem); }
.grid-card { position: relative; overflow: hidden; background: rgba(255,255,255,.35); border: 1px solid var(--border); border-radius: var(--radius); }

.hero { display: flex; align-items: stretch; min-height: calc(100svh - 78px); padding-top: 24px; padding-bottom: 32px; }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: minmax(0, 1fr) 132px; gap: 0; width: 100%; height: clamp(570px, calc(100svh - 134px), 700px); margin: auto 0; }
.hero-grid > * { min-width: 0; margin: 0; }
.hero-statement { grid-column: 1 / 5; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(28px, 3.2vw, 48px); }
.hero-statement__layout, .hero-statement__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 100%; height: 100%; }
.hero-statement__portrait { display: none; }
.hero-statement h1 { max-width: 11ch; color: var(--blue-ref); font-size: clamp(2.9rem, 4vw, 4.8rem); }
.profile-card { grid-column: 5 / 9; grid-row: 1; display: flex; flex-direction: column; justify-content: center; min-height: 0; padding: clamp(22px, 2.6vw, 38px); color: var(--white); text-align: center; background: var(--blue-ref); border: 7px solid var(--paper); border-radius: var(--radius); outline: 1px solid var(--border); outline-offset: -1px; }
.profile-card__image { flex: 0 0 auto; width: min(78%, 320px); min-width: 150px; aspect-ratio: 1; margin: 0 auto clamp(18px, 2.2vw, 28px); overflow: hidden; background: var(--paper) url("assets/tarang-blue-profile-desktop-v5.png") center / cover no-repeat; border: 1px solid rgba(255,255,255,.45); border-radius: 16px; }
.profile-card__image img { display: block; width: 100%; height: 100%; opacity: 1; visibility: visible; object-fit: cover; object-position: center; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.profile-card:hover img { transform: translateY(-3px); }
.profile-card > p { margin-bottom: 8px; font: 600 clamp(2.9rem, 3.8vw, 4.7rem)/.9 var(--font-display); letter-spacing: -.045em; }
.profile-card > span { max-width: 38ch; margin: 0 auto; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.featured-impact { grid-column: 9 / 13; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: clamp(22px, 2.5vw, 34px); min-width: 0; padding: clamp(26px, 2.8vw, 42px); }
.featured-impact__copy { position: relative; z-index: 2; }
.featured-impact h2 { color: var(--blue-ref); font-size: clamp(2.15rem, 2.8vw, 3.5rem); }
.featured-impact p:not(.eyebrow) { max-width: 35ch; font-size: .84rem; line-height: 1.55; }
.text-link { display: inline-flex; align-items: center; gap: 10px; width: max-content; color: var(--blue-ref); font-size: .78rem; text-transform: uppercase; }
.text-link span { transition: transform .3s ease; }
.text-link:hover span { transform: translate(3px, 3px); }
.capability-tile { grid-column: 1 / 5; padding: 18px clamp(20px, 2.3vw, 34px); }
.capability-tile .eyebrow { margin-bottom: 8px; }
.capability-tile .dash-list { font-size: .72rem; line-height: 1.45; }
.dash-list { margin: 0; padding: 0; list-style: none; }
.dash-list li { position: relative; padding-left: 23px; }
.dash-list li::before { content: "—"; position: absolute; left: 0; color: var(--blue); }
.hero-meta { grid-column: 5 / 9; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 18px clamp(20px, 2.3vw, 34px); color: var(--blue-ref); text-transform: uppercase; font-size: .74rem; }
.hero-proof { grid-column: 9 / 13; display: flex; align-items: center; gap: 16px; padding: 18px clamp(20px, 2.3vw, 34px); color: var(--orange); }
.hero-proof strong { font: 600 clamp(3rem, 4vw, 4.7rem)/.8 var(--font-display); }
.hero-proof span { max-width: 22ch; font-size: .76rem; line-height: 1.45; text-transform: uppercase; }

.section-intro { display: grid; grid-template-columns: .8fr 1.5fr; gap: clamp(40px, 8vw, 130px); align-items: start; width: min(1080px, 100%); margin: 0 auto clamp(50px, 7vw, 100px); }
.section-intro h2 { color: var(--blue-ref); }
.section-intro > div:last-child > p { max-width: 66ch; }
.section-kicker { display: flex; align-items: center; gap: 14px; color: var(--blue-ref); }
.section-kicker span { width: 72px; height: 1px; background: currentColor; }
.section-kicker p { margin: 0; }

.experience { background: rgba(255,255,255,.34); border-top: 1px solid rgba(203,215,222,.65); border-bottom: 1px solid rgba(203,215,222,.65); }
.experience-stack { width: min(1080px, 100%); margin: 0 auto; }
.experience-card { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .75fr); height: clamp(340px, 30vw, 410px); min-height: 0; margin-bottom: 24px; overflow: hidden; color: var(--white); border-radius: var(--radius); box-shadow: 0 14px 38px rgba(0,62,154,.09); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease; }
.experience-card:hover { transform: translateY(-4px); box-shadow: 0 28px 70px rgba(0,62,154,.16); }
.experience-card--blue { background: var(--blue-ref); }
.experience-card--orange { background: var(--orange); }
.experience-card__content { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(28px, 3.2vw, 44px); }
.experience-card__meta { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: auto; }
.experience-card__meta span { padding: 6px 10px; border: 1px solid currentColor; border-radius: 999px; }
.experience-card h3 { max-width: 14ch; margin-top: 24px; font-size: clamp(2.35rem, 3.5vw, 4.25rem); }
.experience-card p { max-width: 62ch; margin-bottom: 0; font-size: .86rem; line-height: 1.55; }
.experience-card__media { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 12px; }
.experience-card__media img { width: 100%; height: auto; max-height: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: var(--paper); border-radius: 12px; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.experience-card:hover .experience-card__media img { transform: translateY(-3px); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 6px 10px; border: 1px solid currentColor; border-radius: 999px; }
.outcome-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; font-size: .72rem; line-height: 1.45; }
.outcome-row span { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.55); }
.experience-note { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; margin-bottom: 24px; padding: clamp(24px, 2.6vw, 36px); background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); }
.experience-note .experience-card__meta { color: var(--blue-ref); }
.experience-note p { max-width: 70ch; margin-bottom: 0; font: 500 clamp(1.4rem, 2vw, 2.15rem)/1.16 var(--font-display); }
.experience-note--split { grid-template-columns: 1fr 1fr; gap: 0; }
.experience-note--split > div { padding: 10px clamp(18px, 3vw, 44px); }
.experience-note--split > div + div { border-left: 1px solid var(--border); }
.experience-note--split p { margin-top: 16px; font-size: clamp(1.25rem, 1.65vw, 1.75rem); }
.experience-card--feature { min-height: 0; }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin-top: 18px; }
.impact-grid div { display: flex; flex-direction: column; padding: 12px 8px; border-top: 1px solid rgba(255,255,255,.55); }
.impact-grid strong { font: 600 clamp(1.7rem, 2.4vw, 2.8rem)/1 var(--font-display); }
.impact-grid span { margin-top: 8px; font-size: .66rem; line-height: 1.35; text-transform: uppercase; }

/* Experience cards share one strict layout so every image and text panel stays aligned. */
.experience-card {
  --card-bg: var(--blue-ref);
  --card-overlay: var(--navy);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(390px, 1fr);
  height: 370px;
  min-height: 370px;
  color: var(--white);
  background: var(--card-bg);
}
.experience-card--blue { --card-bg: var(--blue-ref); --card-overlay: var(--navy); }
.experience-card--orange { --card-bg: var(--orange); --card-overlay: #c93b16; }
.experience-card--navy { --card-bg: var(--navy); --card-overlay: #002d72; }
.experience-card--soft { --card-bg: var(--wash); --card-overlay: var(--blue-ref); color: var(--ink); border: 1px solid var(--border); }
.experience-card__content { position: relative; display: block; min-width: 0; overflow: hidden; padding: 0; }
.experience-card__surface,
.experience-card__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(30px, 3vw, 44px); }
.experience-card__surface { transition: opacity .42s ease, transform .52s cubic-bezier(.2,.8,.2,1); }
.experience-card__surface .experience-card__meta { margin-bottom: 0; }
.experience-card h3 { max-width: 14ch; margin: auto 0 14px; font-size: clamp(2.3rem, 3vw, 3.7rem); }
.experience-card__surface > p { min-height: 3em; max-width: 58ch; margin-bottom: 0; font-size: .84rem; line-height: 1.5; }
.experience-card__hint { display: inline-block; margin-top: 16px; font-size: .69rem; font-weight: 600; letter-spacing: .045em; text-transform: uppercase; transform-origin: left center; animation: detail-hint-pulse 5s ease-in-out infinite; }
.experience-card__hint-touch { display: none; }
@keyframes detail-hint-pulse {
  0%, 24%, 100% { opacity: .82; transform: scale(1); }
  7%, 19% { opacity: 1; transform: scale(1.035); }
  13% { opacity: .9; transform: scale(1); }
}
.experience-card__overlay { justify-content: center; color: var(--white); background: var(--card-overlay); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .42s ease, transform .52s cubic-bezier(.2,.8,.2,1); }
.experience-card__overlay--paged { justify-content: stretch; }
.overlay-kicker { margin-bottom: 20px; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.experience-card__overlay ul { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.experience-card__overlay li { position: relative; max-width: 58ch; padding-left: 20px; font-size: .84rem; line-height: 1.5; }
.experience-card__overlay li::before { content: "◆"; position: absolute; top: .36em; left: 0; color: #ffb18f; font-size: .5rem; }
.overlay-pages { display: grid; grid-template-rows: minmax(0, 1fr) auto; width: 100%; height: 100%; }
.overlay-slide { grid-row: 1; display: flex; flex-direction: column; justify-content: center; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.5) transparent; }
.overlay-slide[hidden] { display: none; }
.overlay-points { display: grid; gap: 14px; }
.overlay-point strong { display: block; margin-bottom: 4px; font-size: .7rem; line-height: 1.35; letter-spacing: .045em; text-transform: uppercase; }
.overlay-point p { max-width: 64ch; margin: 0; font-size: .75rem; line-height: 1.42; }
.overlay-controls { grid-row: 2; display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.34); }
.overlay-controls button { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 50%; cursor: pointer; transition: color .25s ease, background .25s ease, transform .25s ease; }
.overlay-controls button:hover { color: var(--navy); background: var(--white); transform: translateY(-1px); }
.overlay-controls span { margin-left: 2px; font-size: .68rem; letter-spacing: .05em; }
.overlay-controls b { font-weight: 600; }
.experience-card:hover .experience-card__surface,
.experience-card:focus-visible .experience-card__surface,
.experience-card:focus-within .experience-card__surface,
.experience-card.is-detail-visible .experience-card__surface { opacity: 0; transform: translateY(-10px); }
.experience-card:hover .experience-card__overlay,
.experience-card:focus-visible .experience-card__overlay,
.experience-card:focus-within .experience-card__overlay,
.experience-card.is-detail-visible .experience-card__overlay { opacity: 1; transform: translateY(0); pointer-events: auto; }
.experience-card__media { display: flex; align-items: stretch; justify-content: stretch; min-width: 0; min-height: 0; overflow: hidden; padding: 0; background: var(--paper); }
.experience-card__media img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: center; background: var(--paper); border-radius: 0; transform: none; }
#eproxim .experience-card__media img { object-position: 58% center; }
.experience-card:hover .experience-card__media img { transform: none; }

.about { padding-bottom: 0; }
.about-grid { display: grid; grid-template-columns: .75fr 1.55fr; gap: clamp(60px, 10vw, 160px); margin-bottom: clamp(72px, 9vw, 130px); }
.about-grid aside { display: flex; flex-direction: column; align-items: flex-start; gap: 34px; }
.about-copy h2 { color: var(--blue-ref); }
.about-copy p { max-width: 72ch; }
.about-copy p:first-of-type { font: 500 clamp(1.35rem, 2vw, 2rem)/1.28 var(--font-display); }
.marquee { width: calc(100% + clamp(48px, 9.6vw, 144px)); margin-left: calc(clamp(24px, 4.8vw, 72px) * -1); overflow: hidden; color: var(--blue-ref); background: repeating-linear-gradient(120deg, rgba(7,93,184,.055) 0 1px, transparent 1px 3px), var(--wash); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
.marquee.marquee--edge { width: 100%; margin-left: 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee--technologies .marquee__track { animation-duration: 31s; animation-direction: reverse; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__group span { display: inline-flex; align-items: center; min-height: 96px; padding: 0 28px; font-size: .82rem; font-weight: 600; text-transform: uppercase; }
.marquee__group span::before { content: "◆"; margin-right: 28px; color: var(--orange); font-size: .52rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.impact { background: rgba(234,241,244,.55); }
.impact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(60px, 10vw, 160px); align-items: start; }
.impact-layout h2, .services-intro h2 { color: var(--blue-ref); font-size: clamp(2.7rem, 4vw, 4.7rem); }
.metric-stack { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.metric-stack article { display: grid; grid-template-columns: .55fr 1fr; align-items: center; min-height: 88px; padding: 14px clamp(18px, 3vw, 38px); color: var(--blue-ref); background: var(--paper); border-bottom: 1px solid var(--border); transition: color .35s ease, background .35s ease; }
.metric-stack article:last-child { border-bottom: 0; }
.metric-stack article:hover { color: var(--white); background: var(--blue-ref); }
.metric-stack strong { font: 600 clamp(2.2rem, 3.2vw, 3.7rem)/1 var(--font-display); }
.metric-stack span { font-size: .75rem; text-transform: uppercase; }

.services-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(60px, 10vw, 160px); align-items: start; }
.services-intro { position: sticky; top: 140px; }
.services-list { min-height: 576px; border-top: 1px solid var(--border); }
.services-list details { position: relative; display: block; height: 144px; overflow: hidden; border-bottom: 1px solid var(--border); }
.services-list summary { display: grid; grid-template-columns: 56px 1fr 28px; align-items: center; width: 100%; height: 144px; cursor: pointer; list-style: none; color: var(--blue-ref); transition: transform .42s cubic-bezier(.2,.8,.2,1), color .3s ease; }
.services-list summary::-webkit-details-marker { display: none; }
.services-list summary span { font-size: .72rem; }
.services-list summary strong { font: 600 clamp(1.7rem, 2.2vw, 2.5rem)/1.02 var(--font-display); }
.services-list summary i { position: relative; width: 20px; height: 20px; }
.services-list summary i::before, .services-list summary i::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: currentColor; transition: transform .3s ease; }
.services-list summary i::after { transform: rotate(90deg); }
.services-list details[open] summary { color: var(--navy); transform: translateY(-34px); }
.services-list details[open] summary i::after { transform: rotate(0); }
.services-list details > p { position: absolute; right: 40px; bottom: 14px; left: 56px; display: block; max-width: 68ch; margin: 0; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .34s ease .08s, transform .4s cubic-bezier(.2,.8,.2,1) .06s; }
.services-list details[open] > p { opacity: 1; transform: translateY(0); }

.contact { background: rgba(255,255,255,.3); border-top: 1px solid var(--border); }
.contact-shell { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 120px); padding: clamp(34px, 5.5vw, 82px); background: rgba(255,255,255,.45); border: 1px solid var(--border); border-radius: var(--radius); }
.contact-intro h2 { color: var(--blue-ref); }
.contact-details { display: grid; margin-top: 44px; border-top: 1px solid var(--border); }
.contact-details a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--border); transition: color .3s ease, padding .3s ease; }
.contact-details a:hover { color: var(--blue); padding-left: 8px; }
.contact-details span { color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.contact-form { display: flex; flex-direction: column; }
.contact-form label { display: block; margin-bottom: 24px; }
.contact-form label > span { display: block; margin-bottom: 7px; color: var(--blue-ref); font-size: .72rem; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--muted); border-radius: 0; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--orange); outline: 0; }
.contact-form .button { align-self: flex-start; margin-top: 10px; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .65rem; }

.site-footer { padding: clamp(52px, 6vw, 88px) clamp(24px, 4.8vw, 72px) 28px; color: var(--white); background: var(--blue-ref); }
.footer-top { display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 50px; align-items: start; }
.footer-name { font: 600 clamp(4rem, 7vw, 8rem)/.86 var(--font-display); letter-spacing: -.055em; }
.site-footer nav, .footer-social { display: grid; gap: 12px; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.28); }
.site-footer nav a, .footer-social a { width: max-content; font-size: .75rem; text-transform: uppercase; }
.site-footer nav a:hover, .footer-social a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 80px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.28); font-size: .67rem; text-transform: uppercase; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease var(--delay, 0ms), transform .8s cubic-bezier(.2,.8,.2,1) var(--delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.hero-enter { animation: hero-enter .78s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--delay, 0ms); }
@keyframes hero-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr auto; }
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: grid; gap: 0; padding: 18px clamp(24px, 4vw, 60px) 26px; background: rgba(246,244,240,.98); border-bottom: 1px solid var(--border); box-shadow: 0 18px 40px rgba(0,62,154,.1); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s ease, transform .3s ease, visibility .3s; }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .primary-nav .mobile-resume { display: block; margin-top: 12px; padding: 13px 18px; color: var(--white); text-align: center; background: var(--blue); border: 1px solid var(--blue); border-radius: 999px; }
  .primary-nav > span { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 12px; justify-self: end; color: var(--blue-ref); background: transparent; border: 0; cursor: pointer; text-transform: uppercase; font-size: .74rem; }
  .menu-toggle__lines { position: relative; width: 24px; height: 10px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__lines { height: 16px; border: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__lines::before, .menu-toggle[aria-expanded="true"] .menu-toggle__lines::after { content: ""; position: absolute; top: 7px; left: 0; width: 24px; height: 1px; background: currentColor; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__lines::before { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__lines::after { transform: rotate(-45deg); }
  .button--resume { display: none; }
  .experience-card { grid-template-columns: 1.15fr .85fr; }
  .services-layout, .impact-layout { gap: 60px; }
}

@media (min-width: 821px) and (max-height: 720px) {
  html { scroll-padding-top: 74px; }
  .site-header { min-height: 66px; padding-top: 8px; padding-bottom: 8px; }
  .hero { min-height: calc(100svh - 66px); padding-top: 14px; padding-bottom: 18px; }
  .hero-grid { height: max(500px, calc(100svh - 98px)); }
  .hero-statement, .featured-impact { padding: clamp(22px, 2.5vw, 34px); }
  .hero-statement h1 { max-width: 12ch; font-size: clamp(2.5rem, 3vw, 3.2rem); }
  .profile-card { padding: 20px; }
  .profile-card__image { width: min(54%, 215px); margin-bottom: 14px; }
  .profile-card > p { font-size: clamp(2.5rem, 3.2vw, 3.7rem); }
  .featured-impact h2 { font-size: clamp(1.9rem, 2.35vw, 2.8rem); }
}

@media (max-width: 820px) {
  :root { --page: 100%; }
  body { background: var(--paper); }
  .site-frame { margin: 0; }
  .site-header { min-height: 78px; padding: 14px 20px; }
  .brand span { display: none; }
  .hero { min-height: 0; }
  .hero-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; gap: 12px; height: auto; }
  .hero-grid > * { grid-column: 1; grid-row: auto; margin: 0; }
  .hero-statement { display: block; min-height: auto; }
  .hero-statement__layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(140px, 27vw, 210px); gap: clamp(18px, 4vw, 34px); align-items: center; height: auto; }
  .hero-statement__copy { min-width: 0; }
  .hero-statement__portrait { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--paper); border: 1px solid var(--border); border-radius: 14px; }
  .hero-statement__portrait img { width: 100%; height: 100%; object-fit: cover; }
  .profile-card { display: none; }
  .featured-impact { min-height: auto; }
  .section-intro, .about-grid, .impact-layout, .services-layout, .contact-shell { grid-template-columns: 1fr; gap: 42px; }
  .experience-card { grid-template-columns: 1fr; grid-template-rows: 330px 320px; height: 650px; min-height: 650px; }
  .experience-note { grid-template-columns: 1fr; gap: 24px; }
  .experience-note--split { grid-template-columns: 1fr; }
  .experience-note--split > div + div { margin-top: 22px; padding-top: 34px; border-top: 1px solid var(--border); border-left: 0; }
  .services-intro { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-name { grid-column: 1 / -1; margin-bottom: 30px; }
}

@media (hover: none), (pointer: coarse) {
  .experience-card__hint-hover { display: none; }
  .experience-card__hint-touch { display: inline; }
}

@media (max-width: 560px) {
  body { font-size: .96rem; }
  .section-pad { padding: 66px 20px; }
  .hero { padding-top: 28px; }
  .hero-statement, .featured-impact, .capability-tile, .hero-meta, .hero-proof { padding: 28px; }
  .hero-statement { padding: 24px 20px; }
  .hero-statement__layout { grid-template-columns: minmax(0, 1fr) clamp(104px, 31vw, 154px); gap: 14px; }
  .hero-statement h1 { max-width: 11ch; margin-bottom: 18px; font-size: clamp(2.05rem, 9vw, 2.9rem); }
  .hero-statement .eyebrow { font-size: .69rem; }
  .hero-statement .button { min-height: 42px; padding: 9px 14px; font-size: .7rem; }
  .hero-meta { align-items: flex-start; flex-direction: column; }
  .hero-proof { align-items: center; }
  .section-intro { margin-bottom: 44px; }
  .experience-card { grid-template-rows: 350px 250px; height: 600px; min-height: 600px; }
  .experience-card__content { padding: 0; }
  .experience-card__surface, .experience-card__overlay { padding: 26px 22px; }
  .experience-card h3 { margin: auto 0 12px; font-size: clamp(2.15rem, 10vw, 2.8rem); }
  .experience-card__surface > p { min-height: 5.68em; font-size: .79rem; line-height: 1.42; }
  .experience-card__hint { margin-top: 14px; }
  .experience-card__overlay ul { gap: 11px; }
  .experience-card__overlay li { font-size: .77rem; line-height: 1.42; }
  .overlay-kicker { margin-bottom: 14px; }
  .overlay-points { gap: 11px; }
  .overlay-point p { font-size: .72rem; line-height: 1.38; }
  .overlay-controls { padding-top: 10px; }
  .experience-card__media { min-height: 0; }
  .outcome-row, .impact-grid { grid-template-columns: 1fr; }
  .experience-note { padding: 26px 22px; }
  .experience-note--split > div { padding: 6px 0; }
  .marquee { width: calc(100% + 40px); margin-left: -20px; }
  .metric-stack article { grid-template-columns: .75fr 1.25fr; }
  .services-list { min-height: 660px; }
  .services-list details { height: 165px; }
  .services-list summary { grid-template-columns: 42px 1fr 24px; height: 165px; min-height: 165px; }
  .services-list summary strong { font-size: clamp(1.45rem, 7vw, 1.75rem); }
  .services-list details[open] summary { transform: translateY(-42px); }
  .services-list details > p { right: 12px; bottom: 13px; left: 42px; margin: 0; font-size: .76rem; line-height: 1.42; }
  .contact-shell { padding: 26px 20px; }
  .contact-details a { align-items: flex-start; flex-direction: column; gap: 4px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-name { font-size: clamp(4.1rem, 19vw, 6rem); }
  .site-footer nav, .footer-social { padding-left: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.28); border-left: 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; margin-top: 52px; }
}

@media (max-width: 380px) {
  .hero-statement { padding: 22px 16px; }
  .hero-statement__layout { grid-template-columns: minmax(0, 1fr) 88px; gap: 10px; }
  .hero-statement h1 { font-size: 1.85rem; }
  .hero-statement .eyebrow { font-size: .63rem; }
  .hero-statement .button { padding-right: 11px; padding-left: 11px; }
}

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