/* ==========================================================
   THE DAKSHESH STUDIO — styles
   ========================================================== */
:root {
  /* Palette: deep emerald · ivory & sand · brass gold · terracotta */
  --ink: #0c1f1a;
  --ink-2: #122b24;
  --ink-3: #1a3a31;
  --ink-deep: #071510;
  --line: rgba(241, 233, 218, 0.14);
  --line-strong: rgba(241, 233, 218, 0.3);
  --cream: #f6efe2;
  --cream-2: #ecdfca;
  --paper: #f8f2e8;
  --sand: #efe3cf;
  --text: #f1e9da;
  --muted: rgba(241, 233, 218, 0.68);
  --text-dark: #1d2a24;
  --muted-dark: #66695c;
  --gold: #c9a25e;
  --gold-soft: #e6c88d;
  --gold-deep: #9a7637;
  --terra: #b8623f;
  --terra-deep: #7d3b25;
  --gold-grad: linear-gradient(135deg, #f0d79f 0%, #c9a25e 45%, #a8803f 100%);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 44px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.display {
  font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.01em;
  text-transform: uppercase; margin: 0;
}
.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 104px); line-height: 1; margin: 0; letter-spacing: -.01em; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 68px); line-height: 1.05; margin: 0; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; margin: 0; }
.h2 em, .h1 em { font-style: italic; color: var(--gold-soft); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.dot-gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 28px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  font-weight: 600; border: 1px solid var(--line-strong); background: transparent;
  cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--gold); border-color: var(--gold); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--cream); }
.btn-gold { border-color: var(--gold); color: var(--cream); }
.btn-gold:hover { background: var(--gold); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-dark:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .24em;
  text-transform: uppercase; font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 6px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px var(--gutter); max-width: 1600px; margin: 0 auto; }
.site-header.scrolled, .site-header.solid { background: rgba(12, 31, 26, .92); backdrop-filter: blur(14px); border-color: var(--line); }
.site-header.scrolled .bar, .site-header.solid .bar { padding-top: 14px; padding-bottom: 14px; }

.logo { display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.logo-word { font-family: var(--serif); font-size: 25px; letter-spacing: .26em; text-transform: uppercase; line-height: 1.12; }
.logo-sub { font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.site-header.scrolled .logo-word { font-size: 18px; }
.site-header.scrolled .logo-word span { display: inline; }
.site-header.scrolled .logo-word br { display: none; }
.site-header.scrolled .logo-sub { margin-top: 6px; }

.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.nav > a, .nav .dd-toggle {
  font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
  position: relative; padding: 6px 0; color: var(--text); background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; text-align: center; line-height: 1.35;
}
.nav > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cream);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav > a:hover::after, .nav > a.active::after { transform: scaleX(1); }
.nav > a.active { color: #fff; }
.badge { font-size: 9px; letter-spacing: .1em; padding: 2px 6px; border: 1px solid var(--gold); color: var(--gold); border-radius: 2px; }
.dd { position: relative; }
.dd-toggle .chev { width: 12px; height: 12px; transition: transform .3s; }
.dd.open .chev { transform: rotate(180deg); }
.dd-menu {
  position: absolute; top: calc(100% + 18px); left: -24px; width: 520px;
  background: var(--ink-2); border: 1px solid var(--line); padding: 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px 20px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .3s var(--ease);
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a {
  display: flex; align-items: center; gap: 14px; padding: 10px; font-size: 14px; color: var(--muted);
  transition: color .25s, background .25s;
}
.dd-menu a:hover { color: var(--cream); background: rgba(255,255,255,.04); }
.dd-menu a .num { font-size: 10px; color: var(--gold); letter-spacing: .1em; width: 18px; }
.dd-menu .dd-all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--cream); transition: transform .3s, opacity .3s; }
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 26px; }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 45; background: var(--ink); padding: 120px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease);
}
body.menu-open { overflow: hidden; }
body.menu-open .mobile-nav { opacity: 1; visibility: visible; }
.mobile-nav a { font-family: var(--serif); font-size: 34px; line-height: 1.3; border-bottom: 1px solid var(--line); padding: 8px 0; }
.mobile-nav a.active { color: var(--gold-soft); }
.mobile-nav .m-sub { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; }
.mobile-nav .m-sub a { font-family: var(--sans); font-size: 13px; border: 1px solid var(--line); padding: 6px 12px; }

@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .site-header .logo-word { font-size: 18px; }
  .site-header .logo-word br { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,31,26,.62) 0%, rgba(12,31,26,.28) 38%, rgba(12,31,26,.55) 70%, rgba(12,31,26,.92) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-inner { position: relative; z-index: 2; padding-top: 200px; padding-bottom: 26px; }
.crumb { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.crumb span { color: var(--gold); margin: 0 10px; }
.hero h1 { font-size: clamp(52px, 9.4vw, 148px); }
.hero h1 .dot-gold { font-size: .5em; }
.hero-row { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: 44px; }
.hero-tags { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 520px; }
.hero-tags i { font-style: normal; color: var(--gold); margin: 0 10px; font-size: .7em; vertical-align: middle; }
.hero-ctas { display: grid; grid-template-columns: auto auto; gap: 16px; }
.hero-foot {
  position: relative; z-index: 2; border-top: 1px solid var(--line); margin-top: 34px; padding: 22px 0 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}
.hero-foot .sep { margin: 0 18px; opacity: .5; }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; }
.mouse { width: 16px; height: 26px; border: 1px solid var(--muted); border-radius: 10px; position: relative; }
.mouse::after { content: ""; position: absolute; left: 50%; top: 5px; width: 2px; height: 5px; background: var(--gold); transform: translateX(-50%); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; top: 5px; } 100% { opacity: 0; top: 14px; } }

.hero-anim > * { opacity: 0; transform: translateY(28px); animation: rise 1.1s var(--ease) forwards; }
.hero-anim > *:nth-child(2) { animation-delay: .15s; }
.hero-anim > *:nth-child(3) { animation-delay: .3s; }
.hero-anim > *:nth-child(4) { animation-delay: .45s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: 210px 0 80px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero.has-img { min-height: 72vh; display: flex; align-items: flex-end; }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,31,26,.7), rgba(12,31,26,.45) 45%, rgba(12,31,26,.95)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .h1 { margin: 22px 0 24px; text-transform: uppercase; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-sm { padding: clamp(56px, 7vw, 90px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: clamp(40px, 5vw, 70px); flex-wrap: wrap; }
.section-head .h2 { margin-top: 18px; max-width: 760px; }
.light { background: var(--paper); color: var(--text-dark); }
.light .muted, .light .lead { color: var(--muted-dark); }
.light .eyebrow { color: var(--gold-deep); }
.light .h2 em { color: var(--gold-deep); }
.light .link-arrow { border-color: var(--gold-deep); }
.ink-2 { background: var(--ink-2); }

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; background: var(--ink); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 46px); font-style: italic; white-space: nowrap; color: var(--muted); }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: .4em; color: var(--gold); margin-left: 60px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Intro split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split-img { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-img .tag { position: absolute; left: 0; bottom: 0; background: var(--paper); color: var(--ink); padding: 22px 28px; max-width: 280px; }
.split-img .tag b { font-family: var(--serif); font-size: 44px; font-weight: 500; display: block; line-height: 1; }
.split-img .tag small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); }
.split p { margin: 0 0 18px; }
.signature { font-family: var(--serif); font-style: italic; font-size: 28px; margin-top: 30px; }

/* Project cards */
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 2.4vw, 34px); }
.project-card { grid-column: span 4; display: block; }
.project-card.wide { grid-column: span 8; }
.project-card.half { grid-column: span 6; }
.project-card .media { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--ink-3); }
.project-card.wide .media { aspect-ratio: 16/10; }
.project-card.half .media { aspect-ratio: 5/4; }
.project-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project-card:hover .media img { transform: scale(1.06); }
.project-card .media .chip {
  position: absolute; top: 18px; left: 18px; background: rgba(12,31,26,.7); backdrop-filter: blur(6px);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase; padding: 7px 12px; color: var(--cream);
}
.project-card .meta { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; align-items: baseline; }
.project-card .meta h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0; line-height: 1.2; }
.project-card .meta p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.project-card .meta .yr { font-size: 12px; letter-spacing: .2em; color: var(--gold); }
.light .project-card .meta p { color: var(--muted-dark); }

/* Discipline tiles */
.disc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.disc-tile { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--ink); display: flex; align-items: flex-end; padding: 22px; }
.disc-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .6s, transform 1.2s var(--ease); }
.disc-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(12,31,26,.9)); }
.disc-tile:hover img { opacity: .9; transform: scale(1.06); }
.disc-tile .txt { position: relative; z-index: 2; }
.disc-tile .num { font-size: 11px; color: var(--gold); letter-spacing: .2em; }
.disc-tile h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 6px 0 0; line-height: 1.1; }
.disc-tile p { font-size: 13px; color: var(--muted); margin: 8px 0 0; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.disc-tile:hover p { max-height: 80px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 40px 24px 10px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 28px; }
.stat b { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6vw, 84px); line-height: 1; display: block; }
.stat b sup { color: var(--gold); font-size: .45em; vertical-align: top; margin-left: 4px; }
.stat > span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.light .stats, .light .stat { border-color: rgba(29,42,36,.14); }
.light .stat > span { color: var(--muted-dark); }

/* Process */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.process-step { padding: 36px 26px 10px 0; position: relative; }
.process-step + .process-step { padding-left: 26px; border-left: 1px solid var(--line); }
.process-step .n { font-family: var(--serif); font-size: 54px; color: var(--gold); line-height: 1; font-style: italic; }
.process-step h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 18px 0 10px; }
.process-step p { font-size: 14.5px; color: var(--muted); margin: 0; }
.light .process, .light .process-step + .process-step { border-color: rgba(29,42,36,.14); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.quote { border-top: 1px solid var(--line-strong); padding-top: 30px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.3; font-style: italic; }
.quote blockquote::before { content: "“"; display: block; font-size: 70px; line-height: .6; color: var(--gold); font-style: normal; margin-bottom: 16px; }
.quote cite { display: block; margin-top: 24px; font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.quote cite small { display: block; color: var(--muted); letter-spacing: .1em; text-transform: none; font-size: 13px; margin-top: 4px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; padding: clamp(100px, 14vw, 190px) 0; text-align: center; }
.cta-band .bg { position: absolute; inset: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .bg::after { content: ""; position: absolute; inset: 0; background: rgba(12,31,26,.72); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band .h1 { text-transform: uppercase; margin: 22px auto 40px; max-width: 1000px; }
.cta-band .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding: 90px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0 0 22px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { color: var(--muted); font-size: 14.5px; transition: color .25s; }
.site-footer ul a:hover { color: var(--cream); }
.site-footer address { font-style: normal; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 70px; padding-top: 26px; font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.socials svg { width: 16px; height: 16px; }
.footer-word { font-family: var(--serif); font-size: clamp(56px, 13vw, 210px); line-height: .9; letter-spacing: .02em; text-transform: uppercase; color: rgba(230,200,141,.07); margin-top: 60px; white-space: nowrap; overflow: hidden; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .3s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; color: #fff; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero-anim > * { opacity: 1; transform: none; animation: none; }
  .marquee-track, .hero-media img { animation: none; }
}

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; }
.filter {
  border: 1px solid var(--line-strong); background: transparent; padding: 10px 18px; cursor: pointer;
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; transition: all .3s; color: var(--muted);
}
.filter:hover { color: var(--cream); border-color: var(--cream); }
.filter.active { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.filter .count { color: var(--gold); margin-left: 6px; }
.filter.active .count { color: #6f5222; }
.empty { padding: 80px 0; text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* ---------- Project detail ---------- */
.facts { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--line); }
.facts div { padding: 26px 20px 26px 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts small { display: block; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.facts span { font-family: var(--serif); font-size: 22px; }
.gallery-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gallery-stack img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; cursor: zoom-in; }
.gallery-stack img:first-child { grid-column: 1 / -1; aspect-ratio: 16/8; }
.next-project { display: flex; justify-content: space-between; align-items: center; gap: 30px; border-top: 1px solid var(--line); padding: 50px 0; }
.next-project .h2 { transition: color .3s; }
.next-project:hover .h2 { color: var(--gold-soft); }

/* ---------- Gallery ---------- */
.masonry { columns: 3 320px; column-gap: 18px; }
.masonry figure { margin: 0 0 18px; break-inside: avoid; position: relative; overflow: hidden; cursor: zoom-in; background: var(--ink-3); }
.masonry img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .5s; }
.masonry figure:hover img { transform: scale(1.04); }
.masonry figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  background: linear-gradient(transparent, rgba(12,31,26,.85)); opacity: 0; transition: opacity .4s;
}
.masonry figure:hover figcaption { opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(7,21,16,.96); display: none; align-items: center; justify-content: center; padding: 60px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 84vh; max-width: min(1400px, 100%); object-fit: contain; }
.lightbox .lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lb-btn { position: absolute; background: none; border: 1px solid var(--line-strong); width: 50px; height: 50px; cursor: pointer; display: grid; place-items: center; color: var(--cream); }
.lb-btn:hover { background: var(--cream); color: var(--ink); }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; top: 50%; } .lb-next { right: 20px; top: 50%; }
.lb-btn svg { width: 18px; height: 18px; }

/* ---------- Before / after ---------- */
.ba { position: relative; aspect-ratio: 16/10; overflow: hidden; user-select: none; touch-action: pan-y; cursor: ew-resize; background: var(--ink-3); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); filter: grayscale(1) contrast(.75) brightness(.72) sepia(.25) blur(.4px); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 1px; background: var(--cream); transform: translateX(-.5px); }
.ba .handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%;
  background: var(--cream); color: var(--ink); display: grid; place-items: center; font-size: 18px; letter-spacing: 4px; font-weight: 700;
}
.ba .lbl { position: absolute; top: 18px; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; background: rgba(12,31,26,.7); padding: 7px 12px; }
.ba .lbl.l { left: 18px; } .ba .lbl.r { right: 18px; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 44px); }
.ba-item .cap { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; align-items: baseline; }
.ba-item .cap h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0; }
.ba-item .cap span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ---------- Forms / calculator ---------- */
.field { display: grid; gap: 10px; margin-bottom: 28px; }
.field > label, .field > .label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.input, .select, .textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); padding: 12px 0; font-size: 17px; outline: none; border-radius: 0;
  transition: border-color .3s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); }
/* Keep browser autofill from painting fields pale blue */
.input:-webkit-autofill, .input:-webkit-autofill:hover, .input:-webkit-autofill:focus, .textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--text); caret-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px var(--ink) inset; box-shadow: 0 0 0 1000px var(--ink) inset;
  transition: background-color 9999s ease-out 0s;
}
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 12px) 22px, calc(100% - 7px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.select option { background: var(--ink-2); color: var(--text); }
.textarea { resize: vertical; min-height: 110px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.form-grid .full { grid-column: 1 / -1; }

.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  border: 1px solid var(--line-strong); padding: 14px 12px; text-align: center; cursor: pointer; font-size: 13.5px; transition: all .25s; display: block;
}
.seg label small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.seg input:checked + label { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.seg input:checked + label small { color: var(--muted-dark); }
.seg input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.seg label:hover { border-color: var(--cream); }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; }
.check label { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); padding: 13px 14px; cursor: pointer; font-size: 14px; transition: all .25s; }
.check label::before { content: ""; width: 16px; height: 16px; border: 1px solid var(--line-strong); flex-shrink: 0; transition: all .25s; }
.check input:checked + label { border-color: var(--gold); }
.check input:checked + label::before { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230c1f1a' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--gold); }
.check input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }

.range { width: 100%; accent-color: var(--gold); height: 30px; }
.range-row { display: flex; justify-content: space-between; align-items: baseline; }
.range-row output { font-family: var(--serif); font-size: 34px; }

.calc { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.calc-result { position: sticky; top: 110px; background: var(--ink-2); border: 1px solid var(--line); padding: clamp(26px, 3vw, 44px); }
.calc-result .total { font-family: var(--serif); font-size: clamp(40px, 4.6vw, 64px); line-height: 1.05; margin: 14px 0 6px; }
.calc-result .total small { font-size: .45em; color: var(--muted); }
.breakdown { margin: 30px 0; display: grid; gap: 14px; }
.bd-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; font-size: 14px; }
.bd-row .bar { grid-column: 1 / -1; height: 3px; background: var(--line); position: relative; overflow: hidden; }
.bd-row .bar i { position: absolute; inset: 0 auto 0 0; background: var(--gold); transition: width .6s var(--ease); }
.calc-meta { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 26px; gap: 16px; }
.calc-meta small { display: block; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.calc-meta span { font-family: var(--serif); font-size: 22px; }
.fineprint { font-size: 12.5px; color: var(--muted); margin-top: 18px; }

/* ---------- Services ---------- */
.service { display: grid; grid-template-columns: 120px 1.1fr 1fr; gap: 40px; padding: 50px 0; border-top: 1px solid var(--line); align-items: start; }
.service:last-child { border-bottom: 1px solid var(--line); }
.service .n { font-family: var(--serif); font-size: 56px; font-style: italic; color: var(--gold); line-height: 1; }
.service h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 44px); margin: 0 0 14px; line-height: 1.1; }
.service p { color: var(--muted); margin: 0; }
.service ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.service li { display: flex; gap: 14px; align-items: center; font-size: 15px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.service li::before { content: "✦"; color: var(--gold); font-size: 10px; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier { border: 1px solid rgba(29,42,36,.16); padding: 40px 32px; display: flex; flex-direction: column; background: #fff; }
.tier.featured { background: var(--ink); color: var(--text); border-color: var(--ink); }
.tier .tname { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.tier.featured .tname { color: var(--gold); }
.tier .price { font-family: var(--serif); font-size: 46px; margin: 18px 0 4px; line-height: 1; }
.tier .price small { font-size: 16px; color: var(--muted-dark); font-family: var(--sans); }
.tier.featured .price small { color: var(--muted); }
.tier p { color: var(--muted-dark); font-size: 14.5px; }
.tier.featured p { color: var(--muted); }
.tier ul { list-style: none; padding: 0; margin: 20px 0 34px; display: grid; gap: 10px; font-size: 14.5px; flex: 1; }
.tier li { display: flex; gap: 12px; }
.tier li::before { content: "—"; color: var(--gold-deep); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 26px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--sans); font-weight: 300; font-size: 28px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 760px; margin: 16px 0 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 100px); }
.contact-info .item { border-top: 1px solid var(--line); padding: 24px 0; }
.contact-info small { display: block; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.contact-info a, .contact-info p { font-family: var(--serif); font-size: 24px; margin: 0; line-height: 1.35; }
.map { margin-top: 30px; aspect-ratio: 16/10; border: 1px solid var(--line); filter: grayscale(1) invert(.92) contrast(.9); }
.map iframe { width: 100%; height: 100%; border: 0; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px); background: var(--cream); color: var(--ink); padding: 14px 22px; font-size: 14px; opacity: 0; transition: all .4s var(--ease); z-index: 120; pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(29,42,36,.14); border: 1px solid rgba(29,42,36,.14); }
.values > div { background: var(--paper); padding: 44px 34px; }
.values h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 18px 0 10px; }
.values p { color: var(--muted-dark); margin: 0; font-size: 15px; }
.values .ic { width: 44px; height: 44px; border: 1px solid var(--gold-deep); display: grid; place-items: center; color: var(--gold-deep); font-family: var(--serif); font-style: italic; font-size: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .disc-grid { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: 1fr 1fr; }
  .process-step, .process-step + .process-step { padding: 30px 20px 30px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .calc { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts div:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 860px) {
  .hero-row { grid-template-columns: 1fr; }
  .hero-ctas { grid-template-columns: 1fr; }
  .hero-foot .loc { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .project-card, .project-card.wide, .project-card.half { grid-column: 1 / -1; }
  .project-card .media, .project-card.wide .media { aspect-ratio: 4/3; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat { border-bottom: 1px solid var(--line); padding-bottom: 30px; }
  .quotes, .tiers, .values { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 18px; }
  .ba-grid, .gallery-stack { grid-template-columns: 1fr; }
  .gallery-stack img:first-child { aspect-ratio: 4/3; }
  .form-grid, .checks { grid-template-columns: 1fr; }
  .dd-menu { display: none; }
}
@media (max-width: 560px) {
  .disc-grid { grid-template-columns: 1fr 1fr; }
  .disc-tile h3 { font-size: 21px; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div, .facts div + div { padding: 18px 0; border-left: 0; }
  .btn { padding: 15px 20px; letter-spacing: .18em; }
  .page-hero { padding-top: 160px; }
  .lb-prev, .lb-next { top: auto; bottom: 60px; }
}

/* ==========================================================
   Colour & finish layer
   ========================================================== */
html { scrollbar-color: var(--gold-deep) var(--ink-deep); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border: 2px solid var(--ink-deep); border-radius: 10px; }

/* Gilded italic accents */
.h1 em, .h2 em {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold-soft); padding-right: .06em;
}
.light .h2 em, .sand .h2 em, .light .h1 em {
  background: linear-gradient(135deg, var(--terra) 0%, var(--terra-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.eyebrow::before { background: var(--gold-grad); height: 2px; }
.light .eyebrow, .sand .eyebrow { color: var(--terra); }
.light .eyebrow::before, .sand .eyebrow::before { background: var(--terra); }
.dot-gold { color: var(--terra); }

/* Buttons */
.btn-light:hover { background: var(--gold-grad); color: var(--ink); border-color: transparent; }
.btn-gold { background: var(--gold-grad); color: var(--ink); border-color: transparent; box-shadow: 0 10px 30px rgba(201, 162, 94, .25); }
.btn-gold:hover { background: var(--terra); color: var(--cream); box-shadow: 0 10px 30px rgba(184, 98, 63, .35); }
.btn-dark:hover { background: var(--terra); border-color: var(--terra); color: var(--cream); }
.light .link-arrow, .sand .link-arrow { border-color: var(--terra); color: var(--terra-deep); }

/* Header */
.site-header.scrolled, .site-header.solid { background: rgba(12, 31, 26, .9); border-image: linear-gradient(90deg, transparent, var(--gold-deep), transparent) 1; }
.badge { background: var(--gold-grad); color: var(--ink); border: 0; font-weight: 700; }
.nav > a::after { background: var(--gold-grad); height: 2px; }
.dd-menu { background: linear-gradient(160deg, var(--ink-2), var(--ink)); border-top: 2px solid var(--gold); }
.mobile-nav { background: radial-gradient(120% 80% at 100% 0%, var(--ink-3), var(--ink) 60%); }

/* Hero: warm light from the left, emerald shade below */
.hero-media::after {
  background:
    radial-gradient(80% 70% at 15% 30%, rgba(184, 98, 63, .18), transparent 60%),
    linear-gradient(180deg, rgba(12,31,26,.66) 0%, rgba(12,31,26,.25) 40%, rgba(12,31,26,.6) 72%, rgba(12,31,26,.96) 100%);
}
.page-hero { background: radial-gradient(70% 90% at 90% 0%, rgba(184, 98, 63, .16), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(201, 162, 94, .1), transparent 60%), var(--ink); }

/* Section surfaces */
.light { background: var(--paper); }
.sand { background: var(--sand); color: var(--text-dark); }
.sand .muted, .sand .lead { color: var(--muted-dark); }
.ink-2 { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.terra { background: radial-gradient(90% 120% at 0% 0%, #c8724c 0%, var(--terra) 35%, var(--terra-deep) 100%); color: var(--cream); }
.terra .stats, .terra .stat { border-color: rgba(246, 239, 226, .25); }
.terra .stat > span { color: rgba(246, 239, 226, .82); }
.terra .stat b sup { color: var(--gold-soft); }
.sand .stats, .sand .stat { border-color: rgba(29,42,36,.16); }
.sand .stat > span { color: var(--muted-dark); }
.sand .stat b sup { color: var(--terra); }

/* Marquee on gold */
.marquee { background: var(--gold-grad); border: 0; }
.marquee-track span { color: var(--ink); }
.marquee-track span::after { color: var(--terra-deep); }

/* Cards & tiles */
.project-card .media { box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.project-card .media::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(230, 200, 141, 0); transition: border-color .5s, inset .5s; pointer-events: none; }
.project-card:hover .media::after { inset: 12px; border-color: rgba(230, 200, 141, .7); }
.project-card .media .chip { border-left: 2px solid var(--gold); }
.project-card:hover .meta h3 { color: var(--gold-soft); }
.light .project-card:hover .meta h3 { color: var(--terra); }
.project-card .meta h3 { transition: color .3s; }
.disc-grid { background: rgba(201, 162, 94, .25); border-color: rgba(201, 162, 94, .25); }
.disc-tile::after { background: linear-gradient(180deg, transparent 25%, rgba(12,31,26,.55) 55%, rgba(12,31,26,.95)); transition: background .6s; }
.disc-tile:hover::after { background: linear-gradient(180deg, transparent 25%, rgba(125, 59, 37, .55) 60%, rgba(12,31,26,.95)); }
.disc-tile .num { color: var(--gold-soft); }

.process-step .n { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.light .process-step .n, .sand .process-step .n { background: linear-gradient(135deg, var(--terra), var(--terra-deep)); -webkit-background-clip: text; background-clip: text; }
.quote { border-top: 2px solid; border-image: var(--gold-grad) 1; }
.quote blockquote::before { color: var(--terra); }
.split-img .tag { background: var(--terra); color: var(--cream); }
.split-img .tag small { color: rgba(246, 239, 226, .85); }
.split-img::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(230, 200, 141, .55); z-index: 1; pointer-events: none; }

/* Filters, forms, calculator */
.filter.active { background: var(--gold-grad); color: var(--ink); border-color: transparent; }
.filter.active .count { color: var(--terra-deep); }
.seg input:checked + label { background: var(--gold-grad); border-color: transparent; }
.check input:checked + label { background: rgba(201, 162, 94, .08); }
.calc-result { background: linear-gradient(160deg, var(--ink-3), var(--ink-2) 60%); border: 1px solid rgba(201, 162, 94, .35); box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.calc-result .total { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.calc-result .total small { -webkit-text-fill-color: var(--muted); }
.bd-row .bar i { background: linear-gradient(90deg, var(--terra), var(--gold)); }

/* Services & tiers */
.service .n { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.service li::before { color: var(--terra); }
.tier { border-radius: 2px; transition: transform .4s var(--ease), box-shadow .4s; }
.tier:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(29,42,36,.35); }
.tier.featured { background: radial-gradient(120% 80% at 100% 0%, var(--ink-3), var(--ink) 70%); border-top: 3px solid var(--gold); }
.tier li::before { color: var(--terra); }
.tier.featured li::before { color: var(--gold); }
.values .ic { border-color: var(--terra); color: var(--terra); border-radius: 50%; }
.values > div { transition: background .4s; }
.values > div:hover { background: #fffaf2; }

/* Before/after handle */
.ba .handle { background: var(--gold); }
.ba .handle::after { background: var(--gold-grad); }

/* CTA band */
.cta-band .bg::after { background: linear-gradient(120deg, rgba(12,31,26,.88) 0%, rgba(12,31,26,.62) 55%, rgba(125,59,37,.6) 100%); }

/* Footer */
.site-footer { background: var(--ink-deep); border-top: 0; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--terra), var(--gold), var(--terra)); }
.site-footer h4 { color: var(--gold-soft); }
.footer-word { background: linear-gradient(180deg, rgba(230,200,141,.14), rgba(230,200,141,0)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.socials a:hover { background: var(--gold-grad); border-color: transparent; }
.toast { background: var(--gold-grad); }
::selection { background: var(--terra); color: var(--cream); }
.seg input:checked + label, .seg input:checked + label small { color: var(--ink); font-weight: 600; }
