@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* Brand colours arrive from /brand.css (studio brand kit); these are the fallbacks. */
:root {
  color-scheme: dark;
  --brand-primary: #1b1a17;
  --brand-accent: #c9a86a;
  --brand-accent-ink: #0e0d0b;
  --brand-secondary: #8c7a5e;
  --brand-ink: #0e0d0b;
  --brand-paper: #f2ece1;

  --bg: var(--brand-ink);
  --bg-2: color-mix(in srgb, var(--brand-ink) 95%, var(--brand-paper));
  --bg-3: color-mix(in srgb, var(--brand-ink) 90%, var(--brand-paper));
  --text: var(--brand-paper);
  --text-2: color-mix(in srgb, var(--brand-paper) 74%, var(--brand-ink));
  --text-3: color-mix(in srgb, var(--brand-paper) 54%, var(--brand-ink));
  --gold: var(--brand-accent);
  --gold-ink: var(--brand-accent-ink);
  --gold-soft: color-mix(in srgb, var(--brand-accent) 13%, transparent);
  --hair: color-mix(in srgb, var(--brand-paper) 12%, transparent);
  --hair-2: color-mix(in srgb, var(--brand-paper) 22%, transparent);
  --hair-gold: color-mix(in srgb, var(--brand-accent) 45%, transparent);
  --warn: #e6b49f;

  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jakarta", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1240px;
  --header-h: 76px;
}
/* Declares the page as dark-native, so browsers with a forced dark mode leave the colours alone. */
@media (prefers-color-scheme: dark) { :root { color-scheme: dark; } }
@media (max-width: 720px), (min-width: 1025px) and (max-height: 760px) { :root { --header-h: 64px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--text); }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
section[id] { scroll-margin-top: calc(var(--header-h) - 1px); }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--gold-ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

.eyebrow { display: flex; align-items: center; flex-wrap: wrap; margin: 0 0 22px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.eyebrow-no { display: inline-flex; align-items: center; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 19px; letter-spacing: 0; text-transform: none; }
.eyebrow-no::after { content: ""; width: 46px; height: 1px; margin: 0 16px; background: var(--hair-gold); transform-origin: left; }
[data-reveal] .eyebrow-no::after { transform: scaleX(0); transition: transform 900ms var(--ease-out) 250ms; }
[data-reveal].in .eyebrow-no::after { transform: scaleX(1); }

.sample-note {
  display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 6px 10px;
  font-size: 12.5px; line-height: 1.5; color: var(--warn);
  border: 1px dashed color-mix(in srgb, var(--warn) 55%, transparent);
  background: color-mix(in srgb, var(--warn) 7%, transparent);
}

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font: inherit; font-weight: 600; font-size: 14.5px; letter-spacing: 0.02em; line-height: 1.2; text-decoration: none; cursor: pointer;
  padding: 15px 26px; border: 1px solid transparent; border-radius: 2px;
  transition: background-color 240ms var(--ease), color 240ms var(--ease), border-color 240ms var(--ease);
}
.btn-lg { padding: 17px 30px; font-size: 15px; }
.btn-sm { padding: 10px 16px; font-size: 13.5px; }
.btn-accent { background: var(--gold); color: var(--gold-ink); }
.btn-line { background: transparent; color: var(--text); border-color: var(--hair-2); }
.btn-ghost { background: transparent; color: inherit; }
.btn .icon { transition: transform 240ms var(--ease); }
.btn:disabled { opacity: 0.6; cursor: progress; }
@media (hover: hover) {
  .btn-accent:hover { background: color-mix(in srgb, var(--gold) 84%, var(--brand-paper)); }
  .btn-line:hover { border-color: var(--gold); color: var(--gold); }
  .btn-line:hover .icon:last-child { transform: translateX(4px); }
}
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); text-decoration: none; }
.link-arrow .icon { transition: transform 240ms var(--ease); }
.link-quiet { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--hair-2); text-underline-offset: 5px; }
@media (hover: hover) {
  .link-arrow:hover .icon { transform: translateX(4px); }
  .link-quiet:hover { color: var(--text); text-decoration-color: var(--gold); }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  box-shadow: 0 1px 0 var(--hair);
  transition: background-color 400ms var(--ease), box-shadow 400ms var(--ease);
}
.has-overlay .site-header:not(.scrolled):not(.menu-open) { background: transparent; box-shadow: 0 1px 0 transparent; }
.header-row { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; flex: none; }
.brand picture { display: contents; }
.brand-logo { width: auto; height: 40px; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: 0.3em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 13.5px; letter-spacing: 0.03em; }
.nav a { position: relative; padding: 6px 0; color: var(--text-2); text-decoration: none; transition: color 200ms; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 300ms var(--ease-out); }
@media (hover: hover) {
  .nav a:hover { color: var(--text); }
  .nav a:hover::after { transform: scaleX(1); }
}
.header-cta { flex: none; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; place-items: center; background: none; color: var(--text); border: 1px solid var(--hair-2); border-radius: 2px; cursor: pointer; }
.menu-toggle .icon { width: 20px; height: 20px; }

@media (max-width: 1100px) {
  .nav { gap: 18px; font-size: 13px; }
  .header-cta { display: none; }
}
@media (max-width: 980px) {
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
    padding: 8px 20px 20px; background: var(--bg); box-shadow: 0 1px 0 var(--hair), 0 24px 40px -24px rgba(0, 0, 0, 0.8);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--hair); }
  .nav a::after { display: none; }
  .menu-toggle { display: grid; }
  .header-cta { display: none; }
}
@media (max-width: 420px) {
  .brand { gap: 10px; }
  .brand-logo { height: 32px; }
  .brand-name { font-size: 15px; letter-spacing: 0.22em; }
}

/* ---------- hero ---------- */
.has-overlay main > .hero:first-child { margin-top: calc(var(--header-h) * -1); }
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--text); background: var(--bg); }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.hero-media picture { display: contents; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 58%; animation: hero-photo 1800ms var(--ease-out) both; }
/* Wide screens: the photo starts a little in from the left, so the house sits beside the words instead of under them. */
.hero-media { left: 16%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 72%, transparent) 0%, color-mix(in srgb, var(--bg) 22%, transparent) 16%, transparent 32%),
    linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 86%, transparent) 12%, color-mix(in srgb, var(--bg) 54%, transparent) 32%, color-mix(in srgb, var(--bg) 18%, transparent) 54%, transparent 72%),
    linear-gradient(0deg, color-mix(in srgb, var(--bg) 94%, transparent) 0%, color-mix(in srgb, var(--bg) 58%, transparent) 20%, transparent 44%),
    linear-gradient(270deg, color-mix(in srgb, var(--bg) 36%, transparent) 0%, transparent 16%);
}
/* A faint warm light behind the words, so the dark side does not look flat. */
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: -14%; top: 6%; width: 72%; height: 84%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 8%, transparent), transparent);
}
.hero-inner {
  position: relative; z-index: 1; display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + clamp(48px, 11vh, 150px)) 0 clamp(28px, 5vh, 56px);
  /* Lines the words up with the logo mark instead of the edge of its image. */
  padding-inline: clamp(6px, 1.4vw, 16px);
  gap: clamp(44px, 8vh, 96px);
}
/* Spare height is shared above and below the words, so tall and short screens both look balanced. */
.hero-copy { max-width: 760px; margin-block: auto; }
.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; row-gap: 10px; margin: 0 0 clamp(20px, 3vh, 30px); }
.hero-address { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13.5px; color: var(--text-2); }
.hero-address .icon { width: 16px; height: 16px; color: var(--gold); }
.hero-address a { color: inherit; text-decoration-color: var(--hair-gold); text-underline-offset: 4px; }
.hero-areas { list-style: none; display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; margin: 0; padding: 0; font-size: 11.5px; font-weight: 600; letter-spacing: 0.26em; line-height: 1.5; text-transform: uppercase; color: var(--gold); }
.hero-areas::before { content: ""; width: 30px; height: 1px; margin: 0 18px; background: var(--hair-gold); }
/* The dot follows each area (not the next one), so a wrapped line never starts with a separator on phones. */
.hero-areas li:not(:last-child)::after { content: "\00B7"; content: "\00B7" / ""; display: inline-block; margin: 0 0.85em 0 0.6em; letter-spacing: 0; color: var(--text-3); }
.hero-title {
  margin: 0; max-width: 13em;
  font-family: var(--serif); font-weight: 500; font-size: clamp(42px, min(5.6vw, 9.4vh), 86px); line-height: 1.04; letter-spacing: -0.012em;
  color: var(--text); text-wrap: balance;
}
.hero-sub { max-width: 600px; margin: clamp(20px, 3vh, 28px) 0 0; font-size: clamp(15.5px, 1.2vw, 18px); line-height: 1.7; color: var(--text-2); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: clamp(30px, 4.6vh, 44px); }
.hero-offer { display: inline-flex; margin: 22px 0 0; padding: 8px 14px; border: 1px solid var(--hair-gold); color: var(--gold); font-size: 13px; letter-spacing: 0.06em; }

/* Hero buttons: a solid gold primary with its icon on a dark tile, a glass secondary, a quiet third link. */
.btn-hero { min-height: 60px; padding: 0 30px; font-size: 15.5px; letter-spacing: 0.03em; }
.btn-hero.btn-accent {
  position: relative; overflow: hidden; gap: 14px; padding: 0 30px 0 10px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--gold) 76%, var(--brand-paper)) 0%, var(--gold) 44%, color-mix(in srgb, var(--gold) 84%, var(--brand-ink)) 100%);
  box-shadow: 0 22px 44px -24px color-mix(in srgb, var(--gold) 80%, transparent), inset 0 1px 0 color-mix(in srgb, var(--brand-paper) 42%, transparent);
}
.btn-hero.btn-accent::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, color-mix(in srgb, var(--brand-paper) 36%, transparent) 50%, transparent 68%);
  transform: translateX(-120%); transition: transform 900ms var(--ease-out);
}
.btn-badge { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 2px; background: color-mix(in srgb, var(--gold-ink) 90%, transparent); color: var(--gold); }
.btn-badge .icon { width: 19px; height: 19px; }
.btn-glass { background: color-mix(in srgb, var(--bg) 44%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: var(--hair-gold); }
.btn-glass .icon { color: var(--gold); }
.hero-link { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 8px; font-size: 14.5px; color: var(--text-2); text-decoration: none; transition: color 240ms var(--ease); }
.hero-link .icon { color: var(--gold); transition: transform 240ms var(--ease); }
.hero-link span { padding-bottom: 3px; border-bottom: 1px solid var(--hair-gold); transition: border-color 240ms var(--ease); }
@media (hover: hover) {
  .btn-hero.btn-accent:hover { background: linear-gradient(120deg, color-mix(in srgb, var(--gold) 66%, var(--brand-paper)) 0%, color-mix(in srgb, var(--gold) 92%, var(--brand-paper)) 44%, var(--gold) 100%); }
  .btn-hero.btn-accent:hover::after { transform: translateX(120%); }
  .btn-glass:hover { background: color-mix(in srgb, var(--bg) 64%, transparent); }
  .hero-link:hover { color: var(--text); }
  .hero-link:hover span { border-color: var(--gold); }
  .hero-link:hover .icon:last-child { transform: translateX(4px); }
}

.hero-foot {
  padding-top: clamp(22px, 3.4vh, 32px); border-top: 1px solid var(--hair-2);
  display: grid; grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.75fr); gap: 24px 56px; align-items: end;
}
.hero-foot.stats-only { grid-template-columns: minmax(0, 1fr); }
.hero-foot.stats-only .stat:first-child { padding-left: 0; border-left: 0; }
.hero-foot .sample-note { grid-column: 1 / -1; margin: 0; }
.hero-points { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.hero-points .icon { width: 16px; height: 16px; margin-top: 1px; color: var(--gold); }
/* The work flow (Konsultasi to Serah Terima) where the selling points used to be: numbered, three across, two rows. */
.hero .hero-foot.flow { grid-template-columns: max-content minmax(0, 1fr); gap: 24px clamp(36px, 4.4vw, 72px); align-items: center; }
.hero-flow { list-style: none; display: grid; grid-template-columns: repeat(3, max-content); gap: 14px 30px; margin: 0; padding: 0; }
.hero-flow li { display: flex; align-items: baseline; gap: 10px; min-width: 0; font-size: 14.5px; line-height: 1.3; color: var(--text); white-space: nowrap; }
.hero-flow-no { flex: none; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 18px; line-height: 1; color: var(--gold); font-variant-numeric: lining-nums; }
.hero-stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; }
.stat { min-width: 0; padding: 2px 0 0 24px; border-left: 1px solid var(--hair-2); }
.stat-value { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3vw, 46px); line-height: 1; color: var(--text); font-variant-numeric: lining-nums; white-space: nowrap; }
.stat-value small { margin-left: 0.2em; font-family: var(--sans); font-size: 0.42em; font-weight: 600; letter-spacing: 0.04em; color: var(--text-2); }
.stat-word .stat-value { font-style: italic; font-size: clamp(28px, 2.6vw, 40px); }
.stat-label { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--text-2); }
.stat-link a { display: block; color: inherit; text-decoration: none; }
.stat-link .stat-label { color: var(--gold); }
.stat-link .icon { transition: transform 240ms var(--ease); }
@media (hover: hover) { .stat-link a:hover .icon { transform: translateX(4px); } }

/* Short laptop screens (1280x600 at 150% scaling, 1440x900 with the browser bar): room under the header, buttons in the first screen, figures below. */
@media (min-width: 1025px) and (max-height: 820px) {
  .hero-inner { padding-top: calc(var(--header-h) + 44px); padding-bottom: 26px; gap: 34px; }
  /* The default selling points repeat the subheadline: on a short screen the figures get the band to themselves. Campaign highlights stay. */
  .hero .hero-foot.usps { grid-template-columns: minmax(0, 1fr); }
  .hero .hero-foot.usps .hero-points { display: none; }
  .hero .hero-foot.usps .stat:first-child { padding-left: 0; border-left: 0; }
  .hero-kicker { margin-bottom: 18px; }
  .hero-title { font-size: clamp(40px, 8.4vh, 66px); }
  .hero-sub { margin-top: 16px; font-size: 15.5px; line-height: 1.6; }
  .hero-cta { margin-top: 26px; }
  .btn-hero { min-height: 54px; }
  .btn-badge { width: 36px; height: 36px; }
  .hero-foot { padding-top: 18px; }
  .hero-points { gap: 7px; }
  .hero-flow { gap: 10px 26px; }
  .hero-flow li { font-size: 14px; }
  .stat-value { font-size: 32px; }
  .stat-word .stat-value { font-size: 28px; }
  .stat-label { margin-top: 6px; }
}
@media (min-width: 1025px) and (max-width: 1180px) {
  .hero-foot:not(.stats-only) { grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.9fr); gap: 20px 32px; }
  .hero .hero-foot.flow { grid-template-columns: max-content minmax(0, 1fr); }
  .hero-flow { grid-template-columns: repeat(2, max-content); }
  .stat { padding-left: 16px; }
}
/* Large screens: the buttons grow with the headline. */
@media (min-width: 1600px) and (min-height: 821px) {
  .btn-hero { min-height: 64px; padding-inline: 36px; font-size: 16.5px; }
  .btn-hero.btn-accent { padding-left: 12px; padding-right: 36px; }
  .btn-badge { width: 44px; height: 44px; }
  .btn-badge .icon { width: 20px; height: 20px; }
  .hero-link { font-size: 15.5px; }
}

/* Portrait tablets and phones: the house sits on top in full, the words follow below it. */
.hero { --media-h: min(88vw, 56vh); }
@supports (height: 1svh) { .hero { --media-h: min(88vw, 56svh); } }
@media (max-width: 1024px) and (orientation: portrait), (max-width: 720px) {
  .hero-media { left: 0; bottom: auto; height: var(--media-h); }
  .hero-media img { object-position: 54% 50%; }
  .hero-media::after {
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--bg) 66%, transparent) 0%, transparent 30%),
      linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 74%, transparent) 16%, color-mix(in srgb, var(--bg) 30%, transparent) 38%, transparent 60%);
  }
  .hero::before { left: -30%; top: calc(var(--media-h) - 120px); width: 110%; height: 60%; }
  .hero-inner { min-height: 0; padding-top: calc(var(--media-h) - 48px); padding-bottom: 64px; gap: 52px; }
  .hero-copy { max-width: none; margin-block: 0; }
  .hero-kicker { flex-direction: column; align-items: flex-start; margin-bottom: 22px; }
  .hero-areas::before { display: none; }
  .hero-title { max-width: none; font-size: clamp(38px, 9.2vw, 64px); }
  .hero-sub { margin-top: 20px; }
  .hero-cta { margin-top: 32px; }
  .hero-foot { grid-template-columns: 1fr; gap: 34px; padding-top: 32px; }
  .hero .hero-foot.flow { grid-template-columns: 1fr; gap: 30px; }
  .hero-points { gap: 14px; }
  .stat:first-child { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  .hero { --media-h: min(100vw, 48vh); }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .hero-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hero-cta { gap: 12px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .btn-hero { min-height: 56px; }
  .hero-link { flex: 1 1 100%; justify-content: center; }
}
@supports (height: 1svh) { @media (max-width: 600px) { .hero { --media-h: min(100vw, 48svh); } } }

.reveal-now { animation: rise 900ms var(--ease-out) both; }
.r1 { animation-delay: 0.08s; } .r2 { animation-delay: 0.18s; } .r3 { animation-delay: 0.3s; } .r4 { animation-delay: 0.42s; } .r5 { animation-delay: 0.6s; }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hero-photo { from { opacity: 0; transform: scale(1.045); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.65); opacity: 0; } }
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
.services [data-reveal]:nth-child(2), .steps [data-reveal]:nth-child(2), .projects [data-reveal]:nth-child(2), .quotes [data-reveal]:nth-child(2) { transition-delay: 90ms; }
.services [data-reveal]:nth-child(3), .steps [data-reveal]:nth-child(3), .projects [data-reveal]:nth-child(3) { transition-delay: 180ms; }
.services [data-reveal]:nth-child(4), .steps [data-reveal]:nth-child(4) { transition-delay: 270ms; }
.steps [data-reveal]:nth-child(5) { transition-delay: 360ms; }
.steps [data-reveal]:nth-child(6) { transition-delay: 450ms; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 136px) 0; border-top: 1px solid var(--hair); }
main > .section:nth-of-type(odd) { background: var(--bg-2); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 68px); }
.section-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.4vw, 62px); line-height: 1.05; letter-spacing: -0.01em; color: var(--text); text-wrap: balance; }
@media (max-width: 720px) { .section { padding: 72px 0; } }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.svc { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 14px; padding: 34px 28px 30px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
/* Hover layers live on pseudo-elements so the staggered reveal delay never slows the hover. */
.svc::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease-out); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg-3); opacity: 0; transition: opacity 400ms var(--ease); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.svc-no { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold); }
.svc-icon { width: 46px; height: 46px; fill: none; stroke: var(--text-2); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 300ms; }
.svc h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.1; }
.svc p { margin: 0; font-size: 15px; color: var(--text-2); }
.svc .svc-price { color: var(--gold); font-weight: 600; font-size: 14px; }
.svc-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: auto; padding-top: 18px; font-size: 13.5px; font-weight: 600; }
@media (hover: hover) {
  .svc:hover::after { opacity: 1; }
  .svc:hover::before { transform: scaleX(1); }
  .svc:hover .svc-icon { stroke: var(--gold); }
}
@media (max-width: 1100px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } .svc { padding: 28px 22px; } }

/* ---------- 3D model ---------- */
.model-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.model-intro p { margin: 0; color: var(--text-2); max-width: 46ch; }
.model-intro .sample-note { margin-top: 14px; }
.model-stage { position: relative; width: 100%; background: var(--bg); border: 1px solid var(--hair); }
.model-viewport { position: relative; aspect-ratio: 16 / 9; max-height: 640px; overflow: hidden; }
.model-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; outline-offset: -3px; }
.is-dragging .model-canvas { cursor: grabbing; }
/* Controls sit under the model so they never cover it. */
.model-ui { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--hair); }
.model-views { display: flex; flex-wrap: wrap; gap: 6px; }
.model-views button {
  font: inherit; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; cursor: pointer;
  padding: 9px 14px; color: var(--text-2); background: color-mix(in srgb, var(--bg) 82%, transparent);
  border: 1px solid var(--hair-2); border-radius: 2px; transition: color 200ms, border-color 200ms, background-color 200ms;
}
.model-views button[aria-pressed="true"] { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); }
.model-views .model-mode { margin-left: 8px; }
.model-views .model-mode[aria-pressed="true"] { color: var(--gold); background: color-mix(in srgb, var(--bg) 82%, transparent); border-color: var(--gold); }
@media (hover: hover) { .model-views button:hover { color: var(--text); border-color: var(--hair-gold); } }
.model-hint { margin: 0; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.model-status { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 24px; text-align: center; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); pointer-events: none; }
.model-stage.is-ready .model-status:empty { display: none; }
.model-stage.is-fallback .model-canvas, .model-stage.is-fallback .model-ui { display: none; }
/* The poster photo of the same house shows while the viewer loads and when a device cannot draw 3D. */
.model-poster { position: absolute; inset: 0; display: block; transition: opacity 700ms var(--ease-out); }
.model-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.model-stage.is-ready .model-poster { opacity: 0; pointer-events: none; }
.model-stage.is-fallback .model-poster { opacity: 1; }
.model-poster + .model-canvas + .model-status { color: var(--text); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85); background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.45)); align-items: end; }
.model-stage.is-fallback .model-poster + .model-canvas + .model-status { display: grid; }
@media (max-width: 860px) {
  .model-head { grid-template-columns: 1fr; }
  .model-viewport { aspect-ratio: 1 / 1; }
  .model-ui { padding: 12px; }
  .model-hint { display: none; }
  .model-views { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .model-views button { padding: 11px 10px; }
  .model-views .model-mode { margin-left: 0; }
}
@media (max-width: 860px) and (orientation: landscape) { .model-viewport { aspect-ratio: 16 / 9; } }

/* ---------- process ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 64px); row-gap: 12px; margin: 0; padding: 0; }
.step { position: relative; padding: 30px 0 34px; border-top: 1px solid var(--hair); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 1px; background: var(--gold); }
.step-no { display: block; margin-bottom: 18px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 46px; line-height: 1; color: var(--gold); }
.step h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.15; }
.step p { margin: 0; max-width: 38ch; font-size: 15px; color: var(--text-2); }
.step-badge { display: inline-flex; align-items: center; margin: 0 0 12px; padding: 5px 12px; border: 1px solid var(--hair-gold); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--gold); background: color-mix(in srgb, var(--gold) 9%, transparent); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .step-no { font-size: 40px; } }

/* ---------- estimator ---------- */
.estimator { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.est-intro > p { color: var(--text-2); }
.est-excl { list-style: none; display: grid; gap: 10px; margin: 28px 0; padding: 0; font-size: 14.5px; color: var(--text-2); }
.est-excl li { display: flex; gap: 14px; }
.est-excl li::before { content: ""; flex: none; width: 14px; height: 1px; margin-top: 0.85em; background: var(--gold); }
.est-meta { margin: 0; font-size: 13px; letter-spacing: 0.02em; color: var(--text-3); }
.est-form, .lead-form { position: relative; display: grid; gap: 22px; padding: clamp(24px, 3vw, 40px); background: var(--bg); border: 1px solid var(--hair); }
.est-form::before, .lead-form::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent 75%); }
.est-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }

.field { display: grid; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 16px; font-weight: 400; letter-spacing: normal; text-transform: none;
  color: var(--text); background: color-mix(in srgb, var(--bg-2) 70%, transparent);
  border: 1px solid var(--hair-2); border-radius: 2px; transition: border-color 200ms, box-shadow 200ms;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23c9a86a' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 12px 8px;
}
.field select option { color: #f2ece1; background: #1b1a17; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }

.tiers { margin: 0; padding: 0; border: 0; min-width: 0; }
.tiers legend { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; width: 100%; margin-bottom: 12px; padding: 0; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.tiers-basis { letter-spacing: 0.1em; color: var(--gold); }
.tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tier { position: relative; display: block; cursor: pointer; }
.tier input { position: absolute; opacity: 0; pointer-events: none; }
.tier-card { display: grid; gap: 6px; height: 100%; padding: 16px 14px; border: 1px solid var(--hair-2); border-radius: 2px; transition: border-color 220ms, background-color 220ms; }
.tier-name { font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.1; color: var(--text); }
.tier-price { font-size: 13px; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.tier input:checked + .tier-card { border-color: var(--gold); background: var(--gold-soft); }
.tier input:checked + .tier-card .tier-price { color: var(--gold); }
.tier input:focus-visible + .tier-card { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (hover: hover) { .tier:hover .tier-card { border-color: var(--hair-gold); } }

.est-result { display: grid; gap: 6px; padding: 22px 24px; background: var(--bg-2); border: 1px solid var(--hair); }
.est-label { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); }
.est-result strong { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; color: var(--text); font-variant-numeric: lining-nums; }
.est-result strong.bump { animation: rise 420ms var(--ease-out); }
.est-note { font-size: 13px; color: var(--text-2); }
.est-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 960px) { .estimator { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .est-row { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .tier-card { grid-template-columns: 1fr auto; align-items: baseline; }
  .est-actions .btn { flex: 1 1 100%; }
}

/* ---------- portfolio ---------- */
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.project { display: flex; flex-direction: column; min-width: 0; }
.project-art {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--hair);
  background:
    radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 62%),
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--brand-paper) 4%, transparent) 0 1px, transparent 1px 14px),
    var(--bg-3);
}
.project-art .svc-icon { width: 34%; height: auto; stroke: color-mix(in srgb, var(--gold) 70%, transparent); stroke-width: 0.7; }
.project-code { position: absolute; left: 18px; top: 14px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--gold); }
.project-ph { position: absolute; left: 18px; bottom: 16px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }
.project-body { padding: 20px 2px 0; }
.project-kind { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.project-body h3 { margin: 0 0 16px; font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.15; }
.project-body dl { display: flex; flex-wrap: wrap; margin: 0; padding-top: 14px; border-top: 1px solid var(--hair); }
.project-body dl div { padding-right: 20px; margin-right: 20px; border-right: 1px solid var(--hair); }
.project-body dl div:last-child { padding-right: 0; margin-right: 0; border-right: 0; }
.project-body dt { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }
.project-body dd { margin: 4px 0 0; font-size: 14.5px; font-weight: 600; color: var(--text); }
@media (max-width: 960px) { .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .projects { grid-template-columns: 1fr; } .project-art { aspect-ratio: 5 / 4; } }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.quote { margin: 0; padding-top: 30px; border-top: 1px solid var(--hair); }
.quote::before { content: "\201C"; display: block; height: 40px; margin-bottom: 10px; font-family: var(--serif); font-size: 88px; line-height: 0.85; color: var(--gold); }
.quote blockquote { margin: 0 0 22px; }
.quote { display: flex; flex-direction: column; }
.quote blockquote p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(20px, 1.75vw, 25px); line-height: 1.38; color: var(--text); }
.quote figcaption { margin-top: auto; }
.quote-tag { padding: 1px 8px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--warn); border: 1px dashed color-mix(in srgb, var(--warn) 55%, transparent); }
.quote figcaption { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: 13.5px; color: var(--text-2); }
.quote figcaption strong { font-weight: 600; letter-spacing: 0.04em; color: var(--text); }
@media (max-width: 1024px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Phones: testimonials become a row to swipe through instead of a long column. */
@media (max-width: 640px) {
  .quotes { display: flex; gap: 16px; margin-inline: -20px; padding: 0 20px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: thin; }
  .quote { flex: 0 0 86%; scroll-snap-align: start; }
}

/* ---------- instagram ---------- */
/* Heading on top like the other sections, then the profiles as full-width cards (owner review 2026-11-29:
   the profiles squeezed beside the heading looked small and out of place on desktop). */
.ig-head { margin-bottom: clamp(28px, 3.5vw, 44px); }
.ig-head .section-title { max-width: 16em; }
.ig-intro { max-width: 52ch; margin: 18px 0 0; color: var(--text-2); }
.ig-profiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); margin-bottom: clamp(28px, 3.5vw, 44px); }
.ig-profiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ig-profile {
  display: flex; align-items: center; gap: clamp(16px, 2vw, 26px); min-width: 0; padding: clamp(20px, 2.4vw, 32px);
  color: var(--text); text-decoration: none; border: 1px solid var(--hair-2); border-radius: 2px;
  background: radial-gradient(ellipse at 0% 0%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 62%), var(--bg-2);
  transition: border-color 220ms var(--ease), transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
}
.ig-avatar { display: grid; place-items: center; flex: none; width: clamp(60px, 6vw, 80px); aspect-ratio: 1; border-radius: 50%; background: var(--bg); border: 1px solid var(--hair-gold); }
/* The picture wrapper was a block wider than the image, so the logo sat left of centre: let the image be the grid item. */
.ig-avatar picture { display: contents; }
/* One grid cell for the image: the source elements of the picture must not open extra rows (they pushed the logo down). */
.ig-avatar source { display: none; }
.ig-avatar img { grid-area: 1 / 1; width: 58%; height: auto; }
.ig-id { display: grid; gap: 6px; min-width: 0; line-height: 1.2; }
.ig-platform { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.ig-platform .icon { width: 16px; height: 16px; }
.ig-id strong { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -0.005em; overflow-wrap: anywhere; }
.ig-follow { flex: none; margin-left: auto; }
@media (hover: hover) {
  .ig-profile:hover { border-color: var(--hair-gold); transform: translateY(-3px); box-shadow: 0 24px 48px -30px rgba(0, 0, 0, 0.8); }
  .ig-profile:hover .ig-follow { border-color: var(--gold); color: var(--gold); }
}
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.ig-post { display: grid; gap: 10px; align-content: start; }
.ig-load {
  display: grid; place-items: center; align-content: center; gap: 10px; aspect-ratio: 4 / 5; width: 100%; padding: 24px; cursor: pointer;
  font: inherit; color: var(--text-2); background:
    radial-gradient(ellipse at 50% 35%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 65%), var(--bg-3);
  border: 1px solid var(--hair); border-radius: 2px; transition: border-color 220ms var(--ease), color 220ms var(--ease);
}
.ig-load .icon { width: 34px; height: 34px; color: var(--gold); }
.ig-load span { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--text); }
.ig-load small { font-size: 12px; letter-spacing: 0.04em; color: var(--text-3); }
@media (hover: hover) { .ig-load:hover { border-color: var(--hair-gold); } }
.ig-frame { width: 100%; height: 640px; border: 0; border-radius: 2px; background: #fff; }
.ig-frame-tiktok { height: 740px; background: #000; }
.ig-open { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--gold); text-decoration: none; }
@media (max-width: 860px) { .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .ig-profiles.two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .ig-grid { grid-template-columns: 1fr; }
  .ig-profile { flex-wrap: wrap; padding: 18px; gap: 14px; }
  .ig-id strong { font-size: 22px; }
  .ig-follow { width: 100%; margin-left: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ig-profile, .ig-profile:hover { transition: none; transform: none; } }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq details { border-bottom: 1px solid var(--hair); }
.faq details:first-child { border-top: 1px solid var(--hair); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.25; color: var(--text); transition: color 200ms; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 16px; height: 16px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold); transition: transform 300ms var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq details[open] .faq-icon::after { transform: rotate(0deg); }
.faq details p { max-width: 62ch; margin: 0 0 26px; color: var(--text-2); animation: rise 360ms var(--ease-out); }
@media (hover: hover) { .faq summary:hover { color: var(--gold); } }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { margin-bottom: 8px; } }

/* ---------- contact ---------- */
main > .section.section-contact { background: radial-gradient(ellipse 70% 60% at 0% 0%, color-mix(in srgb, var(--gold) 8%, transparent), transparent 70%), var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-info > p { max-width: 46ch; margin: 22px 0 30px; color: var(--text-2); }
.contact-list { display: grid; margin: 40px 0 0; border-top: 1px solid var(--hair); }
.contact-list div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.contact-list dt { padding-top: 3px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }
.contact-list dd { margin: 0; color: var(--text); }
.lead-form { gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.55; color: var(--text-2); cursor: pointer; }
.consent-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); }
.consent-check a { color: var(--gold); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; padding: 12px 14px; font-size: 14px; color: var(--warn); background: color-mix(in srgb, #c0583c 14%, transparent); border: 1px solid color-mix(in srgb, #c0583c 45%, transparent); }
.lead-form [aria-invalid="true"] { border-color: #d0735a; }
.lead-form > .btn { justify-self: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .contact-list div { grid-template-columns: 1fr; gap: 4px; } .lead-form > .btn { justify-self: stretch; } }

/* ---------- footer ---------- */
.site-footer { padding: clamp(56px, 7vw, 96px) 0 32px; background: color-mix(in srgb, var(--bg) 70%, #000); border-top: 1px solid var(--hair); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; padding-bottom: 40px; border-bottom: 1px solid var(--hair); }
.brand-logo-full { width: clamp(170px, 18vw, 220px); height: auto; }
.footer-handle { color: var(--text-3); }
.footer-tagline { max-width: 40ch; margin: 0; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.35; color: var(--text-2); }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 40px 0; }
.footer-col { display: grid; gap: 8px; align-content: start; font-size: 14.5px; color: var(--text-2); }
.footer-col a { color: var(--text); text-decoration: none; transition: color 200ms; }
@media (hover: hover) { .footer-col a:hover { color: var(--gold); } }
.footer-label { margin-bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--text-3); }
.footer-legal a { color: var(--text-2); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- floating button and consent ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold); color: var(--gold-ink); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7);
  transition: transform 220ms var(--ease), opacity 260ms var(--ease), visibility 0s linear 0s;
}
/* On pages that open with the photo hero, the floating button waits until the hero's own buttons leave the screen (site.js). */
.has-overlay .wa-float:not(.is-free) {
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.92); pointer-events: none;
  transition: transform 260ms var(--ease), opacity 260ms var(--ease), visibility 0s linear 260ms;
}
.wa-float .icon { width: 25px; height: 25px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold); animation: pulse 2.8s var(--ease) infinite; }
@media (hover: hover) { .wa-float:hover { transform: translateY(-2px); } }
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 640px;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding: 18px 20px;
  color: var(--text-2); background: var(--bg-3); border: 1px solid var(--hair-2); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8);
  animation: rise 500ms var(--ease-out) both;
}
.consent[hidden] { display: none; }
.consent p { flex: 1 1 280px; margin: 0; font-size: 14px; }
.consent a { color: var(--gold); }
.consent-actions { display: flex; gap: 8px; }

/* ---------- simple pages ---------- */
.thanks { display: grid; align-items: center; min-height: 64vh; }
.thanks p { color: var(--text-2); }
.thanks .section-title { margin-bottom: 18px; }
.thanks a:not(.btn), .prose a { color: var(--gold); }
.prose h2 { margin: 36px 0 10px; font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--text); }
.prose p, .prose li { color: var(--text-2); }

/* ---------- portfolio: photo cards, carousel, project dialog ---------- */
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; }
.section-head-row > div:first-child { max-width: 780px; }
.track-nav { display: flex; gap: 8px; flex: none; }
.project-open { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.project-open:focus-visible { outline-offset: 4px; }
.project-art img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 900ms var(--ease-out); }
.project-art.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--bg) 70%, transparent), transparent 45%); pointer-events: none; }
.project-code, .project-count, .project-cta, .project-ph { z-index: 1; }
.project-count { position: absolute; right: 16px; top: 14px; padding: 3px 10px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); background: color-mix(in srgb, var(--bg) 60%, transparent); border: 1px solid var(--hair-2); border-radius: 999px; }
.project-cta { position: absolute; left: 18px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--gold); opacity: 0; transform: translateY(8px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.project-art.has-photo ~ .project-cta { opacity: 1; transform: none; color: var(--text); }
@media (hover: hover) {
  .project-open:hover .project-art img { transform: scale(1.05); }
  .project-open:hover .project-cta { opacity: 1; transform: none; }
  .project-open:hover .project-art { border-color: var(--hair-gold); }
}

/* Raised 3D cards: a sheet underneath gives the card thickness, the card tilts toward the pointer,
   the labels lift off the photo and a soft glare follows. Transform and opacity only. */
.project-open { perspective: 1100px; }
.project-tilt {
  position: relative; display: block; transform-style: preserve-3d;
  transform: translate3d(0, var(--lift, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 700ms var(--ease-out);
}
.project-tilt::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--hair-gold);
  transform-origin: 50% 100%;
  transform: translate3d(0, 10px, -24px) scale(0.92, 0.96);
  opacity: 0.6;
  transition: transform 700ms var(--ease-out), opacity 700ms var(--ease-out);
}
.project-art {
  box-shadow: 0 34px 50px -32px rgb(0 0 0 / 0.95), 0 16px 26px -18px rgb(0 0 0 / 0.75);
}
.project-art::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--brand-paper) 18%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--brand-paper) 5%, transparent);
}
.project-glare {
  position: absolute; inset: -50%; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--brand-paper) 17%, transparent), transparent 34%);
  opacity: 0; transform: translate3d(var(--gtx, 0%), var(--gty, 0%), 0);
  transition: opacity 500ms var(--ease-out);
}
.project-tilt > .project-code, .project-tilt > .project-count, .project-tilt > .project-ph { transition: transform 700ms var(--ease-out); }
.project-cta { transition: opacity 400ms var(--ease-out), transform 700ms var(--ease-out); }
.project:not(.in) .project-tilt { transform: translate3d(0, 28px, 0) rotateX(16deg); }
@media (hover: hover) {
  .project-open:hover { --lift: -8px; }
  .project-open:hover .project-tilt::before { transform: translate3d(0, 15px, -36px) scale(0.9, 0.96); opacity: 0.85; }
  .project-open:hover .project-tilt > .project-code, .project-open:hover .project-tilt > .project-count, .project-open:hover .project-tilt > .project-ph { transform: translateZ(36px); }
  .project-open:hover .project-cta { transform: translateZ(36px); }
  .project-open.is-tilting .project-tilt { transition-duration: 180ms; }
  .project-open.is-tilting .project-glare { opacity: 1; }
}
.project-open:active .project-tilt { --lift: -2px; transition-duration: 160ms; }
.projects.is-carousel { padding-top: 14px; margin-top: -14px; }
@media (prefers-reduced-motion: reduce) {
  .project-tilt, .project:not(.in) .project-tilt { transform: none; transition: none; }
  .project-glare { display: none; }
}

.contact-map { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--gold); text-decoration: none; }
.contact-map .icon { width: 14px; height: 14px; }
.contact-list dd .contact-map { display: flex; width: max-content; }
.contact-list dd a[href^="mailto:"] { color: inherit; text-decoration-color: var(--hair-gold); text-underline-offset: 4px; }
@media (hover: none) { .project-cta { opacity: 1; transform: none; } }
.projects.is-carousel { display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.projects.is-carousel::-webkit-scrollbar { display: none; }
.projects.is-carousel .project { flex: 0 0 calc((100% - 2 * clamp(16px, 2vw, 28px)) / 3); scroll-snap-align: start; }
@media (max-width: 960px) { .projects.is-carousel .project { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 600px) { .projects.is-carousel .project { flex-basis: 86%; } .track-nav { display: none; } }

.pd-nav { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--text); background: color-mix(in srgb, var(--bg) 72%, transparent); border: 1px solid var(--hair-2); border-radius: 50%; cursor: pointer; transition: border-color 200ms, color 200ms; }
.pd-nav .icon { width: 20px; height: 20px; }
.pd-nav:disabled { opacity: 0.35; cursor: default; }
@media (hover: hover) { .pd-nav:not(:disabled):hover { border-color: var(--gold); color: var(--gold); } }
html.dialog-open { overflow: hidden; }
.project-dialog { width: min(1180px, 100% - 32px); max-width: none; max-height: min(92vh, 860px); padding: 0; color: var(--text-2); background: var(--bg-2); border: 1px solid var(--hair-2); }
.project-dialog::backdrop { background: color-mix(in srgb, #000 80%, transparent); }
.project-dialog[open] { animation: dialog-in 420ms var(--ease-out) both; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }
.pd-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.pd-stage { position: relative; aspect-ratio: 4 / 3; max-height: min(92vh, 860px); overflow: hidden; background: #050505; touch-action: pan-y; }
.pd-slides { position: absolute; inset: 0; }
.pd-slide { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity 600ms var(--ease); }
.pd-slide.is-active { opacity: 1; }
.pd-slide img { width: 100%; height: 100%; max-width: none; object-fit: contain; }
.pd-slide.is-placeholder { background: radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 62%), var(--bg-3); }
.pd-slide.is-placeholder .svc-icon { width: 30%; height: auto; stroke: color-mix(in srgb, var(--gold) 75%, transparent); stroke-width: 0.7; }
.pd-stage .pd-nav { position: absolute; top: 50%; z-index: 1; transform: translateY(-50%); }
.pd-prev { left: 14px; }
.pd-next { right: 14px; }
.pd-count { position: absolute; left: 50%; bottom: 12px; z-index: 1; margin: 0; padding: 4px 12px; font-size: 12px; letter-spacing: 0.14em; color: var(--text); background: color-mix(in srgb, var(--bg) 70%, transparent); border-radius: 999px; transform: translateX(-50%); }
.pd-count:empty { display: none; }
.pd-info { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 40px); overflow: auto; }
.pd-info .project-kind { margin: 0; }
.pd-info h3 { margin: 0; padding-right: 40px; font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; }
.pd-desc { margin: 0; color: var(--text-2); }
.pd-desc:empty { display: none; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 0; padding-top: 14px; border-top: 1px solid var(--hair); }
.pd-meta:empty { display: none; }
.pd-meta dt { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }
.pd-meta dd { margin: 4px 0 0; font-weight: 600; color: var(--text); }
.pd-caption { margin: 0; font-size: 13.5px; font-style: italic; color: var(--text-3); }
.pd-caption:empty { display: none; }
.pd-info .btn { justify-self: start; margin-top: 6px; }
.pd-close { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: var(--text); background: color-mix(in srgb, var(--bg) 80%, transparent); border: 1px solid var(--hair-2); border-radius: 50%; cursor: pointer; }
@media (max-width: 860px) {
  .project-dialog { width: 100%; height: 100%; max-height: none; margin: 0; border: 0; }
  .pd-inner { grid-template-columns: 1fr; height: 100%; overflow: auto; }
  .pd-stage { aspect-ratio: 4 / 3.4; }
  .pd-stage .pd-nav { width: 38px; height: 38px; }
  .pd-info .btn { justify-self: stretch; }
}

/* ---------- living type: words rise in, supporting text follows ---------- */
.split .w { display: inline-block; opacity: 0; transform: translateY(0.55em); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms + 60ms); }
.in .split .w { opacity: 1; transform: none; }
.hero-title.split { animation: none; }
.hero-title.split .w { opacity: 1; transform: none; transition: none; animation: word-rise 900ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms + 140ms); }
@keyframes word-rise { from { opacity: 0; transform: translateY(0.5em); } to { opacity: 1; transform: none; } }
.section-head p, .model-intro p, .est-intro > p, .est-excl li, .contact-info > p, .contact-list > div, .ig-intro, .project-body, .step p, .svc p { transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.section-head:not(.in) p, .model-head:not(.in) .model-intro p, .est-intro:not(.in) > p, .est-intro:not(.in) .est-excl li, .contact-info:not(.in) > p, .contact-info:not(.in) .contact-list > div, .ig-head:not(.in) .ig-intro, .project:not(.in) .project-body, .step:not(.in) p, .svc:not(.in) p { opacity: 0; transform: translateY(12px); }
.section-head.in p, .model-head.in .model-intro p, .est-intro.in > p, .contact-info.in > p, .ig-head.in .ig-intro { transition-delay: 320ms; }
.est-intro.in .est-excl li:nth-child(1), .contact-info.in .contact-list > div:nth-child(1) { transition-delay: 380ms; }
.est-intro.in .est-excl li:nth-child(2), .contact-info.in .contact-list > div:nth-child(2) { transition-delay: 450ms; }
.est-intro.in .est-excl li:nth-child(3), .contact-info.in .contact-list > div:nth-child(3) { transition-delay: 520ms; }
.contact-info.in .contact-list > div:nth-child(n+4) { transition-delay: 590ms; }
.project.in .project-body, .step.in p, .svc.in p { transition-delay: 200ms; }
.section-head.in p.sample-note { transition-delay: 420ms; }
@media (prefers-reduced-motion: reduce) {
  .split .w, .hero-title.split .w { opacity: 1 !important; transform: none !important; animation: none !important; }
}
