/* ==========================================================================
   Paradise Home Solutions — Design System
   Fonts: Montserrat (headings/UI) + Open Sans (body)
   Brand colors are defined once, below. To rebrand from the official logo,
   change --brand-deep, --brand and --accent and the entire site follows.
   ========================================================================== */

:root {
  /* Brand */
  --brand-deep:   #0B3D3B;   /* deep teal — headers, footer, headings */
  --brand:        #14685F;   /* primary teal — links, buttons, icons   */
  --brand-soft:   #E6F2EF;   /* tinted teal — panels, chips            */
  --accent:       #E3A13C;   /* warm gold — CTAs, highlights           */
  --accent-dark:  #C4842A;
  --accent-soft:  #FBEFDA;

  /* Neutrals */
  --cream:        #FCF8F2;
  --white:        #FFFFFF;
  --ink:          #17282A;
  --body:         #4E5F61;
  --muted:        #78888A;
  --line:         #E3E8E6;

  /* Type */
  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --wrap: 1160px;
  --gutter: 24px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(11, 61, 59, .06);
  --shadow:    0 10px 30px rgba(11, 61, 59, .09);
  --shadow-lg: 0 24px 60px rgba(11, 61, 59, .14);

  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* safety net against horizontal scroll; keeps sticky header working */
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent-dark); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--brand-deep);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.15rem, 1.35rem + 3.1vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
h4 { font-size: 1.07rem; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand-deep); color: #fff; padding: 12px 20px; border-radius: 0 0 10px 0;
  font-family: var(--font-head); font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding: clamp(64px, 8vw, 108px) 0; }
.section--tight { padding: clamp(48px, 5vw, 72px) 0; }
.section--cream { background: var(--cream); }
.section--soft  { background: var(--brand-soft); }
.section--deep  { background: var(--brand-deep); color: rgba(255,255,255,.82); }
.section--deep h2, .section--deep h3 { color: #fff; }

.center { text-align: center; }
.sec-head { max-width: 720px; margin: 0 auto clamp(38px, 5vw, 60px); text-align: center; }
.sec-head p { font-size: 1.06rem; margin: 0; }
.sec-head--left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  padding: 7px 15px; border-radius: 100px; margin-bottom: 18px;
}
.section--deep .eyebrow { color: var(--accent); background: rgba(227,161,60,.14); }

.lead { font-size: 1.14rem; line-height: 1.72; color: var(--body); }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .97rem;
  padding: 15px 30px; border-radius: 100px; border: 2px solid transparent;
  cursor: pointer; text-align: center; line-height: 1.2;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--brand-deep); box-shadow: 0 8px 20px rgba(227,161,60,.32); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 12px 26px rgba(196,132,42,.38); }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(20,104,95,.26); }
.btn--brand:hover { background: var(--brand-deep); color: #fff; }
.btn--outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--brand-deep); border-color: #fff; }
.btn--sm { padding: 11px 22px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

.arrow-link {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  display: inline-flex; align-items: center; gap: 7px;
}
.arrow-link::after { content: "→"; transition: transform .18s ease; }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 50px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--brand-deep); padding: 10px 15px; border-radius: 8px;
  white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
/* The in-menu CTA exists for the mobile drawer only — the header keeps its own. */
.nav > .btn { display: none; }
.nav a:hover { color: var(--brand); background: var(--brand-soft); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"]::after {
  content: ""; display: block; height: 3px; border-radius: 3px;
  background: var(--accent); margin: 5px 15px -13px;
}
.header-cta { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.header-phone {
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--brand-deep);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  min-height: 44px; padding: 0 10px; border-radius: 8px; /* keeps a tappable target when the number is hidden */
}
.header-phone:hover { color: var(--brand); background: var(--brand-soft); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  color: var(--brand-deep); border-radius: 8px;
}
.nav-toggle:hover { background: var(--brand-soft); }
/* The three-bar hamburger was replaced by the morphing menu/close icons in the
   cinematic layer below; its rules are gone so they cannot out-specify those. */

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 620px at 88% -18%, rgba(227,161,60,.20), transparent 62%),
    radial-gradient(900px 560px at 4% 106%, rgba(20,104,95,.12), transparent 60%),
    var(--cream);
  padding: clamp(64px, 8vw, 112px) 0 clamp(64px, 8vw, 104px);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(38px, 5vw, 68px); align-items: center; }
.hero h1 { margin-bottom: .38em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: 1.18rem; max-width: 33em; }
.hero-actions { margin-top: 32px; }
.hero-note {
  margin-top: 26px; font-size: .93rem; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 8px 22px;
}
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { color: var(--brand); flex: 0 0 auto; }

/* Hero side card */
.hero-card {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line);
}
.hero-card h2 { font-size: 1.28rem; margin-bottom: 6px; }
.hero-card > p { font-size: .96rem; color: var(--muted); margin-bottom: 20px; }
.path-list { list-style: none; display: grid; gap: 12px; }
.path {
  display: flex; align-items: center; gap: 15px;
  padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.path:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateX(3px); }
.path .ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.path .ico--gold { background: var(--accent-soft); color: var(--accent-dark); }
.path strong { display: block; font-family: var(--font-head); color: var(--brand-deep); font-size: 1rem; }
.path small { color: var(--muted); font-size: .87rem; line-height: 1.45; display: block; }
.path .go { margin-left: auto; color: var(--brand); font-weight: 700; }

/* ---------- Page banner (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 480px at 92% -30%, rgba(227,161,60,.22), transparent 60%),
    var(--brand-deep);
  color: rgba(255,255,255,.8);
  padding: clamp(56px, 7vw, 92px) 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { max-width: 660px; margin: 0 auto; font-size: 1.1rem; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 18px; font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; }
.crumbs a { color: rgba(255,255,255,.72); }
.crumbs a:hover { color: var(--accent); }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 34px); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico-box {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 20px;
}
.card .ico-box--gold { background: var(--accent-soft); color: var(--accent-dark); }
.card h3 { margin-bottom: .45em; }
.card p { font-size: .98rem; }
.card .card-foot { margin-top: auto; padding-top: 20px; }

.tick-list { list-style: none; display: grid; gap: 11px; margin: 0 0 4px; }
.tick-list li { position: relative; padding-left: 30px; font-size: .97rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .46em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314685F' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}
.section--deep .tick-list li::before { background-color: rgba(227,161,60,.18); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.section--deep .stat { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.stat b {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); color: var(--brand-deep); line-height: 1.05;
}
.section--deep .stat b { color: var(--accent); }
.stat span { font-size: .89rem; color: var(--muted); font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; }
.section--deep .stat span { color: rgba(255,255,255,.72); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 30px 26px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 800; font-size: 2.3rem;
  color: var(--accent); opacity: .5; line-height: 1; display: block; margin-bottom: 12px;
}
.step h3 { font-size: 1.15rem; }
.step p { font-size: .96rem; margin: 0; }

/* ---------- Split media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 64px); align-items: center; }
.split--flip .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-lg); overflow: hidden; min-height: 380px;
  background:
    radial-gradient(520px 340px at 76% 18%, rgba(227,161,60,.34), transparent 62%),
    linear-gradient(150deg, var(--brand-deep), var(--brand) 78%);
  display: grid; place-items: center; padding: 34px; color: #fff; box-shadow: var(--shadow);
}
.split-media .quote { max-width: 380px; text-align: center; }
.split-media .quote p { font-family: var(--font-head); font-size: 1.22rem; font-weight: 600; line-height: 1.5; color: #fff; }
.split-media .quote cite { font-style: normal; font-size: .9rem; color: rgba(255,255,255,.72); }

/* ---------- Testimonials ---------- */
.quote-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.quote-card .stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 14px; font-size: 1rem; }
.quote-card blockquote { margin: 0 0 22px; font-size: 1.02rem; color: var(--body); }
.quote-card footer { margin-top: auto; display: flex; align-items: center; gap: 13px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-family: var(--font-head); font-weight: 700; font-size: .95rem;
}
.quote-card footer strong { display: block; font-family: var(--font-head); color: var(--brand-deep); font-size: .96rem; }
.quote-card footer span { font-size: .85rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(760px 420px at 12% 118%, rgba(227,161,60,.24), transparent 60%),
    linear-gradient(120deg, var(--brand-deep), var(--brand) 88%);
  color: rgba(255,255,255,.85); text-align: center;
  padding: clamp(58px, 7vw, 92px) 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 600px; margin: 0 auto 30px; font-size: 1.08rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 42px); box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  color: var(--brand-deep); margin-bottom: 7px;
}
.field .req { color: var(--accent-dark); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--white); transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E5F61' stroke-width='2.4' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 17px; padding-right: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(20,104,95,.12);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #C0392B; }
.field .err { display: none; color: #C0392B; font-size: .85rem; margin-top: 6px; }
.field .err.show { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .87rem; color: var(--muted); line-height: 1.55; }
.consent input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; accent-color: var(--brand); }
.form-success {
  display: none; background: var(--brand-soft); border: 1.5px solid var(--brand);
  border-radius: var(--radius); padding: 22px 24px; color: var(--brand-deep);
}
.form-success.show { display: block; }
.form-success strong { font-family: var(--font-head); display: block; margin-bottom: 5px; font-size: 1.05rem; }

/* ---------- Contact details ---------- */
.contact-list { list-style: none; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.contact-list h4 { margin: 0 0 3px; font-size: .95rem; }
.contact-list p { margin: 0; font-size: .97rem; }

/* ---------- Accordion (FAQ) ---------- */
.faq-group { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 22px clamp(20px, 3vw, 30px);
  font-family: var(--font-head); font-weight: 600; font-size: 1.03rem; color: var(--brand-deep);
  transition: background-color .15s ease;
}
.faq-q:hover { background: var(--cream); }
.faq-q .chev { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; transition: transform .22s ease, background-color .2s ease; }
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); background: var(--accent); color: var(--brand-deep); }
.faq-a { display: none; padding: 0 clamp(20px, 3vw, 30px) 24px; }
.faq-a p { font-size: .99rem; }
.faq-a.open { display: block; }

/* ---------- Blog cards ---------- */
.post {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post .thumb {
  height: 168px; display: grid; place-items: center; color: rgba(255,255,255,.9);
  font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; font-size: .78rem; text-transform: uppercase;
  background: linear-gradient(140deg, var(--brand-deep), var(--brand));
}
.post .thumb--gold { background: linear-gradient(140deg, var(--accent-dark), var(--accent)); color: var(--brand-deep); }
.post .thumb--soft { background: linear-gradient(140deg, var(--brand), #2C8C7E); }
.post-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .81rem; color: var(--muted); font-family: var(--font-head); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 10px; }
.post h3 { font-size: 1.13rem; }
.post p { font-size: .95rem; }
.post .card-foot { margin-top: auto; padding-top: 18px; }

/* ---------- Value / misc ---------- */
.value { display: flex; gap: 18px; align-items: flex-start; }
.value .ico { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-dark); }
.value h3 { font-size: 1.08rem; margin-bottom: .3em; }
.value p { font-size: .96rem; margin: 0; }

.panel { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm); }

.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.chip {
  font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  padding: 9px 18px; border-radius: 100px; background: var(--white);
  border: 1px solid var(--line); color: var(--brand-deep);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,.68); padding: clamp(52px, 6vw, 76px) 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer img { height: 52px; width: auto; margin-bottom: 18px; }
.site-footer p { font-size: .93rem; line-height: 1.7; }
.site-footer ul { list-style: none; display: grid; gap: 11px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact svg { flex: 0 0 auto; margin-top: 4px; color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.13); padding: 24px 0 30px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  font-size: .86rem; color: rgba(255,255,255,.55);
}
.footer-credit a { color: rgba(255,255,255,.78); font-weight: 600; border-bottom: 1px solid rgba(227,161,60,.5); }
.footer-credit a:hover { color: var(--accent); border-color: var(--accent); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.eho { display: flex; align-items: center; gap: 10px; font-size: .82rem; line-height: 1.4; color: rgba(255,255,255,.5); max-width: 320px; }
.eho svg { flex: 0 0 auto; color: rgba(255,255,255,.6); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover, .post:hover { transform: none; }
}

/* ==========================================================================
   Phase 2 additions
   ========================================================================== */

/* ---------- Imagery ---------- */
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); background: var(--brand-soft);
  line-height: 0;
}
.media-frame img, .media-frame svg { width: 100%; height: auto; display: block; }
.media-frame--sm { box-shadow: var(--shadow-sm); border-radius: var(--radius); }
.card .media-frame { margin: -1px -1px 22px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: none; }
.card--media { padding: 0; overflow: hidden; }
.card--media .card-inner { padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; flex: 1; }

/* ---------- "Link coming soon" buttons ---------- */
.btn.is-soon {
  background: var(--brand-soft); color: var(--brand-deep);
  border-color: transparent; box-shadow: none; cursor: not-allowed; opacity: .95;
}
.btn.is-soon:hover { transform: none; background: var(--brand-soft); color: var(--brand-deep); }
.btn.is-soon .soon-tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--accent); color: var(--brand-deep); padding: 3px 9px; border-radius: 100px;
}
.soon-note { display: block; font-size: .85rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }

/* ---------- Feature pills (flexible paths) ---------- */
.pill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pill {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: 100px;
  padding: 13px 22px; font-family: var(--font-head); font-weight: 600;
  font-size: .95rem; color: var(--brand-deep); box-shadow: var(--shadow-sm);
}
.pill .dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.pill .dot--teal { background: var(--brand); }

/* ---------- Reason grid (why choose us) ---------- */
.reason {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; box-shadow: var(--shadow-sm); height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.reason:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.reason .ico-box { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.reason .ico-box--gold { background: var(--accent-soft); color: var(--accent-dark); }
.reason h3 { font-size: 1.06rem; margin-bottom: .35em; }
.reason p { font-size: .95rem; margin: 0; }

/* ---------- Who we serve ---------- */
.serve-card {
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; height: 100%;
}
.serve-card:nth-child(2) { border-top-color: var(--brand); }
.serve-card h3 { font-size: 1.16rem; }
.serve-card p { font-size: .97rem; }

/* ---------- Contact section ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.contact-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 36px); box-shadow: var(--shadow-sm);
}
.contact-panel + .contact-panel { margin-top: 22px; }
.hours-list { list-style: none; display: grid; gap: 8px; font-size: .97rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.hours-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.hours-list b { font-family: var(--font-head); color: var(--brand-deep); font-weight: 600; }
address.plain { font-style: normal; }

/* ---------- Responsive ---------- */

/* Between the mobile menu and full desktop the header row runs out of room,
   so the phone collapses to its icon (still tappable) instead of overflowing. */
@media (max-width: 1100px) {
  .header-phone span { display: none; }
  .nav a { padding: 10px 12px; }
}
@media (max-width: 1040px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pill-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 940px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 22px; box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.02rem; border-radius: 10px; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { background: var(--brand-soft); }
  .nav > .btn { display: inline-flex; margin-top: 10px; }
  .header-cta .btn { display: none; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split--flip .split-media { order: 0; }
  .split-media { min-height: 260px; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .pill-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .grid-2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .header-phone span { display: none; }
  .brand img { height: 42px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .hero-note { flex-direction: column; gap: 9px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
}
@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Phase 3 — Cinematic glass layer
   Adapts the dark, full-bleed, glassmorphism look to the Paradise palette.
   Content, copy and typography are unchanged; this is presentation only.
   ========================================================================== */

:root {
  /* Glass tokens (mirrors the reference system's white/10 + blur scale) */
  --glass:        rgba(255, 255, 255, .10);
  --glass-hover:  rgba(255, 255, 255, .16);
  --glass-line:   rgba(255, 255, 255, .18);
  --glass-blur:   blur(16px);

  /* Dark grounds, built from the brand deep teal rather than near-black */
  --cine-950: #04211F;
  --cine-900: #07302D;
  --scrim:    rgba(4, 33, 31, .62);

  /* Primary CTA gradient — the reference uses #2B2B2B -> #101010;
     the Paradise equivalent runs gold, which is our action colour. */
  --grad-gold:  linear-gradient(to bottom, #E8AC4E, #C4842A);
  --grad-teal:  linear-gradient(to bottom, #17756A, #0B3D3B);
}

/* ---------- Header: transparent over the hero, solid once scrolled ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background-color .35s ease, backdrop-filter .35s ease, border-color .35s ease;
}
.site-header.is-scrolled {
  background: rgba(4, 33, 31, .84);
  backdrop-filter: saturate(140%) blur(18px);
  border-bottom-color: var(--glass-line);
}
.brand img { height: 46px; }

/* Desktop glass pill nav */
.nav {
  gap: 4px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur);
  padding: 6px;
}
.nav a {
  color: rgba(255, 255, 255, .8);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .9rem;
}
.nav a:hover { background: var(--glass-hover); color: #fff; }
.nav a[aria-current="page"] { background: var(--glass-hover); color: #fff; }
.nav a[aria-current="page"]::after { display: none; }

.header-phone { color: rgba(255, 255, 255, .85); }
.header-phone:hover { color: #fff; background: var(--glass); }

/* Gradient + glass buttons */
.btn--grad {
  background: var(--grad-gold);
  color: var(--brand-deep);
  box-shadow: 0 10px 24px rgba(196, 132, 42, .28);
}
.btn--grad:hover { opacity: .9; background: var(--grad-gold); color: var(--brand-deep); }
.btn--glass {
  background: var(--glass);
  border-color: var(--glass-line);
  color: #fff;
  backdrop-filter: var(--glass-blur);
}
.btn--glass:hover { background: var(--glass-hover); color: #fff; }

/* ---------- Circular hamburger with morphing icon ---------- */
.nav-toggle {
  position: relative;
  height: 40px; width: 40px; padding: 0;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur);
  display: none; place-items: center;
  color: #fff;
  z-index: 101;
}
.nav-toggle:hover { background: var(--glass-hover); }
.nav-toggle .ico {
  position: absolute; display: grid; place-items: center;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle .ico-x { opacity: 0; transform: rotate(-90deg) scale(0); }
.nav-toggle[aria-expanded="true"] .ico-menu { opacity: 0; transform: rotate(90deg) scale(0); }
.nav-toggle[aria-expanded="true"] .ico-x { opacity: 1; transform: none; }

/* ---------- Mobile drawer ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 98;
  background: rgba(3, 20, 19, .8);
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; right: 0; top: 0; z-index: 99;
  height: 100%; width: 288px; max-width: 84vw;
  background: rgba(4, 26, 25, .92);
  backdrop-filter: blur(24px);
  border-left: 1px solid var(--glass-line);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}
.drawer.open { transform: translateX(0); }

.drawer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 96px 24px 0; }
.drawer-links a {
  display: block;
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  color: rgba(255, 255, 255, .8);
  opacity: 0; transform: translateX(24px);
  transition: opacity .4s ease, transform .4s ease, background-color .2s ease, color .2s ease;
}
.drawer-links a:hover { background: var(--glass-hover); color: #fff; }
.drawer-links a[aria-current="page"] { background: var(--glass-hover); color: #fff; }
.drawer.open .drawer-links a { opacity: 1; transform: translateX(0); }
.drawer.open .drawer-links li:nth-child(1) a { transition-delay: .06s; }
.drawer.open .drawer-links li:nth-child(2) a { transition-delay: .12s; }
.drawer.open .drawer-links li:nth-child(3) a { transition-delay: .18s; }
.drawer.open .drawer-links li:nth-child(4) a { transition-delay: .24s; }
.drawer.open .drawer-links li:nth-child(5) a { transition-delay: .30s; }

.drawer-foot {
  margin-top: auto; padding: 0 24px 40px;
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s ease .3s, transform .4s ease .3s;
}
.drawer.open .drawer-foot { opacity: 1; transform: translateY(0); }
.drawer-foot .drawer-phone {
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  color: rgba(255, 255, 255, .7); text-align: center;
}
.drawer-foot .drawer-phone:hover { color: #fff; }

/* ---------- Cinematic hero (full-bleed video, bottom-anchored content) ---------- */
.hero-cine {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--cine-950);
  isolation: isolate;
}
.hero-cine__media { position: absolute; inset: 0; z-index: 0; }

/* Animated fallback ground: visible until a video file is present, and behind
   it afterwards. Slow drifting light, built from the brand teal and gold. */
.hero-cine__fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 700px at 78% 8%,  rgba(227, 161, 60, .30), transparent 62%),
    radial-gradient(900px 620px at 12% 92%,  rgba(23, 117, 106, .55), transparent 64%),
    radial-gradient(700px 520px at 52% 46%,  rgba(11, 61, 59, .55),  transparent 70%),
    linear-gradient(160deg, var(--cine-900), var(--cine-950) 72%);
  animation: cineDrift 26s ease-in-out infinite alternate;
}
@keyframes cineDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(-2.5%, -1.5%, 0); }
}
.hero-cine__video {
  position: absolute; inset: 0;
  height: 100%; width: 100%;
  object-fit: cover;
}
/* Brand-tinted scrim. The reference sits on already-dark footage; our palette
   needs this to hold AA contrast for white text over arbitrary video. */
.hero-cine__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(4, 33, 31, .92) 0%, rgba(4, 33, 31, .55) 42%, rgba(4, 33, 31, .30) 100%);
}

.hero-cine__inner {
  position: relative; z-index: 10;
  display: flex; flex-direction: column;
  flex: 1 1 auto;
  min-height: 100svh;
}
.hero-cine__main {
  margin-top: auto;
  display: flex; flex-direction: column;
  gap: 26px;
  padding: 0 var(--gutter) 34px;
  width: 100%; max-width: var(--wrap); margin-inline: auto;
}
.hero-cine__copy { max-width: 34rem; }
.hero-cine h1 {
  color: #fff;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem);
  line-height: 1.1; letter-spacing: -.02em;
  margin-bottom: .5em;
}
.hero-cine h1 em { font-style: normal; color: var(--accent); }
.hero-cine__copy .lead { color: rgba(255, 255, 255, .78); font-size: 1.04rem; }
.hero-cine .eyebrow { color: var(--accent); background: rgba(227, 161, 60, .15); }
.hero-cine__actions { margin-top: 26px; }

/* Glass cards beside the headline */
.hero-cine__cards {
  display: flex; flex-direction: column; gap: 16px;
  width: 100%;
}
.glass-card {
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur);
  padding: 20px;
  color: #fff;
}
.glass-card h2, .glass-card h3 { color: #fff; }
.glass-card__title {
  font-family: var(--font-head); font-weight: 700;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.glass-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.glass-list a, .glass-list li > span {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-radius: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: .93rem;
  color: rgba(255, 255, 255, .88);
  transition: background-color .2s ease, color .2s ease;
}
.glass-list a:hover { background: var(--glass-hover); color: #fff; }
.glass-list a .go { color: var(--accent); font-weight: 700; }
.glass-list li > span { color: rgba(255, 255, 255, .78); font-weight: 400; font-family: var(--font-body); font-size: .9rem; }
.glass-list .tick { flex: 0 0 auto; color: var(--accent); }

/* Scroll cue */
.hero-cine__cue {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 0 20px;
  color: rgba(255, 255, 255, .55);
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
}
.hero-cine__cue svg { animation: cueBob 2.4s ease-in-out infinite; }
@keyframes cueBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (min-width: 640px) {
  .hero-cine__main { gap: 32px; padding: 0 32px 48px; }
  .hero-cine__cards { flex-direction: row; }
  .glass-card { padding: 24px; flex: 1 1 0; }
}
@media (min-width: 1024px) {
  .hero-cine__main {
    flex-direction: row; align-items: flex-end; justify-content: space-between;
    padding: 0 var(--gutter) 64px; gap: 48px;
  }
  .hero-cine__cards { width: auto; gap: 20px; }
  .glass-card { width: 16rem; flex: 0 0 auto; }
}

/* ---------- Inner page heroes: same cinematic ground ---------- */
.page-hero {
  position: relative;
  background: var(--cine-950);
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(52px, 7vw, 88px)) 0 clamp(56px, 7vw, 92px);
  isolation: isolate;
}
.page-hero > .wrap { position: relative; z-index: 10; }
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media .hero-cine__fallback { animation-duration: 34s; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255, 255, 255, .78); }

/* ---------- Cinematic section ground + glass content ---------- */
.section--cine {
  position: relative;
  background: var(--cine-950);
  color: rgba(255, 255, 255, .78);
  overflow: hidden;
  isolation: isolate;
}
.section--cine::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 560px at 84% -10%, rgba(227, 161, 60, .20), transparent 62%),
    radial-gradient(760px 520px at 6% 108%, rgba(23, 117, 106, .40), transparent 64%);
}
.section--cine > .wrap { position: relative; z-index: 1; }
.section--cine h2, .section--cine h3, .section--cine h4 { color: #fff; }
.section--cine .sec-head p, .section--cine .lead { color: rgba(255, 255, 255, .78); }
.section--cine .eyebrow { color: var(--accent); background: rgba(227, 161, 60, .15); }

/* Cards sitting on a cinematic ground become glass */
.section--cine .card,
.section--cine .reason,
.section--cine .serve-card,
.section--cine .step,
.section--cine .pill,
.section--cine .panel,
.section--cine .faq-group,
.section--cine .contact-panel,
.section--cine .form-card {
  background: var(--glass);
  border-color: var(--glass-line);
  backdrop-filter: var(--glass-blur);
  box-shadow: none;
  color: rgba(255, 255, 255, .78);
}
.section--cine .card:hover,
.section--cine .reason:hover,
.section--cine .post:hover { background: var(--glass-hover); border-color: var(--glass-line); }
.section--cine .card p, .section--cine .reason p, .section--cine .serve-card p,
.section--cine .step p, .section--cine .panel p { color: rgba(255, 255, 255, .74); }
.section--cine .tick-list li { color: rgba(255, 255, 255, .82); }
.section--cine .tick-list li::before { background-color: rgba(227, 161, 60, .22); }
.section--cine .ico-box { background: rgba(227, 161, 60, .16); color: var(--accent); }
.section--cine .ico-box--gold { background: var(--glass-hover); color: #fff; }
.section--cine .pill { color: #fff; }
.section--cine .serve-card { border-top-color: var(--accent); }
.section--cine .serve-card:nth-child(2) { border-top-color: var(--brand); }
.section--cine .step::before { color: var(--accent); opacity: .75; }
.section--cine .faq-item + .faq-item { border-top-color: var(--glass-line); }
.section--cine .faq-q { color: #fff; }
.section--cine .faq-q:hover { background: var(--glass-hover); }
.section--cine .faq-q .chev { background: rgba(227, 161, 60, .18); color: var(--accent); }
.section--cine .faq-a p { color: rgba(255, 255, 255, .78); }
.section--cine .faq-a a, .section--cine .panel a { color: var(--accent); }
.section--cine .contact-list .ico { background: rgba(227, 161, 60, .16); color: var(--accent); }
.section--cine .contact-list p, .section--cine .contact-list a { color: rgba(255, 255, 255, .82); }
.section--cine .contact-list a:hover { color: var(--accent); }
.section--cine .hours-list { color: rgba(255, 255, 255, .8); }
.section--cine .hours-list b { color: #fff; }
.section--cine .hours-list li { border-bottom-color: var(--glass-line); }
.section--cine .field label { color: rgba(255, 255, 255, .9); }
.section--cine .field input,
.section--cine .field select,
.section--cine .field textarea {
  /* background-color, not the `background` shorthand: the shorthand would reset
     background-repeat/position/size and tile the select's chevron icon. */
  background-color: rgba(255, 255, 255, .08);
  border-color: var(--glass-line);
  color: #fff;
}
.section--cine .field input::placeholder,
.section--cine .field textarea::placeholder { color: rgba(255, 255, 255, .45); }
.section--cine .field select { color: #fff; }
.section--cine .field select option { color: var(--ink); }
.section--cine .field input:focus,
.section--cine .field select:focus,
.section--cine .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(227, 161, 60, .18);
}
.section--cine .btn--brand { background: var(--grad-teal); }
.section--cine .btn.is-soon { background: var(--glass); color: rgba(255, 255, 255, .85); }
.section--cine .btn.is-soon:hover { background: var(--glass); }
.section--cine .soon-note { color: rgba(255, 255, 255, .6); }
.section--cine .soon-note a { color: var(--accent); }
.section--cine .form-success { background: rgba(227, 161, 60, .14); border-color: var(--accent); color: #fff; }
.section--cine .form-success strong { color: #fff; }
.section--cine .form-success a { color: var(--accent); }
.section--cine .chip { background: var(--glass); border-color: var(--glass-line); color: #fff; }
.section--cine .chip:hover { background: var(--glass-hover); }

/* CTA bands adopt the same gradient language */
.cta-band { background: linear-gradient(160deg, var(--cine-900), var(--cine-950) 78%); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(760px 420px at 14% 116%, rgba(227, 161, 60, .26), transparent 60%);
}
.cta-band > .wrap { position: relative; z-index: 1; }

/* Footer picks up the deepest ground */
.site-footer { background: var(--cine-950); }

/* ---------- Nav visibility: pill on desktop, drawer below ---------- */
@media (max-width: 940px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
}
@media (min-width: 941px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .drawer, .drawer-backdrop { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cine__fallback { animation: none; }
  .hero-cine__cue svg { animation: none; }
  .drawer { transition: transform .01s; }
}

/* Video only paints once it has frames, so the animated fallback shows
   cleanly whenever assets/video/hero.mp4 is absent or still loading. */
.hero-cine__video { opacity: 0; transition: opacity .9s ease; }
.hero-cine__video.is-ready { opacity: 1; }

/* Bottom-anchored content must still clear the fixed header when the copy is
   taller than the viewport (small phones, large text settings). */
.hero-cine__inner { padding-top: calc(var(--header-h) + 20px); }
.hero-cine { min-height: 100svh; height: auto; }

/* Illustrations were drawn on light grounds, so on a cinematic section they are
   dimmed and scrimmed to sit inside the glass rather than punch a bright hole. */
.section--cine .media-frame { position: relative; background: transparent; }
.section--cine .media-frame img { filter: saturate(.92) brightness(.82) contrast(1.02); }
.section--cine .media-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(4, 33, 31, .30), rgba(4, 33, 31, .78));
}
.section--cine .card .media-frame { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

/* Tick marks need a light stroke on cinematic grounds. */
.section--cine .tick-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3A13C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* Select chevron needs a light stroke on cinematic grounds. */
.section--cine .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

/* Real photography needs far less treatment than the flat illustrations did:
   a light warm-dark scrim for text contrast, no heavy brightness knockdown. */
.section--cine .media-frame img { filter: saturate(1.02) brightness(.94) contrast(1.02); }
.section--cine .media-frame::after {
  background: linear-gradient(to bottom, rgba(4, 33, 31, .10), rgba(4, 33, 31, .42));
}
/* Keep card photos to a consistent band so the three cards align. */
.card .media-frame img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.split .media-frame img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* The pure bottom anchor left a large dead zone under the header on tall
   desktop viewports. Auto margins on both sides balance the block instead,
   keeping the low-slung composition without the empty band up top.
   On short screens the autos collapse to zero and padding-top still clears
   the fixed header. */
.hero-cine__main { margin-top: auto; margin-bottom: auto; }
.hero-cine__inner { padding-top: calc(var(--header-h) + 8px); }
@media (min-width: 1024px) {
  .hero-cine__main { padding-bottom: 40px; }
  .hero-cine__cue { padding-bottom: 26px; }
}

/* ---------- Subpage heroes: still photography, one image per page ----------
   The video is reserved for the Home page; each inner page gets its own
   photograph so the sections read as distinct places in the site. */
.page-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
}
/* These photographs are brighter than the hero video, so the scrim is heavier
   to keep the white heading and body copy comfortably legible over them. */
.page-hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(4, 33, 31, .80) 0%, rgba(4, 33, 31, .72) 45%, rgba(4, 33, 31, .88) 100%),
    radial-gradient(900px 520px at 88% -12%, rgba(227, 161, 60, .22), transparent 62%);
}

/* ---------- Parallax CTA band (Home) ----------
   The image sits in an over-tall container so it can drift vertically without
   ever exposing an edge. Movement is applied by main.js on scroll; with no JS,
   or with reduced motion, it simply renders as a static cover image. */
.cta-band--parallax { position: relative; overflow: hidden; }
.cta-parallax {
  position: absolute; left: 0; right: 0; top: -24%; bottom: -24%;
  z-index: 0;
  will-change: transform;
}
.cta-parallax__img { width: 100%; height: 100%; object-fit: cover; }
.cta-parallax__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(4, 33, 31, .80) 0%, rgba(4, 33, 31, .66) 50%, rgba(4, 33, 31, .86) 100%),
    radial-gradient(760px 420px at 14% 116%, rgba(227, 161, 60, .30), transparent 60%);
}
.cta-band--parallax::before { z-index: 1; }
.cta-band--parallax > .wrap { position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .cta-parallax { transform: none !important; }
}

/* ---------- Header legibility over the hero ----------
   Fully transparent, the logo and controls sat straight on a moving video and
   washed out against light frames. A soft top-down scrim keeps them readable
   while preserving the borderless look; it fades out once the solid scrolled
   bar takes over. */
.site-header::before {
  content: "";
  position: absolute; inset: 0 0 -28px 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(4, 33, 31, .82) 0%, rgba(4, 33, 31, .40) 62%, rgba(4, 33, 31, 0) 100%);
  opacity: 1;
  transition: opacity .35s ease;
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header > .wrap { position: relative; z-index: 1; }

/* The bottom-anchored hero left only ~7px between the header and the eyebrow
   on phones, so the two read as colliding. */
@media (max-width: 940px) {
  .hero-cine__inner { padding-top: calc(var(--header-h) + 32px); }
}

/* Netlify Forms honeypot — must exist in the DOM but never be seen or focused. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Scroll-triggered reveals
   Elements start hidden and animate the moment they scroll into view. Grid
   children stagger via --i, which main.js assigns. Directional variants let a
   split layout bring its halves in from opposite sides.
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .75s cubic-bezier(.22, 1, .36, 1),
    transform .75s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--i, 0) * 95ms);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
/* Once played, drop the hint so long pages do not hold dozens of layers. */
.reveal.done { will-change: auto; transition-delay: 0s; }

.reveal--left  { transform: translateX(-38px); }
.reveal--right { transform: translateX(38px); }
.reveal--zoom  { transform: scale(.94); }
.reveal--fade  { transform: none; }
.reveal--rise  { transform: translateY(52px); }

/* Split layouts: text and media arrive from opposite sides on wide screens.
   Below the split breakpoint they stack, so a plain rise reads better. */
@media (max-width: 940px) {
  .reveal--left, .reveal--right { transform: translateY(30px); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--left, .reveal--right, .reveal--zoom, .reveal--fade, .reveal--rise {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Hero entrance ----------
   Heroes sit above the fold, so a scroll trigger would fire instantly and read
   as a glitch. They play once on load instead, staggered the same way the
   scroll reveals are. */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
.hero-cine__copy > *,
.hero-cine__cards > *,
.page-hero > .wrap > * {
  animation: heroIn .85s cubic-bezier(.22, 1, .36, 1) both;
}
.hero-cine__copy > *:nth-child(1) { animation-delay: .10s; }
.hero-cine__copy > *:nth-child(2) { animation-delay: .20s; }
.hero-cine__copy > *:nth-child(3) { animation-delay: .30s; }
.hero-cine__copy > *:nth-child(4) { animation-delay: .40s; }
.hero-cine__cards > *:nth-child(1) { animation-delay: .46s; }
.hero-cine__cards > *:nth-child(2) { animation-delay: .56s; }
.page-hero > .wrap > *:nth-child(1) { animation-delay: .10s; }
.page-hero > .wrap > *:nth-child(2) { animation-delay: .20s; }
.page-hero > .wrap > *:nth-child(3) { animation-delay: .30s; }

.hero-cine__cue { animation: heroIn .85s cubic-bezier(.22, 1, .36, 1) .75s both; }

@media (prefers-reduced-motion: reduce) {
  .hero-cine__copy > *,
  .hero-cine__cards > *,
  .page-hero > .wrap > *,
  .hero-cine__cue { animation: none; }
}
