:root {
  --sg-ink: var(--wp--preset--color--ink, #14130f);
  --sg-charcoal: var(--wp--preset--color--charcoal, #211f19);
  --sg-gold: var(--wp--preset--color--gold, #c8a45a);
  --sg-light-gold: var(--wp--preset--color--light-gold, #e3cc91);
  --sg-cream: var(--wp--preset--color--cream, #f4efe4);
  --sg-sand: var(--wp--preset--color--sand, #d8ccb5);
  --sg-sage: var(--wp--preset--color--sage, #7d8a78);
  --sg-sage-light: var(--wp--preset--color--sage-light, #dfe4dc);
  --sg-terra: var(--wp--preset--color--terracotta, #a8664e);
  --sg-sand-light: var(--wp--preset--color--sand-light, #e5d9c7);
  --sg-radius: 26px;
  --sg-shadow: 0 24px 70px rgba(20, 19, 15, 0.12);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body.admin-bar .sg-site-header { top: 32px; }
:where(.wp-site-blocks) { padding: 0; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
[id] { scroll-margin-top: 110px; }

.sg-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 19, 15, 0.95);
  border-bottom: 1px solid rgba(200, 164, 90, 0.28);
  backdrop-filter: blur(14px);
}
.sg-header-inner {
  min-height: 86px;
  padding: 0.8rem clamp(1.1rem, 4vw, 3.75rem);
}
.sg-site-header .custom-logo { width: min(290px, 58vw); height: auto; }
.sg-site-header .wp-block-site-logo { margin: 0; line-height: 0; }
.sg-site-header .wp-block-navigation-item__content { color: var(--sg-cream); }
.sg-site-header .wp-block-navigation-item__content:hover { color: var(--sg-light-gold); }
.sg-site-header .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--sg-ink);
  color: var(--sg-cream);
  padding: 2rem;
}
.sg-header-cta .wp-block-button__link,
.sg-button-primary .wp-block-button__link {
  background: var(--sg-gold);
  color: var(--sg-ink);
  border: 1px solid var(--sg-gold);
}
.sg-header-cta .wp-block-button__link:hover,
.sg-button-primary .wp-block-button__link:hover {
  background: var(--sg-light-gold);
  border-color: var(--sg-light-gold);
  color: var(--sg-ink);
}
.sg-button-secondary .wp-block-button__link {
  background: transparent;
  color: currentColor;
  border: 1px solid currentColor;
}
.sg-button-secondary .wp-block-button__link:hover {
  background: rgba(255,255,255,.08);
}

.sg-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 86px);
  color: var(--sg-cream);
  background:
    radial-gradient(circle at 15% 10%, rgba(200,164,90,.17), transparent 35%),
    linear-gradient(135deg, #14130f 0%, #1f1d17 100%);
  padding: clamp(4rem, 8vw, 8rem) clamp(1.1rem, 4vw, 3.75rem);
}
.sg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(200,164,90,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,164,90,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent 0, #000 45%, #000 100%);
}
.sg-hero > * { position: relative; z-index: 1; }
.sg-hero-grid { gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.sg-eyebrow {
  margin-bottom: 1rem;
  color: var(--sg-gold);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.sg-display {
  max-width: 850px;
  margin: 0 0 1.4rem;
  font-size: clamp(3.5rem, 7vw, 7.4rem);
  line-height: .94;
  letter-spacing: -.045em;
}
.sg-display .sg-accent { color: var(--sg-gold); }
.sg-hero-kicker { margin: 0 0 1.2rem; font-size: clamp(1.2rem, 2vw, 1.65rem); color: var(--sg-light-gold); }
.sg-hero-copy { max-width: 720px; color: rgba(244,239,228,.82); font-size: 1.08rem; }
.sg-hero-visual img,
.sg-offer-visual img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  border-radius: var(--sg-radius);
  box-shadow: 0 34px 95px rgba(0,0,0,.35);
}
.sg-hero-visual { position: relative; }
.sg-hero-visual::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(227,204,145,.45);
  border-radius: var(--sg-radius);
  z-index: -1;
}

.sg-paths {
  background: var(--sg-charcoal);
  color: var(--sg-cream);
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1.1rem, 4vw, 3.75rem);
}
.sg-paths-intro { max-width: 760px; margin-bottom: 2.5rem; }
.sg-path-grid { gap: 1rem; }
.sg-path-card {
  height: 100%;
  min-height: 260px;
  padding: 1.5rem;
  border: 1px solid rgba(200,164,90,.38);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.sg-path-card:hover { transform: translateY(-4px); border-color: var(--sg-light-gold); background: rgba(255,255,255,.065); }
.sg-path-number { color: var(--sg-gold); font-size: .78rem; letter-spacing: .18em; }
.sg-path-card h3 { margin-top: auto; font-size: clamp(1.9rem, 2.8vw, 2.8rem); }
.sg-path-card p { color: rgba(244,239,228,.75); }
.sg-path-card .wp-block-button { margin-top: auto; }
.sg-path-card .wp-block-button__link { padding: 0; background: transparent; color: var(--sg-light-gold); }
.sg-path-card .wp-block-button__link::after { content: "  →"; }

.sg-offer {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 9rem) clamp(1.1rem, 4vw, 3.75rem);
}
.sg-offer--light { background: var(--sg-cream); color: var(--sg-ink); }
.sg-offer--dark { background: var(--sg-ink); color: var(--sg-cream); }
.sg-offer--sage { background: var(--sg-sage-light); color: var(--sg-ink); }
.sg-offer--sand { background: var(--sg-sand-light); color: var(--sg-ink); }
.sg-offer-grid { gap: clamp(2.4rem, 7vw, 7rem); align-items: center; }
.sg-offer h2 { max-width: 850px; margin-top: 0; font-size: clamp(2.7rem, 5vw, 5.4rem); letter-spacing: -.035em; }
.sg-offer-lead { font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: var(--sg-terra); }
.sg-offer--dark .sg-offer-lead { color: var(--sg-light-gold); }
.sg-benefit-lines { margin: 1.8rem 0 2rem; border-top: 1px solid rgba(20,19,15,.18); }
.sg-offer--dark .sg-benefit-lines { border-color: rgba(244,239,228,.18); }
.sg-benefit-line {
  margin: 0;
  padding: .72rem 0;
  border-bottom: 1px solid rgba(20,19,15,.18);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.25rem, 2.1vw, 1.9rem);
}
.sg-offer--dark .sg-benefit-line { border-color: rgba(244,239,228,.18); }
.sg-feature-grid { gap: 1rem; margin-top: 2.2rem; }
.sg-feature-card {
  height: 100%;
  padding: 1.2rem 1.3rem;
  border-top: 2px solid var(--sg-gold);
  background: rgba(255,255,255,.42);
}
.sg-offer--dark .sg-feature-card { background: rgba(255,255,255,.045); }
.sg-feature-card h4 { margin: 0 0 .4rem; font-family: inherit; font-size: 1rem; font-weight: 750; }
.sg-feature-card p { margin: 0; font-size: .94rem; opacity: .8; }
.sg-offer-actions { margin-top: 2.4rem; }

.sg-contact {
  color: var(--sg-cream);
  background:
    radial-gradient(circle at 85% 20%, rgba(200,164,90,.22), transparent 28%),
    var(--sg-charcoal);
  padding: clamp(4rem, 8vw, 8rem) clamp(1.1rem, 4vw, 3.75rem);
}
.sg-contact-inner { max-width: 980px; }
.sg-contact h2 { font-size: clamp(3rem, 6vw, 6rem); }
.sg-contact-copy { max-width: 760px; color: rgba(244,239,228,.78); font-size: 1.1rem; }
.sg-contact-links { gap: 1rem; margin-top: 2rem; }
.sg-contact-card {
  min-height: 150px;
  padding: 1.5rem;
  border: 1px solid rgba(200,164,90,.4);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
}
.sg-contact-label { margin-bottom: .35rem; color: var(--sg-gold); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sg-contact-value { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.35rem, 2.5vw, 2rem); }

.sg-site-footer { background: var(--sg-ink); color: rgba(244,239,228,.72); border-top: 1px solid rgba(200,164,90,.25); }
.sg-footer-inner { padding: 2.5rem clamp(1.1rem, 4vw, 3.75rem); }
.sg-site-footer .custom-logo { width: min(260px, 65vw); height: auto; }
.sg-footer-links a { color: var(--sg-cream); }
.sg-footer-meta { padding-top: 1.5rem; border-top: 1px solid rgba(244,239,228,.12); font-size: .83rem; }

.sg-page-shell { min-height: 70vh; padding: clamp(3.5rem, 7vw, 7rem) clamp(1.1rem, 4vw, 3.75rem); }
.sg-page-shell > .wp-block-post-title,
.sg-page-shell > .wp-block-post-content { max-width: 900px; margin-left: auto; margin-right: auto; }
.sg-page-shell > .wp-block-post-title { font-size: clamp(3rem, 6vw, 5.8rem); }
.sg-legal-content h2 { margin-top: 2.8rem; font-size: clamp(1.7rem, 3vw, 2.45rem); }
.sg-legal-content h3 { margin-top: 2rem; font-family: inherit; font-size: 1.15rem; font-weight: 750; }
.sg-legal-note { padding: 1.1rem 1.3rem; border-left: 4px solid var(--sg-terra); background: rgba(168,102,78,.1); }

@media (max-width: 1024px) {
  .sg-header-cta { display: none; }
  .sg-hero { min-height: auto; }
  .sg-hero-grid, .sg-offer-grid { flex-wrap: wrap !important; }
  .sg-hero-grid > .wp-block-column,
  .sg-offer-grid > .wp-block-column { flex-basis: 100% !important; }
  .sg-offer-grid.sg-reverse-mobile { flex-direction: column-reverse; }
}
@media (max-width: 781px) {
  body.admin-bar .sg-site-header { top: 46px; }
  .sg-header-inner { min-height: 72px; }
  .sg-display { font-size: clamp(3.1rem, 16vw, 5.2rem); }
  .sg-hero-visual::after { inset: 10px -10px -10px 10px; }
  .sg-path-grid, .sg-feature-grid, .sg-contact-links { display: block; }
  .sg-path-card, .sg-feature-card, .sg-contact-card { margin-bottom: 1rem; }
  .sg-offer { padding-top: 4rem; padding-bottom: 4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
