/* ============================================
   canal santiago — global stylesheet
   black / grey / white only — Space Mono
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-0: #000000;
  --bg-1: #0d0d0d;
  --bg-2: #141414;
  --line: #1a1a1a;
  --line-strong: #d6d6d6;
  --grey-mid: #d6d6d6;
  --grey-muted: #888780;
  --fg: #ffffff;
  --fg-2: #d6d6d6;
  --fg-3: #888780;

  --pad-x: clamp(20px, 4vw, 64px);
  --gutter: clamp(16px, 2vw, 32px);

  --t-mega: clamp(56px, 11vw, 184px);
  --t-xl: clamp(40px, 6.5vw, 104px);
  --t-lg: clamp(28px, 3.4vw, 56px);
  --t-md: 20px;
  --t-sm: 14px;
  --t-xs: 12px;
  --t-micro: 11px;
}

html,
body {
  background: var(--bg-0);
  color: var(--fg);
  font-family: "Space Mono", ui-monospace, Menlo, monospace;
  font-weight: 400;
  font-size: var(--t-sm);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: 0;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

::selection {
  background: var(--fg);
  color: var(--bg-0);
}

/* ---------- noise / horizontal-line texture ---------- */
.line-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 7px,
    rgba(214, 214, 214, 0.04) 7px,
    rgba(214, 214, 214, 0.04) 8px
  );
  mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
}

/* ============================================
   navigation
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px var(--pad-x);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--line);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--t-sm);
  letter-spacing: -0.01em;
}

.nav__brand .isotipo {
  width: auto;
  height: 26px;
  display: inline-block;
  vertical-align: middle;
}

.nav__links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--fg-3);
}

.nav__links a {
  position: relative;
  transition: color .2s ease;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--fg);
}

.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--fg);
}

.nav__cta {
  justify-self: end;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 0.5px solid var(--line-strong);
  color: var(--fg);
  font-size: var(--t-sm);
  letter-spacing: -0.01em;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.btn:hover {
  background: var(--fg);
  color: var(--bg-0);
}

.btn--lg {
  padding: 20px 28px;
  font-size: 15px;
}

.btn--ghost {
  border-color: var(--line);
  color: var(--fg-2);
}

.btn--ghost:hover {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--fg);
}

/* mobile nav fallback */
@media (max-width: 820px) {
  .nav {
    grid-template-columns: 1fr auto;
  }
  .nav__links {
    display: none;
  }
}

/* ---------- nav dropdown ---------- */
.nav__item {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav__item--has-sub > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.nav__caret {
  font-size: 9px;
  color: var(--fg-3);
  transition: transform .25s ease, color .25s ease;
  display: inline-block;
}
.nav__item--has-sub.is-open .nav__caret {
  color: var(--fg);
  transform: rotate(180deg);
}
.nav__sub {
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  min-width: 260px;
  background: #0a0a0a;
  border: 0.5px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 90;
}
.nav__item--has-sub.is-open .nav__sub {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav__sub a {
  display: block;
  padding: 12px 20px;
  font-size: 13px;
  color: var(--fg-2);
  letter-spacing: -0.005em;
  transition: background .15s ease, color .15s ease, padding-left .2s ease;
  border-left: 2px solid transparent;
}
.nav__sub a:hover {
  background: #141414;
  color: var(--fg);
  border-left-color: var(--fg);
  padding-left: 24px;
}

@media (max-width: 820px) {
  .nav__sub {
    position: static;
    opacity: 1; pointer-events: auto; transform: none;
    border: none;
    padding: 0 0 0 12px;
    background: transparent;
    min-width: 0;
  }
  .nav__caret { display: none; }
}


/* ============================================
   layout primitives
   ============================================ */
.section {
  padding: clamp(64px, 9vw, 128px) var(--pad-x);
  position: relative;
}

.section--tight {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(48px, 6vw, 88px);
}

.section__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--gutter);
  align-items: end;
  padding-bottom: 32px;
  border-bottom: 0.5px solid var(--line);
  margin-bottom: clamp(40px, 6vw, 80px);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--t-xs);
  color: var(--fg-3);
  letter-spacing: 0.04em;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--fg-3);
}

.eyebrow--solid::before {
  background: var(--fg);
}

.h-mega {
  font-size: var(--t-mega);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-wrap: pretty;
}

.h-xl {
  font-size: var(--t-xl);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}

.h-lg {
  font-size: var(--t-lg);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.lead {
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 56ch;
}

.numeral {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: clamp(48px, 7vw, 112px);
  color: var(--bg-2);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

/* ============================================
   footer — compact
   ============================================ */
.footer {
  background: var(--bg-0);
  border-top: 0.5px solid var(--line);
  padding: 32px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: var(--fg-3);
  font-size: var(--t-xs);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-2);
}
.footer__brand .isotipo {
  width: auto;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
}
.footer__mid { text-align: center; letter-spacing: 0.02em; }
.footer__right { text-align: right; }
@media (max-width: 820px) {
  .footer {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .footer__mid, .footer__right { text-align: left; }
}

/* ============================================
   utility
   ============================================ */
.divider {
  height: 0.5px;
  background: var(--line);
  width: 100%;
}

.divider--strong { background: var(--line-strong); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 0.5px solid var(--line-strong);
  border-radius: 999px;
  font-size: var(--t-xs);
  color: var(--fg-2);
  letter-spacing: 0.02em;
}

.tag--muted { border-color: var(--grey-muted); color: var(--fg-3); }

/* ---------- entrance / scroll motion ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- ticker / marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 0.5px solid var(--line);
  background: var(--bg-1);
}
.marquee__track {
  display: flex;
  gap: 64px;
  width: max-content;
  padding: 18px 0;
  animation: marquee 38s linear infinite;
  color: var(--fg-2);
  font-size: var(--t-sm);
  letter-spacing: 0.02em;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 16px; }
.marquee__track span::after {
  content: "";
  width: 6px; height: 6px;
  background: var(--fg-3);
  margin-left: 64px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- stat / metric rows ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
}
.metric {
  padding: 28px var(--gutter) 28px 0;
  border-right: 0.5px solid var(--line);
}
.metric:last-child { border-right: none; }
.metric__num {
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
}
.metric__label {
  display: block;
  margin-top: 14px;
  font-size: var(--t-xs);
  color: var(--fg-3);
  letter-spacing: 0.04em;
}
@media (max-width: 820px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(-n+2) { border-bottom: 0.5px solid var(--line); }
}

/* ---------- placeholder image ---------- */
.ph {
  position: relative;
  background: var(--bg-1);
  border: 0.5px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 11px,
    rgba(214,214,214,0.05) 11px,
    rgba(214,214,214,0.05) 12px
  );
}
.ph__label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: var(--t-xs);
  color: var(--fg-3);
  letter-spacing: 0.04em;
}
.ph__tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: var(--t-xs);
  color: var(--fg-2);
}
.ph__corner {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: var(--t-xs);
  color: var(--fg-3);
}

/* coordinates / monospace numeric tag */
.coord {
  font-size: var(--t-xs);
  color: var(--fg-3);
  letter-spacing: 0.03em;
}

/* ============================================
   focus state
   ============================================ */
*:focus-visible {
  outline: 1px solid var(--fg);
  outline-offset: 3px;
}

/* --- next style block --- */

/* ============================================
       HOME — hero, services, values, cta
       ============================================ */

    /* ---- hero ---- */
    .hero {
      position: relative;
      min-height: 100vh;
      padding: 0 var(--pad-x);
      display: flex;
      align-items: flex-end;
      overflow: hidden;
      isolation: isolate;
    }
    .hero__title {
      padding-bottom: clamp(80px, 14vh, 180px);
      position: relative; z-index: 2;
      width: 100%;
    }
    .hero__title h1 {
      font-size: clamp(64px, 13vw, 220px);
      font-weight: 700;
      line-height: 0.86;
      letter-spacing: -0.055em;
      color: #fff;
      text-shadow: 0 2px 40px rgba(0,0,0,.35);
    }
    .hero__scroll {
      position: absolute;
      bottom: 32px; left: var(--pad-x);
      display: flex; flex-direction: column; align-items: center; gap: 12px;
      font-size: 11px; color: rgba(255,255,255,.7); letter-spacing: 0.06em;
      z-index: 3;
      text-transform: lowercase;
    }
    .hero__scroll__line {
      width: 1px; height: 38px;
      background: linear-gradient(to bottom, rgba(255,255,255,.7), rgba(255,255,255,0));
      animation: scroll-pulse 2s ease-in-out infinite;
      transform-origin: top;
    }
    @keyframes scroll-pulse {
      0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
      50%      { transform: scaleY(1);   opacity: 1; }
    }
    .hero__video {
      position: absolute;
      inset: 0;
      z-index: -2;
      overflow: hidden;
    }
    .hero__video video,
    .hero__video img {
      position: absolute;
      inset: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      filter: grayscale(1) contrast(1.08) brightness(0.7);
      transform-origin: center;
      animation: kenburns-hero 28s ease-in-out infinite alternate;
    }
    @keyframes kenburns-hero {
      0%   { transform: scale(1.04) translate(0%, 0%); }
      100% { transform: scale(1.18) translate(-3%, -2%); }
    }
    .hero__video::after {
      content: "";
      position: absolute; inset: 0;
      background:
        linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.5) 75%, rgba(0,0,0,.85) 100%),
        repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(255,255,255,0.02) 3px, rgba(255,255,255,0.02) 4px);
      pointer-events: none;
    }
    /* fleet-style overlay */
    .hero__plus {
      position: absolute;
      top: clamp(80px, 10vw, 120px); left: var(--pad-x);
      display: flex; align-items: center; gap: 10px;
      font-size: var(--t-xs); color: #fff; letter-spacing: 0.06em;
      z-index: 3;
    }
    .hero__plus::before {
      content: ""; width: 14px; height: 14px;
      background:
        linear-gradient(#fff,#fff) center/100% 1px no-repeat,
        linear-gradient(#fff,#fff) center/1px 100% no-repeat;
    }
    .hero__hairline {
      position: absolute;
      left: var(--pad-x); right: var(--pad-x);
      top: 58%;
      height: 1px;
      background: rgba(255,255,255,.55);
      z-index: 2;
    }
    .hero__hairline::after {
      content: "";
      position: absolute; right: 20%; top: -3px;
      width: 7px; height: 7px;
      background: #fff;
      transform: rotate(45deg);
    }
    .hero__sidenote {
      position: absolute;
      right: var(--pad-x);
      bottom: clamp(80px, 9vw, 120px);
      max-width: 28ch;
      font-size: clamp(15px, 1.15vw, 18px);
      color: #fff; line-height: 1.45;
      z-index: 3;
    }
    .hero__sidenote::before {
      content: "↳ ";
      color: #fff;
    }
    .hero__video .corner {
      position: absolute;
      font-size: var(--t-xs);
      color: var(--fg-2);
      letter-spacing: 0.04em;
      z-index: 2;
      mix-blend-mode: difference;
      opacity: .65;
    }
    .hero__video .corner--tl { top: 18px; left: var(--pad-x); }
    .hero__video .corner--tr { top: 18px; right: var(--pad-x); display: flex; align-items: center; gap: 8px; }
    .hero__video .corner--tr::before { content: ""; width:6px; height:6px; background: #ff3333; animation: pulse 1.8s infinite; }
    .hero__video .corner--bl { bottom: 18px; left: var(--pad-x); }
    .hero__video .corner--br { bottom: 18px; right: var(--pad-x); }
    .hero__hud { display: none; }
    .hero__hud .left  { text-align: left;   }
    .hero__hud .mid   { text-align: center; color: var(--fg-2); }
    .hero__hud .right { text-align: right;  }
    .hero__hud .dot {
      display: inline-block; width: 6px; height: 6px;
      background: var(--fg); margin-right: 8px; transform: translateY(-1px);
      animation: pulse 2.2s ease-in-out infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.3; }
    }

    .hero__title {
      align-self: end;
    }
    .hero__title h1 .punct { color: rgba(255,255,255,.55); }

    .hero__row { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; padding-top: clamp(20px, 3vw, 36px); border-top: 0.5px solid rgba(255,255,255,.2); position: relative; z-index: 2; }
    @media (max-width: 820px) {
      .hero__row { grid-template-columns: 1fr; }
      .hero__hud { grid-template-columns: 1fr 1fr; }
      .hero__hud .right { display: none; }
    }
    .hero__sub { color: rgba(255,255,255,.85); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; max-width: 48ch; position: relative; z-index: 2; }
    .hero__sub b { color: var(--fg); font-weight: 700; }
    .hero__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-self: end;
    }
    @media (max-width: 820px) { .hero__actions { justify-self: start; } }

    /* animated reveal line under hero */
    .hero::after {
      content: "";
      position: absolute;
      left: var(--pad-x); right: var(--pad-x);
      bottom: 0;
      height: 0.5px;
      background: var(--line);
    }

    /* ---- type-in cursor ---- */
    .cursor {
      display: inline-block;
      width: 0.55em;
      height: 0.82em;
      background: var(--fg);
      margin-left: 0.06em;
      transform: translateY(0.04em);
      animation: blink 1.05s steps(2) infinite;
    }
    @keyframes blink { 50% { opacity: 0; } }

    /* ---- service preview cards ---- */
    .services-preview {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
      border-top: 0.5px solid var(--line);
    }
    .service-card {
      padding: 0;
      border-right: 0.5px solid var(--line);
      display: flex;
      flex-direction: column;
      min-height: clamp(440px, 50vw, 580px);
      position: relative;
      transition: background .35s ease;
      overflow: hidden;
    }
    .service-card:last-child { border-right: none; }
    .service-card__img {
      position: relative;
      height: 260px;
      overflow: hidden;
      flex-shrink: 0;
      background: var(--bg-1);
    }
    .service-card__img img {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      filter: grayscale(1) contrast(1.08) brightness(0.78);
      transition: transform 1.6s cubic-bezier(.2,.7,.2,1), filter .4s ease;
      transform: scale(1.02);
    }
    .service-card:hover .service-card__img img { transform: scale(1.12); filter: grayscale(1) contrast(1.15) brightness(0.9); }
    .service-card__inner {
      padding: clamp(28px, 3vw, 44px) clamp(20px, 2vw, 32px);
      display: flex;
      flex-direction: column;
      gap: 16px;
      flex: 1;
    }
    .service-card:hover { background: var(--bg-1); }
    .service-card:hover .service-card__arrow { transform: translate(4px, -4px); color: var(--fg); }
    .service-card__num {
      font-size: clamp(40px, 4.2vw, 64px);
      font-weight: 700;
      color: var(--bg-2);
      letter-spacing: -0.04em;
      line-height: 1;
      width: 100%;
      transition: color .35s ease;
    }
    .service-card:hover .service-card__num { color: var(--fg-3); }
    .service-card__title {
      font-size: clamp(20px, 1.7vw, 26px);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.1;
    }
    .service-card__body {
      color: var(--fg-2);
      font-size: var(--t-sm);
      line-height: 1.55;
    }
    .service-card__arrow {
      align-self: end;
      justify-self: end;
      color: var(--fg-3);
      transition: transform .35s ease, color .35s ease;
      font-size: 18px;
    }
    @media (max-width: 820px) {
      .services-preview { grid-template-columns: 1fr; }
      .service-card { border-right: none; border-bottom: 0.5px solid var(--line); }
    }

    /* ---- values grid ---- */
    .values {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      border-top: 0.5px solid var(--line-strong);
      margin-top: 0;
    }
    .value {
      padding: clamp(32px, 4vw, 56px) clamp(20px, 2vw, 32px);
      border-right: 0.5px solid var(--line);
      display: flex;
      flex-direction: column;
      gap: 12px;
      position: relative;
    }
    .value:last-child { border-right: none; }
    .value__idx {
      font-size: var(--t-xs);
      color: var(--fg-3);
      letter-spacing: 0.04em;
    }
    .value__title {
      font-size: clamp(22px, 1.8vw, 30px);
      font-weight: 700;
      letter-spacing: -0.02em;
    }
    .value__body { color: var(--fg-3); font-size: var(--t-sm); line-height: 1.5; }
    @media (max-width: 820px) {
      .values { grid-template-columns: repeat(2, 1fr); }
      .value:nth-child(2) { border-right: none; }
      .value:nth-child(-n+2) { border-bottom: 0.5px solid var(--line); }
    }

    /* ---- cta full-width — fleet-style centered ---- */
    .cta {
      background: var(--bg-1);
      border-top: 0.5px solid var(--line);
      border-bottom: 0.5px solid var(--line);
      padding: clamp(120px, 16vw, 240px) var(--pad-x);
      position: relative;
      overflow: hidden;
      isolation: isolate;
      min-height: clamp(640px, 80vh, 880px);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .cta__bg {
      position: absolute; inset: -10% 0;
      width: 100%; height: 120%;
      object-fit: cover;
      z-index: 0;
      filter: grayscale(1) contrast(1.15) brightness(0.4);
      will-change: transform;
    }
    .cta__inner {
      position: relative;
      z-index: 2;
      text-align: center;
      max-width: 1200px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: clamp(28px, 4vw, 56px);
    }
    .cta__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      font-size: 12px;
      letter-spacing: 0.2em;
      color: #fff;
      text-transform: uppercase;
      font-weight: 400;
    }
    .cta__eyebrow::before {
      content: "";
      width: 14px;
      height: 14px;
      background:
        linear-gradient(#fff, #fff) center / 100% 1px no-repeat,
        linear-gradient(#fff, #fff) center / 1px 100% no-repeat;
    }
    .cta__title {
      font-size: clamp(56px, 9vw, 118px);
      font-weight: 700;
      line-height: 0.92;
      letter-spacing: -0.05em;
      color: #fff;
      text-align: center;
    }
    .cta__btn {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      padding: 22px 40px;
      border: 1px solid rgba(255, 255, 255, 0.6);
      background: rgba(255, 255, 255, 0.04);
      color: #fff;
      font-size: 14px;
      letter-spacing: 0.04em;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
      text-transform: lowercase;
    }
    .cta__btn:hover {
      background: #fff;
      color: #000;
      border-color: #fff;
      transform: translateY(-2px);
    }
    .cta__inner {
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      gap: clamp(32px, 5vw, 80px);
      align-items: end;
      position: relative;
      z-index: 1;
    }
    .cta h2 {
      font-size: var(--t-xl);
      font-weight: 700;
      line-height: 0.95;
      letter-spacing: -0.04em;
    }
    .cta__side {
      display: flex;
      flex-direction: column;
      gap: 22px;
      align-items: flex-start;
    }
    .cta__side p { color: var(--fg-2); max-width: 36ch; }
    .cta__lines {
      position: absolute;
      inset: 0;
      background-image: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 13px,
        rgba(214,214,214,0.05) 13px,
        rgba(214,214,214,0.05) 14px
      );
      mask-image: linear-gradient(to right, black, transparent 70%);
      pointer-events: none;
    }
    @media (max-width: 820px) {
      .cta__inner { grid-template-columns: 1fr; align-items: start; }
    }

    /* ---- system / spec section ---- */
    .spec {
      padding: clamp(56px, 7vw, 96px) var(--pad-x);
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: clamp(32px, 5vw, 80px);
      align-items: start;
      border-top: 0.5px solid var(--line);
    }
    .spec__media {
      position: relative;
      aspect-ratio: 4 / 5;
      overflow: hidden;
      background: var(--bg-1);
      margin-top: 12px;
      cursor: zoom-in;
    }
    .spec__media img {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      filter: grayscale(1) contrast(1.08) brightness(0.78);
      transition: transform 1.6s cubic-bezier(.2,.7,.2,1);
      transform: scale(1.02);
    }
    .spec__media:hover img { transform: scale(1.1); }
    .spec__media-tag {
      position: absolute; bottom: 14px; left: 14px;
      font-size: 11px; color: #fff; letter-spacing: 0.04em;
      mix-blend-mode: difference;
    }
    .spec__list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0;
      width: 100%;
      border-top: 0.5px solid var(--line);
    }
    .spec__row {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: 100px 1fr 1fr;
      gap: clamp(16px, 2vw, 32px);
      padding: 22px 0;
      border-bottom: 0.5px solid var(--line);
      align-items: baseline;
    }
    .spec__row .k { color: var(--fg-3); font-size: var(--t-xs); letter-spacing: 0.04em; }
    .spec__row .name { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
    .spec__row .v { color: var(--fg-2); font-size: var(--t-sm); }
    @media (max-width: 820px) {
      .spec { grid-template-columns: 1fr; }
      .spec__row { grid-template-columns: 60px 1fr; }
      .spec__row .v { grid-column: 1 / -1; padding-left: 60px; }
    }

    /* small status bar */
    .statusbar {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      border-top: 0.5px solid var(--line);
      border-bottom: 0.5px solid var(--line);
      background: var(--bg-1);
    }
    .statusbar > div {
      padding: 14px clamp(16px, 2vw, 24px);
      border-right: 0.5px solid var(--line);
      font-size: var(--t-xs);
      color: var(--fg-3);
      letter-spacing: 0.04em;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .statusbar > div:last-child { border-right: none; }
    .statusbar b { color: var(--fg); font-weight: 700; }
    .statusbar .dotg { width: 6px; height: 6px; background: var(--fg); }
    @media (max-width: 820px) { .statusbar { grid-template-columns: repeat(2, 1fr); } }

    /* ============================================
       FULL-BLEED IMAGE STRIPS (parallax)
       ============================================ */
    .fullbleed {
      position: relative;
      min-height: clamp(420px, 60vh, 760px);
      overflow: hidden;
      isolation: isolate;
      border-block: 0.5px solid var(--line);
    }
    .fullbleed__img {
      position: absolute;
      inset: -10% 0;
      width: 100%; height: 120%;
      object-fit: cover;
      filter: grayscale(1) contrast(1.08) brightness(0.62);
      will-change: transform;
      transform: translateY(0);
    }
    .fullbleed__overlay {
      position: absolute; inset: 0;
      display: flex; flex-direction: column;
      justify-content: space-between;
      padding: clamp(32px, 5vw, 80px) var(--pad-x);
      z-index: 2;
    }
    .fullbleed__tag {
      font-size: 11px; color: #fff; letter-spacing: 0.06em;
      opacity: 0.7;
    }
    .fullbleed__h {
      font-size: clamp(56px, 10vw, 160px);
      font-weight: 700;
      line-height: 0.88;
      letter-spacing: -0.05em;
      color: #fff;
      align-self: flex-end;
      text-align: right;
    }
    .fullbleed__meta {
      font-size: 12px; color: rgba(255,255,255,.7);
      letter-spacing: 0.04em;
    }
    @media (max-width: 820px) {
      .fullbleed__h { font-size: 56px; text-align: left; align-self: flex-start; }
    }

    /* ============================================
       GALLERY — full-bleed + 3-up
       ============================================ */
    .gallery {
      padding: 0;
      border-block: 0.5px solid var(--line);
    }
    .gallery__strip {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr;
      gap: 0;
    }
    .g-cell {
      position: relative;
      height: clamp(280px, 30vw, 540px);
      overflow: hidden;
      border-right: 0.5px solid var(--line);
      cursor: zoom-in;
      background: var(--bg-1);
    }
    .g-cell:last-child { border-right: none; }
    .g-cell img, .g-cell video {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      filter: grayscale(1) contrast(1.05) brightness(0.85);
      transform: scale(1.04);
      animation: kenburns-cell 22s ease-in-out infinite alternate;
      transition: filter .4s ease;
    }
    .g-cell:nth-child(2) img { animation-delay: -7s; animation-duration: 26s; }
    .g-cell:nth-child(3) img { animation-delay: -14s; animation-duration: 24s; }
    @keyframes kenburns-cell {
      0%   { transform: scale(1.04) translate(0, 0); }
      100% { transform: scale(1.18) translate(-2%, -3%); }
    }
    .g-cell:hover img { filter: grayscale(1) contrast(1.1) brightness(0.92); }
    .g-cell::after {
      content: "";
      position: absolute; inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.7) 100%);
      pointer-events: none;
    }
    .g-cell__k {
      position: absolute; top: 14px; left: 14px;
      font-size: var(--t-xs); color: var(--fg-2); letter-spacing: 0.04em;
      mix-blend-mode: difference; z-index: 1;
    }
    .g-cell__cap {
      position: absolute; bottom: 14px; left: 14px;
      font-size: var(--t-xs); color: var(--fg); letter-spacing: 0.02em;
      z-index: 1;
    }
    .g-cell__cap b { font-weight: 700; }
    @media (max-width: 820px) {
      .gallery__strip { grid-template-columns: 1fr; }
      .g-cell { border-right: none; border-bottom: 0.5px solid var(--line); }
    }

    /* lightbox */
    .lbox {
      position: fixed; inset: 0;
      background: rgba(0,0,0,.92);
      backdrop-filter: blur(8px);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 200;
      padding: 32px;
    }
    .lbox.is-on { display: flex; }
    .lbox img, .lbox video {
      max-width: 100%; max-height: 100%;
      filter: grayscale(1) contrast(1.05);
    }
    .lbox__close {
      position: absolute; top: 24px; right: 24px;
      color: var(--fg); font-size: 20px;
      letter-spacing: 0.04em;
    }
    .lbox__meta {
      position: absolute; bottom: 24px; left: 24px;
      font-size: var(--t-xs); color: var(--fg-3); letter-spacing: 0.04em;
    }

/* --- next style block --- */

/* ====== preloader ====== */
    #preloader {
      position: fixed; inset: 0; z-index: 9999;
      background: #000;
      overflow: hidden;
      color: #fff;
      font-family: "Space Mono", monospace;
      transition: clip-path 1.1s cubic-bezier(.85, 0, .15, 1);
      clip-path: inset(0 0 0 0);
    }
    #preloader.is-out { clip-path: inset(0 0 100% 0); }
    #preloader.is-gone { display: none; }

    /* background image stack: 4 photos, each visible at a different time slice */
    .pl__bg { position: absolute; inset: 0; }
    .pl__img {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      filter: grayscale(1) contrast(1.1) brightness(0.55);
      opacity: 0;
      animation: pl-img-show 9000ms linear forwards;
      transform-origin: center;
    }
    .pl__img--1 { animation-delay:    0ms; }
    .pl__img--2 { animation-delay: 1400ms; }
    .pl__img--3 { animation-delay: 2800ms; }
    .pl__img--4 { animation-delay: 4200ms; }
    @keyframes pl-img-show {
      0%   { opacity: 0; transform: scale(1.0); }
      4%   { opacity: 1; transform: scale(1.04); }
      14%  { opacity: 1; transform: scale(1.10); }
      17%, 100% { opacity: 0; transform: scale(1.12); }
    }

    /* scanline that runs top-to-bottom continuously */
    .pl__scan {
      position: absolute; left: 0; right: 0; top: 0;
      height: 2px;
      background: rgba(255, 255, 255, 0.75);
      box-shadow: 0 0 18px rgba(255, 255, 255, 0.6);
      animation: pl-scan 2.4s linear infinite;
      mix-blend-mode: screen;
    }
    @keyframes pl-scan {
      0%   { transform: translateY(-4px); opacity: 0; }
      10%  { opacity: 1; }
      90%  { opacity: 1; }
      100% { transform: translateY(100vh); opacity: 0; }
    }

    /* faint grid overlay */
    .pl__grid {
      position: absolute; inset: 0;
      pointer-events: none;
      background-image:
        linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
      background-size: 80px 80px;
      mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
    }

    /* HUD bars (top + bottom) */
    .pl__hud {
      position: absolute; left: 0; right: 0;
      padding: 0 clamp(20px, 4vw, 64px);
      display: flex; align-items: center; justify-content: space-between;
      font-size: 11px; letter-spacing: 0.06em;
      color: rgba(255, 255, 255, 0.85);
      gap: 24px;
      flex-wrap: wrap;
    }
    .pl__hud--top { top: clamp(20px, 3vh, 40px); }
    .pl__hud--bot { bottom: clamp(20px, 3vh, 40px); }
    .pl__dot {
      display: inline-block; width: 8px; height: 8px;
      background: #fff; border-radius: 50%;
      margin-right: 10px; transform: translateY(-1px);
      animation: pl-dot 1.2s ease-in-out infinite;
    }
    @keyframes pl-dot { 50% { opacity: 0.3; transform: translateY(-1px) scale(0.8); } }
    .pl__loc { color: rgba(255, 255, 255, 0.55); }
    .pl__time { font-variant-numeric: tabular-nums; }

    /* center value flashes — full-bleed mega type */
    .pl__flashes {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      pointer-events: none;
    }
    .pl__flash {
      position: absolute;
      font-weight: 700;
      font-size: clamp(48px, 11vw, 168px);
      letter-spacing: -0.05em;
      line-height: 0.9;
      color: #fff;
      text-transform: lowercase;
      opacity: 0;
      transform: translateY(40px);
      mix-blend-mode: difference;
      animation: pl-flash 1200ms cubic-bezier(.16, 1, .3, 1) forwards;
      text-align: center;
      padding: 0 24px;
    }
    .pl__flash--1 { animation-delay:  300ms; }
    .pl__flash--2 { animation-delay: 1500ms; }
    .pl__flash--3 { animation-delay: 2900ms; }
    .pl__flash--4 { animation-delay: 4300ms; }
    @keyframes pl-flash {
      0%   { opacity: 0; transform: translateY(40px) scale(0.96); }
      15%  { opacity: 1; transform: translateY(0) scale(1); }
      75%  { opacity: 1; transform: translateY(0) scale(1); }
      100% { opacity: 0; transform: translateY(-30px) scale(1.02); }
    }

    /* final logo */
    .pl__logo {
      position: absolute; inset: 0;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      gap: 18px;
      opacity: 0;
      animation: pl-logo-in 800ms cubic-bezier(.2, .8, .2, 1) 5700ms forwards;
    }
    @keyframes pl-logo-in { to { opacity: 1; } }
    .pl__mark {
      width: clamp(120px, 14vw, 200px);
      height: auto;
      opacity: 0;
      clip-path: inset(0 100% 0 0);
      animation: pl-mark-in 700ms cubic-bezier(.16, 1, .3, 1) 5800ms forwards;
    }
    @keyframes pl-mark-in {
      0%   { opacity: 0; clip-path: inset(0 100% 0 0); }
      1%   { opacity: 1; }
      100% { opacity: 1; clip-path: inset(0 0% 0 0); }
    }
    .pl__wm {
      font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
      color: rgba(255, 255, 255, 0.6); font-weight: 400;
      opacity: 0;
      animation: pl-logo-in 600ms ease 6400ms forwards;
    }

    /* progress bar at the bottom of bottom hud */
    .pl__bar-wrap {
      flex: 1; min-width: 200px;
      height: 2px;
      background: rgba(255, 255, 255, 0.18);
      position: relative;
      max-width: 480px;
    }
    .pl__bar-fill {
      position: absolute; left: 0; top: 0; bottom: 0;
      width: 0;
      background: #fff;
      transition: width 90ms linear;
    }
    .pl__phase { width: 160px; flex-shrink: 0; color: rgba(255,255,255,.6); }
    .pl__pct b { color: #fff; font-weight: 700; }
    .pl__pct { width: 70px; text-align: right; flex-shrink: 0; }

    /* side rotating labels */
    .pl__side {
      position: absolute;
      top: 50%; transform: translateY(-50%);
      display: flex; flex-direction: column; gap: 8px;
      font-size: 10px; letter-spacing: 0.08em;
      color: rgba(255, 255, 255, 0.4);
      text-transform: uppercase;
      writing-mode: vertical-rl;
      max-height: 60vh;
    }
    .pl__side--l { left: clamp(20px, 3vw, 48px); transform: translateY(-50%) rotate(180deg); }
    .pl__side--r { right: clamp(20px, 3vw, 48px); }
    .pl__side span {
      opacity: 0;
      animation: pl-side 7000ms ease forwards;
    }
    .pl__side span:nth-child(1) { animation-delay:  400ms; }
    .pl__side span:nth-child(2) { animation-delay:  600ms; }
    .pl__side span:nth-child(3) { animation-delay:  800ms; }
    .pl__side span:nth-child(4) { animation-delay: 1000ms; }
    .pl__side span:nth-child(5) { animation-delay: 1200ms; }
    .pl__side span:nth-child(6) { animation-delay: 1400ms; }
    @keyframes pl-side {
      0%   { opacity: 0; }
      10%  { opacity: 1; }
      90%  { opacity: 0.4; }
      100% { opacity: 0; }
    }

    @media (max-width: 820px) {
      .pl__side, .pl__hud .pl__loc { display: none; }
      .pl__flash { font-size: 56px; }
    }

    /* Hold body content invisible during preloader */
    body.is-loading > :not(#preloader) {
      opacity: 0;
      transform: translateY(20px);
    }
    body > :not(#preloader) {
      transition: opacity 700ms cubic-bezier(.2, .7, .2, 1), transform 700ms cubic-bezier(.2, .7, .2, 1);
    }