/* Thirumala Constructions & Developers */
:root {
  --navy: #003B5C;
  --navy-2: #0A4D73;
  --deep: #04121C;
  --deep-2: #0A1F2D;
  --teal: #14A9C9;
  --teal-2: #0E8DAA;
  --ink: #12222D;
  --muted: #5B6B76;
  --line: #E1E8EC;
  --mist: #F2F6F8;
  --paper: #FFFFFF;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 15px; line-height: 1.75; font-weight: 400;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: 0; padding: 0; }
address { font-style: normal; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; }
p { margin: 0 0 1em; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 920px; }
.center { text-align: center; }
.sec { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.sec-tight { padding: clamp(32px, 5vw, 64px) 0; }
.mist { background: var(--mist); }
.dark { background: var(--deep); color: #DCE6EC; }
.dark.navy { background: var(--navy); }

.eyebrow {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--teal-2);
  font-weight: 500; margin-bottom: 18px;
}
.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .project-hero .eyebrow, .cta-band .eyebrow { color: var(--teal); }

.h-display {
  font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08; letter-spacing: -.01em; color: var(--ink); margin-bottom: .45em;
}
.h-display em { font-style: italic; color: var(--teal-2); }
.h-display.light { color: #fff; }
.h-display.light em, .dark .h-display em { color: var(--teal); }
.h-small { font-family: var(--serif); font-size: 26px; margin-bottom: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; font-weight: 500; border-radius: 2px;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, transform .35s var(--ease);
}
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn-solid { background: var(--teal); color: #fff; }
.btn-solid:hover { background: var(--navy); }
.btn-ghost-light { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline { border: 1px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

.link-line {
  display: inline-flex; gap: 14px; align-items: center; padding: 12px 0; font-size: 13px; letter-spacing: .1em;
  color: var(--navy); border-bottom: 1px solid var(--navy); margin-top: 12px; text-transform: capitalize;
}
.link-line span { color: var(--teal); font-size: 18px; transition: transform .4s var(--ease); }
.link-line:hover span { transform: rotate(90deg); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); transition: background .4s, box-shadow .4s, transform .5s var(--ease);
}
.site-header.is-over { position: fixed; left: 0; right: 0; background: transparent; box-shadow: none; }
.site-header.is-over:not(.is-scrolled) { background: linear-gradient(rgba(2,14,22,.55), rgba(2,14,22,0)); }
.site-header.is-scrolled { background: rgba(255,255,255,.97); box-shadow: 0 6px 30px rgba(0,30,50,.08); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: block; width: 104px; position: relative; }
.brand img { width: 100%; height: auto; transition: opacity .35s; }
.brand-dark { position: absolute; inset: 0; }
.brand-light { opacity: 0; }
.site-header.is-over:not(.is-scrolled) .brand-light { opacity: 1; }
.site-header.is-over:not(.is-scrolled) .brand-dark { opacity: 0; }

.nav-inline .menu { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-inline a { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; position: relative; padding: 6px 0; color: var(--ink); }
.nav-inline a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-inline a:hover::after, .nav-inline .current-menu-item a::after { transform: scaleX(1); transform-origin: left; }
.site-header.is-over:not(.is-scrolled) .nav-inline a, .site-header.is-over:not(.is-scrolled) .header-call, .site-header.is-over:not(.is-scrolled) .menu-toggle { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 28px; }
.header-call { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .06em; color: var(--navy); }
.menu-toggle { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.burger { width: 26px; height: 12px; position: relative; }
.burger i { position: absolute; left: 0; height: 1.5px; width: 100%; background: currentColor; transition: transform .45s var(--ease), width .45s var(--ease); }
.burger i:first-child { top: 0; }
.burger i:last-child { bottom: 0; width: 70%; }
.menu-toggle:hover .burger i:last-child { width: 100%; }
.menu-open .burger i:first-child { transform: translateY(5.25px) rotate(45deg); }
.menu-open .burger i:last-child { transform: translateY(-5.25px) rotate(-45deg); width: 100%; }
.menu-open .site-header { background: transparent !important; box-shadow: none !important; }
.menu-open .site-header .menu-toggle, .menu-open .site-header .header-call { color: #fff; }
.menu-open .site-header .brand-light { opacity: 1; }
.menu-open .site-header .brand-dark, .menu-open .nav-inline { opacity: 0; pointer-events: none; }

.menu-overlay {
  position: fixed; inset: 0; z-index: 55; background: var(--deep); color: #fff;
  clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-io); visibility: hidden;
}
.menu-open .menu-overlay { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-overlay-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .12; filter: grayscale(1); }
.menu-overlay-inner { position: relative; height: 100%; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px; padding-top: 84px; }
.menu-big .menu { list-style: none; margin: 0; padding: 0; }
.menu-big li { overflow: hidden; }
.menu-big a {
  display: inline-block; font-family: var(--serif); font-size: clamp(40px, 6.5vw, 84px); line-height: 1.12;
  transform: translateY(105%); transition: transform .9s var(--ease), color .3s;
}
.menu-big a:hover { color: var(--teal); font-style: italic; }
.menu-open .menu-big a { transform: none; }
.menu-open .menu-big li:nth-child(2) a { transition-delay: .06s; }
.menu-open .menu-big li:nth-child(3) a { transition-delay: .12s; }
.menu-open .menu-big li:nth-child(4) a { transition-delay: .18s; }
.menu-open .menu-big li:nth-child(5) a { transition-delay: .24s; }
.menu-open .menu-big li:nth-child(6) a { transition-delay: .3s; }
.menu-contact { display: flex; flex-direction: column; gap: 10px; color: #B9CAD4; opacity: 0; transition: opacity .6s .4s; }
.menu-open .menu-contact { opacity: 1; }
.menu-contact a { color: #fff; font-size: 18px; }
.menu-contact a:hover { color: var(--teal); }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 1000; overflow: hidden; display: grid; place-items: center; color: #fff; }
.no-intro .intro { display: none; }
.intro-running body { overflow: hidden; }
.intro-half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--deep); transition: transform 1.15s var(--ease-io); }
.intro-top { top: 0; background: radial-gradient(120% 90% at 50% 100%, #0B2A3D 0%, var(--deep) 60%); }
.intro-bot { bottom: 0; background: radial-gradient(120% 90% at 50% 0%, #0B2A3D 0%, var(--deep) 60%); }
.intro.is-opening .intro-top { transform: translateY(-101%); }
.intro.is-opening .intro-bot { transform: translateY(101%); }

.intro-beams { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; transition: opacity .5s; }
.intro-beams i {
  position: absolute; left: 50%; top: 50%; width: 160vmax; height: 46px; margin: -23px 0 0 -80vmax;
  background: linear-gradient(90deg, transparent 0%, rgba(120,220,245,0) 30%, rgba(170,235,255,.55) 50%, rgba(120,220,245,0) 70%, transparent 100%);
  filter: blur(14px); opacity: 0; transform-origin: 50% 50%;
}
.intro-beams i:nth-child(1) { --r: -24deg; }
.intro-beams i:nth-child(2) { --r: 14deg; height: 22px; }
.intro-beams i:nth-child(3) { --r: -8deg; height: 90px; filter: blur(30px); }
.intro-beams i:nth-child(4) { --r: 32deg; height: 14px; }
.intro.is-playing .intro-beams i { animation: tcBeam 2.6s var(--ease) forwards; }
.intro.is-playing .intro-beams i:nth-child(2) { animation-delay: .25s; }
.intro.is-playing .intro-beams i:nth-child(3) { animation-delay: .5s; animation-duration: 2.8s; }
.intro.is-playing .intro-beams i:nth-child(4) { animation-delay: .8s; }
@keyframes tcBeam {
  0% { opacity: 0; transform: rotate(var(--r)) translateX(-60vmax) scaleX(.6); }
  25% { opacity: 1; }
  75% { opacity: .8; }
  100% { opacity: 0; transform: rotate(var(--r)) translateX(60vmax) scaleX(1.1); }
}

.intro-stage { position: relative; display: flex; flex-direction: column; align-items: center; transition: transform 1.1s var(--ease-io), opacity .8s; }
.intro.is-opening .intro-stage { transform: scale(.92); opacity: 0; }
.intro.is-opening .intro-beams { opacity: 0; }
.intro-mark { width: min(520px, 78vw); overflow: visible; }
.trace { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.trace-sun { stroke: #7FE0F5; }
.trace-bar { stroke: #7FE0F5; }
.intro.is-playing .trace-sun { animation: tcDraw 1.1s .15s var(--ease) forwards; }
.intro.is-playing .trace-ridge { animation: tcDraw 1.25s .45s cubic-bezier(.6,0,.3,1) forwards; }
.intro.is-playing .trace-base { animation: tcDraw .8s .9s var(--ease) forwards; }
.intro.is-playing .trace-bar { animation: tcDraw .9s 1.1s var(--ease) forwards; }
.intro.is-playing .traces { animation: tcFadeOut .6s 2.25s forwards; }
@keyframes tcDraw { to { stroke-dashoffset: 0; } }
@keyframes tcFadeOut { to { opacity: 0; } }

.spark { opacity: 0; }
.intro.is-playing .spark { animation: tcSpark 1.35s .45s forwards; }
@keyframes tcSpark { 0% { opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; } }

.sun-fill { clip-path: circle(0% at 50% 100%); }
.mtn-fill { clip-path: inset(100% 0 0 0); }
.bar-fill { transform: scaleX(0); transform-origin: 0 0; transform-box: fill-box; }
.intro.is-playing .sun-fill { animation: tcSun 1s 1.55s var(--ease) forwards; }
.intro.is-playing .mtn-fill { animation: tcRise 1s 1.75s var(--ease) forwards; }
.intro.is-playing .bar-fill { animation: tcBar .9s 1.7s var(--ease-io) forwards; }
@keyframes tcSun { to { clip-path: circle(75% at 50% 100%); } }
@keyframes tcRise { to { clip-path: inset(0 0 0 0); } }
@keyframes tcBar { to { transform: scaleX(1); } }

.intro-word { margin-top: 34px; width: min(440px, 70vw); clip-path: inset(0 100% 0 0); }
.intro-word img { width: 100%; transform: translateY(14px); }
.intro.is-playing .intro-word { animation: tcWipe 1s 2.35s var(--ease-io) forwards; }
.intro.is-playing .intro-word img { animation: tcUp 1.1s 2.35s var(--ease) forwards; }
@keyframes tcWipe { to { clip-path: inset(0 0 0 0); } }
@keyframes tcUp { to { transform: none; } }
.intro-tag { margin: 22px 0 0; font-size: 11px; letter-spacing: .45em; text-transform: uppercase; color: #9FD8E8; opacity: 0; }
.intro.is-playing .intro-tag { animation: tcTag 1s 2.9s var(--ease) forwards; }
@keyframes tcTag { from { opacity: 0; letter-spacing: .8em; } to { opacity: 1; letter-spacing: .45em; } }
.intro-skip { position: absolute; right: 28px; bottom: 24px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.intro-skip:hover { color: #fff; }
.intro.is-opening .intro-skip { opacity: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: var(--deep); overflow: hidden; color: #fff; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-img { position: absolute; inset: -2%; background-size: cover; background-position: center; transform: scale(1.12); transition: transform 7.5s linear; }
.hero-slide.is-active .hero-img { transform: scale(1); }
.intro-running .hero-slide.is-active .hero-img { transform: scale(1.12); transition: none; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(3,20,32,.82) 0%, rgba(3,20,32,.45) 45%, rgba(3,20,32,.05) 75%), linear-gradient(0deg, rgba(3,20,32,.7) 0%, transparent 40%);
}
.hero-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 60px; }
.hero-title { font-family: var(--serif); font-size: clamp(44px, 7.4vw, 104px); line-height: 1; letter-spacing: -.015em; margin-bottom: 36px; font-weight: 500; }
.hero-title em { color: var(--teal); }
.hero-copy > * { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.intro-done .hero-slide.is-active .hero-copy > * { opacity: 1; transform: none; }
.intro-done .hero-slide.is-active .hero-copy > :nth-child(2) { transition-delay: .15s; }
.intro-done .hero-slide.is-active .hero-copy > :nth-child(3) { transition-delay: .3s; }
.hero-nav { position: absolute; left: 0; right: 0; bottom: 44px; z-index: 3; display: flex; align-items: center; gap: 28px; }
.hero-dots { display: flex; gap: 10px; }
.hero-dot { width: 56px; height: 18px; position: relative; }
.hero-dot::before, .hero-dot i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255,255,255,.3); }
.hero-dot i { background: var(--teal); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active i { animation: tcProg var(--hero-ms, 6500ms) linear forwards; }
@keyframes tcProg { to { transform: scaleX(1); } }
.hero-count { font-size: 12px; letter-spacing: .2em; color: rgba(255,255,255,.7); }
.hero-count b { color: #fff; font-weight: 500; }
.scroll-cue { position: absolute; z-index: 3; right: var(--gutter); bottom: 40px; width: 26px; height: 44px; border: 1px solid rgba(255,255,255,.5); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 2px; height: 8px; margin-left: -1px; background: #fff; border-radius: 2px; animation: tcCue 1.8s infinite; }
@keyframes tcCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Narrative ---------- */
.narrative-line { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 46px); line-height: 1.3; color: var(--ink); margin: 0; }
.narrative-line em { color: var(--teal-2); }
.narrative-line .w { opacity: .12; transition: opacity .5s; }
.narrative-line .w.on { opacity: 1; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.why-copy p { color: var(--muted); }
.why-copy strong { color: var(--ink); font-weight: 500; }
.why-media { aspect-ratio: 4 / 3.2; overflow: hidden; position: relative; }
.why-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease); }
.reveal-mask { clip-path: inset(0 0 0 100%); transition: clip-path 1.3s var(--ease-io); }
.reveal-mask.in { clip-path: inset(0 0 0 0); }
.reveal-mask.in img { transform: scale(1); }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.stat {
  background: #fff; border: 1px solid var(--line); padding: 34px 18px; text-align: center; display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 18px 40px -28px rgba(0,59,92,.35); transition: transform .5s var(--ease), box-shadow .5s;
}
.stat:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -26px rgba(0,59,92,.45); }
.stat-num { font-family: var(--serif); font-size: clamp(38px, 4vw, 54px); color: var(--navy); line-height: 1; }
.stat-num b { font-weight: 500; }
.stat-label { font-size: 12px; letter-spacing: .06em; color: var(--muted); line-height: 1.5; }

/* ---------- Big word ---------- */
.bigword { padding: 40px 0 0; overflow: hidden; position: relative; }
.bigword-text {
  font-family: var(--serif); font-weight: 600; font-size: clamp(64px, 17vw, 270px); line-height: .9; text-align: center; letter-spacing: .02em;
  background-size: cover; background-position: center 50%; -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1px rgba(0,59,92,.15);
}
.marquee { margin-top: clamp(20px, 3vw, 40px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: tcMarquee 70s linear infinite; }
.marquee-track img { height: clamp(140px, 18vw, 240px); width: auto; aspect-ratio: 16 / 10; object-fit: cover; filter: grayscale(.25); transition: filter .4s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img:hover { filter: none; }
@keyframes tcMarquee { to { transform: translateX(-50%); } }

/* ---------- Coverflow showcase ---------- */
.showcase { overflow: hidden; }
.cf-stage { position: relative; height: clamp(300px, 38vw, 480px); margin-top: 48px; perspective: 1400px; }
.cf-card {
  position: absolute; left: 50%; top: 0; width: clamp(260px, 36vw, 560px); height: 100%; margin-left: calc(clamp(260px, 36vw, 560px) / -2);
  transition: transform 1s var(--ease), filter 1s var(--ease), opacity 1s var(--ease); will-change: transform; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
}
.cf-card img { width: 100%; height: 100%; object-fit: cover; }
.cf-card:not(.is-center) { filter: grayscale(1) brightness(.6); pointer-events: auto; }
.cf-btn {
  position: absolute; top: 50%; z-index: 30; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; color: #fff; transition: background .3s, border-color .3s;
}
.cf-btn:hover { background: var(--teal); border-color: var(--teal); }
.cf-prev { left: max(var(--gutter), calc(50% - 560px)); }
.cf-next { right: max(var(--gutter), calc(50% - 560px)); }
.cf-info { margin-top: 36px; }
.cf-progress { position: relative; width: min(520px, 80%); height: 30px; margin: 0 auto 18px; }
.cf-progress svg { width: 100%; height: 100%; overflow: visible; }
.cf-progress path { fill: none; stroke: var(--teal); stroke-width: 1.5; opacity: .7; }
.cf-dot { position: absolute; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(20,169,201,.2); transition: left .9s var(--ease), top .9s var(--ease); }
.cf-count { position: absolute; right: -10px; top: -22px; font-size: 12px; letter-spacing: .15em; color: #8FA6B3; }
.cf-status { display: inline-block; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.cf-title { font-family: var(--serif); font-size: clamp(30px, 4vw, 52px); color: #fff; margin-bottom: 8px; }
.cf-meta { color: #9FB2BE; font-size: 14px; margin-bottom: 28px; }
.cf-info .cf-title, .cf-info .cf-meta, .cf-info .cf-status { transition: opacity .4s, transform .5s var(--ease); }
.cf-info.swap .cf-title, .cf-info.swap .cf-meta, .cf-info.swap .cf-status { opacity: 0; transform: translateY(10px); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.services-head { position: sticky; top: 120px; }
.services-head > p { color: var(--muted); max-width: 440px; }
.services-visual { position: relative; margin-top: 32px; aspect-ratio: 16 / 10; overflow: hidden; }
.services-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.services-visual img.is-active { opacity: 1; transform: none; }
.services-list { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.service {
  display: grid; grid-template-columns: 44px 48px 1fr; gap: 18px; padding: 30px 0; border-top: 1px solid var(--line); align-items: start;
  transition: padding .5s var(--ease), background .5s;
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service:hover, .service.is-active { padding-left: 14px; }
.service-no { font-family: var(--serif); font-size: 22px; color: var(--teal-2); line-height: 1.6; }
.service-ico { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); transition: background .4s, color .4s, border-color .4s; }
.service-ico .ico { width: 22px; height: 22px; }
.service:hover .service-ico, .service.is-active .service-ico { background: var(--navy); color: #fff; border-color: var(--navy); }
.service h3 { font-family: var(--serif); font-size: 26px; margin: 6px 0 8px; color: var(--ink); }
.service p { color: var(--muted); margin: 0; font-size: 14px; }

/* ---------- Values ---------- */
.values { overflow: hidden; color: #D5E3EA; }
.values-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .1; filter: grayscale(1); }
.values .wrap { position: relative; }
.values-head { max-width: 760px; }
.values-head p { color: #B7CBD6; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.value-card { border: 1px solid rgba(255,255,255,.14); padding: 36px 30px; background: rgba(255,255,255,.03); backdrop-filter: blur(4px); transition: background .5s, transform .5s var(--ease), border-color .5s; }
.value-card:hover { background: rgba(20,169,201,.12); border-color: rgba(20,169,201,.5); transform: translateY(-6px); }
.value-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(20,169,201,.15); color: var(--teal); margin-bottom: 22px; }
.value-ico .ico { width: 26px; height: 26px; }
.value-card h3 { font-family: var(--serif); font-size: 28px; color: #fff; margin-bottom: 10px; }
.value-card p { margin: 0; color: #A9BFCB; font-size: 14px; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.vm-text { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; color: #fff; }

/* ---------- Section head + cards ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.section-head > p { max-width: 460px; color: var(--muted); margin: 0; }
.section-head .h-display { margin: 0; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pcard { display: block; background: #fff; transition: transform .5s var(--ease), box-shadow .5s; }
.pcard:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(0,59,92,.4); }
.pcard-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.07); }
.badge { position: absolute; left: 16px; top: 16px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 12px; background: var(--navy); color: #fff; }
.badge-ongoing { background: var(--teal); }
.pcard-body { padding: 22px 22px 26px; border: 1px solid var(--line); border-top: 0; }
.mist .pcard-body { border-color: transparent; }
.pcard-type { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-2); margin-bottom: 6px; }
.pcard h3 { font-family: var(--serif); font-size: 26px; color: var(--ink); margin-bottom: 8px; }
.pcard-loc { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); margin: 0; }
.pcard.is-hidden { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { padding: 9px 20px; border: 1px solid var(--line); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; transition: all .3s; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Founders ---------- */
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.founder { display: grid; grid-template-columns: 88px 1fr; gap: 26px; background: #fff; padding: 36px; border: 1px solid var(--line); }
.monogram { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--serif); font-size: 30px; letter-spacing: .05em; position: relative; }
.monogram::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--teal); }
.founder h3 { font-family: var(--serif); font-size: 30px; }
.founder .role { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-2); margin: 4px 0 14px; }
.founder p { color: var(--muted); font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: clamp(90px, 12vw, 160px) 0; color: #fff; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,40,64,.82), rgba(0,40,64,.88)); z-index: 1; }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band p { color: #C4D6E0; max-width: 560px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page heroes ---------- */
.page-hero, .project-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--deep); }
.project-hero { min-height: 86vh; }
.page-hero-img, .project-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; animation: tcZoom 2.4s var(--ease) both; }
@keyframes tcZoom { from { transform: scale(1.15); } to { transform: scale(1); } }
.page-hero::after, .project-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,20,32,.88) 0%, rgba(3,20,32,.35) 55%, rgba(3,20,32,.55) 100%); }
.page-hero-copy, .project-hero-copy { position: relative; z-index: 2; padding-bottom: clamp(48px, 7vw, 90px); padding-top: 140px; animation: tcRiseIn 1.2s .2s var(--ease) both; }
.page-hero .h-display { font-size: clamp(44px, 7vw, 92px); margin: 0; }
@keyframes tcRiseIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.project-loc { display: flex; align-items: center; gap: 8px; color: #C6D7E0; margin: 0; }
body:not(.home):not(.single-project) .site-header { position: fixed; left: 0; right: 0; background: transparent; box-shadow: none; }
body:not(.home):not(.single-project) .site-header:not(.is-scrolled) .brand-light { opacity: 1; }
body:not(.home):not(.single-project) .site-header:not(.is-scrolled) .brand-dark { opacity: 0; }
body:not(.home):not(.single-project) .site-header:not(.is-scrolled) .nav-inline a,
body:not(.home):not(.single-project) .site-header:not(.is-scrolled) .header-call,
body:not(.home):not(.single-project) .site-header:not(.is-scrolled) .menu-toggle { color: #fff; }
body:not(.home):not(.single-project) .site-header.is-scrolled { background: rgba(255,255,255,.97); box-shadow: 0 6px 30px rgba(0,30,50,.08); }

/* ---------- Project single ---------- */
.project-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.entry { color: var(--muted); }
.entry h2, .entry h3 { font-family: var(--serif); color: var(--ink); margin: 1.2em 0 .5em; }
.entry h2 { font-size: 36px; }
.entry img { margin: 24px 0; }
.entry .wp-block-gallery { gap: 16px; }
.entry figure { margin: 0 0 16px; }
.project-aside { position: sticky; top: 110px; }
.facts { margin: 0 0 24px; border: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); text-align: right; font-size: 14px; }
.aside-cta { background: var(--navy); color: #fff; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.aside-cta .btn { justify-content: center; }
.aside-cta .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.aside-cta .btn-outline:hover { background: #fff; color: var(--navy); }

/* ---------- Services page ---------- */
.svc-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-bottom: clamp(64px, 9vw, 120px); }
.svc-row:last-child { margin-bottom: 0; }
.svc-row.flip .svc-media { order: 2; }
.svc-media { aspect-ratio: 4 / 3; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease); }
.svc-copy .service-no { display: block; margin-bottom: 14px; }
.svc-copy .service-ico { margin-bottom: 18px; }
.svc-copy .h-display { font-size: clamp(30px, 3.6vw, 46px); }
.svc-copy p { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 18px; align-items: flex-start; }
.contact-list .ico { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--mist); color: var(--navy); }
.contact-list span { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list address { color: var(--ink); font-size: 16px; }
.contact-list a:hover { color: var(--teal-2); }
.contact-form { background: var(--mist); padding: clamp(24px, 4vw, 48px); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.4); }

/* ---------- Forms ---------- */
.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enquiry-form label { display: flex; flex-direction: column; gap: 6px; }
.enquiry-form label span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.enquiry-form .full { grid-column: 1 / -1; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  font: inherit; font-size: 14px; padding: 13px 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 2px; width: 100%;
  transition: border-color .3s, box-shadow .3s;
}
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,169,201,.15); }
.enquiry-form button { grid-column: 1 / -1; justify-content: center; }
.enquiry-form.is-compact { grid-template-columns: repeat(3, 1fr) auto; align-items: end; }
.enquiry-form.is-compact label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.enquiry-form.is-compact button { grid-column: auto; height: 48px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-note { padding: 12px 16px; font-size: 14px; margin-bottom: 16px; }
.form-note.ok { background: rgba(20,169,201,.12); color: var(--teal-2); }
.form-note.err { background: #fdecec; color: #a42828; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: #A9BCC8; padding-top: 72px; }
.footer-title { font-family: var(--serif); font-size: 34px; color: #fff; margin-bottom: 22px; }
.site-footer .enquiry-form input { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.16); color: #fff; }
.site-footer .enquiry-form input::placeholder { color: #7F95A3; }
.site-footer .form-note.ok { color: var(--teal); }
.footer-form { padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr .8fr; gap: 40px; padding: 56px 0; }
.footer-brand img { width: 150px; margin-bottom: 18px; }
.footer-brand p { font-family: var(--serif); font-size: 20px; color: #fff; font-style: italic; }
.site-footer h3 { font-family: var(--serif); font-size: 22px; color: #fff; margin-bottom: 16px; }
.site-footer p { margin: 0 0 8px; }
.site-footer a:hover { color: var(--teal); }
.site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-base { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: 12px; letter-spacing: .06em; }
.footer-base .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Floaters ---------- */
.floaters { position: fixed; left: 20px; bottom: 20px; z-index: 50; display: flex; gap: 10px; align-items: center; }
.float-wa { width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.4); transition: transform .3s; }
.float-wa .ico { width: 26px; height: 26px; }
.float-wa:hover { transform: scale(1.08); }
.float-call { display: inline-flex; gap: 8px; align-items: center; height: 44px; padding: 0 18px; border-radius: 22px; background: var(--teal); color: #fff; font-size: 13px; letter-spacing: .06em; box-shadow: 0 10px 30px -8px rgba(0,0,0,.4); }
.float-call:hover { background: var(--navy); }
.enquire-tab {
  position: fixed; right: 0; top: 50%; z-index: 50; transform: translateY(-50%); writing-mode: vertical-rl; rotate: 180deg;
  background: var(--navy); color: #fff; padding: 20px 11px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
}
.enquire-tab:hover { background: var(--teal); }
.intro-running .floaters, .intro-running .enquire-tab { opacity: 0; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2,14,22,.7); opacity: 0; transition: opacity .4s; }
.modal-card { position: relative; width: min(620px, 100%); max-height: 92vh; overflow: auto; background: #fff; padding: clamp(28px, 4vw, 48px); transform: translateY(30px); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.modal.is-open { visibility: visible; }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-card { transform: none; opacity: 1; }
.modal-close { position: absolute; right: 18px; top: 12px; font-size: 32px; line-height: 1; color: var(--muted); }
.modal .h-display { font-size: clamp(30px, 4vw, 42px); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-inline { display: none; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .enquiry-form.is-compact { grid-template-columns: 1fr 1fr; }
  .enquiry-form.is-compact button { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .why-grid, .services-grid, .contact-grid, .project-grid, .svc-row, .vm-grid, .founders-grid, .menu-overlay-inner { grid-template-columns: 1fr; }
  .svc-row.flip .svc-media { order: 0; }
  .services-head { position: static; }
  .cards-3, .values-grid { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .project-aside { position: static; }
  .menu-contact { display: none; }
  .header-call span { display: none; }
  .cta-bg { background-attachment: scroll; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .header-row { height: 70px; }
  .brand { width: 84px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid .stat:last-child { grid-column: 1 / -1; }
  .cards-3, .values-grid, .footer-grid, .enquiry-form, .enquiry-form.is-compact { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .hero-nav { bottom: 96px; }
  .scroll-cue { display: none; }
  .cf-btn { width: 42px; height: 42px; margin-top: -21px; }
  .float-call span { display: none; }
  .float-call { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; }
  .service { grid-template-columns: 36px 1fr; }
  .service .service-ico { display: none; }
  .enquire-tab { padding: 16px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-mask { clip-path: none; }
}

/* Cards that also reveal keep both transitions */
.pcard.reveal { transition: opacity 1s var(--ease), transform 1.1s var(--ease), box-shadow .5s; }
.stat.reveal, .value-card.reveal { transition: opacity 1s var(--ease), transform 1.1s var(--ease), box-shadow .5s, background .5s, border-color .5s; }
@media (max-width: 600px) { .enquire-tab { display: none; } }

/* ---------- Sketch → reality (scroll-driven) ---------- */
.sketch { position: relative; height: 280vh; background: #FAF9F6; --p: 0; }
.sketch-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.sketch-art { position: absolute; inset: 0; transform: scale(calc(1.1 - var(--p) * .1)); transform-origin: 60% 60%; will-change: transform; }
.sketch-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
/* colour is painted across the drawing with a soft, slanted brush edge */
.sk-photo {
  --edge: calc(var(--p) * 150% - 30%);
  -webkit-mask-image: linear-gradient(105deg, #000 calc(var(--edge) - 18%), transparent calc(var(--edge) + 6%));
          mask-image: linear-gradient(105deg, #000 calc(var(--edge) - 18%), transparent calc(var(--edge) + 6%));
}
.sk-drawing { z-index: 1; mix-blend-mode: multiply; opacity: calc(1 - var(--p) * 1.15); }
.sk-veil { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.sk-veil-paper { background: linear-gradient(270deg, rgba(250,249,246,.96) 0%, rgba(250,249,246,.85) 32%, rgba(250,249,246,0) 58%); opacity: calc(1 - var(--p) * 1.6); }
.sk-veil-ink { background: linear-gradient(270deg, rgba(0,32,52,.9) 0%, rgba(0,32,52,.7) 34%, rgba(0,32,52,0) 62%); opacity: calc(var(--p) * 1.6 - .5); }
.sk-side {
  position: absolute; z-index: 3; left: clamp(14px, 4vw, 48px); top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: left center;
  font-family: var(--serif); font-size: 22px; letter-spacing: .3em; text-transform: uppercase; color: var(--navy); opacity: .35; white-space: nowrap;
}
.sketch-copy {
  position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-end;
}
.sketch-copy > * { width: min(500px, 100%); transition: color .6s; }
.sketch-copy p { color: var(--muted); }
.sketch-copy strong { color: var(--ink); font-weight: 500; }
.sketch-title { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 7vw, 104px); line-height: 1; color: var(--ink); margin-bottom: 28px; }
.sketch-title em { color: var(--teal-2); }
.sk-btn { width: auto !important; align-self: flex-end; margin-right: calc(min(500px, 100%) - 180px); border: 1px solid var(--navy); color: var(--navy); }
.sk-btn:hover { background: var(--navy); color: #fff; }
.sketch.is-real .sketch-copy p, .sketch.is-real .sketch-copy strong, .sketch.is-real .sketch-title { color: #fff; }
.sketch.is-real .sketch-copy p { color: #D2E1EA; }
.sketch.is-real .sketch-title em { color: var(--teal); }
.sketch.is-real .sk-btn { border-color: rgba(255,255,255,.6); color: #fff; }
.sketch.is-real .sk-btn:hover { background: #fff; color: var(--navy); }
.sketch.is-real .sk-side { color: #fff; }
.sketch-copy > * { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform 1s var(--ease), color .6s; }
.sketch.is-in .sketch-copy > * { opacity: 1; transform: none; }
.sketch.is-in .sketch-copy > :nth-child(2) { transition-delay: .08s; }
.sketch.is-in .sketch-copy > :nth-child(3) { transition-delay: .16s; }
.sketch.is-in .sketch-copy > :nth-child(4) { transition-delay: .24s; }
.sketch.is-in .sketch-copy > :nth-child(5) { transition-delay: .32s; }
.sk-caption {
  position: absolute; z-index: 3; left: 50%; bottom: 28px; transform: translateX(-50%); margin: 0; display: flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--navy); white-space: nowrap;
}
.sk-caption i { position: relative; width: 120px; height: 1px; background: rgba(0,59,92,.25); }
.sk-caption i::after { content: ""; position: absolute; inset: 0; background: var(--teal); transform: scaleX(var(--p)); transform-origin: left; }
.sketch.is-real .sk-caption { color: #fff; }
.sketch.is-real .sk-caption i { background: rgba(255,255,255,.3); }
@media (max-width: 860px) {
  .sketch { height: 230vh; }
  .sketch-copy { justify-content: flex-end; align-items: stretch; padding-bottom: 90px; }
  .sketch-copy > * { width: 100%; }
  .sk-btn { margin-right: 0; align-self: flex-start; }
  .sk-veil-paper { background: linear-gradient(0deg, rgba(250,249,246,.97) 0%, rgba(250,249,246,.9) 45%, rgba(250,249,246,0) 75%); }
  .sk-veil-ink { background: linear-gradient(0deg, rgba(0,32,52,.94) 0%, rgba(0,32,52,.75) 45%, rgba(0,32,52,0) 75%); }
  .sketch-copy p:nth-of-type(3) { display: none; }
  .sk-side { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sketch { height: auto; --p: 1; }
  .sketch-sticky { position: relative; }
}
@media (min-width: 861px) { .sketch-copy > * { width: min(540px, 100%); } .sketch-title { white-space: nowrap; } }
.sketch.is-real .sketch-title em { color: #6FD8EF; }
/* cranes image: keep the towers left of the text panel */
.sketch-art img { object-position: 30% 30%; }
.sketch-art { transform-origin: 30% 70%; }
