/* ============================================================
   Beacon Tax — Personal Tax & Self-Assessment Specialists
   Design system: calm teal / deep navy on soft white.
   Serif (Newsreader) + Sans (Outfit). Clarity-first.
   ============================================================ */

:root {
  /* Palette */
  --navy-900: #0c1f2c;
  --navy-800: #112c3d;
  --navy-700: #173a4f;
  --navy-600: #1f4c66;
  --teal-600: #0e7c84;
  --teal-500: #169aa3;
  --teal-400: #36b6bd;
  --teal-300: #79d2d6;
  --teal-100: #d6f0f1;
  --teal-50:  #eef9f9;
  --gold-500: #c69a4e;
  --gold-300: #e6cf9f;
  --paper:    #fbfcfc;
  --mist:     #f2f7f7;
  --cloud:    #e8f1f1;
  --white:    #ffffff;
  --ink:      #0e2330;
  --ink-soft: #3a5360;
  --muted:    #6c8591;
  --line:     rgba(23, 58, 79, 0.12);
  --line-soft:rgba(23, 58, 79, 0.07);

  /* Type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Outfit", system-ui, -apple-system, sans-serif;

  /* Shape & motion */
  --radius:    18px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 16px rgba(17, 44, 61, 0.07);
  --shadow:    0 16px 44px rgba(17, 44, 61, 0.12);
  --shadow-lg: 0 36px 84px rgba(12, 31, 44, 0.20);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1220px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }
::selection { background: var(--teal-300); color: var(--navy-900); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.7rem); }
h2 { font-size: clamp(2rem, 3.9vw, 3.15rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
em { font-style: italic; color: var(--teal-600); }

.wrap { width: min(100% - 2.6rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.mist  { background: var(--mist); }
.cloud { background: linear-gradient(180deg, var(--cloud), var(--paper)); }
.navy  { background: var(--navy-800); color: #dbe8ec; }
.navy h1,.navy h2,.navy h3 { color: #fff; }
.navy em { color: var(--teal-300); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--sans); font-weight: 600;
  font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal-600);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-500), var(--gold-500));
}
.navy .eyebrow { color: var(--teal-300); }

.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.005em; padding: 0.92rem 1.7rem; border-radius: 100px;
  cursor: pointer; border: 1.6px solid transparent;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn .arr { transition: transform 0.4s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-solid {
  background: linear-gradient(135deg, var(--teal-600), var(--navy-700));
  color: var(--white); box-shadow: 0 12px 28px rgba(14, 124, 132, 0.30);
}
.btn-solid:hover { transform: translateY(-3px); box-shadow: 0 20px 42px rgba(14, 124, 132, 0.40); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--teal-400); color: var(--teal-600); transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), #a87f37);
  color: #2a1e07; box-shadow: 0 12px 28px rgba(198, 154, 78, 0.32);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 20px 42px rgba(198, 154, 78, 0.42); }
.btn-light { background: var(--white); color: var(--navy-800); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 252, 252, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.shrink {
  background: rgba(251, 252, 252, 0.94);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 30px rgba(17, 44, 61, 0.06);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1.15rem 0; transition: padding 0.4s var(--ease);
}
.site-header.shrink .nav { padding: 0.7rem 0; }

.brand { display: flex; flex-direction: column; line-height: 1; gap: 0.28rem; }
.brand-mark {
  font-family: var(--serif); font-weight: 600; font-size: 1.5rem;
  letter-spacing: -0.02em; color: var(--navy-800);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.brand-mark .beam {
  width: 22px; height: 22px; flex: none;
  color: var(--teal-500);
}
.brand-sub {
  font-family: var(--sans); font-weight: 600; font-size: 0.62rem;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
  padding-left: 2px;
}

.nav-links { display: flex; align-items: center; gap: 0.4rem; }
.nav-links a {
  display: inline-block; padding: 0.5rem 0.95rem; border-radius: 100px;
  font-weight: 500; font-size: 0.96rem; color: var(--ink-soft);
  transition: color 0.25s, background 0.25s; position: relative;
}
.nav-links a:hover { color: var(--teal-600); background: var(--teal-50); }
.nav-links a.active { color: var(--navy-800); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 1.1rem; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; font-size: 0.9rem; color: var(--navy-700);
}
.nav-phone svg { width: 17px; height: 17px; color: var(--teal-500); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: var(--white);
  border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
.nav-toggle span {
  width: 21px; height: 2px; background: var(--navy-800); border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 6vw, 5.5rem); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 82% 8%, rgba(54, 182, 189, 0.16), transparent 70%),
    radial-gradient(50% 50% at 6% 88%, rgba(198, 154, 78, 0.12), transparent 70%),
    linear-gradient(180deg, var(--teal-50), var(--paper) 60%);
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(8px); z-index: -1;
  opacity: 0.5; pointer-events: none;
}
.hero-blob.a { width: 260px; height: 260px; top: -60px; right: 8%;
  background: radial-gradient(circle, rgba(54,182,189,0.35), transparent 70%); }
.hero-blob.b { width: 320px; height: 320px; bottom: -120px; left: -40px;
  background: radial-gradient(circle, rgba(31,76,102,0.16), transparent 70%); }

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero-copy h1 { margin: 1.1rem 0 1.3rem; }
.hero-tag { max-width: 33ch; margin-bottom: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.1rem; }
.hero-trust { display: flex; align-items: center; gap: 0.75rem; font-size: 0.94rem; color: var(--ink-soft); }
.hero-trust .stars { color: var(--gold-500); letter-spacing: 0.12em; font-size: 1.05rem; }
.hero-trust b { color: var(--navy-800); }

.hero-media { position: relative; }
.hero-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 6px solid var(--white);
  transform: rotate(0.6deg);
}
.hero-frame img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }
.hero-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12,31,44,0.20));
}
.hero-badge {
  position: absolute; left: -22px; bottom: 30px; z-index: 2;
  background: var(--navy-800); color: #fff; padding: 1rem 1.25rem;
  border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.85rem;
}
.hero-badge .n { font-family: var(--serif); font-size: 2.1rem; line-height: 1; color: #fff; }
.hero-badge .l { font-size: 0.78rem; line-height: 1.3; color: var(--teal-300); max-width: 9ch; }
.hero-float {
  position: absolute; right: -16px; top: 26px; z-index: 2;
  background: var(--white); border-radius: 100px; padding: 0.6rem 1.05rem 0.6rem 0.6rem;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 0.65rem;
}
.hero-float .dot {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--teal-500), var(--navy-700));
  display: grid; place-items: center; color: #fff;
}
.hero-float .dot svg { width: 19px; height: 19px; }
.hero-float .t { display: flex; flex-direction: column; line-height: 1.2; }
.hero-float .t b { font-size: 1.05rem; color: var(--navy-800); }
.hero-float .t span { font-size: 0.74rem; color: var(--muted); }

/* logos / trust strip */
.trust-strip { border-top: 1px solid var(--line-soft); margin-top: clamp(2.5rem,5vw,4rem); padding-top: 2.2rem; }
.trust-strip .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: space-between; }
.trust-label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.trust-logos { display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem; align-items: center; }
.trust-logos span {
  font-family: var(--serif); font-style: italic; font-size: 1.08rem; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 0.5rem; opacity: 0.82;
}
.trust-logos svg { width: 20px; height: 20px; color: var(--teal-500); }

/* ---------- Section heads ---------- */
.sec-head { max-width: 60ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin: 0.9rem 0 0.9rem; }
.split-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: end; max-width: none; }
.split-head p { color: var(--ink-soft); }
@media (max-width: 820px){ .split-head { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { margin-top: -1px; }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-soft); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
}
.stat { background: var(--white); padding: 2.2rem 1.5rem; text-align: center; }
.stat .n { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.1rem); color: var(--navy-800); line-height: 1; }
.stat .n .suf { color: var(--teal-500); }
.stat .l { margin-top: 0.6rem; font-size: 0.88rem; color: var(--muted); font-weight: 500; }
@media (max-width: 680px){ .stats-inner { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Feature / about split ---------- */
.about-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-media { position: relative; }
.about-media .frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  border: 5px solid var(--white);
}
.about-media .frame img { width: 100%; aspect-ratio: 3 / 3.6; object-fit: cover; }
.about-media .pin {
  position: absolute; right: -18px; bottom: -22px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem 1.3rem;
  display: flex; align-items: center; gap: 0.85rem; max-width: 230px;
}
.about-media .pin svg { width: 34px; height: 34px; flex: none; color: var(--teal-500); }
.about-media .pin b { display: block; font-size: 0.97rem; color: var(--navy-800); }
.about-media .pin span { font-size: 0.8rem; color: var(--muted); }
.about-copy h2 { margin: 0.9rem 0 1.1rem; }
.about-copy > p { color: var(--ink-soft); margin-bottom: 1.5rem; }
.check-list { display: grid; gap: 0.9rem; margin: 1.6rem 0; }
.check-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.check-list .ic {
  width: 26px; height: 26px; border-radius: 8px; flex: none; margin-top: 2px;
  background: var(--teal-50); display: grid; place-items: center; color: var(--teal-600);
}
.check-list .ic svg { width: 15px; height: 15px; }
.check-list b { color: var(--navy-800); }
.check-list p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ---------- Services cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 920px){ .svc-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .svc-grid { grid-template-columns: 1fr; } }
.svc {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 2rem 1.8rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
  position: relative; overflow: hidden;
}
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 4px;
  background: linear-gradient(180deg, var(--teal-500), var(--gold-500));
  transform: scaleY(0); transform-origin: top; transition: transform 0.45s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::before { transform: scaleY(1); }
.svc-ic {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.3rem;
  background: linear-gradient(135deg, var(--teal-50), var(--cloud));
  display: grid; place-items: center; color: var(--teal-600);
}
.svc-ic svg { width: 26px; height: 26px; }
.svc h3 { margin-bottom: 0.6rem; }
.svc p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.svc .more { font-weight: 600; font-size: 0.9rem; color: var(--teal-600); display: inline-flex; gap: 0.4rem; align-items: center; }
.svc .more .arr { transition: transform 0.35s var(--ease); }
.svc:hover .more .arr { transform: translateX(4px); }

/* ---------- Process timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; counter-reset: step; }
@media (max-width: 880px){ .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 2.6rem; }
.step .num {
  position: absolute; top: 0; left: 0; counter-increment: step;
  font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--teal-300);
}
.step .num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; color: var(--ink-soft); }
.navy .step p { color: #b3c7ce; }
.navy .step .num { color: var(--teal-400); opacity: 0.6; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
@media (max-width: 920px){ .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.price {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem 2rem; display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.price:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price.featured { background: var(--navy-800); border-color: var(--navy-800); color: #cfe0e5; position: relative; }
.price.featured h3, .price.featured .amount { color: #fff; }
.price.featured .tag { background: var(--gold-500); color: #2a1e07; }
.price .tag {
  align-self: flex-start; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; background: var(--teal-50); color: var(--teal-600);
  padding: 0.32rem 0.7rem; border-radius: 100px; margin-bottom: 1rem;
}
.price h3 { margin-bottom: 0.35rem; }
.price .desc { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.2rem; }
.price.featured .desc { color: #9fb9c1; }
.price .amount { font-family: var(--serif); font-size: 2.7rem; color: var(--navy-800); line-height: 1; }
.price .amount small { font-family: var(--sans); font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.price.featured .amount small { color: #9fb9c1; }
.price .amount .from { font-family: var(--sans); font-size: 0.8rem; color: var(--muted); display: block; margin-bottom: 0.2rem; font-weight: 500; }
.price ul { display: grid; gap: 0.7rem; margin: 1.5rem 0 1.8rem; }
.price ul li { display: flex; gap: 0.6rem; font-size: 0.92rem; align-items: flex-start; }
.price ul li svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--teal-500); }
.price.featured ul li svg { color: var(--teal-300); }
.price .btn { margin-top: auto; justify-content: center; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 920px){ .quotes { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; } }
.quote {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.quote .stars { color: var(--gold-500); letter-spacing: 0.1em; margin-bottom: 0.9rem; }
.quote blockquote { font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; color: var(--ink); margin-bottom: 1.4rem; }
.quote .who { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.quote .av {
  width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.1rem; color: #fff;
  background: linear-gradient(135deg, var(--teal-500), var(--navy-700));
}
.quote .who b { display: block; font-size: 0.95rem; color: var(--navy-800); }
.quote .who span { font-size: 0.82rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-inner { text-align: center; max-width: 60ch; margin-inline: auto; }
.cta-inner h2 { margin: 0.9rem 0 1.1rem; }
.cta-inner p { color: #b9cdd4; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.cta-deco { position: absolute; inset: 0; z-index: 1; opacity: 0.5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aebfc6; padding: clamp(3.5rem, 6vw, 5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 880px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-grid .brand-mark { color: #fff; }
.footer-about p { font-size: 0.92rem; margin: 1.1rem 0 1.3rem; max-width: 34ch; }
.foot-social { display: flex; gap: 0.6rem; }
.foot-social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,0.06); color: #cfe0e5; transition: background 0.3s, transform 0.3s;
}
.foot-social a:hover { background: var(--teal-600); transform: translateY(-2px); color: #fff; }
.foot-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-family: var(--sans); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.65rem; }
.footer-col a, .footer-col li { font-size: 0.9rem; color: #aebfc6; transition: color 0.25s; }
.footer-col a:hover { color: var(--teal-300); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.65rem; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--teal-400); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: #7e949c;
}
.footer-disclaimer { background: var(--navy-900); padding-bottom: 1.8rem; }
.footer-disclaimer p {
  max-width: var(--wrap); margin-inline: auto; width: min(100% - 2.6rem, var(--wrap));
  font-size: 0.76rem; color: #5f757d; font-style: italic; line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.4rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem,5vw,4rem); overflow: hidden; }
.page-hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 60% at 88% 0%, rgba(54,182,189,0.14), transparent 70%),
    linear-gradient(180deg, var(--teal-50), var(--paper));
}
.page-hero .crumbs { font-size: 0.84rem; color: var(--muted); margin-bottom: 1rem; }
.page-hero .crumbs a { color: var(--teal-600); }
.page-hero h1 { max-width: 18ch; margin-bottom: 1rem; }
.page-hero p { max-width: 56ch; color: var(--ink-soft); }

/* ---------- Filter bar (services) ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.4rem; }
.filter-bar button {
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink-soft);
  font-weight: 600; font-size: 0.88rem; padding: 0.6rem 1.2rem; border-radius: 100px;
  cursor: pointer; transition: all 0.3s var(--ease);
}
.filter-bar button:hover { border-color: var(--teal-400); color: var(--teal-600); }
.filter-bar button.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.svc.is-hidden { display: none; }

/* services detailed list rows */
.svc-rows { display: grid; gap: 1.2rem; }
.svc-row {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 1.4rem; align-items: center;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 1.5rem 1.7rem; transition: box-shadow 0.35s, transform 0.35s var(--ease);
}
.svc-row:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.svc-row .ic { width: 56px; height: 56px; border-radius: 14px; background: var(--teal-50); display: grid; place-items: center; color: var(--teal-600); }
.svc-row .ic svg { width: 26px; height: 26px; }
.svc-row h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.svc-row p { font-size: 0.92rem; color: var(--ink-soft); }
.svc-row .from { text-align: right; }
.svc-row .from b { font-family: var(--serif); font-size: 1.5rem; color: var(--navy-800); display: block; }
.svc-row .from span { font-size: 0.78rem; color: var(--muted); }
@media (max-width: 620px){ .svc-row { grid-template-columns: 1fr; text-align: left; } .svc-row .from { text-align: left; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
@media (max-width: 880px){ .contact-grid { grid-template-columns: 1fr; } }
.form-card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem); box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: 0.86rem; margin-bottom: 0.45rem; color: var(--navy-800); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 0.96rem; color: var(--ink);
  padding: 0.85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-400); box-shadow: 0 0 0 4px rgba(54,182,189,0.14); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 480px){ .field-row { grid-template-columns: 1fr; } }
[data-form-note] { margin-top: 1rem; font-size: 0.9rem; font-weight: 600; min-height: 1.2em; }
[data-form-note].ok { color: var(--teal-600); }

.info-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.info-card .map { background: var(--navy-800); }
.info-card .map svg { width: 100%; height: auto; display: block; }
.info-body { padding: clamp(1.6rem,3vw,2.2rem); }
.info-body h3 { margin-bottom: 1.2rem; }
.nap { display: grid; gap: 1rem; margin-bottom: 1.6rem; }
.nap li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.94rem; color: var(--ink-soft); }
.nap .ic { width: 36px; height: 36px; border-radius: 10px; flex: none; background: var(--teal-50); display: grid; place-items: center; color: var(--teal-600); }
.nap .ic svg { width: 17px; height: 17px; }
.nap b { color: var(--navy-800); display: block; font-size: 0.92rem; }
.hours { border-top: 1px solid var(--line-soft); padding-top: 1.4rem; }
.hours h4 { font-family: var(--sans); font-weight: 600; font-size: 0.92rem; color: var(--navy-800); margin-bottom: 0.8rem; }
.hours-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 0.4rem 0; border-bottom: 1px dashed var(--line-soft); }
.hours-row:last-child { border-bottom: none; }
.hours-row span:first-child { color: var(--ink-soft); }
.hours-row span:last-child { color: var(--navy-800); font-weight: 600; }
.hours-row.closed span:last-child { color: var(--muted); font-weight: 500; }

/* ---------- Blog ---------- */
.featured-post {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem,3vw,3rem);
  align-items: center; background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  margin-bottom: clamp(2.5rem,5vw,3.5rem);
}
@media (max-width: 820px){ .featured-post { grid-template-columns: 1fr; } }
.featured-post .media { overflow: hidden; height: 100%; min-height: 280px; }
.featured-post .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.featured-post:hover .media img { transform: scale(1.05); }
.featured-post .body { padding: clamp(1.8rem,3vw,2.8rem); }
.post-meta { display: flex; gap: 0.8rem; align-items: center; font-size: 0.8rem; color: var(--muted); margin-bottom: 0.9rem; flex-wrap: wrap; }
.post-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-600); background: var(--teal-50); padding: 0.28rem 0.7rem; border-radius: 100px; }
.featured-post h2 { font-size: clamp(1.6rem,2.6vw,2.3rem); margin-bottom: 0.8rem; }
.featured-post p { color: var(--ink-soft); margin-bottom: 1.4rem; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 880px){ .post-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .post-grid { grid-template-columns: 1fr; } }
.post-card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .media { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.post-card .media .swatch { position: absolute; inset: 0; }
.post-card .body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; line-height: 1.25; }
.post-card p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.post-card .read { margin-top: auto; font-weight: 600; font-size: 0.86rem; color: var(--teal-600); display: inline-flex; gap: 0.4rem; align-items: center; }
.post-card .read .arr { transition: transform 0.35s var(--ease); }
.post-card:hover .read .arr { transform: translateX(4px); }

/* abstract swatch backgrounds for post thumbs */
.sw-1 { background: linear-gradient(135deg, var(--teal-500), var(--navy-700)); }
.sw-2 { background: linear-gradient(135deg, var(--navy-700), var(--teal-600)); }
.sw-3 { background: linear-gradient(135deg, var(--gold-500), var(--teal-600)); }
.sw-4 { background: linear-gradient(135deg, var(--teal-400), var(--navy-800)); }
.sw-5 { background: linear-gradient(135deg, var(--navy-800), var(--gold-500)); }
.swatch-deco { position: absolute; inset: 0; opacity: 0.85; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.9rem; max-width: 800px; margin-inline: auto; }
.faq details {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 0.4rem 0.4rem; transition: box-shadow 0.3s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1rem 1.2rem; font-weight: 600;
  font-size: 1.02rem; color: var(--navy-800); display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 22px; height: 22px; flex: none; position: relative; }
.faq summary .pm::before, .faq summary .pm::after {
  content: ""; position: absolute; background: var(--teal-500); border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%,-50%); transition: transform 0.3s var(--ease);
}
.faq summary .pm::before { width: 14px; height: 2px; }
.faq summary .pm::after { width: 2px; height: 14px; }
.faq details[open] summary .pm::after { transform: translate(-50%,-50%) scaleY(0); }
.faq details p { padding: 0 1.2rem 1.1rem; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* ---------- Responsive nav ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 520px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; }
  .svc-grid { gap: 1.2rem; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links, .nav-cta { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 0.8rem; gap: 0.2rem;
  }
  .nav.open .nav-links a { padding: 0.85rem 1rem; border-radius: 10px; }
  .nav.open .nav-cta {
    display: flex; flex-direction: column; align-items: stretch; gap: 0.7rem;
    position: absolute; left: 0; right: 0; top: calc(100% + 1px);
    transform: translateY(100%); display: none;
  }
  .nav { position: relative; }
  .site-header { position: sticky; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero-badge { left: 8px; }
  .hero-float { right: 6px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-frame { transform: none; }
  [data-parallax] { transform: none !important; }
}
