/* Hidar Zalzle — modern portfolio, no external dependencies. */
:root {
  --night: #0a0d14;
  --night-2: #111722;
  --night-3: #182132;
  --page: #f4f6fa;
  --white: #ffffff;
  --ink: #0c1222;
  --muted: #596174;
  --muted-light: #aab2c3;
  --blue: #2563eb;
  --blue-bright: #3b75ff;
  --cyan: #52d7ff;
  --lime: #a7f33d;
  --line: #dce1ea;
  --dark-line: #273044;
  --reveal-delay: 0ms;
  --display: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --container: 1180px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; overflow-x: hidden; background: var(--page); color: var(--ink); font-family: var(--display); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { color: var(--white); background: var(--blue); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
h1, h2 { font-weight: 760; letter-spacing: -.055em; }
h1 em, h2 em { color: var(--blue-bright); font-style: normal; font-weight: inherit; }
h2 { font-size: clamp(44px, 4.7vw, 66px); line-height: 1.03; }
h3 { line-height: 1.25; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; border-radius: 6px; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 96px)); margin-inline: auto; }
.section-space { padding-block: 112px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 700 12px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.section-number { margin-bottom: 25px; color: var(--blue); }
.status-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(167,243,61,.12); animation: status-pulse 2.4s ease-in-out infinite; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 7px; border-bottom: 1px solid currentColor; color: var(--ink); font-size: 14px; font-weight: 700; transition: color .18s ease; }
.text-link:hover, .inline-link:hover { color: var(--blue); }
.text-link span, .button span, .contact-email span { display: inline-block; transition: transform .18s ease; }
.text-link:hover span, .contact-email:hover span { transform: translate(3px, -3px); }
.inline-link { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 18px; border-radius: 8px; background: var(--blue); color: var(--white); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Motion system: progressive, purposeful, and disabled for reduced motion. */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes portrait-arrive {
  from { opacity: 0; transform: translate3d(24px, 8px, 0) rotate(.8deg); }
  to { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); }
}
@keyframes signal-pulse {
  0%, 100% { opacity: .7; transform: scaleX(.45); }
  50% { opacity: 1; transform: scaleX(1); }
}
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(167,243,61,.12); }
  50% { box-shadow: 0 0 0 8px rgba(167,243,61,0); }
}
@keyframes line-draw {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}
.motion-ready .site-header { animation: hero-rise .55s cubic-bezier(.22,1,.36,1) both; }
.motion-ready .hero-copy > * { animation: hero-rise .72s cubic-bezier(.22,1,.36,1) both; }
.motion-ready .hero-copy > :nth-child(1) { animation-delay: .08s; }
.motion-ready .hero-copy > :nth-child(2) { animation-delay: .16s; }
.motion-ready .hero-copy > :nth-child(3) { animation-delay: .26s; }
.motion-ready .hero-copy > :nth-child(4) { animation-delay: .36s; }
.motion-ready .hero-portrait { animation: portrait-arrive .85s .24s cubic-bezier(.22,1,.36,1) both; }
.motion-ready .hero-footnote > div { animation: hero-rise .6s cubic-bezier(.22,1,.36,1) both; }
.motion-ready .hero-footnote > div:nth-child(1) { animation-delay: .42s; }
.motion-ready .hero-footnote > div:nth-child(2) { animation-delay: .5s; }
.motion-ready .hero-footnote > div:nth-child(3) { animation-delay: .58s; }
.motion-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .72s cubic-bezier(.22,1,.36,1), transform .72s cubic-bezier(.22,1,.36,1); transition-delay: var(--reveal-delay, 0ms); }
.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Navigation */
.site-header { --scroll-progress: 0%; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--dark-line); background: rgba(10,13,20,.96); color: var(--white); transition: box-shadow .25s ease, background .25s ease; }
.site-header::after { content: ""; position: absolute; right: auto; bottom: -1px; left: 0; width: var(--scroll-progress); height: 2px; background: var(--blue-bright); box-shadow: 0 0 14px rgba(59,117,255,.55); }
.site-header.is-scrolled { background: rgba(10,13,20,.985); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 750; letter-spacing: -.01em; white-space: nowrap; }
.brand-badge { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--blue); color: var(--white); font-size: 14px; font-weight: 850; letter-spacing: -.04em; }
.brand-name { color: var(--white); }
.primary-nav { display: flex; align-items: center; gap: 31px; color: #c2c9d7; font-size: 13px; font-weight: 650; }
.primary-nav > a { position: relative; padding-block: 12px; transition: color .18s ease; }
.primary-nav > a:hover, .primary-nav > a[aria-current="location"] { color: var(--white); }
.primary-nav > a:not(.nav-contact)::after { content: ""; position: absolute; right: 0; bottom: 6px; left: 0; height: 2px; border-radius: 10px; background: var(--blue-bright); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.primary-nav > a:hover::after, .primary-nav > a[aria-current="location"]::after { transform: scaleX(1); }
.primary-nav .nav-contact { min-height: 42px; display: flex; align-items: center; gap: 22px; padding: 9px 15px; border: 1px solid #38445a; border-radius: 10px; color: var(--white); transition: border-color .18s ease, background .18s ease; }
.primary-nav .nav-contact:hover { border-color: var(--blue-bright); background: #17213a; }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; z-index: 0; min-height: calc(100vh - 82px); min-height: calc(100svh - 82px); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .72fr); grid-template-rows: minmax(min-content, 1fr) auto; align-items: center; column-gap: 76px; padding-top: 52px; color: var(--white); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--night); box-shadow: 0 0 0 100vmax var(--night); clip-path: inset(0 -100vmax); }
.hero-copy { align-self: center; padding-bottom: 14px; }
.hero-copy .eyebrow { margin-bottom: 29px; color: #bcc5d5; }
h1 { max-width: 800px; font-size: clamp(62px, 5.8vw, 82px); line-height: 1; }
h1 em { position: relative; display: inline-block; }
h1 em::after { content: ""; position: absolute; bottom: -12px; left: 3px; width: 68px; height: 4px; border-radius: 8px; background: var(--lime); transform-origin: left center; animation: line-draw .7s .78s cubic-bezier(.22,1,.36,1) both; }
.hero-description { max-width: 620px; margin-top: 31px; color: #abb5c7; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; padding: 13px 19px; border-radius: 11px; font-size: 14px; font-weight: 750; transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.button-dark { background: var(--blue); color: var(--white); box-shadow: 0 10px 30px rgba(37,99,235,.25); }
.button-dark:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(37,99,235,.38); }
.button:hover span { transform: translate(2px, 2px); }
.hero-actions .text-link { border-color: #667085; color: var(--white); }
.hero-actions .text-link:hover { color: var(--cyan); }
.hero-portrait { align-self: center; padding: 12px; border: 1px solid var(--dark-line); border-radius: 22px; background: var(--night-2); box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.portrait-topline { display: flex; justify-content: space-between; gap: 10px; padding: 3px 3px 12px; color: #9da7b9; font: 650 10px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.portrait-frame { position: relative; overflow: hidden; width: 100%; aspect-ratio: 4 / 4.55; border-radius: 14px; background: var(--blue); }
.portrait-frame::after { content: ""; position: absolute; right: 13px; bottom: 13px; width: 48px; height: 5px; border-radius: 20px; background: var(--lime); transform-origin: right center; animation: signal-pulse 2.8s ease-in-out infinite; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.30); transform-origin: center 18%; }
.hero-portrait figcaption { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 3px 4px; }
.portrait-name { color: var(--white); font-size: 18px; font-weight: 760; letter-spacing: -.025em; }
.portrait-location { color: #98a4b8; font-size: 11px; }
.profile-scope { margin: 12px 3px 0; padding: 0; border-top: 1px solid var(--dark-line); list-style: none; }
.profile-scope li { display: flex; align-items: center; gap: 13px; padding: 9px 0; border-bottom: 1px solid var(--dark-line); color: #c9d0dc; font-size: 11px; font-weight: 650; }
.profile-scope li span { color: var(--blue-bright); font: 750 9px/1.5 var(--mono); }
.portrait-note { display: flex; align-items: center; gap: 9px; padding: 9px 3px 3px; color: #adb7c7; font-size: 11px; }
.portrait-note .status-dot { width: 5px; height: 5px; box-shadow: none; }
.hero-footnote { grid-column: 1 / -1; align-self: end; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid var(--dark-line); }
.hero-footnote > div { display: flex; flex-direction: column; gap: 3px; padding: 27px 0 30px; }
.hero-footnote > div + div { padding-left: 34px; border-left: 1px solid var(--dark-line); }
.hero-footnote strong { font-size: 21px; font-weight: 800; letter-spacing: -.035em; }
.hero-footnote span { color: #96a0b1; font-size: 11px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; }

/* Work */
.work-section { background: var(--page); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 54px; }
.section-heading > p { max-width: 330px; padding-bottom: 6px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.case-studies { display: grid; gap: 28px; }
.case-study { --spot-x: 50%; --spot-y: 50%; position: relative; min-width: 0; display: grid; grid-template-columns: minmax(370px, .84fr) minmax(0, 1.16fr); align-items: start; gap: 0; padding: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: 0 12px 40px rgba(20,29,48,.06); transition: transform .22s ease, box-shadow .22s ease; }
.case-study::before { content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; background: radial-gradient(circle 260px at var(--spot-x) var(--spot-y), rgba(37,99,235,.105), transparent 72%); opacity: 0; transition: opacity .3s ease; }
.case-study:hover::before { opacity: 1; }
.case-study > * { position: relative; z-index: 1; }
.case-study:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(20,29,48,.1); }
.motion-ready .case-study.reveal.is-visible:hover { transform: translateY(-3px); }
.case-study-reverse { grid-template-columns: minmax(0, 1.16fr) minmax(370px, .84fr); }
.case-study-reverse .project-cover { grid-column: 2; grid-row: 1; }
.case-study-reverse .case-body { grid-column: 1; grid-row: 1; }
.project-cover { position: relative; display: block; overflow: hidden; border-radius: 14px; background: var(--night-2); }
.project-cover img { --cover-x: 0px; --cover-y: 0px; --cover-scale: 1; width: 100%; transform: translate3d(var(--cover-x), var(--cover-y), 0) scale(var(--cover-scale)); transition: transform .45s cubic-bezier(.22,1,.36,1); will-change: transform; }
.project-cover:hover img { --cover-scale: 1.035; }
.cover-arrow { position: absolute; right: 17px; top: 17px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--white); color: var(--ink); box-shadow: 0 8px 24px rgba(10,13,20,.16); font-size: 20px; font-weight: 800; transition: color .18s ease, background .18s ease, transform .18s ease; }
.project-cover:hover .cover-arrow { background: var(--blue); color: var(--white); transform: rotate(6deg); }
.project-cover-static { cursor: default; }
.project-cover-static:hover img { --cover-scale: 1.02; }
.project-private-badge { position: absolute; right: 17px; top: 17px; display: inline-flex; align-items: center; min-height: 36px; padding: 0 13px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: rgba(10,13,20,.72); color: var(--white); backdrop-filter: blur(10px); font: 700 10px/1.5 var(--mono); letter-spacing: .055em; text-transform: uppercase; box-shadow: 0 10px 28px rgba(10,13,20,.2); }
.case-private-note { color: var(--muted) !important; font-size: 15px !important; font-weight: 700; letter-spacing: -.01em; }
.case-access { display: inline-flex; align-items: center; margin-top: 17px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #f7f9fc; color: var(--muted); font: 700 10px/1.5 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.case-body { min-width: 0; padding: 13px 29px 23px; }
.project-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; color: var(--muted); font: 700 10px/1.6 var(--mono); letter-spacing: .055em; text-transform: uppercase; }
.case-body h3 { font-size: clamp(29px, 3vw, 40px); font-weight: 790; letter-spacing: -.045em; }
.case-body h3 a { display: flex; align-items: center; gap: 12px; }
.case-body h3 span { color: var(--blue); font-size: 22px; }
.case-summary { max-width: 620px; margin-top: 13px; color: var(--muted); font-size: 15px; line-height: 1.78; }
.case-evidence { margin-top: 22px; border-top: 1px solid var(--line); }
.case-evidence > div { display: grid; grid-template-columns: 126px minmax(0, 1fr); gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.motion-ready .case-study.reveal .case-evidence > div { opacity: 0; transform: translateX(-12px); transition: opacity .5s ease, transform .5s cubic-bezier(.22,1,.36,1); }
.motion-ready .case-study.reveal.is-visible .case-evidence > div { opacity: 1; transform: translateX(0); }
.motion-ready .case-study.reveal.is-visible .case-evidence > div:nth-child(1) { transition-delay: .18s; }
.motion-ready .case-study.reveal.is-visible .case-evidence > div:nth-child(2) { transition-delay: .25s; }
.motion-ready .case-study.reveal.is-visible .case-evidence > div:nth-child(3) { transition-delay: .32s; }
.case-label { color: var(--blue); font: 750 10px/1.6 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.case-evidence p { color: #485164; font-size: 12px; line-height: 1.72; }
.project-stack { margin: 18px 0 0; color: var(--blue); font: 700 10px/1.8 var(--mono); }
.project-stack span { padding-inline: 5px; color: #bbc1cd; }
.case-body > .text-link { margin-top: 14px; }
.client-feature { display: grid; grid-template-columns: 190px minmax(0, 1fr) 170px; gap: 36px; margin-top: 32px; padding: 36px; border-radius: 22px; background: var(--night); color: var(--white); box-shadow: 0 16px 45px rgba(10,13,20,.12); }
.client-feature-label .eyebrow { color: var(--cyan); font-size: 10px; }
.client-monogram { display: block; margin-top: 20px; color: var(--blue-bright); font-size: 56px; font-weight: 850; line-height: .95; letter-spacing: -.07em; }
.client-scale { display: block; margin-top: 8px; color: #8f9bb0; font: 700 9px/1.5 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.client-feature-copy h3 { margin-bottom: 11px; font-size: 29px; font-weight: 780; letter-spacing: -.035em; }
.client-feature-copy p { max-width: 515px; color: #afb9ca; font-size: 14px; line-height: 1.8; }
.client-scope-list { max-width: 600px; display: grid; gap: 8px; margin: 17px 0 0; padding: 0; list-style: none; }
.client-scope-list li { position: relative; padding-left: 18px; color: #c2cad7; font-size: 12px; line-height: 1.65; }
.client-scope-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 2px; background: var(--blue-bright); }
.client-role { display: block; margin-top: 15px; color: var(--cyan); font-size: 11px; font-weight: 700; }
.client-feature-links { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 3px; }
.client-feature-links .text-link { justify-content: space-between; border-color: #3b4559; color: var(--white); font-size: 12px; }
.client-feature-links .text-link:hover { color: var(--cyan); }
.project-carousel-section { margin-top: 72px; }
.carousel-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 18px; }
.carousel-heading h3 { font-size: 28px; font-weight: 790; letter-spacing: -.04em; }
.carousel-heading > div:first-child > span { display: block; margin-top: 6px; color: var(--muted); font: 650 10px/1.5 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.carousel-controls { display: flex; gap: 8px; flex: 0 0 auto; }
.carousel-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: var(--white); color: var(--ink); cursor: pointer; font-size: 18px; font-weight: 800; transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease, opacity .18s ease; }
.carousel-button:hover:not(:disabled) { border-color: var(--blue); background: var(--blue); color: var(--white); transform: translateY(-1px); }
.carousel-button:disabled { cursor: default; opacity: .35; }
.project-carousel { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-inline: contain; scrollbar-width: none; border-radius: 18px; }
.project-carousel::-webkit-scrollbar { display: none; }
.project-carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; padding: 3px 2px 16px; }
.carousel-card { min-width: 0; scroll-snap-align: start; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 10px 28px rgba(20,29,48,.055); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.carousel-card:hover { transform: translateY(-3px); border-color: #b9caf5; box-shadow: 0 16px 34px rgba(20,29,48,.09); }
.motion-ready .carousel-card.reveal.is-visible:hover { transform: translateY(-3px); }
.carousel-preview { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: linear-gradient(145deg, #0f1728, #19325d); }
.carousel-preview::after { content: ""; position: absolute; inset: auto 0 0; height: 36%; pointer-events: none; background: linear-gradient(to top, rgba(10,13,20,.28), transparent); }
.carousel-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.carousel-card:hover .carousel-preview img { transform: scale(1.025); }
.carousel-type { position: absolute; z-index: 1; left: 12px; bottom: 12px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: rgba(10,13,20,.72); color: var(--white); backdrop-filter: blur(8px); font: 700 9px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.carousel-card-body { display: grid; grid-template-columns: auto 1fr; gap: 5px 11px; padding: 16px 17px 17px; }
.carousel-number { grid-row: 1 / 4; padding-top: 3px; color: var(--blue); font: 750 10px/1.5 var(--mono); }
.carousel-card h4 { margin: 0; font-size: 18px; line-height: 1.25; font-weight: 780; letter-spacing: -.025em; }
.carousel-card p { min-height: 43px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.carousel-open { margin-top: 2px; color: var(--blue); font-size: 11px; font-weight: 750; }
.compact-private-project { margin-top: 4px; }
.compact-private-project summary { display: grid; grid-template-columns: 34px 1fr auto 20px; gap: 14px; align-items: center; min-height: 66px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); cursor: pointer; list-style: none; transition: border-color .18s ease, box-shadow .18s ease; }
.compact-private-project summary::-webkit-details-marker { display: none; }
.compact-private-project summary:hover { border-color: #adc2fa; box-shadow: 0 8px 25px rgba(26,46,90,.06); }
.private-number { color: var(--muted); font: 700 10px/1.5 var(--mono); }
.compact-private-project summary strong { display: block; font-size: 15px; }
.compact-private-project summary small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 500; }
.private-type { color: var(--muted); font: 650 9px/1.5 var(--mono); text-transform: uppercase; }
.details-plus { color: var(--ink); font-size: 20px; font-weight: 700; text-align: right; transition: transform .18s ease; }
.private-project[open] .details-plus { transform: rotate(45deg); }
.private-project-body { max-width: 900px; margin: 0 14px; padding: 18px 28px 21px 47px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 0 0 14px 14px; background: var(--white); color: var(--muted); font-size: 13px; }
.private-project-body p + p { margin-top: 10px; }

/* About */
.about-section { border-top: 1px solid var(--line); background: var(--white); }
.about-grid { display: grid; grid-template-columns: .95fr 1.2fr; gap: 110px; }
.about-intro .text-link { margin-top: 31px; }
.about-copy > p { margin-top: 17px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.about-copy > .about-lead { margin-top: 0; color: var(--ink); font-size: 24px; font-weight: 700; line-height: 1.5; letter-spacing: -.03em; }
.approach-note { display: flex; gap: 18px; margin-top: 27px; padding: 24px; border-radius: 16px; background: var(--blue); color: var(--white); }
.note-mark { flex-shrink: 0; color: var(--cyan); font-size: 25px; line-height: 1; }
.approach-note p { color: var(--white); font-size: 19px; font-weight: 650; line-height: 1.55; letter-spacing: -.02em; }
.personal-details { display: grid; grid-template-columns: 1fr 1.3fr; gap: 22px 24px; margin: 27px 0 0; }
.personal-details dt { margin-bottom: 6px; color: var(--muted); font: 700 10px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.personal-details dd { margin: 0; font-size: 12px; font-weight: 650; line-height: 1.8; }
.personal-details dd span { color: var(--muted); font-weight: 500; }
.expertise { margin-top: 83px; padding-top: 34px; border-top: 1px solid var(--line); }
.expertise > .eyebrow { margin-bottom: 25px; color: var(--blue); }
.expertise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.expertise-grid > div { min-height: 280px; padding: 27px; border: 1px solid var(--line); border-radius: 16px; background: var(--page); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.expertise-grid > div:hover { transform: translateY(-4px); border-color: #b9caf5; box-shadow: 0 16px 32px rgba(20,29,48,.08); }
.motion-ready .expertise-grid > .reveal.is-visible:hover { transform: translateY(-4px); }
.expertise-number { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 9px; background: #eef2ff; color: var(--blue); font: 800 12px/1 var(--mono); transition: transform .25s cubic-bezier(.22,1,.36,1), background .2s ease; }
.expertise-grid > div:hover .expertise-number { transform: rotate(-5deg) scale(1.06); background: #dfe8ff; }
.expertise h3 { margin-top: 17px; font-size: 20px; font-weight: 780; letter-spacing: -.03em; }
.expertise p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.expertise-list { display: grid; gap: 7px; margin: 18px 0 0; padding: 15px 0 0; border-top: 1px solid var(--line); list-style: none; }
.expertise-list li { position: relative; padding-left: 15px; color: var(--blue); font: 700 10px/1.65 var(--mono); }
.expertise-list li::before { content: "+"; position: absolute; left: 0; color: #8b94a6; }
.learning-focus { margin-top: 30px; padding: 6px 24px 21px; border: 1px solid var(--line); border-radius: 16px; background: var(--page); }
.learning-focus .personal-details { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 18px; }

/* Experience */
.experience-section { position: relative; z-index: 0; color: var(--white); }
.experience-section::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--night); box-shadow: 0 0 0 100vmax var(--night); clip-path: inset(0 -100vmax); }
.experience-grid { display: grid; grid-template-columns: .82fr 1.55fr; gap: 110px; }
.experience-section .section-number { color: var(--cyan); }
.experience-intro > p:not(.eyebrow) { max-width: 300px; margin-top: 24px; color: #aab3c3; font-size: 14px; line-height: 1.85; }
.experience-intro .text-link { margin-top: 24px; border-color: #536078; color: var(--white); }
.experience-intro .text-link:hover { color: var(--cyan); }
.career-entry { padding: 25px 0 26px 25px; border-top: 1px solid var(--dark-line); border-left: 3px solid transparent; transition: border-left-color .18s ease, background .18s ease; }
.career-entry:hover { border-left-color: var(--blue-bright); background: #111722; }
.career-entry:first-child { border-top-color: #3b465a; }
.career-entry:last-child { padding-bottom: 0; }
.career-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; color: #8893a8; font: 650 10px/1.6 var(--mono); text-transform: uppercase; }
.career-entry h3 { font-size: 20px; font-weight: 750; letter-spacing: -.025em; }
.career-company { margin-top: 6px; color: var(--cyan); font-size: 13px; font-weight: 700; }
.career-entry > p:last-child { max-width: 560px; margin-top: 11px; color: #aab3c3; font-size: 13px; line-height: 1.85; }

/* Contact */
.contact-section { padding-top: 92px; background: var(--blue); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 100px; padding-bottom: 82px; }
.contact-section .section-number { color: var(--white); }
.contact-section h2 { font-size: clamp(52px, 5.3vw, 74px); }
.contact-section h2 em { color: var(--white); }
.contact-copy { padding-top: 37px; }
.contact-copy > p { max-width: 470px; color: var(--white); font-size: 15px; line-height: 1.85; }
.contact-email { width: fit-content; max-width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding-block: 13px 9px; border-bottom: 2px solid rgba(255,255,255,.65); font-size: clamp(21px, 2.2vw, 30px); font-weight: 750; letter-spacing: -.035em; transition: border-color .18s ease; }
.contact-email:hover { border-color: var(--white); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; border-top: 1px solid rgba(255,255,255,.3); color: var(--white); font-size: 11px; font-weight: 650; }
.footer-links { display: flex; flex-wrap: wrap; gap: 27px; }
.footer-links a:hover, .back-to-top:hover { color: var(--white); }
.footer-links span { padding-left: 6px; }
.back-to-top span { padding-left: 12px; }
.contact-section a:focus-visible { outline-color: var(--lime); }

@media (max-width: 1080px) {
  .container { width: calc(100% - 72px); }
  .hero { grid-template-columns: minmax(0, 1.35fr) minmax(270px, .68fr); column-gap: 55px; }
  h1 { font-size: clamp(60px, 6.1vw, 78px); }
  .case-study { grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr); }
  .case-study-reverse { grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); }
  .case-body { padding-inline: 24px; }
  .case-evidence > div { grid-template-columns: 108px minmax(0, 1fr); gap: 14px; }
  .client-feature { grid-template-columns: 145px minmax(0, 1fr) 145px; gap: 26px; padding: 30px; }
  .about-grid, .experience-grid, .contact-grid { gap: 70px; }
  .project-carousel-track { grid-auto-columns: calc((100% - 18px) / 2.15); }
}

@media (max-width: 820px) {
  .container { width: calc(100% - 48px); }
  .section-space { padding-block: 82px; }
  .header-inner { min-height: 76px; }
  .brand-name { display: none; }
  .primary-nav { gap: 20px; font-size: 12px; }
  .primary-nav .nav-contact { gap: 10px; padding-inline: 11px; }
  .hero { min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); grid-template-columns: minmax(0, 1.35fr) 230px; column-gap: 36px; padding-top: 52px; }
  h1 { font-size: clamp(50px, 6.8vw, 64px); }
  .hero-description { font-size: 15px; }
  .hero-actions { gap: 21px; }
  .hero-footnote { margin-top: 55px; }
  .section-heading { gap: 35px; }
  .section-heading > p { max-width: 260px; font-size: 13px; }
  .case-studies { gap: 20px; }
  .case-study, .case-study-reverse { grid-template-columns: 1fr; }
  .case-study-reverse .project-cover, .case-study-reverse .case-body { grid-column: 1; }
  .case-study-reverse .project-cover { grid-row: 1; }
  .case-study-reverse .case-body { grid-row: 2; }
  .case-body { padding: 25px 18px 20px; }
  .case-evidence > div { grid-template-columns: 130px minmax(0, 1fr); }
  .client-feature { grid-template-columns: 105px minmax(0, 1fr); }
  .client-feature-links { grid-column: 2; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 8px 18px; }
  .client-feature-links .text-link { gap: 12px; }
  .project-carousel-track { grid-auto-columns: 62%; }
  .private-project-body { padding-left: 32px; }
  .about-grid { grid-template-columns: .85fr 1.2fr; gap: 44px; }
  .about-copy > .about-lead { font-size: 21px; }
  .personal-details { grid-template-columns: 1fr; }
  .expertise-grid { gap: 12px; }
  .expertise-grid > div { min-height: 270px; padding: 22px; }
  .experience-grid { grid-template-columns: .8fr 1.25fr; gap: 40px; }
  .contact-grid { gap: 36px; }
  .contact-email { font-size: 20px; }
  .site-footer { font-size: 10px; }
  .footer-links { gap: 16px; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 75px; }
  .container { width: calc(100% - 36px); }
  .section-space { padding-block: 66px; }
  h2 { font-size: 44px; }
  .section-number { margin-bottom: 19px; font-size: 10px; }
  .header-inner { min-height: 72px; flex-wrap: wrap; gap: 12px; padding-block: 14px; }
  .brand-name { display: inline; }
  .primary-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 5px 0 9px; }
  .primary-nav > a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 10px 4px; border-bottom: 1px solid var(--dark-line); font-size: 14px; }
  .primary-nav > a:not(.nav-contact)::after { display: none; }
  .primary-nav .nav-contact { margin-top: 7px; padding: 11px 13px; border: 0; background: var(--blue); }
  .menu-toggle:not([hidden]) { min-width: 72px; min-height: 44px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 5px 0 5px 12px; border: 0; background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
  .menu-icon { position: relative; width: 16px; height: 16px; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 5px; background: var(--white); transition: transform .2s ease; }
  .menu-icon::after { transform: rotate(90deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(0); }
  .nav-enhanced .primary-nav { display: none; }
  .nav-enhanced .primary-nav.is-open { display: flex; }
  .hero { min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); grid-template-columns: 1fr; grid-template-rows: auto; padding-top: 50px; }
  .hero-copy .eyebrow { margin-bottom: 24px; font-size: 10px; }
  h1 { font-size: clamp(36px, 10.5vw, 56px); line-height: 1.02; }
  h1 em::after { bottom: -9px; width: 52px; height: 3px; }
  .hero-description { margin-top: 25px; font-size: 15px; line-height: 1.8; }
  .hero-actions { gap: 25px; margin-top: 27px; }
  .button { min-height: 50px; padding-inline: 17px; font-size: 13px; }
  .hero-actions .text-link { font-size: 13px; }
  .hero-portrait { display: grid; grid-template-columns: 110px minmax(0, 1fr); column-gap: 18px; align-items: center; margin-top: 43px; padding: 10px; border-radius: 17px; }
  .portrait-topline { display: none; }
  .portrait-frame { grid-row: 1 / 4; width: 110px; aspect-ratio: 1; border-radius: 11px; }
  .portrait-frame::after { width: 28px; height: 4px; right: 8px; bottom: 8px; }
  .portrait-frame img { transform: scale(1.34); transform-origin: center 18%; }
  .hero-portrait figcaption { flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 0; }
  .portrait-name { font-size: 19px; }
  .portrait-location { font-size: 10px; }
  .profile-scope { grid-column: 2; margin: 7px 0 0; }
  .profile-scope li { gap: 9px; padding: 5px 0; font-size: 10px; }
  .portrait-note { align-self: start; padding: 6px 0 0; font-size: 10px; line-height: 1.5; }
  .hero-footnote { grid-template-columns: 1fr; margin-top: 30px; padding-bottom: 22px; }
  .hero-footnote > div { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 20px; padding: 15px 0; }
  .hero-footnote > div + div { padding-left: 0; border-top: 1px solid var(--dark-line); border-left: 0; }
  .hero-footnote strong { font-size: 18px; }
  .hero-footnote span { text-align: right; font-size: 9px; }
  .section-heading { display: block; margin-bottom: 34px; }
  .section-heading > p { max-width: 370px; margin-top: 20px; font-size: 14px; }
  .case-studies { gap: 22px; }
  .case-study { padding: 9px; }
  .case-body { padding: 23px 11px 17px; }
  .project-meta span:last-child { display: inline; }
  .case-body h3 { font-size: 28px; }
  .case-summary { font-size: 14px; }
  .case-evidence > div { grid-template-columns: 1fr; gap: 5px; padding-block: 11px; }
  .case-evidence p { font-size: 12px; }
  .cover-arrow { right: 13px; top: 13px; width: 38px; height: 38px; }
  .client-feature { grid-template-columns: 1fr; gap: 20px; padding: 25px; }
  .client-monogram, .client-scale { display: none; }
  .client-feature-copy h3 { font-size: 27px; }
  .client-feature-links { grid-column: 1; gap: 10px 22px; }
  .project-carousel-section { margin-top: 52px; }
  .carousel-heading { align-items: center; margin-bottom: 14px; }
  .carousel-heading h3 { font-size: 25px; }
  .carousel-heading > div:first-child > span { max-width: 240px; font-size: 8px; }
  .carousel-button { width: 38px; height: 38px; }
  .project-carousel-track { grid-auto-columns: 84%; gap: 12px; padding-bottom: 13px; }
  .carousel-card-body { padding: 14px; }
  .carousel-card h4 { font-size: 17px; }
  .carousel-card p { min-height: 0; font-size: 11px; }
  .compact-private-project summary { grid-template-columns: 28px 1fr 18px; gap: 10px; }
  .private-type { display: none; }
  .private-project-body { margin-inline: 8px; padding: 18px 17px 21px; font-size: 13px; }
  .project-private-badge { right: 13px; top: 13px; min-height: 32px; padding-inline: 11px; font-size: 9px; }
  .case-private-note { display: block; margin-top: 5px; font-size: 13px !important; }
  .about-grid, .experience-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-intro .text-link { margin-top: 23px; }
  .about-copy > .about-lead { font-size: 22px; }
  .about-copy > p { font-size: 14px; }
  .approach-note { padding: 20px; }
  .approach-note p { font-size: 17px; }
  .personal-details { grid-template-columns: 1fr 1fr; gap: 19px 16px; }
  .expertise { margin-top: 48px; padding-top: 28px; }
  .expertise-grid { grid-template-columns: 1fr; gap: 12px; }
  .expertise-grid > div { min-height: 0; padding: 21px; }
  .experience-intro > p:not(.eyebrow) { max-width: 380px; margin-top: 20px; }
  .career-entry { padding: 24px 0 24px 16px; }
  .career-meta { font-size: 9px; }
  .career-entry h3 { font-size: 19px; }
  .contact-section { padding-top: 65px; }
  .contact-grid { padding-bottom: 50px; }
  .contact-section h2 { font-size: 49px; }
  .contact-copy { padding-top: 0; }
  .contact-copy > p { font-size: 14px; }
  .contact-email { width: 100%; gap: 8px; font-size: clamp(18px, 5.2vw, 25px); }
  .site-footer { display: grid; grid-template-columns: 1fr auto; row-gap: 20px; padding-block: 24px; }
  .footer-links { grid-column: 1 / -1; grid-row: 2; gap: 22px; }
  .back-to-top { grid-column: 2; grid-row: 1; }
}

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

@media print {
  body { background: white; color: black; font-size: 10pt; }
  .motion-ready .reveal { opacity: 1 !important; transform: none !important; }
  .container { width: 100%; }
  .site-header { position: static; background: white; color: black; border-bottom-color: #ccc; }
  .site-header::after { display: none; }
  .brand-name { color: black; }
  .primary-nav, .menu-toggle, .hero-actions, .hero-footnote, .project-cover, .client-monogram, .back-to-top { display: none !important; }
  .section-space { padding-block: 28px; }
  .hero { min-height: auto; grid-template-columns: 1fr 150px; grid-template-rows: auto; gap: 30px; padding: 30px 0; color: black; }
  .hero::before, .experience-section::before { display: none; }
  h1 { font-size: 38pt; }
  h2 { font-size: 27pt; }
  .hero-description, .portrait-location, .portrait-note, .experience-intro > p:not(.eyebrow), .career-entry > p:last-child { color: #444; }
  .hero-portrait { background: white; border-color: #ccc; box-shadow: none; }
  .portrait-name { color: black; }
  .case-studies, .about-grid, .experience-grid, .contact-grid { gap: 28px; }
  .client-feature { grid-template-columns: 130px 1fr; margin-top: 24px; background: #eee; color: black; box-shadow: none; }
  .client-feature-copy p { color: #333; }
  .client-feature-links { grid-column: 2; }
  .experience-section { color: black; }
  .contact-section { padding-top: 30px; background: white; color: black; }
  .contact-section h2 em, .contact-section .section-number, .contact-copy > p, .site-footer { color: #333; }
  .contact-grid { padding-bottom: 30px; }
  article, .career-entry, .carousel-card { break-inside: avoid; }
}
