/* ============================================================
   Goldstone Migration — faithful recreation of the "Advocate" template
   Navy #0b1d3a · Gold #c8a951 · Marble cream #f4f2ee
   Headings: Fraunces (serif, italic accents) · Body: DM Sans
   ============================================================ */

:root{
  --navy:        #0b1d3a;
  --navy-deep:   #071426;
  --navy-soft:   #112347;
  --gold:        #c8a951;
  --gold-light:  #d4ba6e;
  --gold-dark:   #9e842f;
  --marble:      #f4f2ee;
  --marble-2:    #ede9e3;
  --marble-3:    #e2ddd5;
  --slate:       #6b7b8d;
  --slate-light: #8a9bad;
  --line:        #e2ddd5;
  --line-dark:   rgba(255,255,255,.10);

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --shadow-soft: 0 4px 24px rgba(11,29,58,.07);
  --shadow-card: 0 24px 60px rgba(11,29,58,.16);
  --shadow-gold: 0 12px 30px rgba(200,169,81,.30);
  --maxw: 1200px;
  --header-h: 74px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:var(--header-h); }
body{
  margin:0; font-family:var(--font-body); color:var(--navy);
  background:var(--marble); line-height:1.6; overflow-x:hidden;
  -webkit-font-smoothing:antialiased; padding-bottom:0;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

.container{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 32px; }
.center{ text-align:center; }

/* ---------- Typography ---------- */
h1,h2,h3,h4{ font-family:var(--font-head); font-weight:600; line-height:1.06; margin:0; letter-spacing:-.015em; }
em{ font-style:italic; }
.eyebrow{ font-size:.7rem; letter-spacing:.22em; text-transform:uppercase; font-weight:600; color:var(--gold-dark); margin:0 0 20px; }
.eyebrow.on-dark{ color:var(--gold-light); }
.display{ font-size:clamp(2.2rem,4.6vw,3.5rem); font-weight:500; }
.display.sm{ font-size:clamp(1.9rem,3.6vw,2.7rem); }
.display em, .hero-title em, .guide-title em{ color:var(--slate); }
.display.on-dark, .display.on-dark em{ color:var(--marble); }
.display.on-dark em{ color:var(--slate-light); }
.lead{ font-size:1.06rem; color:var(--navy); }
.lead.on-dark{ color:var(--slate-light); }
.center-lead{ max-width:60ch; margin-inline:auto; }
.rule{ display:block; width:70px; height:2px; background:var(--gold); margin:26px auto 24px; }

/* ---------- Buttons ---------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:.55em;
  padding:15px 30px; border-radius:4px; font-weight:600; font-size:.92rem;
  cursor:pointer; border:1.5px solid transparent; transition:all .22s ease; white-space:nowrap; }
.btn-sm{ padding:11px 20px; font-size:.82rem; }
.btn-block{ width:100%; }
.btn-gold{ background:var(--gold); color:var(--navy); box-shadow:var(--shadow-gold); }
.btn-gold:hover{ background:var(--gold-light); transform:translateY(-2px); }
.btn-text-gold{ background:transparent; color:var(--gold-light); padding-left:6px; padding-right:6px; border:none; position:relative; }
.btn-text-gold::after{ content:""; position:absolute; left:6px; bottom:8px; height:1.5px; width:calc(100% - 12px); background:var(--gold); transform:scaleX(.35); transform-origin:left; transition:.25s; }
.btn-text-gold:hover::after{ transform:scaleX(1); }

/* ---------- Header ---------- */
.site-header{ position:fixed; top:0; left:0; right:0; z-index:80; background:transparent;
  border-bottom:1px solid transparent;
  transition:background-color .45s ease, border-color .45s ease, box-shadow .45s ease; }
/* subtle top scrim so nav stays legible over the photo while transparent */
.site-header::before{ content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(180deg, rgba(7,20,38,.45), transparent);
  opacity:1; transition:opacity .45s ease; }
/* turning navy: a short pause, then a slow ease-out fade (the rule above handles fading back) */
.site-header.scrolled{ background:var(--navy); border-bottom-color:var(--line-dark);
  box-shadow:0 6px 24px rgba(7,20,38,.28);
  transition:background-color .8s cubic-bezier(.22,.61,.36,1) .12s, border-color .8s ease .12s, box-shadow .8s ease .12s; }
.site-header.scrolled::before{ transition:opacity .8s ease .12s; }
.site-header.scrolled::before, .site-header.menu-open::before{ opacity:0; }
.site-header.menu-open{ background:var(--navy); }
.nav-inner{ display:flex; align-items:center; gap:34px; height:var(--header-h); }
.brand{ display:flex; align-items:center; gap:10px; }
.brand-text{ font-family:var(--font-head); font-weight:700; font-size:1rem; letter-spacing:.06em; line-height:1; color:var(--marble); }
.brand-sub{ display:block; font-size:.56rem; letter-spacing:.36em; font-weight:500; color:var(--gold-light); margin-top:3px; }

.nav-links{ display:flex; align-items:center; gap:30px; margin:0 auto; }
.nav-links a, .nav-dd-toggle{ font-size:.86rem; font-weight:500; letter-spacing:.02em; color:var(--marble);
  background:none; border:none; cursor:pointer; font-family:var(--font-body); display:inline-flex; align-items:center; gap:6px; padding:6px 0; position:relative; opacity:.85; transition:.2s; }
.nav-links a:hover, .nav-dd-toggle:hover, .nav-dropdown:hover .nav-dd-toggle{ opacity:1; color:var(--gold-light); }

.nav-dropdown{ position:relative; }
.nav-dd-menu{ position:absolute; top:calc(100% + 16px); left:50%; transform:translateX(-50%) translateY(8px);
  background:#fff; border:1px solid var(--line); border-radius:8px; box-shadow:var(--shadow-card);
  padding:8px; min-width:300px; opacity:0; visibility:hidden; transition:.22s; }
.nav-dropdown:hover .nav-dd-menu, .nav-dropdown.force-open .nav-dd-menu{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
.nav-dd-menu a{ display:block; padding:9px 14px; border-radius:6px; font-size:.88rem; color:var(--navy); opacity:1; }
.nav-dd-menu a:hover{ background:var(--marble-2); color:var(--gold-dark); }

.nav-cta{ flex:none; }
.nav-burger{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px; margin-left:auto; }
.nav-burger span{ width:24px; height:2px; background:var(--marble); transition:.3s; }

.mobile-menu{ display:none; flex-direction:column; gap:2px; padding:0 32px; max-height:0; overflow:hidden; transition:max-height .35s ease; background:var(--navy-soft); }
.mobile-menu.open{ max-height:420px; padding:12px 32px 24px; }
.mobile-menu a{ padding:13px 4px; font-size:1rem; color:var(--marble); border-bottom:1px solid var(--line-dark); }
.mobile-menu a.btn{ border:none; margin-top:12px; justify-content:center; color:var(--navy); }

/* ---------- Sections ---------- */
.section{ padding:100px 0; }
.section-intro{ max-width:760px; }
.section-intro.center{ margin-inline:auto; }

/* ---------- HERO (full-width panorama, layered title) ---------- */
.hero{ position:relative; display:flex; align-items:center;
  min-height:clamp(540px, 78vh, 720px); background:var(--navy); overflow:hidden; }

/* full-bleed Sydney panorama behind everything */
/* set in CSS (not JS) and preloaded in index.html so it paints with the page */
.hero-media{ position:absolute; inset:0; z-index:0;
  background:var(--navy) url("../img/hero-1920.jpg") center 46% / cover no-repeat;
  filter:contrast(1.05) saturate(.98) brightness(.92); }

/* semi-transparent navy overlay: dark on the left for the title, clearing to
   the right so the skyline stays visible through it */
.hero-overlay{ position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(90deg, rgba(11,29,58,.93) 0%, rgba(11,29,58,.82) 26%, rgba(11,29,58,.5) 55%, rgba(11,29,58,.22) 80%, rgba(11,29,58,.12) 100%),
    linear-gradient(180deg, rgba(7,20,38,.35) 0%, rgba(7,20,38,.15) 40%, rgba(7,20,38,.55) 100%); }

.hero-content{ position:relative; z-index:2; width:100%; }
.hero-copy{ max-width:600px; padding-top:calc(var(--header-h) + 20px); padding-bottom:40px; }
.hero-title{ font-size:clamp(2.6rem,4.8vw,4.1rem); font-weight:500; color:var(--marble); margin:0 0 24px; letter-spacing:-.02em; line-height:1.05; text-shadow:0 2px 24px rgba(7,20,38,.5); }
.hero-title em{ color:var(--marble); font-style:normal; }
.hero-body{ font-size:1.02rem; color:#dfe4ea; max-width:46ch; margin:0 0 32px; text-shadow:0 1px 14px rgba(7,20,38,.5); }
.hero-actions{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.hero-fine{ font-size:.82rem; color:var(--slate-light); margin:28px 0 0; max-width:44ch; }

/* ---------- Stats strip ---------- */
.stats-strip{ background:var(--navy-deep); border-top:1px solid var(--line-dark); }
.stats-inner{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.stat{ padding:34px 20px; text-align:center; border-left:1px solid var(--line-dark); }
.stat:first-child{ border-left:none; }
.stat-num{ display:block; font-family:var(--font-head); font-weight:600; font-size:1.9rem; color:var(--gold-light); line-height:1; }
.stat-num span{ font-size:1.1rem; }
.stat-label{ display:block; font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; color:var(--slate-light); margin-top:10px; }

/* ---------- Services / editorial rows ---------- */
.services{ background:var(--marble); padding-top:110px; }
.feature{ display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:0;
  max-width:calc(var(--maxw) + 120px); margin:0 auto; }
.feature-text{ padding:70px clamp(32px,6vw,90px); }
.feature.reverse .feature-text{ order:2; }
.feature.reverse .feature-media{ order:1; }
.feature-name{ font-size:clamp(1.9rem,3.2vw,2.7rem); font-weight:500; margin:6px 0 10px; }
.feature-tag{ font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; font-weight:600; color:var(--gold-dark); margin:0 0 22px; }
.feature-body{ color:var(--navy); font-size:1.02rem; margin:0 0 28px; max-width:46ch; }
.feature-media{ align-self:stretch; min-height:520px; background-size:cover; background-position:center;
  filter:grayscale(1) contrast(1.04) brightness(.95); position:relative; }
.feature-media::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent, rgba(11,29,58,.18)); }

.landmark{ background:var(--navy); color:var(--marble); border-radius:6px; padding:26px 28px; border-left:3px solid var(--gold); max-width:460px; }
.landmark-k{ font-size:.66rem; letter-spacing:.2em; text-transform:uppercase; color:var(--gold-light); margin:0 0 10px; }
.landmark-name{ font-family:var(--font-head); font-size:1.2rem; margin:0 0 10px; color:var(--marble); }
.landmark-body{ font-size:.9rem; color:var(--slate-light); margin:0; line-height:1.55; }

/* ---------- Quote band ---------- */
.quote-band{ background:var(--marble-2); padding:80px 0; text-align:center; }
.big-quote{ font-family:var(--font-head); font-style:italic; font-weight:400;
  font-size:clamp(1.5rem,3vw,2.2rem); line-height:1.35; color:var(--navy); max-width:20ch; margin:0 auto 22px; max-width:900px; }
.quote-by{ font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; color:var(--gold-dark); font-weight:600; margin:0; }

/* ---------- All services grid ---------- */
.all-services{ padding-top:100px; }
.all-services .section-intro{ margin-bottom:44px; }
.service-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.svc{ background:#fff; border:1px solid var(--line); border-radius:6px; padding:26px 22px; transition:.25s; box-shadow:var(--shadow-soft); }
.svc:hover{ transform:translateY(-5px); box-shadow:var(--shadow-card); border-color:var(--gold); }
.svc-ico{ font-size:1.5rem; display:block; margin-bottom:12px; }
.svc h4{ font-size:1.05rem; margin:0 0 8px; line-height:1.2; }
.svc p{ font-size:.88rem; color:var(--navy); margin:0; }

/* ---------- How we help band ---------- */
.help{ background:var(--navy); background-image:radial-gradient(900px 400px at 85% -10%, rgba(200,169,81,.10), transparent 60%); }
.help-inner{ display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; align-items:center; }
.help-list{ list-style:none; padding:0; margin:0; display:grid; gap:26px; }
.help-list li{ display:flex; flex-direction:column; gap:6px; color:var(--slate-light); font-size:.98rem; padding-left:24px; border-left:2px solid var(--gold); }
.help-list strong{ font-family:var(--font-head); font-weight:600; font-size:1.2rem; color:var(--marble); }

/* ---------- Intake ---------- */
.intake{ background:var(--navy-deep); background-image:radial-gradient(1000px 500px at 10% 0%, rgba(200,169,81,.12), transparent 55%); }
.intake-inner{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; }
.intake-copy .display{ margin-bottom:24px; }
.reassure{ list-style:none; padding:0; margin:30px 0 0; display:flex; flex-direction:column; gap:16px; }
.reassure li{ display:flex; align-items:center; gap:14px; color:var(--slate-light); font-size:.96rem; }
.reassure span{ width:32px; height:32px; flex:none; border-radius:7px; background:rgba(200,169,81,.14); color:var(--gold-light); display:flex; align-items:center; justify-content:center; }
.intake-card{ background:#fff; border-radius:10px; padding:34px; box-shadow:var(--shadow-card); min-width:0; }
.steps{ list-style:none; display:flex; gap:8px; padding:0; margin:0 0 26px; }
.steps li{ flex:1; display:flex; align-items:center; gap:8px; font-size:.74rem; font-weight:600; color:var(--slate); padding-bottom:12px; border-bottom:2px solid var(--line); }
.steps li.active{ color:var(--navy); border-bottom-color:var(--gold); }
.steps b{ width:20px; height:20px; border-radius:50%; background:var(--marble-2); color:var(--slate); display:flex; align-items:center; justify-content:center; font-size:.72rem; }
.steps li.active b{ background:var(--gold); color:var(--navy); }
.field{ margin-bottom:16px; display:flex; flex-direction:column; min-width:0; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.field label{ font-size:.74rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--navy); margin-bottom:7px; }
.field input, .field select, .field textarea{ font-family:var(--font-body); font-size:.95rem; padding:12px 14px;
  border:1.5px solid var(--line); border-radius:7px; background:var(--marble); color:var(--navy); transition:.18s; resize:vertical; width:100%; min-width:0; max-width:100%; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--gold); background:#fff; box-shadow:0 0 0 3px rgba(200,169,81,.15); }
.form-fine{ font-size:.76rem; color:var(--slate); margin:14px 0 0; text-align:center; }
.form-success{ margin:16px 0 0; padding:14px 16px; border-radius:8px; background:rgba(46,160,90,.1); color:#1f7a45; font-weight:600; font-size:.9rem; }

/* ---------- Guide ---------- */
.guide{ background:linear-gradient(90deg, var(--marble) 0 50%, var(--marble-2) 50% 100%); }
.guide-inner{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.guide-card{ background:linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color:var(--marble);
  border-radius:10px; padding:44px; box-shadow:var(--shadow-card); position:relative; }
.guide-doc{ display:inline-flex; width:52px; height:52px; border-radius:10px; background:rgba(200,169,81,.12); align-items:center; justify-content:center; margin-bottom:22px; }
.guide-title{ font-size:1.9rem; font-weight:500; margin:6px 0 16px; color:var(--marble); }
.guide-title em{ color:var(--slate-light); }
.guide-body{ color:var(--slate-light); font-size:.98rem; margin:0 0 26px; }
.chapters{ list-style:none; padding:0; margin:0 0 26px; display:grid; gap:16px; }
.chapters li{ display:flex; gap:16px; align-items:baseline; padding-bottom:16px; border-bottom:1px solid var(--line-dark); font-size:.96rem; color:var(--slate-light); }
.chapters li:last-child{ border-bottom:none; padding-bottom:0; }
.chapters b{ font-family:var(--font-head); color:var(--gold-light); font-size:1rem; }
.chapters strong{ color:var(--marble); font-weight:600; }
.guide-note{ font-size:.76rem; color:var(--slate); margin:0; letter-spacing:.02em; }

.guide-cta .display{ margin:6px 0 18px; }
.capture{ display:flex; gap:12px; margin:26px 0 12px; flex-wrap:wrap; }
.capture input{ flex:1; min-width:200px; font-family:var(--font-body); font-size:.95rem; padding:14px 16px; border:1.5px solid var(--line); border-radius:6px; background:#fff; color:var(--navy); }
.capture input:focus{ outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(200,169,81,.15); }
.capture-note{ font-size:.76rem; color:var(--slate); margin:0 0 34px; }
.badges{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; padding-top:28px; border-top:1px solid var(--line); }
.badge strong{ display:block; font-family:var(--font-head); font-size:.98rem; color:var(--navy); }
.badge span{ font-size:.8rem; color:var(--slate); }

/* ---------- Blogs ---------- */
.blogs{ background:var(--marble); }
.blogs .section-intro{ margin-bottom:44px; }
.blog-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.blog-card{ background:#fff; border:1px solid var(--line); border-radius:8px; overflow:hidden; box-shadow:var(--shadow-soft); transition:.25s; }
.blog-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-card); }
.blog-img{ height:230px; background-size:cover; background-position:center; filter:grayscale(1) contrast(1.03) brightness(.96); }
.blog-body{ padding:28px 30px 32px; }
.blog-tag{ font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; font-weight:600; color:var(--gold-dark); }
.blog-body h3{ font-size:1.35rem; font-weight:500; margin:12px 0 12px; }
.blog-body p{ color:var(--navy); font-size:.95rem; margin:0 0 16px; }
.text-link{ font-weight:600; font-size:.88rem; color:var(--gold-dark); }
.text-link:hover{ color:var(--navy); }

/* ---------- Footer ---------- */
.site-footer{ background:var(--navy-deep); color:var(--slate-light); padding:72px 0 30px; }
.footer-grid{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1.5fr; gap:44px; padding-bottom:44px; border-bottom:1px solid var(--line-dark); }
.brand-light .brand-text{ color:var(--marble); }
.brand-light .brand-sub{ color:var(--gold-light); }
.foot-tag{ font-size:.92rem; margin:18px 0; max-width:30ch; }
.foot-contact{ display:flex; flex-direction:column; gap:8px; font-size:.92rem; font-weight:500; margin-bottom:20px; }
.foot-contact a:hover, .socials a:hover, .foot-col a:hover{ color:var(--gold-light); }
.socials{ display:flex; gap:20px; font-size:.86rem; }
.foot-col h4{ font-family:var(--font-body); font-size:.74rem; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-light); margin-bottom:18px; }
.foot-col a{ display:block; font-size:.9rem; padding:5px 0; color:var(--slate-light); }
.foot-legal p{ font-size:.82rem; line-height:1.55; margin:0 0 12px; }
.foot-legal .disclaimer{ color:var(--slate); }
.foot-legal-links{ display:flex; gap:18px; margin-top:6px; }
.foot-legal-links a{ font-size:.82rem; color:var(--gold-light); }
.foot-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:24px; font-size:.82rem; color:var(--slate); flex-wrap:wrap; gap:10px; }

/* ---------- Sticky bottom bar ---------- */
.sticky-bar{ position:fixed; left:0; right:0; bottom:0; z-index:70; background:var(--navy);
  border-top:1px solid var(--line-dark); transform:translateY(100%); transition:transform .35s ease; }
.sticky-bar.show{ transform:translateY(0); }
.sticky-inner{ display:flex; align-items:center; justify-content:space-between; height:64px; gap:16px; }
.sticky-msg{ font-size:.9rem; color:var(--slate-light); }
.sticky-msg strong{ color:var(--marble); font-family:var(--font-head); font-weight:600; }
.sticky-actions{ display:flex; align-items:center; gap:20px; }
.sticky-phone{ font-size:.9rem; font-weight:600; color:var(--gold-light); }

/* ---------- Reveal ---------- */
.reveal{ opacity:0; transform:translateY(34px); transition:opacity 1.2s cubic-bezier(.16,1,.3,1), transform 1.2s cubic-bezier(.16,1,.3,1); }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .reveal{ transition:none; opacity:1; transform:none; } }

/* ---------- Large / ultrawide monitors ----------
   Proportionally scale the whole page (type, spacing, images) and widen the
   content column so it doesn't sit in a narrow strip on 27"+ / 34–35" screens.
   Media queries read the real viewport, so zoom doesn't feed back into them. */
@media (min-width:1800px){
  :root{ --maxw:1280px; --zoom:1.1; }
  body{ zoom:var(--zoom); }
  html{ scroll-padding-top:calc(var(--header-h) * var(--zoom)); }
}
@media (min-width:2300px){
  :root{ --maxw:1400px; --zoom:1.25; }
}
@media (min-width:3000px){
  :root{ --maxw:1520px; --zoom:1.4; }
}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  .service-grid{ grid-template-columns:repeat(2,1fr); }
}
/* portrait tablets wider than 900px (iPad Pro, Surface): content-sized hero, no empty band */
@media (orientation:portrait) and (min-width:901px) and (max-width:1100px){
  .hero{ min-height:0; }
  .hero-copy{ padding-bottom:48px; }
}
@media (max-width:900px){
  .nav-links, .nav-cta{ display:none; }
  .nav-burger{ display:flex; }
  .mobile-menu{ display:flex; }
  .hero{ min-height:0; } /* size to content: a vh min-height left an empty band on tall phones */
  .hero-copy{ padding-top:calc(var(--header-h) + 40px); padding-bottom:48px; max-width:none; }
  /* stronger, more even overlay so the title reads over the full-width image on narrow screens */
  .hero-overlay{ background:
      linear-gradient(180deg, rgba(11,29,58,.82) 0%, rgba(11,29,58,.6) 45%, rgba(7,20,38,.72) 100%); }

  .stats-inner{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .stat:nth-child(3){ border-left:none; }
  .feature, .feature.reverse{ grid-template-columns:1fr; }
  .feature .feature-media, .feature.reverse .feature-media{ order:-1; min-height:320px; }
  .feature .feature-text, .feature.reverse .feature-text{ order:0; padding:48px 32px; }
  .help-inner, .intake-inner, .guide-inner{ grid-template-columns:1fr; gap:40px; }
  .guide{ background:var(--marble-2); }
  .section{ padding:72px 0; }
  .footer-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px; }
}
@media (max-width:560px){
  .container{ padding:0 20px; }
  .service-grid, .blog-grid, .footer-grid, .badges{ grid-template-columns:1fr; }
  .stats-inner{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .stat{ padding:28px 10px; }
  .stat-num{ font-size:clamp(1.35rem,7vw,1.9rem); }
  .stat-num span{ font-size:.8em; }
  /* the long "Australia-wide" figure: smaller on small phones so it stays on one line */
  .stat:nth-child(3) .stat-num{ font-size:clamp(1.05rem,5vw,1.9rem); white-space:nowrap; }
  .stat:nth-child(3) .stat-num span{ font-size:1em; }
  .field-row{ grid-template-columns:1fr; }
  .hero-actions{ flex-direction:column; align-items:flex-start; gap:14px; }
  .hero-actions .btn-gold{ width:100%; }
  .steps li b{ display:none; }
  .sticky-msg{ display:none; }
  .sticky-inner{ justify-content:center; }
  .sticky-actions{ width:100%; justify-content:space-between; }
  .foot-bottom{ justify-content:flex-start; }
}

/* ============================================================
   SUBPAGES · FLOATING ELIGIBILITY TAB · SERVICE PAGES
   ============================================================ */

/* real logo image in header/footer */
/* horizontal logo (gem + wordmark side by side) so "GOLDSTONE MIGRATION" stays readable */
.brand-img{ height:48px; width:auto; max-width:none; display:block; }
.site-footer .brand-img{ height:54px; }
@media (max-width:560px){ .brand-img{ height:40px; } .site-footer .brand-img{ height:46px; } }

/* Floating vertical "Visa Eligibility" tab */
.elig-tab{ position:fixed; right:0; top:50%; transform:translateY(-50%); z-index:66;
  display:flex; align-items:center; gap:10px; padding:18px 12px;
  background:var(--gold); color:var(--navy); font-weight:700; font-size:.74rem;
  letter-spacing:.18em; text-transform:uppercase; writing-mode:vertical-rl; text-orientation:mixed;
  border-radius:8px 0 0 8px; box-shadow:-6px 8px 26px rgba(7,20,38,.28);
  transition:background .2s ease, padding .2s ease; }
.elig-tab:hover{ background:var(--gold-light); padding-right:16px; }
.elig-tab svg{ transform:rotate(90deg); }
@media (max-width:560px){ .elig-tab{ font-size:.66rem; padding:14px 9px; letter-spacing:.12em; } }

/* Subpages keep the header solid navy (no transparent-over-hero) */
body.subpage .site-header{ position:sticky; background:var(--navy); border-bottom-color:var(--line-dark); }
body.subpage .site-header::before{ display:none; }

/* Page banner (compact hero for subpages) */
.page-banner{ background:linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%);
  background-image:radial-gradient(900px 380px at 85% -20%, rgba(200,169,81,.12), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%);
  padding:66px 0 60px; }
.crumb{ font-size:.78rem; color:var(--slate-light); margin:0 0 20px; }
.crumb a:hover{ color:var(--gold-light); }
.crumb span{ color:var(--gold-light); }
.page-banner h1{ font-size:clamp(2.1rem,4.4vw,3.3rem); font-weight:500; color:var(--marble); max-width:20ch; }
.page-banner .lead{ margin-top:18px; max-width:60ch; }

/* Subpage two-column layout */
.subwrap{ display:grid; grid-template-columns:1fr 340px; gap:56px; align-items:start; padding:80px 0; }
.prose > section{ margin-bottom:44px; }
.prose h2{ font-size:1.7rem; font-weight:500; margin:0 0 8px; }
.prose h2 + .kicker{ margin-top:0; }
.prose .accent{ display:block; width:54px; height:2px; background:var(--gold); margin:14px 0 20px; }
.prose p{ color:var(--navy); font-size:1.02rem; margin:0 0 16px; }
.prose ul{ list-style:none; padding:0; margin:0 0 18px; display:grid; gap:12px; }
.prose ul li{ position:relative; padding-left:30px; color:var(--navy); font-size:.98rem; }
.prose ul li::before{ content:""; position:absolute; left:0; top:8px; width:12px; height:12px; border-radius:3px;
  background:var(--gold); box-shadow:0 0 0 4px rgba(200,169,81,.15); }
.prose ul li strong{ font-weight:600; }
.prose ul ul{ margin:10px 0 0; gap:8px; }
.prose ul ul li{ padding-left:24px; }
.prose ul ul li::before{ top:9px; width:8px; height:8px; border-radius:50%; background:transparent;
  border:1.5px solid var(--gold); box-shadow:none; }
.prose .pill-list{ display:flex; flex-wrap:wrap; gap:10px; margin:4px 0 20px; }
.prose .pill{ background:var(--marble-2); border:1px solid var(--line); border-radius:999px; padding:7px 16px; font-size:.85rem; font-weight:600; color:var(--navy); }
.callout{ background:var(--navy); color:var(--marble); border-left:3px solid var(--gold); border-radius:6px; padding:24px 26px; margin:6px 0 0; }
.callout p{ color:var(--slate-light); margin:0; font-size:.96rem; }
.callout strong{ color:var(--marble); }

/* Sidebar */
.side{ position:sticky; top:100px; display:flex; flex-direction:column; gap:22px; }
.side-card{ background:#fff; border:1px solid var(--line); border-radius:10px; padding:26px; box-shadow:var(--shadow-soft); }
.side-card h3{ font-family:var(--font-body); font-size:.76rem; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-dark); margin:0 0 16px; }
.side-links a{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:11px 0; border-bottom:1px solid var(--line); font-size:.92rem; color:var(--navy); transition:.15s; }
.side-links a:last-child{ border-bottom:none; }
.side-links a:hover{ color:var(--gold-dark); padding-left:4px; }
.side-links a.current{ color:var(--gold-dark); font-weight:600; }
.side-links a::after{ content:"→"; opacity:0; transition:.15s; }
.side-links a:hover::after{ opacity:1; }
.side-contact{ background:var(--navy); color:var(--marble); }
.side-contact h3{ color:var(--gold-light); }
.side-contact a{ display:flex; align-items:center; gap:10px; color:var(--marble); font-size:.95rem; padding:7px 0; }
.side-contact a:hover{ color:var(--gold-light); }
.side-contact .btn{ margin-top:16px; }

/* CTA band on subpages */
.cta-band{ background:var(--navy-deep); background-image:radial-gradient(900px 400px at 15% 120%, rgba(200,169,81,.12), transparent 60%); text-align:center; }
.cta-band .display{ margin:0 auto 14px; max-width:18ch; }
.cta-band .lead{ margin:0 auto 28px; max-width:52ch; }

/* Eligibility form page */
/* The intake form (matter-intake.com.au) is cross-origin and sends no resize
   messages, so the iframe is given a fixed height tall enough for its longest
   section. The page does the scrolling, not a box inside the page. */
.elig-embed{ background:#fff; border:1px solid var(--line); border-radius:12px; overflow:hidden; box-shadow:var(--shadow-card);
  scroll-margin-top:calc(var(--header-h) + 16px); }
.elig-embed iframe{ width:100%; height:1420px; border:0; display:block; }
/* contact form: the intake app pads ~100px of grey below its card; tuck that
   under the wrapper's overflow:hidden so the card ends near the frame edge */
.contact-page .elig-embed iframe{ height:1300px; margin-bottom:-100px; }
/* sized for the usual case where Cloudflare's human check runs invisibly; if the
   visible checkbox appears the form scrolls slightly inside the frame instead */
/* fits the card of the longest section we can measure ("Other" ends at ~1761px) */
.elig-layout .elig-embed iframe{ height:1790px; margin-bottom:-110px; }   /* hide the form app's own grey bottom padding */
.elig-layout{ display:grid; grid-template-columns:1fr; gap:28px; padding:48px 0 70px; }
.elig-top{ margin:-12px 0 0; text-align:right; font-size:.86rem; }
.elig-top a, .elig-alt a{ color:var(--gold-dark); font-weight:600; }
.elig-alt{ margin:0; text-align:center; color:var(--slate); overflow-wrap:anywhere; }
@media (max-width:560px){
  .elig-layout{ padding:24px 0 56px; gap:22px; }
  /* full-bleed form on phones: no side gutter or card chrome eating width */
  .elig-layout .elig-embed{ margin:0 -20px; border-radius:0; border-left:0; border-right:0; }
  /* phones: fits the first section; the long "Other" section (~2450px) scrolls inside, as it already did */
  .elig-layout .elig-embed iframe{ height:1760px; margin-bottom:-80px; }
  .contact-page .elig-embed iframe{ height:1340px; }
  .elig-top{ text-align:center; }
}
.journey-mini{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:8px; }
.jm{ background:#fff; border:1px solid var(--line); border-radius:10px; padding:26px; box-shadow:var(--shadow-soft); }
.jm b{ font-family:var(--font-head); font-size:1.9rem; color:var(--gold); display:block; }
.jm h4{ font-size:1.25rem; margin:6px 0 4px; }
.jm span{ font-size:.8rem; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-dark); font-weight:600; }
.jm p{ color:var(--navy); font-size:.92rem; margin:10px 0 0; }

@media (max-width:900px){
  .subwrap{ grid-template-columns:1fr; gap:40px; padding:56px 0; }
  .side{ position:static; }
  .journey-mini{ grid-template-columns:1fr; }
}

/* ---------- Contact page ---------- */
.contact-page{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:48px; align-items:start; padding:80px 0 40px; }
.contact-info{ display:flex; flex-direction:column; gap:18px; }
.contact-info .lead{ margin:0 0 6px; }
.ci-card{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:26px 28px; box-shadow:var(--shadow-soft); display:flex; gap:16px; align-items:flex-start; }
.ci-card .ci-ico{ width:46px; height:46px; flex:none; border-radius:12px; background:rgba(200,169,81,.14); color:var(--gold-dark); display:flex; align-items:center; justify-content:center; font-size:1.25rem; }
.ci-card small{ display:block; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--slate); margin-bottom:4px; font-weight:600; }
.ci-card a, .ci-card span.big{ font-family:var(--font-head); font-size:1.24rem; color:var(--navy); overflow-wrap:anywhere; }
.ci-card > div{ min-width:0; }
.ci-card a:hover{ color:var(--gold-dark); }
.ci-socials{ display:flex; gap:12px; margin-top:2px; }
.ci-socials a{ flex:1; text-align:center; background:var(--navy); color:var(--marble); border-radius:8px; padding:12px; font-size:.85rem; font-weight:600; transition:.2s; }
.ci-socials a:hover{ background:var(--gold); color:var(--navy); }
.contact-form-head{ margin:0 0 16px; }

/* Testimonials */
.tsection{ background:var(--marble-2); }
.tgrid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:44px; }
.tcard{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:30px 28px; box-shadow:var(--shadow-soft); }
.tcard .stars{ color:var(--gold); letter-spacing:3px; font-size:.9rem; margin-bottom:14px; }
.tcard p{ font-family:var(--font-head); font-style:italic; font-size:1.05rem; line-height:1.5; color:var(--navy); margin:0 0 16px; }
.tcard .tby{ font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; font-weight:600; color:var(--gold-dark); }

@media (max-width:900px){
  /* minmax(0,1fr) so the long email address can't push the column wider than the screen */
  .contact-page{ grid-template-columns:minmax(0,1fr); gap:34px; padding:56px 0 24px; }
  .tgrid{ grid-template-columns:1fr; }
}

/* ---------- Google Reviews badge (in stats strip) ---------- */
.stat-google{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px;
  text-decoration:none; cursor:pointer; transition:background .2s ease; }
.stat-google:hover{ background:rgba(255,255,255,.04); }
.g-row{ display:inline-flex; align-items:center; gap:9px; }
.g-logo{ flex:none; }
.g-rating{ font-family:var(--font-head); font-weight:600; font-size:1.05rem; color:var(--gold); line-height:1; }
.g-stars{ color:var(--gold); letter-spacing:2px; font-size:1rem; }
.stat-google .stat-label{ margin-top:0; transition:color .2s ease; }
.stat-google:hover .stat-label{ color:var(--gold-light); }

/* ============================================================
   TESTIMONIES — Google Reviews carousel (swipe / arrows / dots)
   ============================================================ */
.tstmy{ position:relative; background:var(--marble);
  background-image:radial-gradient(900px 460px at 50% -10%, rgba(200,169,81,.08), transparent 60%);
  overflow:hidden; text-align:center; }
.tstmy .eyebrow{ color:var(--gold-dark); }
.tstmy-mark{ display:block; font-family:var(--font-head); font-size:6rem; line-height:.7; color:var(--gold);
  opacity:.6; margin:6px 0 -14px; }
.tstmy-viewport{ overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.tstmy-viewport::-webkit-scrollbar{ display:none; }
.tstmy-track{ display:flex; }
.tstmy-slide{ flex:0 0 100%; scroll-snap-align:center; padding:14px clamp(4px,4vw,60px) 6px;
  display:flex; flex-direction:column; align-items:center; }
.tstmy-stars{ color:var(--gold); letter-spacing:4px; font-size:1.1rem; margin-bottom:20px; }
.tstmy-quote{ font-family:var(--font-head); font-weight:400; font-style:italic;
  font-size:clamp(1.25rem,2.4vw,1.75rem); line-height:1.5; color:var(--navy);
  max-width:820px; margin:0 auto 24px; }
.tstmy-cite{ margin:0; color:var(--slate); font-size:.9rem; }
.tstmy-cite strong{ display:block; font-family:var(--font-head); font-style:normal; font-weight:600;
  font-size:1.05rem; color:var(--navy); margin-bottom:3px; letter-spacing:.01em; }
.tstmy-controls{ display:flex; align-items:center; justify-content:center; gap:22px; margin-top:30px; }
.tstmy-arrow{ width:46px; height:46px; border-radius:50%; border:1.5px solid var(--line);
  background:#fff; color:var(--gold-dark); font-size:1.4rem; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:.2s; box-shadow:var(--shadow-soft); }
.tstmy-arrow:hover{ background:var(--gold); color:var(--navy); border-color:var(--gold); }
.tstmy-dots{ display:flex; gap:9px; }
.tstmy-dot{ width:8px; height:8px; border-radius:50%; border:none; padding:0; cursor:pointer;
  background:rgba(11,29,58,.18); transition:.2s; }
.tstmy-dot.active{ background:var(--gold); transform:scale(1.25); }
.tstmy-google{ display:inline-flex; align-items:center; gap:10px; margin-top:34px;
  padding:12px 22px; border:1px solid var(--line); border-radius:999px;
  background:#fff; color:var(--slate); font-size:.92rem; transition:.2s; box-shadow:var(--shadow-soft); }
.tstmy-google:hover{ border-color:var(--gold); color:var(--navy); }
.tstmy-google strong{ color:var(--gold-dark); }
@media (max-width:560px){
  .tstmy-mark{ font-size:4.5rem; }
  .tstmy-controls{ gap:16px; }
}

/* ---------- Accreditations / memberships strip (white row before footer) ---------- */
/* tighten the gap between the "Latest articles" (blogs) section and this strip */
.blogs{ padding-bottom:44px; }
.accred{ background:#ffffff; border-top:1px solid var(--line); padding:30px 0 32px; }
.accred-label{ text-align:center; font-size:.72rem; letter-spacing:.22em; text-transform:uppercase;
  font-weight:600; color:var(--gold-dark); margin:0 0 16px; }
.accred-row{ display:flex; align-items:center; justify-content:center; flex-wrap:wrap;
  gap:clamp(48px,10vw,140px); }
.accred-logo{ width:auto; object-fit:contain; filter:grayscale(1); opacity:.82;
  transition:opacity .2s ease; }
.accred-logo:hover{ opacity:1; }
/* per-logo heights tuned so the logo *content* reads at the same visual weight
   (each image bakes in a different amount of caption/whitespace) */
.accred-logo.mia{ max-height:112px; }
.accred-logo.mma{ max-height:80px; }
.accred-logo.law{ max-height:78px; }
.accred-logo.immig{ max-height:96px; }
@media (max-width:560px){
  .accred{ padding:26px 0 28px; }
  /* 2 x 2 grid on phones so the four logos sit evenly instead of wrapping 3 + 1 */
  .accred-row{ display:grid; grid-template-columns:1fr 1fr; gap:28px 20px; justify-items:center; }
  .accred-logo{ max-width:100%; }
  .accred-logo.mia{ max-height:84px; }
  .accred-logo.mma{ max-height:60px; }
  .accred-logo.law{ max-height:58px; }
  .accred-logo.immig{ max-height:76px; }
}

/* accordion sub-headings within service prose */
.prose h3.prose-h3{ font-size:1.18rem; font-weight:600; margin:22px 0 8px; color:var(--navy); }

/* ============================================================
   ABOUT US PAGE
   ============================================================ */
.rule.rule-left{ margin:22px 0 0; }
.about-intro{ background:var(--marble); }
.about-intro-inner{ display:grid; grid-template-columns:.85fr 1.15fr; gap:64px; align-items:start; }
.about-copy p{ color:var(--slate); font-size:1.04rem; margin:0 0 18px; }
.about-copy p:first-child{ font-family:var(--font-head); font-size:1.28rem; line-height:1.5; color:var(--navy); }

.about-values{ background:var(--marble-2); }
.about-values .section-intro{ margin-bottom:44px; }
.value-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.value-card{ background:#fff; border:1px solid var(--line); border-top:3px solid var(--gold); border-radius:10px;
  padding:28px 24px; box-shadow:var(--shadow-soft); }
.value-card b{ font-family:var(--font-head); font-size:1rem; color:var(--gold-dark); }
.value-card h3{ font-size:1.4rem; font-weight:500; margin:8px 0 10px; }
.value-card p{ color:var(--slate); font-size:.93rem; margin:0; }

.principals{ background:var(--marble); }
.principals .section-intro{ margin-bottom:48px; }
.person{ display:grid; grid-template-columns:minmax(260px,400px) 1fr; gap:0; background:#fff;
  border:1px solid var(--line); border-radius:14px; overflow:hidden; box-shadow:var(--shadow-card);
  max-width:1040px; margin:0 auto; }
.person + .person{ margin-top:32px; }
.person-photo{ position:relative; background:var(--navy); min-height:100%; }
.person-photo img{ width:100%; height:100%; object-fit:cover; object-position:center 20%; }
.person-photo::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:4px; background:var(--gold); }
.person-body{ padding:44px clamp(26px,4vw,52px); }
.person-body .eyebrow{ margin-bottom:10px; }
.person-name{ font-size:clamp(1.9rem,3.4vw,2.5rem); font-weight:500; margin:0 0 6px; }
.person-role{ font-size:.8rem; letter-spacing:.12em; text-transform:uppercase; font-weight:600; color:var(--slate); margin:0 0 22px; }
.person-body > p:not([class]){ color:var(--slate); font-size:1rem; margin:0 0 16px; }
.person-facts{ list-style:none; padding:0; margin:22px 0 28px; display:grid; gap:10px; }
.person-facts li{ position:relative; padding-left:26px; font-size:.95rem; color:var(--navy); }
.person-facts li::before{ content:""; position:absolute; left:0; top:8px; width:10px; height:10px; border-radius:3px;
  background:var(--gold); box-shadow:0 0 0 4px rgba(200,169,81,.15); }
.person-actions{ display:flex; align-items:center; gap:24px; flex-wrap:wrap; }

.about-process{ background:var(--marble-2); }
.about-process .section-intro{ margin-bottom:40px; }
.cta-actions{ display:flex; justify-content:center; align-items:center; gap:20px; flex-wrap:wrap; }

@media (max-width:1024px){
  .value-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:900px){
  .about-intro-inner{ grid-template-columns:1fr; gap:28px; }
  .person{ grid-template-columns:1fr; max-width:560px; }
  .person-photo{ aspect-ratio:4/5; max-height:520px; }
  .person-body{ padding:32px 26px 36px; }
}
@media (max-width:560px){
  .value-grid{ grid-template-columns:1fr; }
  .about-copy p:first-child{ font-size:1.15rem; }
  .person-actions{ flex-direction:column; align-items:stretch; gap:16px; text-align:center; }
  .person-actions .btn{ width:100%; }
  .cta-actions{ flex-direction:column; gap:12px; }
  .cta-actions .btn-gold{ width:100%; }
}

/* ============================================================
   YOUTUBE VIDEOS (links managed in /admin, data/videos.json)
   ============================================================ */
.video-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; margin-top:6px; }
.video-grid.single{ grid-template-columns:minmax(0,1fr); }
.video-card{ margin:0; }
.video-frame{ position:relative; display:block; width:100%; aspect-ratio:16/9; border:0; padding:0; border-radius:10px;
  overflow:hidden; background:var(--navy) center/cover no-repeat; box-shadow:var(--shadow-soft); cursor:pointer; }
/* thumbnail shading only; the playing iframe must get every click (pause, seek, share, YouTube link) */
button.video-frame::after{ content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(180deg, transparent 55%, rgba(7,20,38,.35)); }
.video-frame iframe{ z-index:2; }
.video-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-play{ position:absolute; left:50%; top:50%; z-index:1; width:68px; height:68px; margin:-34px 0 0 -34px; border-radius:50%;
  background:var(--gold); color:var(--navy); display:flex; align-items:center; justify-content:center; padding-left:4px;
  box-shadow:0 10px 30px rgba(7,20,38,.35); transition:transform .2s ease, background .2s ease; }
button.video-frame:hover .video-play, button.video-frame:focus-visible .video-play{ transform:scale(1.08); background:var(--gold-light); }
button.video-frame:focus-visible{ outline:3px solid var(--gold); outline-offset:3px; }
.video-card figcaption{ margin-top:10px; font-family:var(--font-head); font-size:1.02rem; color:var(--navy); line-height:1.35; }
.prose .video-section p{ margin-bottom:18px; }
.about-videos{ background:var(--marble); padding-bottom:0; }
.about-videos .section-intro{ margin-bottom:40px; }
.about-videos .video-grid{ max-width:1040px; margin:0 auto; }
.about-videos .video-grid.single{ max-width:820px; }
@media (max-width:700px){
  .video-grid{ grid-template-columns:minmax(0,1fr); gap:20px; }
  .video-play{ width:58px; height:58px; margin:-29px 0 0 -29px; }
}

/* ============================================================
   BLOG (posts managed in /admin, published to data/posts.json)
   ============================================================ */
.blog-grid-3{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.blog-img-link{ display:block; }
.blog-body h3 a{ color:inherit; }
.blog-body h3 a:hover{ color:var(--gold-dark); }
.blog-date{ font-size:.78rem; color:var(--slate); margin-left:8px; }
.blog-all{ text-align:center; margin:40px 0 0; }
.blog-index{ padding-bottom:90px; }
.blog-missing{ background:#fff; border:1px solid var(--line); border-radius:10px; padding:20px 24px; color:var(--slate); margin:0 0 30px; }

.post-banner h1{ max-width:24ch; }
.post-byline{ margin:18px 0 0; display:flex; align-items:center; gap:12px; flex-wrap:wrap; color:var(--slate-light); font-size:.9rem; }
.post-byline .blog-tag{ color:var(--gold-light); }
.post-wrap{ padding-top:56px; }
.post-body{ min-width:0; }
.post-cover{ width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:12px; margin:0 0 34px; box-shadow:var(--shadow-soft); }
.post-video{ margin:0 0 34px; }
.post-body h2{ margin:38px 0 14px; }
.post-body h2:first-child{ margin-top:0; }
.post-body h3{ font-size:1.25rem; font-weight:600; margin:28px 0 10px; }
.post-body p{ font-size:1.06rem; line-height:1.75; }
.post-body a:not(.btn){ color:var(--gold-dark); font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.post-body ol{ padding-left:22px; margin:0 0 18px; color:var(--navy); }
.post-body ol li{ margin-bottom:10px; padding-left:4px; }
.post-body blockquote{ margin:26px 0; padding:4px 0 4px 22px; border-left:3px solid var(--gold); }
.post-body blockquote p{ font-family:var(--font-head); font-style:italic; font-size:1.25rem; line-height:1.5; color:var(--navy); margin:0; }
.post-disclaimer{ margin-top:40px; }
.post-disclaimer a{ color:var(--gold-light) !important; }

@media (max-width:1024px){
  .blog-grid-3{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px){
  .blog-grid-3{ grid-template-columns:minmax(0,1fr); }
  .post-wrap{ padding-top:36px; }
  .post-body p{ font-size:1rem; }
  .blog-all .btn{ width:100%; }
}
/* posts without a cover photo get a branded panel instead of an empty box */
.blog-img{ background-color:var(--navy);
  background-image:radial-gradient(420px 220px at 85% 0%, rgba(200,169,81,.28), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); }
.blog-img:not([style*="background-image"]){ filter:none; }

/* Contact page social icons (brand colour on hover) */
.ci-socials a.ci-social{ display:flex; align-items:center; justify-content:center; padding:14px; min-height:52px; }
.ci-socials a.ci-social svg{ display:block; }
.ci-socials a.ci-social.fb:hover{ background:#1877f2; color:#fff; }
.ci-socials a.ci-social.ig:hover{ background:radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); color:#fff; }
.ci-socials a.ci-social.li:hover{ background:#0a66c2; color:#fff; }
.ci-socials a.ci-social:focus-visible{ outline:3px solid var(--gold); outline-offset:2px; }

/* the wider horizontal logo needs the hamburger menu a little earlier (small laptops / tablets) */
@media (max-width:1023px){
  .nav-links, .nav-cta{ display:none; }
  .nav-burger{ display:flex; }
  .mobile-menu{ display:flex; }
}
.mobile-menu.open{ max-height:640px; }

/* Terms & Privacy pages */
.prose.legal h3{ font-size:1.12rem; font-weight:600; margin:24px 0 8px; color:var(--navy); }
.prose.legal h2 + .accent + h3{ margin-top:4px; }
.prose.legal a:not(.btn){ color:var(--gold-dark); font-weight:600; overflow-wrap:anywhere; }
.prose.legal .callout a{ color:var(--gold-light); }
.prose.legal .callout p + p{ margin-top:12px; }

/* phone menu: collapsible "Our Services" (built in main.js from the desktop dropdown) */
.mobile-menu.open{ max-height:calc(100vh - var(--header-h)); max-height:calc(100dvh - var(--header-h)); overflow-y:auto; }
.mm-toggle{ display:flex; align-items:center; justify-content:space-between; width:100%; padding:13px 4px; background:none; border:0;
  border-bottom:1px solid var(--line-dark); color:var(--marble); font:inherit; font-size:1rem; text-align:left; cursor:pointer; }
.mm-toggle svg{ transition:transform .25s ease; }
.mm-toggle[aria-expanded="true"]{ color:var(--gold-light); }
.mm-toggle[aria-expanded="true"] svg{ transform:rotate(180deg); }
.mm-sub[hidden]{ display:none; }
.mm-sub{ display:flex; flex-direction:column; padding:4px 0 8px 14px; border-bottom:1px solid var(--line-dark); }
.mobile-menu .mm-sub a{ padding:10px 4px; font-size:.93rem; color:var(--slate-light); border-bottom:0; }
.mobile-menu .mm-sub a:hover, .mobile-menu .mm-sub a.current{ color:var(--gold-light); }

/* the fixed bottom bar (homepage only) must not cover the end of the footer */
body:has(#stickyBar) .site-footer{ padding-bottom:calc(30px + 64px + env(safe-area-inset-bottom, 0px)); }

@media (max-width:900px){ .hero-media{ background-image:url("../img/hero-1080.jpg"); } }
