/* =========================================================================
   CERVIN COLISEUM — page layouts (home, projet, technologie, galerie, club)
   ========================================================================= */

/* ---------- shared page hero (subpages) ---------- */
.phero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: flex-end; }
.phero__media { position: absolute; inset: 0; }
.phero__media img, .phero__media video { width: 100%; height: 100%; object-fit: cover; }
.phero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,11,13,.55) 0%, rgba(10,11,13,0) 22%, rgba(10,11,13,0) 45%, rgba(10,11,13,.82) 88%, var(--bg) 100%),
    radial-gradient(120% 80% at 0% 100%, rgba(10,11,13,.6), transparent 60%);
}
.phero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(36px, 6vw, 88px); }
.phero__meta { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin-bottom: clamp(20px, 3vw, 40px); }
.phero__title { max-width: 14ch; text-shadow: 0 4px 50px rgba(0,0,0,.35); }
.phero__foot { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: clamp(28px, 4vw, 56px); padding-top: 22px; border-top: 1px solid var(--line-2); }
.phero__foot .lead { max-width: 34em; color: var(--ink-2); }
.phero__index { display: flex; gap: 22px; }
.phero__index a { color: var(--ink-3); transition: color .3s; }
.phero__index a:hover { color: var(--ink); }

/* ---------- section header pattern ---------- */
.shead { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; margin-bottom: clamp(48px, 7vw, 120px); }
.shead__label { grid-column: 1 / span 3; padding-top: .6em; }
.shead__title { grid-column: 4 / span 9; }
.shead__lead { grid-column: 4 / span 6; }
.idx { font-family: var(--f-mono); color: var(--red); margin-right: .8em; }

/* =========================================================================
   HOME
   ========================================================================= */

/* intro loader */
.intro {
  position: fixed; inset: 0; z-index: 960; background: var(--bg); display: grid; place-items: center;
  pointer-events: none;
}
.intro__inner { width: min(520px, 80vw); }
.intro__word {
  display: flex; justify-content: space-between; overflow: hidden;
  font-family: var(--f-display); font-variation-settings: "wdth" 125; font-stretch: 125%; font-weight: 300;
  font-size: clamp(1rem, 2.2vw, 1.6rem); letter-spacing: .1em; text-transform: uppercase;
}
.intro__word span { display: inline-block; transform: translateY(110%); }
.intro__bar { height: 1px; background: var(--line); margin-top: 18px; position: relative; overflow: hidden; }
.intro__bar i { position: absolute; inset: 0; background: var(--stone); transform: scaleX(0); transform-origin: left; }
.intro__meta { display: flex; justify-content: space-between; margin-top: 12px; }
html:not(.js) .intro, html:not(.motion) .intro { display: none; }

/* hero */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: #07080a; }
.hero__media { position: absolute; inset: 0; transform-origin: 50% 70%; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__vid { opacity: 0; transition: opacity 1.6s var(--ease-in-out); }
.hero__vid.is-active { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,8,10,.62) 0%, rgba(7,8,10,.08) 26%, rgba(7,8,10,0) 50%, rgba(7,8,10,.55) 78%, rgba(7,8,10,.94) 100%),
    radial-gradient(90% 60% at 20% 90%, rgba(7,8,10,.55), transparent 70%);
}
.hero__inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 20px); padding-bottom: clamp(22px, 3vw, 40px); max-width: none; }
.hero__top { position: absolute; top: calc(var(--header-h) + 18px); left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; }
.hero__title { position: relative; margin-bottom: clamp(26px, 4vw, 56px); text-shadow: 0 6px 70px rgba(0,0,0,.28); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__title .l1 { font-size: var(--fs-mega); }
.hero__title .l2 {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; font-variation-settings: normal; font-stretch: 100%;
  text-transform: none; letter-spacing: -.035em; color: var(--stone);
  font-size: calc(var(--fs-mega) * 1.02); line-height: .78; padding-left: 18vw; margin-top: -.02em;
}
.hero__title .ch { display: inline-block; will-change: transform; transition: transform 1.5s var(--ease); }
html.js.motion .hero__title:not(.is-in) .ch { transform: translateY(112%); }
[data-hero-fade] { transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
html.js.motion [data-hero-fade]:not(.is-in) { opacity: 0; transform: translateY(16px); }
.hero__bar { display: grid; grid-template-columns: 1.1fr 1.4fr auto; gap: var(--gap); align-items: end; padding-top: 20px; border-top: 1px solid var(--line-2); }
.hero__tag { font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.45; font-weight: 300; color: var(--ink); }
.hero__tag span.t { display: block; }
.hero__tag em { font-family: var(--f-serif); font-size: 1.2em; color: var(--stone); }
.reel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.reel button { text-align: left; color: var(--ink-3); transition: color .4s; padding: 8px 0 0; }
.reel button:hover, .reel button.is-active { color: var(--ink); }
.reel .bar { display: block; height: 1px; background: var(--line-2); position: relative; overflow: hidden; margin-bottom: 10px; }
.reel .bar i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.reel .label { color: inherit; display: flex; gap: 8px; }
.reel .label b { font-weight: 400; color: var(--ink-4); }
.reel button.is-active .label b { color: var(--red); }
.hero__scroll { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--ink-2); }
.hero__scroll .line-anim { width: 1px; height: 56px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll .line-anim::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: drip 2.2s var(--ease-in-out) infinite; }
@keyframes drip { 0% { top: -40%; } 100% { top: 100%; } }

/* manifesto */
.manifesto { padding-block: clamp(96px, 11vw, 180px) clamp(80px, 9vw, 150px); }
.manifesto__label { grid-column: 1 / span 3; padding-top: .9em; }
.manifesto__text {
  grid-column: 4 / span 9;
  font-family: var(--f-display); font-variation-settings: "wdth" 112; font-stretch: 112%; font-weight: 300;
  font-size: clamp(1.7rem, 3.55vw, 3.9rem); line-height: 1.12; letter-spacing: -.028em; color: var(--ink);
}
.manifesto__text em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--stone); font-size: 1.1em; letter-spacing: -.01em; }
.manifesto__text .sw { opacity: .16; transition: opacity .2s linear; }
html:not(.motion) .manifesto__text .sw { opacity: 1; }
.mottos { grid-column: 4 / span 9; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: clamp(56px, 7vw, 110px); }
.motto { padding-top: 18px; border-top: 1px solid var(--line); }
.motto h3 { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 2.1vw, 2.2rem); line-height: 1.05; margin: 14px 0 10px; }
.motto p { color: var(--ink-3); }

/* expanding image */
.expand { position: relative; height: 100svh; overflow: hidden; }
.expand__stage { position: relative; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.expand__media { position: absolute; inset: 0; clip-path: inset(18% 31% 18% 31% round 4px); will-change: clip-path; }
.expand__media img { transform: scale(1.25); will-change: transform; }
.expand__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,13,.35), rgba(10,11,13,0) 30%, rgba(10,11,13,0) 60%, rgba(10,11,13,.6)); }
.expand__words { position: relative; z-index: 2; width: 100%; display: flex; justify-content: space-between; padding-inline: var(--pad); pointer-events: none; }
.expand__words .h1 { font-size: clamp(2.4rem, 7.6vw, 9rem); }
.expand__cap { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: clamp(24px, 4vw, 48px); display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.expand__cap p { max-width: 30em; color: var(--ink); }

/* stats */
.stats .shead__title { max-width: 16ch; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stat {
  position: relative; padding: clamp(22px, 2.6vw, 40px) clamp(18px, 2vw, 32px) clamp(26px, 3vw, 44px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: clamp(210px, 20vw, 320px);
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; isolation: isolate;
  transition: background-color .6s var(--ease);
}
.stat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 100% at 0% 100%, rgba(216,196,163,.09), transparent 60%); opacity: 0; transition: opacity .6s var(--ease); }
.stat:hover::before { opacity: 1; }
.stat__top { display: flex; justify-content: space-between; }
.stat__num {
  font-family: var(--f-display); font-variation-settings: "wdth" 125; font-stretch: 125%; font-weight: 250;
  font-size: clamp(2.6rem, 4.9vw, 5.4rem); line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat__num sup { font-size: .32em; letter-spacing: 0; vertical-align: 1.7em; margin-left: .15em; font-weight: 400; color: var(--stone); }
.stat__num .pre { font-size: .5em; color: var(--stone); margin-right: .06em; vertical-align: .55em; font-weight: 300; }
.stat__lbl { margin-top: 18px; color: var(--ink-2); max-width: 17em; font-size: .95rem; line-height: 1.45; min-height: 2.9em; }
.stat--accent .stat__num { color: var(--ink); }
.stat--accent .stat__top .label { color: var(--red); }

/* five ideas — horizontal */
.ideas { position: relative; overflow: hidden; }
.ideas__pin { height: 100svh; display: flex; align-items: center; }
.ideas__track { display: flex; gap: clamp(28px, 4vw, 72px); padding-inline: var(--pad); align-items: stretch; will-change: transform; }
.ideas__intro { flex: 0 0 min(34vw, 560px); display: flex; flex-direction: column; justify-content: space-between; padding-block: 8px; }
.ideas__intro .h2 { margin: 26px 0 30px; }
.ideas__hint { display: flex; align-items: center; gap: 14px; }
.ideas__hint i { display: block; width: 64px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.ideas__hint i::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: slideHint 2.4s var(--ease-in-out) infinite; }
@keyframes slideHint { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.idea { flex: 0 0 min(62vw, 1040px); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; min-width: 0; gap: 26px; height: min(78svh, 760px); }
.idea__media { border-radius: 3px; }
.idea__media video, .idea__media img { position: absolute; inset: 0; }
.idea__tag { position: absolute; left: 18px; top: 16px; z-index: 2; }
.idea__body { display: grid; grid-template-columns: 90px 1fr 1.25fr; gap: var(--gap); align-items: start; }
.idea__num { font-family: var(--f-mono); font-size: .8rem; color: var(--red); padding-top: .5em; }
.idea__body .h3 { font-size: clamp(1.5rem, 2.3vw, 2.5rem); }
.idea__body p { color: var(--ink-2); font-size: .98rem; }
.idea__spec { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.idea__spec span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.ideas__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; height: 1px; background: var(--line); }
.ideas__progress i { position: absolute; inset: 0; background: var(--stone); transform: scaleX(0); transform-origin: left; }

/* modes (configurations teaser) */
.modes { position: relative; height: 100svh; min-height: 700px; display: flex; align-items: flex-end; overflow: hidden; }
.modes__stage { position: absolute; inset: 0; }
.mode-img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease-in-out), transform 7s linear; transform: scale(1.08); }
.mode-img.is-active { opacity: 1; transform: scale(1); }
.mode-img img { width: 100%; height: 100%; object-fit: cover; }
.modes__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(10,11,13,.3) 10%, rgba(10,11,13,0) 26%, rgba(10,11,13,0) 42%, rgba(10,11,13,.55) 66%, rgba(10,11,13,.86) 94%, var(--bg) 100%), linear-gradient(90deg, rgba(10,11,13,.6), rgba(10,11,13,.15) 45%, transparent 65%); }
.modes__ui { position: relative; z-index: 2; width: 100%; padding-block: 0 clamp(36px, 4.5vw, 64px); }
.modes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: end; }
.modes__cap { display: flex; align-items: baseline; gap: 18px; }
.modes__num {
  font-family: var(--f-display); font-variation-settings: "wdth" 125; font-stretch: 125%; font-weight: 200;
  font-size: clamp(4rem, 9.5vw, 11rem); line-height: .8; letter-spacing: -.06em; font-variant-numeric: tabular-nums;
}
.modes__tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.modes__tabs button {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; text-align: left;
  padding: 18px 0; border-bottom: 1px solid var(--line-2); color: var(--ink-3); position: relative;
  transition: color .4s var(--ease);
}
.modes__tabs button .h4 { font-family: var(--f-display); font-variation-settings: "wdth" 118; font-stretch: 118%; font-weight: 300; text-transform: uppercase; letter-spacing: -.01em; }
.modes__tabs button:hover, .modes__tabs button.is-active { color: var(--ink); }
.modes__tabs button i { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.modes__tabs button.is-active .label { color: var(--red); }
.modes__desc { margin-top: 20px; color: var(--ink-2); max-width: 30em; min-height: 3.2em; }

/* explorer teaser */
.et { padding-block: var(--section) clamp(40px, 5vw, 80px); }
.et__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; margin-bottom: clamp(36px, 5vw, 72px); }
.et__frame {
  position: relative; display: block; aspect-ratio: 16 / 8.2; border-radius: 4px; overflow: hidden; background: #0d0e10;
  border: 1px solid var(--line);
}
.et__frame video, .et__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.6s var(--ease); }
.et__frame:hover video { transform: scale(1.06); }
.et__frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 50% 50%, transparent 40%, rgba(10,11,13,.75)); pointer-events: none; }
.et__hud { position: absolute; inset: 22px; z-index: 2; pointer-events: none; }
.et__hud .c { position: absolute; width: 18px; height: 18px; border-color: var(--ink-3); border-style: solid; border-width: 0; }
.et__hud .c1 { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.et__hud .c2 { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.et__hud .c3 { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.et__hud .c4 { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.et__hud .tl { position: absolute; left: 32px; top: 4px; }
.et__hud .tr { position: absolute; right: 32px; top: 4px; text-align: right; }
.et__hud .bl { position: absolute; left: 32px; bottom: 2px; }
.et__cta {
  position: absolute; z-index: 3; left: 50%; top: 50%; width: 148px; height: 148px; margin: -74px 0 0 -74px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; background: var(--ink); color: var(--bg);
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5;
  transition: transform .7s var(--ease), background-color .5s;
}
.et__cta svg { width: 22px; height: 22px; margin: 0 auto 8px; }
.et__frame:hover .et__cta { background: var(--red); color: #fff; transform: scale(1.08); }
.et__feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 28px; }
.et__feats div { padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }
.et__feats .label { display: block; margin-bottom: 8px; }

/* gallery teaser */
.gt { position: relative; height: 130svh; overflow: hidden; }
.gt__cols { position: absolute; inset: -3% 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); padding-inline: var(--pad); }
.gt__col { display: flex; flex-direction: column; gap: var(--gap); }
.gt__col:nth-child(2) { margin-top: 9vh; }
.gt__col:nth-child(3) { margin-top: -2vh; }
.gt__col:nth-child(4) { margin-top: 5vh; }
.gt__col .media { aspect-ratio: 4 / 5; border-radius: 3px; }
.gt__col .media.wide { aspect-ratio: 4 / 3; }
.gt__col .media img { transition: transform 1.4s var(--ease), filter 1s; }
.gt__col .media:hover img { transform: scale(1.05); }
.gt__center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; z-index: 2; background: radial-gradient(36% 27% at 50% 50%, rgba(10,11,13,.88) 0%, rgba(10,11,13,.6) 55%, rgba(10,11,13,0) 100%); }
.gt__center > div { pointer-events: auto; }
.gt__center .display { font-size: clamp(3.6rem, 12vw, 13rem); }
.gt__center .label { display: block; margin-bottom: 18px; }
.gt__center .btn { margin-top: 30px; }
.gt::before, .gt::after { content: ""; position: absolute; left: 0; right: 0; height: 9%; z-index: 1; pointer-events: none; }
.gt::before { top: 0; background: linear-gradient(var(--bg), transparent); }
.gt::after { bottom: 0; background: linear-gradient(transparent, var(--bg)); }

/* duo (club / region) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.duo__card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: clamp(520px, 52vw, 820px); padding: clamp(24px, 3vw, 44px); overflow: hidden; border-radius: 4px; background: var(--bg-2); isolation: isolate; }
.duo__card .media { position: absolute; inset: 0; z-index: -1; }
.duo__card .media img { transition: transform 1.8s var(--ease); }
.duo__card:hover .media img { transform: scale(1.05); }
.duo__card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,13,.55), rgba(10,11,13,.1) 35%, rgba(10,11,13,.88)); }
.duo__big {
  font-family: var(--f-display); font-variation-settings: "wdth" 125; font-stretch: 125%; font-weight: 200;
  font-size: clamp(4.4rem, 10vw, 11rem); line-height: .8; letter-spacing: -.06em;
}
.duo__foot { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.duo__foot p { color: var(--ink-2); max-width: 26em; margin-top: 12px; }
.duo__card--region { background: #0e0f12; }
.rings { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; }
.rings svg { width: 115%; max-width: none; height: auto; }
.rings circle { fill: none; stroke: var(--line-2); }
.rings .r-fill { fill: rgba(227, 6, 19, .06); stroke: rgba(227, 6, 19, .45); }
.rings text { fill: var(--ink-3); font-family: var(--f-mono); font-size: 9px; letter-spacing: 1.5px; }
.rings .city { fill: var(--ink-2); }
.rings .sion { fill: var(--red); }

/* =========================================================================
   PROJET
   ========================================================================= */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principle { padding: clamp(28px, 3vw, 48px) clamp(0px, 2vw, 32px) 0 0; }
.principle + .principle { padding-left: clamp(18px, 2vw, 32px); border-left: 1px solid var(--line); }
.principle svg { width: 44px; height: 44px; stroke: var(--stone); fill: none; stroke-width: 1; margin-bottom: clamp(40px, 6vw, 90px); }
.principle h3 { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(2rem, 3.4vw, 3.6rem); line-height: 1; letter-spacing: -.02em; }
.principle .label { margin-top: 18px; display: block; color: var(--stone); }
.principle p { margin-top: 18px; color: var(--ink-2); max-width: 24em; }

.evo { position: relative; }
.evo__rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); }
.evo__step { position: relative; }
.evo__card { position: relative; aspect-ratio: 2 / 5; border-radius: 3px; overflow: hidden; background: #ece6dc; }
.evo__card img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; mix-blend-mode: multiply; transition: transform 1.6s var(--ease); }
.evo__step:hover .evo__card img { transform: scale(1.04); }
.evo__card--final { background: #ece6dc; }
.evo__meta { padding-top: 18px; }
.evo__n { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-stretch: 125%; font-weight: 200; font-size: 3rem; line-height: 1; color: var(--ink-4); letter-spacing: -.04em; transition: color .5s; }
.evo__step:hover .evo__n { color: var(--stone); }
.evo__meta h3 { font-size: 1.06rem; font-weight: 450; margin-top: 12px; }
.evo__meta .label { display: block; margin-top: 6px; }
.evo__line { position: absolute; left: 0; right: 0; top: -40px; height: 1px; background: var(--line); }
.evo__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--stone), var(--red)); transform: scaleX(0); transform-origin: left; }
.evo__dots { position: absolute; left: 0; right: 0; top: -44px; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); pointer-events: none; }
.evo__dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--stone); }

.croquis { position: relative; padding-block: var(--section); overflow: hidden; }
.croquis__art { position: relative; margin-top: clamp(20px, 3vw, 40px); }
.croquis__art img { width: 100%; filter: invert(1) sepia(.25) brightness(.95); mix-blend-mode: screen; }
.croquis__art .ink { clip-path: inset(0 100% 0 0); }
html:not(.motion) .croquis__art .ink { clip-path: none; }
.croquis__note { position: absolute; right: var(--pad); bottom: 8%; max-width: 22em; text-align: right; }
.croquis__note .serif { font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.15; color: var(--stone); }

.refs { display: flex; flex-direction: column; gap: clamp(90px, 12vw, 200px); }
.ref { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.ref__media { grid-column: 1 / span 7; aspect-ratio: 4 / 3; border-radius: 3px; }
.ref__media img { filter: grayscale(.35) contrast(1.05) brightness(.9); transition: filter 1.2s var(--ease); }
.ref:hover .ref__media img { filter: none; }
.ref__body { grid-column: 9 / span 4; }
.ref:nth-child(even) .ref__media { grid-column: 6 / span 7; grid-row: 1; }
.ref:nth-child(even) .ref__body { grid-column: 1 / span 4; grid-row: 1; }
.ref__date { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-stretch: 125%; font-weight: 200; font-size: clamp(2.4rem, 4.4vw, 4.6rem); line-height: .9; letter-spacing: -.05em; color: var(--stone); }
.ref__date small { display: block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; color: var(--ink-3); margin-top: 12px; font-weight: 400; }
.ref__body h3 { margin: 28px 0 16px; font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 350; letter-spacing: -.015em; line-height: 1.15; }
.ref__body p { color: var(--ink-2); }
.ref__body .quote { margin-top: 22px; padding-left: 18px; border-left: 1px solid var(--red); font-family: var(--f-serif); font-style: italic; font-size: 1.3rem; line-height: 1.3; color: var(--ink); }
.ref__media--wide { aspect-ratio: 16 / 8; }
.ref__date small { text-transform: uppercase; }
.ref__media--bw { background: #000; aspect-ratio: 16 / 10; }
.ref__media--bw img { object-fit: cover; filter: grayscale(1) contrast(1.1); }
.ref__date sup { font-size: .42em; vertical-align: 1.2em; }

.site-plan { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; align-items: start; }
.site-plan__art { grid-column: 1 / span 8; position: relative; border-radius: 4px; overflow: hidden; background: #f3f0ea; aspect-ratio: 1800 / 992; }
.site-plan__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1s var(--ease-in-out); }
.site-plan__art img.is-hidden { opacity: 0; }
.site-plan__side { grid-column: 9 / span 4; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; margin-bottom: 30px; }
.seg button { padding: 10px 18px; border-radius: 999px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); transition: color .4s, background-color .4s; }
.seg button.is-active { background: var(--ink); color: var(--bg); }
.legend { margin-top: 28px; display: flex; flex-direction: column; }
.legend li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); }
.legend li span:last-child { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

.directives { border-top: 1px solid var(--line); }
.dir { border-bottom: 1px solid var(--line); }
.dir summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 80px 1fr 56px; align-items: center; gap: var(--gap); padding: clamp(22px, 2.6vw, 36px) 0; }
.dir summary::-webkit-details-marker { display: none; }
.dir summary .h3 { font-size: clamp(1.35rem, 2.6vw, 2.7rem); transition: color .5s var(--ease), transform .7s var(--ease); }
.dir summary:hover .h3 { color: var(--stone); transform: translateX(10px); }
.dir__plus { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; justify-self: end; transition: transform .6s var(--ease), background-color .4s; }
.dir__plus::before, .dir__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; margin-left: -7px; background: var(--ink); transition: transform .6s var(--ease); }
.dir__plus::after { transform: rotate(90deg); }
.dir[open] .dir__plus { transform: rotate(180deg); background: var(--ink); }
.dir[open] .dir__plus::before, .dir[open] .dir__plus::after { background: var(--bg); }
.dir[open] .dir__plus::after { transform: rotate(0); }
.dir__body { display: grid; grid-template-columns: 80px 1fr 1fr; gap: var(--gap); padding-bottom: 40px; }
.dir__body p { grid-column: 2; color: var(--ink-2); max-width: 36em; }
.dir__body .dir__kpis { grid-column: 3; display: flex; flex-direction: column; gap: 10px; }
.dir__kpis span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); padding-bottom: 10px; border-bottom: 1px solid var(--line); }

/* next page */
.next { position: relative; display: block; padding-block: clamp(90px, 12vw, 200px); border-top: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.next .media { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 1s var(--ease); }
.next .media::after { content: ""; position: absolute; inset: 0; background: rgba(10,11,13,.55); }
.next:hover .media { opacity: 1; }
.next .display { font-size: clamp(3rem, 10vw, 11rem); transition: transform 1s var(--ease); }
.next:hover .display { transform: translateX(2vw); }
.next__row { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.next__arrow { width: clamp(60px, 7vw, 110px); height: auto; stroke: var(--ink); transition: transform 1s var(--ease); }
.next:hover .next__arrow { transform: translateX(12px) rotate(-45deg); }

/* =========================================================================
   TECHNOLOGIE
   ========================================================================= */
.phero--tech .phero__media video, .phero--tech .phero__media img { filter: invert(1) hue-rotate(180deg) contrast(1.06) brightness(.9); }

.struct { position: relative; }
.struct__pin { height: 100svh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; padding-inline: var(--pad); }
.struct__art { grid-column: 1 / span 8; position: relative; aspect-ratio: 3500 / 2400; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 58%, #1a1c21 0%, #101216 55%, var(--bg) 100%); box-shadow: 0 40px 120px rgba(0,0,0,.35); }
.struct__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease-in-out); filter: brightness(.9) contrast(1.05); mix-blend-mode: screen; }
.struct__art img.is-active { opacity: 1; }
.struct__list { grid-column: 9 / span 4; }
.struct__list li { padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink-3); transition: color .6s var(--ease); }
.struct__list li:first-child { border-top: 1px solid var(--line); }
.struct__list li h3 { font-family: var(--f-display); font-variation-settings: "wdth" 118; font-stretch: 118%; font-weight: 350; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .01em; display: flex; gap: 14px; }
.struct__list li p { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .8s var(--ease), opacity .8s var(--ease), margin .8s var(--ease); font-size: .95rem; }
.struct__list li.is-active { color: var(--ink); }
.struct__list li.is-active p { max-height: 8em; opacity: 1; margin-top: 10px; color: var(--ink-2); }
.struct__list li.is-active h3 .label { color: var(--red); }

.floor__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.floor__video { grid-column: 1 / span 8; align-self: start; position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #111; }
.floor__video video { width: 100%; height: 100%; object-fit: cover; }
.floor__video .ctrl { position: absolute; left: 20px; bottom: 18px; z-index: 2; display: flex; align-items: center; gap: 12px; }
.floor__steps { grid-column: 9 / span 4; display: grid; grid-template-rows: repeat(4, 1fr); gap: 0; align-self: stretch; }
.floor__steps .fstep { padding-bottom: 18px; }
.fstep { text-align: left; padding-top: 18px; position: relative; color: var(--ink-3); transition: color .5s var(--ease); }
.fstep::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.fstep i { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--stone); transform: scaleX(0); transform-origin: left; }
.fstep h3 { font-family: var(--f-display); font-variation-settings: "wdth" 118; font-stretch: 118%; font-weight: 350; text-transform: uppercase; font-size: clamp(1rem, 1.3vw, 1.25rem); margin: 10px 0 8px; }
.fstep p { font-size: .92rem; }
.fstep.is-active { color: var(--ink); }
.fstep.is-active p { color: var(--ink-2); }
.fstep.is-active .label { color: var(--red); }
.fstep:hover { color: var(--ink); }
.specs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); margin-top: clamp(30px, 5vw, 70px); }
.spec { padding: 26px 18px 10px 0; }
.spec + .spec { padding-left: 18px; border-left: 1px solid var(--line); }
.spec b { display: block; font-family: var(--f-display); font-variation-settings: "wdth" 125; font-stretch: 125%; font-weight: 250; font-size: clamp(1.7rem, 3vw, 3rem); letter-spacing: -.04em; line-height: 1; margin-bottom: 12px; white-space: nowrap; }
.spec b small { font-size: .45em; color: var(--stone); letter-spacing: 0; }
.spec span { color: var(--ink-2); font-size: .92rem; }

.roof { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--gap); align-items: stretch; }
.roof__img { grid-column: 1 / span 7; grid-row: 1 / span 2; min-height: 100%; border-radius: 4px; }
.roof__img2 { grid-column: 8 / span 5; grid-row: 2; aspect-ratio: 16 / 9; border-radius: 4px; }
.roof__text { grid-column: 8 / span 5; grid-row: 1; align-self: start; padding-bottom: 12px; }
.roof__text .prose { margin-top: 26px; }
.roof__list { margin-top: 30px; }
.roof__list li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }
.roof__list li .label { min-width: 2.5em; color: var(--stone); padding-top: .25em; }

.icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.icons__col h3 { padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.icons__col ul { display: grid; grid-template-columns: 1fr 1fr; }
.ico { padding: 26px 12px 24px 0; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
.ico span { font-size: 1rem !important; }
.ico svg { width: 50px; height: 50px; stroke: var(--stone); fill: none; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s, transform .6s var(--ease); }
.ico:hover svg { stroke: var(--ink); transform: translateY(-3px); }
.ico span { font-size: .92rem; color: var(--ink-2); line-height: 1.35; }
.ico span b { display: block; font-family: var(--f-mono); font-weight: 400; font-size: .72rem; letter-spacing: .1em; color: var(--ink); margin-top: 4px; }

.conf { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; align-items: center; }
.conf__plan { grid-column: 1 / span 7; position: relative; }
.conf__plan svg { width: 100%; height: auto; overflow: visible; }
.conf__plan svg[hidden] { display: none; }
.conf__imgs { position: relative; aspect-ratio: 1600 / 1328; border-radius: 3px; overflow: hidden; background: #ece6dc; }
.conf__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; opacity: 0; transition: opacity .8s var(--ease-in-out); }
.conf__img.is-active { opacity: 1; }
.conf__side { grid-column: 9 / span 4; }
.conf__num { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-stretch: 125%; font-weight: 200; font-size: clamp(3.6rem, 7.6vw, 8.4rem); line-height: .85; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.conf__unit { margin-top: 12px; }
.conf__tabs { margin-top: 36px; border-top: 1px solid var(--line); }
.conf__tabs button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-3); transition: color .4s, padding .5s var(--ease); text-align: left; }
.conf__tabs button:hover { color: var(--ink); }
.conf__tabs button.is-active { color: var(--ink); padding-left: 14px; }
.conf__tabs button.is-active .label { color: var(--red); }
.conf__tabs .t { font-size: 1rem; }
/* plan drawing */
.pl-shell { fill: #121418; stroke: var(--line-2); stroke-width: 1; }
.pl-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.pl-seat { fill: none; stroke: rgba(227, 6, 19, .55); stroke-width: 1; }
.pl-seat-strong { fill: none; stroke: rgba(227, 6, 19, .95); stroke-width: 1.2; }
.pl-stage { fill: rgba(216,196,163,.14); stroke: var(--stone); stroke-width: 1; }
.pl-field { fill: rgba(236,231,222,.03); stroke: var(--ink-2); stroke-width: 1; }
.pl-line { fill: none; stroke: var(--ink-2); stroke-width: 1; }
.pl-fill { fill: rgba(227, 6, 19, .16); stroke: rgba(227, 6, 19, .7); stroke-width: 1; }
.pl-dim { fill: var(--ink-3); font-family: var(--f-mono); font-size: 10px; letter-spacing: 1.5px; }
.pl-layer { opacity: 0; transition: opacity .8s var(--ease-in-out); }
.pl-layer.is-active { opacity: 1; }

.prog { margin-top: 10px; }
.prog__bar { display: flex; height: clamp(70px, 9vw, 120px); gap: 3px; }
.prog__seg { position: relative; height: 100%; background: var(--bg-3); overflow: hidden; border-radius: 2px; transform-origin: left; }
.prog__seg::before { content: ""; position: absolute; inset: 0; background: var(--c); opacity: .9; }
.prog__seg span { position: absolute; left: 14px; bottom: 12px; z-index: 1; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #111; }
.prog__legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 26px; }
.prog__legend div { padding-top: 14px; border-top: 1px solid var(--line); }
.prog__legend b { display: block; font-family: var(--f-display); font-variation-settings: "wdth" 125; font-stretch: 125%; font-weight: 250; font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: -.04em; line-height: 1; }
.prog__legend b small { font-size: .45em; color: var(--ink-3); letter-spacing: 0; }
.prog__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); margin-right: 8px; }
.prog__legend p { color: var(--ink-2); font-size: .92rem; margin-top: 8px; }
.prog__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 26px; gap: 20px; flex-wrap: wrap; }
.prog__total .display { font-size: clamp(3rem, 9vw, 9.5rem); }

/* =========================================================================
   GALERIE
   ========================================================================= */
.g-head { padding-top: calc(var(--header-h) + clamp(60px, 9vw, 150px)); padding-bottom: clamp(40px, 5vw, 70px); }
.g-head__row { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.g-head .display { font-size: clamp(3.6rem, 13vw, 15rem); }
.g-head .display sup { font-family: var(--f-mono); font-size: .9rem; letter-spacing: .1em; vertical-align: 3.8em; color: var(--stone); font-weight: 400; margin-left: .6em; }
.filters { position: sticky; top: 0; z-index: 30; padding-block: 14px; background: linear-gradient(var(--bg) 70%, transparent); transition: top .7s var(--ease); }
body:has(.site-header:not(.is-hidden)) .filters { top: var(--header-h); }
.filters .wrap { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.filters__list { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); transition: all .4s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.chip sup { color: var(--ink-4); font-size: .9em; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.is-active sup { color: var(--stone-3); }
.masonry {
  --cw: calc((min(100vw, var(--max)) - 2 * var(--pad) - 11 * var(--gap)) / 12);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: calc(var(--cw) * .89);
  grid-auto-flow: dense; gap: var(--gap); padding-bottom: var(--section);
}
.tile { position: relative; display: block; width: 100%; height: 100%; border-radius: 3px; overflow: hidden; background: var(--bg-2); cursor: zoom-in; text-align: left; transition: opacity .6s var(--ease), transform .8s var(--ease); grid-column: span 4; grid-row: span 3; }
.tile.s-a { grid-column: span 8; grid-row: span 6; }
.tile.s-b { grid-column: span 4; grid-row: span 3; }
.tile.s-c { grid-column: span 4; grid-row: span 4; }
.tile.s-d { grid-column: span 5; grid-row: span 5; }
.tile.s-e { grid-column: span 7; grid-row: span 5; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--ease), opacity .6s; }
.tile video { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; }
.tile.is-playing video { opacity: 1; }
.tile:hover img { transform: scale(1.035); }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; display: flex; justify-content: space-between; align-items: end; gap: 10px; background: linear-gradient(transparent, rgba(0,0,0,.7)); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
.tile__cap .t { font-size: .9rem; color: var(--ink); }
.tile__badge { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(10,11,13,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--f-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; }
.tile__badge svg { width: 8px; height: 8px; fill: currentColor; }
.tile.is-hidden { display: none; }
html.js.motion .tile:not(.is-in) { opacity: 0; transform: translateY(40px); }

.lb { position: fixed; inset: 0; z-index: 700; background: rgba(6,7,8,.97); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), visibility 0s; }
.lb__top, .lb__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px var(--pad); }
.lb__stage { position: relative; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; padding: 0 var(--pad); }
.lb__stage img, .lb__stage video { max-width: 100%; max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 2px; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.lb__stage > * { transition: opacity .45s var(--ease), transform .6s var(--ease); grid-area: 1 / 1; max-width: 100%; }
.lb__stage picture { display: block; }
.lb__stage .is-out { opacity: 0; transform: scale(.98); }
.lb__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.lb__btn:hover { background: var(--ink); border-color: var(--ink); }
.lb__btn:hover svg { stroke: var(--bg); }
.lb__btn svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 1.3; }
.lb__nav { position: absolute; top: 50%; margin-top: -26px; z-index: 2; }
.lb__prev { left: 18px; }
.lb__next { right: 18px; }
.lb__cap { color: var(--ink-2); font-size: .95rem; }
.lb__count { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; }
.lb__thumbs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 60vw; }
.lb__thumbs::-webkit-scrollbar { display: none; }
.lb__thumbs button { flex: 0 0 64px; height: 42px; border-radius: 2px; overflow: hidden; opacity: .35; transition: opacity .3s; outline-offset: 2px; }
.lb__thumbs button.is-active, .lb__thumbs button:hover { opacity: 1; }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   CLUB
   ========================================================================= */
.palm { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 60px; }
.palm__nums { grid-column: 1 / span 7; display: grid; grid-template-columns: 1.4fr 1fr 1fr; border-top: 1px solid var(--line); }
.palm__n { padding: 26px 18px 0 0; }
.palm__n + .palm__n { padding-left: 18px; border-left: 1px solid var(--line); }
.palm__n b { display: block; font-family: var(--f-display); font-variation-settings: "wdth" 125; font-stretch: 125%; font-weight: 200; font-size: clamp(3.6rem, 8vw, 9rem); line-height: .85; letter-spacing: -.06em; }
.palm__n b { display: flex; align-items: flex-start; }
.palm__n b small { font-size: .38em; color: var(--red); font-weight: 300; line-height: 1; margin: .12em .1em 0 0; letter-spacing: 0; }
.palm__n span { display: block; margin-top: 16px; color: var(--ink-2); }
.palm__n .label { margin-top: 6px; }
.palm__text { grid-column: 9 / span 4; }
.palm__text .prose { margin-top: 0; }
.legends { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.legends span { font-size: .82rem; color: var(--ink-2); padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; }

.tl { position: relative; }
.tl__scroller { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; padding-bottom: 20px; }
.tl__scroller::-webkit-scrollbar { display: none; }
.tl__scroller.is-drag { cursor: grabbing; }
.tl__track { position: relative; height: 380px; }
.tl__axis { position: absolute; left: 0; right: 0; bottom: 92px; height: 1px; background: var(--line-2); }
.tl__axis i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--stone), var(--red)); transform-origin: left; transform: scaleX(0); transition: transform 3s var(--ease-in-out); }
.tl.is-in .tl__axis i { transform: scaleX(1); }
.tl__y { position: absolute; bottom: 0; top: 0; width: 1px; }
.tl__y .tick { position: absolute; left: 0; bottom: 86px; width: 1px; height: 13px; background: var(--ink-3); }
.tl__y .yr { position: absolute; left: 50%; transform: translateX(-50%); bottom: 56px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; color: var(--ink-3); white-space: nowrap; }
.tl__y .ev { position: absolute; left: -11px; bottom: 106px; display: flex; flex-direction: column-reverse; gap: 6px; }
.tl__y .cup { width: 22px; height: 22px; stroke: var(--stone); fill: none; stroke-width: 1.2; }
.tl__y .cup.t { stroke: var(--red); }
.tl__y .cup.s { stroke: var(--ink-3); }
.tl__y.is-title .yr { color: var(--red); }
.tl__y.is-cup .yr { color: var(--ink); }
.tl__y.is-major .yr { color: var(--ink); font-size: .8rem; }
.tl__y.is-major .tick { height: 190px; background: linear-gradient(var(--line-2), var(--ink-3)); }
.tl__y.is-major .card { position: absolute; left: 14px; top: 10px; width: 230px; }
.tl__y.is-major .card b { display: block; font-family: var(--f-display); font-variation-settings: "wdth" 125; font-stretch: 125%; font-weight: 250; font-size: 3rem; letter-spacing: -.05em; line-height: 1; margin-bottom: 10px; }
.tl__y.is-major .card p { font-size: .9rem; color: var(--ink-2); line-height: 1.4; }
.tl__y.is-future .card b { color: var(--red); }
.tl__y.is-future .tick { background: linear-gradient(var(--red), transparent); }
.tl__legend { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 16px; }
.tl__legend span { display: inline-flex; align-items: center; gap: 8px; }
.tl__legend svg { width: 14px; height: 14px; fill: none; stroke-width: 1.2; }
.tl__controls { display: flex; gap: 10px; }

.stadiums { border-top: 1px solid var(--line); }
.srow { display: grid; grid-template-columns: 1.3fr 1.4fr 1fr 2.6fr 90px; gap: var(--gap); align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .93rem; color: var(--ink-2); transition: background-color .4s; }
.srow:hover { background: rgba(236,231,222,.025); }
.srow .bar { position: relative; height: 6px; background: var(--bg-3); border-radius: 3px; overflow: hidden; }
.srow .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--stone-3); border-radius: 3px; transform-origin: left; transition: transform 1.6s var(--ease); }
.srow .age { font-family: var(--f-mono); text-align: right; color: var(--ink); font-size: .85rem; }
.srow--head { color: var(--ink-3); font-size: .7rem; font-family: var(--f-mono); letter-spacing: .14em; text-transform: uppercase; padding: 10px 0; }
.srow--sion { color: var(--ink); }
.srow--sion .bar i { background: var(--red); }
.srow--sion .club { font-weight: 500; }
html.js.motion .stadiums:not(.is-in) .bar i { transform: scaleX(0); }

.region { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 50px; align-items: center; }
.region__map { grid-column: 1 / span 7; position: relative; }
.region__map svg { width: 100%; height: auto; }
.region__side { grid-column: 9 / span 4; }
.catch { border-top: 1px solid var(--line); margin-top: 34px; }
.catch li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); cursor: default; }
.catch li b { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-stretch: 125%; font-weight: 250; font-size: clamp(1.8rem, 3vw, 2.9rem); letter-spacing: -.04em; line-height: 1; }
.catch li:hover b, .catch li.is-active b { color: var(--stone); }
.map-ring { fill: none; stroke: var(--line-2); stroke-width: 1; transition: stroke .5s, fill .5s; }
.map-ring.is-active { stroke: var(--red); fill: rgba(227, 6, 19, .07); }
.map-city circle { fill: var(--ink-2); }
.map-city text { fill: var(--ink-2); font-family: var(--f-mono); font-size: 10px; letter-spacing: 1.4px; }
.map-sion circle { fill: var(--red); }
.map-sion text { fill: var(--ink); font-family: var(--f-mono); font-size: 12px; letter-spacing: 2px; }
.map-sion .pulse { fill: none; stroke: var(--red); transform-origin: center; transform-box: fill-box; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(6); opacity: 0; } }
.map-label { fill: var(--ink-3); font-family: var(--f-mono); font-size: 10px; letter-spacing: 1.6px; }
.map-lake { fill: rgba(236,231,222,.05); stroke: var(--line); }
.map-rhone { fill: none; stroke: rgba(216,196,163,.45); stroke-width: 1.4; stroke-dasharray: 3 4; }

.tour { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tour--3 { grid-template-columns: repeat(3, 1fr); }
.tour > div { padding: clamp(22px, 2.4vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; }
.tour b { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-stretch: 125%; font-weight: 250; font-size: clamp(2.3rem, 4vw, 4.2rem); letter-spacing: -.05em; line-height: .95; }
.tour b small { font-size: .42em; color: var(--stone); letter-spacing: 0; }
.tour p { color: var(--ink-2); font-size: .93rem; margin-top: 14px; }
.split { height: 4px; display: flex; gap: 3px; margin-top: 18px; }
.split i { height: 100%; border-radius: 2px; background: var(--stone); }
.split i + i { background: var(--ink-4); }
.valais { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; align-items: center; }
.valais__img { grid-column: 1 / span 6; aspect-ratio: 4 / 5; border-radius: 4px; }
.valais__text { grid-column: 8 / span 5; }
.valais__text .prose { margin-top: 28px; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1100px) {
  .hero__bar { grid-template-columns: 1fr; gap: 22px; }
  .hero__scroll { display: none; }
  .idea__body { grid-template-columns: 60px 1fr; }
  .idea__body > div:last-child { grid-column: 2; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .gt__cols { grid-template-columns: repeat(3, 1fr); }
  .gt__col:nth-child(4) { display: none; }
  .struct__art { grid-column: 1 / -1; }
  .struct__list { grid-column: 1 / -1; }
  .struct__pin { height: auto; padding-block: 40px; row-gap: 30px; }
  .specs { grid-template-columns: repeat(3, 1fr); }
  .spec:nth-child(4) { border-left: 0; padding-left: 0; }
  .icons { grid-template-columns: 1fr; row-gap: 40px; }
  .icons__col ul { grid-template-columns: repeat(4, 1fr); }
  .masonry { grid-template-columns: repeat(6, minmax(0, 1fr)); --cw: calc((100vw - 2 * var(--pad) - 5 * var(--gap)) / 6); }
  .tile, .tile.s-b, .tile.s-c { grid-column: span 3; grid-row: span 2; }
  .tile.s-a, .tile.s-e { grid-column: span 6; grid-row: span 4; }
  .tile.s-d { grid-column: span 3; grid-row: span 3; }
  .tour, .tour--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .shead__label, .shead__title, .shead__lead { grid-column: 1 / -1; }
  .manifesto__label, .manifesto__text, .mottos { grid-column: 1 / -1; }
  .mottos { grid-template-columns: 1fr; gap: 0; }
  .motto { padding-block: 18px 22px; }
  .ideas__pin { height: auto; display: block; padding-block: var(--section) 40px; }
  .ideas__track { flex-direction: column; gap: 64px; transform: none !important; }
  .ideas__intro, .idea { flex: none; width: 100%; }
  .idea { height: auto; grid-template-rows: auto auto; }
  .idea__media { aspect-ratio: 4 / 3.4; }
  .idea__body { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
  .idea__body > div:last-child { grid-column: 1; }
  .idea__body .h3 { overflow-wrap: break-word; }
  .ideas__progress { display: none; }
  .ideas__hint { display: none; }
  .modes__grid { grid-template-columns: 1fr; gap: 36px; }
  .modes__stage { bottom: auto; height: 62svh; }
  .modes__stage::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(10,11,13,.1) 18%, rgba(10,11,13,.1) 45%, rgba(10,11,13,.8) 80%, var(--bg) 100%); }
  .modes__ui { padding-top: 34svh; }
  .et__head { grid-template-columns: 1fr; gap: 24px; }
  .et__frame { aspect-ratio: 4 / 4.2; }
  .et__cta { width: 118px; height: 118px; margin: -59px 0 0 -59px; }
  .et__feats { grid-template-columns: 1fr; gap: 0; }
  .et__feats div { padding-block: 14px; }
  .et__hud .tr { display: none; }
  .gt { height: auto; }
  .gt__cols { position: relative; inset: auto; }
  .gt__col:nth-child(2) { margin-top: 60px; }
  .gt__col:nth-child(1) .media:nth-child(4) { display: none; }
  .gt__cols { grid-template-columns: repeat(2, 1fr); }
  .gt__col:nth-child(3) { display: none; }
  .duo { grid-template-columns: 1fr; }
  .phero__foot { grid-template-columns: 1fr; gap: 20px; }
  .phero__index { display: none; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .principle svg { margin-bottom: 26px; }
  .evo__rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62vw; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
  .evo__rail::-webkit-scrollbar { display: none; }
  .evo__step { scroll-snap-align: start; }
  .evo__line, .evo__dots { display: none; }
  .croquis__note { position: static; text-align: left; margin-top: 24px; }
  .ref, .ref:nth-child(even) { row-gap: 26px; }
  .ref__media, .ref:nth-child(even) .ref__media, .ref__body, .ref:nth-child(even) .ref__body { grid-column: 1 / -1; grid-row: auto; }
  .site-plan__art, .site-plan__side { grid-column: 1 / -1; }
  .dir summary { grid-template-columns: 30px minmax(0, 1fr) 40px; gap: 12px; }
  .dir summary .h3 { font-size: clamp(1.05rem, 5.2vw, 1.5rem); overflow-wrap: break-word; hyphens: auto; }
  .dir__plus { width: 40px; height: 40px; }
  .dir__body { grid-template-columns: 1fr; }
  .dir__body p, .dir__body .dir__kpis { grid-column: 1; }
  .roof__img, .roof__img2, .roof__text { grid-column: 1 / -1; grid-row: auto; }
  .floor__video, .floor__steps { grid-column: 1 / -1; }
  .floor__steps { grid-template-rows: none; grid-template-columns: 1fr 1fr; column-gap: var(--gap); row-gap: 10px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .spec b { white-space: normal; font-size: 1.6rem; }
  .spec, .spec + .spec { padding: 20px 12px 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .icons__col ul { grid-template-columns: 1fr 1fr; }
  .conf__plan, .conf__side { grid-column: 1 / -1; }
  .conf { row-gap: 20px; }
  .conf__tabs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; margin-top: 24px; }
  .conf__tabs button { padding: 12px 0; }
  .conf__tabs button.is-active { padding-left: 0; }
  .conf__tabs .t { font-size: .9rem; }
  .prog__legend { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .prog__seg span { display: none; }
  .palm__nums, .palm__text { grid-column: 1 / -1; }
  .palm__nums { grid-template-columns: 1fr 1fr 1fr; }
  .srow { grid-template-columns: 1.3fr 1fr 60px; }
  .srow .stad, .srow .date { display: none; }
  .srow .bar { grid-column: 1 / -1; grid-row: 2; }
  .region__map, .region__side { grid-column: 1 / -1; }
  .valais__img, .valais__text { grid-column: 1 / -1; }
  .next__arrow { width: 48px; }
}

@media (max-width: 600px) {
  .hero__title .l2 { padding-left: 10vw; }
  .hero__top .label:last-child { display: none; }
  .reel { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .reel .label span { display: none; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 170px; padding: 18px 14px 20px; }
  .stat__num { font-size: clamp(1.9rem, 9.6vw, 3rem); }
  .stat__lbl { font-size: .84rem; }
  .masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .filters .wrap { padding-inline: 0; }
  .filters__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-inline: var(--pad); }
  .filters__list::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .tile, .tile.s-b, .tile.s-c, .tile.s-d { grid-column: span 1; grid-row: auto; aspect-ratio: 1 / 1.05; }
  .tile.s-a, .tile.s-e { grid-column: span 2; grid-row: auto; aspect-ratio: 3 / 2; }
  .tile__cap { display: none; }
  .palm__nums { grid-template-columns: 1fr; }
  .palm__n + .palm__n { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 26px; }
  .tour, .tour--3 { grid-template-columns: 1fr; }
  .map-city text { font-size: 16px; }
  .map-label { font-size: 15px; }
  .map-sion text { font-size: 19px; }
  .map-city:nth-child(n) text { letter-spacing: .5px; }
  .tour > div { min-height: 0; }
  .lb__thumbs { display: none; }
  .lb__nav { top: auto; bottom: 14px; margin: 0; }
  .expand__words { flex-direction: column; align-items: center; gap: 8px; }
  .modes__tabs button { grid-template-columns: 30px 1fr auto; }
  .duo__foot { flex-direction: column; align-items: flex-start; gap: 20px; }
  .duo__card { min-height: 560px; }
}

/* =========================================================================
   ROUND 2 — art-director fixes
   ========================================================================= */
/* hero: title block in the lower band, stadium kept clear above */
@media (min-width: 861px) {
  .hero__media img, .hero__media video { object-position: 50% 100%; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(7,8,10,.55) 0%, rgba(7,8,10,0) 16%, rgba(7,8,10,0) 56%, rgba(7,8,10,.62) 74%, rgba(7,8,10,.93) 100%);
  }
  .hero__title { margin-bottom: clamp(14px, 1.5vw, 24px); white-space: nowrap; font-size: 3.2vw; }
  .hero__title .line { display: inline-block; vertical-align: baseline; }
  .hero__title .l1 { font-size: clamp(3.4rem, 8.2vw, 10.5rem); line-height: .86; }
  .hero__title .l2 { font-size: clamp(3.6rem, 8.6vw, 11rem); line-height: .86; padding-left: .06em; margin-top: 0; }
  .hero__bar { padding-top: 16px; }
  .hero__tag span.t { display: inline; }
  .hero__tag span.t + span.t::before { content: " "; }
  .hero__tag { max-width: 24em; }
}
@media (min-width: 1200px) {
  .hero__bar { grid-template-columns: auto 1fr auto; column-gap: clamp(40px, 5vw, 96px); }
  .hero__tag { white-space: nowrap; max-width: none; }
}

/* explorer teaser: real footage + stills */
.et__frame video, .et__frame img { filter: none; }
.et__frame::after { background: radial-gradient(80% 90% at 50% 50%, transparent 55%, rgba(10,11,13,.55)); }
.et__cta { background: var(--red); color: #fff; box-shadow: 0 20px 60px rgba(227,6,19,.35); }
.et__frame:hover .et__cta { background: var(--ink); color: var(--bg); }
.et__stills { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: var(--gap); }
.et__still { display: block; }
.et__still .media { aspect-ratio: 16 / 10; border-radius: 3px; }
.et__still .media img { transition: transform 1.4s var(--ease); }
.et__still:hover .media img { transform: scale(1.05); }
.et__still figcaption { display: flex; gap: 12px; align-items: baseline; padding-top: 14px; color: var(--ink-2); font-size: .95rem; }
.et__still figcaption .label { color: var(--stone); }
@media (max-width: 860px) {
  .et__stills { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74vw; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
  .et__stills::-webkit-scrollbar { display: none; }
  .et__still { scroll-snap-align: start; }
  .roof__img { aspect-ratio: 4 / 3; min-height: 0; }
  .modes { height: auto; min-height: 100svh; }
}
.next--show .media { opacity: .7; }
.next--show:hover .media { opacity: 1; }
.next--show .media::after { background: linear-gradient(90deg, rgba(10,11,13,.75), rgba(10,11,13,.2) 70%); }
@media (min-width: 861px) {
  .modes__tabs { background: rgba(10,11,13,.5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 6px; padding: 4px 22px; }
  .modes__tabs button:last-of-type { border-bottom: 0; }
}
.et__frame::after { background: linear-gradient(180deg, rgba(10,11,13,.5), rgba(10,11,13,0) 16%, rgba(10,11,13,0) 80%, rgba(10,11,13,.55)), radial-gradient(85% 95% at 50% 50%, transparent 60%, rgba(10,11,13,.45)); }
.et__hud .label { color: var(--ink); }

/* tablettes tactiles (iPad) : les cinq idées défilent verticalement, sans pin horizontal */
@media (min-width: 861px) and (any-pointer: coarse) {
  .ideas__pin { height: auto; display: block; padding-block: var(--section) 40px; }
  .ideas__track { flex-direction: column; gap: clamp(56px, 7vw, 96px); transform: none !important; }
  .ideas__intro { flex: none; width: 100%; max-width: 760px; }
  .ideas__intro .h2 { margin: 22px 0 18px; }
  .idea { flex: none; width: 100%; height: auto; grid-template-rows: auto auto; }
  .idea__media { aspect-ratio: 16 / 9; }
  .idea__body { grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.25fr); }
  .ideas__progress, .ideas__hint { display: none; }
}
