@layer reset, base, components, pages, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
  ul, ol { padding: 0; }
  img, svg { display: block; max-width: 100%; }
  button, input, select, textarea { font: inherit; }
  a { color: inherit; text-decoration: none; }
}

@layer base {
  :root {
    --red: #ea3323;
    --red-dark: #c72418;
    --black: #000;
    --ink: #0c0c0c;
    --ink-soft: #171717;
    --paper: #fff;
    --paper-soft: #f5f5f3;
    --muted: #686868;
    --line: #dededb;
    --line-dark: #2a2a2a;
    --shell: min(1180px, calc(100% - 64px));
    --header-h: 82px;
    --radius: 24px;
    --shadow: 0 24px 80px rgba(0,0,0,.12);
  }

  body {
    min-width: 320px;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
  }

  body.menu-open { overflow: hidden; }
  ::selection { color: var(--paper); background: var(--red); }
  :focus-visible { outline: 3px solid rgba(234,51,35,.42); outline-offset: 4px; }
  [hidden] { display: none !important; }
  .grid-shell { width: var(--shell); margin-inline: auto; }
  .section-pad { padding: 120px 0; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .skip-link { position: fixed; left: 18px; top: 18px; z-index: 999; padding: 12px 16px; color: #fff; background: #000; transform: translateY(-180%); }
  .skip-link:focus { transform: none; }
  .eyebrow, .section-index, .kicker {
    display: flex; align-items: center; gap: 10px;
    color: var(--red); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase;
  }
  .eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
  h1, h2, h3, h4 { text-wrap: balance; }
  p { text-wrap: pretty; }
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.2,1); }
  .reveal.is-visible { opacity: 1; transform: none; }
}

@layer components {
  .site-header {
    position: sticky; top: 0; z-index: 100;
    height: var(--header-h); display: flex; align-items: center; justify-content: space-between;
    padding: 0 max(24px, calc((100vw - 1180px) / 2));
    background: rgba(255,255,255,.92); border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px); transition: border-color .2s ease, box-shadow .2s ease;
  }
  .site-header.is-scrolled { border-color: rgba(0,0,0,.09); box-shadow: 0 10px 28px rgba(0,0,0,.04); }
  .brand { flex: 0 0 auto; }
  .brand img { width: 174px; height: auto; }
  .site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
  .site-nav a { position: relative; padding: 10px 0; font-size: .78rem; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; }
  .site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--red); transition: right .2s ease; }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
  .nav-cta { min-height: 42px; display: inline-flex !important; align-items: center; padding: 0 17px !important; color: #fff; background: var(--red); border-radius: 999px; }
  .nav-cta::after { display: none; }
  .nav-cta:hover { background: var(--black); }
  .menu-toggle { display: none; }

  .button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 850; transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease; }
  .button:hover { transform: translateY(-2px); }
  .button-primary { color: #fff; background: var(--red); border-color: var(--red); }
  .button-primary:hover { background: var(--black); border-color: var(--black); }
  .button-dark { color: #fff; background: #000; border-color: #000; }
  .button-dark:hover { color: #000; background: #fff; }
  .button-ghost { color: var(--ink); border-color: #cfcfcb; background: rgba(255,255,255,.72); }
  .button-ghost:hover { border-color: var(--black); }
  .button-light { color: #000; background: #fff; border-color: #fff; }

  .breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: #777; font-size: .75rem; font-weight: 750; }
  .breadcrumbs a:hover { color: var(--red); }
  .breadcrumbs span[aria-hidden] { color: #bbb; }

  .section-heading { display: grid; grid-template-columns: 1.5fr .7fr; gap: 70px; align-items: end; margin-bottom: 58px; }
  .section-heading h2 { margin-top: 15px; font-size: clamp(3rem, 6vw, 6.2rem); line-height: .92; letter-spacing: -.065em; }
  .section-heading > p { color: var(--muted); font-size: 1.02rem; }

  .card-arrow { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 1.2rem; transition: transform .2s ease, color .2s ease, background .2s ease; }
  a:hover .card-arrow { transform: rotate(-45deg); color: #fff; background: var(--red); border-color: var(--red); }

  .tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
  .tag-list li { padding: 8px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: .72rem; opacity: .72; }

  .optional-media { position: relative; min-height: 390px; overflow: hidden; border-radius: var(--radius); background: #111; }
  .optional-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
  .optional-media > img.image-missing { display: none; }
  .visual-fallback { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
  .visual-fallback::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; background: rgba(234,51,35,.22); filter: blur(70px); }
  .fallback-panel { position: relative; z-index: 1; width: 84%; min-height: 68%; display: grid; grid-template-rows: 38px 1fr; border: 1px solid #3f3f3f; border-radius: 16px; color: #fff; background: #080808; box-shadow: 0 30px 80px rgba(0,0,0,.55); transform: perspective(900px) rotateX(3deg) rotateY(-5deg); overflow: hidden; }
  .fallback-bar { display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid #292929; color: #9b9b9b; font-size: .69rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .fallback-bar i { width: 7px; height: 7px; border-radius: 50%; background: #444; }
  .fallback-bar strong { margin-left: auto; color: var(--red); }
  .fallback-body { min-height: 250px; display: grid; grid-template-columns: 28% 1fr; }
  .fallback-side { padding: 18px 12px; border-right: 1px solid #252525; }
  .fallback-side span, .fallback-main span { display: block; height: 9px; margin-bottom: 12px; border-radius: 999px; background: #242424; }
  .fallback-side span:nth-child(2) { width: 70%; }
  .fallback-side span:nth-child(3) { width: 84%; }
  .fallback-main { padding: 26px; }
  .fallback-main h4 { margin-bottom: 26px; font-size: clamp(1.3rem, 3vw, 2.6rem); letter-spacing: -.04em; }
  .fallback-main span:nth-of-type(1) { width: 88%; }
  .fallback-main span:nth-of-type(2) { width: 66%; }
  .fallback-main span:nth-of-type(3) { width: 78%; background: rgba(234,51,35,.7); }

  .site-footer { color: #aaa; background: #000; border-top: 1px solid #262626; }
  .footer-main { display: grid; grid-template-columns: 1.15fr repeat(3, .75fr); gap: 54px; padding: 72px 0 54px; }
  .footer-brand img { width: 176px; height: auto; }
  .footer-brand p { max-width: 320px; margin-top: 22px; color: #8f8f8f; font-size: .9rem; }
  .footer-column h3 { margin-bottom: 17px; color: #fff; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
  .footer-column a { display: block; width: fit-content; margin: 10px 0; font-size: .86rem; }
  .footer-column a:hover { color: #fff; }
  .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0 34px; border-top: 1px solid #222; font-size: .75rem; }
  .footer-bottom a { color: #fff; }

  .closing-band { padding: 90px 0; color: #fff; background: var(--red); }
  .closing-band-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
  .closing-band h2 { font-size: clamp(2.7rem, 6vw, 6rem); line-height: .93; letter-spacing: -.065em; }
  .closing-band p { max-width: 650px; margin-top: 20px; color: rgba(255,255,255,.82); }
}

@layer pages {
  .home-hero { position: relative; padding: 74px 0 72px; overflow: hidden; background: #f5f5f3; }
  .home-hero::after { content: ""; position: absolute; right: -10%; top: 4%; width: 48vw; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(0,0,0,.07); box-shadow: 0 0 0 70px rgba(0,0,0,.025), 0 0 0 140px rgba(0,0,0,.018); pointer-events: none; }
  .home-hero-grid { position: relative; z-index: 1; min-height: 650px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 74px; }
  .home-hero h1 { margin: 22px 0 26px; font-size: clamp(4.5rem, 8.8vw, 9rem); line-height: .83; letter-spacing: -.085em; }
  .home-hero h1 em { color: var(--red); font-style: normal; }
  .hero-lede { max-width: 690px; color: #555; font-size: clamp(1rem, 1.4vw, 1.2rem); }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
  .hero-system { position: relative; min-height: 560px; border-radius: 36px; background: #080808; box-shadow: var(--shadow); overflow: hidden; isolation: isolate; }
  .hero-system::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 42px 42px; mask-image: radial-gradient(circle, black, transparent 82%); }
  .hero-orbit { position: absolute; inset: 50% auto auto 50%; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; transform: translate(-50%,-50%); }
  .hero-orbit.one { width: 280px; height: 280px; }
  .hero-orbit.two { width: 450px; height: 450px; }
  .system-core { position: absolute; inset: 50% auto auto 50%; width: 142px; height: 142px; display: grid; place-items: center; border: 1px solid #383838; border-radius: 50%; background: #0f0f0f; transform: translate(-50%,-50%); box-shadow: 0 0 55px rgba(234,51,35,.2); }
  .system-core img { width: 70px; filter: invert(1); }
  .system-core span { position: absolute; bottom: 14px; color: #8e8e8e; font-size: .5rem; font-weight: 900; letter-spacing: .13em; }
  .model-node { position: absolute; min-width: 160px; padding: 14px; border: 1px solid #383838; border-radius: 13px; color: #fff; background: rgba(17,17,17,.92); box-shadow: 0 16px 40px rgba(0,0,0,.45); }
  .model-node small { display: block; color: #777; font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .model-node strong { display: block; margin-top: 5px; font-size: 1.05rem; }
  .model-node::before { content: ""; width: 7px; height: 7px; display: inline-block; margin-right: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); }
  .node-danaa { right: 7%; top: 13%; }
  .node-halu { left: 5%; top: 49%; }
  .node-mina { right: 8%; bottom: 9%; }

  .capability-strip { padding: 18px 0; color: #fff; background: #000; overflow: hidden; }
  .marquee-track { width: max-content; display: flex; gap: 30px; align-items: center; animation: marquee 30s linear infinite; }
  .marquee-track span { font-size: .74rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
  .marquee-track i { color: var(--red); font-style: normal; font-size: .62rem; }
  @keyframes marquee { to { transform: translateX(-50%); } }

  .statement { background: #fff; }
  .statement-grid { display: grid; grid-template-columns: .34fr 1fr; gap: 80px; }
  .statement h2 { font-size: clamp(3.2rem, 7vw, 7rem); line-height: .91; letter-spacing: -.07em; }
  .statement h2 span { color: #a3a3a0; }
  .statement-copy p { max-width: 680px; margin: 34px 0 0 auto; color: #646464; font-size: 1.08rem; }

  .models-overview { color: #fff; background: #000; }
  .models-overview .section-heading > p { color: #9c9c9c; }
  .family-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #2e2e2e; border-radius: var(--radius); overflow: hidden; }
  .family-card { min-width: 0; min-height: 500px; display: flex; flex-direction: column; padding: 32px; border-right: 1px solid #2e2e2e; transition: background .25s ease; }
  .family-card:last-child { border-right: 0; }
  .family-card:hover { background: #111; }
  .family-card .number { color: var(--red); font-size: .7rem; font-weight: 900; letter-spacing: .12em; }
  .family-card h3 { margin: auto 0 18px; font-size: clamp(3.5rem, 6vw, 6.4rem); line-height: .86; letter-spacing: -.07em; }
  .family-card h3 span { color: var(--red); font-size: .38em; letter-spacing: -.02em; }
  .family-card p { min-height: 78px; color: #999; }
  .family-card footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; }
  .family-card footer small { color: #777; font-weight: 700; }

  .work-section { background: #f4f4f1; }
  .work-list { display: grid; gap: 22px; }
  .work-card { display: grid; grid-template-columns: .75fr 1.25fr; min-height: 540px; border: 1px solid #d7d7d3; border-radius: var(--radius); background: #fff; overflow: hidden; }
  .work-copy { display: flex; flex-direction: column; padding: 34px; }
  .work-copy .work-type { color: var(--red); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
  .work-copy h3 { margin: auto 0 22px; font-size: clamp(4rem, 7vw, 7.4rem); line-height: .85; letter-spacing: -.075em; }
  .work-copy p { color: #626262; }
  .work-copy .tag-list { margin-top: 25px; }
  .work-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; font-weight: 850; }
  .work-card .optional-media { min-height: 100%; border-radius: 0; }


  .home-work-section .work-card { grid-template-columns: .72fr 1.28fr; }
  .home-work-section .work-card .optional-media {
    position: relative;
    display: grid;
    place-items: center;
    padding: 34px 26px;
    background:
      radial-gradient(circle at 18% 16%, rgba(234,51,35,.08), transparent 38%),
      linear-gradient(135deg, #faf9f7 0%, #f1efeb 100%);
  }
  .home-work-section .work-card .optional-media::before {
    content: "";
    position: absolute;
    width: 70%;
    height: 66%;
    border: 1px solid rgba(0,0,0,.045);
    border-radius: 24px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 18px 48px rgba(0,0,0,.055);
    transform: translate(5%, 5%) rotate(-2deg);
  }
  .home-work-section .work-card .optional-media > img {
    position: relative;
    inset: auto;
    z-index: 2;
    width: min(100%, 760px);
    height: auto;
    max-height: calc(100% - 22px);
    object-fit: contain;
    object-position: center center;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 32px 90px rgba(0,0,0,.16);
    transform: perspective(1400px) rotateX(1.5deg) rotateY(-4deg) rotateZ(-1.4deg);
    transform-origin: center center;
  }
  .home-work-section .work-card:nth-child(even) .optional-media::before {
    transform: translate(-5%, 5%) rotate(2deg);
  }
  .home-work-section .work-card:nth-child(even) .optional-media > img {
    transform: perspective(1400px) rotateX(1.5deg) rotateY(4deg) rotateZ(1.4deg);
  }
  .home-work-section .work-card .visual-fallback {
    position: absolute;
    inset: 0;
  }
  .home-work-section .work-card .optional-media > img:not(.image-missing) + .visual-fallback {
    display: none;
  }

  .services-preview { color: #fff; background: #101010; }
  .services-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 82px; align-items: start; }
  .services-intro { position: sticky; top: calc(var(--header-h) + 36px); }
  .services-intro h2 { margin-top: 18px; font-size: clamp(3.1rem, 6vw, 6rem); line-height: .92; letter-spacing: -.065em; }
  .services-intro p:last-child { margin-top: 25px; color: #969696; }
  .service-list { border-top: 1px solid #333; }
  .service-row { display: grid; grid-template-columns: 46px 1fr auto; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid #333; }
  .service-row > span { color: var(--red); font-size: .72rem; font-weight: 900; }
  .service-row h3 { font-size: clamp(1.55rem, 2.4vw, 2.25rem); letter-spacing: -.04em; }
  .service-row p { margin-top: 7px; color: #8c8c8c; }

  .principles { background: #fff; }
  .principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .principle-grid article { min-height: 330px; display: flex; flex-direction: column; padding: 28px; border-right: 1px solid var(--line); }
  .principle-grid article:last-child { border-right: 0; }
  .principle-grid span { color: var(--red); font-size: .7rem; font-weight: 900; }
  .principle-grid h3 { margin-top: auto; font-size: 1.55rem; line-height: 1.05; letter-spacing: -.04em; }
  .principle-grid p { margin-top: 16px; color: #737373; font-size: .9rem; }

  .page-hero { padding: 54px 0 96px; background: #f5f5f3; }
  .page-hero .breadcrumbs { margin-bottom: 54px; }
  .page-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; align-items: end; }
  .page-hero-grid > *, .detail-hero-grid > * { min-width: 0; }
  .page-hero h1 { font-size: clamp(4rem, 8.2vw, 8.5rem); line-height: .84; letter-spacing: -.082em; }
  .page-hero h1 span { color: var(--red); }
  .page-hero-copy > p { color: #5f5f5f; font-size: 1.07rem; }
  .page-hero-copy .hero-actions { margin-top: 26px; }

  .intro-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
  .intro-grid h2 { font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: .95; letter-spacing: -.06em; }
  .intro-grid .body-copy { max-width: 760px; margin-top: 28px; }
  .body-copy p { margin-bottom: 22px; color: #5d5d5d; font-size: 1.02rem; }

  .route-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .route-card { min-height: 290px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 20px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .route-card:hover { transform: translateY(-4px); border-color: #b8b8b4; box-shadow: 0 20px 50px rgba(0,0,0,.07); }
  .route-card .kicker { font-size: .66rem; }
  .route-card h3 { margin-top: auto; font-size: clamp(2rem, 4vw, 3.6rem); line-height: .92; letter-spacing: -.055em; }
  .route-card p { margin-top: 15px; color: #6b6b6b; }
  .route-card footer { display: flex; justify-content: flex-end; margin-top: 25px; }

  .detail-hero { position: relative; padding: 72px 0 90px; color: #fff; background: #050505; overflow: hidden; }
  .detail-hero::before { content: ""; position: absolute; right: -10%; top: -45%; width: 60vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(234,51,35,.28), transparent 68%); }
  .detail-hero .breadcrumbs { position: relative; z-index: 1; color: #8e8e8e; margin-bottom: 62px; }
  .detail-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
  .detail-hero h1 { font-size: clamp(4.5rem, 10vw, 10rem); line-height: .8; letter-spacing: -.085em; }
  .detail-hero h1 small { display: block; margin-bottom: 22px; color: var(--red); font-size: .095em; letter-spacing: .15em; text-transform: uppercase; }
  .detail-hero h1 span { color: var(--red); font-size: .36em; letter-spacing: -.02em; }
  .service-detail-hero .detail-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .service-detail-hero h1 { max-width: 1120px; font-size: clamp(4.5rem, 8vw, 8rem); }
  .service-detail-hero .detail-hero-copy { max-width: 640px; margin-left: auto; }
  .detail-hero-copy p { color: #aaa; font-size: 1.08rem; }
  .detail-hero-copy .tag-list { margin-top: 24px; color: #bdbdbd; }

  .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .feature-card { min-height: 280px; padding: 27px; border: 1px solid var(--line); border-radius: 20px; }
  .feature-card span { color: var(--red); font-size: .72rem; font-weight: 900; }
  .feature-card h3 { margin-top: 80px; font-size: 1.55rem; line-height: 1.05; letter-spacing: -.04em; }
  .feature-card p { margin-top: 15px; color: #6b6b6b; font-size: .92rem; }

  .variant-table { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
  .variant-row { display: grid; grid-template-columns: .65fr 1fr 1.2fr; gap: 30px; align-items: center; min-height: 114px; padding: 22px 26px; border-bottom: 1px solid var(--line); }
  .variant-row:last-child { border-bottom: 0; }
  .variant-row .variant-type { color: var(--red); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
  .variant-row h3 { font-size: 1.4rem; }
  .variant-row p { color: #676767; font-size: .9rem; }

  .product-story { display: grid; grid-template-columns: .86fr 1.14fr; gap: 70px; align-items: center; }
  .product-story h2 { font-size: clamp(3rem, 5.8vw, 6rem); line-height: .92; letter-spacing: -.065em; }
  .product-story p { margin-top: 24px; color: #646464; }
  .product-story .tag-list { margin-top: 27px; }

  .facts-band { color: #fff; background: #0d0d0d; }
  .facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #303030; border-radius: var(--radius); overflow: hidden; }
  .fact { min-height: 230px; padding: 26px; border-right: 1px solid #303030; }
  .fact:last-child { border-right: 0; }
  .fact strong { display: block; margin-top: 75px; font-size: 1.3rem; }
  .fact p { margin-top: 11px; color: #898989; font-size: .86rem; }

  .brief-page { background: #f4f4f1; }
  .brief-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; }
  .brief-copy { position: sticky; top: calc(var(--header-h) + 36px); }
  .brief-copy h2 { margin-top: 16px; font-size: clamp(3rem, 5.5vw, 5.6rem); line-height: .93; letter-spacing: -.065em; }
  .brief-copy > p { margin-top: 25px; color: #636363; }
  .privacy-note { margin-top: 25px; padding: 15px 17px; border: 1px solid #d1d1cd; border-radius: 13px; color: #626262; font-size: .82rem; }
  .privacy-note span { color: var(--red); }
  .brief-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 28px; border: 1px solid #d5d5d1; border-radius: 24px; background: #fff; }
  .brief-form label { display: grid; gap: 9px; }
  .brief-form label span { font-size: .73rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
  .brief-form label.full { grid-column: 1 / -1; }
  .brief-form select, .brief-form textarea, .brief-form input { width: 100%; min-width: 0; border: 1px solid #d4d4d0; border-radius: 12px; color: #111; background: #fafafa; outline: none; }
  .brief-form select, .brief-form input { min-height: 50px; padding: 0 14px; }
  .brief-form textarea { min-height: 128px; padding: 14px; resize: vertical; }
  .brief-form select:focus, .brief-form textarea:focus, .brief-form input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(234,51,35,.13); }
  .form-submit { grid-column: 1 / -1; justify-self: start; margin-top: 4px; cursor: pointer; }
  .brief-result { grid-column: 1 / -1; border: 1px solid #d5d5d1; border-radius: 18px; background: #0d0d0d; overflow: hidden; }
  .result-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 22px; color: #fff; border-bottom: 1px solid #303030; }
  .copy-button { min-height: 40px; padding: 0 16px; border: 1px solid #4a4a4a; border-radius: 999px; color: #fff; background: transparent; cursor: pointer; }
  .copy-button:hover { background: var(--red); border-color: var(--red); }
  .brief-result pre { max-height: 510px; margin: 0; padding: 24px; overflow: auto; color: #cecece; font: 500 .87rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }

  .about-manifesto { padding: 110px 0; color: #fff; background: var(--red); }
  .about-manifesto p { max-width: 1050px; font-size: clamp(2.6rem, 6vw, 6rem); line-height: .96; font-weight: 850; letter-spacing: -.06em; }
}

@layer responsive {
  @media (max-width: 1080px) {
    :root { --shell: min(960px, calc(100% - 40px)); }
    .home-hero-grid { grid-template-columns: 1fr; min-height: auto; }
    .home-hero-copy { max-width: 850px; }
    .hero-system { min-height: 520px; }
    .statement-grid, .intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .statement-copy p { margin-left: 0; }
    .family-grid { grid-template-columns: 1fr; }
    .family-card { min-height: 330px; border-right: 0; border-bottom: 1px solid #2e2e2e; }
    .family-card:last-child { border-bottom: 0; }
    .family-card h3 { margin-top: 70px; }
    .work-card { grid-template-columns: 1fr; }
    .work-card .optional-media { min-height: 430px; }
    .home-work-section .work-card .optional-media { padding: 28px 22px; min-height: 360px; }
    .home-work-section .work-card .optional-media::before { width: 72%; height: 62%; }
    .home-work-section .work-card .optional-media > img { width: 100%; max-height: calc(100% - 18px); }
    .services-layout { grid-template-columns: 1fr; gap: 55px; }
    .services-intro, .brief-copy { position: static; }
    .principle-grid { grid-template-columns: repeat(2, 1fr); }
    .principle-grid article:nth-child(2) { border-right: 0; }
    .principle-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .page-hero-grid, .detail-hero-grid, .product-story, .brief-layout { grid-template-columns: 1fr; gap: 45px; }
    .route-grid { grid-template-columns: 1fr 1fr; }
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
    .fact:nth-child(2) { border-right: 0; }
    .fact:nth-child(-n+2) { border-bottom: 1px solid #303030; }
    .footer-main { grid-template-columns: 1.15fr repeat(2, 1fr); }
    .footer-column:last-child { grid-column: 2 / 4; }
  }

  @media (max-width: 780px) {
    :root { --shell: calc(100% - 28px); --header-h: 70px; }
    .section-pad { padding: 88px 0; }
    .site-header { height: var(--header-h); padding: 0 16px; }
    .brand img { width: 142px; }
    .menu-toggle { position: relative; z-index: 102; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border: 1px solid #ddd; border-radius: 50%; background: #fff; cursor: pointer; }
    .menu-toggle span:not(.sr-only) { width: 18px; height: 2px; background: #000; transition: transform .2s ease; }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
    .site-nav { position: fixed; inset: 0; z-index: 101; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: 88px 28px 30px; visibility: hidden; opacity: 0; transform: translateY(-10px); background: #fff; overflow-y: auto; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
    .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
    .site-nav a { font-size: clamp(2rem, 10vw, 3.5rem); line-height: 1; letter-spacing: -.05em; text-transform: none; }
    .nav-cta { min-height: auto; padding: 0 !important; color: var(--red); background: transparent; border-radius: 0; }
    .nav-cta:hover { color: #000; background: transparent; }

    .home-hero { padding: 52px 0 56px; }
    .home-hero-grid { gap: 52px; }
    .home-hero h1 { font-size: clamp(4rem, 19vw, 6.4rem); }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-system { min-height: 440px; border-radius: 24px; }
    .hero-orbit.one { width: 230px; height: 230px; }
    .hero-orbit.two { width: 360px; height: 360px; }
    .system-core { width: 116px; height: 116px; }
    .system-core img { width: 56px; }
    .model-node { min-width: 136px; padding: 11px; }
    .model-node strong { font-size: .9rem; }
    .node-danaa { right: 2%; top: 8%; }
    .node-halu { left: 2%; top: 48%; }
    .node-mina { right: 3%; bottom: 7%; }

    .section-heading { grid-template-columns: 1fr; gap: 25px; }
    .section-heading h2 { font-size: clamp(3rem, 14vw, 4.8rem); }
    .statement h2 { font-size: clamp(3.2rem, 14vw, 5rem); }
    .family-card { padding: 24px; }
    .work-copy { padding: 24px; }
    .work-copy h3 { font-size: clamp(3.8rem, 16vw, 5.5rem); }
    .work-card .optional-media { min-height: 340px; }
    .home-work-section .work-card .optional-media { min-height: 280px; padding: 20px 14px; }
    .home-work-section .work-card .optional-media::before { width: 74%; height: 56%; border-radius: 18px; }
    .home-work-section .work-card .optional-media > img { max-height: calc(100% - 12px); border-radius: 14px; transform: perspective(1000px) rotateX(1deg) rotateY(-3deg) rotateZ(-1deg); }
    .home-work-section .work-card:nth-child(even) .optional-media > img { transform: perspective(1000px) rotateX(1deg) rotateY(3deg) rotateZ(1deg); }
    .fallback-panel { width: 90%; }
    .fallback-body { grid-template-columns: 24% 1fr; }
    .fallback-main { padding: 20px 16px; }
    .service-row { grid-template-columns: 36px 1fr; gap: 14px; }
    .service-row .card-arrow { display: none; }
    .principle-grid { grid-template-columns: 1fr; }
    .principle-grid article { min-height: 260px; border-right: 0 !important; border-bottom: 1px solid var(--line); }
    .principle-grid article:last-child { border-bottom: 0; }

    .page-hero { padding: 34px 0 74px; }
    .page-hero .breadcrumbs { margin-bottom: 38px; }
    .page-hero h1 { font-size: clamp(3.7rem, 16vw, 6.2rem); overflow-wrap: anywhere; hyphens: auto; }
    .detail-hero { padding: 46px 0 70px; }
    .detail-hero .breadcrumbs { margin-bottom: 45px; }
    .detail-hero h1 { font-size: clamp(3.8rem, 16vw, 6.2rem); }
    .service-detail-hero h1 { font-size: clamp(3.8rem, 16vw, 6.2rem); }
    .service-detail-hero .detail-hero-copy { margin-left: 0; }
    .route-grid, .feature-grid { grid-template-columns: 1fr; }
    .route-card { min-height: 250px; }
    .variant-row { grid-template-columns: 1fr; gap: 8px; padding: 23px; }
    .product-story .optional-media { min-height: 330px; }
    .facts-grid { grid-template-columns: 1fr; }
    .fact { min-height: 190px; border-right: 0; border-bottom: 1px solid #303030; }
    .fact:last-child { border-bottom: 0; }
    .fact strong { margin-top: 50px; }
    .brief-form { grid-template-columns: 1fr; padding: 20px; }
    .brief-form label.full, .form-submit, .brief-result { grid-column: auto; }
    .result-head { align-items: flex-start; flex-direction: column; }

    .closing-band { padding: 72px 0; }
    .closing-band-inner { grid-template-columns: 1fr; }
    .closing-band .button { width: 100%; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 42px 25px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-column:last-child { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
  }

  @media (max-width: 430px) {
    .hero-system { min-height: 400px; }
    .hero-orbit.two { width: 320px; height: 320px; }
    .model-node { min-width: 124px; }
    .model-node small { font-size: .5rem; }
    .footer-main { grid-template-columns: 1fr; }
    .footer-brand, .footer-column:last-child { grid-column: auto; }
  }

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