/* ===========================================================
   Gabbro Property Care
   Restrained palette: cream canvas, navy ink, one gold accent.
   =========================================================== */

:root {
  --navy-900: #051523;
  --navy-800: #0f2438;
  --navy-700: #1c3a55;
  --gold:     #ae9670;
  --gold-lo:  #c4ab80;
  --cream:    #fbf8f6;
  --cream-2:  #f4efe9;
  --ink:      #0a1c2d;
  --ink-60:   rgba(10, 28, 45, 0.66);
  --ink-40:   rgba(10, 28, 45, 0.42);
  --line:     rgba(10, 28, 45, 0.12);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1140px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

a { color: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy-800); color: var(--cream);
  padding: 0.6rem 1rem; z-index: 200; border-radius: 0 0 4px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ---------- Eyebrows + headings ---------- */
.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 1rem;
}
.eyebrow-light { color: var(--gold-lo); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
}

.rule {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent);
  opacity: 0.55;
  margin: 2.25rem auto;
  width: min(420px, 80%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.6rem;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.875rem; }
.btn-primary { background: var(--navy-800); color: var(--cream); }
.btn-primary:hover { background: var(--navy-900); color: var(--cream); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--navy-900); transform: translateY(-2px); }
/* Hero sits over a photo: give the secondary button a solid cream fill so it stays legible. */
.hero .btn-ghost {
  background: var(--cream);
  color: var(--navy-900);
  border-color: rgba(174, 150, 112, 0.55);
  box-shadow: 0 8px 24px -16px rgba(5, 21, 35, 0.45);
}
.hero .btn-ghost:hover {
  background: #fefdfc;
  border-color: var(--gold);
  color: var(--navy-900);
  transform: translateY(-2px);
}
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-lo); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: var(--cream); border-color: rgba(251,248,246,0.4); }
.btn-outline-light:hover { border-color: var(--gold-lo); color: var(--gold-lo); transform: translateY(-2px); }

.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: inherit; text-decoration: underline;
  text-underline-offset: 3px; text-decoration-color: var(--gold);
}
.link-btn:hover { color: var(--gold-lo); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 246, 0.86);
  backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }

.brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; gap: 0.18rem; }
.brand-name {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.45rem; letter-spacing: 0.02em; color: var(--navy-900);
}
.brand-sub {
  font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}

.nav { margin-left: auto; display: flex; gap: 1.75rem; }
.nav a {
  text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--ink-60);
  position: relative; padding: 0.25rem 0;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav a:hover { color: var(--navy-900); }
.nav a:hover::after { width: 100%; }
.header-inner .btn { flex: none; }

/* ---------- Hero (full-bleed photo/video) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(94vh, 940px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(4rem, 9vw, 7rem);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img, .hero-bg video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 58%;
  display: block;
}
/* cream scrim: solid under the header, fading into the photo, then cream again at the foot
   so the hero melts seamlessly into the cream services section below. */
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg,
      var(--cream) 0%,
      rgba(251, 248, 246, 0.85) 8%,
      rgba(251, 248, 246, 0.66) 22%,
      rgba(251, 248, 246, 0.62) 38%,
      rgba(251, 248, 246, 0.56) 50%,
      rgba(251, 248, 246, 0.48) 60%,
      rgba(251, 248, 246, 0.34) 68%,
      rgba(251, 248, 246, 0.16) 77%,
      rgba(251, 248, 246, 0.03) 85%,
      rgba(251, 248, 246, 0.00) 90%,
      rgba(251, 248, 246, 0.38) 96%,
      var(--cream) 100%);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; position: relative; }
.hero-crest {
  width: clamp(168px, 30vw, 270px); height: auto; margin-bottom: 1.1rem;
}
.hero .eyebrow { margin-top: 0.25rem; }
.hero .eyebrow-plate {
  display: flex; align-items: center; justify-content: center; gap: clamp(0.6rem, 2vw, 1rem);
  color: var(--navy-900);
}
.hero .eyebrow-plate span { color: inherit; }
.hero .eyebrow-plate::before,
.hero .eyebrow-plate::after {
  content: ""; height: 1px; flex: 0 0 auto; width: clamp(26px, 7vw, 62px);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero .eyebrow-plate::after { transform: scaleX(-1); }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.1rem, 1.2rem + 4vw, 4rem);
  line-height: 1.06; letter-spacing: -0.02em; margin: 0;
  color: var(--navy-900);
}
.hero-lede {
  max-width: 38ch; margin: 1.5rem auto 0;
  color: var(--ink); font-size: 1.075rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

/* ---------- Services ---------- */
.services { padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 7vw, 6rem); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-lede { margin: 1.25rem 0 0; max-width: 56ch; color: var(--ink-60); font-size: 1.075rem; }

.svc {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gut);
}
.svc + .svc { border-top: 1px solid var(--line); }
.svc-rev .svc-media { order: 2; }

.svc-media { margin: 0; overflow: hidden; border-radius: 4px; }
.svc-media img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10;
  transition: transform 1.1s var(--ease);
}
.svc:hover .svc-media img { transform: scale(1.04); }

.svc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; }
.svc-body h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.55rem, 1rem + 1.6vw, 2.1rem); line-height: 1;
  margin: 0; color: var(--navy-900); letter-spacing: -0.01em;
}
.price {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.3rem; color: var(--gold); margin: 0; white-space: nowrap;
}
.price span { font-size: 0.8rem; font-style: normal; color: var(--ink-40); }
.svc-body p { margin: 0 0 0.75rem; color: var(--ink-60); }
.fine { font-size: 0.9rem; color: var(--ink-40); }

.price-list { list-style: none; margin: 1.25rem 0 0; padding: 0.5rem 0 0; border-top: 1px solid var(--line); }
.price-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.5rem 0; font-size: 0.95rem;
}
.price-list li + li { border-top: 1px dashed var(--line); }
.price-list span { color: var(--ink-60); }
.price-list b { font-family: var(--serif); font-weight: 500; color: var(--navy-900); }

/* before / after */
.ba { margin: 1.5rem 0 0; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.ba-pair span { position: relative; display: block; border-radius: 4px; overflow: hidden; }
.ba-pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ba-pair em {
  position: absolute; left: 0.55rem; bottom: 0.55rem;
  font-style: normal; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(15,36,56,0.86); color: var(--cream); padding: 0.28rem 0.55rem; border-radius: 2px;
}
.ba figcaption { margin-top: 0.7rem; font-size: 0.82rem; color: var(--ink-40); }

/* ---------- About ---------- */
.about { background: var(--cream-2); padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.about-inner { max-width: 680px; }
.about-inner .section-title { margin-bottom: 1.5rem; }
.about-inner p { color: var(--ink-60); font-size: 1.075rem; margin: 0 0 1.1rem; }

/* ---------- Referral ---------- */
.referral .about-inner { max-width: 640px; margin-inline: auto; text-align: center; }
.referral p strong { color: var(--navy-900); font-weight: 600; }
.refer-note { font-style: italic; color: var(--gold); font-size: 0.98rem; margin-top: 0.9rem; }
.refer-cta { justify-content: center; margin-top: 1.75rem; }

/* ---------- Summer Gold ---------- */
.summer {
  position: relative;
  text-align: center;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background:
    radial-gradient(120% 130% at 50% -10%, var(--gold-lo) 0%, var(--gold) 46%, #9c855f 100%);
  color: var(--navy-900);
}
.summer::before,
.summer::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: rgba(5, 21, 35, 0.16);
}
.summer::before { top: 0; }
.summer::after { bottom: 0; }
.summer-inner { max-width: 640px; margin-inline: auto; }
.summer-crest {
  width: clamp(120px, 22vw, 168px); height: auto; margin: 0 auto 1.25rem;
  filter: drop-shadow(0 12px 26px rgba(5, 21, 35, 0.22));
}
.summer-eyebrow { color: var(--navy-800); }
.summer .section-title { color: var(--navy-900); }
.summer-lede {
  margin: 1.25rem auto 0; max-width: 52ch;
  color: rgba(10, 28, 45, 0.78); font-size: 1.075rem;
}
.summer-cta { justify-content: center; margin-top: 1.9rem; }
.summer .btn-ghost { border-color: rgba(5, 21, 35, 0.32); color: var(--navy-900); }
.summer .btn-ghost:hover { border-color: var(--navy-900); background: rgba(255,255,255,0.14); }

/* ---------- Booking ---------- */
.book { background: var(--navy-800); color: var(--cream); padding: clamp(3.5rem, 8vw, 6rem) 0; }
.book-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.book .section-title { color: var(--cream); margin-bottom: 1.1rem; }
.book-copy p { color: rgba(251,248,246,0.72); margin: 0 0 1.75rem; max-width: 34ch; }
.book-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.book-widget {
  background: var(--cream); border-radius: 6px; overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(5, 21, 35, 0.55);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--cream); }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem;
  align-items: center; justify-content: space-between;
  padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: 1.75rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.2rem; line-height: 1; }
.footer-name { color: var(--cream); }
.footer-sub { color: var(--gold-lo); }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.footer-meta a, .footer-meta span, .footer-meta .link-btn { color: rgba(251,248,246,0.8); text-decoration: none; font-size: 0.95rem; }
.footer-meta a:hover, .footer-meta .link-btn:hover { color: var(--gold-lo); }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
  padding-top: 1.5rem; padding-bottom: 2rem;
  border-top: 1px solid rgba(251,248,246,0.12);
  font-size: 0.82rem; color: rgba(251,248,246,0.5);
}
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: var(--gold-lo); }

/* ---------- Reveal on scroll ----------
   Only hidden when JS is available (html.js); without JS, content shows normally. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .svc-media img, .btn { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .svc, .book-inner { grid-template-columns: 1fr; }
  .svc-rev .svc-media { order: 0; }
  .svc-media img { aspect-ratio: 16 / 10; }
  .book-widget { order: 2; }
}
@media (max-width: 620px) {
  .nav { display: none; }
  .header-inner { gap: 1rem; }
  .brand { margin-right: auto; }
  .calendly-inline-widget { height: 560px !important; }
  .ba-pair img { aspect-ratio: 4 / 5; }
}
