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

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

@layer tokens {
  :root {
    --paper: #f2f0e9;
    --paper-deep: #e9e6dc;
    --ink: #14191c;
    --ink-soft: #535c60;
    --line: rgba(20, 25, 28, .18);
    --line-strong: rgba(20, 25, 28, .38);
    --accent: #ff5b35;
    --accent-dark: #d94422;
    --night: #12181b;
    --night-soft: #b9c2c3;
    --white: #fffef9;
    --green: #b7e36a;
    --font-sans: Inter, "Avenir Next", Avenir, "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
    --font-display: "Avenir Next", Avenir, Inter, "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
    --page: min(1220px, calc(100vw - 64px));
    --section: clamp(96px, 12vw, 176px);
    --radius: 3px;
    --ease: cubic-bezier(.2, .8, .2, 1);
  }
}

@layer base {
  html { background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: 16px; }
  body { min-width: 320px; overflow-x: hidden; background: var(--paper); line-height: 1.65; text-rendering: optimizeLegibility; }
  a { color: inherit; text-decoration: none; }
  a, button { -webkit-tap-highlight-color: transparent; }
  :focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
  ::selection { background: var(--accent); color: var(--ink); }
  h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
  h1 { font-size: clamp(3rem, 7.6vw, 7.35rem); }
  h2 { font-size: clamp(2.2rem, 5vw, 5rem); }
  h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
  p { text-wrap: pretty; }
  address { font-style: normal; }
  .page-shell { width: var(--page); margin-inline: auto; }
  .eyebrow { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: .69rem; font-weight: 700; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
  .eyebrow::before { width: 24px; height: 1px; background: currentColor; content: ""; }
  .lead { max-width: 720px; color: var(--ink-soft); font-size: clamp(1.08rem, 1.5vw, 1.35rem); line-height: 1.72; }
  .has-motion .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .has-motion .reveal.is-visible { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
}

@layer components {
  .skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 12px 18px; background: var(--ink); color: var(--white); transform: translateY(-160%); }
  .skip-link:focus { transform: none; }
  .site-header { position: fixed; z-index: 50; top: 0; left: 0; display: flex; width: 100%; height: 88px; align-items: center; justify-content: space-between; padding-inline: max(32px, calc((100vw - 1220px) / 2)); border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, transform .35s var(--ease); }
  .site-header > .brand { position: relative; z-index: 2; }
  .site-header.is-scrolled { border-color: var(--line); background: rgba(242, 240, 233, .9); backdrop-filter: blur(18px); }
  .site-header.is-hidden { transform: translateY(-101%); }
  .brand { display: inline-flex; align-items: center; gap: 11px; font-size: .87rem; font-weight: 800; letter-spacing: .18em; line-height: 1; }
  .brand-mark { position: relative; display: grid; width: 23px; height: 23px; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 2px; transform: rotate(0deg); transition: transform .5s var(--ease); }
  .brand:hover .brand-mark { transform: rotate(90deg); }
  .brand-mark i { display: block; background: var(--ink); }
  .brand-mark i:nth-child(2) { background: var(--accent); }
  .brand-mark i:nth-child(3) { grid-column: 1 / 3; }
  .site-nav { display: flex; align-items: center; gap: 34px; font-size: .86rem; font-weight: 650; }
  .site-nav a { position: relative; padding-block: 9px; }
  .site-nav a::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  .nav-rule { width: 1px; height: 18px; background: var(--line-strong); }
  .language-link { color: var(--ink-soft); }
  .menu-toggle { display: none; border: 0; background: none; color: var(--ink); }
  .button-row { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
  .button { display: inline-flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 38px; padding: 12px 18px 12px 24px; border: 1px solid var(--ink); font-size: .9rem; font-weight: 700; transition: background .25s ease, color .25s ease, transform .25s var(--ease); }
  .button span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); }
  .button:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
  .text-link { display: inline-flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line-strong); font-size: .9rem; font-weight: 700; }
  .text-link span { color: var(--accent-dark); transition: transform .25s var(--ease); }
  .text-link:hover span { transform: translateX(5px); }
  .section { padding-block: var(--section); }
  .section-intro { display: grid; grid-template-columns: .75fr 1.35fr; gap: 64px 7vw; align-items: start; }
  .section-intro > p:last-child { max-width: 620px; color: var(--ink-soft); font-size: 1.08rem; }
  .section-intro .eyebrow { grid-column: 1 / -1; }
  .concept-image { position: relative; overflow: hidden; background: var(--paper-deep); }
  .concept-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
  .concept-image:hover img { transform: scale(1.018); }
  .concept-image figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: center; gap: 18px; padding: 18px 22px; background: rgba(16,21,23,.92); color: var(--white); }
  .concept-image figcaption strong { color: var(--accent); font: 500 2.3rem/1 var(--font-display); letter-spacing: -.06em; }
  .concept-image figcaption span { display: grid; gap: 2px; }
  .concept-image figcaption b { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
  .concept-image figcaption small { color: var(--night-soft); font-size: .73rem; }
  .system-visual { position: relative; min-height: 520px; overflow: hidden; border-left: 1px solid var(--line); background: linear-gradient(135deg, transparent 52%, rgba(20,25,28,.03) 52%); }
  .system-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent); }
  .plane { position: absolute; display: block; border: 1px solid var(--ink); background: rgba(242,240,233,.75); box-shadow: 18px 22px 0 rgba(20,25,28,.06); transform: skewY(-8deg); }
  .plane-a { top: 15%; right: 12%; width: 54%; height: 31%; border-color: var(--accent); background: var(--accent); }
  .plane-b { top: 39%; right: 25%; width: 51%; height: 30%; }
  .plane-c { top: 57%; right: 7%; width: 38%; height: 22%; background: var(--night); }
  .axis { position: absolute; background: var(--ink); }
  .axis-x { top: 49%; right: 0; left: 8%; height: 1px; }
  .axis-y { top: 8%; bottom: 7%; left: 49%; width: 1px; }
  .node { position: absolute; z-index: 2; width: 13px; height: 13px; border: 3px solid var(--paper); border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
  .node-a { top: 28%; left: 48%; }.node-b { top: 57%; left: 29%; background: var(--accent); }.node-c { right: 18%; bottom: 16%; }
  .visual-count { position: absolute; z-index: 3; display: grid; gap: 1px; color: var(--ink); font: 600 .55rem/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
  .visual-count b { font-size: 1.55rem; letter-spacing: -.05em; }
  .visual-count--faces { top: 19%; left: 12%; }.visual-count--edges { top: 52%; right: 9%; }.visual-count--vertices { bottom: 11%; left: 13%; color: var(--white); }
  .visual-label { position: absolute; right: 18px; bottom: 16px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .62rem; font-weight: 700; letter-spacing: .14em; writing-mode: vertical-rl; }
  .site-footer { padding: 72px max(32px, calc((100vw - 1220px) / 2)) 28px; background: var(--night); color: var(--white); }
  .footer-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; padding-bottom: 76px; }
  .brand--footer .brand-mark i { background: var(--white); }.brand--footer .brand-mark i:nth-child(2) { background: var(--accent); }
  .footer-statement { max-width: 520px; margin-top: 25px; color: var(--night-soft); font-size: clamp(1.25rem, 2.2vw, 1.8rem); line-height: 1.5; }
  .footer-contact { display: grid; align-content: start; gap: 10px; font-size: .9rem; }
  .footer-contact p { display: grid; grid-template-columns: 80px 1fr; gap: 18px; color: var(--night-soft); }
  .footer-contact p span { color: #777f80; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
  .footer-contact a { color: var(--white); text-decoration: underline; text-decoration-color: #536064; text-underline-offset: 4px; }
  .footer-contact .footer-legal { display: block; margin-bottom: 10px; color: var(--white); font-size: 1rem; }
  .footer-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-top: 26px; border-top: 1px solid #343c3f; color: #8e989a; font-size: .72rem; }
  .footer-bottom nav { display: flex; flex-wrap: wrap; gap: 24px; color: #d4d9d9; }
}

@layer pages {
  .hero { display: grid; min-height: min(900px, 100svh); grid-template-columns: 1.1fr .9fr; align-items: center; gap: 7vw; padding-top: 118px; }
  .hero-copy { padding-block: 80px; }
  .hero h1 { max-width: 800px; margin: 28px 0 30px; }
  .hero .system-visual { align-self: stretch; margin-right: 0; }
  .portfolio { padding-block: var(--section); border-top: 1px solid var(--line); background: var(--paper-deep); scroll-margin-top: 92px; }
  .portfolio-label { margin-top: 92px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); font: 700 .69rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; text-transform: uppercase; }
  .product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 18px; }
  .product-card { display: grid; min-height: 700px; grid-template-rows: 310px 1fr; overflow: hidden; }
  .product-card--museek { background: var(--night); color: var(--white); }
  .product-card--metime { background: #ead4ca; color: var(--ink); }
  .product-art { position: relative; min-height: 310px; overflow: hidden; }
  .product-art--museek { background: linear-gradient(135deg, #1e2729, var(--night) 66%); }
  .product-art--museek::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 56px 56px; content: ""; mask-image: linear-gradient(to right, transparent, #000 25%, #000); }
  .product-art--museek span { position: absolute; right: 10%; left: 12%; height: 2px; background: var(--accent); transform-origin: right; }
  .product-art--museek span:nth-child(1) { top: 30%; transform: rotate(8deg) scaleX(.72); }.product-art--museek span:nth-child(2) { top: 43%; transform: rotate(-5deg) scaleX(.94); }.product-art--museek span:nth-child(3) { top: 57%; transform: rotate(4deg) scaleX(.58); }.product-art--museek span:nth-child(4) { top: 69%; transform: rotate(-9deg) scaleX(.8); }
  .product-art--museek b { position: absolute; right: 8%; bottom: -24%; color: rgba(255,255,255,.045); font: 700 19rem/1 var(--font-display); }
  .product-art--metime { background: radial-gradient(circle at 72% 32%, rgba(255,82,61,.34), transparent 29%), linear-gradient(145deg, #f3e6df, #ddbcb0); }
  .product-art--metime span { position: absolute; border: 1px solid rgba(16,21,23,.55); border-radius: 50%; }
  .product-art--metime span:nth-child(1) { top: 18%; left: 12%; width: 190px; height: 190px; }.product-art--metime span:nth-child(2) { top: 36%; left: 38%; width: 220px; height: 220px; border-color: var(--accent); }.product-art--metime span:nth-child(3) { top: 12%; right: 8%; width: 82px; height: 82px; background: rgba(255,255,255,.45); }
  .product-art--metime b { position: absolute; right: 9%; bottom: 4%; color: rgba(16,21,23,.12); font: 700 8rem/1 var(--font-display); letter-spacing: -.09em; }
  .product-card__body { display: flex; align-items: flex-start; flex-direction: column; padding: 34px 38px 40px; }
  .product-meta { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 18px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
  .product-card--museek .product-meta { color: var(--accent); }.product-card--metime .product-meta { color: var(--accent-dark); }
  .product-card h3, .selected-work h3 { margin: 38px 0 22px; font-size: clamp(3rem, 5vw, 5.5rem); letter-spacing: -.06em; }
  .product-card__body > p { max-width: 540px; color: inherit; opacity: .78; }
  .product-link { display: inline-flex; align-items: center; gap: 18px; margin-top: auto; padding-top: 34px; border-bottom: 1px solid currentColor; font-weight: 700; }
  .product-link span { color: var(--accent); transition: transform .25s var(--ease); }.product-link:hover span { transform: translate(3px, -3px); }
  .product-tagline { margin-top: auto; padding-top: 34px; font-size: 1.05rem; font-weight: 650; }
  .portfolio-label--work { margin-top: 84px; }
  .selected-work { display: grid; min-height: 430px; grid-template-columns: 1.08fr .92fr; margin-top: 18px; overflow: hidden; background: #d8d7d0; }
  .selected-work__art { position: relative; overflow: hidden; background: linear-gradient(145deg, #d6d7d1, #eeece5); }
  .selected-work__art::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(16,21,23,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(16,21,23,.12) 1px, transparent 1px); background-size: 64px 64px; content: ""; }
  .selected-work__art span { position: absolute; display: block; border: 1px solid var(--ink); background: rgba(242,240,233,.72); box-shadow: 14px 18px 0 rgba(16,21,23,.07); transform: skewY(-7deg); }
  .selected-work__art span:nth-child(1) { top: 17%; left: 13%; width: 48%; height: 32%; background: var(--accent); border-color: var(--accent); }.selected-work__art span:nth-child(2) { top: 39%; left: 28%; width: 48%; height: 37%; }.selected-work__art span:nth-child(3) { right: 8%; bottom: 10%; width: 36%; height: 28%; background: var(--night); }
  .selected-work__body { display: flex; align-items: flex-start; flex-direction: column; padding: 42px 48px; background: var(--white); }
  .selected-work__body .product-meta { color: var(--accent-dark); }.selected-work__body > p { max-width: 520px; color: var(--ink-soft); }
  .capabilities { border-top: 1px solid var(--line); }
  .capability-list { margin-top: 96px; border-top: 1px solid var(--ink); }
  .capability-image { aspect-ratio: 16 / 7; margin-top: 76px; }
  .capability-list li { display: grid; min-height: 180px; grid-template-columns: 80px 1fr 32px; align-items: start; gap: 4vw; padding: 34px 12px 34px 0; border-bottom: 1px solid var(--line); transition: background .3s ease, padding .3s var(--ease); }
  .capability-list li:hover { padding-left: 16px; background: rgba(255,255,255,.35); }
  .capability-list li > span { padding-top: 8px; color: var(--accent-dark); font-family: ui-monospace, monospace; font-size: .72rem; }
  .capability-list h3 { margin-bottom: 16px; }
  .capability-list p { max-width: 690px; color: var(--ink-soft); }
  .capability-list i { font-style: normal; font-size: 1.2rem; }
  .principles { padding-block: var(--section); background: var(--night); color: var(--white); }
  .principles .eyebrow { color: var(--accent); }
  .principles-head { display: grid; grid-template-columns: .75fr 1.35fr; gap: 7vw; }
  .principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 100px; border-top: 1px solid #455053; }
  .principle-grid article { min-height: 600px; padding: 32px 24px 40px; border-right: 1px solid #455053; }
  .principle-grid article + article { padding-left: 24px; }
  .principle-grid article:last-child { border-right: 0; }
  .principle-image { display: block; width: 100%; height: clamp(190px, 18vw, 250px); margin-bottom: 28px; object-fit: cover; }
  .principle-grid strong { display: block; color: var(--accent); font: 500 clamp(3.8rem, 7vw, 7rem)/1 var(--font-display); letter-spacing: -.06em; }
  .principle-grid h3 { margin: 34px 0 18px; }
  .principle-grid p { color: var(--night-soft); }
  .closing-cta { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; padding-block: var(--section); }
  .closing-cta h2 { margin-top: 30px; }
  .closing-cta > div:last-child { align-self: end; }
  .closing-cta > div:last-child p { max-width: 530px; color: var(--ink-soft); font-size: 1.1rem; }
  .subhero { display: grid; min-height: 780px; grid-template-columns: 1.15fr .65fr; align-items: center; gap: 7vw; padding-top: 130px; }
  .subhero h1 { max-width: 930px; margin: 28px 0 36px; font-size: clamp(3rem, 6.5vw, 6.7rem); }
  .system-visual--about { min-height: 480px; transform: rotate(2deg); }
  .system-visual--about .plane-a { top: 22%; right: 18%; width: 65%; height: 22%; }.system-visual--about .plane-b { top: 45%; right: 4%; width: 62%; height: 22%; }.system-visual--about .plane-c { top: 63%; right: 36%; width: 45%; height: 17%; }
  .brand-equation { padding-block: 64px; border-block: 1px solid var(--line-strong); background: var(--paper-deep); }
  .brand-equation > div { display: grid; grid-template-columns: 1fr auto 1fr auto 1.35fr; align-items: center; gap: clamp(18px, 3vw, 52px); }
  .brand-equation > div > div { display: grid; gap: 7px; }
  .brand-equation span { font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 4.3rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
  .brand-equation small { color: var(--ink-soft); font: 650 .61rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; }
  .brand-equation > div > b { color: var(--accent-dark); font-size: clamp(1.7rem, 3vw, 3rem); font-weight: 400; }
  .brand-equation .equation-result { padding: 28px; border-left: 4px solid var(--accent); background: var(--night); color: var(--white); }
  .brand-equation .equation-result small { color: var(--accent); }
  .concept-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-block: var(--section) 60px; }
  .concept-gallery .concept-image { aspect-ratio: 4 / 3; }
  .editorial { padding-block: 60px var(--section); }
  .editorial-row { display: grid; grid-template-columns: 90px .8fr 1.2fr; gap: 6vw; padding: 66px 0; border-top: 1px solid var(--line-strong); }
  .editorial-row > span { color: var(--accent-dark); font: .72rem ui-monospace, monospace; }
  .editorial-row h2 { font-size: clamp(2rem, 3.3vw, 3.3rem); }
  .editorial-row p { color: var(--ink-soft); font-size: 1.08rem; }
  .edges { padding-block: var(--section); background: var(--night); color: var(--white); }
  .edges .eyebrow { color: var(--accent); }.edges .section-intro > p:last-child { color: var(--night-soft); }
  .edge-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 84px; border-top: 1px solid #455053; border-left: 1px solid #455053; }
  .edge-grid li { display: grid; min-height: 116px; grid-template-columns: 44px 1fr; align-items: center; gap: 20px; padding: 22px 28px; border-right: 1px solid #455053; border-bottom: 1px solid #455053; }
  .edge-grid li > span { align-self: start; padding-top: 8px; color: var(--accent); font: .65rem ui-monospace, monospace; }
  .edge-grid p { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
  .edge-grid p b { font-size: clamp(.96rem, 1.5vw, 1.2rem); font-weight: 550; }.edge-grid p b:last-child { text-align: right; }
  .edge-grid p i { color: var(--accent); font-style: normal; }
  .values { padding-bottom: var(--section); }
  .values .section-intro { grid-template-columns: 1fr; }
  .value-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 78px; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
  .value-grid article { min-height: 250px; padding: 30px 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .value-grid span { color: var(--accent-dark); font: .7rem ui-monospace, monospace; }
  .value-grid h3 { margin: 62px 0 16px; }.value-grid p { max-width: 480px; color: var(--ink-soft); }
  .company-info { padding-block: var(--section); background: var(--paper-deep); }
  .company-info > div { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; }
  .company-info h2 { margin-top: 28px; font-size: clamp(2.3rem, 4vw, 4.2rem); }
  .company-info dl { border-top: 1px solid var(--ink); }
  .company-info dl div { display: grid; grid-template-columns: 170px 1fr; gap: 30px; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .company-info dt { color: var(--ink-soft); font-size: .78rem; }.company-info dd { font-weight: 600; }
  .contact-hero { display: grid; min-height: 620px; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 8vw; padding-top: 150px; padding-bottom: 88px; }
  .contact-title h1 { max-width: 760px; margin-top: 28px; }
  .contact-hero > .lead { padding-bottom: 14px; }
  .contact-list { border-top: 1px solid var(--ink); }
  .contact-item { display: grid; min-height: 175px; grid-template-columns: 75px .65fr 1.35fr; align-items: center; gap: 4vw; border-bottom: 1px solid var(--line); }
  .contact-item > span { align-self: start; padding-top: 30px; color: var(--accent-dark); font: .7rem ui-monospace, monospace; }
  .contact-item h2 { font-size: clamp(1.5rem, 2.5vw, 2.5rem); }.contact-item div p { margin-top: 8px; color: var(--ink-soft); font-size: .82rem; }
  .contact-item > a, .contact-item > address { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: clamp(1rem, 1.7vw, 1.35rem); font-weight: 600; }
  .contact-item > a i { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-style: normal; transition: background .25s, transform .25s; }
  .contact-item > a:hover i { background: var(--accent); transform: rotate(45deg); }
  .safety-note { display: flex; max-width: 800px; align-items: flex-start; gap: 18px; margin-block: 60px var(--section); color: var(--ink-soft); font-size: .84rem; }
  .safety-note span { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font: .72rem ui-monospace, monospace; }
  .legal-hero { padding-top: 190px; padding-bottom: 80px; border-bottom: 1px solid var(--ink); }
  .legal-hero h1 { max-width: 920px; margin: 30px 0 38px; font-size: clamp(2.8rem, 6vw, 6.2rem); }
  .legal-hero > p:last-child { color: var(--ink-soft); font-size: .85rem; }
  .legal-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); justify-content: space-between; gap: 8vw; padding-block: 80px var(--section); }
  .legal-toc { position: sticky; top: 120px; align-self: start; }
  .legal-toc > p { margin-bottom: 22px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
  .legal-toc nav { display: grid; gap: 14px; color: var(--ink-soft); font-size: .85rem; }
  .legal-toc a:hover { color: var(--accent-dark); }
  .legal-intro { padding-bottom: 56px; border-bottom: 1px solid var(--line); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.65; }
  .legal-document section { scroll-margin-top: 120px; padding-block: 62px; border-bottom: 1px solid var(--line); }
  .legal-document h2 { margin-bottom: 30px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
  .legal-document section > p { margin-top: 18px; color: var(--ink-soft); }
  .legal-document a { color: var(--accent-dark); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; }
  .controller { display: grid; gap: 5px; margin-top: 30px; padding: 24px; border-left: 3px solid var(--accent); background: var(--paper-deep); }
  .controller a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
  .not-found { min-height: 100svh; background: var(--night); color: var(--white); }
  .not-found main { position: relative; display: grid; min-height: 100svh; width: var(--page); align-content: center; margin: auto; overflow: hidden; }
  .not-found .brand { position: absolute; top: 38px; left: 0; }.not-found .brand-mark i { background: var(--white); }.not-found .brand-mark i:nth-child(2) { background: var(--accent); }
  .not-found h1 { position: relative; z-index: 2; max-width: 700px; margin: 22px 0; }.not-found main > p:not(.eyebrow) { position: relative; z-index: 2; color: var(--night-soft); }
  .not-found .button-row { position: relative; z-index: 2; }.not-found .button { border-color: var(--white); }.not-found .system-visual { position: absolute; top: 18%; right: 0; width: 42%; opacity: .35; }
}

@layer responsive {
  @media (max-width: 900px) {
    :root { --page: min(100% - 40px, 720px); --section: 100px; }
    .site-header { height: 74px; padding-inline: 20px; }
    .menu-toggle { position: relative; z-index: 2; display: grid; width: 46px; height: 42px; place-content: center; gap: 6px; cursor: pointer; }
    .menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .menu-toggle i { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .25s, opacity .25s; }
    .menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }.menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
    .site-nav { position: fixed; inset: 0; display: grid; align-content: center; justify-items: start; gap: 20px; padding: 80px 10vw; background: var(--paper); font-size: clamp(2rem, 8vw, 3.5rem); transform: translateX(101%); transition: transform .45s var(--ease); }
    .menu-open { overflow: hidden; }.menu-open .site-nav { transform: none; }.menu-open .site-header { transform: none; }
    .nav-rule { width: 100%; height: 1px; margin-block: 20px; }.language-link { font-size: 1rem; }
    .hero { min-height: auto; grid-template-columns: 1fr; gap: 20px; padding-top: 130px; }
    .hero-copy { padding: 60px 0 0; }.hero .system-visual { min-height: 410px; margin-right: 0; }
    .product-grid { grid-template-columns: 1fr; }.product-card { min-height: 650px; }.selected-work { grid-template-columns: 1fr; }.selected-work__art { min-height: 360px; }
    .section-intro, .principles-head, .closing-cta, .company-info > div, .contact-hero { grid-template-columns: 1fr; }
    .section-intro { gap: 36px; }.section-intro .eyebrow { grid-column: auto; }.section-intro h2 { max-width: 650px; }
    .principle-grid { grid-template-columns: 1fr; }.principle-grid article, .principle-grid article + article { min-height: auto; padding: 32px 0 48px; border-right: 0; border-bottom: 1px solid #455053; }.principle-grid h3 { margin-top: 44px; }
    .principle-image { height: min(68vw, 360px); }
    .closing-cta { gap: 50px; }.subhero { min-height: auto; grid-template-columns: 1fr; padding-top: 150px; }.system-visual--about { min-height: 360px; }
    .brand-equation > div { grid-template-columns: 1fr auto 1fr; }.brand-equation > div > b:nth-of-type(2) { display: none; }.brand-equation .equation-result { grid-column: 1 / -1; }
    .editorial-row { grid-template-columns: 50px 1fr; gap: 24px; }.editorial-row p { grid-column: 2; }
    .concept-gallery { grid-template-columns: 1fr; }.concept-gallery .concept-image { aspect-ratio: 16 / 9; }
    .edge-grid { grid-template-columns: 1fr; }
    .company-info > div { gap: 60px; }.contact-hero { min-height: 560px; gap: 50px; }
    .contact-item { grid-template-columns: 50px 1fr; padding-block: 34px; }.contact-item > a, .contact-item > address { grid-column: 2; }
    .legal-layout { grid-template-columns: 1fr; }.legal-toc { position: static; padding-bottom: 36px; border-bottom: 1px solid var(--line); }.legal-toc nav { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 580px) {
    :root { --page: calc(100% - 32px); --section: 82px; }
    h1 { font-size: clamp(2.7rem, 14vw, 4.4rem); }.brand-word { letter-spacing: .13em; }
    .hero { padding-top: 104px; }.hero-copy { padding-top: 40px; }.hero .system-visual { min-height: 300px; }
    .portfolio-label { margin-top: 64px; }.product-card { min-height: 600px; grid-template-rows: 250px 1fr; }.product-art { min-height: 250px; }.product-card__body, .selected-work__body { padding: 28px 24px 32px; }.product-card h3, .selected-work h3 { margin-top: 28px; }.selected-work__art { min-height: 260px; }
    .button-row { align-items: flex-start; flex-direction: column; gap: 22px; }.button { width: 100%; }
    .capability-image { aspect-ratio: 4 / 3; margin-top: 54px; }.concept-image figcaption { padding: 14px 16px; }.concept-image figcaption small { display: none; }
    .capability-list { margin-top: 64px; }.capability-list li { min-height: auto; grid-template-columns: 42px 1fr; gap: 20px; padding-block: 28px; }.capability-list li > i { display: none; }
    .principle-grid { margin-top: 64px; }.footer-top { grid-template-columns: 1fr; gap: 56px; padding-bottom: 56px; }.footer-bottom { align-items: flex-start; flex-direction: column; }.footer-bottom nav { flex-direction: column; gap: 12px; }
    .brand-equation { padding-block: 42px; }.brand-equation > div { grid-template-columns: 1fr auto 1fr; gap: 15px; }.brand-equation .equation-result { padding: 22px; }.brand-equation span { font-size: 2rem; }
    .editorial-row { grid-template-columns: 34px 1fr; }.edge-grid { margin-top: 60px; }.edge-grid li { grid-template-columns: 30px 1fr; padding-inline: 18px; }.edge-grid p { gap: 8px; }.value-grid { grid-template-columns: 1fr; }.value-grid article { min-height: 240px; padding-inline: 24px; }
    .company-info dl div { grid-template-columns: 1fr; gap: 5px; }.contact-hero { min-height: 520px; }.contact-item { grid-template-columns: 34px 1fr; }.contact-item > a, .contact-item > address { align-items: flex-start; flex-direction: column; overflow-wrap: anywhere; }
    .legal-hero { padding-top: 150px; }.legal-toc nav { grid-template-columns: 1fr; }.not-found .system-visual { width: 78%; }
  }
}

@layer print {
  @media print {
    .site-header, .site-footer, .legal-toc, .skip-link { display: none !important; }
    html, body { background: #fff; color: #000; font-size: 11pt; }
    .legal-hero, .legal-layout { width: 100%; padding: 20px 0; }
    .legal-layout { display: block; }.legal-document { max-width: none; }.legal-document section { break-inside: avoid; }
    a { color: #000; text-decoration: none; }
  }
}
