/* ==========================================================================
   TheDentalPractice — Model Town, Lahore
   Design system. Colours are sampled from the clinic's own signage and rooms:
   lime from the signboard, oxblood from the waiting-room chairs, paper from
   the warm cream floor tile under the clinic's lighting.
   ========================================================================== */

/* --- tokens ------------------------------------------------------------- */
:root {
  /* colour */
  --paper:      #F4F6EE;
  --paper-2:    #E9EDDD;
  --paper-3:    #DDE3CB;
  --ink:        #16200F;
  --ink-2:      #4C5741;
  --lime:       #A6CE39;
  --lime-deep:  #6E8F1F;
  --clay:       #7E2E23;
  --line:       #DFE4D2;
  --white:      #FFFFFF;

  /* type */
  --display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --body:    "Newsreader", ui-serif, Georgia, serif;
  --ui:      "Archivo", ui-sans-serif, system-ui, sans-serif;

  /* the display face is the signboard: wide, heavy, tight */
  --wide:   125;
  --semi:   112;

  /* spacing scale */
  --s1: 0.25rem;  --s2: 0.5rem;   --s3: 0.75rem;  --s4: 1rem;
  --s5: 1.5rem;   --s6: 2rem;     --s7: 3rem;     --s8: 4rem;
  --s9: 6rem;     --s10: 8rem;

  /* layout */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --measure: 62ch;
  --maxw: 1280px;
  --radius: 18px;
  --radius-sm: 10px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-variation-settings: "opsz" 16;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: "wdth" var(--wide), "wght" 700;
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 var(--s4); }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

button { font: inherit; color: inherit; }

::selection { background: var(--lime); color: var(--ink); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: var(--s3) var(--s5);
  font-family: var(--ui); font-weight: 600; text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* --- type scale --------------------------------------------------------- */
.t-hero    { font-size: clamp(2.1rem, 5.1vw, 4rem); }
.t-h2      { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.t-h3      { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.t-h4      { font-family: var(--ui); font-variation-settings: "wdth" 100, "wght" 650;
             font-size: 1.0625rem; letter-spacing: -0.005em; line-height: 1.3; }

.lead {
  font-size: clamp(1.125rem, 1.9vw, 1.375rem);
  line-height: 1.68;
  font-variation-settings: "opsz" 24;
  color: var(--ink-2);
  max-width: 46ch;
}

.prose { max-width: var(--measure); }
.prose p + p { margin-top: 0; }

.muted { color: var(--ink-2); }

/* --- sign plate: the section marker, drawn from the clinic's signboard ---- */
.plate {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--ui);
  font-variation-settings: "wdth" 100, "wght" 700;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.5em 0.85em 0.45em;
  border-radius: 0;              /* signs are square; everything else is not */
  white-space: nowrap;
}
.plate svg { width: 1.05em; height: auto; flex: none; }
.plate--ink   { background: var(--ink); color: var(--paper); }
.plate--clay  { background: var(--clay); color: var(--white); }
.plate--quiet { background: var(--paper-3); color: var(--ink); }

/* --- layout ------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: clamp(4rem, 8.5vw, 7.5rem); }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.band--paper2 { background: var(--paper-2); }
.band--ink { background: var(--ink); color: var(--paper); }
.band--ink .muted, .band--ink .lead { color: #A8B39C; }
.band--ink .rule { background: #2C3823; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.section-head {
  display: grid;
  gap: var(--s5);
  margin-bottom: var(--s7);
}
@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start;
    gap: var(--s8);
  }
}
.section-head > .plate { justify-self: start; }

.section-head__split { display: grid; gap: var(--s5); }
@media (min-width: 900px) {
  .section-head__split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start;
    gap: var(--s8);
  }
}

/* two bands of the same colour in a row do not need a double seam */
.band:not(.band--paper2):not(.band--ink) + .band:not(.band--paper2):not(.band--ink) {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

/* --- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--ui);
  font-variation-settings: "wdth" 100, "wght" 650;
  font-size: 0.9375rem;
  letter-spacing: 0.005em;
  padding: 0.9em 1.6em;
  border-radius: 100px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
              color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn svg { width: 15px; height: auto; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: #24331A; }

.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #B4D953; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: var(--paper-2); }

.band--ink .btn--ghost { color: var(--paper); border-color: #3A472F; }
.band--ink .btn--ghost:hover { border-color: var(--paper); background: #22301A; }

.btn--sm { padding: 0.65em 1.15em; font-size: 0.875rem; }

/* --- header ------------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.masthead.is-stuck { border-bottom-color: var(--line); }

.masthead__inner {
  display: flex;
  align-items: center;
  gap: var(--s5);
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand svg { width: 32px; height: auto; color: var(--ink); }
.brand__name {
  font-family: var(--ui);
  font-variation-settings: "wdth" 108, "wght" 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.1;
}
.brand__name span { display: block; font-variation-settings: "wdth" 100, "wght" 400;
  font-size: 0.625rem; letter-spacing: 0.14em; color: var(--ink-2); }

.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(0.5rem, 1.6vw, 1.75rem); }
.nav a {
  font-family: var(--ui);
  font-variation-settings: "wdth" 100, "wght" 550;
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 0.4em 0;
  position: relative;
  white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--lime);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.22s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.masthead__cta { display: flex; align-items: center; gap: var(--s3); flex: none; }
.masthead__tel {
  font-family: var(--display);
  font-variation-settings: "wdth" 105, "wght" 700;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
}
.masthead__tel:hover { color: var(--lime-deep); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  padding: 0.5em 0.9em;
  font-family: var(--ui);
  font-variation-settings: "wdth" 100, "wght" 650;
  font-size: 0.8125rem;
  cursor: pointer;
}

@media (max-width: 940px) {
  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: var(--s4) var(--gutter) var(--s6);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 0.85em 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .nav a::after { display: none; }
  .nav-toggle { display: block; }
  .masthead__cta .btn { display: none; }
}
@media (max-width: 560px) {
  .masthead__tel { display: none; }
}

/* --- hero --------------------------------------------------------------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); }
.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr); align-items: center; }
}

.hero h1 { margin-bottom: var(--s5); }
.hero h1 em {
  font-style: normal;
  color: var(--lime-deep);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s5);
  font-family: var(--ui);
  font-variation-settings: "wdth" 100, "wght" 500;
  font-size: 0.875rem;
  color: var(--ink-2);
  margin-top: var(--s6);
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
}
.hero__meta b { font-variation-settings: "wdth" 100, "wght" 650; color: var(--ink); font-weight: normal; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-2);
}

/* the phone number is the product: in Lahore you book by calling */
.callcard {
  display: block;
  text-decoration: none;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.35rem, 3vw, 2rem);
  margin-top: var(--s6);
  transition: background-color 0.2s var(--ease);
}
.callcard:hover { background: #22301A; }
.callcard__label {
  font-family: var(--ui);
  font-variation-settings: "wdth" 100, "wght" 600;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.35em;
}
.callcard__num {
  font-family: var(--display);
  font-variation-settings: "wdth" var(--wide), "wght" 750;
  font-size: clamp(2.1rem, 5.4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-feature-settings: "tnum" 1;
  display: flex;
  align-items: baseline;
  gap: 0.4em;
  flex-wrap: wrap;
}
.callcard__hours {
  font-family: var(--ui);
  font-variation-settings: "wdth" 100, "wght" 450;
  font-size: 0.8125rem;
  color: #A8B39C;
  margin-top: 0.7em;
}

/* --- signature: the clinic tour ----------------------------------------- */
.tour__head { display: flex; flex-wrap: wrap; align-items: end; gap: var(--s5); margin-bottom: var(--s6); }
.tour__head .section-head { margin-bottom: 0; flex: 1 1 24rem; }

.tour__controls { display: flex; gap: var(--s2); margin-left: auto; }
.tour__btn {
  width: 46px; height: 46px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: transparent;
  display: grid; place-items: center;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease), opacity 0.18s;
}
.tour__btn:hover:not(:disabled) { border-color: var(--ink); background: var(--paper-2); }
.tour__btn:disabled { opacity: 0.3; cursor: default; }
.tour__btn svg { width: 17px; height: 17px; }

.tour__railwrap { width: 100%; }
.tour__rail {
  display: flex;
  gap: var(--s4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* full-bleed, but the first card lines up with the content column */
  --rail-pad: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  padding-inline: var(--rail-pad);
  scroll-padding-left: var(--rail-pad);
  padding-bottom: var(--s4);
  scrollbar-width: none;
}
.tour__rail::-webkit-scrollbar { display: none; }

.stop {
  flex: 0 0 min(78vw, 30rem);
  scroll-snap-align: start;
}
.stop__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
}
.stop__frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.stop__step {
  position: absolute;
  left: 0; top: 0;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--ui);
  font-variation-settings: "wdth" 100, "wght" 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 0.5em 0.8em 0.45em;
  font-feature-settings: "tnum" 1;
}
.stop__body { padding-top: var(--s4); }
.stop__body h3 { margin-bottom: 0.3em; }
.stop__body p { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); margin: 0; }

/* --- services ----------------------------------------------------------- */
.svc-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 700px)  { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.svc {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.svc:hover { background: var(--paper-2); }
.svc h3 { font-family: var(--display); font-variation-settings: "wdth" 108, "wght" 700;
  font-size: 1.3125rem; letter-spacing: -0.02em; }
.svc p { font-size: 0.9688rem; line-height: 1.62; color: var(--ink-2); margin: 0; }
.svc__more {
  margin-top: auto;
  font-family: var(--ui);
  font-variation-settings: "wdth" 100, "wght" 600;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.4em;
  padding-top: var(--s3);
}
.svc__more svg { width: 13px; transition: transform 0.2s var(--ease); }
.svc:hover .svc__more svg { transform: translateX(4px); }

/* --- before / after ----------------------------------------------------- */
.compare {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  touch-action: pan-y;
  user-select: none;
  cursor: ew-resize;
}
.compare img { width: 100%; display: block; pointer-events: none; }
.compare__after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 50%;
}
.compare__after img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
}
.compare__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--paper);
  transform: translateX(-1px);
  pointer-events: none;
}
.compare__grip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 100px;
  background: var(--paper);
  color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 3px 14px rgba(10, 18, 6, 0.28);
}
.compare__grip svg { width: 20px; }
.compare__tag {
  position: absolute;
  bottom: var(--s3);
  font-family: var(--ui);
  font-variation-settings: "wdth" 100, "wght" 700;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45em 0.75em 0.4em;
  background: var(--ink);
  color: var(--paper);
  pointer-events: none;
}
.compare__tag--before { left: var(--s3); }
.compare__tag--after  { right: var(--s3); background: var(--lime); color: var(--ink); }

.compare__range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  margin: 0;
  cursor: ew-resize;
}

.case-note {
  font-family: var(--ui);
  font-size: 0.8125rem;
  color: var(--ink-2);
  margin-top: var(--s4);
  line-height: 1.55;
}

/* --- gallery ------------------------------------------------------------ */
.gal {
  display: grid;
  gap: var(--s3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) { .gal { grid-template-columns: repeat(4, 1fr); } }
.gal img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); background: var(--paper-2); }
.gal figure { margin: 0; }
.gal figcaption {
  font-family: var(--ui); font-size: 0.75rem; letter-spacing: 0.04em;
  color: var(--ink-2); padding-top: var(--s2);
}

/* --- Google rating ------------------------------------------------------ */
.grating {
  display: inline-flex;
  align-items: center;
  gap: var(--s4);
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s4) var(--s5);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.grating:hover { border-color: var(--ink); transform: translateY(-2px); }
.grating__num {
  font-family: var(--display);
  font-variation-settings: "wdth" var(--semi), "wght" 700;
  font-size: clamp(2.4rem, 4.5vw, 3.1rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-feature-settings: "tnum" 1;
}
.grating__meta { display: grid; gap: 0.2rem; }
.grating__stars { color: var(--lime-deep); letter-spacing: 0.16em; font-size: 1rem; line-height: 1; }
.grating__label {
  font-family: var(--ui); font-variation-settings: "wdth" 100, "wght" 500;
  font-size: 0.8125rem; color: var(--ink-2); line-height: 1.35;
}

/* --- reviews ------------------------------------------------------------ */
.reviews { display: grid; gap: var(--s4); }
@media (min-width: 860px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 2.6vw, 1.85rem);
  display: flex; flex-direction: column; gap: var(--s4);
}
.band--paper2 .review { background: var(--paper); }
.review__stars { color: var(--lime-deep); letter-spacing: 0.2em; font-size: 0.9375rem; }
.review blockquote { margin: 0; font-size: 1.1875rem; line-height: 1.55;
  font-variation-settings: "opsz" 22; }
.review figcaption {
  font-family: var(--ui); font-variation-settings: "wdth" 100, "wght" 600;
  font-size: 0.875rem; margin-top: auto; padding-top: var(--s2);
  border-top: 1px solid var(--line);
}

/* --- in-house list ------------------------------------------------------ */
.inhouse {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 2.6vw, 1.85rem);
  background: var(--paper);
}
.inhouse h3 {
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s3);
}
.inhouse ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55em; }
.inhouse li {
  font-family: var(--ui);
  font-size: 0.9375rem;
  line-height: 1.4;
  padding-left: 1.35em;
  position: relative;
  color: var(--ink-2);
}
.inhouse li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 0.5em; height: 0.5em;
  background: var(--lime);
}

/* --- FAQ ---------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s5);
  background: none; border: 0; text-align: left;
  padding: var(--s5) 0;
  cursor: pointer;
  font-family: var(--display);
  font-variation-settings: "wdth" 106, "wght" 650;
  font-size: clamp(1.0625rem, 1.9vw, 1.3125rem);
  letter-spacing: -0.018em;
  line-height: 1.3;
}
.faq__q:hover { color: var(--lime-deep); }
.faq__icon { flex: none; width: 22px; height: 22px; margin-top: 0.25em; transition: transform 0.25s var(--ease); }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s var(--ease); }
.faq__a[data-open="true"] { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p, .faq__a ul { max-width: var(--measure); color: var(--ink-2); }
.faq__a > div > :first-child { margin-top: 0; }
.faq__a > div > :last-child { padding-bottom: var(--s5); }

/* --- contact / forms ---------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 920px) { .contact-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }

.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); }
.info-list dt, .info-list__label {
  font-family: var(--ui); font-variation-settings: "wdth" 100, "wght" 600;
  font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 0.4em;
}
.info-list__value { font-size: 1.0625rem; line-height: 1.5; }
.info-list a { text-decoration: none; background-image: linear-gradient(var(--lime), var(--lime));
  background-size: 100% 2px; background-repeat: no-repeat; background-position: 0 100%;
  padding-bottom: 1px; }
.info-list a:hover { background-color: var(--lime); }

.form { display: grid; gap: var(--s4); }
.form__row { display: grid; gap: var(--s4); }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.4rem; }
.field > label {
  font-family: var(--ui); font-variation-settings: "wdth" 100, "wght" 600;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
}
.field input, .field select, .field textarea {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8em 0.9em;
  width: 100%;
}
.band--paper2 .field input, .band--paper2 .field select, .band--paper2 .field textarea { background: var(--paper); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(166, 206, 57, 0.35);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234C5741' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 12px;
  padding-right: 2.4rem; }

.form__note { font-family: var(--ui); font-size: 0.8125rem; color: var(--ink-2); line-height: 1.55; }

/* honeypot: off-screen for people, irresistible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.formstatus {
  font-family: var(--ui);
  font-size: 0.9375rem;
  line-height: 1.5;
  padding: 0.85em 1em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.formstatus[data-state="ok"]   { border-color: var(--lime-deep); background: #EDF5DC; color: var(--ink); }
.formstatus[data-state="error"]{ border-color: var(--clay); background: #F7E9E6; color: var(--clay); }
.form button[aria-busy="true"] { opacity: 0.65; pointer-events: none; }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 16 / 8;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --- blog --------------------------------------------------------------- */
.post-list { display: grid; gap: var(--s6); }
@media (min-width: 860px) { .post-list { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }

.post-card {
  display: flex; flex-direction: column; gap: var(--s4);
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.post-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--paper-2); }
.post-card__body { padding: 0 var(--s5) var(--s5); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.post-card h3 { font-size: 1.25rem; font-variation-settings: "wdth" 106, "wght" 700; letter-spacing: -0.02em; }
.post-card p { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); margin: 0; }
.post-card__date {
  font-family: var(--ui); font-size: 0.6875rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-2); margin-top: auto;
}

.article { max-width: 42rem; margin-inline: auto; }
.article h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: var(--s8); margin-bottom: var(--s4); }
.article h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); margin-top: var(--s7); margin-bottom: var(--s3); }
.article p, .article li { font-size: 1.0938rem; line-height: 1.75; }
.article ul, .article ol { padding-left: 1.2em; margin: 0 0 var(--s5); display: grid; gap: 0.4em; }
.article > img { border-radius: var(--radius); margin-block: var(--s6); width: 100%; }
.article strong { font-weight: 600; }

/* --- footer ------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--paper); padding-block: clamp(3rem, 6vw, 5rem) var(--s6); }
.footer a { color: var(--paper); text-decoration: none; }
.footer a:hover { color: var(--lime); }
.footer__grid { display: grid; gap: var(--s7); }
@media (min-width: 820px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s6); } }
.footer__brand svg { width: 190px; color: var(--paper); margin-bottom: var(--s4); }
.footer__blurb { color: #A8B39C; font-size: 0.9375rem; line-height: 1.6; max-width: 30ch; }
.footer h4 {
  font-family: var(--ui); font-variation-settings: "wdth" 100, "wght" 650;
  font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lime); margin-bottom: var(--s4);
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.footer li { font-family: var(--ui); font-size: 0.9375rem; }
.footer__bottom {
  margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid #2C3823;
  display: flex; flex-wrap: wrap; gap: var(--s4); justify-content: space-between;
  font-family: var(--ui); font-size: 0.8125rem; color: #A8B39C;
}

/* sticky call bar — phones are how appointments actually get made here */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.callbar a {
  flex: 1;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--ui);
  font-variation-settings: "wdth" 100, "wght" 650;
  font-size: 0.9375rem;
  padding: 0.95em 0.5em;
  display: flex; align-items: center; justify-content: center; gap: 0.45em;
}
.callbar a.is-primary { background: var(--lime); }
.callbar svg { width: 16px; }
@media (max-width: 700px) {
  .callbar { display: flex; }
  body { padding-bottom: 3.4rem; }
}

/* --- motion ------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(18px); }
.js [data-reveal].is-in { opacity: 1; transform: none;
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

.hero__line { display: block; }
.hero__line > span { display: block; }
.js .hero__line > span { transform: translateY(0.42em); opacity: 0; }
.js .hero.is-ready .hero__line > span {
  transform: none;
  opacity: 1;
  transition: transform 0.8s var(--ease), opacity 0.7s var(--ease);
}
.js .hero.is-ready .hero__line:nth-child(2) > span { transition-delay: 0.09s; }
.js .hero.is-ready .hero__line:nth-child(3) > span { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .js .hero__line > span { transform: none; opacity: 1; }
  .btn:hover, .post-card:hover { transform: none; }
}

/* --- utilities ---------------------------------------------------------- */
.mt-5 { margin-top: var(--s5); }
.stack-4 > * + * { margin-top: var(--s4); }
.stack-5 > * + * { margin-top: var(--s5); }
.stack-6 > * + * { margin-top: var(--s6); }
.mt-6 { margin-top: var(--s6); }
.mt-7 { margin-top: var(--s7); }
.flex-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

/* page intro shared by inner pages */
.pagehead { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.pagehead h1 { font-size: clamp(2.25rem, 5.6vw, 4rem); margin-block: var(--s5) var(--s5); }
.pagehead .lead { max-width: 54ch; }
