/* ==========================================================================
   ZILLION PROPERTIES
   Layout: frosted stone and obsidian panels floating over a scroll-driven film,
   cinematic dark sections alternating with ivory reading sections.
   ========================================================================== */
:root {
  --obsidian: #0D0C0B;
  --charcoal: #1B1916;
  --charcoal-2: #26221D;
  --ivory: #F6F1E7;
  --limestone: #E4DCCE;
  --stone-line: #D3C9B8;
  --champagne: #C8A870;
  --champagne-soft: #E6D5B2;
  --bronze: #7A5A31;
  --ink: #1C1915;
  --ink-soft: #5B5348;
  --on-dark: #F2ECE1;
  --on-dark-soft: #B6AC9D;
  --line-dark: rgba(242, 236, 225, .14);
  --line-light: rgba(28, 25, 21, .14);
  --glass-light: rgba(246, 241, 231, .94);
  --glass-dark: rgba(14, 13, 11, .84);
  --frost: blur(18px) saturate(1.1);
  --danger: #A3261B;
  --ok: #2F6B45;
  --wa: #1E8E4E;

  --f-display: "Marcellus", "Cinzel", Georgia, "Times New Roman", serif;
  --f-ui: "Urbanist", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-panel: 24px;
  --r-card: 16px;
  --gut: clamp(10px, 1.4vw, 16px);
  --pad: clamp(22px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
:root.lite { --glass-light: rgba(246, 241, 231, .96); --glass-dark: rgba(14, 13, 11, .94); --frost: none; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --glass-light: rgba(246, 241, 231, .97); --glass-dark: rgba(14, 13, 11, .95); }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--obsidian); color: var(--on-dark);
  font: 400 17px/1.65 var(--f-ui);
  padding-inline: var(--gut); padding-block: 0 var(--gut);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 400; line-height: 1.08; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0; }
svg { flex: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible { outline-color: var(--bronze); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ivory); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- scroll film ---------- */
.film { position: fixed; inset: 0; z-index: -2; width: 100vw; height: 100vh; height: 100lvh; display: block; background: #1a150f; }
.film-shade { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(130% 90% at 50% 45%, rgba(0,0,0,0) 40%, rgba(8,6,3,.62) 100%), linear-gradient(180deg, rgba(20,14,6,.28), rgba(10,7,3,.38)); }
.film-shade::after { content: ""; position: absolute; inset: 0; opacity: .12; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s, border-color .25s, transform .2s var(--ease); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: var(--champagne); color: var(--obsidian); }
.btn-gold:hover { background: var(--champagne-soft); }
.btn-dark { background: var(--obsidian); color: var(--on-dark); }
.btn-dark:hover { background: #000; }
.btn-line { border-color: var(--line-light); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost-dark { border-color: rgba(242,236,225,.35); color: var(--on-dark); background: rgba(13,12,11,.25); }
.btn-ghost-dark:hover { border-color: var(--on-dark); }
.round { width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; border: 1px solid var(--line-light); background: transparent; color: var(--ink); transition: border-color .2s, background .2s; }
.round:hover { border-color: var(--ink); }
.round svg { width: 20px; height: 20px; }
.round:disabled { opacity: .35; cursor: default; }
.linkish { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }

/* ---------- header ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; margin-top: var(--gut); }
.hdr-in { display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(13,12,11,.72); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid var(--line-dark); box-shadow: 0 10px 34px -20px rgba(0,0,0,.8); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; margin-right: auto; }
.brand-mark { width: 17px; height: 28px; color: var(--champagne); }
.brand-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.brand-name { font: 400 16px/1 var(--f-display); letter-spacing: .2em; white-space: nowrap; }
.brand-sub { font-size: 11px; line-height: 1; color: var(--on-dark-soft); letter-spacing: .06em; white-space: nowrap; }
.nav { display: flex; gap: 2px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 13px; border-radius: 999px; color: var(--on-dark-soft); transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--on-dark); background: rgba(242,236,225,.07); }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; cursor: pointer; place-items: center; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 18px; height: 1.6px; background: var(--on-dark); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -6px; } .menu-lines::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }
.mnav { margin-top: 8px; padding: 10px; border-radius: 22px; background: rgba(13,12,11,.94); border: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 2px; }
.mnav a { text-decoration: none; font-size: 19px; padding: 13px 16px; border-radius: 14px; }
.mnav a:not(.btn):hover { background: rgba(242,236,225,.07); }
.mnav .btn { margin-top: 8px; }

/* ---------- panels ---------- */
.panel { position: relative; z-index: 1; overflow: hidden; margin-top: var(--gut); padding: var(--pad); border-radius: var(--r-panel);
  -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); }
.panel.light { background: var(--glass-light); color: var(--ink); border: 1px solid rgba(255,255,255,.5); }
.panel.dark { background: var(--glass-dark); color: var(--on-dark); border: 1px solid var(--line-dark); }
.wrap { max-width: 1240px; margin-inline: auto; }
.sec-h { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 48px; margin-bottom: clamp(28px, 4vw, 52px); }
.sec-h h2, .why h2, .faq-head h2, .contact-info h2 { font-size: clamp(34px, 4.6vw, 60px); }
.sec-h p { max-width: 46ch; color: var(--ink-soft); }
.dark .sec-h p { color: var(--on-dark-soft); }
.lede { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; }

/* ---------- hero ---------- */
.hero { padding: 0; min-height: clamp(580px, calc(100svh - 110px), 900px); display: grid; align-items: center; background: var(--obsidian); }
.hero-visual { position: absolute; inset: 0; z-index: 0; overflow: hidden; perspective: 1400px; perspective-origin: 68% 46%; }
/* the stage: layers sit at different depths; tilting the stage makes near layers swing further than far ones */
.dio { position: absolute; inset: -2.5%; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); will-change: transform; }
.dl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform-origin: 65.65% 46.2%; }  /* = perspective origin, so layers line up at rest */
.dl img, img.dl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 93% 50%; display: block; }
.dl0 { transform: translateZ(-90px) scale(1.0643); }          /* sky and far tree line */
.dl1 { transform: translateZ(0); }                            /* house, trees, pool deck */
.dl2 { transform: translateZ(80px) scale(.9429); }            /* near lawn */
.dio-card { position: absolute; right: 13%; top: 17%; transform: translateZ(190px) scale(.8643); transform-origin: right top;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 16px;
  background: rgba(13, 12, 11, .55); border: 1px solid rgba(200, 168, 112, .35); color: var(--on-dark);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); pointer-events: none; }
.dio-card svg { width: 15px; height: 25px; color: var(--champagne); flex: none; }
.dio-card b { display: block; font: 400 15px/1.25 var(--f-display); letter-spacing: .08em; }
.dio-card small { display: block; font-size: 12.5px; color: var(--on-dark-soft); margin-top: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .dio { animation: dio-in 2.2s var(--ease) both; }
  @keyframes dio-in { from { opacity: 0; transform: rotateY(-7deg) rotateX(3deg) translateZ(-60px); } to { opacity: 1; } }
}
.hero-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,9,8,.86) 0%, rgba(10,9,8,.62) 30%, rgba(10,9,8,.12) 54%, rgba(10,9,8,0) 66%),
              linear-gradient(0deg, rgba(10,9,8,.5) 0%, rgba(10,9,8,0) 30%); }
.hero-copy { position: relative; z-index: 2; align-self: center; max-width: 660px; padding: var(--pad); padding-top: clamp(48px, 7vw, 96px); display: flex; flex-direction: column; gap: 24px; }
.kicker { font-size: 12.5px; font-weight: 600; letter-spacing: .22em; color: var(--champagne); }
.hero h1 { font-size: clamp(40px, 4.4vw, 68px); line-height: 1.04; }
.hero h1 span { display: block; color: var(--champagne-soft); }
.hero-lede { font-size: clamp(17px, 1.45vw, 19.5px); color: var(--on-dark-soft); max-width: 50ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--on-dark-soft); }
.hero-meta svg { width: 17px; height: 17px; }
.loc, .wa-link { display: inline-flex; align-items: center; gap: 8px; }
.wa-link { text-decoration: none; min-height: 44px; }
.wa-link:hover { color: var(--on-dark); }

.hero-caption { position: absolute; z-index: 2; right: 96px; bottom: 22px; font-size: 12px; letter-spacing: .08em; color: rgba(242,236,225,.55); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-main { display: flex; flex-direction: column; gap: 22px; max-width: 64ch; }
.about-main h2 { font-size: clamp(34px, 4.4vw, 58px); }
.about-main p:not(.lede) { color: var(--ink-soft); }
.about-side { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line-light); border-radius: var(--r-panel); text-align: center; }
.about-mark { width: 54px; height: 90px; color: var(--champagne); filter: drop-shadow(0 6px 10px rgba(122,90,49,.25)); }
.philosophy { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 260px; }
.philosophy li { font: 400 clamp(17px, 1.5vw, 20px)/1 var(--f-display); letter-spacing: .34em; padding: 14px 0 14px .34em; color: var(--ink); border-top: 1px solid var(--line-light); }
.philosophy li:first-child { border-top: 0; }
.support { font-size: 12.5px; font-weight: 600; letter-spacing: .28em; color: var(--bronze); }

/* ---------- interludes over the film ---------- */
.interlude { position: relative; z-index: 0; min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding-block: 12vh; color: var(--on-dark); }
.il-word { font: 400 clamp(62px, 13vw, 210px)/.9 var(--f-display); letter-spacing: .14em; padding-left: .14em; margin: 0;
  text-shadow: 0 10px 60px rgba(0,0,0,.45), 0 2px 10px rgba(0,0,0,.25); transform: translate3d(0, var(--wy, 0px), 0) scale(var(--ws, 1)); will-change: transform; }
.il-line { font-size: clamp(16px, 1.5vw, 20px); font-weight: 500; max-width: 34ch; text-shadow: 0 2px 14px rgba(0,0,0,.65); }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.svc { grid-column: span 2; display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line-dark); border-radius: var(--r-card); background: rgba(242,236,225,.025); transition: border-color .3s, background .3s; }
.svc:nth-child(4), .svc:nth-child(5) { grid-column: span 3; }
.svc:hover { border-color: rgba(200,168,112,.55); background: rgba(242,236,225,.045); }
.svc svg { width: 38px; height: 38px; color: var(--champagne); }
.svc h3 { font-size: clamp(18px, 1.5vw, 21px); letter-spacing: .1em; line-height: 1.3; }
.svc p { color: var(--on-dark-soft); font-size: 16px; }
.svc .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: none; border: 0; padding: 10px 0; min-height: 44px;
  color: var(--champagne); font-weight: 600; font-size: 15px; cursor: pointer; }
.svc .more svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.svc .more:hover svg { transform: translateX(4px); }
.caps { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.caps-label { color: var(--on-dark-soft); font-size: 15px; }
.caps-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.caps-list li { padding: 7px 14px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 14px; font-weight: 500; }

/* ---------- gallery ---------- */
.gal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 3px; margin: -3px; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-light); background: transparent; color: var(--ink); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chip .n { opacity: .55; margin-left: 6px; font-weight: 500; }
.gal-nav { display: flex; align-items: center; gap: 8px; }
.gal-count { font-variant-numeric: tabular-nums; color: var(--ink-soft); font-size: 15px; margin-right: 8px; min-width: 64px; text-align: right; }
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: var(--r-card); padding-bottom: 2px; }
.gallery::-webkit-scrollbar { display: none; }
.gallery:focus-visible { outline-offset: 4px; }
.slide { flex: 0 0 min(88%, 1020px); scroll-snap-align: start; min-width: 0; }
.slide-in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); border-radius: var(--r-card); overflow: hidden; background: #fff; border: 1px solid var(--line-light);
  transform: scale(var(--s, 1)); opacity: var(--o, 1); transform-origin: left center; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.slide-media { position: relative; min-height: clamp(300px, 50vh, 540px); background: var(--limestone); overflow: hidden; }
.slide-media picture { position: absolute; inset: 0; }
.slide-media img, .slide-media > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.slide:hover .slide-media img { transform: scale(1.03); }
.slide-media .tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(13,12,11,.72); color: var(--on-dark); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.slide-media .zoom { position: absolute; right: 14px; bottom: 14px; background: rgba(246,241,231,.9); border-color: transparent; }
.slide-body { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 36px); min-width: 0; }
.slide-cat { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--bronze); }
.slide-body h3 { font-size: clamp(26px, 2.6vw, 36px); color: var(--ink); }
.slide-body p { color: var(--ink-soft); }
.feat { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.feat li { font-size: 13.5px; font-weight: 600; padding: 5px 11px; border-radius: 8px; background: var(--ivory); border: 1px solid var(--line-light); }
.slide-ref { font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.slide-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.slide-actions .btn { min-height: 46px; padding: 0 20px; }
.gal-progress { height: 2px; background: var(--line-light); border-radius: 2px; margin-top: 22px; overflow: hidden; }
.gal-progress span { display: block; height: 100%; width: 0; background: var(--bronze); transition: width .5s var(--ease); }
.gal-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.gal-dots button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.gal-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--stone-line); transition: background .25s, transform .25s; }
.gal-dots button[aria-current="true"]::before { background: var(--bronze); transform: scale(1.35); }
.gallery.swap .slide-in { opacity: 0; transform: translateY(10px); }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 80px); }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); }
.why-item { padding: 24px 0; border-top: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 10px; }
.why-item h3 { font-size: clamp(20px, 1.8vw, 24px); display: flex; gap: 12px; align-items: baseline; }
.why-item h3 svg { width: 10px; height: 16px; color: var(--champagne); transform: translateY(1px); }
.why-item p { color: var(--on-dark-soft); font-size: 16px; }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); counter-reset: step; }
.steps li { position: relative; padding-top: 58px; display: flex; flex-direction: column; gap: 10px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--bronze); color: var(--bronze); display: grid; place-items: center; font: 400 18px/1 var(--f-display); background: var(--ivory); z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 21px; left: 52px; right: -16px; height: 1px; background: var(--stone-line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: clamp(20px, 1.7vw, 24px); color: var(--ink); }
.steps p { color: var(--ink-soft); font-size: 16px; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(28px, 5vw, 80px); }
.faq-head p { color: var(--on-dark-soft); margin-top: 16px; max-width: 34ch; }
.faq-list details { border-top: 1px solid var(--line-dark); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-dark); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-size: clamp(17px, 1.4vw, 19px); font-weight: 600; min-height: 44px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 14px; height: 14px; background:
  linear-gradient(var(--champagne), var(--champagne)) center/14px 1.5px no-repeat, linear-gradient(var(--champagne), var(--champagne)) center/1.5px 14px no-repeat; transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .ans { padding: 0 0 22px; color: var(--on-dark-soft); max-width: 66ch; }

/* ---------- contact + form ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info .lede { color: var(--ink-soft); font-size: 18px; }
.cards { margin: 0; display: grid; gap: 0; }
.cards > div { padding: 16px 0; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
.cards dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--bronze); padding-top: 3px; }
.cards dd { margin: 0; font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.cards a { text-decoration: none; }
.cards a:hover { text-decoration: underline; text-underline-offset: 3px; }
address { font-style: normal; }
.contact-info .btn-line { align-self: flex-start; }

.form-card { background: #FFFDF9; border: 1px solid var(--line-light); border-radius: var(--r-panel); padding: clamp(20px, 3.4vw, 40px); color: var(--ink); box-shadow: 0 30px 60px -44px rgba(40,28,10,.5); }
.conn { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; background: #F3ECDD; border: 1px solid #E2D3B4; margin-bottom: 20px; font-size: 15px; }
.conn b { font-weight: 700; }
.stepper { list-style: none; margin: 0 0 22px; padding: 0; display: flex; gap: 8px; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-soft); padding-bottom: 12px; border-bottom: 2px solid var(--line-light); }
.stepper li span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-size: 13px; }
.stepper li[aria-current="step"], .stepper li.done { color: var(--ink); border-bottom-color: var(--bronze); }
.stepper li.done span { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.fstep { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.f { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.f > label, .f legend { font-weight: 600; font-size: 15.5px; color: var(--ink); padding: 0; }
.f fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.f em { font-style: normal; font-weight: 500; color: var(--ink-soft); font-size: 14px; }
.hint { font-size: 14px; color: var(--ink-soft); }
.f input:not([type="radio"]):not([type="checkbox"]), .f textarea { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid var(--stone-line); border-radius: 12px; background: #fff; font-size: 16.5px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.f textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(122,90,49,.18); }
.f input[aria-invalid="true"], .f textarea[aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: 14px; font-weight: 600; }
.err:empty { display: none; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; border: 1px solid var(--stone-line); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.opt span:hover { border-color: var(--ink); }
.opt input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }
fieldset[aria-invalid="true"] .opt span { border-color: rgba(163,38,27,.55); }
.consent { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.consent label { flex: 1; min-width: 0; font-weight: 500; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.consent .err { flex-basis: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fnav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 6px; }
.fnav .btn:only-child { margin-left: auto; }
#submitBtn { min-width: 170px; position: relative; }
#submitBtn .spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(242,236,225,.35); border-top-color: var(--on-dark); animation: spin .8s linear infinite; }
#submitBtn[aria-busy="true"] .spin { display: inline-block; }
#submitBtn[aria-busy="true"] { cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }
.status { margin-top: 18px; padding: 18px; border-radius: 14px; font-size: 15.5px; display: flex; flex-direction: column; gap: 10px; }
.status.ok { background: #EAF2EC; border: 1px solid #BFD9C7; }
.status.bad { background: #F8EAE7; border: 1px solid #E7C3BC; }
.status.pending { background: #F3ECDD; border: 1px solid #E2D3B4; }
.status h3 { font: 700 17px/1.3 var(--f-ui); }
.status .row { display: flex; flex-wrap: wrap; gap: 8px; }
.status .btn { min-height: 44px; }
.form-foot { margin-top: 14px; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- footer ---------- */
.foot { padding-bottom: 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; font-size: 15.5px; color: var(--on-dark-soft); }
.foot-grid a { text-decoration: none; overflow-wrap: anywhere; }
.foot-grid > div { min-width: 0; }
.foot-grid a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.foot-name { font: 400 22px/1.2 var(--f-display); letter-spacing: .2em; color: var(--on-dark); }
.foot-sub { margin-top: 10px; font-size: 13px; letter-spacing: .06em; }
.foot-line { margin-top: 14px; font-size: 12.5px; letter-spacing: .26em; color: var(--champagne); font-weight: 600; }
.foot-h { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; color: var(--on-dark); margin-bottom: 10px; }
.foot-grid p + p { margin-top: 12px; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.social small { display: block; font-size: 12.5px; opacity: .75; }
/* footer emblem: gold-foil mark and engraved wordmark on a dark leather ground */
.emblem { position: relative; margin: clamp(44px, 7vw, 96px) calc(var(--pad) * -1) 0; padding: clamp(48px, 7vw, 96px) 16px clamp(40px, 6vw, 80px);
  display: flex; flex-direction: column; align-items: center; text-align: center; user-select: none; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 60% at 50% 42%, rgba(255, 232, 190, .07), rgba(255, 232, 190, 0) 70%),
    linear-gradient(180deg, #0b0a09, #0f0e0c 50%, #0b0a09);
  border-top: 1px solid var(--line-dark); }
.emblem::before { content: ""; position: absolute; inset: 0; opacity: .22; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='l'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23l)'/%3E%3C/svg%3E"); }
.emblem > * { position: relative; }
.emblem-mark { width: auto; height: clamp(110px, 15vw, 220px); aspect-ratio: 636 / 1056;
  filter: drop-shadow(0 -1px 0 rgba(255, 244, 214, .35)) drop-shadow(0 2px 1px rgba(0, 0, 0, .7)) drop-shadow(0 14px 22px rgba(0, 0, 0, .55)); }
.emblem-name, .emblem-sub { margin: 0; font-family: var(--f-display); font-weight: 400; color: transparent;
  -webkit-background-clip: text; background-clip: text; }
.emblem-name { margin-top: clamp(22px, 3vw, 40px); font-size: clamp(46px, 8.4vw, 124px); line-height: 1; letter-spacing: .2em; padding-left: .2em;
  background-image: linear-gradient(176deg, #f6e7bf 0%, #e1c286 30%, #b88d4a 52%, #8f6a35 60%, #d9b878 82%, #efdcae 100%);
  filter: drop-shadow(0 -1px 0 rgba(255, 244, 214, .3)) drop-shadow(0 2px 1px rgba(0, 0, 0, .8)); }
.emblem-sub { margin-top: clamp(10px, 1.4vw, 20px); font-size: clamp(15px, 2.4vw, 34px); line-height: 1; letter-spacing: .62em; padding-left: .62em;
  background-image: linear-gradient(176deg, #ead6a6 0%, #c9a463 55%, #a07a40 100%);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .7)); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(28px, 4vw, 48px); padding-block: 22px; border-top: 1px solid var(--line-dark); font-size: 13.5px; color: var(--on-dark-soft); }

/* ---------- floating + mobile bar ---------- */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(0,50,20,.7); text-decoration: none; transition: transform .2s var(--ease), opacity .3s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float.hide { opacity: 0; pointer-events: none; }
.mbar { display: none; }

/* ---------- modal ---------- */
.modal { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: min(1100px, calc(100vw - 24px)); width: 100%; max-height: calc(100dvh - 24px); overflow: visible; }
.modal.small { max-width: min(640px, calc(100vw - 24px)); }
.modal::backdrop { background: rgba(8,7,6,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.pm { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); background: var(--ivory); border-radius: var(--r-panel); overflow: hidden; max-height: calc(100dvh - 24px); }
.pm-media { background: var(--limestone); min-height: 320px; }
.pm-media img, .pm-media svg { width: 100%; height: 100%; max-height: calc(100dvh - 24px); object-fit: contain; background: #151310; display: block; }
.pm-media svg { object-fit: cover; background: none; }
.pm-body { padding: clamp(22px, 3vw, 40px); padding-top: 64px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.pm-tag { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--bronze); }
.pm-body h3 { font-size: clamp(26px, 2.8vw, 38px); }
.pm-ref { font-size: 13.5px; color: var(--ink-soft); }
.pm-body > p { color: var(--ink-soft); }
.pm-feat { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pm-feat li { font-size: 13.5px; font-weight: 600; padding: 5px 11px; border-radius: 8px; background: #fff; border: 1px solid var(--line-light); }
.pm-note { font-size: 13.5px; padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line-light); }
.pm-actions { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 6px; }
.pm-step { display: flex; gap: 8px; }
.pm-close { position: absolute; top: 12px; right: 12px; background: rgba(246,241,231,.94); border-color: transparent; z-index: 2; }
.pv { background: var(--ivory); border-radius: var(--r-panel); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; max-height: calc(100dvh - 24px); overflow-y: auto; }
.pv h3 { font-size: 30px; }
.pv p { color: var(--ink-soft); }
.pv .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav, .hdr-cta { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc, .svc:nth-child(4), .svc:nth-child(5) { grid-column: span 1; }
  .svc:nth-child(5) { grid-column: 1 / -1; }
  .about, .why, .faq, .contact { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .steps li:nth-child(2)::after { display: none; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slide-in { grid-template-columns: minmax(0, 1fr); }
  .slide-media { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-visual { position: relative; order: 2; aspect-ratio: 4 / 3; margin: 0 var(--gut) var(--gut); border-radius: calc(var(--r-panel) - 8px); }
  .hero-visual::after { background: linear-gradient(0deg, rgba(10,9,8,.35), rgba(10,9,8,0) 40%); }
  .dl img, img.dl { object-position: 88% 50%; }
  .dio-card { right: auto; top: auto; left: 11%; bottom: 11%; transform-origin: left bottom; padding: 9px 14px 9px 11px; gap: 9px; }
  .dio-card b { font-size: 12.5px; }
  .dio-card small { font-size: 11.5px; }
  .dio-card svg { width: 12px; height: 20px; }
  .hero-copy { max-width: none; padding-bottom: 28px; }
  .hero-caption { bottom: 26px; right: 30px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .brand-name { font-size: 14px; letter-spacing: .15em; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc:nth-child(5) { grid-column: auto; }
  .why-list { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li::after { display: none; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .gal-bar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .filters { max-width: 100%; }
  .gal-nav .round { display: none; }
  .gal-count { text-align: left; }
  .slide { flex-basis: 90%; }
  .cards > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .wa-float { display: none; }
  .mbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px;
    background: rgba(13,12,11,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-dark); border-radius: 20px; transition: transform .3s var(--ease), opacity .3s; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--on-dark); }
  .mbar a svg { width: 18px; height: 18px; }
  .mbar .mbar-cta { background: var(--champagne); color: var(--obsidian); }
  .mbar.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .pm { grid-template-columns: minmax(0, 1fr); overflow-y: auto; }
  .pm-media { min-height: 0; aspect-ratio: 4 / 3; }
  .pm-media img { max-height: none; }
  .pm-body { padding-top: 22px; overflow: visible; }
  .interlude { min-height: 58vh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .gallery { scroll-behavior: auto; }
}

/* call sheet (shown where the page can't open the dialler itself, e.g. inside app previews) */
.cs { align-items: flex-start; }
.cs-num { font-family: "Marcellus", serif; font-size: clamp(30px, 8vw, 40px); letter-spacing: .02em; color: var(--ink); text-decoration: none; -webkit-user-select: all; user-select: all; }
.cs-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cs .btn { margin-top: 0; }
