/* ==========================================================================
   Llandaff Fields Surgery — site styles
   Paper white, forest teal, a lime accent and slate. Bricolage Grotesque headings, Atkinson Hyperlegible
   body (large, high contrast, generous focus rings). Photos on a lime offset panel, a progress-bar divider,
   clinic chips, an appointment table that stacks on phones, a dark teal band. One file.
   ========================================================================== */

@font-face { font-family: "Atkinson Fallback"; font-weight: 100 500; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 95.7%; ascent-override: 99.3%; descent-override: 30.3%; line-gap-override: 0%; }
@font-face { font-family: "Atkinson Fallback"; font-weight: 600 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica-Bold"); size-adjust: 99.7%; ascent-override: 95.3%; descent-override: 29.1%; line-gap-override: 0%; }

@font-face { font-family: "Bricolage Fallback"; font-weight: 600 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica-Bold"); size-adjust: 104.4%; ascent-override: 89.1%; descent-override: 25.9%; line-gap-override: 0%; }

:root {
  --white: #FFFFFF;
  --paper: #FFFFFF;
  --paper-2: #F2F5F1;
  --teal: #0E5B55;
  --teal-2: #0A4440;
  --teal-tint: #E3F0EC;
  --teal-ink: #073A36;
  --coral: #C7E66B;
  --coral-tint: #EEF6D6;
  --coral-ink: #4A6A0B;
  --slate: #1C2B2A;
  --slate-2: #2C3E3C;
  --text: #1C2B2A;
  --text-2: #445352;
  --muted: #566463;
  --line: rgba(28,43,42,.14);
  --line-strong: rgba(28,43,42,.34);
  --red: #B3261E;
  --shadow: 0 1px 2px rgba(28,43,42,.05), 0 22px 44px -26px rgba(14,91,85,.45);

  --font-head: "Bricolage Grotesque", "Bricolage Fallback", "Helvetica Neue", Arial, sans-serif;
  --font: "Atkinson Hyperlegible", "Atkinson Fallback", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(.88rem, .84rem + .2vw, .97rem);
  --step-0: clamp(1.08rem, 1rem + .3vw, 1.2rem);
  --step-1: clamp(1.15rem, 1.05rem + .5vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.2rem + 1.1vw, 2rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
  --step-4: clamp(2.3rem, 1.6rem + 3.2vw, 4rem);
  --step-5: clamp(2.6rem, 1.5rem + 4.8vw, 5.2rem);

  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 6vw + 1.5rem, 7.5rem);
  --radius: 14px;
  --radius-sm: 8px;
  --pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: var(--step-0); line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; color: var(--slate); text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--coral-ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal); color: #fff; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--slate); color: #fff; padding: .7rem 1rem; border-radius: var(--pill); font-weight: 700; }
.skip:focus { top: 1rem; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section.tight { padding-block: calc(var(--section) * .6); }
.section.dark { background: var(--teal); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: rgba(255,255,255,.86); }
.section.white { background: var(--white); }
.section.teal { background: var(--teal-tint); }
.section.mint { background: var(--coral-tint); }
.section.grey { background: var(--paper-2); }
.section.coral { background: var(--coral-tint); }

/* ---------- Type ---------- */
.display { font-size: var(--step-5); line-height: 1.04; }
.h1 { font-size: var(--step-4); }
.h2 { font-size: var(--step-3); }
.h3 { font-size: var(--step-2); }
.h4 { font-size: var(--step-1); font-family: var(--font); font-weight: 700; }
.display em, .h2 em, .h1 em { font-style: normal; color: var(--teal); position: relative; }
.display em::after, .h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .16em; background: var(--coral); z-index: -1; border-radius: 3px; }
.section.dark .display em, .section.dark .h2 em { color: var(--coral); }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); margin: 0 0 1rem; display: inline-flex; align-items: center; gap: .6rem; }
.kicker::before { content: ""; width: .6rem; height: .6rem; border-radius: 2px; background: var(--coral); flex: none; }
.section.dark .kicker { color: var(--coral); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--text-2); max-width: 40em; }
.section.dark .lede { color: rgba(255,255,255,.9); }
.section-head { max-width: 52rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.section-head p:last-child { margin-bottom: 0; }
.section-head p { color: var(--text-2); }
@media (max-width: 640px) { .section-head.split { grid-template-columns: minmax(0, 1fr); } }

/* Progress-bar divider */
.rule { display: flex; gap: .3rem; margin: 1.75rem 0; }
.rule span { height: 6px; border-radius: 3px; background: var(--teal); width: 3rem; }
.rule span:nth-child(2) { background: var(--coral); width: 3rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .9rem 1.6rem; min-height: 3.1rem; border-radius: var(--radius-sm); border: 2px solid transparent; font-weight: 700; font-size: var(--step--1); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: none; }
.btn .ico { width: 1.1em; height: 1.1em; }
.btn-teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-teal:hover { background: var(--teal-2); border-color: var(--teal-2); }
.btn-coral { background: var(--coral); color: #111A1F; border-color: var(--coral); }
.btn-coral:hover { background: #6AD6B6; border-color: #6AD6B6; }
.btn-ink { background: var(--slate); color: #fff; border-color: var(--slate); }
.btn-ink:hover { background: var(--slate-2); }
.btn-ghost { background: transparent; color: var(--slate); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--slate); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; color: var(--teal-ink); }
.link-arrow .ico { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.section.dark .link-arrow { color: var(--coral); }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem 1.25rem; align-items: center; margin-top: 2rem; }
.ico { width: 1.25rem; height: 1.25rem; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; isolation: isolate; background: var(--paper); }
.site-header::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(247,248,246,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--slate); }
.brand .mark { width: 2.6rem; height: 2.6rem; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; }
.brand-sub { font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.sub-short { display: none; }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-list { display: flex; gap: .1rem; list-style: none; }
.nav-link { display: block; padding: .55rem .8rem; text-decoration: none; font-weight: 600; font-size: var(--step--1); color: var(--text-2); border-radius: var(--radius-sm); white-space: nowrap; }
.nav-link:hover { color: var(--slate); background: var(--teal-tint); }
.nav-link.is-active { color: var(--teal-ink); background: var(--teal-tint); box-shadow: inset 0 -2px 0 var(--teal); }
.nav-extra { display: flex; align-items: center; gap: 1rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-weight: 700; font-size: var(--step--1); color: var(--slate); white-space: nowrap; }
.nav-phone .ico { width: 1rem; height: 1rem; color: var(--teal); }
.nav-cta { padding: .6rem 1.2rem; min-height: 2.5rem; }
.nav-toggle { display: none; background: var(--teal-tint); border: 2px solid transparent; border-radius: var(--radius-sm); width: 2.9rem; height: 2.9rem; align-items: center; justify-content: center; cursor: pointer; }
.burger { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.burger span { display: block; height: 2px; background: var(--slate); transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1240px) { .nav-phone { display: none; } .nav-link { padding-inline: .55rem; } }
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .brand, .nav-toggle { position: relative; z-index: 2; }
  .nav { position: fixed; inset: 0; z-index: 0; background: var(--paper); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 6rem var(--gutter) 3rem; gap: 1.5rem; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: .25rem; }
  .nav-link { font-family: var(--font-head); font-weight: 500; font-size: var(--step-2); padding: .7rem 1rem; white-space: normal; color: var(--slate); }
  .nav-extra { flex-direction: column; align-items: stretch; gap: 1rem; }
  .nav-phone { display: inline-flex; justify-content: center; font-size: var(--step-1); }
  .nav-cta { width: 100%; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 480px) { .brand-name { font-size: 1.15rem; white-space: nowrap; } .brand-sub { font-size: .52rem; white-space: nowrap; } .brand .mark { width: 2.2rem; height: 2.2rem; } .sub-long { display: none; } .sub-short { display: inline; } }

/* ---------- Photo frame with corner tab ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.frame { position: relative; }
.frame .photo { box-shadow: var(--shadow); }
.frame::after { content: ""; position: absolute; inset: 1rem -.75rem -.75rem 1rem; background: var(--coral); border-radius: var(--radius); z-index: -1; }
.frame.teal::after { background: var(--teal-tint); inset: 1rem 1rem -.75rem -.75rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -14rem; top: -12rem; width: 40rem; height: 40rem; border-radius: 50%; background: var(--paper-2); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy { container-type: inline-size; }
.hero-title { white-space: nowrap; font-size: min(var(--step-5), 8.6cqi); margin-bottom: 1.25rem; }
.hero-copy .lede { margin-bottom: 0; }
.hero-media { position: relative; padding: 0 .75rem .75rem 0; }
.hero-media .photo { aspect-ratio: 5 / 4; }
.hero-pill { position: absolute; left: 1.25rem; bottom: 1.25rem; background: #fff; color: var(--slate); padding: .7rem 1.1rem; border-radius: var(--radius-sm); box-shadow: var(--shadow); font-size: .8rem; font-weight: 700; display: inline-flex; align-items: center; gap: .5rem; }
.hero-pill .dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--coral-ink); }
.chips { display: grid; grid-template-columns: repeat(2, max-content); gap: .5rem; list-style: none; margin: 0 0 1.25rem; }
@media (min-width: 600px) and (max-width: 860px) { .chips { grid-template-columns: repeat(4, max-content); } }
@media (min-width: 1100px) { .chips { grid-template-columns: repeat(4, max-content); } }
.chips li { font-size: .78rem; font-weight: 700; letter-spacing: .04em; padding: .35rem .85rem; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); text-align: center; }
.trust-row { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 1.75rem; list-style: none; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.trust-row li { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--step--1); font-weight: 700; color: var(--text-2); }
.trust-row .ico { width: 1.2rem; height: 1.2rem; color: var(--teal); background: var(--teal-tint); border-radius: 50%; padding: .2rem; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-media { order: -1; margin: .5rem .5rem 1rem 0; } }
@media (max-width: 560px) { .hero-title { font-size: min(var(--step-5), 14cqi, 7.9vw); } }

/* ---------- Standards strip ---------- */
.cert-strip { display: grid; grid-template-columns: 1fr; gap: 1rem; padding: clamp(2rem, 4vw, 3rem) 0; border-bottom: 1px solid rgba(255,255,255,.14); }
@media (min-width: 600px) { .cert-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cert-strip { grid-template-columns: repeat(4, 1fr); } }
.cert { display: flex; gap: .8rem; align-items: flex-start; }
.cert-ico { width: 2.1rem; height: 2.1rem; border-radius: var(--radius-sm); background: var(--coral); color: var(--slate); display: grid; place-items: center; flex: none; }
.cert-ico .ico { width: 1.1rem; height: 1.1rem; }
.cert strong { display: block; color: #fff; font-size: var(--step--1); font-weight: 700; }
.cert span { display: block; font-size: .8rem; color: rgba(255,255,255,.75); }
.section.white .cert-strip, .section.teal .cert-strip { border: 0; padding: 0; }
.section.white .cert strong, .section.teal .cert strong { color: var(--slate); }
.section.white .cert span, .section.teal .cert span { color: var(--text-2); }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 600px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; box-shadow: 0 1px 0 var(--line); transition: transform .3s var(--ease), box-shadow .3s; min-width: 0; }
.service-card:hover, .service-card:focus-within { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1.2rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-num { font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--teal-ink); margin: 0; }
.card-title { font-size: var(--step-2); line-height: 1.12; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-text { color: var(--text-2); font-size: var(--step--1); margin: 0; flex: 1; }
.card-from { font-weight: 700; font-size: var(--step--1); margin: .25rem 0 0; color: var(--slate); border-top: 1px solid var(--line); padding-top: .8rem; }

/* ---------- Tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--paper-2); border-radius: var(--radius); padding: 1.7rem; display: flex; flex-direction: column; gap: .75rem; }
.tile .tile-ico { width: 3rem; height: 3rem; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--teal); color: #fff; }
.tile:nth-child(even) .tile-ico { background: var(--coral); color: var(--slate); }
.tile .tile-ico .ico { width: 1.4rem; height: 1.4rem; }
.tile h3 { font-size: var(--step-1); }
.tile p { color: var(--text-2); font-size: var(--step--1); margin: 0; }
.section.dark .tile { background: rgba(255,255,255,.07); box-shadow: none; }
.section.dark .tile p { color: rgba(255,255,255,.84); }

/* ---------- First visit steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: #fff; border-radius: var(--radius); padding: 1.7rem; display: flex; flex-direction: column; gap: .6rem; box-shadow: 0 1px 0 var(--line); position: relative; }
.step .s-num { font-family: var(--font-head); font-size: var(--step-3); font-weight: 600; line-height: 1; color: var(--teal-ink); margin: 0; }
.step h3 { font-size: var(--step-1); }
.step p:last-child { margin: 0; color: var(--text-2); font-size: var(--step--1); }
.section.dark .step { background: rgba(255,255,255,.07); box-shadow: none; }
.section.dark .step .s-num { color: var(--coral); }
.section.dark .step p:last-child { color: rgba(255,255,255,.84); }

/* ---------- Conditions ---------- */
.conditions { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 800px) { .conditions { grid-template-columns: repeat(4, 1fr); } }
.conditions li { background: var(--paper-2); border-radius: var(--radius-sm); padding: .9rem 1.1rem; display: flex; flex-direction: column; gap: .15rem; border-left: 4px solid var(--teal); min-width: 0; }
.conditions li:nth-child(even) { border-left-color: var(--coral); }
.conditions strong { font-size: var(--step--1); }
.conditions span { font-size: .8rem; color: var(--muted); }

/* ---------- Fees table ---------- */
.table-wrap { background: #fff; border-radius: var(--radius); box-shadow: 0 1px 0 var(--line); overflow: hidden; }
.fees-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.fees-table th, .fees-table td { padding: .9rem 1.2rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.fees-table thead th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); background: var(--teal-tint); }
.fees-table th[scope="row"] { font-weight: 700; color: var(--slate); font-size: var(--step-0); width: 34%; }
.fees-table td.n { font-family: var(--font-head); font-weight: 600; font-size: var(--step-1); color: var(--slate); white-space: nowrap; width: 12%; }
.fees-table td.note { color: var(--text-2); }
.fees-table tbody tr:last-child th, .fees-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 699px) {
  .fees-table thead { display: none; }
  .fees-table, .fees-table tbody, .fees-table tr, .fees-table th, .fees-table td { display: block; }
  .fees-table tr { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
  .fees-table tr:last-child { border-bottom: 0; }
  .fees-table th[scope="row"] { width: auto; padding: 0 0 .3rem; border: 0; }
  .fees-table td { padding: 0; border: 0; width: auto; }
  .fees-table td.n { padding-bottom: .3rem; }
}
.insurers { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; list-style: none; margin-top: 1.25rem; }
@media (min-width: 600px) { .insurers { grid-template-columns: repeat(4, 1fr); } }
.insurers li { font-size: .8rem; font-weight: 700; padding: .45rem .6rem; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); text-align: center; }

/* ---------- Gallery ---------- */
.projects-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 600px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } .projects-grid.three-up { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }
.project { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); display: flex; flex-direction: column; }
.project-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-kind { position: absolute; left: .9rem; top: .9rem; background: #fff; color: var(--slate); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .7rem; border-radius: var(--pill); }
.project-body { padding: 1.2rem 1.5rem 1.5rem; }
.project-body h3 { font-size: var(--step-1); line-height: 1.15; }
.project-place { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); font-weight: 700; margin: .5rem 0 .6rem; }
.project-place .ico { width: .9rem; height: .9rem; }
.project-body p:last-child { margin: 0; color: var(--text-2); font-size: var(--step--1); }

/* Compare slider (kept for parity) */
.compare { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); display: grid; gap: .5rem; }
.compare > div { position: relative; }
.compare img { width: 100%; height: auto; display: block; }
.cmp-tag { position: absolute; top: .9rem; left: .9rem; background: #fff; color: var(--slate); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .7rem; border-radius: var(--pill); }
.cmp-ctl, .cmp-handle { display: none; }
.compare.is-live { display: block; aspect-ratio: 16 / 9; }
.compare.is-live > div { position: absolute; inset: 0; }
.compare.is-live img { width: 100%; height: 100%; object-fit: cover; }
.compare.is-live .cmp-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare.is-live .cmp-ctl { display: block; position: absolute; inset: 0; margin: 0; cursor: ew-resize; }
.compare.is-live input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 100%; margin: 0; background: transparent; cursor: ew-resize; box-sizing: border-box; }
.compare.is-live .cmp-handle { display: block; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }

/* ---------- Feature ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature.flip > .feature-media { order: 2; }
.feature-media .photo { aspect-ratio: 4 / 3; }
.feature-media.frame { padding: 0 .75rem .75rem 0; }
.feature-media.frame.teal { padding: 0 0 .75rem .75rem; }
.feature-copy .h2 { margin-bottom: 1.25rem; }
.feature-copy p { color: var(--text-2); }
.check-list { list-style: none; display: grid; gap: .7rem; margin: 1.5rem 0; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--text-2); }
.check-list .ico { width: 1.3rem; height: 1.3rem; color: var(--teal); background: var(--teal-tint); border-radius: 50%; padding: .2rem; margin-top: .1rem; }
.section.dark .check-list li { color: rgba(255,255,255,.9); }
.section.dark .check-list .ico { color: var(--slate); background: var(--coral); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature.flip > .feature-media { order: 0; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; list-style: none; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { background: #fff; border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; box-shadow: 0 1px 0 var(--line); min-width: 0; }
.stats strong { display: block; font-family: var(--font-head); font-size: var(--step-3); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; color: var(--teal-ink); }
.stats span { font-size: var(--step--1); color: var(--muted); }
.section.dark .stats li { background: rgba(255,255,255,.08); box-shadow: none; } .section.dark .stats strong { color: var(--coral); } .section.dark .stats span { color: rgba(255,255,255,.75); }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 800px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review { background: #fff; border-radius: var(--radius); padding: 1.7rem; display: flex; flex-direction: column; gap: .9rem; box-shadow: 0 1px 0 var(--line); }
.review blockquote { margin: 0; font-size: var(--step-0); line-height: 1.55; flex: 1; }
.review blockquote p { margin: 0; }
.review footer { font-size: var(--step--1); color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.review footer strong { color: var(--text); }
.review .kind { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; background: var(--teal-tint); color: var(--teal-ink); padding: .2rem .6rem; border-radius: var(--pill); width: max-content; }
.stars { display: inline-flex; gap: .1rem; }
.stars .star { width: 1rem; height: 1rem; color: var(--teal); }
.stars .star.off { color: var(--line-strong); }
.rating-badge { display: inline-flex; align-items: center; gap: .9rem; padding: .8rem 1.2rem; background: #fff; border-radius: var(--radius-sm); box-shadow: 0 1px 0 var(--line); }
.rating-badge strong { font-family: var(--font-head); font-size: var(--step-2); line-height: 1; font-weight: 600; }
.rating-badge span { font-size: var(--step--1); color: var(--muted); }

/* ---------- Find us ---------- */
.areas-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 600px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } }
.area { background: #fff; border-radius: var(--radius); padding: 1.5rem; min-width: 0; box-shadow: 0 1px 0 var(--line); border-top: 6px solid var(--teal); }
.area:nth-child(even) { border-top-color: var(--coral); }
.area h3 { font-size: var(--step-1); }
.area p { margin: .5rem 0 0; font-size: var(--step--1); color: var(--text-2); }
.map { width: 100%; aspect-ratio: 16 / 7; border: 0; border-radius: var(--radius); filter: grayscale(.4); }
.map-wide { margin-top: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--slate); color: #fff; padding-block: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -6rem; top: -8rem; width: 22rem; height: 22rem; border-radius: 50%; background: var(--teal); opacity: .7; }
.cta-band::after { content: ""; position: absolute; left: -5rem; bottom: -9rem; width: 16rem; height: 16rem; border-radius: 50%; background: var(--coral); opacity: .35; }
.cta-band .h2 { color: #fff; margin-bottom: .75rem; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 44rem; margin: 0; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; align-items: center; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: .9rem; flex-wrap: wrap; justify-content: flex-end; }
.cta-band .btn-ink { background: var(--coral); color: #111A1F; border-color: var(--coral); }
@media (max-width: 860px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } .cta-actions { justify-content: flex-start; } }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(2.5rem, 5vw, 4.5rem); background: var(--paper-2); }
.page-hero .display { font-size: calc(var(--step-4) * .97); margin-bottom: 1.25rem; }
.page-hero .lede { margin-bottom: 0; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.page-hero-media { position: relative; padding: 0 .75rem .75rem 0; }
.page-hero-media::after { content: ""; position: absolute; inset: 1rem 0 0 1rem; background: var(--coral); border-radius: var(--radius); z-index: 0; }
.page-hero-media .photo { aspect-ratio: 4 / 3; box-shadow: var(--shadow); position: relative; z-index: 1; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ---------- Service page ---------- */
.service-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.service-body p { color: var(--text-2); }
.service-body .lede { color: var(--text); }
.aside-card { background: #fff; border-radius: var(--radius); padding: 1.6rem; position: sticky; top: 6rem; box-shadow: 0 1px 0 var(--line); border-top: 6px solid var(--teal); }
.aside-card + .aside-card { margin-top: 1.5rem; position: static; border-top-color: var(--coral); }
.aside-card .h4 { margin-bottom: 1rem; }
.aside-card .price { font-size: var(--step--1); color: var(--text-2); border-top: 1px solid var(--line); padding-top: 1rem; margin: 1rem 0; }
.aside-card .btn { width: 100%; }
.service-nav { list-style: none; display: grid; gap: .1rem; }
.service-nav a { display: flex; justify-content: space-between; align-items: center; padding: .6rem .6rem; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: var(--step--1); border-radius: var(--radius-sm); }
.service-nav a.is-active, .service-nav a:hover { background: var(--teal-tint); color: var(--teal-ink); }
.service-nav .ico { width: 1rem; height: 1rem; }
@media (max-width: 900px) { .service-layout { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* ---------- Forms ---------- */
.field label { display: block; font-weight: 700; font-size: var(--step--1); margin-bottom: .4rem; }
.field input, .field textarea, .field select { width: 100%; padding: .85rem 1.1rem; font: inherit; font-size: var(--step-0); color: var(--text); background: #fff; border: 2px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23263238'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.2rem; padding-right: 2.6rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.field textarea { resize: vertical; min-height: 7rem; }
.field .hint { font-size: .8rem; color: var(--muted); margin: .35rem 0 0; }
.field .error { font-size: .85rem; color: var(--red); font-weight: 700; margin: .4rem 0 0; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form { background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 1.1rem; box-shadow: 0 1px 0 var(--line); border-top: 6px solid var(--teal); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-weight: 700; margin: 0; }
.form-alert.ok { background: var(--coral-tint); color: var(--coral-ink); border: 1px solid var(--coral); }
.form-alert.bad { background: #F9E6E3; color: #7A1F18; border: 1px solid #EBB8B3; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-aside { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
.contact-card { min-width: 0; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 1px 0 var(--line); }
.contact-card.urgent { background: var(--teal); color: #fff; }
.contact-card.urgent h2, .contact-card.urgent a, .contact-card.urgent p { color: #fff; } .contact-card.urgent .ico { color: var(--coral); }
.contact-card h2 { font-size: var(--step-1); margin-bottom: .8rem; }
.contact-card p { margin: 0 0 .4rem; }
.contact-card a { display: inline-flex; min-width: 0; max-width: 100%; overflow-wrap: anywhere; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; padding: .3rem 0; }
.contact-card .ico { width: 1.05rem; height: 1.05rem; color: var(--teal); }
.address-block { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.5; }
.hours-list { list-style: none; display: grid; gap: .5rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--step--1); border-bottom: 1px dashed var(--line); padding-bottom: .5rem; }
.hours-list strong { text-align: right; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 800px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.person { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.person .media { aspect-ratio: 3 / 4; overflow: hidden; }
.person .media img { width: 100%; height: 100%; object-fit: cover; }
.person .body { padding: 1.2rem 1.5rem 1.5rem; }
.person h3 { font-size: var(--step-2); }
.person .role { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: .4rem 0 .8rem; background: var(--teal-tint); color: var(--teal-ink); display: inline-block; padding: .2rem .6rem; border-radius: var(--pill); }
.person p { color: var(--text-2); font-size: var(--step--1); margin: 0; }

/* ---------- FAQ & prose ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.2rem 0; font-family: var(--font-head); font-size: var(--step-1); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { width: 1.2rem; height: 1.2rem; transform: rotate(90deg); transition: transform .3s var(--ease); flex: none; color: var(--teal); }
.faq-item[open] .faq-ico { transform: rotate(-90deg); }
.faq-body { padding: 0 0 1.4rem; color: var(--text-2); max-width: 64ch; }
.faq-body p:last-child { margin: 0; }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin: 2.25rem 0 .75rem; }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.legal-meta { font-size: var(--step--1); color: var(--muted); border-left: 4px solid var(--coral); padding-left: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-ink); color: rgba(255,255,255,.85); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding: clamp(3rem, 5vw, 4.5rem) 0 2.5rem; }
.brand-footer { color: #fff; }
.brand-footer .brand-sub { color: rgba(255,255,255,.75); }
.footer-tag { margin: 1.25rem 0; font-size: var(--step--1); max-width: 36ch; color: rgba(255,255,255,.75); }
.social-row { display: flex; gap: .6rem; }
.social { width: 2.6rem; height: 2.6rem; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background-color .2s, border-color .2s; }
.social:hover { background: rgba(255,255,255,.1); border-color: var(--coral); }
.social .ico { width: 1.1rem; height: 1.1rem; }
.footer-h { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--coral); margin-bottom: 1rem; font-family: var(--font); }
.footer-address { font-size: var(--step--1); line-height: 1.7; }
.footer-contact { margin-top: .9rem; display: grid; gap: .1rem; font-size: var(--step--1); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--coral); }
.footer-contact a, .footer-links a, .footer-bottom a { display: inline-block; padding: .3rem 0; }
.footer-links { list-style: none; display: grid; gap: .1rem; font-size: var(--step--1); }
.footer-hours { list-style: none; display: grid; gap: .5rem; font-size: var(--step--1); margin-bottom: 1.25rem; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed rgba(255,255,255,.2); padding-bottom: .5rem; }
.footer-hours strong { color: #fff; text-align: right; }
.site-footer a.btn-coral { color: #111A1F; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding: 1.25rem 0 .5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: #CFD8DC; }
.footer-bottom p { margin: 0; }
.footer-bottom .legal { display: flex; gap: 1.25rem; }
.footer-bottom a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: .2em; }
.footer-fine { padding: .5rem 0 2rem; }
.footer-fine p { margin: 0; font-size: .74rem; color: #CFD8DC; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal (transform only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transform: translateY(14px); transition: transform .6s var(--ease); }
  .reveal.in, .no-js .reveal { transform: none; }
  .reveal.instant { transition: none; }
  .reveal.d1 { transition-delay: .06s; } .reveal.d2 { transition-delay: .12s; } .reveal.d3 { transition-delay: .18s; } .reveal.d4 { transition-delay: .24s; }
}
@media print { .site-header, .cta-band, .nav-toggle, .skip, .social-row { display: none !important; } }

/* Accessibility-first additions */
:focus-visible { outline: 3px solid var(--coral-ink); outline-offset: 3px; }
.btn:focus-visible, a:focus-visible { box-shadow: 0 0 0 5px var(--paper), 0 0 0 8px var(--coral-ink); }

/* Stats on the dark band: light text for contrast */
.section.dark .stats li span { color: #D5E2DE; }
.section.dark .stats li strong { color: #FFFFFF; }
