/* Prestige Marble & Tile v2 — "backlit onyx". Tokens, base, slab, nav, hero. */
:root {
  --smoke: #15100c;      /* stone in shadow */
  --umber: #221911;      /* panels */
  --honey: #e3a55c;      /* backlit onyx */
  --ember: #b8662c;      /* deep band in the slab */
  --trav: #f1e7d8;       /* travertine, main text */
  --ash: #a89886;        /* quiet text */
  --line: rgba(227, 165, 92, .22);
  --display: 'Marcellus', 'Times New Roman', serif;
  --body: 'Hanken Grotesk', system-ui, sans-serif;
  --wrap: min(1240px, 100% - 2 * var(--gut));
  --gut: clamp(20px, 4.5vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --vh: 100vh;
}
@supports (height: 100lvh) { :root { --vh: 100lvh; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--smoke); }
html.smooth { scroll-behavior: auto; }
body {
  margin: 0; color: var(--trav); background: transparent;
  font: 400 1.0625rem/1.65 var(--body); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.06; letter-spacing: -.005em; }
h2 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
p { margin: 0; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--honey); color: var(--smoke); }
main, .foot { position: relative; z-index: 1; }

/* ---------- the slab: fixed background, no background-attachment (smooth on iOS) ---------- */
.slab { position: fixed; left: 0; top: 0; width: 100%; height: var(--vh); z-index: 0; overflow: hidden; background: var(--smoke); pointer-events: none; }
.slab-img {
  position: absolute; left: -5%; top: -5%; width: 110%; height: 110%; max-width: none;
  object-fit: cover; will-change: transform; transform: translate3d(0, 0, 0) scale(1);
}
.slab-light {
  position: absolute; left: 0; top: 0; width: 90vmax; height: 90vmax; margin: -45vmax 0 0 -45vmax;
  background: radial-gradient(circle, rgba(255, 205, 135, .34) 0, rgba(255, 175, 95, .14) 28%, rgba(255, 160, 80, 0) 60%);
  will-change: transform; transform: translate3d(70vw, 40vh, 0); opacity: 0; transition: opacity 1.2s var(--ease);
}
.fx.ready .slab-light { opacity: 1; }
.slab-shade { position: absolute; inset: 0; background: #0e0a07; opacity: .1; will-change: opacity; }
.slab::after { /* vignette, static */
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 60% 40%, transparent 40%, rgba(10, 7, 5, .7) 100%);
}

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; padding-top: env(safe-area-inset-top); transition: background .5s, transform .6s var(--ease); }
.nav.solid { background: rgba(21, 16, 12, .78); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.nav.away { transform: translateY(-105%); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; color: var(--honey); flex: none; }
.brand-name { font-family: var(--display); font-size: 1.3rem; letter-spacing: .02em; white-space: nowrap; }
.brand-name span { color: var(--ash); }
.links { display: flex; gap: 26px; }
.links a { text-decoration: none; font-size: .95rem; color: var(--ash); position: relative; padding: 6px 0; transition: color .3s; }
.links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--honey); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.links a:hover { color: var(--trav); }
.links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-call { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 18px; border: 1px solid var(--line); border-radius: 3px; white-space: nowrap; transition: border-color .3s, background .3s; }
.nav-call:hover { border-color: var(--honey); background: rgba(227, 165, 92, .08); }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:nth-child(2) { top: 26px; }
.nav.open .menu-btn span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 3px; font-weight: 600; font-size: 1rem; text-decoration: none; position: relative; overflow: hidden; isolation: isolate; transition: box-shadow .4s, border-color .3s, background .3s; }
.btn span { position: relative; z-index: 1; }
.btn-glow { color: #1e140c; background: linear-gradient(135deg, #f3c27c, #d98d45 60%, #c2702f); box-shadow: 0 10px 40px -12px rgba(227, 150, 70, .65); }
.btn-glow:hover { box-shadow: 0 14px 52px -10px rgba(240, 170, 90, .85); }
.btn-glow::before { /* light sweep */
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 250, 235, .7), transparent);
  transform: translateX(0) skewX(-18deg); transition: transform .9s var(--ease);
}
.btn-glow:hover::before { transform: translateX(420%) skewX(-18deg); }
.btn-ghost { border: 1px solid rgba(241, 231, 216, .35); background: rgba(21, 16, 12, .25); }
.btn-ghost:hover { border-color: var(--honey); background: rgba(227, 165, 92, .1); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 130px 0 0; }
.hero::before { /* keeps text legible on the brightest stone */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(14, 10, 7, .35) 0, transparent 28%, transparent 45%, rgba(14, 10, 7, .78) 100%),
              linear-gradient(90deg, rgba(14, 10, 7, .55) 0, transparent 65%);
}
.hero-place { color: var(--honey); font-weight: 500; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.7rem, 7.2vw, 7.4rem); line-height: .98; max-width: 15ch; text-shadow: 0 2px 40px rgba(10, 6, 3, .45); }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 38px; flex-wrap: wrap; }
.hero-sub { max-width: 46ch; color: #e6d9c6; font-size: 1.1rem; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.proof { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.proof div { padding: 22px 0 30px; }
.proof div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.proof dt { color: var(--ash); font-size: .88rem; }
.proof dd { margin: 4px 0 0; color: #dccdb8; font-size: .95rem; }
.proof b { font: 400 2.2rem/1 var(--display); color: var(--trav); margin-right: 8px; }
.scroll-cue { position: absolute; right: var(--gut); bottom: 150px; width: 26px; height: 44px; border: 1px solid rgba(241, 231, 216, .4); border-radius: 14px; }
.scroll-cue i { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--honey); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- shared section head ---------- */
.sec-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.sec-head p { color: var(--ash); max-width: 42ch; justify-self: end; }

/* ---------- watermark (remove at launch) ---------- */
.sbt-mark { position: fixed; right: 14px; bottom: 14px; z-index: 60; font: 600 .72rem/1 var(--body); color: rgba(241, 231, 216, .6); background: rgba(21, 16, 12, .6); padding: 7px 10px; border-radius: 3px; text-decoration: none; pointer-events: none; }

/* ---------- small screens ---------- */
@media (max-width: 1280px) { .scroll-cue { display: none; } }
@media (max-width: 980px) {
  .links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 0 var(--gut); background: #120d0a; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .links a { font: 400 2.4rem/1.25 var(--display); color: var(--trav); }
  .nav.open .links { opacity: 1; visibility: visible; }
  /* a backdrop-filter or transform on the bar would trap the fixed menu inside it */
  .nav.open { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; box-shadow: none; transform: none; }
  .menu-btn { display: block; }
  .nav-in { gap: 10px; height: 64px; }
  .sec-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; }
  .sec-head p { justify-self: start; }
}
@media (max-width: 720px) {
  .brand-name { font-size: 1.05rem; }
  .brand-name span { display: block; font-size: .78rem; font-family: var(--body); letter-spacing: .01em; margin-top: 2px; }
  .brand-mark { width: 32px; height: 32px; }
  .nav-call { font-size: .82rem; padding: 8px 10px; }
  .hero { padding-top: 110px; }
  .hero-foot { margin-top: 26px; gap: 26px; }
  .cta-row .btn { flex: 1 1 auto; }
  .proof { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .proof div { padding: 16px 0 18px; }
  .proof div + div { padding-left: 0; border-left: 0; }
  .proof div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .proof div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .proof b { font-size: 1.8rem; }
  .scroll-cue { display: none; }
}
@media (max-width: 360px) { .brand-mark { display: none; } }
