/* ==========================================================
   Sai Sreenivasa Decorin — Interior technical services
   Midnight navy · champagne gold · Fraunces + Manrope
   ========================================================== */

@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --r { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --pl-x { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@property --pl-y { syntax: "<percentage>"; inherits: true; initial-value: 40%; }
@property --pl-r { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --o1 { syntax: "<color>"; inherits: true; initial-value: #25448c; }
@property --o2 { syntax: "<color>"; inherits: true; initial-value: #b8935a; }
@property --o3 { syntax: "<color>"; inherits: true; initial-value: #3f6b97; }

:root {
  --bg: #080d17;
  --bg-2: #0c1322;
  --bg-3: #111a2d;
  --ink: #f3f0e9;
  --ink-2: #cfd3dc;
  --mute: #9aa3b5;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.17);
  --brass: #d4b06a;
  --brass-2: #f1e0b8;
  --brass-d: #a98446;
  --steel: #7f9cc4;
  --glass: rgba(255, 255, 255, 0.055);
  --glass-2: rgba(255, 255, 255, 0.09);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --shell: min(1240px, 100% - var(--gutter) * 2);
  --r-lg: 26px;
  --header-h: 84px;
  --o1: #25448c; --o2: #b8935a; --o3: #3f6b97;
}
/* section-linked background themes (switched by script as you scroll) */
.theme-blue { --o1: #25448c; --o2: #8a6d3e; --o3: #3f6b97; }
.theme-gold { --o1: #6a5128; --o2: #d4b06a; --o3: #25448c; }
.theme-steel { --o1: #3f6b97; --o2: #25448c; --o3: #8a6d3e; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; font-weight: 500; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
::selection { background: var(--brass); color: #1a1205; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 10px; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: clamp(4.2rem, 9vw, 7.5rem); position: relative; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 600; background: var(--brass); color: #1a1205; padding: 0.6rem 1rem; border-radius: 999px; font-weight: 700; transition: top 0.2s; }
.skip-link:focus { top: 1rem; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Typography ---------- */
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 4vw, 3.7rem); }
.h1-line { display: block; }h2 { font-size: clamp(2rem, 3.9vw, 3.3rem); line-height: 1.1; }
h3 { font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; font-size: 1.2rem; }
.lead { color: var(--ink-2); font-size: clamp(1.06rem, 1.35vw, 1.2rem); max-width: 62ch; line-height: 1.7; }
.role { color: var(--brass); font-weight: 700; font-size: 0.95rem; }
.section-head { position: relative; display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4.5vw, 3.4rem); max-width: 52rem; }
/* keep headings and copy readable over any background effect */
.section-head::before { content: ""; position: absolute; z-index: -1; inset: -2.5rem -4rem; background: radial-gradient(closest-side, rgba(8, 13, 23, 0.72), rgba(8, 13, 23, 0.4) 60%, transparent); pointer-events: none; }
h1, h2, .lead, .hero-lead { text-shadow: 0 2px 18px rgba(6, 10, 18, 0.65); }

/* ---------- Glass ---------- */
.glass { background: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.03)), rgba(10, 16, 30, 0.58); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 60px -24px rgba(0, 0, 0, 0.7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.spot { position: relative; isolation: isolate; overflow: hidden; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 176, 106, 0.15), transparent 60%); }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity 0.4s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(241, 224, 184, 0.7), transparent 65%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* ---------- Page background: ambient glows, node canvas, ruler, rail ---------- */
.ambient { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: radial-gradient(120% 80% at 50% 0%, #0d1526 0%, var(--bg) 62%); }
.ambient i { position: absolute; border-radius: 50%; opacity: 0.4; will-change: transform; translate: 0 calc(var(--sp, 0) * -42vh); transition: --o1 1.6s ease, --o2 1.6s ease, --o3 1.6s ease; }
.ambient i:nth-child(1) { width: 58vmax; height: 58vmax; left: -18vmax; top: -22vmax; background: radial-gradient(circle, var(--o1), transparent 65%); animation: orb1 28s ease-in-out infinite alternate; }
.ambient i:nth-child(2) { width: 46vmax; height: 46vmax; right: -16vmax; top: 4vmax; background: radial-gradient(circle, var(--o2), transparent 65%); opacity: 0.3; animation: orb2 32s ease-in-out infinite alternate; }
.ambient i:nth-child(3) { width: 48vmax; height: 48vmax; left: 18vmax; bottom: -28vmax; background: radial-gradient(circle, var(--o3), transparent 65%); opacity: 0.32; animation: orb3 36s ease-in-out infinite alternate; }
.ambient b { position: absolute; left: 50%; top: 40%; width: 120vmax; height: 120vmax; margin: -60vmax 0 0 -60vmax; opacity: 0.12; background: conic-gradient(from 0deg, transparent, rgba(212, 176, 106, 0.5), transparent 30%, rgba(63, 107, 151, 0.55), transparent 62%, rgba(37, 68, 140, 0.5), transparent); animation: spin 100s linear infinite; }
@keyframes orb1 { to { transform: translate3d(12vmax, 8vmax, 0) scale(1.15); } }
@keyframes orb2 { to { transform: translate3d(-10vmax, 10vmax, 0) scale(0.88); } }
@keyframes orb3 { to { transform: translate3d(-8vmax, -8vmax, 0) scale(1.2); } }
@keyframes spin { to { transform: rotate(360deg); } }
.page-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0.6; }
/* drifting blueprint shapes (parallax with scroll) */
.shapes { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sh { position: absolute; display: block; translate: 0 calc(var(--sp, 0) * var(--k, 1000) * -1px); opacity: 0.55; animation: floaty 22s ease-in-out infinite alternate; }
.sh-ring { width: 160px; height: 160px; border: 1px solid rgba(212, 176, 106, 0.28); border-radius: 50%; }
.sh-rings { width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(127, 156, 196, 0.25); box-shadow: 0 0 0 28px rgba(127, 156, 196, 0.04), 0 0 0 29px rgba(127, 156, 196, 0.2), 0 0 0 64px rgba(127, 156, 196, 0.03), 0 0 0 65px rgba(127, 156, 196, 0.14); }
.sh-square { width: 120px; height: 120px; border: 1px solid rgba(212, 176, 106, 0.26); border-radius: 18px; animation-name: floatySpin; }
.sh-sm { width: 70px; height: 70px; border-radius: 12px; border-color: rgba(127, 156, 196, 0.3); }
.sh-plus { width: 54px; height: 54px; background: linear-gradient(rgba(212, 176, 106, 0.4), rgba(212, 176, 106, 0.4)) center / 1px 100% no-repeat, linear-gradient(rgba(212, 176, 106, 0.4), rgba(212, 176, 106, 0.4)) center / 100% 1px no-repeat; }
.sh-ticks { width: 90px; height: 150px; background: repeating-linear-gradient(to bottom, rgba(212, 176, 106, 0.45) 0 1px, transparent 1px 12px) left / 40% 100% no-repeat, repeating-linear-gradient(to bottom, rgba(212, 176, 106, 0.6) 0 1px, transparent 1px 60px) left / 70% 100% no-repeat; }
@keyframes floaty { to { transform: translate3d(18px, -26px, 0); } }
@keyframes floatySpin { to { transform: translate3d(-14px, 22px, 0) rotate(35deg); } }
/* soft light beams crossing the page */
.ambient::after { content: ""; position: absolute; inset: -20% -50%; background: linear-gradient(112deg, transparent 42%, rgba(241, 224, 184, 0.045) 50%, transparent 58%), linear-gradient(112deg, transparent 62%, rgba(127, 156, 196, 0.04) 68%, transparent 74%); animation: beam 26s linear infinite; }
@keyframes beam { from { transform: translateX(-25%); } to { transform: translateX(25%); } }
.ruler { position: fixed; left: 0; top: 0; bottom: 0; width: 26px; z-index: 5; pointer-events: none; opacity: 0.7; background-image: repeating-linear-gradient(to bottom, rgba(212, 176, 106, 0.5) 0 1px, transparent 1px 12px), repeating-linear-gradient(to bottom, rgba(212, 176, 106, 0.8) 0 1px, transparent 1px 60px); background-size: 8px 100%, 16px 100%; background-repeat: no-repeat; background-position: 0 var(--ry, 0px), 0 var(--ry, 0px); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent); }
.ruler span { position: absolute; left: 22px; top: 50%; translate: 0 -50%; padding: 0.15rem 0.5rem; border-radius: 6px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; color: #1a1205; background: var(--brass); white-space: nowrap; opacity: 0; transition: opacity 0.4s; }
.is-scrolling .ruler span { opacity: 1; }
.rail { position: fixed; right: 1.1rem; top: 50%; translate: 0 -50%; z-index: 120; display: grid; gap: 1.1rem; padding: 0.9rem 0.55rem; border-radius: 999px; background: rgba(9, 13, 22, 0.45); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.rail-track { position: absolute; left: 50%; top: 1.1rem; bottom: 1.1rem; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.rail-fill { display: block; width: 100%; height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); background: linear-gradient(var(--brass-2), var(--brass-d)); box-shadow: 0 0 10px var(--brass); }
.rail a { position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 50%; background: var(--bg-3); border: 2px solid var(--line-2); transition: transform 0.4s var(--spring), border-color 0.3s, background 0.3s; }
.rail a span { position: absolute; right: 1.6rem; top: 50%; translate: 8px -50%; padding: 0.25rem 0.7rem; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 0.82rem; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.3s, translate 0.4s var(--ease); }
.rail a:hover span, .rail a:focus-visible span { opacity: 1; translate: 0 -50%; }
.rail a:hover { transform: scale(1.35); }
.rail a.is-current { background: var(--brass); border-color: var(--brass-2); transform: scale(1.3); box-shadow: 0 0 0 4px rgba(212, 176, 106, 0.2); }
@media (max-width: 1320px) { .rail, .ruler { display: none; } }

/* ---------- Cursor: CAD crosshair + live coordinates ---------- */
.cursor { position: fixed; inset: 0; z-index: 550; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.cursor-ready .cursor { opacity: 1; }
.cursor-ready.has-modal .cursor, .cursor-ready.cursor-away .cursor { opacity: 0; }
.cur-glow { position: absolute; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 176, 106, 0.16), rgba(63, 107, 151, 0.08) 40%, transparent 68%); transition: width 0.5s var(--ease), height 0.5s var(--ease), margin 0.5s var(--ease); }
.cursor.is-hot .cur-glow { width: 520px; height: 520px; margin: -260px 0 0 -260px; }
.cur-cross { position: absolute; left: 0; top: 0; width: 0; height: 0; filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.85)); transition: transform 0.4s var(--spring); }
.cur-cross i { position: absolute; background: #fff; transition: transform 0.4s var(--ease), background 0.3s; }
.cur-cross i:nth-child(1) { left: -1px; top: -19px; width: 2px; height: 12px; }
.cur-cross i:nth-child(2) { left: -1px; top: 7px; width: 2px; height: 12px; }
.cur-cross i:nth-child(3) { top: -1px; left: -19px; height: 2px; width: 12px; }
.cur-cross i:nth-child(4) { top: -1px; left: 7px; height: 2px; width: 12px; }
.cur-cross b { position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.cursor.is-hot .cur-cross { transform: rotate(45deg) scale(0.8); }
.cursor.is-typing .cur-cross { transform: scale(0.85); }
.cursor.is-typing .cur-cross i { background: var(--brass-2); box-shadow: 0 0 6px rgba(241, 224, 184, 0.7); }
.cursor.is-hot:not(.is-label) .cur-tag span { opacity: 0; transform: translateY(4px); }
.cursor.is-down .cur-cross { transform: scale(0.7); }
.cur-tag { position: absolute; left: 0; top: 0; margin: 20px 0 0 22px; }
.cur-tag span { display: block; padding: 0.2rem 0.6rem; border-radius: 999px; background: rgba(9, 13, 22, 0.78); border: 1px solid var(--line-2); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.03em; color: var(--brass-2); font-variant-numeric: tabular-nums; white-space: nowrap; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background 0.3s, color 0.3s, transform 0.4s var(--spring); }
.cursor.is-label .cur-tag span { background: var(--brass); color: #1a1205; border-color: var(--brass); font-size: 0.82rem; padding: 0.3rem 0.85rem; transform: scale(1.08); }
.cur-click { position: fixed; left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; border: 1.5px solid var(--brass); pointer-events: none; z-index: 549; animation: curClick 0.7s var(--ease) forwards; }
@keyframes curClick { to { transform: scale(7); opacity: 0; } }
@media (hover: hover) and (pointer: fine) {
  .cursor-ready,
  .cursor-ready *,
  .cursor-ready a,
  .cursor-ready button,
  .cursor-ready summary,
  .cursor-ready .accordion summary,
  .cursor-ready [role="button"],
  .cursor-ready input,
  .cursor-ready textarea,
  .cursor-ready select {
    cursor: none !important;
  }
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
/* never hide the real pointer while a dialog is open */
html.has-modal, html.has-modal * { cursor: auto !important; }
html.has-modal button, html.has-modal a, html.has-modal summary, html.has-modal [role="button"], html.has-modal select { cursor: pointer !important; }

/* ---------- Logo ---------- */
/* the supplied logo artwork sits on a light plate so its emerald + gold stay true on the dark page */
.brand-mark { position: relative; display: block; width: 2.9rem; height: 2.9rem; flex: none; padding: 3px; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(212, 176, 106, 0.55); transition: transform 0.6s var(--spring); }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 11px; }
.brand-mark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 38%, rgba(212, 176, 106, 0.55) 50%, transparent 62%) -150% 0 / 250% 100% no-repeat; animation: shine 7s ease-in-out 2.5s infinite; pointer-events: none; }
@keyframes shine { 0%, 60% { background-position: 150% 0; } 100% { background-position: -150% 0; } }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.08); }

/* ---------- Preloader: a floor plan is drafted, measured and checked, then the logo is stamped on ---------- */
.preloader { position: fixed; inset: 0; z-index: 700; display: grid; place-items: center; overflow: hidden; }
.is-leaving .preloader { visibility: hidden; transition: visibility 0s 1.3s; }
.pre-door { position: absolute; left: 0; right: 0; height: 50.3%; background-color: var(--bg); background-size: 64px 64px, 64px 64px, auto; transition: translate 1.1s var(--ease-io) 0.15s; }
.pre-top { top: 0; background-image: linear-gradient(rgba(212, 176, 106, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(212, 176, 106, 0.05) 1px, transparent 1px), radial-gradient(60% 100% at 50% 100%, rgba(18, 90, 70, 0.5), transparent); box-shadow: 0 1px 0 rgba(212, 176, 106, 0.55); }
.pre-bot { bottom: 0; background-image: linear-gradient(rgba(212, 176, 106, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(212, 176, 106, 0.05) 1px, transparent 1px), radial-gradient(60% 100% at 50% 0%, rgba(18, 90, 70, 0.5), transparent); box-shadow: 0 -1px 0 rgba(212, 176, 106, 0.55); }
.is-leaving .pre-top { translate: 0 -101%; }
.is-leaving .pre-bot { translate: 0 101%; }
.pre-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, transparent 35%, rgba(3, 6, 12, 0.7) 100%); pointer-events: none; transition: opacity 0.5s; }
.is-leaving .pre-vignette, .is-leaving .preloader-inner { opacity: 0; }
.preloader-inner { position: relative; display: grid; justify-items: center; gap: 1.1rem; transition: opacity 0.4s, scale 0.6s var(--ease); }
.is-leaving .preloader-inner { scale: 0.94; }
.pre-stage { position: relative; display: grid; place-items: center; width: min(88vw, 680px); aspect-ratio: 700 / 460; }
.pre-plan { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--brass); stroke-linecap: round; stroke-linejoin: round; transition: opacity 0.9s, filter 0.9s, scale 0.9s var(--ease); }
.pre-plan .pp { stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 0.85; animation: draw 1.6s var(--ease-io) calc(0.4s + var(--n) * 0.55s) backwards; }
.pre-plan .pp.wall { stroke-width: 3.4; stroke: var(--brass-2); opacity: 1; }
.pre-plan .pp.thin { stroke-width: 1; opacity: 0.55; }
.pre-plan .pp.first { animation: draw 2.4s linear 0.4s backwards; }
.pre-plan .pp.dim { stroke: rgba(255, 255, 255, 0.7); stroke-width: 1.1; }
.pre-pen { fill: #fff; stroke: none; filter: drop-shadow(0 0 7px #f1e0b8) drop-shadow(0 0 14px rgba(212, 176, 106, 0.9)); }
.pre-dim { position: absolute; z-index: 2; font: 800 0.8rem var(--sans); letter-spacing: 0.08em; color: var(--brass-2); counter-reset: dimn var(--n); animation: dimCount 1.5s var(--ease) 2.5s both, fadeIn 0.5s ease 2.4s backwards; transition: opacity 0.6s; }
.pre-dim::before { content: counter(dimn) " mm"; }
.pre-dim-w { left: 50%; top: -3.2%; translate: -50% 0; }
.pre-dim-h { left: -1%; top: 50%; rotate: -90deg; translate: -50% 0; transform-origin: left top; }
.pre-pulse { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 2px solid var(--brass-2); opacity: 0; pointer-events: none; }
.pre-done .pre-plan { opacity: 0.2; filter: blur(2px); scale: 0.94; }
.pre-done .pre-dim { opacity: 0; }
.pre-done .pre-pulse { animation: prePulse 1.5s var(--ease) both; }
@keyframes prePulse { 0% { opacity: 0.9; scale: 0.3; } 100% { opacity: 0; scale: 2.6; } }
.pre-status { height: 1.6em; font-family: var(--serif); font-size: clamp(1.1rem, 2.4vw, 1.45rem); font-weight: 500; color: var(--brass-2); letter-spacing: 0.01em; }
.pre-status.is-swap { animation: wordUp 0.6s var(--ease); }
.pre-logo, .footer-logo { position: relative; display: block; overflow: hidden; background: #fff; border-radius: 24px; padding: 0.8rem 1rem; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(212, 176, 106, 0.6), 0 0 70px rgba(212, 176, 106, 0.18); }
.pre-logo { position: absolute; width: min(380px, 66%); opacity: 0; scale: 0.8; transition: opacity 0.5s, scale 0.9s var(--spring); }
.pre-done .pre-logo { opacity: 1; scale: 1; }
.pre-logo::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from var(--ang), transparent 0 60%, rgba(212, 176, 106, 0.9) 80%, transparent 92%); animation: ringSpin 3s linear infinite; z-index: 0; }
.pre-logo::after { content: ""; position: absolute; inset: 2px; border-radius: 22px; background: #fff; z-index: 0; }
.pre-logo img, .footer-logo img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.pre-logo img { clip-path: inset(0 100% 0 0); }
.pre-done .pre-logo img { animation: logoWipe 0.9s var(--ease-io) 0.2s both; }
.pre-shine { position: absolute; z-index: 2; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(212, 176, 106, 0.5) 50%, transparent 60%); transform: translateX(-120%); animation: lightSweep 2.4s var(--ease-io) 2s infinite; pointer-events: none; }
@keyframes logoWipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fadeIn { from { opacity: 0; } }
.footer-logo { width: 100%; max-width: 250px; padding: 0.55rem 0.7rem; border-radius: 18px; transition: transform 0.5s var(--spring), box-shadow 0.4s; }
.footer-logo:hover { transform: translateY(-4px) rotate(-1.2deg); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--brass), 0 0 60px rgba(212, 176, 106, 0.3); }
.footer-logo .pre-shine { animation-delay: 0s; animation-duration: 6s; }
/* the progress bar is a measuring tape */
.preloader-bar { position: relative; width: min(88vw, 520px); height: 28px; border-radius: 5px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); overflow: hidden; }
.preloader-bar i { position: relative; display: block; height: 100%; width: 0; background: linear-gradient(180deg, #f1e0b8, #d4b06a 55%, #a98446); box-shadow: 0 0 20px rgba(212, 176, 106, 0.5); }
.preloader-bar i::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(27, 19, 6, 0.75) 0 1px, transparent 1px 8px), repeating-linear-gradient(90deg, rgba(27, 19, 6, 0.9) 0 1.5px, transparent 1.5px 40px); background-size: 8px 38%, 40px 66%; background-repeat: repeat-x; background-position: left bottom; }
.preloader-bar i::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 7px; background: #1b1306; opacity: 0.85; }
.preloader-count { font-size: 0.88rem; letter-spacing: 0.16em; color: var(--mute); font-variant-numeric: tabular-nums; font-weight: 700; }
html:not(.js) .preloader { display: none; }

/* ---------- Reveal system ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-up { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms + 0.2s); }
.is-loaded .reveal-up { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.06em 0.14em 0; margin-bottom: -0.14em; }
.w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(112%); transition: transform 1s var(--ease); transition-delay: calc(var(--wi, 0) * 50ms + 300ms); }
.js.is-loaded [data-split] .w > span { transform: none; }

/* ---------- Buttons ---------- */
.btn { --h: 3.2rem; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; height: var(--h); padding: 0 1.55rem; border-radius: 999px; font-weight: 700; font-size: 0.98rem; white-space: nowrap; overflow: hidden; isolation: isolate; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s, border-color 0.3s; }
.btn-sm { --h: 2.6rem; padding: 0 1.15rem; font-size: 0.92rem; }
.btn-lg { --h: 3.5rem; padding: 0 1.8rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform 0.45s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn:active { transform: scale(0.97); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; width: 55%; transform: translateX(-120%) skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent); transition: transform 0.9s var(--ease); }
.btn:hover::after { transform: translateX(330%) skewX(-18deg); }
.btn-brass { color: #1b1306; background: linear-gradient(135deg, var(--brass-2), var(--brass) 55%, var(--brass-d)); box-shadow: 0 10px 30px -8px rgba(212, 176, 106, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-brass:hover { box-shadow: 0 16px 44px -8px rgba(212, 176, 106, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.6); transform: translateY(-2px); }
.btn-glass { color: var(--ink); background: var(--glass); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.btn-glass:hover { background: var(--glass-2); border-color: rgba(212, 176, 106, 0.65); transform: translateY(-2px); box-shadow: 0 12px 34px -12px rgba(212, 176, 106, 0.4); }
.btn-ripple { position: absolute; border-radius: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; background: rgba(255, 255, 255, 0.55); pointer-events: none; animation: ripple 0.7s var(--ease) forwards; z-index: -1; }
@keyframes ripple { to { transform: scale(34); opacity: 0; } }
.icon-btn { width: 2.7rem; height: 2.7rem; border-radius: 50%; display: grid; place-items: center; background: var(--brass); color: #1b1306; transition: transform 0.4s var(--ease), background 0.3s; flex: none; }
.icon-btn:hover { transform: rotate(90deg) scale(1.08); background: var(--brass-2); }
.magnetic { transition: transform 0.35s var(--ease), box-shadow 0.4s var(--ease), background 0.3s, border-color 0.3s; }

/* ---------- Navbar (always visible) ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 300; padding: 0.9rem var(--gutter) 0; display: flex; justify-content: center; pointer-events: none; }
.nav-pill { position: relative; pointer-events: auto; width: min(1220px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.5rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(9, 13, 22, 0.5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 44px -18px rgba(0, 0, 0, 0.85); transition: background 0.4s, border-color 0.4s, width 0.7s var(--ease), box-shadow 0.4s, padding 0.5s var(--ease); isolation: isolate; overflow: hidden; }
.nav-pill::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s; background: radial-gradient(240px circle at var(--nx, 50%) 50%, rgba(212, 176, 106, 0.16), transparent 70%); }
.nav-pill:hover::before { opacity: 1; }
.site-header.is-scrolled .nav-pill { background: rgba(9, 13, 22, 0.82); border-color: var(--line-2); width: min(1170px, 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 20px 50px -16px rgba(0, 0, 0, 0.9), 0 0 50px -24px rgba(212, 176, 106, 0.5); }
.is-loaded .nav-pill { animation: navIn 1.1s var(--ease) 0.1s backwards; }
@keyframes navIn { from { opacity: 0; transform: translateY(-46px) scale(0.94); } }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; min-width: 0; }
.brand-text { display: grid; line-height: 1.2; min-width: 0; }
.brand-text strong { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.brand-text small { font-size: 0.78rem; color: var(--mute); font-weight: 600; white-space: nowrap; max-height: 1.2em; overflow: hidden; transition: max-height 0.5s var(--ease), opacity 0.4s; }
.site-header.is-scrolled .brand-text small { max-height: 0; opacity: 0; }
.nav-links { position: relative; display: flex; align-items: center; gap: 0.05rem; padding: 0.25rem; border-radius: 999px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); }
.nav-links a { position: relative; z-index: 1; padding: 0.55rem 0.9rem; font-size: 0.95rem; font-weight: 600; color: var(--ink-2); border-radius: 999px; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.is-current { color: var(--ink); }
.nav-links a.is-current::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 8px var(--brass); animation: dotIn 0.5s var(--spring); }
@keyframes dotIn { from { transform: scale(0); } }
.is-loaded .nav-links a { animation: linkIn 0.8s var(--ease) calc(0.45s + var(--k, 0) * 80ms) backwards; }
.nav-links a:nth-of-type(1) { --k: 0; } .nav-links a:nth-of-type(2) { --k: 1; } .nav-links a:nth-of-type(3) { --k: 2; } .nav-links a:nth-of-type(4) { --k: 3; } .nav-links a:nth-of-type(5) { --k: 4; } .nav-links a:nth-of-type(6) { --k: 5; }
@keyframes linkIn { from { opacity: 0; transform: translateY(-14px); } }
.roll { display: block; overflow: hidden; height: 1.4em; line-height: 1.4em; }
.roll > span { display: block; position: relative; transition: transform 0.55s var(--ease); }
.roll > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--brass-2); }
.nav-links a:hover .roll > span, .nav-links a:focus-visible .roll > span { transform: translateY(-100%); }
.nav-indicator { position: absolute; z-index: 0; top: 0.25rem; bottom: 0.25rem; left: 0; width: var(--w, 0); transform: translateX(var(--x, 0)); border-radius: 999px; background: var(--glass-2); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 24px rgba(212, 176, 106, 0.16); opacity: var(--o, 0); transition: transform 0.6s var(--spring), width 0.6s var(--spring), opacity 0.3s; }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-cta::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; z-index: 1; pointer-events: none; background: conic-gradient(from var(--ang), transparent 0 62%, rgba(255, 255, 255, 0.95) 80%, transparent 92%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.nav-cta:hover::before { animation: ringSpin 3.4s linear infinite; }
@keyframes ringSpin { to { --ang: 360deg; } }
.nav-progress { position: absolute; left: 1.6rem; right: 1.6rem; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brass-d), var(--brass-2)); box-shadow: 0 0 12px var(--brass); transform: scaleX(var(--p, 0)); transform-origin: left; }
.menu-button { display: none; position: relative; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 1px solid var(--line-2); background: var(--glass); flex: none; }
.menu-button span { position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px; border-radius: 2px; background: var(--ink); transition: transform 0.5s var(--ease), opacity 0.3s, top 0.5s var(--ease); }
.menu-button span:nth-child(1) { top: 16px; } .menu-button span:nth-child(2) { top: 22px; } .menu-button span:nth-child(3) { top: 28px; }
.menu-button[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-button[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 250; visibility: hidden; overflow-y: auto; background: rgba(8, 13, 23, 0.94); -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px); clip-path: circle(0 at calc(100% - 2.9rem) 2.6rem); transition: clip-path 0.85s var(--ease-io), visibility 0s 0.85s; }
.menu-open .mobile-menu { visibility: visible; clip-path: circle(160% at calc(100% - 2.9rem) 2.6rem); transition-delay: 0s; }
.mobile-menu-inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: calc(var(--header-h) + 0.5rem) var(--gutter) max(2rem, env(safe-area-inset-bottom)); }
.mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 8vw, 2.5rem); letter-spacing: -0.02em; }
.mobile-menu nav a .ico { width: 1.5rem; height: 1.5rem; color: var(--brass); }
.mobile-menu nav a, .mobile-menu-foot { opacity: 0; transform: translateY(34px); transition: opacity 0.4s, transform 0.4s; }
.menu-open .mobile-menu nav a, .menu-open .mobile-menu-foot { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--k, 0) * 70ms + 0.3s); }
.mobile-menu-foot { display: grid; gap: 0.7rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem)) 0 clamp(3rem, 6vw, 5rem); display: flex; align-items: center; isolation: isolate; --gx: 50%; --gy: 40%; }
.grid-lines { position: absolute; inset: 0; z-index: -1; opacity: 0.5; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 78%); mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 78%); }
.grid-lit { opacity: 0; background-image: linear-gradient(rgba(212, 176, 106, 0.55) 1px, transparent 1px), linear-gradient(90deg, rgba(212, 176, 106, 0.55) 1px, transparent 1px); -webkit-mask-image: radial-gradient(240px circle at var(--gx) var(--gy), #000, transparent 70%); mask-image: radial-gradient(240px circle at var(--gx) var(--gy), #000, transparent 70%); transition: opacity 0.5s; }
.hero:hover .grid-lit { opacity: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero-copy { display: grid; gap: 1.6rem; justify-items: start; }
.pill { display: inline-flex; align-items: center; gap: 0.65rem; padding: 0.5rem 1.05rem 0.5rem 0.85rem; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); border-radius: 999px; background: var(--glass); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #4ade80; animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(0.5); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.hero-lead { color: var(--ink-2); font-size: clamp(1.06rem, 1.35vw, 1.2rem); max-width: 54ch; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-facts { display: grid; gap: 0.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); width: 100%; max-width: 34rem; font-size: 1rem; color: var(--ink-2); font-weight: 600; }
.hero-facts li { display: flex; align-items: center; gap: 0.7rem; }
.hero-facts .ico { width: 1.4rem; height: 1.4rem; padding: 0.25rem; border-radius: 50%; color: var(--brass); background: rgba(212, 176, 106, 0.15); }

/* hero stage: a drafting room that draws itself, with the portrait scanned into it */
.hero-stage { position: relative; perspective: 1400px; width: 100%; max-width: min(560px, calc((100svh - 8.5rem) * 0.88)); justify-self: end; aspect-ratio: 560 / 640; --rx: 0deg; --ry: 0deg; }
.hero-stage > * { translate: var(--depth-x, 0px) calc(var(--depth-y, 0px) + var(--sc-y, 0px)); transition: translate 0.7s var(--ease), transform 0.5s var(--ease); }
.js:not(.is-loaded) .hero-stage > * { visibility: hidden; }
@keyframes lightSweep { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes glowPulse { 50% { transform: scale(1.1); opacity: 0.75; } }

/* the room */
.room { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: radial-gradient(82% 78% at 50% 46%, #000 52%, transparent 100%); mask-image: radial-gradient(82% 78% at 50% 46%, #000 52%, transparent 100%); }
.room .dr { fill: none; stroke: rgba(212, 176, 106, 0.55); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.room .dr.soft { stroke: rgba(212, 176, 106, 0.24); stroke-width: 1; }
.room .dr.dim { stroke: rgba(241, 224, 184, 0.9); stroke-width: 1.2; }
.dim-label { position: absolute; z-index: 4; font: 800 0.78rem var(--sans); letter-spacing: 0.06em; color: var(--brass-2); text-shadow: 0 1px 8px rgba(6, 10, 18, 0.9); pointer-events: none; counter-reset: dimn var(--n); }
.dim-label::before { content: counter(dimn) " mm"; }
.dim-w { left: 79.5%; top: 46.8%; translate: -50% 0; }
.dim-h { left: 3.2%; top: 43%; rotate: -90deg; transform-origin: left top; }
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }
@keyframes dimCount { from { --n: 0; } to { --n: var(--to); } }
.halo { position: absolute; left: 9%; top: 6%; width: 82%; aspect-ratio: 1; pointer-events: none; }
.halo-glow { position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(circle, rgba(42, 141, 110, 0.4), rgba(63, 107, 151, 0.14) 46%, transparent 68%); filter: blur(30px); }
.pendant { position: absolute; z-index: 1; left: 18%; top: -4%; width: 64%; aspect-ratio: 1; background: radial-gradient(circle closest-side at 50% 36%, rgba(255, 233, 180, 0.55), rgba(212, 176, 106, 0.2) 45%, transparent 100%); pointer-events: none; }
/* floating gold dust */
.motes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.motes i { position: absolute; left: var(--x); bottom: 14%; width: var(--s); aspect-ratio: 1; border-radius: 50%; background: var(--brass-2); box-shadow: 0 0 9px 2px rgba(241, 224, 184, 0.75); opacity: 0; animation: mote var(--d) linear var(--dl) infinite; }
@keyframes mote { 0% { opacity: 0; translate: 0 0; } 15% { opacity: 0.95; } 80% { opacity: 0.6; } 100% { opacity: 0; translate: var(--dx) -440px; } }

/* the portrait: blueprint lines are drawn first, the photo is scanned in behind them */
.portrait-hit { position: absolute; z-index: 3; left: 1%; right: 1%; bottom: 0; aspect-ratio: 1200 / 1111; clip-path: polygon(27% 20%, 40% 4%, 55% 1%, 66% 21%, 67% 38%, 66% 54%, 83% 67%, 98% 79%, 100% 100%, 5% 100%, 16% 71%, 37% 60%, 32% 38%); cursor: pointer; }
.portrait-btn { position: absolute; z-index: 3; left: 1%; right: 1%; bottom: 0; display: block; pointer-events: none; transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(#000 88%, transparent 100%); mask-image: linear-gradient(#000 88%, transparent 100%); transition: transform 0.3s var(--spring), translate 0.7s var(--ease), --pl-r 0.5s var(--ease); }
.portrait-btn.is-active, .portrait-hit:active ~ .portrait-btn { transform: scale(0.975); }
.portrait-pulse { position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--brass); pointer-events: none; z-index: 10; animation: portraitPulse 0.7s var(--ease) forwards; }
@keyframes portraitPulse { 0% { transform: translate(-50%, -50%) scale(0.3); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0; } }

.hero-portrait { display: block; width: 100%; height: auto; }
.hero-portrait.photo { filter: drop-shadow(0 22px 26px rgba(5, 8, 16, 0.5)); }
.hero-portrait.bp, .lens-wrap { position: absolute; left: 0; top: 0; pointer-events: none; display: none !important; }
.hero-portrait.bp[data-ready="true"] { display: block !important; opacity: 1; }
.lens-wrap[data-ready="true"] { display: block !important; }
.lens-wrap img { position: absolute; left: 0; top: 0; width: 100%; height: auto; pointer-events: none; opacity: 1; }
.lens-wrap { inset: 0; -webkit-mask-image: radial-gradient(circle var(--pl-r) at var(--pl-x) var(--pl-y), #000 62%, transparent 100%); mask-image: radial-gradient(circle var(--pl-r) at var(--pl-x) var(--pl-y), #000 62%, transparent 100%); }
.lens-ring { position: absolute; left: var(--pl-x); top: var(--pl-y); width: calc(var(--pl-r) * 1.62); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1.5px solid var(--brass-2); box-shadow: 0 0 22px rgba(241, 224, 184, 0.45), inset 0 0 22px rgba(241, 224, 184, 0.2); pointer-events: none; opacity: 0; transition: opacity 0.3s, width 0.5s var(--ease); }
.lens-ring::before, .lens-ring::after { content: ""; position: absolute; background: var(--brass-2); opacity: 0.85; }
.lens-ring::before { left: 50%; top: -9px; width: 1.5px; height: 18px; translate: -50% 0; }
.lens-ring::after { top: 50%; left: -9px; height: 1.5px; width: 18px; translate: 0 -50%; }
.portrait-btn.is-lens { --pl-r: clamp(80px, 11vw, 120px); }
.portrait-btn.is-lens .lens-ring { opacity: 1; }
.scan { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent calc(100% - 70px), rgba(241, 224, 184, 0.4) calc(100% - 3px), #fff calc(100% - 1px), transparent 100%); transform: translateX(-100%); }
@media (hover: none) { .portrait-btn { --pl-r: 90px; } .lens-ring { opacity: 0.9; } }
@keyframes lensDrift { 0% { --pl-x: 30%; --pl-y: 30%; } 50% { --pl-x: 62%; --pl-y: 52%; } 100% { --pl-x: 40%; --pl-y: 74%; } }

/* orbiting service circles — they sit behind the portrait */
.orbit { position: absolute; z-index: 2; left: 9%; top: 6%; width: 82%; aspect-ratio: 1; container-type: inline-size; animation: spin 80s linear infinite; pointer-events: none; }
.orbit:hover, .orbit:hover .orb-in { animation-play-state: paused; }
.orb { --r: 51cqw; position: absolute; left: 50%; top: 50%; width: 3.3rem; height: 3.3rem; margin: -1.65rem 0 0 -1.65rem; rotate: calc(var(--a) * 1deg); transform: translateY(calc(var(--r) * -1)); pointer-events: auto; }
.orb-in { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; rotate: calc(var(--a) * -1deg); color: var(--brass-2); font-size: 1.35rem; background: rgba(9, 13, 22, 0.82); border: 1px solid rgba(212, 176, 106, 0.55); box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.8), 0 0 0 5px rgba(212, 176, 106, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.15); animation: spin 80s linear infinite reverse; transition: background 0.3s, color 0.3s, box-shadow 0.3s, scale 0.4s var(--spring); }
.orb:hover .orb-in, .orb:focus-visible .orb-in { background: var(--brass); color: #1b1306; scale: 1.18; box-shadow: 0 14px 34px -8px rgba(212, 176, 106, 0.7), 0 0 0 7px rgba(212, 176, 106, 0.2); }
.orb em { position: absolute; top: calc(100% + 0.55rem); left: 50%; translate: -50% 4px; padding: 0.3rem 0.8rem; border-radius: 999px; font-style: normal; font-size: 0.82rem; font-weight: 800; white-space: nowrap; color: var(--ink); background: rgba(9, 13, 22, 0.92); border: 1px solid var(--line-2); opacity: 0; pointer-events: none; transition: opacity 0.3s, translate 0.4s var(--ease); }
.orb:hover em, .orb:focus-visible em { opacity: 1; translate: -50% 0; }
@keyframes orbOut { from { --r: 0px; opacity: 0; } }

/* glass cards */
.card { position: absolute; z-index: 5; display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 1.1rem 0.7rem 0.7rem; border-radius: 20px; }
.card-ico { width: 2.6rem; height: 2.6rem; border-radius: 14px; display: grid; place-items: center; color: #1b1306; background: linear-gradient(135deg, var(--brass-2), var(--brass-d)); font-size: 1.2rem; flex: none; }
.card strong { display: block; font-size: 1rem; line-height: 1.25; font-weight: 800; }
.card small { display: block; font-size: 0.82rem; color: var(--ink-2); font-weight: 600; line-height: 1.3; }
.card strong em { font-style: normal; font-family: var(--sans); font-size: 0.88rem; font-weight: 700; color: var(--ink-2); }
.pulse-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #10b981; margin-right: 7px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); animation: pulseGreen 2s infinite; }
@keyframes pulseGreen { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.card-where { left: -7%; top: 4%; transition: transform 0.4s var(--ease), border-color 0.3s; }
.card-where:hover { border-color: var(--brass-2); transform: translateY(-3px) scale(1.02); }
.card-price { left: -5%; bottom: 17%; transition: transform 0.4s var(--ease), border-color 0.3s, translate 0.7s var(--ease); }
.card-price:hover { border-color: var(--brass); transform: translateY(-4px) scale(1.02); box-shadow: 0 16px 32px -8px rgba(212, 176, 106, 0.35); }
.card-price strong { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.float-photo { position: absolute; z-index: 6; margin: 0; padding: 6px; border-radius: 22px; width: 34%; aspect-ratio: 4 / 3; right: -6%; top: 0; overflow: hidden; transition: transform 0.5s var(--spring), border-color 0.4s, box-shadow 0.4s; }
.float-photo:hover { transform: scale(1.05) translateY(-4px); border-color: var(--brass-2); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.75), 0 0 20px rgba(212, 176, 106, 0.3); }
.float-photo img { border-radius: 17px; width: 100%; height: 100%; object-fit: cover; }
.photo-tag { position: absolute; left: 10px; bottom: 10px; padding: 0.22rem 0.6rem; border-radius: 6px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; color: #fff; background: rgba(8, 13, 23, 0.85); border: 1px solid rgba(212, 176, 106, 0.4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; }
.stage-name { position: absolute; z-index: 6; left: 11%; right: 11%; bottom: 2.5%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.65rem 0.65rem 0.65rem 1.15rem; border-radius: 22px; transition: transform 0.4s var(--ease), border-color 0.3s; }
.stage-name:hover { border-color: var(--brass-2); transform: translateY(-2px); }
.stage-name strong { display: block; font-size: 1.05rem; line-height: 1.3; }
.stage-name small { color: var(--brass-2); font-size: 0.85rem; font-weight: 700; }

/* hero entrance choreography — starts when the preloader doors have parted */
.is-loaded .room .dr { animation: draw 1.5s var(--ease-io) calc(0.1s + var(--n, 0) * 0.16s) backwards; }
.is-loaded .room .r-fill { animation: fadeIn 2s ease 1s backwards; }
.is-loaded .halo-glow { animation: fadeIn 2s ease 1s backwards, glowPulse 7s ease-in-out 3s infinite; }
.is-loaded .dim-label { animation: dimCount 1.8s var(--ease) 1.9s both, fadeIn 0.6s ease 1.8s backwards; }
.is-loaded .pendant { animation: lampOn 2.4s linear 2.3s backwards, glowPulse 8s ease-in-out 4.7s infinite; }
@keyframes lampOn { 0% { opacity: 0; } 8% { opacity: 0.55; } 13% { opacity: 0.05; } 24% { opacity: 0.8; } 30% { opacity: 0.15; } 46% { opacity: 1; } 100% { opacity: 1; } }
.is-loaded .hero-portrait.photo { animation: photoIn 1.45s var(--ease-io) 1.35s backwards; }
.is-loaded .scan { animation: scanX 1.45s var(--ease-io) 0.75s both; }
@keyframes photoIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes scanX { 0% { opacity: 1; transform: translateX(-100%); } 92% { opacity: 1; } 100% { opacity: 0; transform: translateX(0); } }
.is-loaded .orb { animation: orbOut 1.4s var(--ease) calc(2.6s + var(--i) * 0.12s) backwards; }
.is-loaded .stage-name { animation: riseIn 0.9s var(--ease) 2.5s backwards; }
.is-loaded .card-where { animation: riseIn 1s var(--ease) 2.7s backwards, bob 9s ease-in-out 3.7s infinite; }
.is-loaded .card-price { animation: riseIn 1s var(--ease) 2.9s backwards, bob 8s ease-in-out 3.9s infinite; }
.is-loaded .float-photo { animation: riseIn 1s var(--ease) 3.1s backwards, bob 10s ease-in-out 4.1s infinite; }
@media (hover: none) { .is-loaded .portrait-btn { animation: lensDrift 9s ease-in-out 4.6s infinite alternate; } }
@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } }
@keyframes bob { 50% { transform: translateY(-9px); } }

/* ---------- At a glance ---------- */
.glance { margin-top: -2.2rem; position: relative; z-index: 2; }
.glance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.glance-item { display: flex; align-items: center; gap: 0.95rem; padding: 1.1rem 1.2rem; border-radius: 22px; }
.g-ico { width: 2.9rem; height: 2.9rem; border-radius: 15px; display: grid; place-items: center; color: var(--brass); background: rgba(212, 176, 106, 0.12); border: 1px solid rgba(212, 176, 106, 0.3); font-size: 1.3rem; flex: none; }
.glance-item strong { display: block; font-size: 1.02rem; font-weight: 800; line-height: 1.3; }
.glance-item small { display: block; font-size: 0.88rem; color: var(--ink-2); font-weight: 500; line-height: 1.4; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips button { padding: 0.55rem 1.05rem; border-radius: 999px; font-size: 0.92rem; font-weight: 700; border: 1px solid var(--line-2); background: var(--glass); transition: all 0.35s var(--ease); }
.chips button:hover { background: var(--brass); color: #1b1306; border-color: var(--brass); transform: translateY(-3px); box-shadow: 0 10px 24px -10px rgba(212, 176, 106, 0.7); }

/* ---------- Audience ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.aud-card { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.6rem; border-radius: var(--r-lg); transition: transform 0.6s var(--ease); }
.aud-card:hover { transform: translateY(-8px); }
.aud-icon { width: 3.2rem; height: 3.2rem; border-radius: 16px; display: grid; place-items: center; color: var(--brass); background: var(--glass-2); border: 1px solid var(--line-2); font-size: 1.4rem; transition: transform 0.6s var(--spring), background 0.3s, color 0.3s; }
.aud-card:hover .aud-icon { transform: rotate(-8deg) scale(1.1); background: var(--brass); color: #1b1306; }
.aud-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.015em; }
.aud-card p { color: var(--ink-2); font-size: 1rem; flex: 1; }

/* ---------- Services ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.svc-card { grid-column: span 2; display: flex; flex-direction: column; gap: 0.4rem; padding: 0.6rem; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line); cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09); transition: transform 0.6s var(--ease), border-color 0.4s, box-shadow 0.6s var(--ease); }
.svc-card:nth-child(-n + 2) { grid-column: span 3; }
.svc-card.svc-wide { grid-column: span 6; display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: stretch; }
.svc-card:hover { transform: translateY(-8px); border-color: rgba(212, 176, 106, 0.4); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.9), 0 0 60px -30px rgba(212, 176, 106, 0.5); }
.svc-photo { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--bg-3); }
.svc-wide .svc-photo { aspect-ratio: auto; min-height: 18rem; }
.svc-wide .svc-photo img { position: absolute; inset: 0; object-position: center 35%; }
.svc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 13, 23, 0.25), transparent 35%, rgba(8, 13, 23, 0.55)); pointer-events: none; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease); }
.svc-card:hover .svc-photo img { transform: scale(1.2); }
.svc-price { position: absolute; z-index: 2; left: 0.8rem; top: 0.8rem; padding: 0.3rem 0.85rem; border-radius: 999px; font-size: 0.88rem; font-weight: 800; color: #1b1306; background: linear-gradient(135deg, var(--brass-2), var(--brass)); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.6); }
.svc-body { display: flex; flex-direction: column; gap: 0.85rem; padding: 1.1rem 1.1rem 1rem; flex: 1; }
.svc-wide .svc-body { padding: 1.6rem; justify-content: center; }
.svc-title { display: flex; align-items: center; gap: 0.85rem; }
.svc-icon { width: 2.8rem; height: 2.8rem; border-radius: 14px; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--line-2); color: var(--brass); font-size: 1.25rem; flex: none; transition: transform 0.6s var(--spring), background 0.4s, color 0.4s; }
.svc-card:hover .svc-icon, .price-card:hover .svc-icon { transform: rotate(-8deg) scale(1.1); background: var(--brass); color: #1b1306; }
.svc-card h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.45rem, 2.2vw, 1.8rem); letter-spacing: -0.015em; line-height: 1.15; }
.svc-card p { color: var(--ink-2); font-size: 1rem; max-width: 52ch; }
.svc-points { display: grid; gap: 0.4rem; font-size: 0.95rem; color: var(--ink-2); }
.svc-points li { display: flex; align-items: center; gap: 0.6rem; }
.svc-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); flex: none; }
.svc-more { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: auto; padding-top: 0.3rem; font-size: 0.98rem; font-weight: 800; color: var(--brass); }
.svc-more .ico { transition: transform 0.45s var(--ease); }
.svc-card:hover .svc-more .ico { transform: translate(4px, -4px); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.price-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; border-radius: var(--r-lg); transition: transform 0.6s var(--ease), border-color 0.4s; }
.price-card:hover { transform: translateY(-6px); }
.price-card.featured { grid-column: span 6; padding: 2rem; border-color: rgba(212, 176, 106, 0.35); background: linear-gradient(150deg, rgba(212, 176, 106, 0.13), rgba(255, 255, 255, 0.03) 55%); }
.price-card.quote { grid-column: span 3; }
.price-head { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem 0.8rem; }
.price-head h3 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.01em; flex: 1 1 8rem; line-height: 1.2; }
.tag { padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.8rem; font-weight: 800; color: var(--brass-2); background: rgba(212, 176, 106, 0.14); border: 1px solid rgba(212, 176, 106, 0.4); white-space: nowrap; }
.price-fig { font-family: var(--serif); font-weight: 600; font-size: clamp(3.4rem, 6vw, 4.8rem); line-height: 1; letter-spacing: -0.03em; color: var(--ink); display: flex; align-items: baseline; gap: 0.2rem; flex-wrap: wrap; }
.price-fig .rs { font-size: 0.55em; color: var(--brass); }
.price-fig small { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--ink-2); margin-left: 0.5rem; }
.price-min { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; color: var(--brass-2); font-size: 1rem; }
.price-min .ico, .price-sub .ico { color: var(--brass); }
.price-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.price-split > div { padding: 1rem 1.1rem; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.price-split .price-fig { font-size: clamp(2.8rem, 4.6vw, 3.8rem); }
.price-split .price-fig small { display: block; flex-basis: 100%; margin: 0.3rem 0 0; font-size: 0.9rem; }
.price-sub { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.6rem; font-weight: 700; font-size: 0.95rem; color: var(--ink-2); }
.price-list { display: grid; gap: 0.5rem; font-size: 1rem; color: var(--ink-2); flex: 1; }
.price-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.price-list li::before { content: ""; width: 6px; height: 6px; margin-top: 0.68rem; border-radius: 50%; background: var(--brass); flex: none; }
.price-quote { font-family: var(--serif); font-weight: 600; font-size: 2rem; line-height: 1.1; letter-spacing: -0.02em; }
.price-basis { color: var(--ink-2); font-size: 1rem; flex: 1; }
.price-card.quote .btn { align-self: flex-start; }
.price-note { display: flex; align-items: flex-start; gap: 0.7rem; margin-top: 1.4rem; font-size: 0.98rem; color: var(--ink-2); font-weight: 600; }
.price-note .ico { color: var(--brass); margin-top: 0.2rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(9rem, 15vw, 14rem); gap: 1rem; }
.g-item { position: relative; border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in; border: 1px solid var(--line); background: var(--bg-3); }
.g-a { grid-column: span 7; grid-row: span 2; } .g-b { grid-column: span 5; grid-row: span 2; }
.g-c { grid-column: span 4; grid-row: span 2; } .g-d { grid-column: span 4; grid-row: span 2; } .g-e { grid-column: span 4; } .g-f { grid-column: span 4; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 8, 14, 0.85)); }
.g-item:hover img { transform: scale(1.2); }
.g-item figcaption { position: absolute; z-index: 2; left: 1.3rem; right: 1.3rem; bottom: 1.1rem; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.01em; transform: translateY(6px); transition: transform 0.6s var(--ease); }
.g-item:hover figcaption { transform: none; }
.disclaimer { margin-top: 1.2rem; font-size: 0.9rem; color: var(--mute); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about-visual { perspective: 1000px; --rx: 0deg; --ry: 0deg; }
.about-frame { position: relative; aspect-ratio: 1 / 1.08; border-radius: 36px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; background: radial-gradient(100% 80% at 50% 20%, rgba(236, 229, 212, 0.9), rgba(111, 143, 185, 0.7) 55%, rgba(14, 22, 40, 0.95) 100%); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.5s var(--ease); }
.about-frame img { width: 106%; max-width: none; transform: translateY(4%); filter: drop-shadow(0 24px 30px rgba(5, 8, 16, 0.45)); }
.about-badge { position: absolute; left: 1rem; bottom: 1rem; max-width: 16rem; display: grid; gap: 0.1rem; padding: 0.85rem 1.15rem; border-radius: 20px; background: rgba(8, 13, 23, 0.8); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.about-badge strong { font-family: var(--serif); font-weight: 600; font-size: 1.9rem; line-height: 1.1; color: var(--brass); }
.about-badge span { font-size: 0.9rem; color: var(--ink-2); line-height: 1.4; font-weight: 600; }
.about-copy { display: grid; gap: 1.4rem; justify-items: start; }
.about-list { display: grid; gap: 0.8rem; width: 100%; }
.about-list li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.2rem 1.4rem; border-radius: 22px; transition: transform 0.5s var(--ease); }
.about-list li:hover { transform: translateX(8px); }
.about-list h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.about-list p { font-size: 1rem; color: var(--ink-2); }

/* ---------- Process (scroll-filled timeline) ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 4.6rem; --pp: 0; }
.steps::before { content: ""; position: absolute; z-index: 0; left: 6%; right: 6%; top: -2.1rem; height: 3px; border-radius: 3px; background: var(--line-2); }
.steps::after { content: ""; position: absolute; z-index: 0; left: 6%; right: 6%; top: -2.1rem; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brass-d), var(--brass-2)); box-shadow: 0 0 14px var(--brass); transform: scaleX(var(--pp)); transform-origin: left; }
.step { position: relative; z-index: 1; display: grid; gap: 0.75rem; padding: 3.4rem 1.5rem 1.6rem; border-radius: var(--r-lg); align-content: start; min-height: 16rem; opacity: 0.88; transition: transform 0.8s var(--ease), opacity 0.8s var(--ease), border-color 0.5s, box-shadow 0.5s; }
.step.is-active { opacity: 1; transform: translateY(-6px); border-color: rgba(212, 176, 106, 0.45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 50px -26px rgba(212, 176, 106, 0.6); }
.step-top { display: contents; }
.step-n { position: absolute; z-index: 2; left: 1.4rem; top: -3.6rem; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--brass); background: var(--bg); border: 2px solid var(--line-2); transition: all 0.6s var(--spring); }
.step.is-active .step-n { background: linear-gradient(135deg, var(--brass-2), var(--brass-d)); color: #1b1306; border-color: var(--brass-2); transform: scale(1.12); box-shadow: 0 0 0 7px rgba(212, 176, 106, 0.16); }
.step-ico { position: absolute; top: 1rem; right: 1rem; width: 2.6rem; height: 2.6rem; border-radius: 14px; display: grid; place-items: center; color: var(--steel); background: var(--glass-2); border: 1px solid var(--line-2); font-size: 1.2rem; transition: all 0.5s var(--ease); }
.step.is-active .step-ico { color: var(--brass-2); border-color: rgba(212, 176, 106, 0.5); }
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.015em; }
.step p { color: var(--ink-2); font-size: 1rem; }
.step .step-tag { margin-top: auto; padding-top: 0.9rem; border-top: 1px dashed var(--line-2); font-size: 0.92rem; font-weight: 600; color: var(--ink-2); }
.step-tag b { color: var(--brass); font-weight: 800; margin-right: 0.3rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-side { position: sticky; top: 7rem; display: grid; gap: 1.2rem; }
.faq-help { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem 1rem; align-items: center; padding: 1.2rem; border-radius: 24px; margin-top: 0.5rem; }
.faq-help strong { display: block; font-size: 1.05rem; font-weight: 800; }
.faq-help small { display: block; font-size: 0.9rem; color: var(--ink-2); font-weight: 500; }
.faq-help-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.accordion { display: grid; gap: 0.75rem; }
.accordion details { position: relative; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); overflow: hidden; transition: background 0.4s, border-color 0.4s, box-shadow 0.5s, transform 0.5s var(--ease); }
.accordion details::before { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 3px; border-radius: 3px; background: linear-gradient(var(--brass-2), var(--brass-d)); transform: scaleY(0); transition: transform 0.5s var(--ease); }
.accordion details:hover { border-color: var(--line-2); transform: translateX(4px); }
.accordion details[open] { background: linear-gradient(145deg, rgba(212, 176, 106, 0.12), rgba(255, 255, 255, 0.04)); border-color: rgba(212, 176, 106, 0.4); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.8), 0 0 40px -26px rgba(212, 176, 106, 0.6); transform: none; }
.accordion details[open]::before { transform: scaleY(1); }
.accordion summary { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; font-size: 1.1rem; font-weight: 700; list-style: none; }
.accordion summary:hover { color: var(--brass-2); }
.accordion summary::-webkit-details-marker { display: none; }
.q-ico { width: 2.6rem; height: 2.6rem; border-radius: 14px; display: grid; place-items: center; color: var(--steel); background: var(--glass-2); border: 1px solid var(--line-2); font-size: 1.2rem; flex: none; transition: all 0.5s var(--ease); }
.accordion details[open] .q-ico { color: #1b1306; background: linear-gradient(135deg, var(--brass-2), var(--brass-d)); border-color: transparent; transform: rotate(-6deg); }
.q-text { flex: 1; }
.q-toggle { width: 2.3rem; height: 2.3rem; padding: 0.58rem; border-radius: 50%; background: var(--glass-2); transition: transform 0.5s var(--ease), background 0.3s, color 0.3s; }
.accordion details[open] .q-toggle { transform: rotate(135deg); background: var(--brass); color: #1b1306; }
.accordion details > div { padding: 0 1.3rem 1.3rem 5.0rem; color: var(--ink-2); max-width: 66ch; font-size: 1.02rem; }
.accordion details[open] > div { animation: riseIn 0.55s var(--ease); }
@supports (interpolate-size: allow-keywords) {
  .accordion details { interpolate-size: allow-keywords; }
  .accordion details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.5s var(--ease), content-visibility 0.5s allow-discrete; }
  .accordion details[open]::details-content { block-size: auto; }
}

/* ---------- Contact / form ---------- */
.contact-card { position: relative; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(1.3rem, 4vw, 3.4rem); border-radius: 40px; overflow: hidden; isolation: isolate; }
.contact-glow { position: absolute; z-index: -1; width: 60%; aspect-ratio: 1; left: -15%; top: -25%; border-radius: 50%; background: radial-gradient(circle, rgba(212, 176, 106, 0.26), transparent 65%); filter: blur(40px); animation: orb1 20s ease-in-out infinite alternate; }
.contact-copy { display: grid; gap: 1.4rem; align-content: start; }
.contact-points { display: grid; gap: 0.7rem; color: var(--ink-2); font-size: 1rem; font-weight: 600; }
.contact-points li { display: flex; gap: 0.7rem; align-items: flex-start; }
.contact-points .ico { color: var(--brass); width: 1.4rem; height: 1.4rem; padding: 0.25rem; border-radius: 50%; background: rgba(212, 176, 106, 0.15); margin-top: 0.15rem; }
.wa-card { display: flex; align-items: center; gap: 1rem; width: 100%; max-width: 27rem; padding: 0.9rem 1.2rem 0.9rem 0.9rem; border-radius: 24px; text-align: left; background: linear-gradient(135deg, rgba(74, 222, 128, 0.15), rgba(74, 222, 128, 0.04)); border: 1px solid rgba(74, 222, 128, 0.35); transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s; }
.wa-card:hover { border-color: #4ade80; box-shadow: 0 18px 44px -16px rgba(74, 222, 128, 0.45); transform: translateY(-3px); }
.wa-card > span:nth-child(2) { display: grid; line-height: 1.3; flex: 1; }
.wa-card small { font-size: 0.85rem; color: var(--ink-2); font-weight: 600; } .wa-card strong { font-size: 1.05rem; font-weight: 800; }
.wa-ico { width: 3rem; height: 3rem; border-radius: 16px; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 1.4rem; }
.wa-card > .arrow { transition: transform 0.45s var(--ease); } .wa-card:hover > .arrow { transform: translate(3px, -3px); }
.form { position: relative; }
.form-body { display: grid; gap: 1rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.45rem; }
.field > span { font-size: 0.92rem; font-weight: 700; color: var(--ink-2); transition: color 0.3s; }
.field input, .field select, .field textarea { width: 100%; padding: 0.95rem 1.1rem; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(5, 8, 14, 0.55); outline: none; transition: border-color 0.3s, box-shadow 0.3s, background 0.3s; font-size: 1rem; font-weight: 500; }
.field textarea { resize: vertical; min-height: 7.5rem; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239aa3b5' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; padding-right: 2.6rem; }
.field select option { background: #111a2d; color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(154, 163, 181, 0.75); }
.field:focus-within > span { color: var(--brass); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); box-shadow: 0 0 0 4px rgba(212, 176, 106, 0.15); background: rgba(5, 8, 14, 0.8); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff6b6b; box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.12); animation: shake 0.4s; }
.field.invalid > span { color: #ff9a9a; }
.field-msg { display: none; font-size: 0.88rem; font-weight: 600; color: #ffb4b4; line-height: 1.35; }
.field.invalid .field-msg { display: block; animation: riseIn 0.35s var(--ease); }
.form-fallback { display: grid; gap: 0.65rem; margin-top: 0.9rem; }
.form-fallback a { display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem; padding: 0.8rem 1.4rem; border-radius: 14px; font-size: 0.96rem; font-weight: 800; text-align: center; }
.form-fallback a:first-child { background: #25d366; color: #082813; border-color: #4ade80; box-shadow: 0 8px 24px -6px rgba(37, 211, 102, 0.45); }
.form-fallback a:first-child:hover { background: #20ba5a; color: #fff; transform: translateY(-2px); }
.form-fallback a:last-child { background: rgba(255, 255, 255, 0.08); color: var(--ink); border: 1px solid var(--line-2); }
.form-fallback a:last-child:hover { background: var(--brass); color: #1b1306; }
@keyframes shake { 25% { translate: -5px 0; } 75% { translate: 5px 0; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { padding: 0.8rem 1rem; border-radius: 14px; background: rgba(255, 107, 107, 0.12); border: 1px solid rgba(255, 107, 107, 0.4); color: #ffc0c0; font-size: 0.95rem; font-weight: 600; }
.form-note { font-size: 0.88rem; color: var(--mute); text-align: center; }
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading .arrow { animation: spin 0.8s linear infinite; }
.form.is-sent .form-body { display: none; }
.form-success { display: grid; justify-items: center; text-align: center; gap: 1rem; padding: clamp(2rem, 5vw, 4rem) 1rem; animation: riseIn 0.8s var(--ease); }
.form-success[hidden] { display: none; }
.form-success h3 { font-family: var(--serif); font-weight: 600; font-size: 2.3rem; }
.form-success p { color: var(--ink-2); max-width: 48ch; }
.success-ring { width: 5rem; height: 5rem; border-radius: 50%; display: grid; place-items: center; color: #1b1306; background: linear-gradient(135deg, var(--brass-2), var(--brass-d)); font-size: 2rem; animation: pop 0.8s var(--spring); box-shadow: 0 0 0 10px rgba(212, 176, 106, 0.12), 0 0 60px rgba(212, 176, 106, 0.4); }
.success-ring .ico { stroke-width: 2.6; }
@keyframes pop { from { transform: scale(0) rotate(-40deg); } }
.success-actions { display: flex; gap: 0.65rem; flex-wrap: wrap; justify-content: center; margin-top: 0.5rem; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(2.5rem, 6vw, 4rem); overflow: hidden; }
.f-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; padding: clamp(1.7rem, 4vw, 3.2rem); border: 1.5px solid transparent; border-radius: 36px; background: linear-gradient(120deg, #0d3f33 0%, #0b1a2a 62%, #0b1220 100%) padding-box, conic-gradient(from var(--ang), var(--brass), rgba(212, 176, 106, 0.1) 28%, var(--brass-2) 55%, rgba(212, 176, 106, 0.1) 80%, var(--brass)) border-box; box-shadow: 0 40px 100px -40px rgba(18, 110, 86, 0.6); }
.f-cta-glow { position: absolute; right: -8%; top: -60%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(212, 176, 106, 0.4), transparent 65%); filter: blur(30px); animation: glowPulse 6s ease-in-out infinite; pointer-events: none; }
.f-cta-copy { position: relative; display: grid; gap: 0.6rem; }
.f-cta h2 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1.05; }
.f-cta p { color: var(--ink-2); font-size: 1.1rem; max-width: 52ch; }
.f-cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 0.7rem; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: clamp(1.6rem, 4vw, 3.2rem); padding-block: clamp(2.4rem, 5vw, 3.6rem); border-bottom: 1px solid var(--line); }
.f-brand { display: grid; gap: 1rem; align-content: start; }
.f-brand p { color: var(--mute); font-size: 1rem; max-width: 40ch; }
.f-brand .f-tag { font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--brass-2); line-height: 1.2; }
.f-places { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.f-places li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.85rem 0.35rem 0.6rem; border-radius: 999px; font-size: 0.9rem; font-weight: 700; color: var(--ink-2); background: var(--glass); border: 1px solid var(--line-2); }
.f-places .ico { color: var(--brass); width: 1rem; height: 1rem; }
.f-col { display: grid; gap: 0.15rem; align-content: start; }
.f-col h3 { margin-bottom: 0.7rem; font-family: var(--sans); font-size: 0.95rem; font-weight: 800; color: var(--brass); letter-spacing: 0.02em; }
.f-col > a, .f-col > button { display: flex; align-items: center; gap: 0.65rem; padding: 0.4rem 0; width: fit-content; text-align: left; font-size: 1rem; font-weight: 600; color: var(--ink-2); transition: color 0.3s, translate 0.4s var(--ease); }
.f-col > a:hover, .f-col > button:hover { color: var(--brass-2); translate: 6px 0; }
.f-col > button[data-open-service] .ico { color: var(--brass); width: 1.1rem; height: 1.1rem; opacity: 0.8; }
.f-contact { gap: 0.7rem; }
.f-contact .f-wa, .f-contact .f-mail { display: flex; align-items: center; gap: 0.85rem; width: 100%; padding: 0.7rem 0.9rem 0.7rem 0.7rem; border-radius: 20px; text-align: left; background: var(--glass); border: 1px solid var(--line-2); transition: border-color 0.3s, background 0.3s, translate 0.4s var(--ease); }
.f-contact .f-wa:hover { border-color: #4ade80; background: rgba(74, 222, 128, 0.08); translate: 0 -3px; }
.f-contact .f-mail:hover { border-color: var(--brass); background: rgba(212, 176, 106, 0.1); translate: 0 -3px; }
.f-contact .wa-ico { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 14px; font-size: 1.2rem; }
.f-contact .f-mail .wa-ico { background: linear-gradient(135deg, var(--brass-2), var(--brass-d)); color: #1b1306; }
.f-contact span:last-child { display: grid; line-height: 1.3; }
.f-contact small { font-size: 0.8rem; color: var(--mute); font-weight: 600; }
.f-contact strong { font-size: 1rem; font-weight: 800; color: var(--ink); }
.f-person { display: grid; line-height: 1.3; padding-top: 0.5rem; } .f-person small { font-size: 0.8rem; color: var(--mute); font-weight: 600; } .f-person strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--brass-2); }
@media (max-width: 1100px) { .footer-main { grid-template-columns: 1fr 1fr; } .f-cta { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .footer-main { grid-template-columns: 1fr; } .f-cta-actions .btn { width: 100%; justify-content: center; } }
.footer-top nav a { position: relative; } .footer-top nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); } .footer-top nav a:hover::after { transform: scaleX(1); }
.footer-word { font-family: var(--serif); font-weight: 700; font-size: clamp(5rem, 24vw, 20rem); line-height: 0.85; letter-spacing: -0.05em; text-align: center; white-space: nowrap; margin-top: 1.5rem; color: transparent; -webkit-text-stroke: 1px var(--line-2); background: linear-gradient(180deg, rgba(212, 176, 106, 0.38), transparent 80%); -webkit-background-clip: text; background-clip: text; user-select: none; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.4rem 2rem; font-size: 0.92rem; color: var(--mute); font-weight: 600; }
.footer-base a:hover { color: var(--brass); }

/* ---------- WhatsApp popup + float ---------- */
.wa-float { position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: max(clamp(1rem, 2.5vw, 2rem), env(safe-area-inset-bottom)); z-index: 280; display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 1.3rem 0.55rem 0.55rem; border-radius: 999px; background: rgba(9, 13, 22, 0.7); border: 1px solid rgba(74, 222, 128, 0.4); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 18px 44px -14px rgba(0, 0, 0, 0.85), 0 0 40px -12px rgba(74, 222, 128, 0.4); transition: transform 0.4s var(--ease), border-color 0.3s; }
.wa-float:hover { border-color: #4ade80; }
.wa-float-ico { position: relative; width: 2.9rem; height: 2.9rem; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 1.35rem; }
.wa-float-ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.2s ease-out infinite; }
.wa-float-text { display: grid; line-height: 1.2; text-align: left; } .wa-float-text small { font-size: 0.78rem; color: var(--mute); font-weight: 600; } .wa-float-text strong { font-size: 1rem; font-weight: 800; }
.wa-menu { position: fixed; z-index: 560; width: min(22rem, calc(100vw - 1.6rem)); padding: 0.6rem; border-radius: 26px; display: grid; gap: 0.2rem; background: rgba(11, 17, 30, 0.88); border-color: var(--line-2); transform-origin: var(--ox, 100%) var(--oy, 100%); }
.wa-menu[hidden] { display: none; }
.wa-menu.is-open { animation: menuIn 0.5s var(--ease) both; }
.wa-menu.is-closing { animation: menuOut 0.2s ease forwards; }
@keyframes menuIn { from { opacity: 0; transform: translateY(12px) scale(0.92); } }
@keyframes menuOut { to { opacity: 0; transform: translateY(8px) scale(0.96); } }
.wa-menu-title { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.8rem 0.5rem; font-size: 0.92rem; font-weight: 700; color: var(--ink-2); }
.wa-menu a { display: flex; align-items: center; gap: 0.85rem; padding: 0.65rem 0.8rem; border-radius: 18px; cursor: pointer; transition: background 0.3s, transform 0.4s var(--ease); }
.wa-i { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; color: var(--brass); border: 1px solid rgba(212, 176, 106, 0.4); flex: none; transition: all 0.3s; }
.wa-menu a > div { flex: 1; display: grid; line-height: 1.3; } .wa-menu a strong { font-size: 1rem; font-weight: 700; } .wa-menu a small { font-size: 0.85rem; color: var(--mute); font-weight: 500; }
.wa-menu a .go { color: var(--mute); transition: transform 0.4s var(--ease), color 0.3s; }
.wa-menu a:hover, .wa-menu a:focus-visible { background: var(--glass-2); transform: translateX(4px); }
.wa-menu a:hover .wa-i { background: var(--brass); color: #1b1306; }
.wa-menu a:hover .go { color: var(--brass); transform: translate(2px, -2px); }
.wa-menu .wa-general { justify-content: space-between; margin-top: 0.2rem; padding: 0.85rem 1rem; font-size: 0.95rem; font-weight: 700; background: linear-gradient(135deg, rgba(74, 222, 128, 0.16), rgba(74, 222, 128, 0.04)); border: 1px solid rgba(74, 222, 128, 0.3); }

/* ---------- Modals ---------- */
.modal { padding: 0; border: 1px solid var(--line-2); border-radius: 34px; color: var(--ink); background: rgba(11, 17, 30, 0.94); -webkit-backdrop-filter: blur(30px) saturate(150%); backdrop-filter: blur(30px) saturate(150%); box-shadow: 0 60px 140px -30px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.1); width: min(62rem, calc(100vw - 1.6rem)); max-height: calc(100svh - 1.6rem); overflow: auto; overscroll-behavior: contain; margin: auto; }
.modal::backdrop { background: rgba(3, 5, 10, 0.74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.modal[open] { animation: modalIn 0.6s var(--ease); }
.modal[open]::backdrop { animation: fadeIn 0.5s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(40px) scale(0.94); } }
.modal-close { position: absolute; z-index: 5; right: 1.1rem; top: 1.1rem; width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--line-2); transition: transform 0.5s var(--ease), background 0.3s, color 0.3s; }
.modal-close:hover { transform: rotate(90deg); background: var(--brass); color: #1b1306; }
.portrait-modal { width: min(58rem, calc(100vw - 1.6rem)); }
.portrait-modal-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; }
.portrait-modal-img { display: flex; align-items: flex-end; justify-content: center; min-height: 26rem; overflow: hidden; background: radial-gradient(100% 90% at 50% 20%, rgba(236, 229, 212, 0.95), rgba(111, 143, 185, 0.7) 60%, rgba(14, 22, 40, 0.9) 100%); }
.portrait-modal-img img { width: 106%; max-width: none; animation: riseIn 1s var(--ease) 0.15s backwards; }
.portrait-modal-copy { display: grid; gap: 1rem; align-content: center; padding: clamp(1.6rem, 4vw, 3rem); }
.portrait-modal-copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.portrait-modal-copy p { color: var(--ink-2); }
.mini-list { display: grid; gap: 0.45rem; font-size: 1rem; color: var(--ink-2); }
.mini-list li::before { content: "✦"; color: var(--brass); margin-right: 0.6rem; font-size: 0.8rem; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
/* ---- Service detail pop-out ---- */
.service-modal { width: min(64rem, calc(100vw - 1.6rem)); }
.service-modal[open] { transform-origin: var(--ox, 50%) var(--oy, 50%); animation: svcIn 0.35s var(--ease); }
.service-modal[open]::backdrop { animation: fadeIn 0.35s ease; background: radial-gradient(60% 60% at var(--ox, 50%) var(--oy, 50%), rgba(8, 33, 27, 0.7), rgba(3, 5, 10, 0.82)); }
@keyframes svcIn { from { opacity: 0; transform: scale(0.94) translateY(24px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal.is-closing { animation: modalOut 0.25s var(--ease-io) forwards !important; }
.modal.is-closing::backdrop { animation: fadeOut 0.25s ease forwards !important; }
@keyframes modalOut { to { opacity: 0; transform: translateY(18px) scale(0.96); } }
@keyframes fadeOut { to { opacity: 0; } }
.sm-bar { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 1rem 1.1rem; margin-bottom: -4.6rem; pointer-events: none; }
.sm-bar > * { pointer-events: auto; }
.sm-bar::before { content: ""; position: absolute; inset: 0 0 -1.4rem; z-index: -1; background: linear-gradient(rgba(11, 17, 30, 0.92), transparent); pointer-events: none; }
.sm-bar .modal-close { position: static; flex: none; background: rgba(8, 13, 23, 0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sm-tabs { display: flex; gap: 0.35rem; padding: 0.3rem; border-radius: 999px; background: rgba(8, 13, 23, 0.7); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); overflow-x: auto; scrollbar-width: none; max-width: calc(100% - 3.6rem); }
.sm-tabs::-webkit-scrollbar { display: none; }
.sm-tab { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; border-radius: 999px; color: var(--ink-2); font-weight: 700; font-size: 0.9rem; white-space: nowrap; transition: background 0.35s, color 0.35s, padding 0.35s var(--ease); }
.sm-tab span { max-width: 0; overflow: hidden; opacity: 0; transition: max-width 0.5s var(--ease), opacity 0.3s; }
.sm-tab:hover { color: var(--ink); background: rgba(255, 255, 255, 0.08); }
.sm-tab.is-active { background: linear-gradient(135deg, var(--brass-2), var(--brass)); color: #1b1306; padding-inline: 0.95rem; }
.sm-tab.is-active span { max-width: 12rem; opacity: 1; }
.service-modal-body { display: block; }
.service-modal-body > * { animation: none; }
.sm-cover { position: relative; margin: 0; height: clamp(200px, 32vw, 310px); overflow: hidden; clip-path: inset(0 0 100% 0); animation: smReveal 1s var(--ease) 0.15s forwards; }
.sm-cover img { width: 100%; height: 100%; object-fit: cover; scale: 1.22; animation: kenburns 16s var(--ease) forwards; }
.sm-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 13, 23, 0.55) 0%, rgba(8, 13, 23, 0.05) 38%, rgba(11, 17, 30, 0.75) 82%, rgb(11, 17, 30) 100%); }
.sm-scan { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--brass-2), transparent); box-shadow: 0 0 24px 4px rgba(241, 224, 184, 0.6); animation: smScan 1.3s var(--ease-io) 0.25s both; }
@keyframes smReveal { to { clip-path: inset(0 0 0 0); } }
@keyframes kenburns { to { scale: 1.02; } }
@keyframes smScan { from { transform: translateY(0); opacity: 1; } to { transform: translateY(clamp(200px, 32vw, 310px)); opacity: 0; } }
.sm-main { position: relative; z-index: 2; display: grid; gap: 1.5rem; padding: 0 clamp(1.4rem, 4vw, 3rem) clamp(1.4rem, 4vw, 2.6rem); margin-top: -3.2rem; }
.sm-main > * { animation: smRise 0.8s var(--ease) calc(0.35s + var(--k, 0) * 0.1s) backwards; }
.sm-head { --k: 0; display: grid; gap: 0.95rem; }
.sm-price-card { --k: 3; } .sm-grid { --k: 4; } .sm-foot { --k: 8; }
@keyframes smRise { from { opacity: 0; translate: calc(var(--dir, 1) * 24px) 26px; } }
.sm-medal { position: relative; display: grid; place-items: center; width: 4.6rem; height: 4.6rem; border-radius: 50%; font-size: 1.9rem; color: #1b1306; background: linear-gradient(135deg, var(--brass-2), var(--brass-d)); box-shadow: 0 14px 40px -8px rgba(212, 176, 106, 0.65), 0 0 0 6px rgba(11, 17, 30, 0.9); animation: pop 0.8s var(--spring) 0.45s backwards; }
.sm-medal::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid transparent; background: conic-gradient(from var(--ang), var(--brass-2), transparent 35%, var(--brass-2) 70%, transparent) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) exclude, linear-gradient(#000 0 0); mask-composite: exclude; animation: ringSpin 4s linear infinite; }
.sm-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.05; }
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; }
.sw > span { display: inline-block; animation: wordUp 0.8s var(--ease) calc(0.55s + var(--w) * 0.09s) backwards; }
@keyframes wordUp { from { translate: 0 110%; rotate: 4deg; } }
.sm-summary { color: var(--ink-2); max-width: 64ch; font-size: 1.08rem; }
.sm-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.sm-chips b { color: var(--brass); font-weight: 800; font-size: 0.95rem; margin-right: 0.2rem; }
.sm-chip { padding: 0.35rem 0.9rem; border-radius: 999px; font-size: 0.92rem; font-weight: 700; color: var(--ink); background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-2); animation: pop 0.6s var(--spring) 1s backwards; }
.sm-chip:nth-child(3) { animation-delay: 1.08s; } .sm-chip:nth-child(4) { animation-delay: 1.16s; } .sm-chip:nth-child(5) { animation-delay: 1.24s; }
.sm-price-card { position: relative; overflow: hidden; display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.4rem; border-radius: 24px; background: linear-gradient(135deg, rgba(212, 176, 106, 0.2), rgba(8, 33, 27, 0.5)); border: 1px solid rgba(212, 176, 106, 0.5); box-shadow: 0 20px 50px -20px rgba(212, 176, 106, 0.4); }
.sm-shine { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 38%, rgba(241, 224, 184, 0.3) 50%, transparent 62%); transform: translateX(-120%); animation: lightSweep 5s ease-in-out 1.4s infinite; pointer-events: none; }
.sm-price-card .g-ico { background: linear-gradient(135deg, var(--brass-2), var(--brass-d)); color: #1b1306; border: 0; }
.sm-price-card small { display: block; font-size: 0.88rem; color: var(--brass-2); font-weight: 800; }
.sm-price-card strong { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(1.45rem, 2.8vw, 2rem); line-height: 1.2; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.sm-price-card em { display: block; font-style: normal; font-size: 0.92rem; color: var(--ink-2); font-weight: 600; margin-top: 0.15rem; }
.sm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.sm-box { position: relative; padding: 1.3rem; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); display: grid; gap: 0.9rem; align-content: start; transition: border-color 0.35s, background 0.35s, translate 0.45s var(--ease); animation: smRise 0.8s var(--ease) calc(0.8s + var(--i, 0) * 0.12s) backwards; }
.sm-box:hover { border-color: rgba(212, 176, 106, 0.55); background: rgba(212, 176, 106, 0.07); translate: 0 -4px; }
.sm-box h3 { display: flex; align-items: center; gap: 0.65rem; font-size: 1.08rem; color: var(--brass-2); font-weight: 800; }
.sm-box-ico { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 12px; color: var(--brass); background: rgba(212, 176, 106, 0.14); font-size: 1.05rem; }
.sm-box ul { display: grid; gap: 0.6rem; font-size: 1rem; color: var(--ink-2); }
.sm-box li { display: flex; gap: 0.65rem; line-height: 1.45; animation: smItem 0.6s var(--ease) calc(1s + var(--j, 0) * 0.07s) backwards; }
.sm-box li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 1.2rem; height: 1.2rem; margin-top: 0.18rem; border-radius: 50%; font-size: 0.7rem; font-weight: 900; color: #1b1306; background: var(--brass); animation: pop 0.5s var(--spring) calc(1.1s + var(--j, 0) * 0.07s) backwards; }
@keyframes smItem { from { opacity: 0; translate: -16px 0; } }
.sm-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.sm-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.sm-next { display: grid; grid-template-columns: 1fr auto; column-gap: 0.8rem; align-items: center; text-align: left; padding: 0.55rem 0.7rem 0.55rem 1.1rem; border-radius: 18px; border: 1px solid var(--line-2); background: var(--glass); transition: border-color 0.3s, background 0.3s, translate 0.4s var(--ease); }
.sm-next small { grid-column: 1; font-size: 0.8rem; color: var(--mute); font-weight: 700; }
.sm-next strong { grid-column: 1; font-size: 1rem; font-weight: 800; }
.sm-next .ico { grid-row: 1 / 3; grid-column: 2; width: 2.2rem; height: 2.2rem; padding: 0.55rem; border-radius: 50%; color: #1b1306; background: var(--brass); transition: rotate 0.4s var(--spring); }
.sm-next:hover { border-color: var(--brass); background: rgba(212, 176, 106, 0.1); translate: 4px 0; }
.sm-next:hover .ico { rotate: 45deg; }
@media (max-width: 640px) { .sm-tab span { display: none; } .sm-tab.is-active span { display: inline; } .sm-foot { flex-direction: column; align-items: stretch; } .sm-next { grid-template-columns: 1fr auto; } }
.lightbox { width: min(78rem, calc(100vw - 1.2rem)); background: rgba(4, 7, 12, 0.94); display: none; }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.6rem; padding: 1rem; }
.lightbox figure { position: relative; min-width: 0; border-radius: 24px; overflow: hidden; }
.lightbox img { width: 100%; max-height: calc(100svh - 7rem); object-fit: contain; background: #000; animation: fadeIn 0.5s; }
.lightbox figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: 0.5rem 1rem; border-radius: 999px; background: rgba(8, 13, 23, 0.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 0.95rem; font-weight: 700; }
.lb-nav { width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--line-2); transition: background 0.3s, transform 0.4s var(--ease), color 0.3s; }
.lb-nav:hover { background: var(--brass); color: #1b1306; transform: scale(1.1); }

/* ---------- Scroll-driven parallax (progressive enhancement) ---------- */
@supports (animation-timeline: view()) {
  .section::before { content: ""; position: absolute; z-index: -1; width: 44vw; height: 44vw; right: -12vw; top: 8%; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(212, 176, 106, 0.09), transparent 66%); filter: blur(30px); animation: secDrift linear both; animation-timeline: view(); }
  .section:nth-of-type(even)::before { right: auto; left: -14vw; background: radial-gradient(circle, rgba(63, 107, 151, 0.14), transparent 66%); }
  .svc-photo img, .g-item img { animation: imgShift linear both; animation-timeline: view(); }
  @keyframes secDrift { from { transform: translate3d(-6vw, 18vh, 0) scale(0.8); } to { transform: translate3d(6vw, -18vh, 0) scale(1.15); } }
  @keyframes imgShift { from { translate: 0 -6%; } to { translate: 0 6%; } }
}

/* ---------- Extra button effects ---------- */
.step.spot { overflow: visible; }
.btn .roll { height: 1.35em; line-height: 1.35em; }
.btn .roll > span::after { color: inherit; }
.btn:hover .roll > span { transform: translateY(-100%); }
.btn-brass { background-size: 220% 100%; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background-position 0.9s var(--ease), border-color 0.3s; }
.btn-brass:hover { background-position: 100% 0; }
.btn-brass.btn-lg { animation: btnGlow 3.4s ease-in-out infinite; }
.btn-brass.btn-lg:hover, .btn-brass.btn-lg:active { animation: none; }
@keyframes btnGlow { 50% { box-shadow: 0 16px 46px -6px rgba(212, 176, 106, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.55); } }
.btn-brass::before, .btn-glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.3s; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.btn-brass:hover::before, .btn-glass:hover::before, .btn-brass:focus-visible::before, .btn-glass:focus-visible::before { animation: ringSpin 2.2s linear infinite; }
.btn-brass::before { background: conic-gradient(from var(--ang), transparent 0 55%, rgba(255, 255, 255, 0.95) 78%, transparent 92%); }
.btn-glass::before { background: conic-gradient(from var(--ang), transparent 0 55%, var(--brass-2) 78%, transparent 92%); }
.btn-brass:hover::before, .btn-glass:hover::before, .nav-cta::before { opacity: 1; }
.btn-brass .arrow { box-sizing: content-box; width: 1.05em; height: 1.05em; padding: 0.32rem; margin-right: -0.7rem; border-radius: 50%; background: rgba(27, 19, 6, 0.12); transition: transform 0.45s var(--ease), background 0.3s, color 0.3s; }
.btn-brass:hover .arrow { background: #1b1306; color: var(--brass-2); }
.btn-sm.btn-brass .arrow { padding: 0.26rem; margin-right: -0.55rem; }

/* ---------- Extra navbar effects ---------- */
.nav-pill::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 2; pointer-events: none; opacity: 0; transition: opacity 0.5s; background: conic-gradient(from var(--ang), transparent 0 68%, rgba(241, 224, 184, 0.9) 84%, transparent 96%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.nav-pill:hover::after { animation: ringSpin 5s linear infinite; }
.nav-pill:hover::after, .site-header.is-scrolled .nav-pill::after { opacity: 0.75; }
.nav-links a .roll { translate: var(--lx, 0px) var(--ly, 0px); transition: translate 0.35s var(--ease); }
.nav-links a[data-nav-link="pricing"]::before { content: ""; position: absolute; top: 7px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 0 rgba(212, 176, 106, 0.7); animation: badgePing 2.4s ease-out infinite; }
@keyframes badgePing { 70% { box-shadow: 0 0 0 7px rgba(212, 176, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 176, 106, 0); } }
.nav-cta { animation: ctaGlow 3.6s ease-in-out infinite; }
@keyframes ctaGlow { 50% { box-shadow: 0 12px 38px -6px rgba(212, 176, 106, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.55); } }

/* ---------- Section dividers that draw as you scroll ---------- */
@supports (animation-timeline: view()) {
  .section::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(212, 176, 106, 0.55), transparent); transform: scaleX(0); animation: lineDraw linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  @keyframes lineDraw { to { transform: scaleX(1); } }
}

/* ---------- Left side panel (wide screens): section name + quick contact ---------- */
/* a dial that fills as you scroll, with the section number rolling inside it and the name written horizontally */
.side-left { position: fixed; left: 1.4rem; top: 50%; translate: 0 -50%; z-index: 120; display: none; flex-direction: column; align-items: center; gap: 0.7rem; width: 4.6rem; pointer-events: none; }
@media (min-width: 1380px) { .side-left { display: flex; } }
.sl-dial { position: relative; width: 3.9rem; height: 3.9rem; display: grid; place-items: center; border-radius: 50%; background: rgba(9, 14, 25, 0.72); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--line); }
.sl-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; fill: none; }
.sl-track { stroke: rgba(255, 255, 255, 0.12); stroke-width: 2; }
.sl-fill { stroke: var(--brass); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--sp, 0)); filter: drop-shadow(0 0 4px rgba(212, 176, 106, 0.7)); }
.sl-dial b { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--brass-2); line-height: 1; font-variant-numeric: tabular-nums; }
.sl-name { font-size: 0.82rem; font-weight: 800; color: var(--ink); padding: 0.28rem 0.7rem; border-radius: 999px; background: rgba(9, 14, 25, 0.72); border: 1px solid var(--line-2); white-space: nowrap; }
.sl-line { width: 1px; height: 3.4rem; background: linear-gradient(var(--brass), transparent); }
.side-left.is-flip b { animation: flipIn 0.55s var(--ease); }
.side-left.is-flip .sl-name { animation: flipUp 0.55s var(--ease); }
@keyframes flipIn { from { opacity: 0; transform: translateY(-60%) scale(0.7); } }
@keyframes flipUp { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Kinetic services band ---------- */
.marquee { --skew: 0deg; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; padding-block: 2rem; margin-block: 1rem 0; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(8, 33, 27, 0.55), rgba(9, 14, 25, 0.7) 45%, rgba(9, 14, 25, 0.7)); overflow: hidden; }
.marquee::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(212, 176, 106, 0.12), transparent 70%); pointer-events: none; }
.marquee-row { position: relative; display: flex; min-width: 0; overflow: hidden; transform: skewX(var(--skew)); transition: transform 0.6s var(--ease); will-change: transform; backface-visibility: hidden; }
.marquee-lane { display: flex; width: max-content; will-change: transform; backface-visibility: hidden; }
.marquee:hover .marquee-lane, .marquee:focus-within .marquee-lane { filter: brightness(1.03); }
.marquee-track { display: flex; align-items: center; flex: none; gap: 1.7rem; padding-right: 1.7rem; }
.mq-big, .mq-caps { -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
/* row 1 — large serif names, alternating solid / outline, with ringed icon badges */
.mq-big .mq-w { font-family: var(--serif); font-weight: 600; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.1; letter-spacing: -0.025em; white-space: nowrap; color: var(--ink); transition: color 0.35s, -webkit-text-stroke-color 0.35s, translate 0.4s var(--ease); cursor: default; }
.mq-big .mq-w:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px var(--brass); }
.mq-big .mq-w:hover { color: var(--brass-2); -webkit-text-stroke-color: transparent; translate: 0 -4px; }
.mq-ico { display: grid; place-items: center; flex: none; width: 3.4rem; height: 3.4rem; border-radius: 50%; font-size: 1.45rem; color: var(--brass-2); border: 1.5px solid transparent; background: linear-gradient(#0b1424, #0b1424) padding-box, conic-gradient(from var(--ang), var(--brass), rgba(212, 176, 106, 0.08) 40%, var(--brass-2) 70%, var(--brass)) border-box; box-shadow: 0 0 26px rgba(212, 176, 106, 0.18); }
/* row 2 — brass ribbon, tilted, with a travelling sheen */
.mq-ribbon { rotate: -1.3deg; scale: 1.04; padding-block: 0.85rem; background: linear-gradient(100deg, #a98446, #f1e0b8 38%, #d4b06a 62%, #a98446); box-shadow: 0 18px 50px -14px rgba(212, 176, 106, 0.5), 0 -1px 0 rgba(255, 255, 255, 0.5) inset; overflow: hidden; }
.mq-ribbon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%); transform: translateX(-120%); animation: lightSweep 6s ease-in-out infinite; pointer-events: none; }
.mq-ribbon .mq-w { font-family: var(--serif); font-weight: 600; font-style: italic; font-size: clamp(1.25rem, 2.3vw, 1.85rem); white-space: nowrap; color: #1b1306; }
.mq-star { flex: none; font-style: normal; font-size: 1.2rem; line-height: 1; color: #3b2a0c; display: inline-block; animation: spin 7s linear infinite; }
/* row 3 — photo capsules */
.mq-cap { display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.4rem 1.4rem 0.4rem 0.4rem; border-radius: 999px; white-space: nowrap; font-weight: 700; font-size: 1.05rem; color: var(--ink); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); transition: border-color 0.3s, background 0.3s, translate 0.4s var(--ease), color 0.3s; }
.mq-cap img { width: 3.1rem; height: 3.1rem; border-radius: 50%; object-fit: cover; transition: scale 0.5s var(--ease); }
.mq-cap:hover { border-color: var(--brass); background: rgba(212, 176, 106, 0.14); color: var(--brass-2); translate: 0 -4px; }
.mq-cap:hover img { scale: 1.15; }
@media (max-width: 640px) { .marquee { padding-block: 1.4rem; gap: 0.8rem; } .mq-ico { width: 2.6rem; height: 2.6rem; font-size: 1.15rem; } .mq-cap img { width: 2.6rem; height: 2.6rem; } .mq-cap { font-size: 0.95rem; } }
@media (prefers-reduced-motion: reduce) { .marquee-lane { transform: none !important; } }

/* ---------- Image reveal + card depth ---------- */
.js .g-item.reveal { clip-path: inset(9% 9% 9% 9% round 26px); transition: opacity 0.8s var(--ease) calc(var(--i, 0) * 70ms), transform 0.8s var(--ease) calc(var(--i, 0) * 70ms), clip-path 1.2s var(--ease) calc(var(--i, 0) * 70ms); }
.js .g-item.reveal.is-visible { clip-path: inset(0 round 26px); }
.bento, .aud-grid, .price-grid, .glance-grid, .steps { perspective: 1200px; }
.tilt { will-change: rotate; }
.about-visual { position: sticky; top: 7rem; align-self: start; }
.field input { text-overflow: ellipsis; }

/* ---------- FAQ photo ---------- */
.faq-photo { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.faq-photo:hover img { transform: scale(1.16); }
.faq-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6, 10, 18, 0.9)); }
.faq-photo figcaption { position: absolute; z-index: 2; left: 1.1rem; right: 1.1rem; bottom: 0.9rem; display: grid; gap: 0.15rem; }
.faq-photo strong { font-size: 1.08rem; font-weight: 800; }
.faq-photo span { font-size: 0.92rem; color: var(--ink-2); line-height: 1.45; }

/* ---------- Sticky price bar + back-to-top ring ---------- */
.cta-bar { position: fixed; left: 50%; bottom: 1.2rem; translate: -50% 160%; z-index: 270; display: flex; align-items: center; gap: 1rem; padding: 0.5rem 0.6rem 0.5rem 0.6rem; border-radius: 999px; background: rgba(9, 13, 22, 0.88); border: 1px solid rgba(212, 176, 106, 0.4); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 20px 50px -16px rgba(0, 0, 0, 0.9), 0 0 40px -18px rgba(212, 176, 106, 0.6); opacity: 0; pointer-events: none; transition: translate 0.8s var(--ease), opacity 0.5s; }
.cta-bar.is-on { translate: -50% 0; opacity: 1; pointer-events: auto; }
.cta-bar-ico { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brass-2), var(--brass-d)); color: #1b1306; font-size: 1.2rem; flex: none; }
.cta-bar p { line-height: 1.25; }
.cta-bar strong { display: block; font-size: 0.98rem; font-weight: 800; }
.cta-bar small { display: block; font-size: 0.84rem; color: var(--ink-2); font-weight: 500; }
.cta-bar-close { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; color: var(--mute); transition: background 0.3s, color 0.3s; }
.cta-bar-close:hover { background: var(--glass-2); color: var(--ink); }
.to-top { position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: calc(max(clamp(1rem, 2.5vw, 2rem), env(safe-area-inset-bottom)) + 4.5rem); z-index: 279; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: rgba(9, 13, 22, 0.78); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; translate: 0 12px; pointer-events: none; transition: opacity 0.4s, translate 0.5s var(--ease), background 0.3s, color 0.3s; }
.to-top.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }
.to-top:hover { background: var(--brass); color: #1b1306; }
.to-top svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.to-top-track { fill: none; stroke: var(--line-2); stroke-width: 2; }
.to-top-fill { fill: none; stroke: var(--brass); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
.to-top .ico { rotate: -45deg; }

/* floating buttons step aside while the enquiry form is on screen */
.wa-float { transition: transform 0.4s var(--ease), border-color 0.3s, opacity 0.4s, translate 0.5s var(--ease); }
.in-contact .wa-float, .in-contact .to-top, .at-top .wa-float { opacity: 0; translate: 0 24px; pointer-events: none; }

/* ---------- Built-by credit ---------- */
.built-by { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.4rem; margin-top: 2rem; padding: 0.9rem 1.3rem 0.9rem 0.9rem; border-radius: 26px; transition: transform 0.5s var(--ease), border-color 0.4s; }
.built-by:hover { transform: translateY(-4px); border-color: rgba(212, 176, 106, 0.5); }
.built-by img { width: 5.2rem; height: 5.6rem; object-fit: contain; border-radius: 16px; background: #000; border: 1px solid rgba(212, 176, 106, 0.25); }
.built-by-copy { display: grid; line-height: 1.3; }
.built-by-copy small { font-size: 0.88rem; color: var(--ink-2); font-weight: 600; }
.built-by-copy strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: var(--brass-2); letter-spacing: -0.01em; }
.built-by-copy span { font-size: 0.9rem; color: var(--mute); font-weight: 600; }
.built-by-cta { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1.2rem; border-radius: 999px; font-weight: 700; font-size: 0.95rem; color: #1b1306; background: linear-gradient(135deg, var(--brass-2), var(--brass) 55%, var(--brass-d)); box-shadow: 0 10px 30px -10px rgba(212, 176, 106, 0.6); transition: box-shadow 0.4s; white-space: nowrap; }
.built-by-cta b { font-weight: 800; }
.built-by-cta .ico { transition: transform 0.45s var(--ease); }
.built-by:hover .built-by-cta .ico { transform: translate(3px, -3px); }
.built-by:hover .built-by-cta { box-shadow: 0 16px 40px -8px rgba(212, 176, 106, 0.8); }
@media (max-width: 760px) { .built-by { grid-template-columns: auto 1fr; } .built-by-cta { grid-column: 1 / -1; justify-content: center; } }
@media (max-width: 900px) { .cta-bar { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1300px) { .nav-actions .btn-glass { display: none; } }
@media (max-width: 1100px) {
  .nav-links, .nav-actions .btn-glass { display: none; }
  .menu-button { display: block; }
  .nav-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 4.5rem; }
  .hero-stage { justify-self: center; max-width: min(500px, 100%); margin-top: 1rem; }
  .card-where { left: -3%; } .card-price { left: -3%; } .float-photo { right: -3%; }
  .glance-grid { grid-template-columns: repeat(2, 1fr); }
  .aud-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); } .steps::before, .steps::after { display: none; }
  .steps { margin-top: 4rem; row-gap: 5rem; } .step { opacity: 1; padding-top: 3.4rem; }
  .about-grid { grid-template-columns: 1fr; } .about-visual { max-width: 30rem; position: static; }
  .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; }
  .contact-card { grid-template-columns: 1fr; }
  .price-card.featured { grid-column: span 12; } .price-card.quote { grid-column: span 6; }
}
@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .svc-card, .svc-card:nth-child(-n + 2) { grid-column: span 1; }
  .svc-card.svc-wide { grid-column: span 2; grid-template-columns: 1fr; }
  .svc-wide .svc-photo { aspect-ratio: 16 / 9; min-height: 0; }
  .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 11rem; }
  .g-a, .g-b { grid-column: span 6; grid-row: span 2; } .g-c, .g-d { grid-column: span 3; grid-row: span 2; } .g-e, .g-f { grid-column: span 3; grid-row: span 1; }
  .sm-grid { grid-template-columns: 1fr; }
  .portrait-modal-grid { grid-template-columns: 1fr; } .portrait-modal-img { min-height: 18rem; max-height: 22rem; } .portrait-modal-img img { width: 70%; }
}
@media (max-width: 640px) {
  :root { --header-h: 76px; }
  body { font-size: 1.03rem; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: 1rem; }
  .brand-mark { width: 2.6rem; height: 2.6rem; }
  .nav-actions .btn { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero { min-height: 0; }
  .hero-stage { max-width: 100%; }
  .card-where small { display: none; } .card { padding: 0.5rem 0.9rem 0.5rem 0.5rem; } .card-ico { width: 2.1rem; height: 2.1rem; border-radius: 11px; } .card strong { font-size: 0.88rem; } .card-price strong { font-size: 1.2rem; }
  .card-where { left: -2%; top: 2%; } .card-price { left: -2%; bottom: 24%; } .float-photo { width: 30%; right: -2%; }
  .orb { width: 2.6rem; height: 2.6rem; margin: -1.3rem 0 0 -1.3rem; } .orb-in { font-size: 1.1rem; } .orb em { display: none; }
  .stage-name small { display: none; } .stage-name { padding-block: 0.5rem; left: 8%; right: 8%; }
  .plan-text text { font-size: 15px; }
  .glance { margin-top: -1rem; } .glance-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; } .svc-card, .svc-card.svc-wide { grid-column: span 1; }
  .aud-grid { grid-template-columns: 1fr; }
  .price-card.featured, .price-card.quote { grid-column: span 12; } .price-split { grid-template-columns: 1fr; } .price-card.featured { padding: 1.4rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 9.5rem; }
  .g-a, .g-b { grid-column: span 2; grid-row: span 2; } .g-c, .g-d, .g-e, .g-f { grid-column: span 1; grid-row: span 2; } .g-item figcaption { font-size: 1.15rem; left: 0.9rem; bottom: 0.8rem; }
  .steps { grid-template-columns: 1fr; } .step { min-height: 0; }
  .accordion summary { padding: 1rem; font-size: 1.02rem; } .q-ico { width: 2.3rem; height: 2.3rem; } .accordion details > div { padding: 0 1rem 1.2rem 1rem; }
  .row { grid-template-columns: 1fr; }
  .wa-float-text { display: none; } .wa-float { padding: 0.45rem; }
  .lightbox[open] { grid-template-columns: 1fr; } .lb-nav { position: absolute; z-index: 3; bottom: 1.5rem; } .lb-prev { left: 1.5rem; } .lb-next { right: 1.5rem; }
  .contact-card { border-radius: 28px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; }
  .js .reveal, .js .reveal-up { opacity: 1; transform: none; }
  .js [data-split] .w > span { transform: none; }
  .step { opacity: 1; transform: none; }
  .ambient b, .page-canvas { display: none; }
}
