/* ==========================================================================
   Structura — cinematic homepage experience
   Loaded only on index.html, on top of style.css (shared tokens + footer).
   Three worlds: Infrastructure (graphite) → Property (paper) → Technology (ink).
   ========================================================================== */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.cine { background: var(--graphite-950); }

.cine-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  letter-spacing: 0.02em;
}

/* ---------- Minimal cinematic nav ---------- */
.cine-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(20px, 4vw, 56px);
  transition: padding .4s ease, background .4s ease, box-shadow .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.cine-nav.is-scrolled {
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--graphite-line);
}
.cine-nav.solid {
  background: rgba(10, 10, 11, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--graphite-line);
}
.cine-nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.cine-nav .brand img {
  height: 30px;
  width: auto;
  display: block;
}
.cine-logo-lockup {
  height: 56px !important;
  transition: opacity .2s ease;
}
@media (max-width: 700px) {
  .cine-logo-lockup { height: 40px !important; }
}
.cine-nav .brand:hover .cine-logo-lockup { opacity: 0.85; }
.cine-wordmark {
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--white);
}
.cine-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
}
.cine-links a {
  position: relative;
  color: rgba(247,244,238,0.72);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 4px;
  transition: color .2s ease;
}
.cine-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--accent-500);
  transition: right .25s cubic-bezier(.16,1,.3,1);
}
.cine-links a:hover { color: var(--white); }
.cine-links a:hover::after { right: 0; }
.cine-links a.nav-cta {
  color: var(--ink);
  background: var(--paper-100);
  padding: 9px 18px;
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0;
}
.cine-links a.nav-cta::after { display: none; }
.cine-links a.current { color: var(--white); }
.cine-links a.current::after { right: 0; }
.cine-toggle { display: none; }

@media (max-width: 900px) {
  .cine-links { display: none; }
  .cine-toggle {
    display: inline-flex;
    background: none;
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--white);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  .cine-links.open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--graphite-950);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 32px;
    gap: 26px;
  }
  .cine-links.open a { font-size: 1.6rem; }
}

/* ---------- Section scaffolding ---------- */
.world { position: relative; overflow: hidden; }
.world-inner { position: relative; z-index: 2; }
.edge {
  position: absolute;
  left: 0; right: 0;
  height: 140px;
  z-index: 1;
  pointer-events: none;
}
.edge-top { top: -1px; }
.edge-to-paper { background: linear-gradient(180deg, var(--graphite-950), transparent); }
.edge-from-paper { background: linear-gradient(180deg, var(--paper-100), transparent); }
.edge-to-ink { background: linear-gradient(180deg, var(--paper-100), transparent); }
.edge-from-ink { background: linear-gradient(180deg, var(--ink), transparent); }

.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4.4vw, 64px);
}

.kicker-line {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: clamp(24px, 4vw, 48px);
}
.kicker-line::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: 0.5; }

@keyframes cineFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
.cine-hero-top, .cine-word, .cine-tagline, .cine-hero p.lead, .cine-scroll-cue {
  opacity: 0;
  animation: cineFadeUp 1s cubic-bezier(.16,1,.3,1) forwards;
}
.cine-hero-top { animation-delay: .1s; }
.cine-word { animation-delay: .22s; }
.cine-tagline { animation-delay: .42s; }
.cine-hero p.lead { animation-delay: .58s; }
.cine-scroll-cue { animation-delay: .74s; }
@media (prefers-reduced-motion: reduce) {
  .cine-hero-top, .cine-word, .cine-tagline, .cine-hero p.lead, .cine-scroll-cue { opacity: 1; animation: none; }
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; transition: none; }
}

/* ---------- 01 Hero ---------- */
.cine-hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--graphite-950);
}
.cine-hero-media {
  position: absolute; inset: 0;
  overflow: hidden;
}
.cine-hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.12);
  will-change: transform;
}
.cine-hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,0.4) 0%, rgba(10,10,11,0.28) 34%, rgba(10,10,11,0.94) 100%),
    linear-gradient(90deg, rgba(10,10,11,0.6), transparent 60%);
}
.cine-hero-vignette {
  position: absolute; inset: 0; z-index: 1;
  box-shadow: inset 0 0 22vw rgba(0,0,0,0.55);
  pointer-events: none;
}
.cine-hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 clamp(20px, 4.4vw, 64px) clamp(48px, 8vw, 96px);
}
.cine-hero-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(20px, 3vw, 34px);
}
.cine-hero .cine-eyebrow {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: rgba(247,244,238,0.6);
  text-transform: uppercase;
}
.cine-hero-meta { color: rgba(247,244,238,0.38); }
@media (max-width: 700px) { .cine-hero-meta { display: none; } }

.cine-word {
  font-family: var(--font-editorial);
  font-weight: 800;
  font-size: clamp(4.6rem, 15.5vw, 12.5rem);
  line-height: 0.84;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--white);
}
.cine-tagline {
  font-family: var(--font-editorial);
  font-size: clamp(1.3rem, 3vw, 2.15rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: rgba(247,244,238,0.92);
  margin: clamp(18px, 2.6vw, 30px) 0 clamp(20px, 3vw, 34px);
  padding-left: clamp(14px, 1.6vw, 22px);
  border-left: 2px solid var(--accent-500);
}
.cine-hero p.lead {
  max-width: 520px;
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  color: rgba(247,244,238,0.6);
  line-height: 1.6;
  margin: 0 0 40px;
}
.cine-hero-media.tech-media img {
  filter: blur(12px) brightness(0.42) saturate(1.25);
  transform: scale(1.18);
}
.cine-hero-logo {
  height: 40px;
  width: auto;
  margin-bottom: 26px;
  opacity: 0;
  animation: cineFadeUp 1s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: .1s;
}
.cine-hero-title {
  font-family: var(--font-editorial);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0 0 22px;
  opacity: 0;
  animation: cineFadeUp 1s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: .22s;
}
@media (prefers-reduced-motion: reduce) { .cine-hero-title { opacity: 1; animation: none; } }

/* ---------- Reusable atmospheric photo band (subpages) ---------- */
.cine-band {
  position: relative;
  height: 56vh;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.cine-band img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.cine-band:hover img { transform: scale(1.03); }
.cine-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,11,0.88), rgba(10,10,11,0.1) 60%);
}
.cine-band.light::after {
  background: linear-gradient(0deg, rgba(247,244,238,0.92), rgba(23,24,26,0.05) 60%);
}
.cine-band .wrap { position: relative; z-index: 1; padding-bottom: clamp(28px, 4vw, 48px); }
.cine-band .cine-band-kicker {
  display: block;
  margin-bottom: 14px;
  color: rgba(247,244,238,0.55);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cine-band.light .cine-band-kicker { color: rgba(23,24,26,0.55); }
.cine-band h3 {
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  color: var(--white);
  margin: 0;
  letter-spacing: -0.02em;
  max-width: 720px;
}
.cine-band.light h3 { color: var(--paper-ink); }
.cine-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.55);
}
.cine-scroll-cue .bar {
  width: 1px; height: 30px;
  background: rgba(247,244,238,0.4);
  position: relative;
  overflow: hidden;
}
.cine-scroll-cue .bar::after {
  content: "";
  position: absolute; left: 0; top: -100%;
  width: 100%; height: 100%;
  background: var(--white);
  animation: cueDrop 2.2s ease-in-out infinite;
}
@keyframes cueDrop {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cine-scroll-cue .bar::after { animation: none; top: 0; }
  .cine-hero-media img { transform: none; }
}

/* ---------- 02 Introduction statement ---------- */
.cine-intro {
  background: var(--graphite-950);
  color: var(--white);
  padding: clamp(90px, 16vw, 200px) 0;
}
.cine-intro .wrap { max-width: 1200px; }
.cine-intro .label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--accent-500);
  text-transform: uppercase;
  margin-bottom: 40px;
}
.cine-intro h2 {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: clamp(2.1rem, 6vw, 4.6rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 1050px;
}
.cine-intro h2 .dim { color: rgba(247,244,238,0.4); }
.line-split {
  display: block;
  overflow: hidden;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}
.line-split span {
  display: block;
  padding-bottom: 0.05em;
  transform: translateY(105%);
  transition: transform .9s cubic-bezier(.16,1,.3,1);
}
.line-split.is-visible span { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .line-split span { transform: none; }
}

/* ---------- World: Infrastructure (dark) ---------- */
.world-infra {
  background: var(--graphite-950);
  color: var(--paper-100);
  padding: clamp(90px, 12vw, 160px) 0 clamp(60px, 9vw, 120px);
}
.world-infra .kicker-line { color: var(--accent-400); }
.world-h {
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}
.world-sub {
  max-width: 560px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: rgba(247,244,238,0.66);
  line-height: 1.65;
  margin: 0 0 clamp(34px, 5vw, 56px);
}

.tech-meta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.4);
  margin-bottom: clamp(50px, 7vw, 96px);
}
.tech-meta-row .ruler {
  flex: 1 1 auto;
  height: 8px;
  background-image: repeating-linear-gradient(90deg, currentColor 0, currentColor 1px, transparent 1px, transparent 12px);
  opacity: 0.35;
}
@media (max-width: 700px) { .tech-meta-row { display: none; } }

.tech-frame {
  position: relative;
  border: 1px solid var(--graphite-line);
  padding: clamp(16px, 2vw, 26px);
  margin-bottom: 22px;
}
.tech-frame::before, .tech-frame::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--accent-400);
  opacity: 0.8;
}
.tech-frame::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.tech-frame::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.infra-gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  margin-bottom: clamp(60px, 8vw, 110px);
}
.infra-gallery .tile-lg { grid-row: span 2; }
.infra-tile { position: relative; overflow: hidden; }
.infra-tile img {
  width: 100%; height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.infra-tile:hover img { transform: scale(1.045); }
.infra-tile .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(0deg, rgba(10,10,11,0.85), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: rgba(247,244,238,0.85);
  text-transform: uppercase;
}
@media (max-width: 820px) {
  .infra-gallery { grid-template-columns: 1fr; }
  .infra-gallery .tile-lg { grid-row: auto; }
}

.manifest { border-top: 1px solid var(--graphite-line); }
.manifest-row {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: baseline;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--graphite-line);
  transition: padding-left .3s cubic-bezier(.16,1,.3,1), border-color .3s ease;
}
.manifest-row:hover { padding-left: 16px; border-color: var(--accent-400); }
.manifest-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent-400);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.manifest-row:hover::before { transform: scaleY(1); }
.world-property .manifest-row:hover { border-color: var(--clay-600); }
.world-property .manifest-row::before { background: var(--clay-600); }
.world-tech .manifest-row:hover { border-color: var(--teal-400); }
.world-tech .manifest-row::before { background: var(--teal-400); }
.manifest-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  color: var(--accent-400);
}
.manifest-name {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  letter-spacing: -0.01em;
}
.manifest-desc {
  max-width: 340px;
  font-size: 0.86rem;
  color: rgba(247,244,238,0.55);
  text-align: right;
}
.world-property .manifest-desc,
.world-property .manifest-num { color: inherit; }
@media (max-width: 700px) {
  .manifest-row { grid-template-columns: 40px 1fr; }
  .manifest-desc { grid-column: 2 / 3; text-align: left; max-width: none; }
}

.world-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(44px, 6vw, 72px);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: inherit;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap .2s ease, opacity .2s ease;
}
.world-link:hover { gap: 16px; }

/* ---------- Transition bands ---------- */
.bridge {
  position: relative;
  height: clamp(46vh, 60vh, 640px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bridge img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}
.bridge-a { z-index: 1; }
.bridge-b { z-index: 2; opacity: 0; transition: opacity 1s ease; }
.bridge.is-crossed .bridge-b { opacity: 1; }
.bridge-veil {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(180deg, var(--graphite-950), rgba(10,10,11,0.15) 30%, rgba(23,24,26,0.15) 70%, var(--paper-100));
}
.bridge-line {
  position: absolute; inset: 0; z-index: 4;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 0 20px;
}
.bridge-line span {
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.bridge-2 .bridge-b {
  filter: blur(18px) brightness(0.55) saturate(1.15) contrast(1.05);
  transform: scale(1.1);
}
.bridge-2 .bridge-veil {
  background: linear-gradient(180deg, var(--paper-100), rgba(247,244,238,0.25) 30%, rgba(10,10,11,0.55) 70%, var(--ink));
}
.bridge-2 .bridge-line span { color: var(--paper-ink); }
.bridge-2.is-crossed .bridge-line span { color: var(--white); }

/* ---------- World: Property (paper) ---------- */
.world-property {
  background: var(--paper-100);
  color: var(--paper-ink);
  padding: clamp(70px, 10vw, 130px) 0 clamp(60px, 9vw, 120px);
}
.world-property .kicker-line { color: var(--clay-600); }
.world-property .world-sub { color: rgba(23,24,26,0.62); }
.world-property .manifest { border-top-color: var(--paper-line); }
.world-property .manifest-row { border-bottom-color: var(--paper-line); }
.world-property .manifest-num { color: var(--clay-600); }
.world-property .manifest-desc { color: rgba(23,24,26,0.55); }

.property-statement {
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.9rem);
  letter-spacing: 0.01em;
  color: rgba(23,24,26,0.22);
  margin: 0 0 clamp(70px, 10vw, 130px);
  max-width: 900px;
}
.property-statement span { color: var(--paper-ink); }

.property-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  margin-bottom: clamp(80px, 10vw, 140px);
}
.property-gallery figure { margin: 0; grid-column: span 3; }
.property-gallery figure.wide { grid-column: span 4; }
.property-gallery figure.narrow { grid-column: span 2; }
.property-gallery figure.full { grid-column: span 6; }
.property-gallery figure.full img { height: 480px; }
.property-gallery img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) contrast(1.03);
  box-shadow: 0 30px 60px -30px rgba(23,24,26,0.25);
  transition: transform .5s cubic-bezier(.16,1,.3,1), filter .5s ease;
}
.property-gallery figure:hover img { filter: saturate(0.95) contrast(1.03); }
.property-gallery figure:hover img { transform: translateY(-6px); }
.property-gallery figcaption {
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(23,24,26,0.5);
}
@media (max-width: 820px) {
  .property-gallery { grid-template-columns: 1fr 1fr; }
  .property-gallery figure, .property-gallery figure.wide, .property-gallery figure.narrow, .property-gallery figure.full { grid-column: span 2; }
  .property-gallery img, .property-gallery figure.full img { height: 240px; }
}

/* ---------- World: StructuraHub (ink + teal) ---------- */
.world-tech {
  background: var(--ink);
  color: var(--paper-100);
  padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 9vw, 120px);
}
.world-tech .kicker-line { color: var(--teal-400); }
.world-tech .world-sub { color: rgba(247,244,238,0.6); }
.world-tech .manifest { border-top-color: var(--graphite-line); }
.world-tech .manifest-row { border-bottom-color: var(--graphite-line); }
.world-tech .manifest-num { color: var(--teal-400); }
.world-tech .manifest-desc { color: rgba(247,244,238,0.5); }
.world-tech .world-link { color: var(--teal-300, var(--teal-400)); border-color: currentColor; }

.device-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 26px;
  margin-bottom: clamp(60px, 8vw, 110px);
  align-items: start;
}
.device-frame {
  position: relative;
  border-radius: 14px;
  padding: 10px;
  background: linear-gradient(160deg, #23262a, #16181b);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 60px 120px -50px rgba(20,184,166,0.28), 0 30px 80px -40px rgba(0,0,0,0.6);
}
.device-frame img { width: 100%; border-radius: 8px; display: block; }
.device-frame.secondary { margin-top: clamp(30px, 5vw, 64px); }
.device-bar {
  display: flex; gap: 6px; padding: 6px 8px 10px;
}
.device-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); }
@media (max-width: 900px) {
  .device-stage { grid-template-columns: 1fr; }
  .device-frame.secondary { margin-top: 0; }
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--graphite-line);
  border: 1px solid var(--graphite-line);
  margin-bottom: clamp(30px, 4vw, 50px);
}
.hero-feature {
  background: var(--ink);
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 34px);
  transition: background .3s ease;
}
.hero-feature:hover { background: var(--graphite-900); }
.hero-feature-num {
  display: block;
  font-size: 0.78rem;
  color: var(--teal-400);
  margin-bottom: 18px;
}
.hero-feature h3 {
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--white);
}
.hero-feature p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(247,244,238,0.55);
}
@media (max-width: 900px) { .hero-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hero-features { grid-template-columns: 1fr; } }

.manifest-compact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 22px;
  padding: 20px 0 clamp(50px, 7vw, 90px);
  font-size: 0.86rem;
  color: rgba(247,244,238,0.42);
}
.manifest-compact span:not(.manifest-compact-label)::after { content: "·"; margin-left: 22px; color: rgba(247,244,238,0.2); }
.manifest-compact span:last-child::after { content: ""; margin: 0; }
.manifest-compact-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.3);
  margin-right: 4px;
}

.report-film {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: clamp(50px, 7vw, 90px);
}
.report-film img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6);
  transition: transform .3s ease;
}
.report-film img:hover { transform: translateY(-4px); }
@media (max-width: 700px) { .report-film { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Featured work ---------- */
.work-section {
  background: var(--graphite-950);
  color: var(--white);
  padding: clamp(90px, 12vw, 150px) 0;
}
.work-header { margin-bottom: clamp(50px, 7vw, 90px); }
.work-header h2 {
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 780px;
}
.work-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: clamp(40px, 6vw, 70px) 0;
  border-top: 1px solid var(--graphite-line);
}
.work-item:last-child { border-bottom: 1px solid var(--graphite-line); }
.work-item:nth-child(even) .work-media { order: 2; }
.work-media { overflow: hidden; }
.work-media img {
  width: 100%; height: clamp(260px, 34vw, 420px);
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.work-item:hover .work-media img { transform: scale(1.04); }
.work-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  color: rgba(247,244,238,0.4);
  margin-bottom: 18px;
}
.work-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-400);
  margin-bottom: 18px;
}
.work-item h3 {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.work-item p {
  color: rgba(247,244,238,0.6);
  max-width: 420px;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 820px) {
  .work-item, .work-item:nth-child(even) { grid-template-columns: 1fr; }
  .work-item:nth-child(even) .work-media { order: 0; }
}

/* ---------- Story ---------- */
.story-section {
  background: var(--graphite-950);
  color: var(--white);
  padding: clamp(90px, 13vw, 160px) 0;
  border-top: 1px solid var(--graphite-line);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.story-grid h2 {
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: clamp(2.3rem, 5.6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
}
.story-copy p {
  color: rgba(247,244,238,0.68);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 22px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--graphite-line);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  color: rgba(247,244,238,0.55);
}
.spec-row:last-child { border-bottom: 1px solid var(--graphite-line); }
.spec-row strong { color: var(--white); font-family: var(--font); font-weight: 700; }
@media (max-width: 820px) { .story-grid { grid-template-columns: 1fr; } }

/* ---------- Final brand statement ---------- */
.finale {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: clamp(100px, 16vw, 200px) 0;
  text-align: center;
  overflow: hidden;
}
.finale-glow {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(255,49,45,0.16), transparent 70%),
    radial-gradient(40% 50% at 80% 30%, rgba(20,184,166,0.14), transparent 70%),
    radial-gradient(50% 60% at 50% 90%, rgba(247,244,238,0.05), transparent 70%);
  pointer-events: none;
}
.finale-inner { position: relative; z-index: 1; }
.finale h2 {
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 clamp(40px, 6vw, 70px);
}
.finale-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 0 clamp(50px, 7vw, 80px);
}
.finale-stack span {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: clamp(1.4rem, 3.6vw, 2.4rem);
  letter-spacing: 0.02em;
  color: rgba(247,244,238,0.4);
  transition: color .4s ease, letter-spacing .4s ease;
}
.finale-stack span:hover { letter-spacing: 0.05em; }
.finale-stack span.tag-infra:hover { color: var(--accent-400); }
.finale-stack span.tag-property:hover { color: #e0a479; }
.finale-stack span.tag-tech:hover { color: var(--teal-400); }
.finale-stack span.tag-structura { color: var(--white); font-weight: 800; }

/* ---------- Contact experience ---------- */
.contact-cine {
  background: var(--paper-100);
  color: var(--paper-ink);
  padding: clamp(90px, 14vw, 170px) 0 clamp(60px, 8vw, 110px);
}
.contact-cine h2 {
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 clamp(50px, 7vw, 90px);
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: clamp(50px, 7vw, 90px);
}
.contact-links a {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  color: var(--paper-ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--paper-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color .2s ease, padding-left .3s ease;
}
.contact-links a span.arrow {
  font-size: 1.6rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .25s ease, transform .25s ease;
}
.contact-links a:hover { color: var(--clay-600); padding-left: 8px; }
.contact-links a:hover span.arrow { opacity: 1; transform: translateX(0); }
.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  font-size: 0.86rem;
  color: rgba(23,24,26,0.55);
}
.contact-meta strong { display: block; color: var(--paper-ink); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }

/* footer on dark cinematic contact page bottom */
.cine + .site-footer,
.contact-cine + .site-footer {
  background: var(--paper-200);
  color: rgba(23,24,26,0.6);
}
.contact-cine + .site-footer .footer-grid h5 { color: var(--paper-ink); }
.contact-cine + .site-footer a:hover { color: var(--clay-600); }
