/* RVPK Real Estates — design system
   Navy #0A1931 + Gold #C5A059 + White. Poppins (display) / Inter (text),
   one serif italic accent for the single emphasised word in a headline. */

:root {
  --navy: #0A1931;
  --navy-2: #0F2342;
  --navy-3: #16305A;
  --gold: #C5A059;
  --gold-hi: #E6CC92;
  --gold-lo: #9C7A3A;
  --ivory: #F7F4EE;
  --paper: #FFFFFF;
  --ink: #0A1931;
  --muted: #5A6377;
  --line: rgba(10, 25, 49, .12);
  --line-dark: rgba(255, 255, 255, .12);
  --radius: 22px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --f-display: "Poppins", system-ui, sans-serif;
  --f-text: "Inter", system-ui, sans-serif;
  --f-accent: "Cormorant Garamond", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 var(--f-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 12px/1 var(--f-text); letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-lo);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.dark .eyebrow { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 300; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
.display { font-size: clamp(44px, 9vw, 128px); line-height: .98; letter-spacing: -.035em; }
.h1 { font-size: clamp(38px, 6.2vw, 84px); }
.h2 { font-size: clamp(32px, 4.6vw, 60px); }
.h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 400; }
em.accent, .accent {
  font-family: var(--f-accent); font-style: italic; font-weight: 500;
  color: var(--gold); letter-spacing: -.01em;
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; }
.dark .lead { color: rgba(255,255,255,.72); }
p { margin: 0 0 1em; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--navy);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 500 15px/1 var(--f-text); letter-spacing: .01em; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(197,160,89,.65); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn-ghost:hover { box-shadow: none; background: rgba(197,160,89,.08); }
.dark .btn-ghost { --fg: #fff; border-color: rgba(255,255,255,.35); }
.btn-navy { --bg: var(--navy); --fg: #fff; }
.btn-navy:hover { box-shadow: 0 14px 30px -12px rgba(10,25,49,.55); }
.btn-block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: calc(16px + env(safe-area-inset-top, 0px)) 0 auto; z-index: 50;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: calc(var(--max) - 2 * var(--gutter) + 32px); margin: 0 auto;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  margin-inline: max(12px, calc((100% - var(--max)) / 2 + var(--gutter) - 16px));
  background: rgba(10, 25, 49, .55);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.scrolled .nav { background: rgba(10, 25, 49, .9); box-shadow: 0 18px 40px -20px rgba(10,25,49,.6); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font: 600 17px/1 var(--f-display); letter-spacing: .12em; color: var(--gold); }
.brand-text small { font: 500 8.5px/1 var(--f-text); letter-spacing: .32em; color: rgba(255,255,255,.7); margin-top: 5px; text-transform: uppercase; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 16px; border-radius: 999px;
  font-size: 14px; color: rgba(255,255,255,.78); transition: color .25s, background .25s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav .btn { padding: 12px 20px; font-size: 14px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: #fff; position: relative; transition: transform .35s var(--ease), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.menu-open .nav-toggle span { background: transparent; }
.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.mobile-menu a.m-link {
  font: 300 clamp(34px, 9vw, 52px)/1.25 var(--f-display); letter-spacing: -.02em;
  opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s;
}
.mobile-menu a.m-link:hover, .mobile-menu a.m-link[aria-current="page"] { color: var(--gold); }
.mobile-menu .m-foot { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .mobile-menu a.m-link { opacity: 1; transform: none; }
.menu-open .mobile-menu a.m-link:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu a.m-link:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu a.m-link:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu a.m-link:nth-child(5) { transition-delay: .2s; }
.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  background:
    radial-gradient(120% 80% at 80% 10%, #1B3766 0%, transparent 55%),
    radial-gradient(90% 70% at 0% 100%, #13294D 0%, transparent 60%),
    var(--navy);
  color: #fff; overflow: hidden; isolation: isolate;
  padding: 140px 0 clamp(48px, 8vh, 96px);
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { /* fine grain so the gradient never bands */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none;
  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");
}
.hero .eyebrow { margin-bottom: 28px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.2s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }
.hero-foot {
  margin-top: clamp(32px, 6vh, 64px); padding-top: 28px; border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end;
  opacity: 0; animation: fade 1s .6s var(--ease) forwards;
}
.hero-foot .lead { margin: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@keyframes fade { to { opacity: 1; } }
.horizon {
  position: absolute; left: 50%; top: 30%; width: min(70vw, 900px); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold) 30%, #fff6dc 50%, var(--gold) 70%, transparent);
  box-shadow: 0 0 18px 2px rgba(230,204,146,.45); opacity: .0; z-index: -1;
  animation: fade 2s 1s var(--ease) forwards;
}
.scroll-cue {
  position: absolute; right: var(--gutter); top: 50%; writing-mode: vertical-rl;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: 14px;
}
.scroll-cue::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--gold), transparent); animation: drip 2.4s infinite var(--ease); }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* page hero (inner pages) */
.page-hero {
  position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate;
  padding: clamp(150px, 22vh, 220px) 0 clamp(64px, 10vh, 110px);
}
.page-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .7; }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero .lead { margin-top: 24px; }
.crumbs { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 40px; }
.crumbs a:hover { color: var(--gold); }

/* ---------- marquee ---------- */
.marquee { background: var(--navy-2); color: rgba(255,255,255,.85); border-block: 1px solid var(--line-dark); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 36px; padding: 22px 18px;
  font: 300 clamp(18px, 2.2vw, 26px)/1 var(--f-display); white-space: nowrap; letter-spacing: -.01em;
}
.marquee-track span::after { content: "✦"; color: var(--gold); font-size: .6em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 13vw, 168px) 0; position: relative; }
.section.tight { padding: clamp(64px, 9vw, 112px) 0; }
.section.ivory { background: var(--ivory); }
.section.dark { background: var(--navy); color: #fff; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head .lead { margin: 0; justify-self: end; }

/* statement — words light up as it scrolls through */
.statement { font: 300 clamp(28px, 4.4vw, 58px)/1.18 var(--f-display); letter-spacing: -.025em; max-width: 22ch; }
.statement .w { color: rgba(10,25,49,.24); transition: color .5s var(--ease); }
.statement .w.on { color: var(--ink); }
.statement .w.gold.on { color: var(--gold-lo); font-family: var(--f-accent); font-style: italic; font-weight: 500; }
.statement-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.statement-side { position: sticky; top: 120px; align-self: start; }
.statement-side p { color: var(--muted); font-size: 15px; margin-top: 20px; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 36px 28px 40px 0; border-right: 1px solid var(--line); position: relative; }
.pillar + .pillar { padding-left: 28px; }
.pillar:last-child { border-right: 0; }
.pillar .num { font: 400 13px/1 var(--f-text); color: var(--gold-lo); letter-spacing: .14em; }
.pillar .icon { width: 44px; height: 44px; margin: 28px 0 24px; color: var(--gold); }
.pillar h3 { font-size: 22px; font-weight: 400; margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: 15px; margin: 0; }
.pillar::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--gold);
  transition: width .9s var(--ease);
}
.pillar + .pillar::before { left: 0; }
.pillar.in::before { width: 100%; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(56px, 8vw, 96px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.stat { padding: 36px 32px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 200 clamp(48px, 6vw, 76px)/1 var(--f-display); letter-spacing: -.04em;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; }

/* ---------- project cards ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.p-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; min-height: 520px; isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.p-card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(10,25,49,.8); }
.p-art { position: absolute; inset: 0; z-index: -1; }
.p-art .g { position: absolute; inset: -20%; transition: transform 1.4s var(--ease); }
.p-card:hover .p-art .g { transform: scale(1.06) rotate(-2deg); }
.p-art svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; transition: opacity .6s; }
.p-card:hover .p-art svg { opacity: .85; }
.p-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,25,49,0) 35%, rgba(10,25,49,.92) 100%); }
.g-1 { background: radial-gradient(60% 50% at 70% 25%, rgba(230,204,146,.55), transparent 70%), radial-gradient(70% 60% at 10% 70%, #23457E, transparent 70%), linear-gradient(160deg, #10264A, #0A1931); }
.g-2 { background: radial-gradient(55% 45% at 25% 30%, rgba(197,160,89,.6), transparent 70%), radial-gradient(70% 60% at 90% 80%, #1C3A6B, transparent 70%), linear-gradient(200deg, #0F2344, #0A1931); }
.g-3 { background: radial-gradient(60% 50% at 50% 15%, rgba(240,218,170,.45), transparent 70%), radial-gradient(80% 60% at 80% 60%, #2A3F66, transparent 70%), linear-gradient(180deg, #132B52, #0A1931); }
.p-top { display: flex; justify-content: space-between; align-items: center; padding: 22px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px);
  font: 500 11px/1 var(--f-text); letter-spacing: .16em; text-transform: uppercase;
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(197,160,89,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(197,160,89,0); } 100% { box-shadow: 0 0 0 0 rgba(197,160,89,0); } }
.p-idx { font: 300 13px/1 var(--f-text); color: rgba(255,255,255,.6); letter-spacing: .12em; }
.p-body { margin-top: auto; padding: 28px; }
.p-loc { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gold-hi); letter-spacing: .06em; margin-bottom: 12px; }
.p-loc svg { width: 16px; height: 16px; }
.p-body h3 { font: 300 clamp(30px, 3vw, 40px)/1.05 var(--f-display); letter-spacing: -.02em; margin-bottom: 22px; }
.p-body .btn { padding: 13px 22px; }

/* ---------- capabilities (tabs) ---------- */
.tabs { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.tab-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.tab-btn {
  text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer;
  padding: 26px 0; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 8px;
  color: rgba(10,25,49,.4); transition: color .35s;
}
.tab-btn .n { font-size: 13px; letter-spacing: .14em; }
.tab-btn .t { font: 300 clamp(26px, 3.2vw, 42px)/1.1 var(--f-display); letter-spacing: -.02em; }
.tab-btn .plus { width: 22px; height: 22px; transition: transform .45s var(--ease); }
.tab-btn[aria-selected="true"] { color: var(--ink); }
.tab-btn[aria-selected="true"] .plus { transform: rotate(45deg); color: var(--gold); }
.tab-btn:hover { color: var(--ink); }
.tab-desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); grid-column: 2 / -1; }
.tab-desc > span { overflow: hidden; display: block; min-height: 0; }
.tab-desc p { color: var(--muted); font: 400 15.5px/1.6 var(--f-text); margin: 14px 0 4px; max-width: 46ch; letter-spacing: 0; }
.tab-btn[aria-selected="true"] .tab-desc { grid-template-rows: 1fr; }
.tab-stage {
  position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--radius); overflow: hidden; background: var(--navy);
}
.tab-panel { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.tab-panel.active { opacity: 1; transform: none; }
.tab-panel svg.art { position: absolute; inset: 0; width: 100%; height: 100%; }
.tab-panel .cap { position: absolute; left: 24px; bottom: 22px; right: 24px; display: flex; justify-content: space-between; align-items: end; color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.tab-panel .cap b { font: 300 64px/1 var(--f-display); letter-spacing: -.04em; color: var(--gold); }
.draw path, .draw line, .draw rect, .draw polyline, .draw circle { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
.tab-panel.active .draw path, .tab-panel.active .draw line, .tab-panel.active .draw rect, .tab-panel.active .draw polyline, .tab-panel.active .draw circle { animation: draw 2.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--line-dark); }
.process .bar { position: absolute; left: 0; top: 27px; height: 1px; width: 0; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); box-shadow: 0 0 12px rgba(230,204,146,.6); transition: width 2.4s var(--ease); }
.process.in .bar { width: 100%; }
.step { position: relative; padding-right: 28px; }
.step .dot {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: var(--navy); border: 1px solid rgba(197,160,89,.5); color: var(--gold); font: 400 14px/1 var(--f-text); letter-spacing: .06em;
  transition: background .6s var(--ease), color .6s, box-shadow .6s;
}
.process.in .step .dot { background: var(--gold); color: var(--navy); box-shadow: 0 0 0 8px rgba(197,160,89,.12); }
.process.in .step:nth-child(3) .dot { transition-delay: .5s; }
.process.in .step:nth-child(4) .dot { transition-delay: 1.1s; }
.process.in .step:nth-child(5) .dot { transition-delay: 1.7s; }
.step h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 300; margin: 32px 0 12px; }
.step p { color: rgba(255,255,255,.66); font-size: 15px; margin: 0; max-width: 28ch; }

/* ---------- about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm-card { border-radius: var(--radius); padding: clamp(32px, 4vw, 56px); position: relative; overflow: hidden; min-height: 440px; display: flex; flex-direction: column; }
.vm-card.navy { background: var(--navy); color: #fff; }
.vm-card.gold { background: linear-gradient(160deg, #D9BB7C, var(--gold) 50%, #A9843F); color: var(--navy); }
.vm-card .label { font: 500 12px/1 var(--f-text); letter-spacing: .22em; text-transform: uppercase; opacity: .75; }
.vm-card blockquote { margin: auto 0 0; font: 300 clamp(22px, 2.4vw, 32px)/1.3 var(--f-display); letter-spacing: -.02em; }
.vm-card .big { position: absolute; right: -10px; top: -40px; font: 500 italic 260px/1 var(--f-accent); opacity: .12; pointer-events: none; }

.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.leader { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: 96px 1fr; gap: 24px; background: var(--paper); transition: border-color .4s, transform .5s var(--ease); }
.leader:hover { border-color: var(--gold); transform: translateY(-3px); }
.monogram { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #234272, var(--navy)); color: var(--gold); font: 300 30px/1 var(--f-display); letter-spacing: .04em; border: 1px solid rgba(197,160,89,.4); }
.leader h3 { font-size: 24px; font-weight: 400; }
.leader .role { color: var(--gold-lo); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 8px 0 14px; }
.leader p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- enquiry strip ---------- */
.cta-strip { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(40px, 6vw, 80px); isolation: isolate; }
.cta-strip::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(197,160,89,.45), transparent 65%); z-index: -1; }
.cta-strip .grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; }
.cta-strip .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-strip img.mark { position: absolute; right: clamp(24px, 6vw, 90px); top: 50%; height: 260px; width: auto; opacity: .06; transform: translateY(-50%); z-index: -1; }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.field label .req { color: var(--gold-lo); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--paper); font-size: 16px; transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(197,160,89,.18); }
.field.invalid input { border-color: #C0392B; }
.field .err { font-size: 12.5px; color: #B03A2E; min-height: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; cursor: pointer; transition: all .25s; background: var(--paper); }
.chip input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-note { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); margin: 0; }
.form .hp { position: absolute; left: -9999px; }
.form-success { display: none; text-align: center; padding: 24px 8px; }
.form-success .tick { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(197,160,89,.14); color: var(--gold-lo); }
.form-success h3 { font-size: 28px; margin-bottom: 10px; }
.form-success p { color: var(--muted); }
.sent .form { display: none; } .sent .form-success { display: block; }

/* contact page */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.contact-list { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); color: var(--gold-lo); }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-list a, .contact-list span.v { font: 400 19px/1.4 var(--f-display); }
.contact-list a:hover { color: var(--gold-lo); }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 48px); box-shadow: 0 40px 80px -60px rgba(10,25,49,.5); }
.form-card h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 28px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 15, 30, .62); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s var(--ease); }
.modal-dialog {
  position: relative; width: 100%; max-width: 640px; max-height: calc(100svh - 32px); overflow: auto;
  background: var(--paper); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 44px);
  transform: translateY(24px) scale(.98); opacity: 0; transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.modal.open { visibility: visible; }
.modal.open .modal-backdrop { opacity: 1; }
.modal.open .modal-dialog { transform: none; opacity: 1; }
.modal-close { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; display: grid; place-items: center; }
.modal-close svg { width: 18px; height: 18px; }
.modal-dialog h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 14px 0 8px; padding-right: 40px; }
.modal-dialog > p { color: var(--muted); margin-bottom: 26px; }

/* header phone */
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.85); }
.nav-phone svg { width: 16px; height: 16px; color: var(--gold); }
.nav-phone:hover { color: var(--gold); }

/* home focus cards */
.focus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.f-card { position: relative; display: block; padding: 32px 28px 72px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: border-color .4s, transform .5s var(--ease), background .4s; }
.f-card .n { font-size: 13px; letter-spacing: .14em; color: var(--gold-lo); }
.f-card h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 40px 0 10px; }
.f-card p { color: var(--muted); font-size: 15px; margin: 0; }
.f-card > svg { position: absolute; right: 28px; bottom: 28px; width: 18px; height: 18px; color: var(--gold-lo); transition: transform .4s var(--ease); }
.f-card:hover { border-color: var(--gold); transform: translateY(-4px); background: var(--ivory); }
.f-card:hover > svg { transform: translateX(5px); }

/* project status tabs */
.status-tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--ivory); margin-bottom: 32px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.status-tabs button { white-space: nowrap; flex: none; border: 0; background: none; padding: 11px 18px; border-radius: 999px; font-size: 14px; cursor: pointer; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.status-tabs b { font-weight: 500; font-size: 12px; min-width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; background: rgba(10,25,49,.08); }
.status-tabs [aria-selected="true"] { background: var(--navy); color: #fff; }
.status-tabs [aria-selected="true"] b { background: var(--gold); color: var(--navy); }
.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 64px 24px; text-align: center; color: var(--muted); display: flex; flex-direction: column; gap: 16px; align-items: center; }
.empty .link-arrow { background: none; border: 0; border-bottom: 1px solid; cursor: pointer; color: var(--ink); }

.foot-legal { font-size: 12px; color: rgba(255,255,255,.4); max-width: 90ch; margin: 0 0 20px; }

/* mobile quick-action bar (shown < 760px in place of the floating buttons) */
.mbar { display: none; }

/* ---------- floating actions ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: transform .35s var(--ease); position: relative; }
.fab a:hover { transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; }
.fab .wa { background: #25D366; }
.fab .wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.6s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.fab .call { background: var(--navy); border: 1px solid rgba(197,160,89,.6); color: var(--gold); }
.fab .tip { position: absolute; right: 68px; white-space: nowrap; background: var(--navy); color: #fff; font-size: 13px; padding: 8px 12px; border-radius: 8px; opacity: 0; transform: translateX(6px); transition: all .3s var(--ease); pointer-events: none; }
.fab a:hover .tip { opacity: 1; transform: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: clamp(72px, 10vw, 120px) 0 32px; position: relative; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.foot-top img { height: 64px; width: auto; margin-bottom: 22px; }
.foot-top h4 { font: 500 12px/1 var(--f-text); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.foot-top a:hover { color: #fff; }
.foot-word { font: 200 clamp(64px, 17vw, 260px)/.8 var(--f-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(197,160,89,.28); margin: 48px 0 -.08em; white-space: nowrap; user-select: none; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.5); border-top: 1px solid var(--line-dark); }

/* ---------- reveal ---------- */
.rise { opacity: 0; transform: translateY(24px); animation: riseIn 1.1s var(--ease) .1s forwards; }
.rise[data-delay="1"] { animation-delay: .22s; } .rise[data-delay="2"] { animation-delay: .36s; }
@keyframes riseIn { to { opacity: 1; transform: none; } }
.reveal { transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; } .reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(3) { padding-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
  .projects { grid-template-columns: 1fr 1fr; }
  .projects .p-card:last-child { grid-column: 1 / -1; min-height: 420px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .process::before, .process .bar { display: none; }
}
@media (max-width: 1180px) { .nav-phone span { display: none; } }
@media (max-width: 760px) {
  .fab { display: none; }
  .status-tabs button { padding: 10px 12px; font-size: 13px; }
  .focus { grid-template-columns: 1fr; }
  .mbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px; gap: 6px; border-radius: 18px; background: rgba(10,25,49,.94); backdrop-filter: blur(14px); box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); padding-bottom: max(6px, env(safe-area-inset-bottom)); }
  .mbar a, .mbar button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 4px; border-radius: 12px; border: 0; background: none; color: #fff; font-size: 12px; cursor: pointer; }
  .mbar svg { width: 20px; height: 20px; color: var(--gold); }
  .mbar button { background: var(--gold); color: var(--navy); }
  .mbar button svg { color: var(--navy); }
  .site-footer { padding-bottom: 110px; }
  .hero-foot, .section-head, .tabs, .split, .vm, .leaders, .contact-grid, .cta-strip .grid, .statement-grid { grid-template-columns: 1fr; }
  .section-head .lead { justify-self: start; }
  .hero-ctas, .cta-strip .actions { justify-content: flex-start; }
  .scroll-cue { display: none; }
  .projects { grid-template-columns: 1fr; }
  .projects .p-card:last-child { grid-column: auto; }
  .p-card { min-height: 440px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .form { grid-template-columns: 1fr; }
  .statement-side { position: static; }
  .vm-card { min-height: 340px; }
  .leader { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .tab-stage { order: -1; aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 32px 0; border-right: 0; }
  .pillar:nth-child(n+2) { border-top: 1px solid var(--line); }
  .foot-top { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .hero-ctas .btn, .cta-strip .actions .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .rise { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
