/* Levels Architecture — tokens from 00_brand/tokens.css */
:root {
  --arena: #EADFCB;
  --terracota: #C99A6C;
  --salvia: #7C8A6E;
  --madera: #4A3B2E;
  --crema: #F5F0E6;
  --madera-deep: #2E241C;          /* deeper warm brown, never #000 */
  --ink: var(--crema);
  --muted: rgba(234, 223, 203, .68);
  --font-sans: "Inter", system-ui, sans-serif;
  --font-serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --ease: cubic-bezier(.22, .7, .1, 1);
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--madera-deep);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.eyebrow {
  font: 600 12px/1 var(--font-sans);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--terracota); margin: 0 0 18px;
}
.display {
  font: 300 clamp(44px, 7vw, 104px)/.95 var(--font-serif);
  letter-spacing: -.02em; margin: 0 0 28px;
}
.display em { font-style: italic; color: var(--arena); }

/* ---------- architectural texture (brief: materials & textures as visual language) ----------
   Subtle paper grain (fallback); the real material textures are applied per section below. */
:root {
  --tex-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .92 0 0 0 0 .87 0 0 0 0 .8 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* ---------- warm light glow (the brand's signature) ---------- */
.glow {
  position: absolute; inset: -40% -30%;
  background:
    radial-gradient(closest-side, rgba(240, 196, 146, .7), rgba(201, 154, 108, .36) 45%, rgba(74, 59, 46, 0) 75%),
    radial-gradient(closest-side at 62% 58%, rgba(124, 138, 110, .22), transparent 70%);
  filter: blur(28px);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: breathe 6s var(--ease) infinite alternate;
}
@keyframes breathe { from { opacity: .7; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--gutter);
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.topbar::before {   /* soft backdrop once scrolling, so the mark never sits on top of other text */
  content: ""; position: absolute; inset: 0 0 -24px 0; z-index: -1;
  background: linear-gradient(rgba(46, 36, 28, .85), rgba(46, 36, 28, 0));
  opacity: 0; transition: opacity .5s var(--ease);
}
body.scrolled .topbar::before { opacity: 1; }
body.in-tour .topbar::before { opacity: .6; }
.topbar__mark { display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; }
.topbar__mark img { height: 34px; width: auto; opacity: 0; transform: translateY(-6px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .4s var(--ease); }
body.scrolled .topbar__mark img { opacity: 1; transform: none; }
.topbar__mark:hover img, .topbar__mark:focus-visible img, .topbar__mark:active img { filter: drop-shadow(0 0 6px rgba(255, 214, 140, .95)) drop-shadow(0 0 18px rgba(255, 190, 110, .8)) brightness(1.22); }
.lang {
  font: 600 12px/1 var(--font-sans); letter-spacing: .14em;
  background: rgba(46, 36, 28, .35); color: var(--muted);
  border: 1px solid rgba(234, 223, 203, .25); border-radius: 999px;
  padding: 10px 14px; cursor: pointer; backdrop-filter: blur(6px);
}
.lang [data-l] { transition: color .3s; }
html[lang="en"] .lang [data-l="en"], html[lang="es"] .lang [data-l="es"] { color: var(--arena); }

/* ---------- right dot nav ---------- */
.dots {
  position: fixed; right: var(--gutter); top: 50%; z-index: 50;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 18px; align-items: flex-end;
  opacity: 0; transition: opacity .8s var(--ease) .2s;
}
body.intro-done .dots { opacity: 1; }
.dots a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.dots .t {
  font: 700 11px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--arena); opacity: 0; transform: translateX(6px); transition: .35s var(--ease);
}
.dots i { width: 10px; height: 10px; border: 1.5px solid var(--arena); transition: .35s var(--ease); }
.dots a:hover .t, .dots a.is-active .t { opacity: 1; transform: none; }
.dots a.is-active i { background: var(--arena); box-shadow: 0 0 14px rgba(234, 190, 140, .8); }

/* ---------- HERO ---------- */
.hero { position: relative; z-index: 2; height: 100svh; min-height: 560px; overflow: hidden; background: var(--madera-deep); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 45% at 26% 32%, rgba(30, 22, 16, .55), transparent 75%),   /* calm, darker zone behind the logo */
    linear-gradient(90deg, rgba(46, 36, 28, .78) 0%, rgba(46, 36, 28, .35) 55%, rgba(46, 36, 28, .15) 100%),
    linear-gradient(0deg, rgba(46, 36, 28, .85) 0%, transparent 45%);
  /* warm tint over the B&W footage */
  mix-blend-mode: multiply;
}
.hero__stage { position: absolute; inset: 0; padding: 0 var(--gutter); }

/* The logo is laid out ONCE at its final size/place; the centre ? left move is done only with
   transform (GPU), set by app.js. No width/left/top animation and no filters = no tearing, no cut. */
.hero__logo {
  position: absolute; left: var(--gutter); top: 31%;
  width: min(56vw, 700px);
  transform-origin: 0 0;
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transition: opacity 1.3s var(--ease), transform 1.6s cubic-bezier(.65, 0, .35, 1);
}
.hero__logo { cursor: pointer; }
.hero__logo img { position: relative; display: block; width: 100%; height: auto; transition: filter .4s var(--ease); }
.hero__logo:hover img, .hero__logo:active img { filter: drop-shadow(0 0 10px rgba(255, 214, 140, .95)) drop-shadow(0 0 26px rgba(255, 190, 110, .7)) brightness(1.15); }
.hero__logo .glow {   /* stronger warm light behind the logo so it stands out */
  inset: -70% -30%;
  background:
    radial-gradient(closest-side, rgba(250, 210, 150, .85), rgba(214, 160, 100, .45) 42%, rgba(74, 59, 46, 0) 74%),
    radial-gradient(closest-side at 60% 58%, rgba(124, 138, 110, .2), transparent 70%);
}
body.intro-in .hero__logo { opacity: 1; }

.hero__copy {
  position: absolute; left: var(--gutter); bottom: max(13vh, 96px);
  max-width: 620px;
}
/* text only appears once the logo has finished gliding to the left */
.hero__copy > *, .hero__keys { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
/* the logo glide takes 1.6 s: text arrives once it has landed */
.hero__slogan { opacity: 0; transform: translateY(12px); transition: opacity 1s var(--ease), transform 1s var(--ease), color .5s var(--ease), text-shadow .6s var(--ease); }
body.intro-done .hero__copy > *, body.intro-done .hero__keys, body.intro-done .hero__slogan { opacity: 1; transform: none; transition-delay: 1.5s; }
body.intro-done .hero__slogan { transition-delay: 1.35s, 1.35s, 0s, 0s; }
body.intro-done .hero__copy > *:nth-child(2) { transition-delay: 1.75s; }
body.intro-done .hero__keys { transition-delay: 2s; }
/* slogan right under the logo */
.hero__slogan {
  position: absolute; left: var(--gutter); top: calc(31% + min(13vw, 168px));
  margin: 0; font: italic 300 clamp(20px, 2.1vw, 30px)/1.2 var(--font-serif); letter-spacing: .01em; color: var(--terracota);
  cursor: default;
}
.hero__slogan em { font-style: italic; color: var(--arena); }
.hero__slogan:hover, .hero__slogan:hover em { color: var(--lamp); text-shadow: var(--lamp-glow); }
.hero__phrase { position: relative; height: 1.15em; margin: 0; font: italic 300 clamp(30px, 4vw, 56px)/1.1 var(--font-serif); color: var(--arena); }
.hero__phrase .rot { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.hero__phrase .rot.on { opacity: 1; transform: none; }
.hero__lead { margin: 0 0 22px; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6; color: rgba(245, 240, 230, .88); }
/* each keyword lights up warm under the cursor, like the other titles */
.hero__keys span { transition: color .5s var(--ease), text-shadow .6s var(--ease); cursor: default; }
/* keep the reveal (opacity/transform + delay) when adding the hover light, so the text waits for the logo */
.hero__lead { transition: opacity .9s var(--ease), transform .9s var(--ease), color .5s var(--ease), text-shadow .6s var(--ease); cursor: default; }
.hero__keys span:hover, .hero__lead:hover { color: var(--lamp); text-shadow: var(--lamp-glow); }
/* keywords: right side, one under the other */
.hero__keys {
  position: absolute; right: calc(var(--gutter) + 64px); bottom: max(13vh, 96px);
  display: grid; justify-items: end; gap: 10px; margin: 0;
  font: 600 11px/1 var(--font-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--terracota);
}

.hero__cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px; text-decoration: none;
  font: 600 10px/1 var(--font-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  opacity: 0; transition: opacity 1s var(--ease) .8s;
}
body.intro-done .hero__cue { opacity: 1; }
.hero__cue i { width: 1px; height: 38px; background: linear-gradient(var(--arena), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- LEVELS ---------- */
.levels { padding: clamp(90px, 14vw, 170px) 0; background: linear-gradient(var(--madera-deep), var(--madera)); }
.levels__intro { max-width: 520px; color: var(--muted); line-height: 1.6; margin: 0 0 56px; }
.stack { display: grid; gap: 14px; }
.level {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  background: var(--madera-deep); color: inherit; text-align: left; overflow: hidden;
  aspect-ratio: 16 / 7; border-radius: 4px;
}
/* B&W where the light arrives in warm earth tone (brief) ? full colour on hover / click */
.level img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: opacity 1.1s var(--ease), transform 1.4s var(--ease);
}
.level .level__color { opacity: 0; }
.level:hover img, .level:focus-visible img, .level.is-open img { transform: scale(1.06); }
.level:hover .level__color, .level:focus-visible .level__color, .level.is-open .level__color { opacity: 1; }
.level__tag {
  position: absolute; left: 28px; bottom: 26px; display: grid; gap: 6px;
  opacity: .0; transform: translateY(10px); transition: .7s var(--ease);
}
.level:hover .level__tag, .level:focus-visible .level__tag, .level.is-open .level__tag { opacity: 1; transform: none; }
.level__n { font: 600 12px/1 var(--font-sans); letter-spacing: .22em; color: var(--terracota); }
.level__name { font: italic 300 clamp(34px, 5vw, 64px)/1 var(--font-serif); color: var(--crema); text-shadow: 0 2px 24px rgba(46, 36, 28, .6); }
.level__meta { font-size: 14px; color: var(--arena); }
.level__go {
  position: absolute; right: 28px; bottom: 30px;
  font: 600 12px/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase;
  padding: 12px 18px; border-radius: 999px; background: rgba(234, 223, 203, .92); color: var(--madera);
  opacity: 0; transition: .6s var(--ease);
}
.level:hover .level__go, .level:focus-visible .level__go { opacity: 1; }
.level::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(46, 36, 28, .7), transparent 50%); pointer-events: none; }
.level--soon {
  aspect-ratio: auto; height: 64px; display: flex; align-items: center; padding: 0 28px; cursor: default;
  border: 1px dashed rgba(234, 223, 203, .18); background: transparent;
  font: 600 11px/1 var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(234, 223, 203, .4);
}
.level--soon::after { display: none; }

/* ---------- MANIFESTO (Luisa's concept phrase) ---------- */
.manifesto { position: relative; overflow: hidden; padding: clamp(110px, 15vw, 190px) 0 clamp(150px, 18vw, 230px); background: var(--madera); }
.manifesto .glow--soft { inset: 0 20% 25% -10%; opacity: .55; }
.manifesto__in { position: relative; }
.manifesto__a {   /* bold sans, like the cover masthead */
  margin: 0; font: 800 clamp(48px, 8.6vw, 140px)/.92 var(--font-sans); letter-spacing: -.045em; color: var(--arena);
}
.manifesto__b {   /* organic serif italic, the balancing line */
  margin: .1em 0 0 clamp(0px, 12vw, 220px); font: italic 300 clamp(44px, 7.6vw, 124px)/1 var(--font-serif); letter-spacing: -.02em; color: var(--crema);
}
.manifesto__rule { display: block; width: min(360px, 60%); height: 1px; margin: clamp(32px, 4vw, 54px) 0 26px clamp(0px, 12vw, 220px); background: linear-gradient(90deg, var(--terracota), transparent); }
.manifesto__c { margin: 0 0 0 clamp(0px, 12vw, 220px); max-width: 520px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; color: rgba(245, 240, 230, .86); }
.manifesto__sig { margin: 18px 0 0 clamp(0px, 12vw, 220px); font: italic 400 18px/1 var(--font-serif); color: var(--terracota); }
.manifesto__a, .manifesto__b, .manifesto__sig { transition: color .5s var(--ease), text-shadow .6s var(--ease), opacity .9s var(--ease), transform 1.1s var(--ease); }
.manifesto__a:hover, .manifesto__b:hover, .manifesto__sig:hover { color: var(--lamp); text-shadow: var(--lamp-glow); }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(60px, 8vw, 120px); }

/* slide in from the side and stay */
.reveal { opacity: 0; transform: translateX(-60px); transition: opacity .9s var(--ease), transform 1.1s var(--ease), color .5s var(--ease), text-shadow .6s var(--ease); }
.manifesto__b.reveal, .manifesto__c.reveal, .manifesto__sig.reveal { transform: translateX(60px); }
.reveal.in { opacity: 1; transform: none; }
.reveal.in:nth-child(3) { transition-delay: .15s, .15s, 0s, 0s; }
.reveal.in:nth-child(4) { transition-delay: .3s, .3s, 0s, 0s; }
.reveal.in:nth-child(5) { transition-delay: .42s, .42s, 0s, 0s; }
.reveal.in:nth-child(6) { transition-delay: .55s, .55s, 0s, 0s; }

/* ---------- PROJECT TOWER (ref. jalo: staggered columns read as levels) ---------- */
.levels__layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-right: 64px; }   /* clear the dot menu */
.levels__head { position: sticky; top: 22vh; }
.levels__intro { margin-bottom: 28px; }
.levels__quote {   /* inspiring line */
  margin: 6px 0 36px; padding-left: 20px; border-left: 1px solid rgba(201, 154, 108, .6);
  font: italic 300 clamp(28px, 3vw, 44px)/1.18 var(--font-serif); letter-spacing: -.01em; color: var(--terracota);
  transition: color .5s var(--ease), text-shadow .6s var(--ease);
}
.levels__quote:hover { color: var(--lamp); text-shadow: var(--lamp-glow); }
.levels__hint {   /* how to use it, with a pulsing point of light */
  display: flex; align-items: center; gap: 12px; margin: 0 0 10px;
  font: 500 12px/1.4 var(--font-sans); letter-spacing: .06em; color: var(--muted);
}
.levels__hint i {
  flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--lamp);
  box-shadow: 0 0 0 0 rgba(255, 214, 140, .7); animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 214, 140, .7); } 70% { box-shadow: 0 0 0 12px rgba(255, 214, 140, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 214, 140, 0); } }
.levels__count { margin: 0 0 30px; font: 600 11px/1 var(--font-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--terracota); }
.levels__cta {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 14px 22px; border-radius: 999px; border: 1px solid rgba(234, 223, 203, .35);
  background: rgba(245, 240, 230, .06); color: var(--arena);
  font: 600 12px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase;
  transition: color .4s var(--ease), border-color .4s var(--ease), box-shadow .6s var(--ease), background .4s var(--ease);
}
.levels__cta b { font-weight: 400; transition: transform .4s var(--ease); }
.levels__cta:hover { color: var(--lamp); border-color: rgba(255, 214, 140, .6); background: rgba(255, 214, 140, .08); box-shadow: 0 0 26px rgba(255, 190, 110, .3); }
.levels__cta:hover b { transform: translateX(4px); }
.tower {
  position: relative; z-index: 2;          /* photos sit above the page texture, untouched */
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(14px, 1.6vw, 22px); row-gap: clamp(14px, 1.6vw, 22px);
  padding-bottom: 22%;                       /* room for the offset column */
}
.tower > :nth-child(even) { transform: translateY(42%); }   /* right column one level lower */
.tile {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; cursor: pointer;
  overflow: hidden; border-radius: 6px; background: var(--madera-deep); color: inherit; text-align: left;
  transition: box-shadow .8s var(--ease);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.tile__color { opacity: 0; }
.tile:hover .tile__color, .tile:focus-visible .tile__color, .tile:active .tile__color { opacity: 1; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile:hover { box-shadow: 0 0 0 1px rgba(255, 214, 140, .35), 0 24px 70px rgba(232, 160, 80, .28); }

/* magazine-cover label (ref. Hospitality Design): no card, type straight on the photo */
.tile { container-type: inline-size; }
.tile::before {                            /* soft top scrim so the cover type always reads */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(24, 18, 13, .62) 0%, rgba(24, 18, 13, .28) 34%, rgba(24, 18, 13, 0) 58%);
}
.tile__label {
  position: absolute; z-index: 2; top: 6cqw; left: 6cqw; right: 6cqw;
  display: grid; justify-items: start; pointer-events: none;
  color: var(--crema); text-shadow: 0 2px 18px rgba(20, 14, 10, .45);
}
.tile__mast { display: grid; width: 100%; }
.tile__name {
  font: 800 15cqw/.86 var(--font-sans); letter-spacing: -.05em; white-space: nowrap;
}
.tile__meta {
  margin-top: 2.4cqw; font: 300 max(12px, 4.6cqw)/1.15 var(--font-sans); letter-spacing: .01em;
  color: rgba(245, 240, 230, .9);
}
.tile__rule { display: block; width: 26cqw; height: 1px; margin: 4.2cqw 0 2.6cqw; background: rgba(245, 240, 230, .75); }
.tile__phrase { font: 400 max(15px, 6.4cqw)/1.05 var(--font-serif); letter-spacing: -.01em; }
.tile:hover .tile__label { color: #fff; }
/* level number: big, translucent; lights up warm brown on hover / when its walkthrough is open */
.tile__n {
  position: absolute; z-index: 2; left: 5cqw; bottom: 3cqw;
  font: 800 max(28px, 13cqw)/1 var(--font-sans); letter-spacing: -.04em;
  color: rgba(245, 240, 230, .16); -webkit-text-stroke: 1px rgba(245, 240, 230, .38);
  transition: color .6s var(--ease), -webkit-text-stroke-color .6s var(--ease), text-shadow .8s var(--ease);
}
.tile:hover .tile__n, .tile:focus-visible .tile__n, .tile.is-open .tile__n {
  color: rgba(201, 154, 108, .62); -webkit-text-stroke-color: rgba(232, 190, 140, .85);
  text-shadow: 0 0 28px rgba(201, 154, 108, .55);
}
.tile--empty { cursor: default; background: transparent; border: 1px dashed rgba(234, 223, 203, .22); display: grid; place-items: center; }
.tile--empty:hover { box-shadow: none; }
.tile__soon { font: 600 11px/1.4 var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(234, 223, 203, .4); text-align: center; padding: 0 20px; }
.tour__back { display: inline-block; margin-bottom: 14px; font: 600 12px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--arena); transition: color .4s, text-shadow .5s; }
.tour__back:hover { color: var(--lamp); text-shadow: var(--lamp-glow); }
.tour__head { display: grid; justify-items: start; }

/* ---------- PROJECT GRID (rshp-style) ---------- */
.grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 44px) clamp(18px, 2vw, 28px);
}
.proj--main { grid-column: span 2; grid-row: span 2; }
.proj .level { aspect-ratio: 16 / 10; border-radius: 18px; }
.proj--main .level { aspect-ratio: auto; height: calc(100% - 120px); min-height: 420px; }
.proj { display: flex; flex-direction: column; }
.proj__cap { padding: 18px 4px 0; display: grid; gap: 6px; }
.proj__name { margin: 0; font: 300 clamp(24px, 2.2vw, 34px)/1.1 var(--font-serif); color: var(--crema); transition: color .5s var(--ease), text-shadow .6s var(--ease); }
.proj--main .proj__name { font-size: clamp(32px, 3.4vw, 52px); font-style: italic; }
.proj__meta { margin: 0; font-size: 14px; color: var(--muted); }
.proj__phrase { margin: 4px 0 0; font: italic 300 clamp(18px, 1.6vw, 24px)/1.3 var(--font-serif); color: var(--terracota); transition: color .5s var(--ease), text-shadow .6s var(--ease); }
.proj:hover .proj__name, .proj:hover .proj__phrase { color: var(--lamp); text-shadow: var(--lamp-glow); }
.proj:hover .level__n { color: var(--lamp); }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(30, 24, 19, .94); backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(92vw, 1600px); max-height: 82vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.lightbox__x, .lightbox__nav {
  position: absolute; background: none; border: 0; cursor: pointer; color: var(--arena);
  font: 300 44px/1 var(--font-serif); padding: 12px 18px; transition: color .4s, text-shadow .5s;
}
.lightbox__x { top: 18px; right: 22px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__x:hover, .lightbox__nav:hover { color: var(--lamp); text-shadow: var(--lamp-glow); }
.lightbox__count { position: absolute; bottom: 22px; margin: 0; font: 600 11px/1 var(--font-sans); letter-spacing: .22em; color: var(--muted); }

/* ---------- TOUR ---------- */
.tour { position: relative; z-index: 2; background: var(--madera-deep); }
.tour__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.tour__media { position: absolute; inset: 0; }
.tour__media img, .tour__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; will-change: opacity;
}
.tour__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(46, 36, 28, .55) 100%),
    linear-gradient(90deg, rgba(46, 36, 28, .72) 0%, rgba(46, 36, 28, 0) 52%);
}
.tour__head { position: absolute; left: var(--gutter); top: 84px; }
/* Text lives inside the image, magazine-cover hierarchy (ref. Hospitality Design cover).
   It slides in from its side and stays while the camera rests. */
.tour__cards { position: absolute; inset: 0; pointer-events: none; }
.card {
  position: absolute; top: clamp(140px, 20vh, 200px);          /* clear of "? Projects" */
  width: max-content; max-width: min(46vw, calc(100% - 2 * var(--gutter) - 56px));
  color: var(--crema);
  text-shadow: 0 2px 24px rgba(30, 22, 16, .55);
}
.card--l { left: var(--gutter); }
.card--r { right: calc(var(--gutter) + 56px); text-align: right; }
.card > * { opacity: 0; transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
.card--l > * { transform: translateX(-70px); }
.card--r > * { transform: translateX(70px); }
.card.on { pointer-events: auto; }
.card.on > * { opacity: 1; transform: none; }
.card.on > :nth-child(2) { transition-delay: .12s; }
.card.on > :nth-child(3) { transition-delay: .22s; }
.card.on > :nth-child(4) { transition-delay: .34s; }
.card.on > :nth-child(5), .card.on > :nth-child(6) { transition-delay: .44s; }

.card__mast {   /* the big masthead word, like “hospitality” */
  margin: 0 0 10px;
  font: 800 clamp(44px, 5.6vw, 104px)/.86 var(--font-sans);
  letter-spacing: -.045em;
  color: var(--arena);
  white-space: nowrap;
}
.card__k {      /* thin lowercase line, like “raising the bar” */
  margin: 0 0 12px;
  font: 300 clamp(15px, 1.4vw, 20px)/1.2 var(--font-sans);
  letter-spacing: .02em; color: rgba(245, 240, 230, .9);
}
.card__k::after { /* the thin rule under it */
  content: ""; display: block; width: min(320px, 70%); height: 1px; margin-top: 12px;
  background: linear-gradient(90deg, rgba(245, 240, 230, .85), rgba(245, 240, 230, 0));
}
.card--r .card__k::after { margin-left: auto; background: linear-gradient(270deg, rgba(245, 240, 230, .85), rgba(245, 240, 230, 0)); }
.card h3 {      /* serif title, like “the hd awards issue” */
  margin: 0 0 16px; max-width: min(520px, 32vw);
  font: 400 clamp(28px, 3vw, 44px)/1.08 var(--font-serif);
  color: var(--crema);
}
.card__p {
  margin: 0; max-width: min(440px, 34vw); line-height: 1.6; font-size: 15px;
  color: rgba(245, 240, 230, .9);
}
.card--r .card__p { margin-left: auto; }
.card__data { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.card--r .card__data { justify-content: flex-end; }
.card__data span { font: 500 12px/1 var(--font-sans); padding: 8px 12px; border-radius: 999px; background: rgba(46, 36, 28, .45); border: 1px solid rgba(234, 223, 203, .25); color: var(--arena); text-shadow: none; }
.card__data span.is-l { display: inline-flex; flex-direction: column; gap: 5px; border-radius: 14px; line-height: 1.15; }
.card__data span.is-l small { font: 600 9.5px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(234, 223, 203, .62); }
.card__cortes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; max-width: 440px; }
.card__cortes img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; background: var(--crema); box-shadow: 0 6px 20px rgba(30, 22, 16, .35); }
.card__mast:hover, .card__k:hover { color: var(--lamp); text-shadow: var(--lamp-glow); }

/* scrim follows the text side so the type always reads, without boxes */
.tour.side-r .tour__vignette {
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(46, 36, 28, .55) 100%),
    linear-gradient(270deg, rgba(46, 36, 28, .72) 0%, rgba(46, 36, 28, 0) 52%);
}
.tour__vignette { transition: background .6s var(--ease); }

.tour__rail {
  position: absolute; left: var(--gutter); right: calc(var(--gutter) + 40px); bottom: 34px;
  list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 8px;
}
.tour__rail li { flex: 1; font: 600 10px/1.3 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(234, 223, 203, .42); transition: color .4s; cursor: pointer; }
.tour__rail li::before { content: ""; display: block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-bottom: 8px; transition: .4s; }
.tour__rail li.on { color: var(--arena); }
.tour__rail li.on::before { box-shadow: 0 0 12px rgba(234, 190, 140, .9); background: var(--terracota); }
.tour__bar { position: absolute; left: var(--gutter); right: calc(var(--gutter) + 40px); bottom: 70px; height: 1px; background: rgba(234, 223, 203, .14); }
.tour__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--terracota), var(--arena)); }

/* ---------- ABOUT ---------- */
.about { padding: clamp(100px, 14vw, 180px) 0; background: var(--madera); }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.about__photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden;
  background: radial-gradient(80% 70% at 60% 35%, rgba(234, 190, 140, .45), transparent 70%), linear-gradient(160deg, #5a4838, var(--madera-deep));
  display: grid; place-items: end start; padding: 24px;
}
.about__photo span { font: 600 11px/1 var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(234, 223, 203, .55); }
.about__text { line-height: 1.75; color: rgba(245, 240, 230, .86); font-size: 16px; margin: 0 0 36px; }
.about__method { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(234, 223, 203, .16); }
.about__method li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(234, 223, 203, .16); }
.about__method b { font: italic 400 22px/1.2 var(--font-serif); color: var(--arena); }
.about__method span { color: var(--muted); line-height: 1.5; font-size: 15px; align-self: center; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(100px, 12vw, 160px) 0; background: linear-gradient(var(--madera), var(--madera-deep)); }
.faq__list { border-top: 1px solid rgba(234, 223, 203, .16); max-width: 820px; }
.faq details { border-bottom: 1px solid rgba(234, 223, 203, .16); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font: 300 clamp(20px, 2.2vw, 28px)/1.3 var(--font-serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 28px/1 var(--font-sans); color: var(--terracota); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--muted); line-height: 1.6; }
.faq .pending { font-style: italic; opacity: .7; }
.faq__slogan { margin: -12px 0 40px; font: italic 300 clamp(24px, 2.6vw, 36px)/1.2 var(--font-serif); color: var(--terracota); transition: color .5s var(--ease), text-shadow .6s var(--ease); }
.faq__slogan em { color: var(--arena); }
.faq__slogan:hover, .faq__slogan:hover em { color: var(--lamp); text-shadow: var(--lamp-glow); }
.faq__n { display: inline-block; min-width: 2.6em; font: 600 12px/1 var(--font-sans); letter-spacing: .18em; color: var(--terracota); vertical-align: .35em; }
.faq__a { padding: 0 0 26px 2.6em; max-width: 760px; }
.faq__a p { margin: 0 0 14px; color: rgba(245, 240, 230, .82); line-height: 1.75; }
.faq__a ul { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 10px; }
.faq__a li { position: relative; padding-left: 22px; color: rgba(245, 240, 230, .82); line-height: 1.65; }
.faq__a li::before {   /* small point of warm light instead of a bullet */
  content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%;
  background: var(--lamp); box-shadow: 0 0 10px rgba(255, 200, 120, .7);
}
.faq__a b, .faq__a em { color: var(--arena); font-weight: 600; }
@media (max-width: 760px) { .faq__a { padding-left: 0; } .faq__n { min-width: 2.2em; } }

/* ---------- CONTACT ---------- */
.contact { position: relative; overflow: hidden; padding: clamp(120px, 16vw, 200px) 0 0; text-align: center; background: var(--madera-deep); }
.contact .glow--soft { inset: 10% 15% 30%; opacity: .7; }
.contact__in { position: relative; }
.contact__title { max-width: 900px; margin-inline: auto; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 18px 30px; border-radius: 999px; background: var(--arena); color: var(--madera);
  font: 700 13px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 10px 40px rgba(201, 154, 108, .35); transition: transform .3s var(--ease), box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 50px rgba(201, 154, 108, .5); }
.contact__alt { margin: 28px 0 0; color: var(--muted); font-size: 14px; }
.contact__alt a { text-decoration: none; border-bottom: 1px solid rgba(234, 223, 203, .3); }
.foot { position: relative; margin-top: 120px; padding: 22px; font-size: 12px; letter-spacing: .1em; color: rgba(234, 223, 203, .4); }

.wa {
  position: fixed; right: var(--gutter); bottom: 22px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--madera-deep); color: var(--arena); border: 1px solid rgba(234, 223, 203, .25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .3);
}
body.in-tour .wa { opacity: 0; pointer-events: none; }
/* during the walkthrough the menu labels hide, they only show on hover */
body.in-tour .dots .t, body.in-tour .dots a.is-active .t { opacity: 0; transform: translateX(6px); }
body.in-tour .dots a:hover .t { opacity: 1; transform: none; }

/* ---------- warm light on hover (menu, titles, subtitles) ----------
   Text "lights up" like the LED strips in the renders: arena ? warm yellow + soft glow. */
:root {
  --lamp: #FFE2A6;                         /* warm yellow light */
  --lamp-glow: 0 0 6px rgba(255, 214, 140, .85), 0 0 18px rgba(255, 190, 110, .55), 0 0 42px rgba(232, 160, 80, .35);
}
.display, .display em, .eyebrow, .card h3, .card__k, .level__name, .level__meta, .level__n,
.hero__phrase, .hero__keys, .about__method b, .faq summary, .contact__alt a, .tour__rail li, .lang, .dots .t {
  transition: color .5s var(--ease), text-shadow .6s var(--ease), opacity .35s var(--ease), transform .35s var(--ease);
}
.display:hover, .display:hover em, .eyebrow:hover, .card h3:hover, .card__k:hover,
.hero__phrase:hover, .hero__keys:hover, .about__method li:hover b, .faq summary:hover,
.contact__alt a:hover, .tour__rail li:hover, .lang:hover [data-l],
.level:hover .level__name, .level:hover .level__meta, .level:hover .level__n {
  color: var(--lamp);
  text-shadow: var(--lamp-glow);
}
.card__k:hover::before { background: var(--lamp); box-shadow: 0 0 10px rgba(255, 200, 120, .9); }
.lang:hover { border-color: rgba(255, 214, 140, .6); box-shadow: 0 0 22px rgba(255, 190, 110, .35); }

/* menu: label + square light up warm yellow */
.dots a:hover .t { color: var(--lamp); text-shadow: var(--lamp-glow); }
.dots a:hover i {
  border-color: var(--lamp); background: var(--lamp);
  box-shadow: 0 0 8px rgba(255, 214, 140, .95), 0 0 22px rgba(255, 180, 100, .6);
}
.dots a.is-active i { background: var(--arena); }
.dots i { transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease); }

/* ONE continuous stone/sand texture over the whole page background (seamless mirrored tile),
   so there are no seams or material changes between sections. Hero video and the walkthrough
   sit above it (z-index 2) and stay clean. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  /* native load; app.js injects a retried copy if the network drops it */
  background-image: url("assets/textures/tex_piedra-arena-seamless.webp");
  background-repeat: repeat;
  background-size: 768px 768px;
  mix-blend-mode: overlay; opacity: .8;
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) and (min-width: 761px) {
  .card { max-width: calc(100% - 2 * var(--gutter) - 56px); }
  .card__p, .card h3 { max-width: min(460px, 58vw); }
}

/* stops whose design must stay clear (e.g. the neon sign): narrower text column */
@media (min-width: 761px) {
  .card--narrow h3, .card--narrow .card__p { max-width: min(360px, 27vw); }
}

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .dots { display: none; }
  .hero__logo { width: 70vw; top: 28%; }
  .hero__copy { bottom: 150px; right: var(--gutter); }
  .hero__slogan { top: calc(28% + 17vw); }
  .hero__keys { right: var(--gutter); left: var(--gutter); bottom: 78px; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px 14px; font-size: 10px; }
  .levels__layout { grid-template-columns: 1fr; }
  .levels__head { position: static; }
  .grid { grid-template-columns: 1fr; }
  .proj--main { grid-column: auto; grid-row: auto; }
  .proj--main .level, .proj .level { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .level__tag, .level__go { opacity: 1; transform: none; }
  .level__go { right: auto; left: 28px; bottom: auto; top: 24px; }
  .card, .card--r { top: auto; bottom: 104px; left: var(--gutter); right: var(--gutter); width: auto; text-align: left; }
  .card--r .card__p { margin-left: 0; }
  .card--r .card__k::after { margin-left: 0; }
  .card__mast { font-size: min(13vw, calc((100vw - 2 * var(--gutter)) / 9)); white-space: nowrap; }   /* 'Phenomenology' always fits */
  .card__p { font-size: 14px; max-width: none; }
  .card, .card h3 { max-width: none; }
  .tour__rail li { font-size: 0; }
  .about__grid { grid-template-columns: 1fr; }
  .about__method li { grid-template-columns: 90px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* bright daylight projects (FINCA LOMIX): deeper scrim on the text side so the cover type always reads */
.tour--light .tour__vignette {
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(40, 31, 24, .5) 100%),
    linear-gradient(90deg, rgba(40, 31, 24, .84) 0%, rgba(40, 31, 24, .58) 30%, rgba(40, 31, 24, 0) 62%);
}
.tour--light.side-r .tour__vignette {
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(40, 31, 24, .5) 100%),
    linear-gradient(270deg, rgba(40, 31, 24, .84) 0%, rgba(40, 31, 24, .58) 30%, rgba(40, 31, 24, 0) 62%);
}
.tour--light .card { text-shadow: 0 2px 22px rgba(20, 14, 10, .55); }
@media (max-width: 760px) {
  .tour--light .tour__vignette, .tour--light.side-r .tour__vignette {
    background: linear-gradient(0deg, rgba(40, 31, 24, .88) 0%, rgba(40, 31, 24, .6) 38%, rgba(40, 31, 24, 0) 66%);
  }
}

/* ---------- portrait: an arch (like a doorway), framed by a thin glowing golden line ---------- */
.about__frame {
  position: relative; z-index: 2;            /* above the page texture */
  padding: 16px; align-self: start;
}
.about__frame::after {                        /* warm halo so the portrait melts into the section */
  content: ""; position: absolute; inset: -12% -16%; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 50% at 50% 42%, rgba(232, 170, 100, .22), transparent 70%);
}
.about__frame::before {                       /* the glowing arch line, offset around the photo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border: 1px solid rgba(236, 196, 146, .75);
  border-radius: 50% 50% 10px 10px / 39% 39% 10px 10px;
  box-shadow: 0 0 22px rgba(232, 170, 100, .35), inset 0 0 22px rgba(232, 170, 100, .18);
  animation: archGlow 5s ease-in-out infinite alternate;
}
@keyframes archGlow {
  from { box-shadow: 0 0 14px rgba(232, 170, 100, .22), inset 0 0 14px rgba(232, 170, 100, .10); border-color: rgba(236, 196, 146, .55); }
  to   { box-shadow: 0 0 34px rgba(232, 170, 100, .50), inset 0 0 26px rgba(232, 170, 100, .24); border-color: rgba(246, 214, 170, .95); }
}
.about__photo {
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--madera-deep);
  border-radius: 50% 50% 6px 6px / 38% 38% 6px 6px;
  box-shadow: 0 30px 80px rgba(20, 14, 10, .55);
}
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.8s var(--ease); }
.about__frame:hover .about__photo img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .about__frame::before { animation: none; } }
/* FAQ: further-reading links */
.faq__a a { color: var(--terracota); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .4s; }
.faq__a a:hover { color: var(--lamp); }
.faq__refs { font-size: 14px; color: rgba(245, 240, 230, .62) !important; }

/* ---------- Concepto: Luisa's slogan, centered and lit (white + sand) ---------- */
.manifesto__in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.manifesto .glow--soft { inset: -5% 10% 10%; opacity: .7; }
.manifesto__a, .manifesto__b { margin-left: 0; margin-right: 0; }
.manifesto__a {
  font: 800 clamp(64px, 12vw, 190px)/.9 var(--font-sans); letter-spacing: -.05em; color: #FFFDF8;
  text-shadow: 0 0 18px rgba(255, 236, 200, .35), 0 0 60px rgba(240, 196, 146, .28);
}
.manifesto__b {
  margin-top: .02em; font: italic 300 clamp(48px, 9vw, 150px)/1 var(--font-serif); color: var(--arena);
  text-shadow: 0 0 22px rgba(240, 196, 146, .45), 0 0 70px rgba(201, 154, 108, .3);
  animation: slogan-breathe 5s ease-in-out infinite alternate;
}
@keyframes slogan-breathe {
  from { text-shadow: 0 0 14px rgba(240, 196, 146, .3), 0 0 50px rgba(201, 154, 108, .18); }
  to   { text-shadow: 0 0 26px rgba(255, 214, 160, .6), 0 0 90px rgba(232, 170, 100, .38); }
}
.manifesto__rule { margin: clamp(30px, 4vw, 52px) auto 26px; width: min(300px, 50%); background: linear-gradient(90deg, transparent, var(--terracota), transparent); }
.manifesto__c { margin: 0 auto; max-width: 600px; font: italic 300 clamp(19px, 1.9vw, 25px)/1.55 var(--font-serif); color: rgba(245, 240, 230, .9); }
.manifesto__keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 46px; margin: 44px 0 0; padding: 18px 0; border-top: 1px solid rgba(234, 223, 203, .14); border-bottom: 1px solid rgba(234, 223, 203, .14); font: 600 12.5px/1 var(--font-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--arena); }
.manifesto__keys span { position: relative; transition: color .5s var(--ease), text-shadow .6s var(--ease); }
.manifesto__keys span + span::before { content: ""; position: absolute; left: -25px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; box-shadow: 0 0 8px rgba(232, 160, 80, .6); border-radius: 50%; background: var(--terracota); }
.manifesto__keys span:hover { color: var(--lamp); text-shadow: var(--lamp-glow); }
.manifesto__sig { margin: 30px 0 0; }
.manifesto .reveal, .manifesto__b.reveal, .manifesto__c.reveal, .manifesto__sig.reveal { transform: translateY(34px); }
.manifesto .reveal.in { transform: none; }
@media (max-width: 760px) {
  .manifesto__c { font-size: 18px; padding: 0 4px; }
  .manifesto__keys { gap: 12px 30px; margin-top: 34px; padding: 14px 0; font-size: 10.5px; letter-spacing: .18em; }
  .manifesto__keys span + span::before { left: -17px; width: 4px; height: 4px; margin-top: -2px; }
}
@media (prefers-reduced-motion: reduce) { .manifesto__b { animation: none; } }

/* ---------- Concepto: Luisa's pillars, lit like the rest of the site, explained over a project image ---------- */
.concepts { position: relative; display: flex; justify-content: center; width: 100%; margin-top: 44px; }
.manifesto__keys { margin: 0; padding: 20px 0; gap: 12px 54px; font: italic 300 clamp(22px, 2.2vw, 32px)/1.1 var(--font-serif); letter-spacing: .005em; text-transform: none; color: var(--terracota); }
.manifesto__keys button {
  position: relative; appearance: none; background: none; border: 0; padding: 4px 2px; margin: 0; cursor: pointer;
  font: inherit; letter-spacing: inherit; color: inherit;
  text-shadow: 0 0 14px rgba(232, 160, 80, .25);
  transition: color .45s var(--ease), text-shadow .55s var(--ease);
}
.manifesto__keys button::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: -2px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--lamp), transparent);
  transition: left .5s var(--ease), right .5s var(--ease);
}
.manifesto__keys button + button::before {
  content: ""; position: absolute; left: -29px; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%;
  background: var(--terracota); box-shadow: 0 0 8px rgba(232, 160, 80, .6);
}
.manifesto__keys button:hover, .manifesto__keys button:focus-visible, .manifesto__keys button.on { color: var(--lamp); text-shadow: var(--lamp-glow); outline: none; }
.manifesto__keys button:hover::after, .manifesto__keys button.on::after, .manifesto__keys button:focus-visible::after { left: 8%; right: 8%; }

.concept-pop {
  position: absolute; left: 50%; bottom: calc(100% + 6px); z-index: 5;
  width: min(640px, calc(100vw - 32px)); aspect-ratio: 16 / 10;
  border-radius: 20px; overflow: hidden; text-align: left;
  background: #2E241C;
  box-shadow: 0 30px 80px rgba(20, 14, 10, .55), 0 0 0 1px rgba(234, 223, 203, .14), 0 0 60px rgba(232, 170, 100, .22);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, 18px) scale(.97); transform-origin: 50% 100%;
  transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s linear .6s;
}
.concept-pop.open { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s; }
.concept-pop__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s ease-out; }
.concept-pop.open .concept-pop__img { transform: scale(1); }
.concept-pop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30, 22, 16, .94) 0%, rgba(30, 22, 16, .72) 42%, rgba(30, 22, 16, .1) 74%, rgba(30, 22, 16, 0) 100%); }
.concept-pop__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(18px, 3vw, 30px); color: var(--crema); text-shadow: 0 2px 18px rgba(20, 14, 10, .6); }
.concept-pop__mast { margin: 0 0 8px; font: 800 clamp(34px, 4.4vw, 64px)/.9 var(--font-sans); letter-spacing: -.045em; color: var(--arena); }
.concept-pop__k { margin: 0 0 12px; font: 300 clamp(13px, 1.1vw, 15px)/1.3 var(--font-sans); letter-spacing: .02em; color: rgba(245, 240, 230, .9); }
.concept-pop__k::after { content: ""; display: block; width: min(260px, 60%); height: 1px; margin-top: 10px; background: linear-gradient(90deg, rgba(245, 240, 230, .85), rgba(245, 240, 230, 0)); }
.concept-pop__p { margin: 0; max-width: 560px; font: 400 clamp(13.5px, 1.05vw, 15.5px)/1.6 var(--font-sans); color: rgba(245, 240, 230, .92); }
@media (max-width: 760px) {
  .concepts { margin-top: 34px; }
  .manifesto__keys { flex-wrap: nowrap; gap: 0 22px; font-size: clamp(15px, 4.5vw, 18px); }
  .manifesto__keys button { padding: 4px 0; white-space: nowrap; }
  .manifesto__keys button + button::before { left: -13px; width: 4px; height: 4px; }
  .concept-pop { aspect-ratio: auto; height: min(470px, 78vh); }
  .concept-pop::after { background: linear-gradient(0deg, rgba(30, 22, 16, .96) 0%, rgba(30, 22, 16, .82) 55%, rgba(30, 22, 16, .15) 85%, rgba(30, 22, 16, 0) 100%); }
}
@media (prefers-reduced-motion: reduce) { .concept-pop { transition: opacity .2s, visibility 0s; transform: translate(-50%, 0); } .concept-pop__img { transform: none; transition: none; } }
