/* =====================================================================
   3D Innovation Lab @HICity by DOHO
   Direction : Apple-style — calm, white, generous space, soft motion.
   Accent    : Brand chevron gradient (crimson → red → orange).
   ===================================================================== */

:root {
  --white:      #ffffff;
  --paper:      #f5f5f7;   /* Apple light gray  */
  --paper-2:    #ececef;
  --ink:        #1d1d1f;   /* Apple near-black  */
  --ink-soft:   #424245;
  --muted:      #6e6e73;   /* Apple secondary   */
  --line:       rgba(0, 0, 0, 0.09);
  --line-2:     rgba(0, 0, 0, 0.14);

  --c1: #bb1b23;  /* crimson */
  --c2: #db5434;  /* red     */
  --c3: #de7538;  /* orange  */
  --accent: #c5341f;
  --accent-ink: #9d2419;
  --grad: linear-gradient(100deg, var(--c1) 0%, var(--c2) 55%, var(--c3) 100%);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
          "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;

  --maxw: 1200px;
  --gutter: clamp(22px, 5vw, 64px);
  --r: 22px;
  --r-lg: 30px;

  --e: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--c2); color: #fff; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 0.85rem;
}
.skip-link:focus { top: 16px; }

/* ---------- Shared type ---------- */
.kicker {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.kicker.center { text-align: center; }

.h2 {
  font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 600; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--ink);
}
.h2.center { text-align: center; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons / links ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; font-weight: 500; font-size: 0.98rem;
  padding: 0.85em 1.7em; border-radius: 999px; letter-spacing: 0.01em;
  transition: transform 0.3s var(--e), background 0.3s var(--e), box-shadow 0.3s var(--e);
  will-change: transform;
}
.pill:hover { background: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(157, 36, 25, 0.32); }
.pill:active { transform: translateY(0); }
.pill--sm { padding: 0.6em 1.2em; font-size: 0.86rem; }
.pill--lg { padding: 1.05em 2.4em; font-size: 1.08rem; }
.pill--light { background: #fff; color: var(--ink); }
.pill--light:hover { background: #fff; color: var(--accent-ink); box-shadow: 0 12px 30px rgba(0,0,0,0.25); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.3em;
  color: var(--accent); font-weight: 500; font-size: 0.98rem;
}
.link-arrow span { transition: transform 0.3s var(--e); }
.link-arrow:hover span { transform: translateX(4px); }

/* =====================================================================
   INTRO — logo only, floating up
   ===================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 300; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  padding: var(--gutter); pointer-events: none; will-change: opacity;
  animation: introVeil 0.7s var(--e) 2.15s forwards;
}
.intro__logo { width: min(80vw, 640px, 84svh); }
.intro__logo img {
  width: 100%; height: auto; transform-origin: center; will-change: transform, opacity;
  animation: introFly 2.7s var(--e) 0.15s both;
}
/* small logo → grows big → flies through the screen & disappears */
@keyframes introFly {
  0%   { opacity: 0; transform: scale(0.26); filter: blur(7px); }
  14%  { opacity: 1; filter: blur(0); }
  52%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(13); filter: blur(3px); }
}
@keyframes introVeil { to { opacity: 0; visibility: hidden; } }

/* =====================================================================
   NAV — hidden over intro, revealed on scroll
   ===================================================================== */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform 0.5s var(--e), opacity 0.5s var(--e), border-color 0.5s var(--e);
}
.nav.is-show { transform: translateY(0); opacity: 1; pointer-events: auto; border-bottom-color: var(--line); }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0.55rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav__brand img { height: 38px; width: auto; }
.nav__menu { display: flex; gap: clamp(0.8rem, 1.8vw, 1.9rem); }
.nav__menu a {
  font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); position: relative; padding: 0.3em 0;
  transition: color 0.25s;
}
.nav__menu a:hover { color: var(--accent); }
.nav__toggle {
  display: none; width: 40px; height: 40px; background: transparent; border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav__toggle span { width: 22px; height: 1.6px; background: var(--ink); transition: transform 0.3s var(--e), opacity 0.3s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(3.8px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { transform: translateY(-3.8px) rotate(-45deg); }

/* =====================================================================
   STATEMENT
   ===================================================================== */
.statement {
  min-height: 100svh; /* one full screen — keeps the next section below the fold */
  display: flex; flex-direction: column; justify-content: center;
  max-width: 1000px; margin: 0 auto; text-align: center;
  padding: clamp(6rem, 12vh, 9rem) var(--gutter) clamp(4rem, 8vh, 6rem);
}
.statement .kicker { margin-bottom: 1.6rem; }
.statement__title {
  font-size: clamp(1.85rem, 7.8vw, 5rem); font-weight: 600; line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 2rem;
}
.statement__lead {
  font-size: clamp(1.15rem, 2.4vw, 1.7rem); font-weight: 500; color: var(--ink);
  margin: 0 auto 1.6rem; max-width: 760px;
}
.statement__body {
  font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--muted);
  max-width: 720px; margin: 0 auto 2.6rem;
}
.statement__actions { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; justify-content: center; }

/* ---- Headline entrance ----
   1) characters fade in scattered through 3D space  (--start set by JS)
   2) characters fly back & settle into the headline layout (整列)        */
.statement__title { position: relative; z-index: 2; }
.statement__title .line { display: block; white-space: nowrap; }
.statement__title .ch {
  display: inline-block; white-space: pre;
  opacity: 0; transform: var(--start, none);
  transform-origin: center center; backface-visibility: hidden;
  will-change: opacity, transform;
}
/* phase 1 — fade the scattered characters in (transform stays at --start) */
body.intro-done .statement__title .ch {
  opacity: 1;
  transition: opacity 0.7s ease;
  transition-delay: calc(var(--i, 0) * 0.018s);
}
/* phase 2 — fly back into the headline (identity list = original position) */
body.headline-aligned .statement__title .ch {
  transform: translate(0px, 0px) rotate(0deg) scale(1);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.30, 1), opacity 0.7s ease;
  transition-delay: calc(var(--i, 0) * 0.025s);
}

/* supporting copy stays hidden while only the headline fills the screen;
   it appears (rising up from below) ~2s after the headline has aligned */
.statement > .kicker,
.statement__lead,
.statement__body,
.statement__actions {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.9s ease, transform 1s var(--e);
}
body.content-in .statement > .kicker { opacity: 1; transform: none; transition-delay: 0.00s; }
body.content-in .statement__lead     { opacity: 1; transform: none; transition-delay: 0.12s; }
body.content-in .statement__body     { opacity: 1; transform: none; transition-delay: 0.24s; }
body.content-in .statement__actions  { opacity: 1; transform: none; transition-delay: 0.36s; }

/* =====================================================================
   FULL-BLEED HERO IMAGE
   ===================================================================== */
.bleed { position: relative; }
.bleed__media {
  height: clamp(60vh, 78vh, 820px); overflow: hidden; position: relative;
}
.bleed__media img { width: 100%; height: 130%; object-fit: cover; will-change: transform; }
.bleed__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(2rem, 6vw, 5rem) var(--gutter);
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  color: #fff;
}
.bleed__cap .bleed__eyebrow {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.85; margin-bottom: 0.7rem;
}
.bleed__text { font-size: clamp(1.3rem, 3.4vw, 2.6rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; max-width: var(--maxw); margin: 0 auto; }
.bleed__cap { }
.bleed__cap > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

/* =====================================================================
   FEATURE (image + text)
   ===================================================================== */
.facility { padding: clamp(5rem, 12vh, 9rem) var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.feature {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.feature__text .kicker { margin-bottom: 1.2rem; }
.feature__text .h2 { margin-bottom: 1.8rem; }
.feature__text p { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.1rem); margin-bottom: 1.3rem; }
.feature__text .link-arrow { margin-top: 0.6rem; }
.feature__media {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3;
  position: relative;
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
/* auto-switching slideshow (crossfade) */
.feature__slides .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease;
}
.feature__slides .slide.is-active { opacity: 1; }

.facility__mosaic {
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto;
  gap: clamp(14px, 2vw, 22px);
}
.tile { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); margin: 0; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--e); }
.tile:hover img { transform: scale(1.05); }
.tile--tall { grid-row: span 2; }
.tile:not(.tile--tall) { aspect-ratio: 16 / 10; }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem 1.3rem 1.1rem;
  color: #fff; font-weight: 500; font-size: 0.96rem;
  background: linear-gradient(to top, rgba(0,0,0,0.62), transparent);
}

/* =====================================================================
   PROCESS
   ===================================================================== */
.process { background: var(--paper); padding: clamp(5rem, 12vh, 9rem) var(--gutter); }
.process__head { max-width: var(--maxw); margin: 0 auto clamp(3rem, 7vh, 5rem); text-align: center; }
.process__head .kicker { margin-bottom: 1.1rem; }
.process__sub { color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.3rem); margin-top: 1.2rem; }
.steps {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1rem, 2.4vw, 2rem);
}
.step {
  background: var(--white); border-radius: var(--r); padding: 1.8rem 1.4rem;
  box-shadow: var(--shadow); position: relative;
  transition: transform 0.4s var(--e), box-shadow 0.4s var(--e);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step__no {
  font-size: 2.6rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; display: block; margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.08rem; font-weight: 600; line-height: 1.4; margin-bottom: 0.5rem; }
.step p { font-size: 0.88rem; color: var(--muted); }
.process__foot {
  max-width: 760px; margin: clamp(2.8rem, 6vh, 4rem) auto 0; text-align: center;
  color: var(--muted); font-size: clamp(0.98rem, 1.4vw, 1.1rem);
}

/* =====================================================================
   GALLERY
   ===================================================================== */
.gallery { padding: clamp(5rem, 12vh, 9rem) 0; width: 100%; }
.gallery__head { margin-bottom: clamp(2.5rem, 6vh, 4rem); text-align: center; padding: 0 var(--gutter); }
.gallery__head .kicker { margin-bottom: 1rem; }
.gallery__lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 640px; margin: 1.2rem auto 0; }

/* two-row image marquee — top row flows from the right, bottom row from the left */
.works { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 22px); width: 100%; overflow: hidden; }
.works__row { overflow: hidden; }
.works__track {
  display: flex; gap: clamp(14px, 2vw, 22px); width: max-content; will-change: transform;
  animation: worksLeft 46s linear infinite;
}
.works__row--right .works__track { animation: worksRight 46s linear infinite; }
.works__item {
  flex: 0 0 auto; width: clamp(220px, 24vw, 320px); aspect-ratio: 1 / 1;
  margin: 0; border-radius: var(--r); overflow: hidden;
  background: #0c5b4f; box-shadow: var(--shadow);
}
.works__item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes worksLeft  { from { transform: translateX(0);     } to { transform: translateX(-50%); } }
@keyframes worksRight { from { transform: translateX(-50%); } to { transform: translateX(0);     } }
@media (prefers-reduced-motion: reduce) {
  .works__track { animation: none; }
}

/* =====================================================================
   SPEED
   ===================================================================== */
.speed { padding: clamp(5rem, 12vh, 9rem) var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.speed__head { text-align: center; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.speed__head .kicker { margin-bottom: 1.1rem; }
.speed__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px);
}
.stat {
  background: var(--paper); border-radius: var(--r); padding: clamp(2rem, 4vw, 3.2rem) 1.4rem;
  text-align: center;
}
.stat--hot { background: var(--grad); color: #fff; }
.stat__num { display: flex; align-items: baseline; justify-content: center; gap: 0.15em; }
.stat__num i {
  font-style: normal; font-size: clamp(3.4rem, 9vw, 6.4rem); font-weight: 700; line-height: 0.9;
  letter-spacing: -0.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat--hot .stat__num i { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.stat__num b { font-size: 1.1rem; font-weight: 600; color: var(--muted); }
.stat--hot .stat__num b { color: rgba(255,255,255,0.85); }
.stat__label { display: block; margin-top: 1rem; font-weight: 600; font-size: 0.98rem; }
.speed__points {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem);
}
.point { border-top: 1px solid var(--line-2); padding-top: 1.4rem; }
.point h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.4; margin-bottom: 0.8rem; }
.point p { color: var(--muted); font-size: 0.96rem; }

/* =====================================================================
   USE CASES
   ===================================================================== */
.usecases { background: var(--paper); padding: clamp(5rem, 12vh, 9rem) var(--gutter); }
.usecases__head { max-width: var(--maxw); margin: 0 auto clamp(2.5rem, 6vh, 4rem); text-align: center; }
.usecases__head .kicker { margin-bottom: 1.1rem; }
.cases {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.2rem);
}
.case {
  background: var(--white); border-radius: var(--r-lg); padding: clamp(1.8rem, 3.5vw, 3rem);
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1.6rem;
  transition: transform 0.4s var(--e), box-shadow 0.4s var(--e);
}
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case__tag { font-size: 0.82rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.case__badge {
  font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.case__lead { display: grid; gap: 0.5rem; }
.case__lead li { font-weight: 600; font-size: 1.02rem; padding-left: 1.4em; position: relative; }
.case__lead li::before {
  content: ""; position: absolute; left: 0; top: 0.62em; width: 0.7em; height: 0.7em;
  background: var(--grad); clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.case__block { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.case__block h4 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.case__list li { color: var(--muted); font-size: 0.96rem; padding-left: 1.3em; position: relative; margin-bottom: 0.5rem; }
.case__list li::before { content: "—"; position: absolute; left: 0; color: var(--c3); }
.case__num { counter-reset: c; display: grid; gap: 0.8rem; }
.case__num li { position: relative; padding-left: 2.6em; counter-increment: c; font-size: 0.98rem; line-height: 1.5; }
.case__num li::before {
  content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 0.05em;
  width: 1.9em; height: 1.9em; display: flex; align-items: center; justify-content: center;
  font-size: 0.74rem; font-weight: 700; color: #fff; background: var(--accent); border-radius: 50%;
}

/* =====================================================================
   BAND (photo CTA)
   ===================================================================== */
.band { position: relative; overflow: hidden; }
.band__media { position: absolute; inset: 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.band__inner {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; text-align: center;
  padding: clamp(5rem, 14vh, 9rem) var(--gutter); color: #fff;
}
.band__kicker { font-size: 0.86rem; font-weight: 600; letter-spacing: 0.1em; opacity: 0.9; margin-bottom: 1.2rem; }
.band__text { font-size: clamp(1.6rem, 4vw, 3rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 2.4rem; }

/* =====================================================================
   INTERVIEWS
   ===================================================================== */
.interviews { padding: clamp(5rem, 12vh, 9rem) var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.interviews__head { text-align: center; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.interviews__head .kicker { margin-bottom: 1rem; }
.interviews__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.2rem); }
.iview {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.8rem, 3.5vw, 2.8rem); display: flex; flex-direction: column; gap: 1.2rem;
  transition: transform 0.4s var(--e), box-shadow 0.4s var(--e), border-color 0.4s var(--e);
}
.iview:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.iview__cat { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; color: var(--accent); }
.iview__title { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.iview__desc { font-size: 0.95rem; color: var(--muted); }
.iview .link-arrow { margin-top: auto; }

/* =====================================================================
   ACCESS
   ===================================================================== */
.access { background: var(--paper); padding: clamp(5rem, 12vh, 9rem) var(--gutter); }
.access__head { max-width: var(--maxw); margin: 0 auto 2.6rem; }
.access__head .kicker { margin-bottom: 1rem; }
.access__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.access__shot { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); margin-bottom: 1.8rem; }
.access__addr { font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 600; line-height: 1.6; margin-bottom: 1.2rem; }
.access__tel {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -0.01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  display: inline-block;
}
.access__ways { display: grid; gap: 1.6rem; }
.way { background: var(--white); border-radius: var(--r); padding: 1.5rem 1.7rem; display: grid; grid-template-columns: 90px 1fr; gap: 1rem; box-shadow: var(--shadow); }
.way h3 { font-size: 0.86rem; font-weight: 700; letter-spacing: 0.08em; color: var(--accent); padding-top: 0.15rem; }
.way ul { display: grid; gap: 0.5rem; }
.way li { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { padding: clamp(6rem, 16vh, 12rem) var(--gutter); background: var(--white); }
.contact__inner { max-width: 800px; margin: 0 auto; text-align: center; }
.contact .kicker { margin-bottom: 1.4rem; }
.contact__title { font-size: clamp(2.4rem, 7vw, 5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1.6rem; }
.contact__text { color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); margin-bottom: 2.6rem; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.foot { background: var(--paper); padding: clamp(4rem, 9vh, 6rem) var(--gutter) 2.2rem; }
.foot__top {
  max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.6rem; padding-bottom: 2.4rem; border-bottom: 1px solid var(--line);
}
.foot__brand img { height: 54px; width: auto; }
.foot__tagline { font-size: 0.95rem; color: var(--muted); }
.foot__cols {
  max-width: var(--maxw); margin: 0 auto; padding: 2.6rem 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.foot__col h3 { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; }
.foot__col ul { display: grid; gap: 0.7rem; }
.foot__col a { font-size: 0.92rem; color: var(--muted); transition: color 0.25s; }
.foot__col a:hover { color: var(--accent); }
.foot__bottom {
  max-width: var(--maxw); margin: 0 auto; padding-top: 1.8rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: 0.8rem; color: var(--muted);
}
.foot__totop:hover { color: var(--accent); }

/* =====================================================================
   REVEAL
   ===================================================================== */
[data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.9s var(--e), transform 0.9s var(--e);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* =====================================================================
   SECTION PANELS — each section is a full screen; snaps one at a time
   ===================================================================== */
html { scroll-snap-type: y proximity; }
main > section, .foot { scroll-snap-align: start; }
main > section {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}
.bleed { padding: 0; }
.bleed__media { height: 100svh; }

/* each section's content (except the intro headline) slides in from the right
   when it becomes the active panel — applied to children so the section box
   itself stays put and scroll-snap keeps working */
main > section:not(.statement) > * {
  transform: translateX(9vw); opacity: 0;
  transition: transform 3s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.4s ease;
  will-change: transform, opacity;
}
main > section.panel-in > * { transform: none; opacity: 1; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1000px) {
  .nav__menu { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__menu {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(255,255,255,0.96); backdrop-filter: blur(20px); padding: 0.5rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__menu a { padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }

  .feature { grid-template-columns: 1fr; gap: 2.2rem; }
  .facility__mosaic { grid-template-columns: 1fr 1fr; }
  .tile--tall { grid-row: auto; grid-column: span 2; aspect-ratio: 16 / 9; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .cases { grid-template-columns: 1fr; }
  .interviews__grid { grid-template-columns: 1fr; }
  .access__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .speed__stats { grid-template-columns: 1fr; }
  .speed__points { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .facility__mosaic { grid-template-columns: 1fr; }
  .tile--tall { grid-column: auto; }
  .tile:not(.tile--tall), .tile--tall { aspect-ratio: 16 / 10; }
  .way { grid-template-columns: 1fr; gap: 0.4rem; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .foot__cols { grid-template-columns: 1fr; }
}

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .intro { animation: none; opacity: 0; visibility: hidden; }
  .intro__logo img { animation: none; }
  .statement__title .ch { opacity: 1; transform: none; }
  .statement > .kicker, .statement__lead, .statement__body, .statement__actions { opacity: 1; transform: none; }
  main > section > * { transform: none !important; opacity: 1 !important; }
}
