@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;450;500;550;600;650;700;750;800&display=swap');

/* Shared layout: sections follow the viewport and can grow with their content. */
:root {
  --bg: #060a10;
  --surface: #0a1018;
  --ink: #edf4fa;
  --muted: #99aaba;
  --cyan: #3fe8ef;
  --teal: #13e6be;
  --line: rgba(160, 192, 211, .16);
  --font: 'Manrope', sans-serif;
  --page-width: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --header-height: 72px;
  --screen-height: calc(100vh - var(--header-height));
  --section-space: clamp(2.5rem, 6vh, 5rem);
  color-scheme: dark;
  font-family: var(--font);
  font-synthesis: none;
}

@supports (height: 100svh) {
  :root {
    --screen-height: calc(100svh - var(--header-height));
    --section-space: clamp(2.5rem, 6svh, 5rem);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
::selection { background: #0b706c; color: white; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:where(button, a, summary):focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
img, svg { display: block; }
img { max-width: 100%; }
svg { flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.container { width: min(var(--page-width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section-pad { min-height: var(--screen-height); padding-block: var(--section-space); display: flex; align-items: center; }
.section-pad > .container { min-width: 0; }
.eyebrow { color: #a8becb; font-size: .75rem; font-weight: 650; line-height: 1.7; letter-spacing: .13em; }
.section-index { color: var(--teal); margin-right: 12px; }
.gradient-text { color: var(--cyan); background: linear-gradient(115deg, #81f8ff 2%, #36dfed 48%, #08dba8 97%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.muted { color: #91a2b5; }
h2 { font-size: clamp(2.125rem, 3.2vw, 3.5rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.15; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--teal); color: var(--bg); padding: 12px 20px; }
.skip-link:focus { top: 16px; }
.page-progress { position: fixed; inset: 0 auto auto 0; z-index: 100; width: 100%; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--teal)); transform: scaleX(0); transform-origin: left; pointer-events: none; box-shadow: 0 0 10px #19eacc80; }

/* Navigation stays available while moving between sections. */
.site-header { position: sticky; top: 0; z-index: 30; height: var(--header-height); padding-inline: max(var(--gutter), calc((100% - var(--page-width)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #060a10f2; border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; flex-shrink: 0; }
.brand-mark { width: 48px; height: 44px; overflow: visible; }
.brand-name { font-size: 1.375rem; letter-spacing: .015em; font-weight: 750; line-height: 1; }
.brand-name > span { color: var(--cyan); font-weight: 500; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); margin-left: auto; }
.desktop-nav a { padding-block: 10px; font-size: .875rem; color: #aab7c5; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: #ecffff; }
.desktop-nav span { padding-left: 6px; color: var(--cyan); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.motion-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: none; transition: border-color .2s, background .2s; }
.motion-toggle:hover { background: #15d8d810; border-color: #43dcd970; }
.motion-toggle svg { width: 18px; height: 18px; fill: none; stroke: #b8c9d6; stroke-width: 1.5; }
.motion-label { min-width: 68px; font-size: .75rem; line-height: 1.4; color: #b8c9d6; white-space: nowrap; }
.play-icon { display: none; }
.motion-toggle[aria-pressed=true] .pause-icon { display: none; }
.motion-toggle[aria-pressed=true] .play-icon { display: block; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 1px; width: 22px; margin-block: 6px; background: var(--ink); transition: transform .2s; }
.menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { position: absolute; top: 100%; inset-inline: 0; padding: 16px var(--gutter) 24px; background: #091019; border-bottom: 1px solid var(--line); max-height: calc(100vh - var(--header-height)); overflow-y: auto; }
.mobile-nav:not([hidden]) { display: flex; flex-direction: column; }
.mobile-nav a { padding-block: 12px; color: #ccd9e4; }

/* Opening: the copy and emblem share the available height. */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: var(--screen-height); border-bottom: 1px solid var(--line); }
.hero-grid { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(#30547612 1px, transparent 1px), linear-gradient(90deg, #30547612 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, transparent 20%, #000 70%, transparent), linear-gradient(0deg, transparent, #000 20%, #000 80%, transparent); mask-composite: intersect; }
.hero-ambient { position: absolute; z-index: -1; width: min(80vw, 900px); aspect-ratio: 1; right: -10%; top: 0; border-radius: 50%; background: radial-gradient(ellipse, #04334740, #04273527 36%, transparent 65%); pointer-events: none; }
.hero-inner { flex: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding-block: clamp(28px, 4vh, 48px); }
.hero-copy { min-width: 0; position: relative; z-index: 3; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; letter-spacing: .1em; }
.eyebrow-line { flex-shrink: 0; width: 24px; height: 1px; background: var(--cyan); box-shadow: 0 0 8px #5ee9f780; }
h1 { font-size: clamp(2.75rem, 5.25vw, 5.5rem); line-height: 1.06; letter-spacing: -.06em; font-weight: 550; }
h1 .gradient-text { display: block; }
.hero-description { color: var(--muted); max-width: 31rem; font-size: 1rem; line-height: 1.8; margin-top: 24px; }
.button-primary { display: inline-flex; align-items: center; justify-content: center; gap: 20px; max-width: 100%; margin-top: 26px; padding: 15px 20px; border: 1px solid #d9fffb; border-radius: 4px; background: #b7f8f4; color: #061419; font-size: .875rem; font-weight: 700; line-height: 1.6; box-shadow: 0 1px 0 #fff9 inset, 0 5px 25px #05d9d80e; transition: background .2s, box-shadow .2s, transform .2s; }
.button-primary svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.button-primary:hover { background: #d4fffa; box-shadow: 0 0 35px #00ded52a; transform: translateY(-2px); }
.hero-footnote { font-size: .75rem; color: #8397a8; margin-top: 16px; }
.hero-visual { min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; perspective: 1500px; isolation: isolate; }
.logo-perspective { position: relative; width: min(100%, 58vh, 600px); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.hero-logo { width: 100%; height: auto; overflow: visible; transform-origin: 50% 55%; animation: logo-float 6s ease-in-out infinite; }
.logo-atmosphere { position: absolute; width: 90%; height: 75%; top: 8%; border-radius: 50%; background: radial-gradient(ellipse, #16bdd338, #0a687c18 40%, transparent 70%); filter: blur(25px); animation: ambient-breath 6s ease-in-out infinite; pointer-events: none; }
.terminal-orbit { stroke-width: 2.5; animation: orbit-flow 8s linear infinite; }
.node-light { animation: core-breath 3s ease-in-out infinite; }
.beam-core { opacity: .45; }
.signal-pulse { animation: signal-flow 3.2s linear infinite; stroke-width: 12; stroke-linecap: round; stroke-dasharray: 4 96; filter: drop-shadow(0 0 6px #9afff3) drop-shadow(0 0 14px #13e6be); }
.visual-caption { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; margin-top: 12px; color: #8aadbb; font-size: .6875rem; letter-spacing: .12em; line-height: 1.7; text-align: center; }
.caption-rule { width: 22px; height: 1px; flex-shrink: 0; background: #3e657580; }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 18px; border-top: 1px solid var(--line); font-size: .6875rem; letter-spacing: .12em; color: #8a9fac; }
.hero-bottom a { display: flex; align-items: center; gap: 12px; color: #b5c5d0; letter-spacing: 0; font-size: .8125rem; flex-shrink: 0; }
.hero-bottom svg { width: 17px; height: 17px; stroke: #55cfd3; stroke-width: 1.2; fill: none; }

/* Capabilities: consistent rows and space for the expanded description. */
.capabilities { background: linear-gradient(180deg, #070c13, #080e15); }
.section-heading > .eyebrow, .approach-copy > .eyebrow { margin-bottom: 18px; }
.heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.heading-row > p { color: var(--muted); font-size: .9375rem; line-height: 1.8; max-width: 20rem; }
.capability-list { margin-top: 32px; }
.capability { border-top: 1px solid var(--line); transition: background .2s; }
.capability:last-child { border-bottom: 1px solid var(--line); }
.capability summary { display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(180px, 260px) 24px; align-items: center; gap: 20px; padding: 19px 4px; cursor: pointer; list-style: none; }
.capability summary::-webkit-details-marker { display: none; }
.capability summary::marker { content: ''; }
.cap-number { font-size: .75rem; color: #88a3b5; font-variant-numeric: tabular-nums; }
.capability h3 { font-size: clamp(1.25rem, 1.8vw, 1.625rem); line-height: 1.4; font-weight: 500; letter-spacing: -.03em; text-wrap: auto; overflow-wrap: anywhere; }
.cap-short { color: #94a9ba; font-size: .8125rem; }
.plus { position: relative; width: 24px; height: 24px; }
.plus::before, .plus::after { content: ''; position: absolute; left: 3px; top: 11px; width: 18px; height: 1px; background: #88a5b7; transition: transform .2s, background .2s; }
.plus::after { transform: rotate(90deg); }
.capability[open] .plus::after { transform: rotate(0); }
.capability[open] .plus::before, .capability[open] .plus::after { background: var(--cyan); }
.capability[open] .cap-number { color: var(--cyan); }
.capability[open] h3 { color: #defeff; }
.capability:hover { background: #17283421; }
.cap-content { display: grid; grid-template-columns: minmax(0, 1fr) 284px; gap: 40px; margin-left: 64px; padding: 0 4px 23px 0; animation: detail-in .3s ease both; }
.cap-content > p { max-width: 42rem; color: #a6b6c4; font-size: 1rem; line-height: 1.75; }
.cap-tags { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; color: #8eb7bd; font-size: .75rem; }
.cap-tags > span::before { content: '—'; margin-right: 8px; color: #517987; }

/* Approach: the image follows the copy instead of imposing a fixed height. */
.approach { background: #060b11; border-top: 1px solid var(--line); }
.approach-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.section-description { color: var(--muted); font-size: 1rem; line-height: 1.8; max-width: 32rem; margin-top: 22px; }
.method-list { display: flex; flex-direction: column; gap: 20px; list-style: none; padding: 0; margin: 28px 0 0; }
.method-list li { display: flex; gap: 18px; }
.method-number { flex-shrink: 0; width: 26px; padding-top: 3px; color: #57b8b8; font-size: .75rem; letter-spacing: .05em; }
.method-list h3 { font-size: .9375rem; font-weight: 600; line-height: 1.6; letter-spacing: -.01em; text-wrap: auto; }
.method-list p { color: var(--muted); font-size: .875rem; line-height: 1.7; margin-top: 4px; max-width: 28rem; }
.material-visual { position: relative; width: 100%; height: clamp(360px, 62vh, 600px); margin: 0; overflow: hidden; background: #040a0f; border: 1px solid #1c3b4680; border-radius: 4px; }
.material-visual::before { content: ''; position: absolute; inset: 0; z-index: 2; box-shadow: inset 0 0 70px #03101d90; pointer-events: none; }
.material-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.material-visual:hover img { transform: scale(1.035); }
.material-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, #040a10e8); pointer-events: none; }
.material-visual figcaption { position: absolute; bottom: 24px; inset-inline: 24px; z-index: 3; display: flex; align-items: center; gap: 12px; color: #b0ccd4; font-size: .6875rem; letter-spacing: .1em; }
.material-caption-line { flex: 1; min-width: 12px; height: 1px; background: #476875; }

/* Projects share a row on desktop; each card retains all its content. */
.project { background: #090f16; border-block: 1px solid var(--line); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.project-feature { display: flex; flex-direction: column; min-width: 0; border: 1px solid #29404d; border-radius: 4px; overflow: hidden; background: #0a121b; }
.project-identity { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; padding: 22px 26px; background: radial-gradient(ellipse at 10% 0, #15555735, transparent 75%), linear-gradient(120deg, #101e26, #0a131b); }
.project-identity::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, #36d2ca88, transparent); }
.project-category { grid-column: 1 / -1; color: #9bbbbf; font-size: .6875rem; letter-spacing: .1em; line-height: 1.8; }
.project-identity h3 { grid-column: 1; font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.15; font-weight: 500; letter-spacing: -.055em; text-wrap: auto; }
.project-identity h3 > span:first-child { font-weight: 400; color: #c2d1d7; }
.project-name-dot { color: #50d8b9; }
.project-identity > p { grid-column: 1 / -1; color: #a0b9ba; font-size: .875rem; line-height: 1.7; }
.project-bottom-mark { grid-column: 2; grid-row: 2; align-self: center; max-width: 140px; color: #88b4b8; font-size: .625rem; letter-spacing: .07em; line-height: 1.6; text-align: right; }
.project-story { display: flex; flex: 1; flex-direction: column; padding: 24px 26px; border-top: 1px solid #29404d; }
.project-story .project-lead { color: #e0e8ee; font-size: 1.1875rem; line-height: 1.5; letter-spacing: -.025em; margin: 0; }
.project-story > p { color: #a0b0be; font-size: .9375rem; line-height: 1.75; }
.project-story > p + p { margin-top: 12px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.project-tags > span { padding: 3px 9px; border: 1px solid #2a414c; border-radius: 3px; background: #122029; color: #adc4cc; font-size: .6875rem; }
.project-ensun .project-identity { background: radial-gradient(ellipse at 10% 0, #17547b38, transparent 75%), linear-gradient(120deg, #10212d, #0a131d); }
.project-ensun .project-identity::before { background: linear-gradient(90deg, #37c8e988, transparent); }
.project-ensun .project-identity h3 > span:first-child, .project-ensun .project-name-dot { color: #76dce9; }

/* A compact footer completes the final screen. */
.closing { position: relative; isolation: isolate; overflow: hidden; min-height: calc(var(--screen-height) - 168px); text-align: center; }
.closing-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, #006a7a20, transparent 65%); pointer-events: none; }
.closing .eyebrow { color: #91afbe; max-width: 36rem; margin-inline: auto; }
.closing h2 { font-size: clamp(2.625rem, 5.4vw, 5rem); letter-spacing: -.06em; line-height: 1.08; font-weight: 450; margin-top: 22px; }
.closing p:not(.eyebrow) { color: var(--muted); font-size: 1rem; line-height: 1.8; margin-top: 22px; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; }
.contact-actions .contact-email { min-height: 52px; margin-top: 0; padding-inline: 22px; border-radius: 999px; background: linear-gradient(115deg, #c1faf5, #94ede7); }
.contact-actions .contact-email:hover { background: #d4fffa; }
.contact-copy { --copy-surface: #0a141d; flex-shrink: 0; width: 48px; height: 48px; padding: 0; place-items: center; border: 1px solid #2b454f; border-radius: 50%; background: var(--copy-surface); color: #9cbbc5; transition: border-color .2s, background .2s, color .2s; }
.contact-copy:not([hidden]) { display: grid; }
.contact-copy:hover { --copy-surface: #10242d; border-color: #48b9ba; color: var(--cyan); }
.contact-copy[aria-busy=true] { opacity: .65; cursor: progress; }
.copy-icon { position: relative; width: 20px; height: 20px; }
.copy-icon::before, .copy-icon::after { content: ''; position: absolute; width: 11px; height: 13px; border: 1.5px solid currentColor; border-radius: 2px; background: var(--copy-surface); transition: opacity .2s, transform .2s; }
.copy-icon::before { left: 2px; top: 1px; opacity: .65; }
.copy-icon::after { left: 6px; top: 5px; }
.contact-copy[data-copied=true] { color: #8de4d9; border-color: #397a78; }
.contact-copy[data-copied=true] .copy-icon::before { opacity: 0; }
.contact-copy[data-copied=true] .copy-icon::after { left: 7px; top: 2px; width: 6px; height: 12px; border-width: 0 1.5px 1.5px 0; border-radius: 0; background: transparent; transform: rotate(45deg); }
.closing p.contact-status { min-height: 1.6em; margin-top: 12px; color: #8de4d9; font-size: .8125rem; line-height: 1.6; }
.closing p.contact-status[data-state=error] { color: var(--muted); }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-brand { gap: 12px; }
.footer-emblem { width: 64px; height: 60px; overflow: visible; }
.footer-brand .brand-name { font-size: 1.25rem; }
.site-footer > p { color: #95aab8; font-size: .8125rem; text-align: center; }
.back-to-top { justify-self: end; display: flex; align-items: center; gap: 12px; min-height: 44px; color: #b1c3cf; font-size: .8125rem; }
.back-to-top > span { color: #9fd6df; font-size: 1rem; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; padding-block: 16px; border-top: 1px solid var(--line); color: #8a9eae; font-size: .75rem; }

/* Entrance effects and the saved motion preference. */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes logo-float { 0%, 100% { transform: perspective(900px) translateY(6px) rotateX(3deg) rotateY(-7deg) rotateZ(-1deg); } 50% { transform: perspective(900px) translateY(-8px) rotateX(-3deg) rotateY(7deg) rotateZ(1deg); } }
@keyframes signal-flow { to { stroke-dashoffset: -100; } }
@keyframes orbit-flow { to { stroke-dashoffset: -214; } }
@keyframes ambient-breath { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes core-breath { 50% { opacity: .3; } }
@keyframes detail-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
.motion-paused, .motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; scroll-behavior: auto !important; transition: none !important; }
.motion-paused .logo-perspective, .motion-paused .material-visual img { transform: none !important; }
.motion-paused .reveal { opacity: 1; transform: none !important; }
.motion-paused .cap-content { animation: none; opacity: 1; transform: none; }

/* Short laptop windows: preserve breathing room without oversized sections. */
@media (min-width: 901px) and (max-height: 800px) {
  :root { --section-space: 32px; }
  .hero-inner { padding-block: 24px; }
  h1 { font-size: clamp(2.75rem, 5vw, 4.5rem); }
  .hero-eyebrow { margin-bottom: 18px; }
  .hero-description { margin-top: 20px; }
  .button-primary { margin-top: 22px; }
  .method-list { gap: 16px; margin-top: 24px; }
  .project-grid { margin-top: 24px; }
  .project-story { padding-block: 20px; }
}

/* Tablet and mobile use natural document flow when the content needs space. */
@media (max-width: 1100px) {
  .site-header { gap: 20px; }
  .capability summary { grid-template-columns: 32px minmax(0, 1fr) 210px 24px; gap: 16px; }
  .cap-content { grid-template-columns: minmax(0, 1fr) 234px; margin-left: 52px; gap: 28px; }
  .project-identity { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .project-bottom-mark { grid-column: 1; grid-row: auto; max-width: none; text-align: left; }
  .project-story { padding: 22px; }
}

@media (max-width: 900px) {
  :root { --header-height: 68px; --section-space: 48px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .site-header { gap: 12px; }
  .header-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 32px 24px; }
  .hero-copy { width: min(100%, 620px); margin-inline: auto; }
  h1 { font-size: clamp(2.5rem, 7.8vw, 4rem); }
  .hero-description { max-width: 36rem; }
  .hero-visual { width: 100%; }
  .logo-perspective { width: min(70vw, 28vh, 300px); }
  .hero-grid { mask-image: linear-gradient(180deg, transparent, #000 40%, #000 80%, transparent); mask-composite: add; }
  .hero-ambient { width: 100%; top: 30%; right: -20%; }
  .heading-row { align-items: flex-start; flex-direction: column; gap: 20px; }
  .heading-row > p { max-width: 32rem; }
  .heading-row > p br { display: none; }
  .capability summary { grid-template-columns: 28px minmax(0, 1fr) 24px; }
  .cap-short { display: none; }
  .cap-content { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-left: 48px; }
  .cap-tags { flex-direction: row; flex-wrap: wrap; gap: 6px 18px; }
  .approach-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .approach-copy { max-width: 620px; }
  .section-description, .method-list p { max-width: 36rem; }
  .material-visual { height: auto; aspect-ratio: 16 / 9; }
  .project-grid { grid-template-columns: minmax(0, 1fr); }
  .project-identity { grid-template-columns: minmax(0, 1fr) auto; padding: 24px; }
  .project-bottom-mark { grid-column: 2; grid-row: 2; max-width: 140px; text-align: right; }
  .project-story { padding: 24px; }
  .project-identity h3 { font-size: 2.5rem; }
  .site-footer { grid-template-columns: 1fr auto; gap: 8px 20px; }
  .site-footer > p { grid-column: 1; grid-row: 2; text-align: left; }
  .back-to-top { grid-column: 2; grid-row: 1 / 3; }
  .footer-bottom { margin-top: 12px; }
}

@media (max-width: 600px) {
  :root { --header-height: 64px; --section-space: 40px; }
  .brand-name { font-size: 1.25rem; }
  .brand-mark { width: 44px; height: 40px; }
  .brand { gap: 8px; }
  .header-actions { gap: 4px; }
  .motion-toggle { width: 42px; padding: 0; }
  .motion-label { display: none; }
  .hero-inner { padding-block: 28px 20px; gap: 18px; }
  .hero-eyebrow { font-size: .625rem; letter-spacing: .08em; gap: 10px; margin-bottom: 18px; }
  .eyebrow-line { width: 18px; }
  h1 { font-size: clamp(2.125rem, 9.8vw, 3.375rem); line-height: 1.05; }
  h2 { font-size: clamp(1.875rem, 7vw, 2.625rem); }
  .hero-description { margin-top: 18px; line-height: 1.7; }
  .button-primary { margin-top: 20px; padding: 14px 16px; gap: 16px; }
  .hero-footnote { margin-top: 12px; }
  .logo-perspective { width: min(65vw, 24vh, 240px); }
  .visual-caption { font-size: .625rem; letter-spacing: .08em; margin-top: 6px; gap: 10px; }
  .caption-rule { width: 16px; }
  .hero-bottom { padding-block: 14px; gap: 16px; font-size: .625rem; letter-spacing: .07em; }
  .hero-bottom > span { max-width: 170px; }
  .hero-bottom a { font-size: .75rem; gap: 8px; }
  .eyebrow { letter-spacing: .09em; }
  .section-heading > .eyebrow, .approach-copy > .eyebrow { margin-bottom: 14px; }
  .heading-row { gap: 18px; }
  .heading-row > p { font-size: .9375rem; }
  .capability-list { margin-top: 24px; }
  .capability summary { padding: 18px 0; grid-template-columns: 24px minmax(0, 1fr) 20px; gap: 12px; }
  .capability h3 { font-size: 1.125rem; }
  .plus { width: 20px; }
  .plus::before, .plus::after { width: 14px; }
  .cap-content { margin-left: 36px; padding-bottom: 20px; }
  .cap-tags { flex-direction: column; gap: 4px; }
  .section-description { margin-top: 18px; }
  .method-list { gap: 20px; margin-top: 24px; }
  .method-list li { gap: 12px; }
  .method-number { width: 22px; }
  .material-visual { aspect-ratio: 4 / 3; }
  .material-visual figcaption { inset-inline: 16px; bottom: 16px; gap: 8px; font-size: .625rem; letter-spacing: .06em; }
  .project-grid { gap: 20px; margin-top: 24px; }
  .project-identity { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .project-identity h3 { font-size: 2.375rem; }
  .project-category { font-size: .625rem; }
  .project-bottom-mark { grid-column: 1; grid-row: auto; max-width: none; text-align: left; }
  .project-story { padding: 22px; }
  .project-story .project-lead { font-size: 1.125rem; }
  .closing { min-height: calc(var(--screen-height) - 200px); padding-block: 48px; }
  .closing .eyebrow { max-width: 290px; font-size: .6875rem; }
  .closing h2 { font-size: clamp(2.25rem, 10vw, 3.25rem); }
  .closing p:not(.eyebrow) { font-size: .9375rem; }
  .contact-actions { gap: 10px; margin-top: 22px; }
  .footer-emblem { width: 48px; height: 44px; }
  .footer-brand .brand-name { font-size: 1.125rem; }
  .site-footer { gap: 10px 12px; padding-top: 20px; }
  .site-footer > p { font-size: .6875rem; }
  .back-to-top { font-size: .75rem; gap: 8px; }
  .footer-bottom { align-items: flex-start; font-size: .6875rem; gap: 20px; }
  .footer-bottom > span:last-child { max-width: 150px; text-align: right; }
}

@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .cap-content { margin-left: 0; }
  .project-identity, .project-story { padding: 18px; }
  .project-identity h3 { font-size: 2.125rem; }
  .material-visual figcaption { flex-wrap: wrap; }
  .material-caption-line { display: none; }
}

@supports (height: 100svh) {
  .logo-perspective { width: min(100%, 58svh, 600px); }
  .material-visual { height: clamp(360px, 62svh, 600px); }
  @media (max-width: 900px) {
    .logo-perspective { width: min(70vw, 28svh, 300px); }
    .material-visual { height: auto; }
  }
  @media (max-width: 600px) {
    .logo-perspective { width: min(65vw, 24svh, 240px); }
  }
}

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