/* ================================================================
   HOUND & HEIR — SHARED STYLESHEET
   houndandheir.com.au

   HOW TO EDIT COLOURS:
   All colours are in the :root block below.
   Change a value there and it updates across the entire site.

   LIGHT vs DARK SECTIONS:
   - Default sections have a warm off-white background with dark text
   - Add class="bg-dark" to a section for navy background with light text
   - The nav and footer are always navy
================================================================ */


/* ────────────────────────────────────────
   1. DESIGN TOKENS
──────────────────────────────────────── */
:root {
  /* ═══════════════════════════════════════
     BRAND PALETTE — from brand board
     Three colours only. Keep it this way.
     ═══════════════════════════════════════ */

  /* Navy — two shades maximum */
  --navy:    #0d0d0d;   /* Brand navy — ALL dark backgrounds */
  --navy-lt: #161616;   /* One lighter navy — cards within dark sections */

  /* Gold — two shades maximum */
  --gold:    #B79864;   /* Brand gold — buttons, labels, borders */
  --gold-lt: #d4b080;   /* Lighter gold — headings on dark backgrounds */

  /* Cream — one shade, exact from brand board */
  --cream:   #F7E7CE;   /* Brand cream — light bg AND text on dark */

  /* ── Text colours ── */
  --text-dark:    #1a1208;   /* Headings on cream */
  --text-body:    #3d3025;   /* Body text on cream */
  --text-muted:   #6b5840;   /* Secondary text on cream */
  --text-on-dark: #e8d8bc;   /* Body text on navy */
  --text-dim:     #c0ae92;   /* Muted text on navy */

  /* ── Legacy aliases so existing page CSS keeps working ── */
  --navy-dk:      var(--navy);
  --navy-md:      var(--navy-lt);
  --dark-card:    var(--navy-lt);
  --gold-dk:      #9a7a4a;
  --white:        var(--cream);
  --muted:        var(--text-dim);
  --border:       rgba(183,152,100,0.20);
  --light-bg:     #F5F4F0;      /* Off-white — light section backgrounds */
  --light-bg-alt: #ECECEA;
  --light-text:   var(--text-dark);
  --light-body:   var(--text-body);
  --light-muted:  var(--text-muted);
  --light-card:   #ffffff;
  --light-border: rgba(183,152,100,0.22);

  /* ── Fonts — from brand board ── */
  --font-heading: 'Playfair Display', serif;
  --font-body:    'Syne', sans-serif;

  --nav-h: 120px;
}


/* ────────────────────────────────────────
   2. RESET & BASE
──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--light-bg);
  color: var(--light-body);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; cursor: url('images/cursor-paw-press.png') 32 32, pointer; }

/* Paw cursor on all interactive elements sitewide */
a:hover,
button,
button:hover,
input[type="submit"],
input[type="submit"]:hover,
label[for],
[role="button"],
.nav-links a,
.nav-links a:hover,
.nav-cta-steam,
.nav-cta-steam:hover,
.footer-col a,
.footer-col a:hover,
.footer-bottom a,
.footer-bottom a:hover {
  cursor: url('images/cursor-paw-press.png') 32 32, pointer;
}


/* ────────────────────────────────────────
   3. DARK SECTION OVERRIDE
   Add class="bg-dark" to any section for
   navy background with light text
──────────────────────────────────────── */
.bg-dark {
  background: var(--navy);
  color: var(--cream);
}


/* ────────────────────────────────────────
   4. NAVIGATION — always navy
──────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  background-image: url('../images/nav-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(183,152,100,0.2);
  transition: height 0.4s ease, transform 0.4s ease, border-color 0.4s, box-shadow 0.4s;
}

nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  z-index: 0;
}

nav > * { position: relative; z-index: 1; }

nav.scrolled {
  box-shadow: 0 1px 0 rgba(183,152,100,0.2);
  border-bottom-color: rgba(183,152,100,0.2);
}

/* Interior pages — always fully opaque nav */
nav.solid {
  box-shadow: 0 1px 0 var(--border);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.nav-logo img {
  width: 106px;
  height: 106px;
  transition: width 0.4s ease, height 0.4s ease;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1.2;
  transition: font-size 0.4s ease, opacity 0.4s ease;
}

.nav-logo-text small {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.7);
  font-family: 'Syne', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  transition: font-size 0.4s ease, opacity 0.4s ease;
}

/* Shrunk state — applied by JS on scroll down */
nav.shrunk {
  height: 70px;
}

nav.shrunk .nav-logo img {
  width: 56px;
  height: 56px;
}

nav.shrunk .nav-logo-text {
  font-size: 0.9rem;
}

nav.shrunk .nav-logo-text small {
  font-size: 0.5rem;
}

/* Hidden state — slides up on scroll down (alternative) */
nav.hidden-nav {
  transform: translateY(-100%);
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-links a:hover,
.nav-links a.active { color: #ffffff; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-links .btn-nav {
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  transition: all 0.3s !important;
}

.nav-links .btn-nav::after { display: block; }
.nav-links .btn-nav:hover { background: transparent; color: var(--cream) !important; }

/* Hamburger */
/* ── Creative hamburger ──
   Three gold lines: full / short (golden ratio) / full
   On open they morph into a clean × */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  cursor: url('images/cursor-paw-press.png') 32 32, pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  justify-content: center;
  position: relative;
  z-index: 502;
  background: transparent;
  border: none;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--gold);
  border-radius: 1px;
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              opacity   0.3s ease,
              width     0.35s ease;
}

.nav-toggle span:nth-child(1) { width: 26px; }
.nav-toggle span:nth-child(2) { width: 16px; } /* golden ratio short */
.nav-toggle span:nth-child(3) { width: 26px; }

/* Open state — morph to × */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  width: 22px;
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  width: 22px;
}

/* ── Slide-in panel (replaces dropdown) ── */
.nav-links.open {
  transform: translateX(0) !important;
  background: #0d0d0d !important;
}

/* ── Overlay behind panel ── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 18, 36, 0.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 497;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-overlay.visible {
  opacity: 1;
  pointer-events: all;
}


/* ────────────────────────────────────────
   5. BUTTONS
──────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.4rem;
  transition: all 0.3s;
  cursor: url('images/cursor-paw-press.png') 32 32, pointer;
  border: none;
}

/* Gold filled — works on both light and dark */
.btn-primary {
  background: var(--gold);
  color: var(--navy-dk);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

/* Outline on dark backgrounds */
.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247,231,206,0.35);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Outline on light backgrounds */
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(0,38,77,0.35);
}

.btn-outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-sm { font-size: 0.65rem; padding: 0.6rem 1.3rem; }


/* ────────────────────────────────────────
   6. SECTION LAYOUT
──────────────────────────────────────── */
section { padding: 6rem 2rem; }
.inner        { max-width: 1080px; margin: 0 auto; }
.inner-narrow { max-width: 760px; margin: 0 auto; }

/* Light background alternate */
.bg-alt { background: var(--light-bg-alt); }


/* ────────────────────────────────────────
   7. TYPOGRAPHY — LIGHT SECTIONS (default)
──────────────────────────────────────── */

/* Gold label */
.sec-label {
  font-size: 0.67rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.sec-label::after {
  content: '';
  width: 40px; height: 1px;
  background: var(--gold); opacity: 0.5;
}

.sec-label.centered { justify-content: center; }
.sec-label.centered::after { display: none; }

/* Section heading — dark on light by default */
.sec-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300;
  color: var(--light-text);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
}

.sec-title em { font-style: italic; color: var(--gold); }
.sec-title.centered { text-align: center; }

/* Override heading colour on dark sections */
.bg-dark .sec-title { color: var(--cream); }
.bg-dark .sec-title em { color: var(--gold-lt); }

/* Body text under headings — dark on light by default */
.sec-body {
  font-size: 0.97rem;
  color: var(--light-body);
  line-height: 1.95;
  max-width: 560px;
  margin-bottom: 3rem;
}

.bg-dark .sec-body { color: var(--muted); }

/* Eyebrow with side lines */
.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.eyebrow::before, .eyebrow::after {
  content: '';
  width: 44px; height: 1px;
  background: var(--gold); opacity: 0.5;
}


/* ────────────────────────────────────────
   8. PAGE HEADER — interior pages
   Always dark (navy bg, light text)
──────────────────────────────────────── */
.page-header {
  background: var(--navy);
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header .watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -45%);
  font-family: var(--font-heading);
  font-size: 22vw;
  font-weight: 600;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.04em;
  user-select: none;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 0.5em;
  letter-spacing: 0.02em;
  position: relative;
}

.page-header h1 em { font-style: italic; color: var(--gold-lt); }

.page-header .sub {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
}


/* ────────────────────────────────────────
   9. GOLD CORNER FRAME
──────────────────────────────────────── */
.frame-gold {
  position: relative;
  display: inline-block;
  width: 100%;
}

.frame-gold img {
  width: 100%;
  border: 1px solid var(--light-border);
}

.bg-dark .frame-gold img { border-color: var(--border); }

.frame-gold::before {
  content: '';
  position: absolute;
  top: -14px; left: -14px;
  width: 70px; height: 70px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}

.frame-gold::after {
  content: '';
  position: absolute;
  bottom: -14px; right: -14px;
  width: 70px; height: 70px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}


/* ────────────────────────────────────────
   10. CARDS — light and dark variants
──────────────────────────────────────── */

/* Generic card on light background */
.card-light {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  padding: 2.5rem 2rem;
  transition: box-shadow 0.3s;
}

.card-light:hover {
  box-shadow: 0 4px 24px rgba(183,152,100,0.12);
}

/* Generic card on dark background */
.card-dark {
  background: var(--dark-card);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
}

.card-dark:hover { background: var(--navy-md); }


/* ────────────────────────────────────────
   11. FOOTER — always dark
──────────────────────────────────────── */
footer {
  background: var(--navy-dk);
  border-top: 1px solid var(--border);
}

.footer-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
  text-decoration: none;
}

.footer-logo img { width: 72px; height: 72px; }

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
  line-height: 1.55;
}

.footer-contact a {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 0.3rem;
  transition: color 0.25s;
}

.footer-contact a:hover { color: var(--gold-lt); }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col ul li a {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s;
  letter-spacing: 0.03em;
}

.footer-col ul li a:hover { color: var(--gold-lt); }
.footer-col p { font-size: 0.82rem; color: var(--muted); line-height: 1.75; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }


/* ────────────────────────────────────────
   12. SCROLL REVEAL
──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.vis { opacity: 1; transform: translateY(0); }
.reveal.d1  { transition-delay: 0.1s; }
.reveal.d2  { transition-delay: 0.2s; }
.reveal.d3  { transition-delay: 0.3s; }
.reveal.d4  { transition-delay: 0.4s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ────────────────────────────────────────
   13. RESPONSIVE
──────────────────────────────────────── */
@media (max-width: 1200px) {
  nav { padding: 0 1.5rem; }

  /* Slide-in panel — always rendered, off-screen right when closed */
  .nav-links {
    display: flex !important;
    position: fixed;
    top: 0; right: 0;
    width: min(300px, 82vw);
    height: 100vh;
    background: #0a0a0a;
    border-left: 1px solid rgba(183,152,100,0.2);
    box-shadow: -8px 0 32px rgba(0,0,0,0.6);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--nav-h) + 3rem) 2.5rem 3rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 498;
    overflow-y: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    padding: 1rem 0;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: rgba(247,231,206,0.55);
    border-bottom: 1px solid rgba(183,152,100,0.1);
    text-decoration: none;
  }

  .nav-links li a:hover,
  .nav-links li a.active { color: var(--gold-lt); }

  .nav-links li a::after { display: none; }

  .nav-links .btn-nav {
    margin-top: 2rem;
    padding: 0.7rem 1.8rem;
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    display: inline-block;
    text-align: center;
  }

  .nav-toggle { display: flex; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  nav { padding: 0 1.2rem; }
  section { padding: 3.5rem 1.25rem; }
  .inner { padding: 0 1.25rem; }
  .hero-inner { text-align: center; align-items: center; }
  .hero-inner h1 { font-size: clamp(2rem, 8vw, 3.5rem); }
  .hero-inner .hero-sub { font-size: 0.8rem; }
  .hero-ctas { flex-direction: column; align-items: center; gap: 0.8rem; }
  .sec-title { font-size: clamp(1.6rem, 6vw, 2.8rem); }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .btn { padding: 0.85rem 2rem; font-size: 0.7rem; }
  .nav-links { width: 100%; border-left: none; border-top: 1px solid rgba(183,152,100,0.2); }
}

/* ────────────────────────────────────────
   14. CONTEXT VARIABLES
   These automatically switch based on whether
   the parent section is light or dark.
   Use var(--ctx-*) in page-specific CSS so
   the same component works on both backgrounds.
──────────────────────────────────────── */

/* Light context (cream background, dark text) */
section:not(.bg-dark) {
  --ctx-card:       #ffffff;
  --ctx-card-hover: #f0dcc0;              /* warm cream hover */
  --ctx-card-feat:  rgba(183,152,100,0.1); /* gold-tinted featured */
  --ctx-heading:    var(--text-dark);
  --ctx-body:       #2a1e12;
  --ctx-muted:      #4a3828;
  --ctx-border:     rgba(183,152,100,0.22);
  --ctx-grid-gap:   rgba(183,152,100,0.22);
  --ctx-rule:       rgba(183,152,100,0.22);
  --ctx-price:      var(--gold);
  --ctx-badge:      var(--gold);
  --ctx-tag:        var(--text-muted);
  --ctx-feat-rule:  rgba(183,152,100,0.5);
}

/* Dark context (navy background, cream text) */
.bg-dark,
.page-header,
.pullquote-section,
.services-strip,
.gallery-banner,
.artwork-full,
.quote-strip,
.cta-band {
  --ctx-card:       var(--navy-lt);   /* #001e3a — clearly blue, not black */
  --ctx-card-hover: #004285;          /* distinctly lighter navy hover */
  --ctx-card-feat:  #003880;          /* featured card — mid navy */
  --ctx-heading:    var(--cream);     /* #F7E7CE */
  --ctx-body:       var(--text-on-dark);
  --ctx-muted:      var(--text-dim);
  --ctx-border:     rgba(183,152,100,0.20);
  --ctx-grid-gap:   rgba(183,152,100,0.20);
  --ctx-rule:       rgba(183,152,100,0.20);
  --ctx-price:      var(--gold);
  --ctx-badge:      var(--gold);
  --ctx-tag:        var(--text-dim);
  --ctx-feat-rule:  rgba(183,152,100,0.4);
}


/* ────────────────────────────────────────
   15. SHARED HERO STYLES
   Used on every page. The hero sits behind
   the nav and fills the full viewport height.
──────────────────────────────────────── */

/* Hero container */
.hero,
.hero-split {
  position: relative;
  min-height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background image element — zooms out gently on load */
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
  overflow: hidden;
}

.hero-bg.loaded { transform: scale(1); }

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 85%;
}

@media (max-width: 860px) {
  .hero-bg-video {
    object-fit: cover;
    object-position: 60% 98%;
  }
}

/* Landscape phones and tablets — short viewport, keep content visible */
@media (max-height: 600px) and (orientation: landscape) {
  .hero-bg-video {
    object-position: center 80%;
  }
}

/* No Ken Burns zoom when the hero background is a video */
#heroBg.hero-bg {
  transform: none !important;
  transition: none !important;
}

/* Dark overlay — makes text readable over the image */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.18) 40%, rgba(0,0,0,0.72) 100%),
    linear-gradient(to right,  rgba(0,0,0,0.38) 0%, transparent 50%, rgba(0,0,0,0.38) 100%);
}

/* Lighter overlay variant for pages where image is the story */
.hero-overlay-light {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.65) 100%);
}

/* Text content inside hero */
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 8rem 2rem 4rem;
}

/* Hero headline */
.hero-inner h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--cream);
  letter-spacing: 0.02em;
  margin-bottom: 0.5em;
  opacity: 0;
  animation: fadeUp 1s 0.5s ease forwards;
}

.hero-inner h1 em { font-style: italic; color: var(--gold-lt); }

/* Italic tagline beneath headline */
.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-style: italic;
  color: rgba(247,231,206,0.8);
  margin-bottom: 0.6rem;
  opacity: 0;
  animation: fadeUp 1s 0.7s ease forwards;
}

/* Small uppercase sub-text */
.hero-sub {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.88s ease forwards;
}

/* Hero eyebrow (gold line + text + gold line) */
.hero-eyebrow {
  font-size: 0.67rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.3s ease forwards;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 44px; height: 1px;
  background: var(--gold); opacity: 0.5;
}

/* Hero CTA buttons */
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 1.05s ease forwards;
}

/* Scroll cue at bottom of hero */
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.25); }
}

/* ── SPLIT-SCREEN HERO (Restoration page) ── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  align-items: stretch;
  justify-content: stretch;
}

.hero-split-panel {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero-split-panel img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-split-panel img.loaded { transform: scale(1); }

.hero-split-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.6) 100%);
}

.hero-split-label {
  position: absolute;
  top: calc(var(--nav-h) + 2rem); left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(0,20,40,0.6);
  padding: 0.4rem 1rem;
  white-space: nowrap;
  z-index: 3;
}

/* Central divider line on split hero */
.hero-split::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.5;
  z-index: 4;
  pointer-events: none;
}

/* Text overlay centred across the split */
.hero-split-inner {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 5rem;
  text-align: center;
  pointer-events: none;
}

.hero-split-inner * { pointer-events: auto; }

/* Responsive: stack on mobile */
@media (max-width: 640px) {
  .hero-split { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .hero-split-panel { min-height: 50vh; }
  .hero-split::after { top: 50%; bottom: auto; left: 0; right: 0; width: 100%; height: 1px; }
}
