/* =========================================================
   Cinematic construction editorial
   real photography · photoreal steel · warm sunset light
   ========================================================= */
:root {
  --bg: #0d0c0b;
  --ink: #f3eee6;
  --muted: #a39b8f;
  --line: rgba(243, 238, 230, 0.12);
  --amber: #ff8a3d;     /* sunset / red-oxide primer */
  --yellow: #f2b90f;    /* crane yellow */
  --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); }
::selection { background: var(--amber); color: #000; }
[data-img] { background-size: cover; background-position: center; }

/* film grain over everything */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* no blend mode on the grain: a fixed blended layer repaints the whole screen on every scroll */
body::after { mix-blend-mode: normal; opacity: .05; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px clamp(18px, 4vw, 52px); transition: background .4s, backdrop-filter .4s; }
.nav.solid { background: rgba(13,12,11,.7); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.logo { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.nav nav { display: flex; gap: 30px; font-size: 14px; color: rgba(243,238,230,.75); }
.nav nav a:hover { color: #fff; }
.nav-cta { font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 999px; background: var(--ink); color: #000; }
@media (max-width: 760px) { .nav nav { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--ink); color: #000; transition: transform .25s, background .25s; }
.btn:hover { transform: translateY(-2px); background: #fff; }
.btn.ghost { background: rgba(255,255,255,.08); color: var(--ink); border: 1px solid rgba(255,255,255,.22); }
.btn.ghost:hover { background: rgba(255,255,255,.16); }
.btn.big { font-size: clamp(16px, 2vw, 20px); padding: 20px 34px; background: var(--amber); }
.btn.big:hover { background: #ffa463; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(255,138,61,.7); animation: ping 1.6s infinite; }
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(255,138,61,0); } }

.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin: 0 0 22px; }
.title { font-weight: 700; font-size: clamp(42px, 6.4vw, 92px); line-height: .95; letter-spacing: -0.045em; margin: 0 0 60px; }
.title em { color: var(--muted); }
.sub { color: rgba(243,238,230,.78); font-size: clamp(16px, 1.5vw, 19px); max-width: 520px; margin: 0; }

/* ---------- 1. hero ---------- */
.hero { position: relative; height: 100vh; min-height: 680px; overflow: hidden; }
.hero-bg { position: absolute; inset: -6% 0 0; transform: scale(1.08); animation: heroIn 2.4s cubic-bezier(.2,.8,.2,1) forwards; will-change: transform; }
@keyframes heroIn { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(13,12,11,.55) 0%, rgba(13,12,11,0) 28%, rgba(13,12,11,.15) 55%, var(--bg) 100%),
  radial-gradient(ellipse 70% 60% at 30% 40%, rgba(13,12,11,.35), transparent 70%); }
.hero-meta { position: absolute; top: 86px; left: clamp(18px, 4vw, 52px); right: clamp(18px, 4vw, 52px); display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(243,238,230,.7); border-top: 1px solid rgba(243,238,230,.25); padding-top: 12px; z-index: 2; }
.hero-title { position: absolute; left: clamp(18px, 4vw, 52px); right: clamp(18px, 4vw, 52px); top: 22vh; margin: 0; z-index: 1;
  font-weight: 800; font-size: clamp(54px, 10.5vw, 178px); line-height: .86; letter-spacing: -0.055em; }
.hero-title span, .hero-title em { display: block; }
.hero-title em { font-weight: 400; letter-spacing: -0.035em; color: #ffd8b8; padding-left: .04em; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.hero-title .w > i { display: inline-block; font-style: inherit; transform: translateY(105%); animation: up 1.1s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes up { to { transform: none; } }
#beam { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero-foot { position: absolute; left: clamp(18px, 4vw, 52px); right: clamp(18px, 4vw, 52px); bottom: 54px; z-index: 3; display: flex; flex-direction: column; gap: 26px; max-width: 560px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-cue { position: absolute; right: clamp(18px, 4vw, 52px); bottom: 54px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(243,238,230,.7); }
.scroll-cue i { width: 1px; height: 54px; background: rgba(243,238,230,.25); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: cue 1.8s infinite; }
@keyframes cue { to { top: 100%; } }
@media (max-width: 760px) { .hero-title { top: 18vh; } .scroll-cue { display: none; } }

/* ---------- 2. about ---------- */
.about { position: relative; height: 240vh; }
.about .sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.about-bg { position: absolute; inset: 0; transform: scale(1.15); will-change: transform; filter: saturate(.9); }
.about-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,12,11,.92) 0%, rgba(13,12,11,.75) 55%, rgba(13,12,11,.45) 100%); }
.about-inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 52px); width: 100%; }
.reveal-text { font-weight: 600; font-size: clamp(28px, 4vw, 56px); line-height: 1.08; letter-spacing: -0.035em; margin: 0; max-width: 1100px; }
.reveal-text span { opacity: .16; transition: opacity .3s; }
.reveal-text span.on { opacity: 1; }
.reveal-text span.hot { font-family: var(--serif); font-style: italic; font-weight: 400; color: #ffc59b; letter-spacing: -0.01em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.stat { padding: 20px 20px 0 0; }
.stat b { display: block; font-weight: 700; font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -0.05em; line-height: 1; }
.stat span { font-size: 13px; color: var(--muted); }
.toolbox { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.toolbox span { font-size: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: rgba(243,238,230,.75); background: rgba(13,12,11,.6); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .toolbox { display: none; } }

/* ---------- 3. corridor ---------- */
.corridor-wrap { position: relative; height: 640vh; }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden; perspective: 1000px;
  background: radial-gradient(ellipse 60% 50% at 50% 55%, #2a1a10 0%, var(--bg) 70%); }
.corridor-title { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; pointer-events: none; }
.corridor-title h2 { font-weight: 800; font-size: clamp(48px, 8vw, 128px); line-height: .9; letter-spacing: -0.05em; margin: 0 0 18px; }
.corridor-title h2 em { color: #ffc59b; }
.hint { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0; }
.corridor { position: absolute; inset: 0; transform-style: preserve-3d; }
.frame { position: absolute; left: 50%; top: 50%; width: min(460px, 64vw); margin: 0; will-change: transform, opacity; backface-visibility: hidden; }
.frame .ph { aspect-ratio: 4 / 5; border-radius: 6px; background: #1b1916 center / cover no-repeat; box-shadow: 0 50px 90px -30px rgba(0,0,0,.9); }
.frame figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; }
.frame h3 { margin: 0 0 4px; font-size: 24px; letter-spacing: -0.03em; font-weight: 700; }
.frame p { margin: 0; font-size: 13px; color: var(--muted); max-width: 300px; }
.frame small { font: 11px var(--mono); color: var(--amber); white-space: nowrap; letter-spacing: .08em; padding-top: 6px; }
.corridor-progress { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); width: 180px; height: 2px; background: var(--line); }
.corridor-progress i { display: block; height: 100%; width: 0; background: var(--amber); }

/* ---------- 4. now ---------- */
.now { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; }
.now-photo { position: relative; overflow: hidden; clip-path: inset(12% 12% 12% 12%); transition: clip-path 1.4s cubic-bezier(.2,.8,.2,1); }
.now-photo.in { clip-path: inset(0 0 0 0); }
.now-photo > div { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.2); transition: transform 1.8s cubic-bezier(.2,.8,.2,1); }
.now-photo.in > div { transform: scale(1); }
.now-copy { display: flex; flex-direction: column; justify-content: center; padding: 100px clamp(24px, 5vw, 80px); }
.now-copy h2 { font-weight: 800; font-size: clamp(64px, 9vw, 150px); line-height: .85; letter-spacing: -0.06em; margin: 0 0 24px; }
.now-copy .status { display: inline-flex; align-items: center; gap: 10px; font: 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 26px; }
.now-copy p { font-size: clamp(18px, 1.8vw, 22px); color: rgba(243,238,230,.82); line-height: 1.45; margin: 0 0 30px; max-width: 520px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: rgba(243,238,230,.8); }
@media (max-width: 860px) { .now { grid-template-columns: 1fr; } .now-photo { min-height: 60vh; } }

/* ---------- 5. milestones ---------- */
.milestones { position: relative; padding: 160px 0 120px; overflow: hidden; }
.ms-bg { position: absolute; inset: 0; opacity: .14; filter: grayscale(.4); mask-image: linear-gradient(transparent, #000 25%, #000 70%, transparent); }
.ms-inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 52px); }
.ms-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ms-list li { display: grid; grid-template-columns: 110px 52px 1fr minmax(160px, 240px); gap: 22px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line);
  transition: padding .35s cubic-bezier(.2,.8,.2,1), background .35s; position: relative; }
.ms-list li::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,138,61,.12), transparent 70%); opacity: 0; transition: opacity .35s; }
.ms-list li:hover { padding-left: 16px; }
.ms-list li:hover::before { opacity: 1; }
.ms-list .n { font: 12px var(--mono); color: var(--muted); }
.ms-list h3 { margin: 0; font-weight: 600; font-size: clamp(22px, 2.6vw, 36px); letter-spacing: -0.035em; line-height: 1.05; }
.ms-list h3 + p { margin: 6px 0 0; font-size: 14px; color: var(--muted); max-width: 560px; }
.ms-list .org { font-size: 14px; color: rgba(243,238,230,.75); }
.ms-list .yr { font: 500 15px var(--mono); color: var(--amber); letter-spacing: .04em; white-space: nowrap; }
@media (max-width: 760px) { .ms-list li { grid-template-columns: 52px 1fr; gap: 6px 16px; } .ms-list .yr { grid-column: 1 / -1; } .ms-list .org { grid-column: 2; } }

/* ---------- 6. journey ---------- */
.journey { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 80px); max-width: 1240px; margin: 0 auto; padding: 140px clamp(18px, 4vw, 52px); }
.journey-side { position: sticky; top: 100px; align-self: start; }
.journey-img { aspect-ratio: 4 / 5; border-radius: 6px; margin-bottom: 30px; filter: saturate(1.05); }
.journey-head .title { margin-bottom: 0; font-size: clamp(40px, 5vw, 72px); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; border-left: 1px solid var(--line); }
.tl-progress { position: absolute; left: -1px; top: 0; width: 1px; height: 0; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.timeline li { position: relative; padding: 0 0 54px; }
.timeline li::before { content: ""; position: absolute; left: -40px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1px solid var(--muted); transition: all .4s; }
.timeline li.in::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 5px rgba(255,138,61,.18); }
.timeline time { font: 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.timeline h3 { margin: 6px 0 6px; font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.035em; line-height: 1.05; }
.timeline p { margin: 0; color: var(--muted); max-width: 520px; }
@media (max-width: 860px) { .journey { grid-template-columns: 1fr; } .journey-side { position: static; } .journey-img { aspect-ratio: 16 / 10; } }

/* ---------- 7. contact ---------- */
.contact { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; transform: scale(1.1); will-change: transform; }
.contact-shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(13,12,11,.2) 35%, rgba(13,12,11,.75) 100%); }
.contact-inner { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 52px) 110px; }
.contact-title { font-weight: 800; font-size: clamp(60px, 11vw, 190px); line-height: .84; letter-spacing: -0.06em; margin: 0 0 30px; }
.contact-title em { color: #ffd8b8; }
.contact .sub { margin-bottom: 34px; }
.socials { display: flex; gap: 26px; margin-top: 34px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,238,230,.75); }
.socials a:hover { color: #fff; }

footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 24px clamp(18px, 4vw, 52px); border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

/* reveal */
.rv { opacity: 0; transform: translateY(36px); transition: opacity 1s, transform 1s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .hero-title .w > i { transform: none; }
  .now-photo { clip-path: none; }
  html { scroll-behavior: auto; }
}
.now-link { align-self: flex-start; margin-top: 34px; background: var(--amber); }
.now-link:hover { background: #ffa463; }

.now-logo { margin: 0 0 18px; }
.now-logo img { display: block; height: clamp(70px, 9vw, 130px); width: auto; }
.now-copy .now-tag { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 38px); color: #ffd8b8; margin: 0 0 18px; line-height: 1.1; }
.badge-mark { width: 20px; height: 20px; border-radius: 4px; }

/* organisation logo chips */
.org-logo { flex: none; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: #fff; overflow: hidden; padding: 6px; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.org-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.org-logo.dark { background: #16140f; }
.org-logo.initials { background: rgba(255,255,255,.06); color: var(--muted); font: 600 13px var(--mono); box-shadow: inset 0 0 0 1px var(--line); }
.org-logo.sm { width: 30px; height: 30px; border-radius: 7px; padding: 3px; margin-right: 10px; vertical-align: -6px; }
.frame h3, .timeline h3 { display: flex; align-items: center; }

/* ---------- roots: Salawas ---------- */
.village { position: relative; padding: 0; background: #14110d; overflow: hidden; }
/* a dhurrie-pattern band, like the rugs woven in Salawas */
.weave { height: 34px; background:
  linear-gradient(135deg, #b4461d 25%, transparent 25%) -17px 0 / 34px 34px,
  linear-gradient(225deg, #b4461d 25%, transparent 25%) -17px 0 / 34px 34px,
  linear-gradient(315deg, #2c3e66 25%, transparent 25%) 0 0 / 34px 34px,
  linear-gradient(45deg, #2c3e66 25%, transparent 25%) 0 0 / 34px 34px,
  repeating-linear-gradient(90deg, #e9dcc3 0 6px, #d9c7a6 6px 12px);
  border-top: 4px solid #e9dcc3; border-bottom: 4px solid #e9dcc3; opacity: .9; }
.village-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 100px); max-width: 1240px; margin: 0 auto; padding: 140px clamp(18px, 4vw, 52px); align-items: center; }
.village-photos { position: relative; aspect-ratio: 4 / 5; }
.vp { position: absolute; background-size: cover; background-position: center; border-radius: 6px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.vp.main { inset: 0 14% 8% 0; }
.vp.inset { width: 40%; aspect-ratio: 4 / 5; border: 6px solid #14110d; }
.vp.i1 { right: 0; top: 10%; }
.vp.i2 { right: 6%; bottom: 0; width: 34%; }
.village-name { font-weight: 800; font-size: clamp(72px, 11vw, 168px); line-height: .82; letter-spacing: -0.06em; margin: 0 0 14px; color: #f3e6cf; }
.village-kicker { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 36px); color: #ffc59b; margin: 0 0 30px; line-height: 1.15; }
.village-story p { font-size: clamp(16px, 1.4vw, 18px); color: rgba(243,238,230,.8); margin: 0 0 16px; max-width: 560px; }
.village-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 30px 0 18px; border-top: 1px solid var(--line); }
.village-facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.village-facts dt { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.village-facts dd { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.village-credit { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(163,155,143,.6); margin: 0; }
@media (max-width: 860px) { .village-grid { grid-template-columns: 1fr; padding-top: 90px; } }

/* ---------- vector portrait (About) ---------- */
.about-inner { position: relative; }
.portrait { position: absolute; right: clamp(18px, 4vw, 52px); top: 50%; transform: translateY(-58%); width: clamp(220px, 24vw, 340px); margin: 0; z-index: 2; }
.portrait .arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 10px 10px; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #ff8a3d 0%, #b4461d 45%, #2a140b 100%);
  box-shadow: 0 0 0 1px rgba(255,197,155,.35), 0 0 0 10px rgba(13,12,11,.6), 0 0 0 11px rgba(255,197,155,.2), 0 50px 90px -30px rgba(0,0,0,.9); }
.portrait .arch::before { content: ""; position: absolute; inset: 0; opacity: .25;
  background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(0,0,0,.35) 22px 23px), repeating-linear-gradient(90deg, transparent 0 22px, rgba(0,0,0,.35) 22px 23px); }
.portrait img { position: absolute; left: 50%; bottom: 0; width: 118%; transform: translateX(-50%); display: block; }
.portrait figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; }
.portrait figcaption b { font-size: 16px; letter-spacing: -0.02em; }
.portrait figcaption span { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
@media (min-width: 1101px) { .about .reveal-text, .about .stats, .about .toolbox, .about .eyebrow { max-width: calc(100% - clamp(260px, 28vw, 400px)); } }
@media (max-width: 1100px) { .portrait { position: relative; right: auto; top: auto; transform: none; width: 150px; margin-bottom: 22px; }
  .portrait figcaption { display: none; } .about .sticky { height: auto; min-height: 100vh; padding: 110px 0 60px; } }
.village .vp.main { background-position: 30% center; }
/* fit About text beside the portrait */
@media (min-width: 1101px) { .about .reveal-text { font-size: clamp(26px, 2.9vw, 44px); } .about .stats { margin-top: 40px; } }
/* Salawas: keep the SALAWAS windshield sign visible */
.village .vp.main { inset: 0 0 10% 0; background-position: 37% center; }
.village .vp.i1 { top: auto; right: auto; left: -4%; bottom: -2%; width: 32%; }
.village .vp.i2 { right: -4%; bottom: -4%; width: 30%; }

/* ---------- 3D layer ---------- */
.journey-img { position: relative; overflow: hidden; }
.journey-img::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 50% 45%, rgba(13,12,11,.1), rgba(13,12,11,.9)); }
#tower { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; }
#field { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; pointer-events: none; }
.frame .ph { position: relative; transition: box-shadow .45s; transform-style: preserve-3d; }
.frame .ph::after { content: ""; position: absolute; inset: 0; border-radius: 6px; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.16) 50%, transparent 65%); opacity: 0; transition: opacity .4s; }
.frame:hover .ph { box-shadow: 0 60px 110px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(255,138,61,.35); }
.frame:hover .ph::after { opacity: 1; }
.org-logo { transition: box-shadow .35s; }
.org-logo:hover { box-shadow: 0 18px 30px -10px rgba(255,138,61,.5), 0 0 0 1px rgba(255,138,61,.5); }

/* ---------- go to top (bottom right) ---------- */
.to-top { position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 70;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px;
  background: var(--amber); color: #000; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 14px 30px -10px rgba(255,138,61,.6); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .35s, transform .35s cubic-bezier(.2,.8,.2,1), background .25s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: #ffa463; }
.to-top:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* ---------- skyline: pinned 3D construction site (cranes.js) ---------- */
.skyline { position: relative; height: 320vh; background: var(--bg); }
.skyline-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.skyline-stage::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 22%; z-index: 1; pointer-events: none;
  background: linear-gradient(var(--bg), transparent); }
#skyline-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.skyline-copy { position: absolute; left: clamp(18px, 4vw, 52px); bottom: 12vh; z-index: 2; max-width: 560px; pointer-events: none; }
.skyline-copy .title { margin-bottom: 18px; }
.skyline-copy .sub { max-width: 440px; }

/* ---------- custom cursor (pointer devices only; created by fx.js) ---------- */
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 250; opacity: 0; transition: opacity .3s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1px solid rgba(255,138,61,.7);
  transition: opacity .3s, width .3s, height .3s, margin .3s, background .3s; }
.cursor-ring.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255,138,61,.12); }
body.cursor-on .cursor-dot, body.cursor-on .cursor-ring { opacity: 1; }

/* shown only when the page is opened from disk (file://) */
.file-note { position: fixed; left: 16px; bottom: 16px; z-index: 90; max-width: 360px; padding: 12px 14px; border-radius: 8px;
  background: #1b1916; border: 1px solid var(--line); color: var(--amber); font-size: 11px; line-height: 1.5; letter-spacing: .04em; }
