/* ==========================================================================
   TFS Painting Services — tfspainting.com.au
   Brand colours sampled from the TFS logo (navy #051D43 / red #EB1C24),
   paired with the cream paper, gold hairlines and Fraunces serif from the
   approved design draft.
   ========================================================================== */

/* --------------------------------------------------------------- tokens - */
:root {
  interpolate-size: allow-keywords;
  --navy:       #051D43;
  --navy-deep:  #030F24;
  --navy-soft:  #0B2A5C;
  --red:        #EB1C24;
  --red-deep:   #C2141B;
  --gold:       #C69A5C;
  --gold-soft:  #E4CDA6;
  --gold-ink:   #8A6B40;   /* gold that passes AA as text on white/cream */
  --red-ink:    #DF1A22;   /* red that passes AA as text on white/cream */
  --red-btn:    #DE1A21;   /* red that passes AA behind white button text */

  --ink:        #131A26;
  --body:       #4C5666;
  --muted:      #687282;
  --line:       rgba(5, 29, 67, .12);
  --line-soft:  rgba(5, 29, 67, .07);

  --paper:      #FFFFFF;
  --cream:      #FBF7EF;
  --cream-deep: #F4EEE2;

  --shadow-sm:  0 1px 2px rgba(5,29,67,.06), 0 1px 3px rgba(5,29,67,.05);
  --shadow:     0 12px 28px rgba(5,29,67,.10), 0 2px 6px rgba(5,29,67,.05);
  --shadow-lg:  0 26px 56px rgba(5,29,67,.16), 0 6px 14px rgba(5,29,67,.06);

  --font-head:  'AmpersandSans', 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:  'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --wrap:       1180px;
  --gutter:     24px;
  --section-y:  clamp(3.5rem, 7vw, 6.5rem);
  --header-h:   76px;
  --ease:       cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------- ampersand ---
   Fraunces ships a very ornate ampersand that reads as a symbol rather
   than an "&". This face covers U+0026 only, so headings borrow Work
   Sans' plain ampersand and take every other glyph from Fraunces.
   If the file ever fails to load, U+0026 simply falls back to Fraunces —
   i.e. back to the old look, nothing breaks. */
@font-face {
  font-family: 'AmpersandSans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/worksans/v24/QGYsz_wNahGAdqQ43Rh_fKDp.woff2) format('woff2');
  unicode-range: U+0026;
}

/* --------------------------------------------------------------- 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 {
  position: relative;
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.012em;
  margin: 0 0 .55em;
}
h1 { font-size: clamp(2.15rem, 5.2vw, 3.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.3rem); }
h4 { font-size: 1rem; }

a { color: var(--navy); text-decoration-color: rgba(5,29,67,.28); text-underline-offset: 3px; }
a:hover { color: var(--red-ink); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  /* never leave revealed content stuck at opacity 0 */
  .sr, .sr-stagger > *, .reveal-up { opacity: 1 !important; transform: none !important; }
}

.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 2000;
  background: var(--navy); color: #fff; padding: 12px 18px;
  border-radius: 0 0 4px 4px; font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.visually-hidden > * { max-width: 100%; }

/* --------------------------------------------------------------- layout - */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.hero-grid > *, .welcome > *, .tony > *, .quote-wrap > *,
.pillar-grid > *, .diff-list > *, .review-grid > *, .service-row > * { min-width: 0; }
.section { padding-block: var(--section-y); position: relative; }
.section.alt { background: var(--cream); }
.section.navy { background: var(--navy); color: rgba(255,255,255,.80); }
.section.navy h2, .section.navy h3 { color: #fff; }

.kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-body);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 28px; height: 1.5px; background: var(--gold); flex: none; }
.kicker.no-rule::before { display: none; }

.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker::before { display: none; }
.section-head > p:not(.kicker) { font-size: 1.1rem; color: var(--muted); margin-bottom: 0; }
.section.navy .section-head > p:not(.kicker) { color: rgba(255,255,255,.72); }

/* --------------------------------------------------------------- buttons - */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-size: .97rem; font-weight: 600; line-height: 1;
  padding: 1rem 1.7rem;
  border: 1.5px solid transparent; border-radius: 4px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background-color .28s ease, color .28s ease, border-color .28s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--red-btn); border-color: var(--red-btn); color: #fff; box-shadow: 0 10px 24px rgba(235,28,36,.26); }
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(235,28,36,.34); }

.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: #fff; transform: translateY(-2px); }

.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

.btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--navy); transform: translateY(-2px); }

.btn-sm { padding: .68rem 1.15rem; font-size: .875rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: none;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------- header - */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  background: transparent;
  transition: background .4s ease, box-shadow .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.solid,
.site-header.scrolled {
  background: rgba(5,29,67,.96);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom-color: rgba(255,255,255,.08);
  box-shadow: 0 8px 26px rgba(3,15,36,.22);
}
.header-inner { display: flex; align-items: center; gap: 1.1rem; height: var(--header-h);
  transition: height .35s var(--ease); }

.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 50%; padding: 3px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: #fff; letter-spacing: -.01em; }
.brand-tag { font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

.primary-nav > ul { display: flex; align-items: center; gap: 2px; }
.primary-nav a, .primary-nav .drop-btn {
  position: relative; display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-body); font-size: .9rem; font-weight: 500;
  color: rgba(255,255,255,.86); text-decoration: none;
  padding: .65rem .85rem; border-radius: 3px;
  background: none; border: none; cursor: pointer;
  transition: color .25s ease;
}
.primary-nav a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .4rem;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"], .primary-nav .drop-btn:hover { color: #fff; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .drop-btn svg { width: 11px; height: 11px; transition: transform .3s var(--ease); }
.drop:hover .drop-btn svg, .drop:focus-within .drop-btn svg { transform: rotate(180deg); }

.drop { position: static; }

.header-actions { display: flex; align-items: center; gap: .65rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .93rem; color: #fff; text-decoration: none; white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; color: var(--gold); }
.header-phone:hover { color: var(--gold); }

.burger {
  display: none; width: 44px; height: 44px; flex: none;
  border: 1px solid rgba(255,255,255,.3); border-radius: 4px;
  background: transparent; cursor: pointer; position: relative;
}
.burger i, .burger i::before, .burger i::after {
  content: ""; position: absolute; left: 11px; right: 11px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s ease;
}
.burger i { top: 21px; }
.burger i::before { top: -7px; left: 0; right: 0; }
.burger i::after  { top:  7px; left: 0; right: 0; }
.burger[aria-expanded="true"] i { background: transparent; }
.burger[aria-expanded="true"] i::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i::after  { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.scrim {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(3,15,36,.55); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
}
.scrim.open { opacity: 1; visibility: visible; }

.mobile-panel {
  position: fixed; inset: 0 0 0 auto; z-index: 1200;
  width: min(86vw, 350px); height: 100%;
  background: var(--navy-deep); color: #fff;
  transform: translateX(100%); transition: transform .45s var(--ease);
  padding: 1.6rem 1.5rem calc(1.6rem + env(safe-area-inset-bottom, 0px));
  padding-top: calc(1.6rem + env(safe-area-inset-top, 0px));
  overflow-y: auto;
}
.mobile-panel.open { transform: translateX(0); }
.mobile-panel .m-close {
  width: 42px; height: 42px; margin-left: auto; margin-bottom: 1.2rem;
  display: grid; place-items: center;
  background: transparent; border: 1px solid rgba(255,255,255,.25);
  border-radius: 4px; color: #fff; cursor: pointer;
}
.mobile-panel .m-close svg { width: 20px; height: 20px; }
.mobile-panel .m-label {
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin: 1.4rem 0 .3rem;
}
.mobile-panel a {
  display: block; padding: .75rem 0; font-size: 1.02rem; font-weight: 500;
  color: rgba(255,255,255,.88); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-panel a:hover { color: var(--gold); }
.mobile-panel .btn { margin-top: 1.5rem; }
.mobile-panel .btn:hover { color: #fff; }

@media (max-width: 1040px) {
  .primary-nav, .header-actions .btn { display: none; }
  .burger { display: block; }
}
@media (max-width: 560px) {
  .header-phone .phone-num { display: none; }
  .header-phone {
    width: 44px; height: 44px; justify-content: center;
    border: 1px solid rgba(255,255,255,.28); border-radius: 4px;
  }
}

/* ----------------------------------------------------------------- hero - */
.hero {
  position: relative; isolation: isolate;
  background: var(--navy-deep); color: #fff;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(103deg, rgba(3,15,36,.97) 0%, rgba(5,29,67,.94) 44%, rgba(5,29,67,.86) 74%, rgba(5,29,67,.80) 100%);
}
.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }

.hero h1 { color: #fff; margin-bottom: .5em; }
.hero h1 .accent {
  background-image: linear-gradient(var(--red), var(--red));
  background-repeat: no-repeat;
  background-size: 100% .1em;
  background-position: 0 92%;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.hero .kicker { color: var(--gold-soft); }
.hero .kicker::before { background: var(--gold); }
.hero-lede { font-size: clamp(1.04rem, 1.5vw, 1.18rem); color: rgba(255,255,255,.86); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero-stats {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr));
  margin-top: 2.5rem; padding-top: 1.9rem;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero-stats .stat b {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.5rem); color: #fff; line-height: 1;
  letter-spacing: -.02em;
}
.hero-stats .stat span { display: block; margin-top: .45rem; font-size: .85rem; color: rgba(255,255,255,.66); line-height: 1.35; }

.hero-media { position: relative; }
.hero-photo {
  border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 34px 70px rgba(3,15,36,.5);
  transform: rotate(1.2deg);
}
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-badge {
  position: absolute; left: -22px; bottom: -28px; max-width: 268px;
  background: var(--cream); color: var(--ink);
  padding: 1rem 1.15rem; border-radius: 5px;
  box-shadow: 0 22px 44px rgba(3,15,36,.32);
  transform: rotate(-2deg);
}
.hero-badge .stars { color: var(--gold); letter-spacing: .1em; font-size: .95rem; margin-bottom: .35rem; }
.hero-badge p { font-size: .86rem; line-height: 1.45; margin: 0; color: var(--body); }
@media (max-width: 939px) {
  .hero-badge { position: static; transform: none; margin-top: 1.5rem; max-width: none; }
  .hero-photo { transform: none; }
}

/* inner page hero band */
.page-hero {
  background: var(--navy); color: rgba(255,255,255,.82);
  padding-top: calc(var(--header-h) + clamp(2.2rem, 5vw, 3.6rem));
  padding-bottom: clamp(2.4rem, 5vw, 3.8rem);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,154,92,.16), transparent 68%);
  pointer-events: none;
}
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero > .wrap > p { font-size: 1.1rem; color: rgba(255,255,255,.78); max-width: 46rem; margin-bottom: 0; }
.page-hero .kicker { color: var(--gold-soft); }

.breadcrumb { font-size: .84rem; color: rgba(255,255,255,.58); margin-bottom: 1.1rem; }
.breadcrumb a { color: rgba(255,255,255,.78); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span[aria-current] { color: rgba(255,255,255,.58); }

/* ------------------------------------------------------------- trust row - */
.trust { background: var(--cream); border-bottom: 1px solid var(--line-soft); }
.trust-row {
  display: grid; gap: 1.5rem 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  padding-block: 2.1rem;
}
.trust-item { display: flex; align-items: flex-start; gap: .8rem; }
.trust-item .ico {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: var(--paper); color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.trust-item .ico svg { width: 19px; height: 19px; }
.trust-item .label { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.25; }
.trust-item .sub { font-size: .82rem; color: var(--muted); margin-top: .12rem; }

/* ---------------------------------------------------------- welcome bloc - */
.welcome { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 880px) { .welcome { grid-template-columns: .95fr 1.05fr; } }
.welcome blockquote {
  font-family: var(--font-head); font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 600; line-height: 1.25; color: var(--ink);
  padding-left: 1.4rem; border-left: 3px solid var(--gold);
  letter-spacing: -.01em;
}
.welcome .attribution { margin-top: 1rem; padding-left: 1.4rem; font-size: .93rem; color: var(--muted); }
.welcome-copy p { font-size: 1.075rem; }

.tick-list { display: grid; gap: .8rem; margin-top: 1.6rem; }
.tick-list li { display: flex; align-items: flex-start; gap: .7rem; color: var(--ink); font-weight: 500; }
.tick-list svg { width: 20px; height: 20px; flex: none; color: var(--red); margin-top: 3px; }

/* --------------------------------------------------------- pillar cards - */
.pillar-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 620px)  { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pillar-grid { grid-template-columns: repeat(4, 1fr); } }
.pillar-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 8px; padding: 2.2rem 1.5rem 1.6rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar-card .pnum {
  position: absolute; top: 1.1rem; right: 1.3rem;
  font-family: var(--font-head); font-size: 2.1rem; font-weight: 600;
  color: var(--cream-deep); line-height: 1; letter-spacing: -.03em;
}
.pillar-card h3 { margin-bottom: .5rem; padding-right: 2.5rem; }
.pillar-card > p { font-size: .96rem; color: var(--muted); }
.pillar-card ul { display: grid; gap: .5rem; margin: 1.1rem 0 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); }
.pillar-card ul li { position: relative; padding-left: 1.1rem; font-size: .92rem; color: var(--body); }
.pillar-card ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.pillar-card .btn { margin-top: auto; align-self: flex-start; }

/* -------------------------------------------------------------- tony row - */
.tony { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .tony { grid-template-columns: .9fr 1.1fr; } }
.tony-photo { position: relative; }
.tony-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow-lg); }
.tony-photo .frame {
  position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 1.5px solid var(--gold); border-radius: 6px;
}
.tony-quote {
  font-family: var(--font-head); font-style: italic; font-size: 1.12rem;
  color: var(--ink); line-height: 1.5;
  margin: 1.8rem 0; padding-left: 1.2rem; border-left: 3px solid var(--red);
}
.tony-copy .btn { margin-top: 1.2rem; }

.photo-placeholder {
  display: grid; place-content: center; gap: .55rem; text-align: center;
  aspect-ratio: 4 / 3; padding: 2rem; border-radius: 6px;
  background: repeating-linear-gradient(45deg, #F1EDE4 0 14px, #E9E3D6 14px 28px);
  color: var(--muted); font-size: .88rem; box-shadow: var(--shadow-lg);
}
.photo-placeholder strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--navy); }
.photo-placeholder svg { width: 32px; height: 32px; margin: 0 auto; color: var(--navy); opacity: .45; }

/* ----------------------------------------------------------- difference - */
.diff-list {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
.diff-item { background: var(--paper); padding: 1.9rem 1.6rem; }
.section.alt .diff-item { background: var(--cream); }
.diff-item .num {
  display: inline-block; font-size: .7rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink);
  margin-bottom: .85rem;
}
.diff-item h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.diff-item p { font-size: .95rem; color: var(--muted); margin: 0; }

/* -------------------------------------------------------------- gallery - */
.gallery-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
}
.g-item {
  position: relative; overflow: hidden; border-radius: 6px;
  background: var(--cream-deep); aspect-ratio: 4 / 3;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.07); }
.g-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(3,15,36,.78); color: #fff; backdrop-filter: blur(4px);
  font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .55rem; border-radius: 3px;
}
.g-caption {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 2.4rem .9rem .8rem;
  background: linear-gradient(0deg, rgba(3,15,36,.9), transparent 88%);
  color: #fff; font-size: .86rem; font-weight: 500;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s ease, transform .35s var(--ease);
}
.g-item:hover .g-caption, .g-item:focus-within .g-caption { opacity: 1; transform: translateY(0); }
@media (hover: none) { .g-caption { opacity: 1; transform: none; } }
.g-item.tall { grid-row: span 2; aspect-ratio: auto; min-height: 260px; }
@media (max-width: 700px) { .g-item.tall { grid-row: auto; aspect-ratio: 4 / 3; min-height: 0; } }

.gallery-note {
  margin-top: 1.6rem; font-size: .92rem; color: var(--muted);
  display: flex; align-items: center; gap: .5rem; justify-content: center; text-align: center;
}
.gallery-note svg { width: 17px; height: 17px; flex: none; }

/* -------------------------------------------------------------- reviews - */
.review-stats {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  background: var(--line); border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden; margin-bottom: 2.6rem;
}
.review-stats .rs { background: var(--paper); padding: 1.8rem 1.4rem; text-align: center; }
.review-stats .rs b {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: 2.4rem; color: var(--navy); line-height: 1; letter-spacing: -.02em;
}
.review-stats .rs span { display: block; margin-top: .5rem; font-size: .87rem; color: var(--muted); }

.review-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 8px; padding: 1.7rem 1.5rem; box-shadow: var(--shadow-sm);
}
.review-card .stars { color: var(--gold); letter-spacing: .12em; font-size: 1rem; margin-bottom: .9rem; }
.review-card blockquote {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  font-size: 1rem; color: var(--ink); line-height: 1.6; margin-bottom: 1.4rem;
}
.review-who { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); display: flex; align-items: center; gap: .8rem; }
.review-avatar {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
}
.review-who b { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.review-who span { display: block; font-size: .83rem; color: var(--muted); }

.placeholder-note {
  margin-top: 1.8rem; padding: 1rem 1.2rem;
  background: rgba(235,28,36,.05); border-left: 3px solid var(--red);
  border-radius: 0 5px 5px 0; font-size: .9rem; color: var(--body);
}

/* -------------------------------------------------------- service rows -- */
.service-list { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.service-row { background: var(--paper); display: grid; gap: .5rem 2.5rem; grid-template-columns: 1fr; padding: 2.2rem 0; }
.section.alt .service-row { background: var(--cream); }
@media (min-width: 860px) { .service-row { grid-template-columns: .34fr .66fr; } }
.service-index {
  font-size: .72rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--gold-ink); padding-top: .35rem;
}
.service-title { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin-bottom: .55rem; }
.service-body > p { font-size: 1.03rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.service-tags span {
  font-size: .8rem; font-weight: 500; color: var(--navy);
  background: var(--cream); border: 1px solid var(--line);
  padding: .35rem .7rem; border-radius: 100px;
}
.section.alt .service-tags span { background: var(--paper); }

/* --------------------------------------------------------------- guides - */
.guides { margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 52rem; }
.guides h3 { font-size: 1.3rem; margin-bottom: 1.2rem; }
.guide-item { border: 1px solid var(--line); border-radius: 6px; margin-bottom: .75rem; background: var(--paper); }
.section.alt .guide-item { background: var(--cream); }
.guide-item summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 1.05rem 3rem 1.05rem 1.2rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.guide-item summary::-webkit-details-marker { display: none; }
.guide-item summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%;
  translate: 0 -50%; font-family: var(--font-body); font-size: 1.3rem; font-weight: 400;
  color: var(--gold); transition: transform .3s var(--ease); transform-origin: center;
}
.guide-item[open] summary::after { transform: rotate(45deg); }
.guide-item .g-body { padding: 0 1.2rem 1.2rem; font-size: .98rem; color: var(--body); }

/* ----------------------------------------------------------- cta banner - */
.cta-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: clamp(1.8rem, 4vw, 2.8rem);
  background: var(--navy); border-radius: 10px; color: rgba(255,255,255,.8);
  position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ""; position: absolute; right: -60px; bottom: -90px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,154,92,.18), transparent 66%);
  pointer-events: none;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .3em; }
.cta-banner p { margin: 0; font-size: 1rem; }
.cta-banner > div { position: relative; z-index: 1; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ----------------------------------------------------------- quote form - */
.quote-wrap { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 960px) { .quote-wrap { grid-template-columns: .82fr 1.18fr; } }

.quote-points { display: grid; gap: .8rem; margin: 1.6rem 0; }
.quote-points li { display: flex; align-items: flex-start; gap: .7rem; color: var(--ink); }
.quote-points svg { width: 19px; height: 19px; flex: none; color: var(--red); margin-top: 3px; }
.quote-call {
  margin-top: 1.8rem; padding: 1.2rem 1.3rem;
  background: var(--cream); border: 1px solid var(--line); border-radius: 8px;
}
.quote-call b { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: .3rem; }
.quote-call a { font-weight: 600; }

.quote-form {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow);
}
.f-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .f-row { grid-template-columns: 1fr 1fr; } }
.field { position: relative; display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.f-row .field { margin-bottom: 0; }
.f-row { margin-bottom: 1.1rem; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field .req { color: var(--red-ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 5px; width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 116px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(5,29,67,.1);
}
.field-hint { font-size: .83rem; color: var(--muted); }

.upload-box {
  display: flex; align-items: center; gap: .7rem;
  padding: 1.05rem 1.1rem; cursor: pointer;
  background: var(--cream); border: 1.5px dashed var(--line);
  border-radius: 6px; font-size: .93rem; color: var(--muted);
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.upload-box:hover { border-color: var(--gold); background: var(--cream-deep); color: var(--ink); }
.upload-box svg { width: 22px; height: 22px; flex: none; color: var(--navy); }

.form-note { font-size: .84rem; color: var(--muted); margin-top: 1rem; }
.form-status[data-state="error"] { color: var(--red); font-weight: 500; }

/* --------------------------------------------------------------- footer - */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.66); font-size: .95rem; }
.foot-grid {
  display: grid; gap: 2.4rem;
  grid-template-columns: 1fr;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
@media (min-width: 720px)  { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1020px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot-brand .brand { margin-bottom: 1.1rem; }
.foot-brand p { max-width: 34ch; }
.foot-col h4 {
  font-family: var(--font-body); font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem;
}
.foot-col ul { display: grid; gap: .62rem; }
.foot-col a { color: rgba(255,255,255,.7); text-decoration: none; }
.foot-col a:hover { color: #fff; }

.compliance {
  padding: .9rem 1.1rem; margin-bottom: 1.5rem;
  background: rgba(255,255,255,.05); border-left: 3px solid var(--red);
  border-radius: 0 5px 5px 0; font-size: .86rem; color: rgba(255,255,255,.74);
}
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.7rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: center; justify-content: space-between;
  font-size: .86rem; color: rgba(255,255,255,.5);
}
.foot-bottom a { color: rgba(255,255,255,.78); text-decoration: none; }
.foot-bottom a:hover { color: #fff; }

/* ------------------------------------------------------ to-top + callbar - */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; border: none; cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(10px) scale(.9); pointer-events: none;
  box-shadow: var(--shadow-lg);
  transition: opacity .35s ease, transform .35s var(--ease), background .25s ease;
}
.to-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { background: var(--red); }
.to-top svg { width: 19px; height: 19px; }

.call-bar {
  position: fixed; inset: auto 0 0 0; z-index: 890;
  display: none; gap: .6rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 18px rgba(5,29,67,.1);
}
.call-bar .btn { flex: 1; padding-block: .85rem; }
@media (max-width: 760px) {
  .call-bar { display: flex; }
  body { padding-bottom: 68px; }
  .to-top { bottom: 82px; }
}

/* -------------------------------------------------------- scroll reveal - */
.sr { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.sr.in { opacity: 1; transform: translateY(0); }

.sr-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.sr-stagger.in > * { opacity: 1; transform: translateY(0); }
.sr-stagger.in > *:nth-child(1) { transition-delay: .00s; }
.sr-stagger.in > *:nth-child(2) { transition-delay: .07s; }
.sr-stagger.in > *:nth-child(3) { transition-delay: .14s; }
.sr-stagger.in > *:nth-child(4) { transition-delay: .21s; }
.sr-stagger.in > *:nth-child(5) { transition-delay: .28s; }
.sr-stagger.in > *:nth-child(6) { transition-delay: .35s; }
.sr-stagger.in > *:nth-child(7) { transition-delay: .42s; }

.reveal-up { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-up.in { opacity: 1; transform: translateY(0); }

/* If JS never runs, nothing should stay invisible. */
.no-js .sr, .no-js .sr-stagger > *, .no-js .reveal-up { opacity: 1; transform: none; }

/* ------------------------------------------------------- lead media ---- */
.lead-media { margin-top: calc(var(--section-y) * -0.45); position: relative; z-index: 2; }
.lead-media figure {
  border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.lead-media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 700px) { .lead-media img { aspect-ratio: 16 / 9; } }

/* --------------------------------------------------- narrow screens ---- */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; padding-inline: 1.15rem; }
  .call-bar .btn { padding-inline: .7rem; font-size: .9rem; gap: .4rem; }
  .cta-banner .btn, .hero-actions .btn { width: 100%; }
}

/* Home review grid: third slot is an aggregate card, not a quote. */
.google-card { justify-content: center; text-align: center; background: var(--navy); border-color: transparent; color: rgba(255,255,255,.78); }
.google-card b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 2.2rem; color: #fff; line-height: 1; letter-spacing: -.02em; margin-bottom: .6rem; }
.google-card p { font-size: .95rem; margin-bottom: 1.4rem; }
.google-card .btn { align-self: center; border-color: rgba(255,255,255,.55); color: #fff; }
.google-card .btn:hover { background: #fff; color: var(--navy); }
.review-card blockquote p { margin-bottom: .9em; }
.review-card blockquote p:last-child { margin-bottom: 0; }

/* ==========================================================================
   MOTION & POLISH
   Everything below degrades cleanly: scroll-driven animations sit behind
   @supports, and the reduced-motion block at the end switches the lot off.
   ========================================================================== */

::selection { background: var(--navy); color: #fff; }

/* ------------------------------------------------ page transitions ----- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: fadeOut .22s var(--ease) both; }
::view-transition-new(root) { animation: fadeUp .38s var(--ease) both; }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes fadeUp  { from { opacity: 0; transform: translateY(10px); } }

/* ---------------------------------------------- scroll progress bar ---- */
.scroll-sentinel {
  position: absolute; left: 0; top: 0; width: 1px;
  pointer-events: none; opacity: 0;
}
.scroll-sentinel[data-sentinel="header"] { height: 40px; }
.scroll-sentinel[data-sentinel="totop"]  { height: 700px; }

.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1001;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transform-origin: 0 50%;
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: progressGrow linear both;
    animation-timeline: scroll(root block);
  }
}
@keyframes progressGrow { to { transform: scaleX(1); } }

/* ------------------------------------------------- header on scroll --- */
.site-header.scrolled .header-inner,
.site-header.shrink   .header-inner { height: 62px; }
.site-header.scrolled .brand img,
.site-header.shrink   .brand img { width: 34px; height: 34px; }
.brand img { transition: width .35s var(--ease), height .35s var(--ease); }

/* -------------------------------------------------- hero parallax ----- */
@supports (animation-timeline: scroll()) {
  .hero-bg {
    animation: heroDrift linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 110vh;
    will-change: transform;
  }
  @keyframes heroDrift { to { transform: translateY(9%) scale(1.07); } }
}

/* a whisper of light across the hero so the flat navy isn't dead */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 55% at 18% 18%, rgba(198,154,92,.14), transparent 62%),
    radial-gradient(50% 50% at 92% 88%, rgba(235,28,36,.10), transparent 64%);
}

/* ------------------------------------------------------- buttons ------ */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 32%, rgba(255,255,255,.28) 50%, transparent 68%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn-outline::after { background: linear-gradient(105deg, transparent 32%, rgba(5,29,67,.10) 50%, transparent 68%); }
.btn-outline:hover::after { background: linear-gradient(105deg, transparent 32%, rgba(255,255,255,.22) 50%, transparent 68%); }

/* --------------------------------------------------- nav underline ---- */
.primary-nav .drop-btn::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .4rem;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.drop:hover .drop-btn::after,
.primary-nav .drop-btn[aria-current="page"]::after,
.primary-nav .drop-btn[aria-expanded="true"]::after { transform: scaleX(1); }
.drop-panel a[aria-current="page"] { background: rgba(198,154,92,.14); color: #fff; }
.drop-panel a { transform: translateX(-4px); opacity: .9; transition: background .2s ease, color .2s ease, transform .3s var(--ease), opacity .3s ease; }
.drop:hover .drop-panel a, .drop:focus-within .drop-panel a,
.drop-panel.open a { transform: translateX(0); opacity: 1; }
.drop-panel a:nth-child(2) { transition-delay: .04s; }
.drop-panel a:nth-child(3) { transition-delay: .08s; }
.drop-panel a:nth-child(4) { transition-delay: .12s; }
.drop-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }

/* --------------------------------------------- mobile drawer stagger -- */
.mobile-panel a, .mobile-panel .m-label, .mobile-panel .btn {
  opacity: 0; transform: translateX(16px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.mobile-panel.open a, .mobile-panel.open .m-label, .mobile-panel.open .btn { opacity: 1; transform: translateX(0); }
.mobile-panel.open > *:nth-child(2)  { transition-delay: .06s; }
.mobile-panel.open > *:nth-child(3)  { transition-delay: .09s; }
.mobile-panel.open > *:nth-child(4)  { transition-delay: .12s; }
.mobile-panel.open > *:nth-child(5)  { transition-delay: .15s; }
.mobile-panel.open > *:nth-child(6)  { transition-delay: .18s; }
.mobile-panel.open > *:nth-child(7)  { transition-delay: .21s; }
.mobile-panel.open > *:nth-child(8)  { transition-delay: .24s; }
.mobile-panel.open > *:nth-child(9)  { transition-delay: .27s; }
.mobile-panel.open > *:nth-child(10) { transition-delay: .30s; }
.mobile-panel.open > *:nth-child(11) { transition-delay: .33s; }
.mobile-panel.open > *:nth-child(12) { transition-delay: .36s; }
.mobile-panel.open > *:nth-child(13) { transition-delay: .39s; }

/* ------------------------------------------------------ media reveal -- */
.media-reveal { overflow: hidden; }
.media-reveal img { transform: scale(1.08); transition: transform 1.1s var(--ease); }
.sr.in .media-reveal img, .media-reveal.in img { transform: scale(1); }

/* --------------------------------------------------- pillar cards ----- */
.pillar-card { overflow: hidden; }
.pillar-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.pillar-card:hover::before, .pillar-card:focus-within::before { transform: scaleX(1); }
.pillar-card .pnum { transition: color .4s ease, transform .5s var(--ease); }
.pillar-card:hover .pnum { color: var(--gold-soft); transform: translateY(-2px); }

/* ---------------------------------------------------- service rows ---- */
.service-row { transition: background .3s ease; }
.service-row:hover { background: var(--cream); }
.section.alt .service-row:hover { background: var(--paper); }
.service-row .service-index { transition: color .3s ease, letter-spacing .4s var(--ease); }
.service-row:hover .service-index { color: var(--red-ink); letter-spacing: .16em; }
.service-tags span { transition: background .25s ease, border-color .25s ease, color .25s ease, transform .3s var(--ease); }
.service-tags span:hover { border-color: var(--gold); transform: translateY(-2px); }

/* ------------------------------------------------- jump nav (pillars) - */
.jump-nav {
  position: sticky; top: var(--header-h); z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.jump-nav ul { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; padding-block: .55rem; }
.jump-nav ul::-webkit-scrollbar { display: none; }
.jump-nav a {
  position: relative; display: block; white-space: nowrap;
  padding: .55rem .9rem; border-radius: 4px;
  font-size: .88rem; font-weight: 500; color: var(--muted); text-decoration: none;
  transition: color .25s ease, background .25s ease;
}
.jump-nav a:hover { color: var(--navy); background: var(--cream); }
.jump-nav a.active { color: var(--navy); font-weight: 600; }
.jump-nav a.active::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .2rem;
  height: 2px; background: var(--red); border-radius: 2px;
}

/* --------------------------------------------- accordion (smooth) ----- */
.guide-item { transition: border-color .3s ease, box-shadow .3s ease; }
.guide-item[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.guide-item summary { transition: color .25s ease; }
.guide-item summary:hover { color: var(--red-ink); }
@supports selector(::details-content) {
  .guide-item::details-content {
    block-size: 0; overflow: clip; opacity: 0;
    transition: block-size .4s var(--ease), opacity .3s ease, content-visibility .4s allow-discrete;
    transition-behavior: allow-discrete;
  }
  .guide-item[open]::details-content { block-size: auto; opacity: 1; }
}

/* ---------------------------------------------------- gallery tiles --- */
.g-item { cursor: zoom-in; }
.g-item::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  border: 2px solid transparent; border-radius: 6px;
  transition: border-color .35s ease;
}
.g-item:hover::after, .g-item:focus-within::after { border-color: var(--gold); }
.g-tag { transform: translateY(-4px); opacity: 0; transition: opacity .3s ease, transform .35s var(--ease); }
.g-item:hover .g-tag, .g-item:focus-within .g-tag { opacity: 1; transform: translateY(0); }
@media (hover: none) { .g-tag { opacity: 1; transform: none; } }

/* ------------------------------------------------------- lightbox ----- */
.lightbox {
  border: none; padding: 0; max-width: min(94vw, 1100px); max-height: 92vh;
  background: transparent; overflow: visible; color: #fff;
}
.lightbox::backdrop { background: rgba(3,15,36,.88); backdrop-filter: blur(4px); }
.lightbox img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: 6px; box-shadow: 0 30px 70px rgba(0,0,0,.6); }
.lightbox figcaption { margin-top: .9rem; text-align: center; font-size: .95rem; color: rgba(255,255,255,.88); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; z-index: 2; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  color: #fff; cursor: pointer; backdrop-filter: blur(6px);
  transition: background .25s ease, transform .25s var(--ease);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.26); transform: scale(1.06); }
.lb-close { top: -58px; right: 0; }
.lb-prev  { left: -58px; top: 50%; translate: 0 -50%; }
.lb-next  { right: -58px; top: 50%; translate: 0 -50%; }
.lb-close svg, .lb-prev svg, .lb-next svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .lb-close { top: -50px; right: 0; }
  .lb-prev  { left: 4px; }
  .lb-next  { right: 4px; }
}
dialog.lightbox[open] { animation: lbIn .3s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }

/* ---------------------------------------------------------- forms ----- */
.field input, .field select, .field textarea { transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gold); }
.upload-box { transition: border-color .25s ease, background .25s ease, color .25s ease, transform .25s var(--ease); }
.upload-box:hover { transform: translateY(-1px); }

/* --------------------------------------------------- trust + stats ---- */
.trust-item .ico { transition: transform .4s var(--ease), color .3s ease, box-shadow .3s ease; }
.trust-item:hover .ico { transform: translateY(-3px) rotate(-6deg); color: var(--red); box-shadow: var(--shadow); }
.hero-stats .stat b { font-variant-numeric: tabular-nums; }
.review-stats .rs { transition: background .3s ease; }
.review-stats .rs:hover { background: var(--cream); }

/* ---------------------------------------------------- body text links - */
.welcome-copy a, .tony-copy a:not(.btn), .g-body a, .service-body a {
  background-image: linear-gradient(var(--red), var(--red));
  background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  text-decoration: none; transition: background-size .35s var(--ease), color .25s ease;
}
.welcome-copy a:hover, .tony-copy a:not(.btn):hover, .g-body a:hover, .service-body a:hover { background-size: 100% 1.5px; }

/* ----------------------------------------------------- to-top ring ---- */
.to-top { border: 1.5px solid rgba(255,255,255,.18); }

/* -------------------------------------------- reduced motion, final --- */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .hero-bg { animation: none !important; transform: none !important; }
  .btn::after { display: none; }
  .media-reveal img { transform: none !important; }
  .mobile-panel a, .mobile-panel .m-label, .mobile-panel .btn,
  .drop-panel a { opacity: 1 !important; transform: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  .g-tag { opacity: 1; transform: none; }
}

/* ==========================================================================
   MEGA MENU
   ========================================================================== */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 60px rgba(3,15,36,.5);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .25s ease, transform .3s var(--ease), visibility .25s ease;
}
.drop:hover .mega, .drop:focus-within .mega, .mega.open {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mega-inner {
  display: grid; gap: 1.5rem 2rem;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 2rem 1.6rem;
}
@media (max-width: 1180px) { .mega-inner { grid-template-columns: repeat(2, 1fr); } }

.mega-col > a.mega-head {
  display: block; padding: 0 0 .7rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  color: #fff; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: .7rem;
}
.mega-col > a.mega-head:hover { color: var(--gold); }
.mega-col ul { display: grid; gap: .1rem; }
.mega-col li a {
  display: block; padding: .45rem .55rem; border-radius: 4px;
  font-size: .88rem; font-weight: 400; color: rgba(255,255,255,.76);
  text-decoration: none; line-height: 1.35;
  transition: background .2s ease, color .2s ease, padding-left .25s var(--ease);
}
.mega-col li a::after { display: none; }
.mega-col li a:hover { background: rgba(255,255,255,.07); color: #fff; padding-left: .85rem; }
.mega-col li a[aria-current="page"] { color: var(--gold); background: rgba(198,154,92,.12); }
.mega-sub {
  margin-top: .9rem; padding-top: .7rem;
  border-top: 1px dashed rgba(255,255,255,.14);
  font-size: .68rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); padding-left: .55rem;
  margin-bottom: .35rem;
}
.mega-foot {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1rem 1.3rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem;
}
.mega-foot a {
  font-size: .88rem; color: rgba(255,255,255,.76); text-decoration: none;
  display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
}
.mega-foot a svg, .mega-col a svg { width: 14px; height: 14px; flex: none; }
.mega-foot a[aria-current="page"] { color: var(--gold); }
.mega-foot a::after { display: none; }
.mega-foot a:hover { color: var(--gold); }
.mega-foot .spacer { margin-left: auto; }
.mega-foot .btn { color: #fff; }

/* the child-page grid on pillar pages */
.child-grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .child-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .child-grid { grid-template-columns: repeat(3, 1fr); } }
.child-card {
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  padding: 1.6rem 1.4rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s ease;
}
.section.alt .child-card { background: var(--cream); }
.child-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.child-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.child-card:hover::before { transform: scaleX(1); }
.child-card h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.child-card p { font-size: .94rem; color: var(--muted); margin-bottom: 1.2rem; }
.child-card .link-arrow { margin-top: auto; }

/* prose blocks on the deeper pages */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose + .prose, .prose + .guides, .guides + .prose { margin-top: clamp(2.2rem, 4vw, 3.2rem); }
.prose p { font-size: 1.05rem; }
.prose > p + h2 { margin-top: 2.6rem; }

.checklist { display: grid; gap: .75rem; margin: 1.6rem 0 0; }
.checklist li { display: flex; align-items: flex-start; gap: .7rem; color: var(--ink); }
.checklist svg { width: 19px; height: 19px; flex: none; color: var(--red); margin-top: 4px; }

.steps { counter-reset: step; display: grid; gap: 1.5rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; position: relative; padding-left: 3.2rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -.15rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem;
  color: var(--gold-ink);
}
.steps h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.steps p { font-size: .98rem; color: var(--muted); margin: 0; }

.callout {
  margin-top: 2.2rem; padding: 1.4rem 1.5rem;
  background: var(--cream); border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
}
.section.alt .callout { background: var(--paper); }
.callout strong { font-family: var(--font-head); color: var(--ink); }

.suburb-grid {
  display: grid; gap: .5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr));
  margin-top: 1.6rem;
}
.suburb-grid li {
  padding: .6rem .8rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: 5px;
  font-size: .92rem; color: var(--ink);
}
.section.alt .suburb-grid li { background: var(--cream); }
.mobile-panel a.m-sub { padding-left: .9rem; font-size: .93rem; color: rgba(255,255,255,.7); }
.mobile-panel a strong { font-family: var(--font-head); font-weight: 600; }
.mobile-panel .m-sublabel {
  margin: .8rem 0 .1rem .9rem; font-size: .64rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: rgba(198,154,92,.8);
}

/* Two of the four pillar headings wrap to a second line at the 4-column
   breakpoint, which knocked their lists out of alignment. */
@media (min-width: 1040px) {
  .pillar-card h3 { min-height: 2.3em; }
}

/* ---------------------------------------------------- touch targets ---- */
/* .btn-sm renders ~38px tall, under the 44px minimum both Apple and Google
   publish for touch. Give every control a 44px hit area on small screens and
   on any coarse pointer, without padding out the desktop layout. */
@media (max-width: 760px) {
  .btn { min-height: 44px; }
  .link-arrow { min-height: 44px; align-items: center; }
  .faq-item summary, .guide-item summary { min-height: 44px; display: flex; align-items: center; }
}
@media (pointer: coarse) {
  .btn { min-height: 44px; }
  .link-arrow { min-height: 44px; align-items: center; }
}
