/* Platinum Textiles — V2 cinematic layer (7 Oct 2026): dark hero with video, outlined type,
   scroll-driven motion, photo wall, glyph band, phases, image bands. Loads after site.css. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* intro: the logo preloader lives in theme.css + loader.js (11 Oct 2026) */

/* header over the dark hero */
.site-head { transition: transform .45s var(--ease), background .3s, border-color .3s; }
.site-head.hide { transform: translateY(-100%); }
.site-head.dark { background: rgba(24, 24, 24, .55); border-bottom-color: rgba(255, 255, 255, .14); color: var(--white); }
.site-head.dark .nav a { color: rgba(255, 255, 255, .85); }
.site-head.dark .nav a::after { background: var(--white); }
.site-head.dark .nav .btn--fill { color: var(--ink); }
.site-head.dark .menu-btn { border-color: rgba(255, 255, 255, .6); }
.site-head.dark .menu-btn span, .site-head.dark .menu-btn span::before, .site-head.dark .menu-btn span::after { background: var(--white); }
.menu-open .site-head.dark .menu-btn span { background: transparent; }

/* cinematic hero */
.hero--cine { padding: 0; background: var(--ink); color: var(--white); position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
.hero--cine .media { position: absolute; inset: 0; overflow: hidden; }
.hero--cine video, .hero--cine .media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.85); }
.hero--cine .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 24, 24, .55) 0%, rgba(24, 24, 24, .15) 40%, rgba(24, 24, 24, .78) 100%), linear-gradient(90deg, rgba(24, 24, 24, .6) 0%, rgba(24, 24, 24, 0) 60%); }
.hero--cine .frame { position: absolute; inset: calc(var(--h-nav) + 18px) var(--gutter) 18px; border: 1px solid rgba(255, 255, 255, .28); pointer-events: none; z-index: 1; }
.hero--cine .frame i { position: absolute; width: 22px; height: 22px; background: linear-gradient(var(--taupe), var(--taupe)) center / 1px 100% no-repeat, linear-gradient(var(--taupe), var(--taupe)) center / 100% 1px no-repeat; }
.hero--cine .frame i:nth-child(1) { top: -12px; left: -12px; } .hero--cine .frame i:nth-child(2) { top: -12px; right: -12px; } .hero--cine .frame i:nth-child(3) { bottom: -12px; left: -12px; } .hero--cine .frame i:nth-child(4) { bottom: -12px; right: -12px; }
.hero--cine .frame .label { position: absolute; color: rgba(255, 255, 255, .62); }
.hero--cine .frame .label.tl { top: 14px; left: 16px; } .hero--cine .frame .label.tr { top: 14px; right: 16px; }
.hero--cine .ghost { position: absolute; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .13); font-size: clamp(7rem, 19vw, 17rem); left: auto; right: -1vw; transform: none; top: auto; bottom: 12vh; letter-spacing: .02em; z-index: 1; }
.hero--cine .wrap { position: relative; z-index: 2; padding: calc(var(--h-nav) + 12vh) 0 0; }
.hero--cine h1 { font-size: clamp(3.2rem, 8.6vw, 8rem); max-width: 11ch; color: var(--white); }
.hero--cine h1 .accent { color: var(--taupe); }
.hero--cine .lede { color: rgba(255, 255, 255, .82); margin-top: 28px; max-width: 48ch; }
.hero--cine .btn-row { margin-top: 32px; }
.hero--cine .btn { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.hero--cine .btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero--cine .btn--fill { background: var(--taupe); border-color: var(--taupe); color: var(--ink); }
.hero--cine .btn--fill:hover { background: var(--white); border-color: var(--white); }
.hero--cine .text-link { color: rgba(255, 255, 255, .85); }
.hero--cine .hero-foot { margin-top: clamp(40px, 8vh, 96px); border-top: 1px solid rgba(255, 255, 255, .25); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 24px; padding: 22px 0 28px; align-items: center; }
.hero--cine .hero-foot div strong { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1; }
.hero--cine .hero-foot div span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-top: 8px; }
.hero--cine .scroll-cue { color: rgba(255, 255, 255, .6); }
.hero--cine .scroll-cue i { background: rgba(255, 255, 255, .6); }
.hero--cine .pt { position: absolute; right: calc(var(--gutter) + 24px); top: calc(var(--h-nav) + 64px); width: clamp(70px, 9vw, 130px); z-index: 2; opacity: .95; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); }
@media (max-width: 860px) { .hero--cine .hero-foot { grid-template-columns: 1fr 1fr; } .hero--cine .hero-foot .scroll-cue { display: none; } .hero--cine .pt { top: calc(var(--h-nav) + 40px); right: 28px; width: 60px; } .hero--cine .ghost { display: block; font-size: 30vw; } .hero--cine .frame { inset: calc(var(--h-nav) + 12px) 12px 12px; } }

/* word reveal for headlines */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); }
.in .w > span, .w.in > span { transform: none; }
@media not all { .w > span { transform: none; } }

/* outlined type (fills on reveal / hover) */
.outline { color: transparent; -webkit-text-stroke: 1px currentColor; transition: color .6s var(--ease), -webkit-text-stroke .6s; }
.band--ink .outline { -webkit-text-stroke: 1px rgba(255, 255, 255, .8); }
.rows li:hover .outline, .rows li.lit .outline { color: inherit; -webkit-text-stroke: 1px transparent; }
.band--ink .rows li:hover .outline, .band--ink .rows li.lit .outline { color: var(--white); }

/* giant word band */
.bigword { padding: clamp(28px, 4vw, 48px) 0; overflow: hidden; }
.bigword .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.bigword h2 { font-size: clamp(4rem, 13vw, 12rem); line-height: .9; letter-spacing: -.03em; }
.bigword .label { text-align: right; line-height: 1.8; }

/* consolidation: five stages become one name */
.converge { height: 135vh; position: relative; }
.converge .stage { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.converge .word { position: absolute; font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3.2vw, 3rem); color: rgba(255, 255, 255, .85); transition: transform 1.3s var(--ease), opacity 1s var(--ease); white-space: nowrap; }
.converge .word:nth-child(1) { transform: translate(-32vw, -28vh); } .converge .word:nth-child(2) { transform: translate(30vw, -22vh); } .converge .word:nth-child(3) { transform: translate(-30vw, 24vh); } .converge .word:nth-child(4) { transform: translate(34vw, 20vh); } .converge .word:nth-child(5) { transform: translate(0, 34vh); }
.converge.in .word { transform: translate(0, 0); opacity: 0; }
.converge .name { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 9vw, 8.5rem); line-height: .95; text-align: center; letter-spacing: -.02em; opacity: 0; transform: scale(.92); transition: opacity 1s var(--ease) .6s, transform 1.2s var(--ease) .6s; padding: 0 var(--gutter); }
.converge.in .name { opacity: 1; transform: none; }
.converge .name .accent { color: var(--taupe); }
.converge .kick { position: absolute; top: calc(var(--h-nav) + 32px); left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; gap: 16px; }
.converge .sub { position: absolute; bottom: 36px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--rule-light); padding-top: 18px; opacity: 0; transition: opacity 1s var(--ease) .9s; flex-wrap: wrap; }
.converge.in .sub { opacity: 1; }
.converge .sub .big { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.8rem); }
.converge .sub .big .accent { color: var(--taupe); }
@media (max-width: 700px) { .converge .word:nth-child(1) { transform: translate(-22vw, -30vh); } .converge .word:nth-child(2) { transform: translate(22vw, -20vh); } .converge .word:nth-child(3) { transform: translate(-20vw, 18vh); } .converge .word:nth-child(4) { transform: translate(24vw, 28vh); } .converge .word:nth-child(5) { transform: translate(0, 38vh); } }

/* photo wall (two rows, opposite drift) */
.wall { overflow: hidden; padding: 0; }
.wall .row { display: flex; width: max-content; gap: 18px; padding: 9px 0; animation: drift 70s linear infinite; }
.wall .row--rev { animation-direction: reverse; animation-duration: 84s; }
.wall figure { margin: 0; width: clamp(180px, 20vw, 300px); aspect-ratio: 4 / 5; background: var(--greige); overflow: hidden; position: relative; flex: none; }
.wall img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ease), transform 1.2s var(--ease); }
.wall figure:hover img { filter: none; transform: scale(1.04); }
.wall figcaption { position: absolute; left: 12px; bottom: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--white); background: rgba(24, 24, 24, .7); padding: 5px 8px; }
.wall:hover .row { animation-play-state: paused; }
@media not all { .wall .row { animation: none; } }

/* glyph band (giant monogram + wave) */
.glyph { min-height: 70vh; display: grid; align-items: center; }
.glyph .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 32px; }
.glyph .mono { width: clamp(180px, 26vw, 400px); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); }
.glyph .meta { text-align: right; line-height: 2; }
.glyph .big { font-family: var(--serif); font-weight: 200; font-size: clamp(4rem, 14vw, 13rem); line-height: .85; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .45); text-align: right; }

/* phases: tabs over tiles (reference "21 steps") */
.phases-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; margin-bottom: 32px; }
.phases-head .meta { text-align: right; line-height: 2; }
.tiles .tile summary .t { font-size: 1.35rem; }
.tile summary .top i::before, .tile summary .top i::after { background: var(--taupe); }
.tile { transition: background .3s; }
.tile:hover { background: rgba(255, 255, 255, .05); }
.phases-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.phases-foot .big { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 300; }
.phases-foot .big .accent { color: var(--taupe); }
@media (max-width: 700px) { .phases-head, .glyph .wrap { grid-template-columns: 1fr; } .phases-head .meta, .glyph .meta, .glyph .big { text-align: left; } }

/* full-bleed image bands */
.bleed { position: relative; min-height: 70vh; display: grid; align-items: end; color: var(--white); overflow: hidden; background: var(--ink); }
.bleed .media { position: absolute; inset: 0; overflow: hidden; }
.bleed .media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); }
.bleed .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 24, 24, .2), rgba(24, 24, 24, .78)); }
.bleed .wrap { position: relative; z-index: 1; padding: 48px 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.bleed h2 { color: var(--white); font-size: clamp(2.4rem, 5.6vw, 5rem); max-width: 12ch; }
.bleed .label { color: rgba(255, 255, 255, .7); }
.bleed p { color: rgba(255, 255, 255, .8); }
.bleed--tall { min-height: 90vh; }
.bleed .grain { position: absolute; inset: 0; opacity: .14; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode: overlay; pointer-events: none; z-index: 1; }
.bleed .media img.mono { filter: grayscale(1) contrast(1.1) brightness(.8); }

/* textures grid (what we make) */
.textures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--rule-light); border: 1px solid var(--rule-light); }
.textures figure { margin: 0; position: relative; aspect-ratio: 1; overflow: hidden; background: var(--ink); }
.textures img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.textures figure:hover img { transform: scale(1.06); }
.textures figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; background: linear-gradient(transparent, rgba(24, 24, 24, .85)); display: flex; justify-content: space-between; align-items: baseline; }
.textures figcaption strong { font-family: var(--serif); font-weight: 300; font-size: 1.8rem; color: var(--white); }
.textures figcaption span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
@media (max-width: 700px) { .textures { grid-template-columns: 1fr; } }

/* route panel: autoplay progress */
.panel__head { position: relative; }
.panel .progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--rule); }
.panel .progress i { display: block; height: 100%; width: 0; background: var(--taupe-deep); transition: width .1s linear; }

/* parallax via scroll-driven animation (progressive) */
@supports (animation-timeline: view()) {
  .bleed .media img { animation: px linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes px { from { transform: scale(1.15) translateY(-6%); } to { transform: scale(1.15) translateY(6%); } }
}

/* service counter hover sweep */
.rows--link li { position: relative; }
.rows--link li::before { content: ""; position: absolute; inset: 0; background: var(--greige); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); z-index: -1; }
.rows--link li:hover::before { transform: scaleX(1); }
.rows--link h3 { padding-left: 12px; transition: padding-left .4s var(--ease); }
.rows--link li:hover h3 { padding-left: 24px; }

/* work index: floating preview */
.peek { position: fixed; width: 220px; aspect-ratio: 4 / 5; pointer-events: none; z-index: 60; opacity: 0; transform: translate(-50%, -50%) scale(.9); transition: opacity .3s, transform .4s var(--ease); overflow: hidden; background: var(--greige); }
.peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .peek { display: none; } }

/* magnetic buttons */
.btn { transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .35s var(--ease); }

/* marquee bigger + tilt variant */
.marquee__item { font-size: clamp(1.5rem, 2.6vw, 2.4rem); }
.tilt-wrap { background: var(--ink); overflow: hidden; padding: 36px 0; }
.marquee--tilt { transform: rotate(-2deg) scale(1.06); }

/* work card: grayscale → colour */
.work-card img { filter: grayscale(.3); }
.work-card:hover img { filter: none; }

/* values cells (about) */
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--rule-strong); }
.values > div { padding: 28px 28px 32px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.values > div:nth-child(2n) { border-right: 0; }
.values > div:nth-last-child(-n+2) { border-bottom: 0; }
.values h3 { font-size: 1.8rem; margin-bottom: 10px; }
.values p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 700px) { .values { grid-template-columns: 1fr; } .values > div { border-right: 0 !important; border-bottom: 1px solid var(--rule) !important; } .values > div:last-child { border-bottom: 0 !important; } }

/* sampling cards (how it works) */
.sample-cards { --gap: 2px; }
.scard { border: 1px solid var(--rule-light); padding: 28px; }
.scard .label { color: var(--taupe); }
.scard p { color: rgba(255, 255, 255, .75); }

.tiles[hidden] { display: none; }
.glyph .big { font-size: clamp(3rem, 8.5vw, 8rem); line-height: .95; }

@media (max-width: 700px) { .hero--cine .frame .label.tr { display: none; } .hero--cine .wrap { padding-top: calc(var(--h-nav) + 16vh); } }

/* ---------- production tracker (reference-style order sheet) ---------- */
.tracker { --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; background: var(--white); border: 1px solid var(--ink); color: var(--ink); font-family: var(--mono); font-size: 13px; letter-spacing: .08em; --tr-progress: 0%; }
.tr-head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 20px 24px 18px; border-bottom: 1px solid var(--ink); }
.tr-head h3 { font-family: var(--serif); font-size: 1.7rem; letter-spacing: -.01em; }
.tr-kick { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe-ink); margin: 0 0 6px; }
.tr-stage { text-align: right; font-size: 11px; text-transform: uppercase; color: var(--ink-soft); }
.tr-stage strong { display: block; font-size: 15px; color: var(--ink); margin-top: 4px; font-weight: 500; }
.tr-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: rgba(24, 24, 24, .12); }
.tr-bar i { display: block; height: 100%; width: var(--tr-progress); background: var(--taupe-deep); transition: width .9s var(--ease); }
.tr-rows { list-style: none; margin: 0; padding: 14px 10px; }
.tr-row { display: grid; grid-template-columns: 16px 28px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 7px 14px; cursor: pointer; transition: background .3s, color .3s; text-transform: uppercase; font-weight: 500; }
.tr-row:hover { background: var(--greige); }
.tr-box { width: 14px; height: 14px; border: 1px solid var(--ink); position: relative; transition: background .3s, border-color .3s; }
.tr-box::after { content: ""; position: absolute; left: 4px; top: 0; width: 4px; height: 9px; border: solid var(--white); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.is-done .tr-box { background: var(--ink); }
.is-done .tr-box::after { transform: rotate(45deg) scale(1); }
.is-now .tr-box { border-color: var(--taupe-deep); }
.is-now .tr-box::before { content: ""; position: absolute; inset: 3px; background: var(--taupe-deep); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.is-pending .tr-box, .is-next .tr-box { border-color: rgba(24, 24, 24, .3); }
.tr-n { font-size: 11px; color: var(--ink-soft); }
.tr-name { display: flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; }
.is-pending .tr-name, .is-pending .tr-n { color: rgba(24, 24, 24, .45); }
.is-now .tr-name { color: var(--taupe-ink); }
.is-next { background: #f4f1ec; }
.is-next .tr-name { color: var(--taupe-ink); }
.tr-flag, .tr-tag { display: none; font-size: 10px; letter-spacing: .12em; padding: 3px 7px; line-height: 1.2; }
.tr-tag { display: inline-block; border: 1px solid var(--taupe-deep); color: var(--taupe-ink); }
.is-now .tr-flag { display: inline-block; border: 1px solid var(--ink); color: var(--ink); background: var(--white); }
.tr-right { font-size: 12px; color: var(--ink-soft); white-space: nowrap; text-transform: none; letter-spacing: .06em; }
.is-done .tr-right { color: var(--ink); }
.tr-body { padding: 18px 24px; border-top: 1px solid var(--ink); min-height: 96px; }
.tr-body p:last-child { margin: 0; font-family: var(--sans); font-size: 15px; letter-spacing: 0; color: var(--ink-2); }
.tr-foot { display: flex; justify-content: space-between; gap: 16px; padding: 12px 24px; border-top: 1px solid rgba(24, 24, 24, .18); font-size: 10px; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 560px) { .tr-row { padding: 7px 8px; gap: 10px; font-size: 12px; } .tr-right { font-size: 11px; } .tr-head, .tr-body, .tr-foot { padding-inline: 16px; } .tr-rows { padding: 10px 4px; } .tr-tag { display: none; } }

/* handwritten-style note (reference's parenthetical aside) */
.note { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.15rem; color: var(--ink); margin-top: 28px; }
.note-arrow { display: inline-block; margin-left: 10px; font-style: normal; font-size: 1.3rem; }

/* drafting-sheet annotations */
.anno { position: absolute; z-index: 2; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .45); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.band--taupe .anno, .band--greige .anno, .band:not(.band--ink) .anno { color: rgba(24, 24, 24, .5); }
.band--ink .anno { color: rgba(255, 255, 255, .45); }
.anno.tl { top: 22px; left: var(--gutter); } .anno.tr { top: 22px; right: var(--gutter); } .anno.bl { bottom: 22px; left: var(--gutter); } .anno.br { bottom: 22px; right: var(--gutter); }
.band { position: relative; }
.ast { color: var(--taupe); font-size: 1.6rem; line-height: 1; }
@media (max-width: 700px) { .anno.tr, .anno.br { display: none; } }

/* custom cursor */
.cursor { position: fixed; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--taupe); pointer-events: none; z-index: 300; opacity: 0; transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s; mix-blend-mode: difference; }
.cursor.show { opacity: 1; }
.cursor.link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(153, 146, 138, .55); }
@media (hover: none) { .cursor { display: none; } }

/* header: no hide/show (it flickered); simple colour switch */
.site-head { transition: background .35s, border-color .35s, color .35s; transform: none !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-head.dark { background: linear-gradient(rgba(24, 24, 24, .7), rgba(24, 24, 24, 0)); border-bottom-color: transparent; }
.site-head.dark .brand span { color: var(--white); }

/* converge handled by GSAP when available */
.converge.gsap .word { transition: none; opacity: 1; }
.converge.gsap .name, .converge.gsap .sub { transition: none; }

/* header: fixed + GPU layer (sticky + smooth scroll flickered at the page end) */
.site-head { position: fixed; top: 0; left: 0; right: 0; transform: translateZ(0) !important; backface-visibility: hidden; will-change: background; }
body { padding-top: var(--h-nav); }
.hero--cine { margin-top: calc(-1 * var(--h-nav)); }
html { scroll-behavior: auto; }
.cursor { mix-blend-mode: normal; background: rgba(153, 146, 138, .9); }

@media (max-width: 700px) { .converge { height: 120vh; } .converge .word { font-size: 1.3rem; } .converge .kick { top: calc(var(--h-nav) + 16px); } }

/* ===== v4 ===== */
/* hero media: both layers fill the box (the video sat below the still before) */
.hero--cine .media > img, .hero--cine .media > video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero--cine .media > video { z-index: 1; }
/* header: own compositing layer, nothing that repaints with the page */
.site-head { contain: layout paint style; isolation: isolate; transform: translate3d(0, 0, 0) !important; will-change: auto; }
html, body { overflow-x: clip; }
body { overflow-x: clip !important; }
/* canvas waves */
canvas.wave { position: absolute; right: -8%; top: 50%; transform: translateY(-50%); width: min(1100px, 90vw); aspect-ratio: 1672 / 932; height: auto; opacity: .9; pointer-events: none; -webkit-mask-image: linear-gradient(to right, transparent, #000 35%); mask-image: linear-gradient(to right, transparent, #000 35%); }
canvas.wave.wave--low { top: auto; bottom: -30%; transform: none; }
.site-foot canvas.wave { opacity: .6; top: 45%; }
/* tilt + loupe */
.tilt { transform-style: preserve-3d; transition: transform .5s var(--ease); will-change: transform; }
.tilt.on { transition: transform .08s linear; }
.textures figure { cursor: none; }
.loupe { position: absolute; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); pointer-events: none; opacity: 0; transition: opacity .25s; background-repeat: no-repeat; background-size: 260% auto; transform: translate(-50%, -50%); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); z-index: 3; }
.textures figure:hover .loupe { opacity: 1; }
/* hero mouse parallax layers */
.hero--cine .ghost, .hero--cine .pt { will-change: transform; }
/* phases tiles hover */
.tile summary { transition: background .3s, padding-left .3s var(--ease); }
.tile summary:hover { padding-left: 26px; }

.hero--cine .media::after { z-index: 2; background: linear-gradient(180deg, rgba(24, 24, 24, .5) 0%, rgba(24, 24, 24, .2) 40%, rgba(24, 24, 24, .8) 100%), linear-gradient(90deg, rgba(24, 24, 24, .78) 0%, rgba(24, 24, 24, .25) 55%, rgba(24, 24, 24, 0) 75%); }
.hero--cine h1 .accent { color: #b9b1a8; }

/* ===== phone polish ===== */
@media (max-width: 700px) {
  .converge { height: 110vh; }
  .converge .word { font-size: 1.05rem; max-width: 44vw; white-space: normal; text-align: center; }
  .converge .name { font-size: clamp(2.6rem, 14vw, 4rem); }
  .converge .sub { bottom: 24px; }
  .glyph { min-height: 0; padding-block: 56px; }
  .glyph .wrap { grid-template-columns: 1fr; gap: 24px; }
  .glyph .mono { width: 140px; }
  .glyph .big { font-size: clamp(2.6rem, 13vw, 4rem); line-height: 1; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile summary { min-height: 0; padding: 14px 14px 16px; gap: 12px; }
  .tile summary .t { font-size: 1.1rem; }
  .tile p { padding: 0 14px 16px; font-size: 13px; }
  .phases button { padding: 12px 14px; }
  .phases button .t { font-size: 1.1rem; }
  .bigword h2 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .bigword .wrap { flex-direction: column; align-items: flex-start; }
  .bigword .label { text-align: left; }
  .hero--cine h1 { font-size: clamp(2.6rem, 11.5vw, 4rem); }
  .hero--cine .pt { width: 52px; }
  .wall figure { width: 44vw; }
  .cells--3 .num { font-size: 2.6rem; }
  .tracker { font-size: 11px; letter-spacing: .05em; }
  .tr-row { grid-template-columns: 14px 22px minmax(0, 1fr) auto; gap: 8px; }
  .tr-flag { display: none !important; }
  .is-now .tr-name::after { content: "●"; color: var(--taupe-deep); font-size: 8px; margin-left: 6px; }
  .tr-right { font-size: 10px; }
  .anno.tl, .anno.bl { display: none; }
  .bleed { min-height: 60vh; }
  .bleed--tall { min-height: 70vh; }
  .cta .btn-row .btn { width: 100%; justify-content: center; }
  .note { font-size: 1rem; }
}

/* 7: headings one weight up on phones (thin serif read light on small screens) */
@media (max-width: 700px) { h1, h2, h3, .lede--serif, .converge .name, .bigword h2 { font-weight: 400; } .hero--cine h1 { font-weight: 400; } }

/* logo wall (reference-style white tiles, drifting) */
.logos { overflow: hidden; padding: 6px 0; }
.logos__track { display: flex; gap: 14px; width: max-content; animation: drift 60s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logo-tile { flex: none; width: 212px; height: 104px; background: var(--white); border: 1px solid var(--rule); display: grid; place-items: center; padding: 22px 26px; text-decoration: none; color: var(--ink); transition: border-color .3s, transform .4s var(--ease); }
.logo-tile:hover { border-color: var(--ink); transform: translateY(-3px); }
.logo-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; filter: grayscale(1) contrast(1.1); opacity: .85; transition: filter .3s, opacity .3s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile span { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; letter-spacing: -.01em; text-align: center; line-height: 1.1; }
@media (max-width: 700px) { .logo-tile { width: 160px; height: 84px; padding: 16px 18px; } .logo-tile span { font-size: 1.1rem; } }

/* ===== phone: waves + monogram band ===== */
@media (max-width: 700px) {
  canvas.wave { width: 160vw; right: -30vw; top: auto; bottom: -6%; transform: none; opacity: .55; -webkit-mask-image: linear-gradient(to right, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(to right, transparent, #000 25%, #000 75%, transparent); }
  canvas.wave.wave--low { bottom: -8%; }
  .site-foot canvas.wave { bottom: 18%; opacity: .35; }
  .glyph { padding-block: 72px 140px; }
  .glyph .wrap { gap: 28px; }
  .glyph .mono { width: 120px; }
  .glyph .big { font-size: clamp(2.4rem, 12vw, 3.6rem); margin-bottom: 18px; }
  .glyph .meta { line-height: 1.9; font-size: 10px; }
  .band--ink.glyph { overflow: hidden; }
  .cta { padding-bottom: 120px; }
}

/* mobile nav lives outside the header now (the header's paint containment was clipping it) */
.mobile-nav { z-index: 49; }
.menu-open .site-head { background: var(--ink); color: var(--white); border-bottom-color: rgba(255,255,255,.14); }
.menu-open .site-head .brand span { color: var(--white); }
.menu-open .site-head .menu-btn { border-color: rgba(255,255,255,.6); }
.menu-open .site-head .menu-btn span::before, .menu-open .site-head .menu-btn span::after { background: var(--white); }

.mobile-nav .btn { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; display: inline-flex; padding: 0 20px; }

/* wave hero: a sheet of bold lines drawn live in 3D (hero-wave.js); pinned while it rolls through four copy beats */
.hero--wave { min-height: 0; height: 420vh; display: block; overflow: visible; }
.hero--wave .stage { position: sticky; top: 0; height: 100svh; min-height: 600px; display: grid; align-items: end; overflow: hidden; background: var(--ink); }
.hero--wave canvas.hero-wave { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero--wave .stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 24, 24, .32) 0%, rgba(24, 24, 24, 0) 32%, rgba(24, 24, 24, .74) 100%), linear-gradient(90deg, rgba(24, 24, 24, .5) 0%, rgba(24, 24, 24, 0) 55%); pointer-events: none; }
.hero--wave .wrap { position: relative; z-index: 2; }
.hero--wave .deck { display: grid; }
.hero--wave .beat { grid-area: 1 / 1; opacity: 0; transition: opacity .32s var(--ease); pointer-events: none; }
.hero--wave .beat.on { opacity: 1; pointer-events: auto; transition: opacity .7s var(--ease) .28s; }
.hero--wave .beat .eyebrow { display: block; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); margin-bottom: 16px; }
.hero--wave .beat h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(3.2rem, 8.6vw, 8rem); line-height: 1.02; letter-spacing: -.012em; max-width: 11ch; color: var(--white); margin: 0; }
.hero--wave .beat .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero--wave .beat .w span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease) .28s; }
.hero--wave .beat.on .w span { transform: none; }
.hero--wave .beat .w:nth-child(2) span { transition-delay: .34s; } .hero--wave .beat .w:nth-child(3) span { transition-delay: .4s; } .hero--wave .beat .w:nth-child(4) span { transition-delay: .46s; } .hero--wave .beat .w:nth-child(5) span { transition-delay: .52s; } .hero--wave .beat .w:nth-child(6) span { transition-delay: .58s; }
.hero--wave .beat .lede { transition: opacity .7s var(--ease) .5s, transform .9s var(--ease) .5s; transform: translateY(10px); opacity: 0; }
.hero--wave .beat.on .lede { transform: none; opacity: 1; }
.hero--wave .stages { position: absolute; right: calc(var(--gutter) + 24px); top: 50%; transform: translateY(-50%); z-index: 2; margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; text-align: right; }
.hero--wave .stages li { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .42); transition: color .4s; }
.hero--wave .stages li i { display: block; width: 28px; height: 1px; background: rgba(255, 255, 255, .3); transition: width .4s var(--ease), background .4s; }
.hero--wave .stages li.on { color: var(--white); } .hero--wave .stages li.on i { width: 48px; background: var(--taupe); }
.hero--wave .stages li.done i { background: rgba(255, 255, 255, .6); }
@media (max-width: 860px) {
  .hero--wave { height: 480vh; height: 480svh; } .hero--wave .stage { min-height: 560px; }
  .hero--wave .stages { top: auto; bottom: 14px; right: var(--gutter); transform: none; display: flex; gap: 6px; }
  .hero--wave .stages li span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero--wave .stages li i { width: 18px; } .hero--wave .stages li.on i { width: 30px; }
  .hero--wave .beat h2, .hero--wave .beat h1 { font-size: clamp(2.3rem, 10.5vw, 3.6rem); }
  .hero--wave .hero-foot { grid-template-columns: 1fr 1fr 1fr; gap: 12px; padding-bottom: 36px; }
}
@media (max-height: 700px) { .hero--wave .stages { display: none; } }
