/* =============================================================
   StoneBridge Media Group — Design System
   Premium editorial dark foundation, gold accents.
   Organized: Tokens · Reset · Type · Layout · Components · Nav · Footer
   ============================================================= */

/* ---------- Fonts ---------- */
/* Fraunces (editorial display) + Inter (UI/body) loaded in <head>.
   Fraunces evokes the PP Editorial New luxury feel; Georgia is the
   graceful fallback should web fonts fail to load. */

/* ---------- Tokens ---------- */
:root {
  /* Ink / dark surfaces */
  --ink-990: #08080a;
  --ink-950: #0a0a0c;
  --ink-900: #0e0e11;
  --ink-860: #131317;
  --ink-820: #17171c;
  --ink-780: #1d1d23;
  --ink-700: #26262d;

  /* Paper / light surfaces */
  --paper:   #f5f2ec;
  --paper-2: #ebe6dc;
  --paper-3: #ddd6c8;

  /* Text */
  --white:   #ffffff;
  --cloud:   #ece9e3;
  --fog:     rgba(255,255,255,0.64);
  --fog-2:   rgba(255,255,255,0.44);
  --fog-3:   rgba(255,255,255,0.26);
  --ink-fog: rgba(18,16,14,0.64);
  --ink-fog-2: rgba(18,16,14,0.46);

  /* Gold */
  --gold:      #c7a35b;
  --gold-soft: #ddc088;
  --gold-deep: #9b7a39;
  --gold-glow: rgba(199,163,91,0.16);

  /* Lines */
  --line:      rgba(255,255,255,0.10);
  --line-2:    rgba(255,255,255,0.055);
  --line-dark: rgba(18,16,14,0.12);

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Layout */
  --maxw: 1240px;
  --maxw-narrow: 920px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Type families */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Fluid type scale */
  --fs-mega:  clamp(2.9rem, 1.6rem + 6.0vw, 6.6rem);
  --fs-h1:    clamp(2.4rem, 1.5rem + 3.9vw, 4.6rem);
  --fs-h2:    clamp(2.0rem, 1.4rem + 2.6vw, 3.4rem);
  --fs-h3:    clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem);
  --fs-h4:    clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  --fs-lead:  clamp(1.08rem, 1rem + 0.5vw, 1.32rem);
  --fs-body:  1.02rem;
  --fs-sm:    0.9rem;
  --fs-xs:    0.78rem;
  --fs-label: 0.72rem;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.55s;

  --shadow-soft: 0 24px 60px -24px rgba(0,0,0,0.55);
  --shadow-float: 0 40px 90px -30px rgba(0,0,0,0.7);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--cloud);
  background: var(--ink-950);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--gold); color: var(--ink-950); }

/* ---------- Grain overlay ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 420;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--white);
  font-optical-sizing: auto;
}
.display-mega { font-size: var(--fs-mega); line-height: 0.98; letter-spacing: -0.03em; }
h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); }
h4, .h4 { font-size: var(--fs-h4); }

.serif-i { font-style: italic; }
.gold { color: var(--gold); }
em.accent, .accent-i {
  font-style: italic;
  color: var(--gold-soft);
}


/* PP Editorial New upright Ultrabold headline accents. */
@font-face {
  font-family: "PP Editorial New";
  src: url("../assets/fonts/PPEditorialNew-Ultrabold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Headline accents only; retain their existing colors, sizes and spacing. */
#main > section :is(h1, h2, h3, h4, h5, h6) :is(.accent-i, em.accent) {
  font-family: "PP Editorial New", var(--font-display);
  font-weight: 800;
  font-style: normal;
  font-synthesis: none;
}

p { color: var(--fog); max-width: 62ch; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--cloud); }

/* Section eyebrow label: 01 — SECTION NAME */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow .num { color: var(--fog-2); font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--maxw-narrow); }

section { position: relative; }
.section-pad { padding-block: clamp(72px, 10vw, 160px); }
.section-pad-sm { padding-block: clamp(56px, 7vw, 104px); }

.surface-dark  { background: var(--ink-950); }
.surface-dark2 { background: var(--ink-900); }
.surface-ink   { background: var(--ink-990); }
.surface-paper { background: var(--paper); color: var(--ink-950); }
.surface-paper h1, .surface-paper h2, .surface-paper h3, .surface-paper h4 { color: #141210; }
.surface-paper p { color: var(--ink-fog); }
.surface-paper .lead { color: rgba(18,16,14,0.8); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .lead { margin-top: 1.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.hairline { height: 1px; background: var(--line); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 560;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.6rem;
  border-radius: var(--r-pill);
  transition: transform var(--dur) var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #1b1405;
  box-shadow: 0 10px 30px -12px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-gold:hover { box-shadow: 0 18px 40px -14px rgba(199,163,91,0.45), inset 0 1px 0 rgba(255,255,255,0.5); }

.btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--white);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.22); }

.btn-outline-dark {
  color: #1b1405;
  border: 1px solid rgba(18,16,14,0.22);
}
.btn-outline-dark:hover { background: rgba(18,16,14,0.05); border-color: rgba(18,16,14,0.4); }

.btn-lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn-arrow svg { transition: transform .4s var(--ease); }
.btn-arrow:hover svg { transform: translateX(4px); }

/* Text link with underline draw */
.link-underline {
  position: relative;
  color: var(--white);
  font-weight: 520;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); }

/* ---------- Chips / tags ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 560;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--fog);
  background: rgba(255,255,255,0.02);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.chip.live .dot { animation: pulse 2s var(--ease-soft) infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.4;transform:scale(0.7);} }

/* =============================================================
   Navigation
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,12,0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line-2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.nav .brand, .lp-header .brand { flex-shrink: 0; }
.nav .brand-name, .lp-header .brand-name { white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--white);
}
.brand-name b { font-weight: 500; }
.brand-name .mg { color: var(--fog-2); }

.nav-links { display: flex; align-items: center; gap: 0.3rem; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 480;
  color: var(--fog);
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-sm);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.04); }

.nav-cta { display: flex; align-items: center; gap: 0.8rem; }
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}
.nav-burger span {
  position: relative;
  width: 18px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .4s var(--ease);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
body.menu-open .nav-burger span { background: transparent; }
body.menu-open .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-burger span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--ink-990);
  padding: 96px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .5s var(--ease), opacity .4s var(--ease), visibility .5s;
  overflow-y: auto;
}
body.menu-open .mobile-menu { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a.m-link {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 9vw, 2.6rem);
  font-weight: 420;
  color: var(--cloud);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu a.m-link .mi { color: var(--fog-3); font-family: var(--font-sans); font-size: 0.85rem; }
.mobile-menu .m-foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 1rem; }

/* =============================================================
   Footer
   ============================================================= */
.footer { background: var(--ink-990); border-top: 1px solid var(--line-2); padding-block: clamp(56px, 7vw, 96px) 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-2);
}
.footer h5 {
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fog-3);
  margin-bottom: 1.2rem;
}
.footer-links { display: grid; gap: 0.7rem; }
.footer-links a { color: var(--fog); font-size: 0.95rem; transition: color .3s; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-brand p { margin-top: 1.2rem; font-size: 0.95rem; max-width: 34ch; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  color: var(--fog-3);
  font-size: var(--fs-sm);
}
.footer-consent { max-width: 70ch; font-size: var(--fs-xs); color: var(--fog-3); margin-top: 1.5rem; line-height: 1.7; }

/* =============================================================
   Scroll reveal
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Responsive booking-CTA label (shared by homepage nav + offer header) */
.nb-short { display: none; }

/* =============================================================
   Responsive nav breakpoint
   ============================================================= */
@media (max-width: 960px) {
  .footer-brand .btn { white-space: normal; max-width: 100%; }
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: inline-flex; }
}
/* Compact, uncrowded mobile header */
@media (max-width: 560px) {
  .nav-inner { height: 64px; gap: 0.75rem; }
  .nav-cta { gap: 0.55rem; }
  .brand-name .mg { display: none; }
  .brand-name { font-size: 1.02rem; }
  .nb-full { display: none; }
  .nb-short { display: inline; }
  .nav-cta .btn-gold { padding: 0.62rem 1.05rem; font-size: 0.86rem; }
  .nav-burger { width: 40px; height: 40px; }
}

/* Owner-approved business contact details; existing design and typefaces retained. */
.business-contact-section { padding-block: 28px; border-top: 1px solid var(--line-2); }
.business-contact-heading { font-size: 1.25rem; line-height: 1.35; margin-bottom: .85rem; }
.business-contact { font-style: normal; font-size: .9rem; line-height: 1.8; color: var(--fog-2); overflow-wrap: anywhere; }
.business-contact strong { color: var(--cloud); font-weight: 600; }
.business-contact a { color: var(--fog); text-underline-offset: 3px; }
.business-contact--footer { margin-bottom: 1.25rem; }
