@layer reset, base, layout, projects, dialogs, case, responsive;

@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/dm-sans-regular.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('/assets/dm-sans-semibold.ttf') format('truetype'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('/assets/space-grotesk-medium.ttf') format('truetype'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('/assets/space-grotesk-semibold.ttf') format('truetype'); }

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 30px; }
  body, h1, h2, h3, p, figure { margin: 0; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; cursor: pointer; }
  a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  svg, img { display: block; }
  [hidden] { display: none !important; }
  ::selection { background: #f4a27b; color: #142c2a; }
}

@layer base {
  /* Keep supporting labels compact, with readable copy and browser-scalable type. */
  :root { --text-small: .875rem; --text-ui: .9375rem; --text-body: 1rem; }
  :root { color-scheme: light; --paper: #f3f0e8; --surface: #e9e6dc; --ink: #193330; --muted: #596962; --line: #cbd0c2; --accent: #b34120; --accent-ink: #fff; --wash: #e3e7d6; --night: #142c2a; --night-deep: #102320; --cream: #f3f0e8; --orange: #ff8c5b; --mint: #d6dfb8; --mono: 'Consolas', 'Liberation Mono', monospace; --display: 'Space Grotesk', sans-serif; }
  :root[data-theme='dark'] { color-scheme: dark; --paper: #102320; --surface: #1c3630; --ink: #f3f0e8; --muted: #afc0b4; --line: #3c5349; --accent: #ffa078; --accent-ink: #142c2a; --wash: #2a4438; }
  body { background: var(--paper); color: var(--ink); font-family: 'DM Sans', 'Arial', sans-serif; font-size: var(--text-body); line-height: 1.6; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
  p, li, dd, dt, figcaption { overflow-wrap: anywhere; }
  h1, h2, h3, h4, button, .button, .text-link { overflow-wrap: anywhere; }
  .button, .text-link { max-width: 100%; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
  .shell { width: min(100% - 112px, 1328px); margin-inline: auto; }
  .eyebrow { font: var(--text-small)/1.6 var(--mono); letter-spacing: .04em; }
  .accent-text { color: var(--accent); }
  .button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 52px; padding: 12px 21px; border: 1px solid transparent; border-radius: 1px; font-size: var(--text-ui); font-weight: 600; line-height: 1.5; transition: background .2s, transform .2s, box-shadow .2s; }
  .button span { font-size: 1.5rem; font-weight: 400; }
  .button:hover { transform: translateY(-3px); box-shadow: 4px 4px 0 #142c2a22; }
  .button-primary { background: var(--accent); color: var(--accent-ink); }
  .button-outline { background: transparent; border-color: var(--ink); }
  .button-outline:hover { background: var(--wash); }
  .text-link { display: inline-flex; align-items: center; gap: 24px; font-size: var(--text-ui); min-height: 44px; }
  .text-link:hover, .source-link:hover { text-decoration: underline; text-underline-offset: 5px; }
  .text-link > span { font-size: 1.375rem; transition: transform .2s; }
  .text-link:hover > span { transform: translate(2px,-2px); }
  .compact-tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .compact-tags span { font: var(--text-small)/1.5 var(--mono); color: var(--muted); padding: 6px 0; }
  .compact-tags span + span::before { content: '/'; margin-right: 8px; opacity: .5; }
  .skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 14px 20px; background: var(--orange); color: var(--night); transform: translateY(-200%); }
  .skip-link:focus { transform: none; }
  .role-dot { display: inline-block; width: 6px; height: 6px; background: var(--orange); margin-right: 12px; box-shadow: 0 0 0 4px #ff8c5b18; vertical-align: 1px; }
}

@layer layout {
  .site-header.shell { width: 100%; padding-inline: max(56px, calc((100% - 1328px) / 2)); }
  .site-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 94px; background: var(--night); color: var(--cream); border-bottom: 1px solid #becbb528; }
  .identity { display: flex; align-items: center; gap: 16px; font-size: var(--text-ui); font-weight: 600; min-width: 0; }
  .identity-mark { display: grid; place-items: center; flex-shrink: 0; width: 43px; height: 43px; font-family: var(--display); font-size: 1.75rem; letter-spacing: -3px; font-weight: 600; line-height: 1; background: var(--orange); color: var(--night); position: relative; padding-right: 4px; }
  .identity-mark > span { position: absolute; bottom: 9px; right: 5px; color: var(--night); font-size: 1.375rem; }
  .main-nav { display: flex; gap: 30px; margin-left: auto; }
  .main-nav a { font-size: var(--text-ui); min-height: 44px; display: flex; align-items: center; position: relative; }
  .main-nav a::after { content: ''; position: absolute; bottom: 5px; left: 0; right: 0; height: 1px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
  .main-nav a:hover::after, .main-nav [aria-current='page']::after { transform: scaleX(1); }
  .header-actions { display: flex; align-items: center; gap: 18px; }
  .header-contact { font-size: var(--text-ui); display: flex; align-items: center; gap: 16px; min-height: 44px; }
  .header-contact > span { font-size: 1.375rem; color: var(--orange); }
  .theme-toggle { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; background: none; border: 1px solid #a7b7a740; border-radius: 50%; }
  .theme-toggle:hover { background: #ffffff12; }
  .theme-toggle svg { width: 17px; height: 17px; }
  .site-header :focus-visible, .hero :focus-visible, .case-intro-stage :focus-visible { outline-color: var(--orange); }
  .sun-icon, [data-theme='dark'] .moon-icon { display: none; }
  [data-theme='dark'] .sun-icon { display: block; }
  .hero { padding-top: 61px; position: relative; background: var(--night); color: var(--cream); overflow: hidden; }
  .hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#cfdec110 1px, transparent 1px), linear-gradient(90deg, #cfdec110 1px, transparent 1px); background-size: 74px 74px; mask-image: linear-gradient(90deg, transparent 45%, #000); pointer-events: none; }
  .hero-shell { position: relative; }
  .hero-main { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 80px; align-items: center; }
  .hero-identity, .project-copy, .cpq-feature-copy, .case-hero-copy, .reverso-hero > div { min-width: 0; }
  .hero-identity > .eyebrow { color: var(--mint); font-size: var(--text-small); }
  .hero h1 { font-family: var(--display); font-weight: 500; letter-spacing: -.075em; line-height: .91; margin-top: 30px; }
  .first-name { display: block; font-size: clamp(6.25rem, 11vw, 9.875rem); }
  .last-name { display: block; font: italic clamp(3.5rem, 6.5vw, 5.8125rem)/1.1 'Georgia', serif; letter-spacing: -.065em; margin-top: 7px; }
  .name-period { color: var(--orange); }
  .hero-intro { color: #b9c8bd; font-size: var(--text-body); line-height: 1.8; max-width: 500px; margin-top: 28px; }
  .hero-intro a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 5px; }
  .hero-actions { display: flex; gap: 30px; flex-wrap: wrap; align-items: center; margin-top: 26px; }
  .hero .button-primary { background: var(--orange); color: var(--night); }
  .hero-portrait { padding-top: 19px; }
  .portrait-frame { position: relative; transform: rotate(3deg); border: 1px solid #d6dfb880; padding: 12px; background: #274038; box-shadow: 16px 16px 0 #091c1850; }
  .hero-portrait img { width: 100%; height: auto; aspect-ratio: .91; object-fit: cover; object-position: 50% 44%; filter: saturate(.7); }
  .portrait-corner { position: absolute; left: -12px; top: -20px; color: var(--orange); font: 2.1875rem var(--mono); }
  .portrait-index { position: absolute; right: -13px; bottom: 25px; background: var(--orange); color: var(--night); padding: 8px 12px; font-size: var(--text-small); transform: rotate(-3deg); }
  .hero-portrait figcaption { margin-top: 28px; }
  .hero-portrait .eyebrow { display: block; color: #a3b8a8; font-size: var(--text-small); }
  .hero-portrait .portrait-index { color: var(--night); }
  .hero-portrait figcaption a { display: flex; align-items: center; justify-content: space-between; font: 1.3125rem var(--display); margin-top: 7px; }
  .hero-portrait figcaption a > span { color: var(--orange); }
  .hero-fields { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 36px; border-top: 1px solid #c6d3bb30; margin-top: 53px; padding-block: 24px; color: #bdcbbd; font: var(--text-small)/1.6 var(--mono); }
  .hero-fields span::before { content: '+'; color: var(--orange); margin-right: 15px; }
  .professional-section { padding-top: 68px; }
  .section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
  .section-heading h2 { font-family: var(--display); font-weight: 500; font-size: 1.8125rem; letter-spacing: -1.3px; display: flex; align-items: center; gap: 20px; }
  .section-number { font: var(--text-small) var(--mono); letter-spacing: 0; color: var(--accent); border: 1px solid var(--line); min-width: 34px; min-height: 34px; display: grid; place-items: center; flex-shrink: 0; }
  .section-heading > .eyebrow { color: var(--muted); font-size: var(--text-small); }
  .work-section { padding-block: 74px 42px; }
  .site-footer { border-top: 1px solid var(--line); padding-block: 35px 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
  .footer-name { font: 1.25rem var(--display); letter-spacing: -.7px; }
  .site-footer p { color: var(--muted); font-size: var(--text-small); margin-top: 8px; }
  .footer-links { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; font-size: var(--text-small); }
  .footer-links > span { color: var(--muted); font: var(--text-small) var(--mono); }
  .footer-links a:hover { color: var(--accent); }
  .noscript-note { padding-block: 20px; font-size: var(--text-small); line-height: 1.8; }
}

@layer projects {
  .cpq-feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; background: var(--night); color: var(--cream); position: relative; }
  .cpq-feature-copy { padding: 44px 42px 35px; }
  .cpq-feature-copy > .eyebrow { color: var(--mint); font-size: var(--text-small); }
  .cpq-feature-copy h3 { font: 500 clamp(2.75rem, 4.5vw, 4.125rem)/1.05 var(--display); letter-spacing: -.065em; margin-top: 22px; }
  .cpq-feature-copy h3 > span { color: var(--orange); }
  .cpq-feature-copy > p:not(.eyebrow) { font-size: var(--text-body); line-height: 1.8; color: #bdcbbd; margin-top: 20px; max-width: 360px; }
  .cpq-feature-copy .button { margin-top: 27px; background: var(--orange); color: var(--night); }
  .cpq-feature-copy .compact-tags { margin-top: 24px; }
  .cpq-feature-copy .compact-tags span { color: #b8c8b7; }
  .cpq-feature-visual { display: flex; flex-direction: column; justify-content: center; background: var(--mint); color: var(--night); padding: 27px 30px 0; overflow: hidden; position: relative; }
  .cpq-feature-visual::before { content: '+'; font: 2.125rem var(--mono); position: absolute; right: 24px; top: 15px; color: #83906b; }
  .visual-stage-label { font-size: var(--text-small); letter-spacing: .9px; }
  .cpq-feature-visual img { width: 100%; height: auto; mix-blend-mode: multiply; margin-block: auto; transition: transform .4s; padding-block: 25px; }
  .cpq-feature-visual:hover img { transform: translateY(-5px) rotate(-1deg); }
  .visual-credit { display: flex; justify-content: space-between; align-items: center; font: var(--text-small)/1.6 var(--mono); border-top: 1px solid #19333030; padding-block: 17px; }
  .visual-credit > span { font-size: 1.3125rem; }
  .reverso-feature { display: grid; grid-template-columns: .78fr 1.6fr; gap: 50px; align-items: center; padding-block: 18px 58px; }
  .project-label { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
  .project-label .eyebrow { color: var(--accent); font-size: var(--text-small); }
  .status-tag { font: var(--text-small)/1.6 var(--mono); display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
  .status-tag i { height: 5px; width: 5px; background: #688447; border-radius: 50%; }
  .project-copy h3 { font: 500 clamp(2.625rem, 4vw, 3.625rem)/1.08 var(--display); letter-spacing: -.06em; margin-top: 22px; }
  .project-copy > p:not(.eyebrow) { font-size: var(--text-body); line-height: 1.8; color: var(--muted); margin-top: 20px; max-width: 40rem; }
  .project-copy strong { color: var(--ink); font-weight: 600; }
  .project-copy > .project-subtitle { color: var(--ink); font-size: var(--text-body); margin-top: 15px; }
  .project-copy .compact-tags { margin-top: 22px; }
  .project-copy .button { margin-top: 25px; }
  .reverso-art-wrap { background: #16272c; border: 1px solid #334c49; overflow: hidden; color: #edf1e6; min-width: 0; box-shadow: 11px 11px 0 var(--wash); }
  .development-board { margin-block: 0 38px; border: 1px solid var(--line); padding: 28px; background: var(--surface); }
  .board-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 25px; }
  .board-heading h2 { font: 500 1.75rem var(--display); letter-spacing: -1.2px; margin-top: 10px; }
  .board-heading .eyebrow { font-size: var(--text-small); }
  .board-stats { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin: 0 0 27px; border: 1px solid var(--line); }
  .board-stats > div { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 19px 21px; border-right: 1px solid var(--line); }
  .board-stats > div:last-child { border-right: 0; }
  .board-stats > div:first-child { background: var(--night); color: var(--cream); }
  .board-stats dt { font: var(--text-small)/1.7 var(--mono); color: var(--muted); }
  .board-stats > div:first-child dt { color: #bdcbbd; }
  .board-stats dd { margin: 0; font: 500 2.5rem/1 var(--display); letter-spacing: -2px; }
  .board-stats > div:first-child dd { color: var(--orange); }
  .board-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
  .board-column-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 15px; }
  .board-column h3 { margin: 0; font-size: var(--text-body); font-weight: 600; display: flex; align-items: center; gap: 9px; }
  .board-state-dot { width: 7px; height: 7px; border: 1px solid var(--muted); border-radius: 50%; flex-shrink: 0; }
  .board-column:nth-child(2) .board-state-dot { background: var(--orange); border-color: #a94321; }
  .board-column:nth-child(3) .board-state-dot { background: #8b9d63; border-color: #688447; }
  .board-count { font: var(--text-small) var(--mono); white-space: nowrap; color: var(--muted); }
  .board-column ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
  .board-ticket { display: block; background: var(--paper); border: 1px solid var(--line); padding: 17px; min-height: 119px; }
  .board-ticket > .eyebrow { font-size: var(--text-small); color: var(--muted); }
  .board-ticket h4 { font-size: var(--text-body); font-weight: 400; line-height: 1.6; margin: 13px 0 0; }
  .board-footer { display: flex; flex-wrap: wrap; gap: 12px 25px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 23px; padding-top: 17px; font: var(--text-small)/1.8 var(--mono); color: var(--muted); }
  .board-sync { display: flex; gap: 13px; align-items: center; }
  .board-sync #board-source { color: var(--accent); }
  .board-empty { font-size: var(--text-small); line-height: 1.8; padding: 20px; color: var(--muted); border: 1px dashed var(--line); }
  .preview-topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 16px; min-height: 52px; border-bottom: 1px solid #3b514c; }
  .preview-topbar > .eyebrow { font-size: var(--text-small); color: #bacdb9; }
  .preview-topbar > .eyebrow::before { content: ''; display: inline-block; width: 5px; height: 5px; background: var(--orange); margin-right: 10px; }
  .preview-toggle { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 8px 12px; min-height: 44px; min-width: 80px; border: 1px solid #60746a; background: none; color: #edf1e6; font: var(--text-small) var(--mono); }
  .preview-toggle:hover { background: #2d423a; }
  .preview-toggle:focus-visible { outline-color: var(--orange); }
  .preview-open { display: block; position: relative; }
  .preview-open video, .preview-open img { display: block; width: 100%; height: auto; aspect-ratio: 960 / 510; object-fit: contain; pointer-events: none; }
  .preview-expand { position: absolute; bottom: 14px; right: 14px; color: var(--night); background: var(--mint); padding: 10px 13px; font: var(--text-small)/1.6 var(--mono); }
  .preview-open:hover .preview-expand { background: var(--orange); }
  .preview-chapters { display: flex; flex-wrap: wrap; align-items: center; border-top: 1px solid #3b514c; min-height: 51px; }
  .preview-chapters button { display: flex; gap: 9px; align-items: center; padding: 15px 17px; border: none; border-right: 1px solid #3b514c; border-top: 2px solid transparent; background: none; color: #b3c2b8; font-size: var(--text-small); min-height: 49px; }
  .preview-chapters button span { font: var(--text-small) var(--mono); color: #91a69a; }
  .preview-chapters button:hover { background: #2d423a; }
  .preview-chapters .is-active { color: var(--cream); background: #2d423a; border-top-color: var(--orange); }
  .preview-time { margin-left: auto; padding: 0 15px; font: var(--text-small) var(--mono); white-space: nowrap; color: #b3c2b8; }
  .slc-feature { display: grid; grid-template-columns: .78fr 1.6fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 45px; gap: 50px; align-items: center; }
  .slc-feature .project-copy h3 { font-family: 'Georgia',serif; font-style: italic; font-weight: 400; font-size: clamp(2.5rem, 4vw, 3.5625rem); }
  .slc-feature .text-link { margin-top: 22px; border-bottom: 1px solid var(--ink); }
  .project-actions { display: flex; flex-wrap: wrap; gap: 12px 25px; align-items: center; margin-top: 25px; }
  .project-actions .button, .project-actions .text-link { margin-top: 0; }
  .slc-image { display: block; position: relative; height: 390px; overflow: hidden; }
  .slc-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; transition: transform .5s; }
  .slc-image:hover img { transform: scale(1.04); }
  .slc-image > span { position: absolute; bottom: 16px; right: 16px; background: var(--orange); color: var(--night); padding: 12px 16px; font: var(--text-small) var(--mono); }
  .additional-project { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; padding: 28px 0; border-top: 1px solid var(--line); }
  .additional-project-heading { display: flex; align-items: center; gap: 22px; }
  .project-number { color: var(--accent); font: 1.75rem var(--display); }
  .additional-project .eyebrow { font-size: var(--text-small); color: var(--muted); }
  .additional-project h3 { font: 1.5rem var(--display); letter-spacing: -.9px; margin-top: 6px; }
  .additional-project > p { font-size: var(--text-body); color: var(--muted); line-height: 1.7; }
  .builds-section { padding-bottom: 80px; }
  .builds-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 29px; }
  .builds-heading h2 { font: italic 3.75rem/1.1 'Georgia', serif; letter-spacing: -3.5px; margin-top: 18px; }
  .builds-heading h2 > span { color: var(--accent); }
  .builds-heading p:not(.eyebrow) { color: var(--muted); font-size: var(--text-body); line-height: 1.8; max-width: 575px; margin-top: 18px; }
  .builds-heading .text-link { flex-shrink: 0; border-bottom: 1px solid var(--ink); }
  .builds-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .builds-card { background: var(--surface); padding: 28px; min-width: 0; }
  .builds-card > .eyebrow { color: var(--muted); font-size: var(--text-small); }
  .builds-card h3 { font: 500 1.6875rem/1.15 var(--display); letter-spacing: -1px; }
  .builds-card p { font-size: var(--text-body); line-height: 1.8; color: var(--muted); margin-top: 12px; max-width: 30rem; }
  .builds-icon { width: 100px; height: 78px; margin-block: 20px 16px; color: var(--accent); }
  .builds-slc { display: grid; grid-template-columns: 1.1fr 1fr; grid-column: span 2; padding: 0; background: var(--night); color: var(--cream); overflow: hidden; }
  .builds-slc > div { padding: 30px; min-width: 0; }
  .builds-slc .eyebrow { color: var(--mint); font-size: var(--text-small); }
  .builds-slc h3 { font: italic 2.6875rem/1.1 'Georgia', serif; letter-spacing: -2px; margin-top: 22px; }
  .builds-slc p { color: #bdcbbd; }
  .builds-slc img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; object-position: 50% 43%; transition: transform .35s; }
  .builds-card-link { display: inline-flex; gap: 25px; align-items: center; font-size: var(--text-small); margin-top: 24px; padding-bottom: 11px; border-bottom: 1px solid var(--orange); }
  .builds-card-link > span { color: var(--orange); font-size: 1.1875rem; }
  .builds-slc:hover img { transform: scale(1.025); }
  .builds-slc:hover h3 { color: var(--orange); }
}

@layer dialogs {
  .project-dialog { border: 1px solid var(--line); border-top: 4px solid var(--accent); padding: 0; color: var(--ink); background: var(--paper); width: min(620px, calc(100% - 32px)); max-height: calc(100svh - 48px); overflow-y: auto; box-shadow: 0 24px 100px #0005; }
  .project-dialog::backdrop { background: #0c211ccc; backdrop-filter: blur(7px); }
  .dialog-inner { padding: 24px 34px 34px; }
  .dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; position: sticky; top: -1px; z-index: 3; padding-block: 4px; background: var(--paper); }
  .dialog-top .eyebrow { color: var(--muted); font-size: var(--text-small); }
  .dialog-close { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line); background: none; font-size: 1.6875rem; }
  .dialog-close:hover { background: var(--wash); }
  .dialog-index { display: block; color: var(--muted); margin-top: 16px; font-size: var(--text-small); }
  .project-dialog h2 { font: 500 clamp(1.9375rem, 4vw, 2.875rem)/1.07 var(--display); letter-spacing: -.05em; margin-top: 14px; }
  .dialog-description { color: var(--muted); font-size: var(--text-body); line-height: 1.8; margin-top: 21px; max-width: 780px; }
  .dialog-image { width: 100%; height: 310px; object-fit: cover; object-position: 50% 43%; margin-top: 24px; }
  .dialog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
  .dialog-tags span { font: var(--text-small)/1.5 var(--mono); color: var(--muted); border: 1px solid var(--line); padding: 6px 9px; }
  .dialog-note { background: var(--surface); padding: 19px; border: 1px solid var(--line); margin-block: 24px; }
  .dialog-note .eyebrow { font-size: var(--text-small); }
  .dialog-note p { font-size: var(--text-body); color: var(--muted); line-height: 1.8; margin-top: 8px; }
  .dialog-source { display: inline-block; font-size: var(--text-small); line-height: 1.8; margin-top: 12px; text-decoration: underline; text-underline-offset: 3px; }
  .project-dialog.has-video { width: min(1120px, calc(100% - 32px)); }
  .has-video .dialog-index { margin-top: 8px; }
  .dialog-demo { margin-top: 22px; }
  .dialog-demo video { display: block; width: 100%; height: auto; max-height: 56svh; background: #16272c; }
  .dialog-demo video:fullscreen { height: 100%; max-height: none; object-fit: contain; }
  .demo-walkthrough { border-bottom: 1px solid var(--line); padding-block: 4px 9px; }
  .demo-walkthrough summary { cursor: pointer; font-size: var(--text-small); line-height: 1.7; padding-block: 14px; min-height: 44px; color: var(--muted); }
  .demo-walkthrough ol { margin: 0 0 14px; padding-left: 20px; color: var(--muted); font-size: var(--text-body); line-height: 1.9; }
}

@layer case {
  .case-intro-stage { background: var(--night); color: var(--cream); padding-block: 21px 58px; position: relative; }
  .back-link { display: inline-block; font: var(--text-small)/1.6 var(--mono); color: #b5c8b8; padding-block: 10px; }
  .back-link:hover { color: var(--orange); }
  .case-hero { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 80px; padding-top: 28px; }
  .case-hero-copy > .eyebrow { color: var(--mint); font-size: var(--text-small); }
  .case-hero h1 { font: 500 clamp(4.75rem, 7.5vw, 6.75rem)/.88 var(--display); letter-spacing: -.075em; margin-top: 28px; }
  .case-hero h1 > span { color: var(--orange); }
  .case-hero h1 small { display: block; font: italic .32em/1.25 'Georgia', serif; letter-spacing: -.04em; margin-top: 24px; }
  .case-intro { font-size: var(--text-body); color: #bdcbbd; line-height: 1.8; max-width: 40rem; margin-top: 23px; }
  .case-owner { display: flex; gap: 13px; align-items: center; margin-top: 29px; }
  .case-owner img { width: 45px; height: 52px; object-fit: cover; border: 1px solid #bdcbbd50; }
  .case-owner strong, .case-owner span, .case-owner a { display: block; }
  .case-owner strong { font-size: var(--text-small); font-weight: 600; }
  .case-owner span { font-size: var(--text-small); color: #b3c3b6; margin-top: 4px; }
  .case-owner a { font-size: var(--text-small); color: var(--orange); margin-top: 6px; }
  .case-hero-visual { background: var(--mint); color: var(--night); min-width: 0; transform: rotate(-2deg); position: relative; box-shadow: 15px 15px 0 #29443b; }
  .hero-visual-top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #19333030; padding: 18px 22px; }
  .hero-visual-top > .eyebrow { font-size: var(--text-small); }
  .hero-visual-top > span:last-child { font-size: 1.5625rem; }
  .configurator-stage { position: relative; display: grid; align-items: center; min-height: 305px; padding: 15px 20px; }
  .configurator-stage > img { position: relative; width: 100%; height: auto; mix-blend-mode: multiply; transform: rotate(2deg); }
  .stage-wireframe { position: absolute; width: 100%; height: 100%; inset: 0; stroke: #718064; stroke-width: 1; opacity: .28; }
  .case-hero-visual figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 17px 22px; border-top: 1px solid #19333030; font-size: var(--text-small); }
  .case-hero-visual figcaption .eyebrow { font-size: var(--text-small); }
  .case-content { padding-top: 63px; }
  .reverso-hero { display: grid; grid-template-columns: 1.3fr .7fr; gap: 90px; align-items: center; padding-top: 32px; }
  .reverso-hero > div > .eyebrow { color: var(--mint); font-size: var(--text-small); }
  .reverso-hero h1 { font: 500 clamp(4.6875rem, 8.6vw, 7.75rem)/1 var(--display); letter-spacing: -.075em; margin-top: 23px; }
  .reverso-hero h1 > span { color: var(--orange); }
  .reverso-case-subtitle { font: italic 2.1875rem/1.25 'Georgia', serif; letter-spacing: -1.4px; margin-top: 17px; }
  .reverso-project-facts { margin: 0; }
  .reverso-project-facts > div { display: grid; grid-template-columns: 95px 1fr; gap: 20px; align-items: baseline; padding-block: 22px; border-top: 1px solid #b5c8b840; }
  .reverso-project-facts dt { color: #b5c8b8; font: var(--text-small) var(--mono); }
  .reverso-project-facts dd { margin: 0; font-size: var(--text-body); }
  .reverso-case-content { padding-top: 50px; }
  .project-film { margin-bottom: 40px; }
  .project-film-frame { background: #16272c; color: var(--cream); border: 1px solid #334c49; }
  .project-film-frame .preview-topbar > .eyebrow:last-child { color: #b5c8b8; font-size: var(--text-small); }
  .project-film-frame .preview-topbar > .eyebrow:last-child::before { display: none; }
  .project-film video { display: block; width: 100%; height: auto; max-height: 72svh; object-fit: contain; }
  .project-film video:fullscreen { height: 100%; max-height: none; }
  .experience-hero { grid-template-columns: 1.2fr .8fr; }
  .case-hero.experience-hero h1 small { font-size: .28em; }
  .experience-hero .text-link { color: var(--orange); margin-top: 23px; }
  .experience-portrait { width: min(100%, 310px); margin-inline: auto; }
  .experience-portrait img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
  .experience-portrait figcaption { margin-top: 30px; }
  .experience-portrait figcaption strong { display: block; font: 1.375rem var(--display); letter-spacing: -.6px; }
  .experience-portrait figcaption > span { display: block; font: var(--text-small) var(--mono); color: #b3c3b6; margin-top: 9px; }
  .experience-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-bottom: 50px; }
  .experience-overview h2 { font: 500 2.375rem/1.15 var(--display); letter-spacing: -1.8px; margin-top: 18px; }
  .experience-overview h2 em { font-family: 'Georgia',serif; font-weight: 400; }
  .experience-facts { margin: 0; }
  .experience-facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding-block: 17px; border-top: 1px solid var(--line); }
  .experience-facts dt { font: var(--text-small)/1.8 var(--mono); color: var(--muted); padding-top: 2px; }
  .experience-facts dd { font-size: var(--text-body); margin: 0; }
  .accomplishments { padding-block: 12px 55px; }
  .accomplishments h2 { font: 500 2.375rem var(--display); letter-spacing: -1.7px; margin-top: 18px; }
  .accomplishment-list { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: accomplishments; }
  .accomplishment-list li { counter-increment: accomplishments; display: grid; grid-template-columns: 45px 1fr; gap: 20px; border-top: 1px solid var(--line); padding-block: 25px; }
  .accomplishment-list li::before { content: counter(accomplishments, decimal-leading-zero); color: var(--accent); font: var(--text-small) var(--mono); padding-top: 5px; }
  .accomplishment-list h3 { font: 500 1.5625rem var(--display); letter-spacing: -.8px; }
  .accomplishment-list p { font-size: var(--text-body); line-height: 1.8; color: var(--muted); margin-top: 12px; max-width: 750px; }
  .product-context { border: 1px solid var(--line); margin-bottom: 52px; }
  .product-context > summary { display: flex; align-items: center; justify-content: space-between; gap: 25px; cursor: pointer; padding: 25px 30px; list-style: none; }
  .product-context > summary > span:first-child { min-width: 0; }
  .product-context > summary::-webkit-details-marker { display: none; }
  .product-context > summary::marker { content: ''; }
  .product-context > summary:hover { background: var(--wash); }
  .product-context > summary .eyebrow { display: block; color: var(--accent); font-size: var(--text-small); }
  .product-context > summary strong { display: block; font: 500 1.5625rem var(--display); letter-spacing: -.9px; margin-top: 9px; }
  .context-subtitle { display: block; color: var(--muted); font-size: var(--text-body); margin-top: 8px; line-height: 1.7; }
  .context-expand { flex-shrink: 0; font: 2.1875rem var(--display); color: var(--accent); transition: transform .2s; }
  .product-context[open] .context-expand { transform: rotate(45deg); }
  .context-body { padding: 0 25px; }
  .context-body .official-demos { margin-top: 5px; }
  .context-body .capability-section { gap: 60px; }
  .context-body .public-examples { padding-bottom: 35px; }
  .official-demos { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 0 25px; padding: 34px; background: var(--night-deep); color: var(--cream); position: relative; }
  .official-demos::before { content: ''; height: 4px; width: 72px; position: absolute; top: 0; left: 34px; background: var(--orange); }
  .official-demos .section-heading { grid-column: 1 / -1; margin-bottom: 28px; }
  .official-demos .section-heading h2 { font-size: 1.625rem; }
  .source-link { font: var(--text-small)/1.7 var(--mono); color: var(--muted); }
  .official-demos .source-link { color: #afc1b1; font-size: var(--text-small); }
  .demo-switcher { display: flex; flex-direction: column; gap: 10px; grid-column: 1; grid-row: 2 / 4; }
  .demo-switcher button { display: block; text-align: left; padding: 20px 18px; border: 1px solid #506052; border-left: 3px solid transparent; background: #19332c; position: relative; min-height: 101px; }
  .demo-switcher button::after { content: '↗'; position: absolute; right: 15px; top: 17px; color: #a8bda6; font-size: 1.0625rem; }
  .demo-switcher .eyebrow { color: #b1c5b2; font-size: var(--text-small); }
  .demo-switcher strong { display: block; font: 500 1rem/1.4 var(--display); margin-top: 12px; letter-spacing: -.2px; overflow-wrap: anywhere; }
  .demo-switcher button:hover { background: #2c493b; }
  .demo-switcher button.is-active, .demo-switcher button.is-active:hover { background: var(--mint); color: var(--night); border-color: var(--mint); border-left-color: var(--orange); }
  .demo-switcher .is-active .eyebrow, .demo-switcher .is-active::after { color: #4a6043; }
  .official-demos :focus-visible { outline-color: var(--orange); }
  .official-video-frame { position: relative; grid-column: 2; grid-row: 2; aspect-ratio: 16 / 9; background: #081914; overflow: hidden; }
  .official-video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
  .official-video-poster { position: relative; display: block; width: 100%; height: 100%; border: none; padding: 0; background: #e9ebed; }
  .official-video-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #0c281c9c, transparent 55%); pointer-events: none; }
  .official-video-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .official-play-icon { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--orange); color: var(--night); box-shadow: 0 0 0 9px #ff8c5b30; padding-left: 4px; font-size: 1.1875rem; transition: box-shadow .25s; }
  .official-video-poster:hover .official-play-icon { box-shadow: 0 0 0 16px #ff8c5b30; }
  .official-play-label { position: absolute; z-index: 1; left: 21px; bottom: 21px; color: #fff; font-size: var(--text-small); }
  .demo-caption { display: flex; grid-column: 2; grid-row: 3; align-items: center; justify-content: space-between; gap: 25px; padding-top: 20px; }
  .demo-caption h3 { font: 500 1.0625rem var(--display); letter-spacing: -.5px; }
  .demo-caption p { font-size: var(--text-body); line-height: 1.7; color: #afc2b2; margin-top: 7px; }
  .demo-caption .text-link { font-size: var(--text-ui); color: var(--orange); gap: 15px; }
  .attribution-note { grid-column: 1 / -1; border-top: 1px solid #b9c9b430; padding-top: 20px; margin-top: 26px; font-size: var(--text-small); color: #a9bdae; line-height: 1.8; }
  .capability-section { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-block: 80px; }
  .capability-section h2 { font: italic 3.4375rem/1.05 'Georgia',serif; letter-spacing: -.06em; margin-top: 23px; }
  .cad-figure { margin-top: 31px; max-width: 420px; background: var(--wash); padding: 23px 20px 13px; position: relative; }
  .cad-figure::before { content: '+'; position: absolute; top: 6px; right: 14px; color: var(--muted); font: 1.5rem var(--mono); }
  .cad-figure img { width: 100%; height: auto; mix-blend-mode: multiply; }
  [data-theme='dark'] .cad-figure { background: var(--mint); }
  .cad-figure figcaption { font: var(--text-small)/1.7 var(--mono); color: #4c6045; text-align: center; margin-top: 13px; }
  .capability-list article { display: grid; grid-template-columns: 32px 1fr; gap: 18px; padding-block: 29px; border-top: 1px solid var(--line); }
  .capability-list article > span { color: var(--accent); font-size: var(--text-small); padding-top: 4px; }
  .capability-list h3 { font: 500 1.5625rem var(--display); letter-spacing: -.9px; }
  .capability-list p { font-size: var(--text-body); color: var(--muted); line-height: 1.8; margin-top: 12px; }
  .capability-list a { display: inline-block; font-size: var(--text-small); color: var(--accent); line-height: 1.8; margin-top: 14px; }
  .capability-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .public-examples { padding-bottom: 75px; }
  .public-examples .section-heading { margin-bottom: 26px; }
  .example-link { display: grid; grid-template-columns: 160px 1fr 45px; gap: 25px; align-items: center; border-top: 1px solid var(--line); padding: 26px 0; transition: padding .25s, background .25s; }
  .example-link:last-child { border-bottom: 1px solid var(--line); }
  .example-link > .eyebrow { color: var(--accent); font-size: var(--text-small); }
  .example-link h3 { font: 500 1.5625rem var(--display); letter-spacing: -.9px; }
  .example-link p { font-size: var(--text-body); color: var(--muted); margin-top: 8px; }
  .example-link > span:last-child { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; font-size: 1.5625rem; transition: background .25s; }
  .example-link:hover { background: var(--wash); padding-inline: 18px; }
  .example-link:hover > span:last-child { background: var(--orange); color: var(--night); border-color: var(--orange); }
  .case-next { padding-block: 28px 38px; border-top: 1px solid var(--line); }
  .case-next > span { display: block; color: var(--accent); font-size: var(--text-small); }
  .case-next a { display: flex; align-items: center; justify-content: space-between; font: italic 3.25rem 'Georgia',serif; letter-spacing: -2.5px; margin-top: 17px; }
  .case-next a > span { flex-shrink: 0; color: var(--accent); font: 3.75rem var(--display); }
}

@layer responsive {
  @media (max-width: 1100px) {
    .shell { width: calc(100% - 72px); }
    .site-header.shell { width: 100%; padding-inline: 36px; }
    .hero-main { grid-template-columns: minmax(0,1fr) 230px; gap: 45px; }
    .first-name { font-size: 13vw; }
    .last-name { font-size: 6.6vw; }
    .cpq-feature-copy { padding: 35px; }
    .cpq-feature-visual { padding-inline: 25px; }
    .reverso-feature, .slc-feature { gap: 32px; grid-template-columns: .9fr 1.5fr; }
    .preview-chapters button { padding-inline: 12px; gap: 7px; }
    .preview-time { padding-inline: 10px; font-size: var(--text-small); }
    .case-hero { gap: 50px; }
    .configurator-stage { min-height: 255px; }
    .case-hero h1 { font-size: 9vw; }
    .official-demos { padding: 29px; grid-template-columns: 195px minmax(0,1fr); gap: 0 20px; }
    .demo-switcher button { padding: 16px; min-height: 95px; }
    .demo-switcher .eyebrow { font-size: var(--text-small); }
    .demo-caption { display: block; }
    .demo-caption .text-link { margin-top: 9px; min-height: 30px; }
    .capability-section { gap: 60px; }
  }
  @media (max-width: 800px) {
    .shell { width: calc(100% - 48px); }
    .site-header.shell { padding-inline: 24px; }
    .site-header { min-height: 82px; gap: 20px; }
    .identity { font-size: var(--text-small); gap: 12px; }
    .main-nav { gap: 20px; }
    .header-actions, .header-contact { gap: 12px; }
    .hero { padding-top: 45px; }
    .hero-main { grid-template-columns: minmax(0,1fr) 180px; gap: 32px; }
    .hero-identity > .eyebrow { font-size: var(--text-small); }
    .first-name { font-size: 14vw; }
    .last-name { font-size: 6.5vw; }
    .hero-actions { gap: 19px; }
    .hero-portrait figcaption a { font-size: 1.125rem; }
    .hero-fields { gap: 14px 20px; font-size: var(--text-small); margin-top: 39px; }
    .hero-fields span::before { margin-right: 9px; }
    .professional-section { padding-top: 45px; }
    .section-heading h2 { font-size: 1.5625rem; gap: 13px; }
    .section-heading > .eyebrow { font-size: var(--text-small); }
    .cpq-feature-copy { padding: 30px 26px; }
    .cpq-feature-copy h3 { font-size: 2.5rem; }
    .cpq-feature-copy > .eyebrow { font-size: var(--text-small); }
    .cpq-feature-copy .button { gap: 21px; }
    .compact-tags span { font-size: var(--text-small); }
    .visual-credit, .visual-stage-label { font-size: var(--text-small); }
    .cpq-feature-visual { padding-inline: 20px; }
    .cpq-feature-visual::before { right: 15px; top: 10px; font-size: 1.5625rem; }
    .work-section { padding-block: 53px 40px; }
    .reverso-feature { grid-template-columns: 1fr; padding-block: 12px 43px; gap: 27px; }
    .development-board { padding: 24px; }
    .board-columns { gap: 10px; }
    .board-ticket { padding: 14px; min-height: 139px; }
    .board-column-heading { gap: 8px; }
    .board-count { font-size: var(--text-small); }
    .board-stats > div { padding: 17px 13px; }
    .board-stats dd { font-size: 2.0625rem; }
    .project-copy h3 { font-size: 2.8125rem; }
    .project-copy > p:not(.eyebrow) { max-width: 550px; }
    .project-copy .button { margin-top: 20px; }
    .project-copy .compact-tags { margin-top: 17px; }
    .preview-chapters button { padding-inline: 19px; font-size: var(--text-small); }
    .preview-time { padding-inline: 17px; font-size: var(--text-small); }
    .slc-feature { grid-template-columns: 1fr 1.2fr; gap: 30px; padding-block: 35px; }
    .slc-image { height: 310px; }
    .additional-project { gap: 20px; grid-template-columns: 1fr 1fr; }
    .additional-project > .text-link { grid-column: 2; }
    .builds-heading { display: block; }
    .builds-heading .text-link { margin-top: 20px; }
    .builds-heading h2 { font-size: 3.3125rem; }
    .builds-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .builds-card { padding: 24px; }
    .builds-slc { padding: 0; }
    .experience-overview { gap: 40px; }
    .reverso-hero { gap: 40px; }
    .reverso-hero h1 { font-size: 5.375rem; }
    .reverso-case-subtitle { font-size: 1.75rem; }
    .reverso-project-facts > div { grid-template-columns: 1fr; gap: 12px; }
    .experience-overview h2 { font-size: 2rem; }
    .experience-facts > div { grid-template-columns: 85px 1fr; gap: 15px; }
    .context-body { padding-inline: 18px; }
    .context-body .capability-section { gap: 35px; }
    .footer-links { gap: 18px; font-size: var(--text-small); }
    .case-hero { gap: 35px; }
    .case-hero-copy > .eyebrow { font-size: var(--text-small); }
    .case-hero .role-dot { display: none; }
    .case-hero h1 { font-size: 10.5vw; }
    .case-hero h1 small { font-size: .35em; }
    .configurator-stage { min-height: 220px; padding-inline: 10px; }
    .hero-visual-top { padding: 12px 15px; }
    .hero-visual-top > .eyebrow { font-size: var(--text-small); }
    .case-hero-visual figcaption { padding: 14px 15px; }
    .case-hero-visual figcaption .eyebrow { font-size: var(--text-small); }
    .case-content { padding-top: 43px; }
    .official-demos { grid-template-columns: 1fr; padding: 25px; }
    .official-demos .section-heading h2 { font-size: 1.5625rem; }
    .official-demos .section-heading { align-items: flex-start; }
    .demo-switcher { flex-direction: row; grid-column: 1; grid-row: auto; gap: 7px; margin-bottom: 18px; }
    .demo-switcher button { flex: 1; min-width: 0; padding: 16px 12px; border-left-width: 1px; border-bottom-width: 3px; min-height: 91px; }
    .demo-switcher button::after { display: none; }
    .demo-switcher .is-active { border-left-color: var(--mint); border-bottom-color: var(--orange); }
    .demo-switcher .eyebrow { font-size: var(--text-small); }
    .demo-switcher strong { margin-top: 9px; }
    .official-video-frame { grid-column: 1; grid-row: auto; }
    .demo-caption { grid-column: 1; grid-row: auto; display: flex; }
    .demo-caption h3 { font-size: 1.0625rem; }
    .demo-caption .text-link { margin-top: 0; }
    .capability-section { gap: 35px; padding-block: 57px; }
    .capability-section h2 { font-size: 2.625rem; }
    .capability-list h3 { font-size: 1.375rem; }
    .capability-list article { grid-template-columns: 23px 1fr; gap: 9px; padding-block: 23px; }
    .example-link { grid-template-columns: 110px 1fr 44px; gap: 20px; }
    .example-link h3 { font-size: 1.375rem; }
  }
  @media (max-width: 580px) {
    .shell { width: calc(100% - 40px); }
    .site-header.shell { padding-inline: 20px; }
    .site-header { flex-wrap: wrap; gap: 8px 12px; min-height: 76px; padding-block: 14px 8px; }
    .identity { gap: 10px; flex: 1 1 8rem; }
    .identity > span:last-child { font-size: var(--text-small); max-width: 10rem; line-height: 1.4; }
    .identity-mark { width: 40px; height: 40px; font-size: 1.5625rem; }
    .identity-mark > span { right: 2px; bottom: 8px; font-size: 1.25rem; }
    .main-nav { order: 3; flex-basis: 100%; flex-wrap: wrap; gap: 8px 24px; margin-left: 0; padding-top: 5px; border-top: 1px solid #becbb528; }
    .main-nav a:first-child { display: flex; }
    .header-actions { gap: 8px; }
    .header-contact { gap: 7px; }
    .theme-toggle { width: 44px; height: 44px; }
    .theme-toggle svg { width: 15px; height: 15px; }
    .hero { padding-top: 34px; }
    .hero-main { display: block; position: relative; }
    .hero-identity > .eyebrow { max-width: calc(100% - 105px); min-height: 64px; }
    .hero h1 { margin-top: 30px; }
    .first-name { font-size: clamp(5.875rem,25vw,8.875rem); }
    .last-name { font-size: clamp(2.4375rem,10.5vw,3.8125rem); margin-top: 14px; }
    .hero-intro { max-width: none; margin-top: 23px; }
    .hero-portrait { position: absolute; top: 1px; right: 8px; width: 83px; padding: 0; }
    .portrait-frame { padding: 5px; box-shadow: 7px 7px 0 #091c1850; }
    .portrait-corner { font-size: 1.4375rem; top: -16px; left: -10px; }
    .portrait-index { display: none; }
    .hero-portrait figcaption { display: none; }
    .hero-actions { gap: 19px; margin-top: 22px; }
    .button { padding-inline: 16px; gap: 24px; min-height: 48px; }
    .text-link { gap: 14px; }
    .hero-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; font-size: var(--text-small); margin-top: 31px; padding-block: 22px; }
    .section-heading { gap: 13px; margin-bottom: 23px; align-items: flex-start; }
    .section-heading h2 { font-size: 1.5rem; gap: 11px; line-height: 1.1; }
    .section-heading > .eyebrow { font-size: var(--text-small); flex-basis: 100%; max-width: none; text-align: left; line-height: 1.6; }
    .section-number { min-width: 34px; min-height: 34px; }
    .cpq-feature { grid-template-columns: 1fr; }
    .cpq-feature-copy { padding: 29px 26px; }
    .cpq-feature-copy h3 { font-size: 2.9375rem; margin-top: 17px; }
    .cpq-feature-copy .compact-tags { margin-top: 18px; }
    .cpq-feature-visual { padding: 20px 22px 0; }
    .cpq-feature-visual img { padding-block: 24px; }
    .visual-stage-label, .visual-credit { font-size: var(--text-small); }
    .work-section { padding-top: 43px; }
    .project-copy h3 { font-size: 2.875rem; margin-top: 17px; }
    .project-copy > p:not(.eyebrow) { margin-top: 17px; }
    .reverso-art-wrap { box-shadow: 7px 7px 0 var(--wash); }
    .development-board { padding: 23px 18px; margin-bottom: 30px; }
    .board-heading { display: block; }
    .board-heading h2 { font-size: 1.625rem; }
    .board-columns { grid-template-columns: 1fr; gap: 27px; }
    .board-count { font-size: var(--text-small); }
    .board-stats { grid-template-columns: repeat(auto-fit,minmax(min(100%,7.5rem),1fr)); gap: 1px; background: var(--line); }
    .board-stats > div { border: 0; padding: 17px; background: var(--surface); }
    .board-stats > div:first-child { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; background: var(--night); }
    .board-ticket { min-height: 0; padding: 17px; }
    .board-ticket h4 { margin-top: 11px; }
    .board-footer { font-size: var(--text-small); }
    .preview-topbar { min-height: 50px; padding-inline: 12px 9px; }
    .preview-topbar > .eyebrow { font-size: var(--text-small); letter-spacing: .4px; }
    .preview-topbar > .eyebrow::before { margin-right: 7px; width: 4px; height: 4px; }
    .preview-toggle { min-height: 44px; min-width: 80px; font-size: var(--text-small); }
    .preview-expand { bottom: 9px; right: 9px; font-size: var(--text-small); padding: 7px 9px; }
    .preview-chapters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
    .preview-chapters button { flex-direction: column; align-items: flex-start; min-width: 0; padding: 12px 10px; font-size: var(--text-ui); gap: 4px; min-height: 44px; }
    .preview-chapters button span { font-size: var(--text-small); }
    .preview-time { grid-column: 1 / -1; justify-self: end; padding: 10px 12px; font-size: var(--text-small); }
    .slc-feature { grid-template-columns: 1fr; gap: 27px; padding-block: 31px; }
    .slc-feature .project-copy h3 { font-size: 2.875rem; }
    .slc-image { height: 310px; }
    .slc-feature .text-link { margin-top: 13px; }
    .additional-project { grid-template-columns: 1fr; gap: 15px; padding-top: 27px; }
    .additional-project > p { padding-left: 48px; }
    .additional-project > .text-link { grid-column: auto; margin-left: 48px; min-height: 30px; }
    .project-actions { gap: 12px 20px; margin-top: 22px; }
    .project-actions .button, .project-actions .text-link { margin-top: 0; }
    .builds-section { padding-bottom: 50px; }
    .builds-heading h2 { font-size: 3rem; letter-spacing: -2.8px; }
    .builds-grid { grid-template-columns: 1fr; gap: 12px; }
    .builds-card { position: relative; padding: 24px; }
    .builds-card:not(.builds-slc) { min-height: 196px; }
    .builds-card:not(.builds-slc) h3 { margin-top: 50px; }
    .builds-card:not(.builds-slc) p { max-width: 245px; }
    .builds-icon { position: absolute; top: 20px; right: 22px; width: 77px; height: 64px; margin: 0; }
    .builds-slc { grid-column: auto; padding: 0; grid-template-columns: 1fr; }
    .builds-slc > div { padding: 23px; }
    .builds-slc h3 { font-size: 2.1875rem; }
    .builds-slc img { min-height: 0; height: 260px; }
    .builds-card-link { gap: 15px; font-size: var(--text-small); }
    .case-hero.experience-hero h1 small { font-size: .36em; }
    .experience-portrait { width: 210px; margin-top: 10px; }
    .experience-portrait figcaption strong { font-size: 1.3125rem; }
    .experience-portrait .portrait-index { font-size: var(--text-small); right: -18px; padding: 8px 10px; }
    .experience-overview { grid-template-columns: 1fr; gap: 27px; padding-bottom: 35px; }
    .experience-overview h2 { font-size: 2.25rem; }
    .reverso-hero { grid-template-columns: 1fr; gap: 27px; padding-top: 23px; }
    .reverso-hero > div > .eyebrow { font-size: var(--text-small); }
    .reverso-hero h1 { font-size: 20vw; margin-top: 23px; }
    .reverso-case-subtitle { font-size: 1.625rem; letter-spacing: -1.3px; }
    .reverso-project-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; border-top: 1px solid #b5c8b840; }
    .reverso-project-facts > div { display: block; padding-block: 17px 0; border-top: 0; }
    .reverso-project-facts dt { font-size: var(--text-small); }
    .reverso-project-facts dd { line-height: 1.6; margin-top: 10px; }
    .reverso-case-content { padding-top: 35px; }
    .project-film .section-heading h2 { font-size: 1.4375rem; }
    .project-film .section-heading > .eyebrow { max-width: none; font-size: var(--text-small); }
    .project-film-frame .preview-topbar > .eyebrow { font-size: var(--text-small); }
    .project-film-frame .preview-topbar > .eyebrow:last-child { font-size: var(--text-small); }
    .experience-facts > div { grid-template-columns: 95px 1fr; padding-block: 15px; }
    .accomplishments h2 { font-size: 1.9375rem; }
    .accomplishment-list li { grid-template-columns: 26px 1fr; gap: 12px; }
    .accomplishment-list h3 { font-size: 1.4375rem; }
    .product-context { margin-bottom: 35px; }
    .product-context > summary { padding: 23px 19px; gap: 20px; }
    .product-context > summary strong { font-size: 1.5rem; }
    .context-body { padding-inline: 10px; }
    .context-body .official-demos { padding-inline: 12px; }
    .site-footer { flex-direction: column; align-items: flex-start; padding-block: 29px 32px; gap: 25px; }
    .footer-links { width: 100%; gap: 23px; }
    .footer-links > span { margin-left: auto; }
    .dialog-inner { padding: 18px 22px 27px; }
    .dialog-description { margin-top: 18px; }
    .project-dialog.has-video { width: calc(100% - 20px); }
    .has-video .dialog-inner { padding-inline: 18px; }
    .dialog-top .eyebrow { font-size: var(--text-small); }
    .dialog-image { height: 255px; }
    .case-intro-stage { padding-block: 15px 39px; overflow: hidden; }
    .case-hero { grid-template-columns: 1fr; gap: 35px; padding-top: 23px; }
    .case-hero-copy > .eyebrow { font-size: var(--text-small); }
    .case-hero h1 { font-size: 25vw; margin-top: 23px; }
    .case-hero h1 br { display: none; }
    .case-hero h1 { font-size: clamp(3.0625rem, 13.5vw,4.875rem); }
    .case-hero h1 small { font-size: .54em; margin-top: 18px; }
    .case-intro { margin-top: 20px; }
    .case-owner { gap: 12px; margin-top: 24px; }
    .case-owner img { width: 42px; height: 49px; }
    .case-hero-visual { margin-inline: 5px 9px; box-shadow: 9px 9px 0 #29443b; transform: rotate(-2deg); }
    .configurator-stage { min-height: 200px; padding-inline: 14px; }
    .hero-visual-top > .eyebrow { font-size: var(--text-small); }
    .case-content { padding-top: 35px; }
    .official-demos { padding: 24px 16px 20px; }
    .official-demos::before { left: 16px; width: 45px; }
    .official-demos .section-heading { display: block; margin-bottom: 22px; }
    .official-demos .section-heading h2 { font-size: 1.5625rem; letter-spacing: -1.2px; }
    .official-demos .source-link { display: block; margin-top: 10px; font-size: var(--text-small); }
    .demo-switcher { flex-direction: column; gap: 10px; margin-bottom: 20px; }
    .demo-switcher button { padding: 16px; min-height: 0; }
    .demo-switcher .eyebrow { font-size: var(--text-small); letter-spacing: 0; }
    .demo-switcher strong { line-height: 1.35; margin-top: 9px; letter-spacing: -.2px; }
    .official-play-icon { width: 45px; height: 45px; font-size: var(--text-body); box-shadow: 0 0 0 6px #ff8c5b30; }
    .official-play-label { left: 12px; bottom: 12px; font-size: var(--text-small); }
    .demo-caption { display: block; padding-top: 20px; }
    .demo-caption h3 { font-size: 1.125rem; line-height: 1.35; }
    .demo-caption .text-link { margin-top: 12px; min-height: 33px; }
    .attribution-note { font-size: var(--text-small); margin-top: 19px; padding-top: 17px; }
    .capability-section { grid-template-columns: 1fr; gap: 30px; padding-block: 43px; }
    .capability-section h2 { font-size: 2.9375rem; }
    .cad-figure { margin-top: 26px; max-width: none; }
    .capability-list article { padding-block: 24px; }
    .capability-list article:last-child { padding-bottom: 0; }
    .capability-list h3 { font-size: 1.5rem; }
    .public-examples { padding-bottom: 44px; }
    .public-examples .section-heading { display: block; }
    .public-examples .source-link { display: inline-block; margin-top: 12px; font-size: var(--text-small); }
    .example-link { grid-template-columns: 1fr 40px; gap: 12px 15px; padding-block: 22px; }
    .example-link > .eyebrow { grid-column: 1 / -1; font-size: var(--text-small); }
    .example-link h3 { font-size: 1.375rem; }
    .example-link > span:last-child { width: 36px; height: 36px; font-size: 1.3125rem; }
    .example-link:hover { padding-inline: 9px; }
    .case-next { padding-block: 24px 30px; }
    .case-next a { font-size: 2.375rem; letter-spacing: -2px; }
    .case-next a > span { font-size: 2.75rem; }
  }
  @media (max-width: 350px) {
    .shell { width: calc(100% - 32px); }
    .site-header.shell { padding-inline: 16px; }
    .site-header { gap: 8px; }
    .identity > span:last-child { max-width: 10rem; font-size: var(--text-small); }
    .header-actions { gap: 4px; }
    .hero-portrait { width: 70px; right: 4px; }
    .hero-identity > .eyebrow { font-size: var(--text-small); }
    .first-name { font-size: 28vw; }
    .last-name { font-size: 10.9vw; }
    .hero-actions { gap: 12px; }
    .hero-actions .button { padding-inline: 12px; gap: 15px; }
    .section-heading h2 { font-size: 1.375rem; }
    .preview-chapters button { padding-inline: 9px; gap: 4px; }
    .preview-time { font-size: var(--text-small); padding-inline: 6px; }
    .official-demos { padding-inline: 12px; }
    .official-demos .section-heading h2 { font-size: 1.4375rem; }
    .demo-switcher button { padding-inline: 6px; }
    .demo-switcher .eyebrow { font-size: var(--text-small); }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
  }
}
