/* Aurora Global Colors — variant B · "Colour, one ferry away." · cinematic */

:root {
  --night: #0b0c10;
  --night-2: #12141a;
  --night-edge: rgba(255, 255, 255, 0.09);
  --day: #f5f5f3;
  --white: #ffffff;
  --ink: #141414;
  --ink-2: #4a4a4a;
  --on-night: #ffffff;
  --on-night-2: rgba(255, 255, 255, 0.68);
  --soft-day: #8c8c8c;      /* display-size soft lines only */
  --blue: #1e39f8;
  --blue-light: #4f6bff;    /* blue as light on night */
  --green: #45d889;
  --yellow: #ffd500;

  --s1: clamp(46px, 8vw, 150px);
  --s2: clamp(32px, 3.6vw, 58px);
  --s3: clamp(21px, 1.8vw, 28px);
  --s4: 18px;
  --s5: 14px;

  --m: clamp(16px, 2.2vw, 32px);
  --gap: clamp(16px, 1.6vw, 24px);
  --section: clamp(112px, 12vw, 190px);
  --r: 20px;               /* media radius */
  --shadow-float: 0 1px 2px rgba(10, 12, 20, 0.08), 0 8px 24px rgba(10, 12, 20, 0.10), 0 40px 80px rgba(10, 12, 20, 0.16);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-move: cubic-bezier(0.77, 0, 0.175, 1);
  --t-press: 140ms;
  --t-hover: 200ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #3a3d48 var(--night); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--day);
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
  font-size: var(--s4);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ul, dl, dd, dt { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
strong { font-weight: 600; }
sub { font-size: 0.7em; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; border-radius: 4px; }

.skip { position: fixed; left: var(--m); top: -60px; background: var(--white); color: var(--ink); padding: 10px 16px; z-index: 60; font-size: var(--s5); border-radius: 999px; }
.skip:focus { top: 12px; }

.night { background: var(--night); color: var(--on-night); }
.day { background: var(--day); color: var(--ink); }

/* type */
.h2 { font-size: var(--s2); line-height: 1.04; letter-spacing: -0.035em; font-weight: 400; text-wrap: balance; }
.lead { font-size: var(--s3); line-height: 1.38; letter-spacing: -0.012em; font-weight: 400; color: var(--ink-2); max-width: 40ch; }
p { text-wrap: pretty; }
.dim { color: rgba(255, 255, 255, 0.5); }

/* links and buttons: pill, decided once */
.link {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  font-weight: 500;
  transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.2;
  text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease, box-shadow var(--t-hover) ease;
}
.btn:active { transform: scale(0.97); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 10px 30px rgba(30, 57, 248, 0.35); }
.btn--ghost { background: rgba(255, 255, 255, 0.06); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22) inset; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-color: currentColor; }
  .btn--blue:hover { background: #3550ff; box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset, 0 14px 40px rgba(30, 57, 248, 0.5); }
  .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
  .btn--ink:hover { background: #2a2a2a; }
  .btn--light:hover { background: #e9ecff; }
}

/* ---------- header: transparent on the hero, glass after scroll ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--m);
  color: #fff; font-size: var(--s5); font-weight: 500;
  transition: background-color 400ms ease, backdrop-filter 400ms ease, box-shadow 400ms ease, padding 400ms var(--ease-out);
}
.nav.is-glass {
  background: rgba(11, 12, 16, 0.62);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07);
  padding-block: 10px;
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.nav__mark { width: 22px; height: 23px; }
.nav__links { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav__links a { text-decoration: none; padding: 10px 0; color: rgba(255,255,255,0.78); transition: color var(--t-hover) ease; }
.nav__cta { text-decoration: none; padding: 9px 18px; border-radius: 999px; box-shadow: 0 0 0 1px rgba(255,255,255,0.25) inset; font-weight: 600; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.nav__cta:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: #fff; }
  .nav__cta:hover { background: rgba(255,255,255,0.12); }
}

/* ---------- hero · night ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto 1fr;
  padding: 0 var(--m) clamp(20px, 3vw, 36px);
}
.hero__aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.hero__aurora span:nth-child(1) { width: 46vw; height: 30vw; left: 18vw; top: 26%; background: radial-gradient(closest-side, rgba(30, 57, 248, 0.75), transparent); }
.hero__aurora span:nth-child(2) { width: 38vw; height: 22vw; left: 40vw; top: 18%; background: radial-gradient(closest-side, rgba(69, 216, 137, 0.45), transparent); }
.hero__aurora span:nth-child(3) { width: 24vw; height: 14vw; left: 8vw; top: 46%; background: radial-gradient(closest-side, rgba(255, 213, 0, 0.16), transparent); }
.hero::after { /* brand hairline at the foot of the hero */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 213, 0, 0.6), rgba(69, 216, 137, 0.7), rgba(79, 107, 255, 0.8), transparent);
}
.hero__line {
  grid-row: 2;
  display: flex; align-items: baseline; justify-content: center; flex-wrap: nowrap; gap: 0 0.2em;
  font-size: min(7.8vw, 150px); line-height: 1; letter-spacing: -0.045em; font-weight: 300;
  white-space: nowrap; color: #fff;
}
.hero__word { display: inline-block; }
.hero__slot { display: inline-block; width: 1.75em; height: 0.74em; position: relative; }
.hero__frame {
  position: absolute; inset: 0; overflow: hidden; border-radius: 0.11em;
  background: #cfcdcf;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 2px 4px rgba(0,0,0,0.3), 0 18px 40px rgba(0,0,0,0.45), 0 0 120px rgba(79, 107, 255, 0.45);
}
.hero__clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; transform: scale(1.5); }
.hero__foot {
  grid-row: 3; align-self: end;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end;
}
.hero__sub { grid-column: 1 / span 4; font-size: 17px; line-height: 1.55; color: var(--on-night-2); max-width: 44ch; }
.hero__acts { grid-column: 5 / span 5; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__widget {
  grid-column: 10 / -1; justify-self: end;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  font-size: var(--s5); color: var(--on-night-2); text-decoration: none;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.hero__widget strong { color: #fff; font-weight: 600; }
.hero__widget:active { transform: scale(0.97); }
.hero__widget-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 0 4px rgba(79,107,255,0.2), 0 0 16px var(--blue-light); flex: none; }
.hero__widget-go { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.12); color: #fff; font-weight: 600; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .hero__widget:hover { background: rgba(255, 255, 255, 0.11); } }

/* ---------- band: the window opens ---------- */
.band { position: relative; height: 100svh; overflow: hidden; background: #cfcdcf; }
.band__clip { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; transform-origin: 50% 50%; }
.band::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(11, 12, 16, 0.35) 100%); }

/* ---------- range · bento ---------- */
.range { padding: var(--section) var(--m); }
.range__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.range__head .h2 { grid-column: 1 / span 6; max-width: 14ch; }
.range__head .lead { grid-column: 8 / -1; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(260px, 25vw, 380px); gap: var(--gap); }
.card {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  border-radius: var(--r); background: #ddd; color: #fff; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
  transition: transform var(--t-press) var(--ease-out);
}
.card:active { transform: scale(0.985); }
.card--a { grid-column: 1 / 8; grid-row: span 2; }
.card--b { grid-column: 8 / -1; }
.card--c { grid-column: 8 / -1; }
.card--d { grid-column: 1 / 6; }
.card--e { grid-column: 6 / -1; }
.card__img { position: absolute; inset: 0; z-index: -1; }
.card__img img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(1.05); transition: transform 1400ms var(--ease-out); }
.card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,16,0) 38%, rgba(11,12,16,0.35) 62%, rgba(11,12,16,0.82) 100%); }
.card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.2vw, 32px); display: grid; gap: 8px; justify-items: start; }
.card__title { font-size: var(--s3); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.card--a .card__title { font-size: clamp(28px, 2.8vw, 44px); font-weight: 400; letter-spacing: -0.03em; }
.card__text { font-size: 16px; line-height: 1.45; color: rgba(255,255,255,0.84); max-width: 40ch; }
.card__go { margin-top: 8px; font-size: var(--s5); font-weight: 600; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255,255,255,0.18) inset; transition: background-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__img img { transform: scale(1.04); }
  .card:hover .card__go { background: rgba(255,255,255,0.26); }
}
.range__also { margin-top: 28px; font-size: 16px; color: var(--ink-2); }

/* ---------- showcase · object in front of type ---------- */
.showcase {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding: clamp(40px, 4vw, 80px) var(--m) var(--section);
}
.showcase__stack { grid-column: 1 / -1; position: relative; z-index: 1; }
.showcase__line {
  display: block; font-size: clamp(52px, 9vw, 160px); line-height: 0.94; letter-spacing: -0.045em; font-weight: 300;
  white-space: nowrap; padding-bottom: 0.03em;
}
.showcase__line--soft { color: var(--soft-day); }
h2.showcase__line { font-weight: 400; color: var(--ink); }
.showcase__obj {
  position: absolute; z-index: 2;
  left: 47vw; top: clamp(40px, 4vw, 80px);
  width: 38vw; aspect-ratio: 3 / 2;
  transform: rotate(-4deg);
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-float);
}
.showcase__obj img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(1.05); }
.showcase__facts { grid-column: 8 / -1; display: grid; gap: 18px; justify-items: start; padding-top: 56px; font-size: var(--s4); line-height: 1.55; max-width: 46ch; }
.showcase__facts .btn { margin-top: 8px; }

/* ---------- near · the night showpiece ---------- */
.near { position: relative; }
.near__stage { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: radial-gradient(80% 70% at 70% 40%, #141826 0%, var(--night) 70%); }
.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__dots { fill: none; stroke: url(#dotglow); stroke-width: 4.6; stroke-linecap: round; }
.map__arc { fill: none; stroke: url(#arcgrad); stroke-width: 0.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 3px rgba(120, 150, 255, 0.9)) drop-shadow(0 0 10px rgba(79, 107, 255, 0.6)); }
.map__route { stroke: rgba(255, 255, 255, 0.7); stroke-width: 0.25; stroke-linecap: round; stroke-dasharray: 0.8 0.8; transition: opacity 240ms ease; }
.js .map__fallback { display: none; }
.near__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(11, 12, 16, 0.92) 0%, rgba(11, 12, 16, 0.6) 30%, rgba(11, 12, 16, 0) 52%); }

.map__pts { position: absolute; inset: 0; pointer-events: none; }
.pt { position: absolute; left: 0; top: 0; will-change: transform; }
.pt__dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--c, #fff); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c, #fff) 22%, transparent), 0 0 28px 4px color-mix(in srgb, var(--c, #fff) 70%, transparent); }
.pt__label { position: absolute; left: 14px; top: 0; transform: translateY(-50%); white-space: nowrap; font-size: var(--s5); font-weight: 600; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
.pt--left .pt__label { left: auto; right: 14px; }
.pt--below .pt__label { top: 16px; transform: none; left: -10px; }
.pt--plant { --c: var(--yellow); }
.pt--plant .pt__dot { width: 8px; height: 8px; left: -4px; top: -4px; opacity: 0.8; }
.pt--plant .pt__label { font-weight: 500; color: rgba(255,255,255,0.72); font-size: 13px; left: 10px; }
.pt--office { --c: var(--green); }
.pt--stock { --c: var(--blue-light); }
.pt--you .pt__dot { width: 14px; height: 14px; left: -7px; top: -7px; background: #fff; }
.pt--you .pt__label { background: #fff; color: var(--ink); text-shadow: none; padding: 4px 10px; border-radius: 999px; }
.pt--arc .pt__label { left: 0; transform: translate(0, -50%); font-weight: 500; color: rgba(255,255,255,0.86); font-size: 13px; }
.pt--you.is-moving { transition: transform 420ms var(--ease-move); }
.pt--you .pt__dot { transition: transform 200ms var(--ease-out); }
.pt--you.is-moving .pt__dot { transform: scale(0.8); }

.near__far { position: absolute; left: var(--m); bottom: clamp(32px, 7vh, 80px); width: min(560px, 36vw); display: grid; gap: 14px; }
.near__far-big { font-size: var(--s2); line-height: 1.06; letter-spacing: -0.035em; font-weight: 300; }
.near__far-small { font-size: 16px; color: var(--on-night-2); max-width: 46ch; }
html:not(.js) .near__far { display: none; }

.panel {
  position: absolute; left: var(--m); top: calc(50% + 28px); transform: translateY(-50%);
  width: min(460px, 38vw); max-height: calc(100% - 96px); overflow: auto;
  padding: 24px 26px;
  border-radius: 24px;
  background: rgba(20, 22, 30, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10) inset, 0 30px 80px rgba(0, 0, 0, 0.45);
  display: grid; gap: 14px;
}
.panel .h2 { font-size: clamp(30px, 2.8vw, 44px); }
.panel__intro { font-size: 16px; color: var(--on-night-2); }
.picker { display: grid; gap: 10px; }
.picker__label { font-size: 13px; font-weight: 600; color: var(--on-night-2); }
.picker__select {
  font: inherit; font-weight: 600; font-size: 17px; color: #fff;
  min-height: 50px; padding: 0 44px 0 18px; border: 0; border-radius: 999px;
  background: rgba(255,255,255,0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 18px center;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.16) inset;
  appearance: none; -webkit-appearance: none;
  display: none;
}
.picker__select option, .picker__select optgroup { color: var(--ink); background: #fff; }
.picker__list { display: grid; gap: 2px; }
.picker__country { display: grid; grid-template-columns: 82px 1fr; gap: 8px; align-items: baseline; }
.picker__cname { font-size: 13px; color: rgba(255,255,255,0.56); font-weight: 500; }
.picker__cities { display: flex; flex-wrap: wrap; gap: 4px; }
.city {
  font: inherit; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.86);
  background: transparent; border: 0; border-radius: 999px; cursor: pointer;
  min-height: 30px; padding: 0 10px;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.city:active { transform: scale(0.97); }
.city[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .city:hover:not([aria-pressed="true"]) { background: rgba(255,255,255,0.1); color: #fff; } }
html:not(.js) .picker { display: none; }
.result { display: grid; gap: 8px; justify-items: start; padding-top: 6px; }
.result__main { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; letter-spacing: -0.015em; font-weight: 400; }
.result__main strong { font-weight: 600; }
.result__sub { font-size: 14px; color: var(--on-night-2); }
.result .btn { margin-top: 8px; }

.near__after { padding: clamp(64px, 7vw, 112px) var(--m) 0; }
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); font-size: 16px; color: var(--on-night-2); }
.places li { background: var(--night-2); border-radius: var(--r); padding: 28px; display: grid; gap: 10px; align-content: start; box-shadow: 0 0 0 1px var(--night-edge) inset; }
.places__name { font-size: 18px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.places .link { color: #fff; }
.near__vat { margin-top: 24px; font-size: 16px; color: var(--on-night-2); }

/* ---------- group · ledger and plants ---------- */
.group { padding: clamp(96px, 9vw, 150px) 0 var(--section); }
.group__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding: 0 var(--m); }
.group__head { grid-column: 1 / span 5; align-self: start; position: sticky; top: 120px; display: grid; gap: 22px; justify-items: start; }
.group__note { color: var(--on-night-2); max-width: 42ch; }
.group .link { color: #fff; }
.ledger { grid-column: 7 / -1; display: grid; gap: 22px; }
.ledger__row { display: grid; grid-template-columns: 3.1em 1.1em 28px minmax(0, 1fr); column-gap: 0; align-items: baseline; font-size: clamp(56px, 6.4vw, 112px); line-height: 1; }
.ledger__int, .ledger__dec { font-weight: 300; letter-spacing: -0.045em; font-variant-numeric: tabular-nums lining-nums; }
.ledger__int { text-align: right; }
.ledger__dec { text-align: left; color: rgba(255,255,255,0.55); }
.ledger__cap { font-size: 16px; line-height: 1.4; letter-spacing: 0; font-weight: 400; color: var(--on-night-2); max-width: 30ch; grid-column: 4; }
.plants { margin-top: clamp(80px, 9vw, 140px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.plants li { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #222; }
.plants img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(0.92); transform: scale(1.08); transition: transform 1400ms var(--ease-out), filter 600ms ease; }
.plants li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,16,0.1) 50%, rgba(11,12,16,0.78) 100%); pointer-events: none; }
.plants span { position: absolute; left: 16px; bottom: 14px; z-index: 1; font-size: var(--s5); font-weight: 600; color: #fff; }
@media (hover: hover) and (pointer: fine) { .plants li:hover img { transform: scale(1.12); filter: grayscale(0.2) contrast(1.05); } }

/* ---------- green · day ---------- */
.green { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: var(--section) var(--m) 0; align-items: start; }
.green__pic { grid-column: 1 / span 5; position: sticky; top: 96px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow-float); }
.green__pic img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(1.05); }
.green__body { grid-column: 7 / -1; display: grid; gap: 48px; padding-top: 12px; }
.green__rows { display: grid; gap: 12px; }
.green__rows > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--gap); align-items: baseline; background: var(--white); border-radius: var(--r); padding: 24px 28px; box-shadow: 0 0 0 1px rgba(0,0,0,0.04), 0 8px 24px rgba(10,12,20,0.04); }
.green__rows dt { display: grid; gap: 4px; }
.green__fig { font-size: clamp(30px, 2.8vw, 44px); font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.green__name { font-size: 16px; font-weight: 600; }
.green__rows dd { font-size: 16px; color: var(--ink-2); }

/* ---------- about · drop cap ---------- */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: var(--section) var(--m) 0; }
.about__facts { grid-column: 1 / span 2; display: grid; gap: 14px; font-size: var(--s5); font-weight: 500; color: var(--ink-2); align-content: start; padding-top: 8px; }
.about__text { grid-column: 3 / -1; display: grid; gap: 1.1em; }
.about__p { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.3; letter-spacing: -0.018em; font-weight: 300; max-width: 42ch; }
.about__p strong { font-weight: 500; }
.about__p--soft { color: var(--ink-2); }
.about__cap { float: left; width: 3.9em; height: 3.9em; object-fit: cover; margin: 0.2em 0.55em 0 0; border-radius: 14px; box-shadow: var(--shadow-float); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; padding: var(--section) var(--m); }
.contact__sentence { grid-column: 1 / span 5; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; letter-spacing: -0.022em; font-weight: 400; max-width: 22ch; }
.contact__pic { grid-column: 6 / span 3; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); max-width: 260px; width: 100%; justify-self: center; box-shadow: var(--shadow-float); }
.contact__pic img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(1.05); }
.contact__links { grid-column: 9 / -1; display: grid; gap: 12px; justify-items: start; }
.contact__q { font-size: 18px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.35; margin-bottom: 6px; }
.link--big { font-size: 17px; }
.contact__where { font-size: var(--s5); color: var(--ink-2); margin-top: 6px; }

/* ---------- footer · night ---------- */
.foot {
  position: relative; min-height: 92svh;
  display: grid; grid-template-rows: auto 1fr auto auto;
  padding: 44px var(--m) 28px;
  background: radial-gradient(70% 60% at 20% 90%, rgba(30, 57, 248, 0.22), transparent 70%), radial-gradient(50% 50% at 75% 100%, rgba(69, 216, 137, 0.12), transparent 70%), var(--night);
}
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,213,0,0.6), rgba(69,216,137,0.7), rgba(79,107,255,0.8), transparent); }
.foot__top { display: flex; justify-content: space-between; align-items: start; gap: var(--gap); }
.foot__notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); width: 66%; font-size: var(--s5); line-height: 1.6; color: var(--on-night-2); }
.foot__notes strong { color: #fff; }
.foot__top-link { font-size: var(--s5); color: #fff; }
.foot__mailwrap { grid-row: 3; margin: 0 0 36px -0.05em; }
.foot__mail { display: flex; flex-direction: column; font-size: 12.8vw; line-height: 0.95; letter-spacing: -0.045em; font-weight: 300; text-decoration: none; color: #fff; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .foot__mail:hover { color: #c9d1ff; } }
.foot__meta { grid-row: 4; display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--gap); font-size: var(--s5); color: var(--on-night-2); }
.foot__meta .link { color: #fff; }
.foot__meta span:last-child { text-align: right; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .hero__sub { grid-column: 1 / span 6; }
  .hero__acts { grid-column: 7 / -1; justify-content: flex-end; }
  .hero__widget { grid-column: 1 / -1; justify-self: start; }
  .range__head .h2, .range__head .lead { grid-column: 1 / -1; }
  .card--a { grid-column: 1 / -1; grid-row: span 2; }
  .card--b, .card--c { grid-column: span 6; }
  .card--d, .card--e { grid-column: span 6; }
  .showcase__facts { grid-column: 5 / -1; }
  .panel { width: min(420px, 52vw); }
  .picker__select { display: block; }
  .picker__list { display: none; }
  .places { grid-template-columns: 1fr; }
  .group__head, .ledger { grid-column: 1 / -1; }
  .group__head { position: static; }
  .ledger { margin-top: 88px; }
  .plants { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .green__pic { grid-column: 1 / span 5; }
  .green__body { grid-column: 6 / -1; }
  .green__rows > div { grid-template-columns: 1fr; gap: 10px; }
  .about__facts { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; gap: 8px 32px; padding-top: 40px; }
  .about__text { grid-column: 1 / -1; }
  .contact__sentence { grid-column: 1 / span 6; }
  .contact__pic { grid-column: 7 / span 2; }
  .contact__links { grid-column: 9 / -1; }
  .foot__notes { width: 80%; }
}

/* ---------- phone ---------- */
@media (max-width: 700px) {
  :root { --s4: 17px; --r: 16px; }
  .nav { padding: 12px var(--m); }
  .nav__brand span { font-size: 14px; }

  .hero { grid-template-rows: 1fr auto auto; min-height: 100svh; padding-top: 72px; }
  .hero__line { flex-direction: column; align-items: flex-start; gap: 0.18em; font-size: 12.2vw; line-height: 0.98; white-space: normal; }
  .hero__slot { width: 100%; height: auto; aspect-ratio: 3 / 2; margin: 0.1em 0; }
  .hero__frame { border-radius: 16px; }
  .hero__clip { transform: scale(1.25); }
  .hero__aurora span:nth-child(1) { width: 110vw; height: 80vw; left: -10vw; top: 22%; }
  .hero__aurora span:nth-child(2) { width: 90vw; height: 60vw; left: 20vw; top: 12%; }
  .hero__foot { grid-row: 3; grid-template-columns: 1fr; gap: 18px; padding-top: 32px; }
  .hero__sub, .hero__acts, .hero__widget { grid-column: 1; }
  .hero__sub { font-size: 16px; }
  .hero__acts { flex-direction: column; }
  .hero__acts .btn { width: 100%; }
  .hero__widget { justify-self: stretch; justify-content: space-between; }

  .band { height: 80svh; }

  .bento { grid-template-columns: 1fr; grid-auto-rows: 420px; }
  .card--a, .card--b, .card--c, .card--d, .card--e { grid-column: 1; grid-row: auto; }
  .card--a { grid-row: span 1; height: 520px; }

  .showcase__line { font-size: 15vw; }
  .showcase__obj { position: relative; left: auto; top: auto; grid-column: 1 / -1; width: 82vw; justify-self: end; margin: 28px calc(-1 * var(--m)) 0 0; transform: rotate(-3deg); }
  .showcase__facts { grid-column: 1 / -1; padding-top: 40px; }

  .near__stage { height: 100svh; min-height: 720px; background: radial-gradient(90% 60% at 50% 25%, #141826 0%, var(--night) 75%); }
  .near__shade { background: linear-gradient(180deg, rgba(11,12,16,0) 30%, rgba(11,12,16,0.85) 60%, rgba(11,12,16,0.95) 100%); }
  .panel { left: 10px; right: 10px; width: auto; top: auto; bottom: 10px; transform: none; padding: 20px; gap: 12px; border-radius: 20px; }
  .panel .h2 { font-size: 30px; }
  .panel__intro { font-size: 15px; }
  .result__main { font-size: 20px; }
  .near__far { left: var(--m); right: var(--m); bottom: auto; top: 54%; }
  .near__far { width: auto; }
  .near__far-big { font-size: 30px; }
  .pt--plant .pt__label, .pt--arc { display: none; }

  .ledger__row { grid-template-columns: 52% 1fr; font-size: 15vw; row-gap: 6px; column-gap: 0; }
  .ledger__cap { grid-column: 1 / -1; font-size: 15px; max-width: none; }
  .plants { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .green { grid-template-columns: 1fr; row-gap: 40px; }
  .green__pic, .green__body { grid-column: 1; }
  .green__pic { position: relative; top: 0; aspect-ratio: 4 / 3; }
  .green__rows > div { padding: 20px; }

  .about__p { font-size: 22px; line-height: 1.3; }
  .about__cap { width: 104px; height: 104px; }
  .about__facts { font-size: 13px; gap: 6px 18px; }

  .contact { grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; row-gap: 28px; }
  .contact__sentence { grid-column: 1 / -1; font-size: 24px; max-width: none; }
  .contact__pic { grid-column: 1; max-width: 96px; justify-self: start; border-radius: 14px; }
  .contact__links { grid-column: 2; }
  .contact__q { font-size: 17px; }

  .foot { min-height: 90svh; padding-top: 32px; }
  .foot__top { flex-direction: column; }
  .foot__notes { grid-template-columns: 1fr; width: 100%; gap: 14px; }
  .foot__mail { font-size: 12vw; }
  .foot__meta { grid-template-columns: 1fr; gap: 6px; font-size: 13px; }
  .foot__meta span:last-child { text-align: left; }
}

/* ---------- motion (content visible without JS and under reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(24px); animation: rise 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 80ms + 300ms); }
  .js .shutter { clip-path: inset(0 100% 0 0 round 0.11em); transition: clip-path 1100ms var(--ease-move); }
  .js .shutter video { transform: scale(1.75); transition: transform 1600ms var(--ease-out); }
  .js .shutter.is-in { clip-path: inset(0 0 0 0 round 0.11em); }
  .js .shutter.is-in video { transform: scale(1.5); }
  .hero__aurora span { animation: drift 18s ease-in-out infinite alternate; }
  .hero__aurora span:nth-child(2) { animation-duration: 23s; animation-delay: -6s; }
  .hero__aurora span:nth-child(3) { animation-duration: 29s; animation-delay: -12s; }

  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .showcase__obj[data-reveal] { transform: rotate(-4deg) translateY(48px) scale(1.04); transition-duration: 1000ms, 1300ms; }
  .js .showcase__obj[data-reveal].is-in { transform: rotate(-4deg); }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate3d(-3vw, -1vw, 0) scale(1); } to { transform: translate3d(3vw, 1.5vw, 0) scale(1.12); } }
@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
  .js .shutter { clip-path: inset(0 0 100% 0 round 16px); }
  .js .shutter.is-in { clip-path: inset(0 0 0 0 round 16px); }
  .js .shutter video { transform: scale(1.45); }
  .js .shutter.is-in video { transform: scale(1.25); }
  .js .showcase__obj[data-reveal] { transform: rotate(-3deg) translateY(32px); }
  .js .showcase__obj[data-reveal].is-in { transform: rotate(-3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .card__img img, .plants img, .pt--you.is-moving { transition: none; }
}
