/* Dental office template
   A warm palette: plum, sand and stucco, brick accents, and a dark green
   window frame for the lettered window in the hours section. */

:root {
  --cream: #f7f1e8;
  --sand: #eee4d6;
  --stucco: #dccdb8;
  --stucco-deep: #c9b79e;
  --plum: #4a2336;
  --plum-deep: #2f1622;
  --plum-soft: #75465e;
  --plum-tint: #ecdfe4;
  --brick: #b9704f;
  --brick-ink: #8e4a2e;
  --ink: #241a1f;
  --muted: #5d4f56;
  --glass: #101513;
  --mullion: #24342b;
  --line: rgba(36, 26, 31, 0.14);
  --line-light: rgba(247, 241, 232, 0.2);

  --font-display: "Petrona", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Albert Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 132px);
  --shadow: 0 1px 2px rgba(47, 22, 34, 0.06), 0 12px 32px -12px rgba(47, 22, 34, 0.22);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(76px + env(safe-area-inset-bottom)); /* room for the phone call bar */
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h3 { font-size: 1.375rem; line-height: 1.2; }

p { margin: 0 0 1em; }

em { font-style: italic; }

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--plum);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

/* ---------- template bar ---------- */
.template-bar {
  background: var(--ink);
  color: #efe7dc;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
  padding: 8px var(--gutter);
  letter-spacing: 0.01em;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 232, 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  margin-right: auto;
}

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.site-nav { display: none; }

.header-call {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--plum);
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: background 0.2s ease, transform 0.2s ease;
}
.header-call:hover { background: var(--plum-deep); transform: translateY(-1px); }

@media (min-width: 560px) {
  .header-call { display: inline-flex; }
}

@media (min-width: 980px) {
  .site-nav {
    display: flex;
    gap: 26px;
    font-size: 0.9375rem;
    font-weight: 500;
  }
  .site-nav a {
    text-decoration: none;
    color: var(--muted);
    padding: 6px 0;
    background: linear-gradient(var(--brick), var(--brick)) left bottom / 0 2px no-repeat;
    transition: color 0.2s ease, background-size 0.25s ease;
  }
  .site-nav a:hover { color: var(--ink); background-size: 100% 2px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  font-variant-numeric: tabular-nums;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--plum); color: var(--cream); }
.btn-primary:hover { background: var(--plum-deep); }

.btn-ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-ghost:hover { background: var(--plum); color: var(--cream); }

.btn-light { background: var(--cream); color: var(--plum-deep); }
.btn-light:hover { background: #fff; }

.btn-block { width: 100%; }

.text-link {
  display: inline-block;
  font-weight: 700;
  color: var(--brick-ink);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  font-variant-numeric: tabular-nums;
}
.text-link:hover { color: var(--plum); }
@media (max-width: 599px) {
  .text-link { padding-top: 10px; padding-bottom: 5px; }
}

.kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick-ink);
  margin-bottom: 14px;
}
.kicker-light { color: #e9b89f; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, min(7vw, 8vh), 88px) 0 clamp(56px, 8vw, 104px);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(185, 112, 79, 0.12), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
}

.hero-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.eyebrow { margin-bottom: 22px; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}
.status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--stucco-deep);
  flex: none;
}
.status.is-open .status-dot {
  background: #2f8f5b;
  box-shadow: 0 0 0 0 rgba(47, 143, 91, 0.5);
  animation: pulse 2.4s ease-out infinite;
}
.status.is-closed .status-dot { background: var(--brick); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 143, 91, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(47, 143, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 143, 91, 0); }
}

.hero h1 {
  font-size: clamp(2.5rem, min(6.6vw, 8vh), 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  max-width: 15ch;
}
.hero h1 em {
  color: var(--plum);
  font-weight: 400;
}

.lede {
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-photo {
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(100%, 520px);
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 28px -18px -18px 28px;
  border-radius: 999px 999px 28px 28px;
  background: var(--plum);
}
.arch {
  position: relative;
  border-radius: 999px 999px 28px 28px;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: var(--stucco);
  box-shadow: var(--shadow);
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 30%;
}

.hero-tag {
  position: absolute;
  left: -8px;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  background: var(--glass);
  color: #fff;
  border: 4px solid var(--mullion);
  border-radius: 6px;
  box-shadow: var(--shadow);
  font-weight: 700;
  line-height: 1.1;
}
.hero-tag-k {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cfd6d1;
}
.hero-tag-v { font-size: 1rem; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
  .hero-photo { justify-self: end; }
}

/* short laptop screens: keep the headline and the call button on the first screen */
@media (min-width: 900px) and (max-height: 820px) {
  .hero { padding: clamp(28px, 5vh, 48px) 0 clamp(40px, 7vh, 72px); }
  .eyebrow { margin-bottom: 16px; }
  .hero h1 { margin-bottom: 18px; }
  .lede { margin-bottom: 22px; }
  .hero-actions { margin-bottom: 18px; }
  .hero-photo { width: min(100%, 520px, calc((100vh - 200px) * 0.87)); }
}

/* phones: name and call button come up higher, clear of the call bar */
@media (max-width: 599px) {
  .eyebrow { margin-bottom: 16px; }
  .hero h1 { margin-bottom: 20px; }
  .lede { margin-bottom: 24px; }
  .hero-actions { margin-bottom: 22px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 2.25rem; }
  .lede { font-size: 1.0625rem; }
}

/* hero entrance */
.hero-copy > * {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.4s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.5s; }
.hero-photo {
  opacity: 0;
  animation: rise 1s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* ---------- ribbon ---------- */
.ribbon {
  background: var(--plum);
  color: var(--cream);
}
.ribbon-list {
  list-style: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  padding-block: 8px;
}
.ribbon-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
}
.ribbon-list li:last-child { border-bottom: 0; }
.ribbon-k {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e9b89f;
}
.ribbon-v { font-weight: 500; }

@media (min-width: 640px) {
  .ribbon-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .ribbon-list li:nth-last-child(2) { border-bottom: 0; }
}
@media (min-width: 1040px) {
  .ribbon-list { grid-template-columns: repeat(4, 1fr); padding-block: 0; }
  .ribbon-list li {
    border-bottom: 0;
    border-left: 1px solid var(--line-light);
    padding: 26px 0 26px 24px;
  }
  .ribbon-list li:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section-y); }

/* ---------- services ---------- */
.services-grid {
  display: grid;
  gap: 40px;
}
.services-intro p { color: var(--muted); max-width: 30rem; }

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.service-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, padding 0.25s ease;
}
.service-list .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.375rem;
  color: var(--brick);
  line-height: 1.2;
  font-variant-numeric: lining-nums;
}
.service-list h3 { margin-bottom: 6px; }
.service-list p { margin: 0; color: var(--muted); }
.service-list a { color: var(--plum); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; }

@media (hover: hover) {
  .service-list li:hover { background: linear-gradient(90deg, var(--plum-tint), transparent 80%); padding-left: 12px; }
}

.whitening {
  position: relative;
  overflow: hidden;
  background: var(--brick-ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 32px 28px 30px;
  isolation: isolate;
}
.whitening::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  z-index: -1;
}
.whitening .kicker { color: #f3cdb9; }
.whitening h3 { font-size: 1.875rem; margin-bottom: 10px; }
.whitening p { color: #f6e6dc; }
.whitening .btn { margin-top: 6px; }
.sparkle {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 44px;
  height: 44px;
  fill: #f7d9c8;
  animation: twinkle 3.2s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.9; }
  50% { transform: scale(1.12) rotate(12deg); opacity: 1; }
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: 0.9fr 1.1fr;
    column-gap: 72px;
    row-gap: 32px;
    align-items: start;
  }
  .services-intro { position: sticky; top: 110px; grid-row: 1 / span 2; }
  .service-list { grid-column: 2; }
  .whitening { grid-column: 2; }
}

/* ---------- insurance ---------- */
.insurance {
  background:
    radial-gradient(90% 120% at 0% 100%, rgba(185, 112, 79, 0.28), transparent 55%),
    var(--plum-deep);
  color: var(--cream);
  padding-block: clamp(64px, 9vw, 112px);
}
.insurance-grid { display: grid; gap: 12px; }
.insurance-big {
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  line-height: 1.04;
  max-width: 16ch;
  margin-bottom: 28px;
}
.insurance-big em { color: #f0c3ab; font-weight: 400; }
.insurance-notes {
  display: grid;
  gap: 20px;
  max-width: 60rem;
}
.insurance-notes p {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  color: #eadfe3;
}
.insurance-notes strong { color: var(--cream); }
.insurance-notes a { color: var(--cream); font-weight: 700; white-space: nowrap; }

@media (min-width: 760px) {
  .insurance-notes { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ---------- about ---------- */
.about { background: var(--sand); }
.about-grid { display: grid; gap: 40px; align-items: center; }

.about-photo { margin: 0; position: relative; }
.about-photo img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: 50% 40%;
  box-shadow: var(--shadow);
}
.about-photo figcaption {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--muted);
}

.about-copy > p { color: var(--muted); max-width: 36rem; }

.promise {
  margin: 32px 0;
  padding: 0 0 0 24px;
  border-left: 3px solid var(--brick);
}
.promise p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3125rem, 2.4vw, 1.625rem);
  line-height: 1.35;
  color: var(--plum);
  margin-bottom: 12px;
}
.promise footer {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.access {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.access li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 500;
}
.access svg { width: 18px; height: 18px; fill: var(--plum); flex: none; }

@media (min-width: 600px) and (max-width: 899px) {
  .about-photo img { aspect-ratio: 4 / 3; object-position: 50% 60%; }
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 80px; }
}

/* ---------- visit ---------- */
.visit-head { margin-bottom: 40px; max-width: 40rem; }

.visit-grid {
  display: grid;
  gap: 20px;
}

/* the storefront window, rebuilt in CSS */
.window-sign {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 0.62fr 1fr;
  gap: 10px;
  padding: 12px;
  min-height: 300px;
  background: var(--mullion);
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 10px var(--stucco-deep), 0 0 0 12px rgba(36, 26, 31, 0.12), var(--shadow);
  margin: 12px;
  transition: transform 0.35s ease;
}
.window-sign:hover { transform: translateY(-3px); }
.window-sign:focus-visible { outline-offset: 16px; }

.pane {
  position: relative;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, #1b231f 0%, var(--glass) 100%);
  border-radius: 2px;
  overflow: hidden;
}
/* faint tree reflections in the glass */
.pane-tl::before,
.pane-tr::before {
  content: "";
  position: absolute;
  inset: auto 0 -10px 0;
  height: 80%;
  background:
    radial-gradient(18px 60px at 20% 100%, rgba(120, 140, 128, 0.18), transparent 70%),
    radial-gradient(22px 72px at 48% 100%, rgba(120, 140, 128, 0.14), transparent 70%),
    radial-gradient(16px 52px at 78% 100%, rgba(120, 140, 128, 0.16), transparent 70%);
}
.pane-bl,
.pane-br {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(10px, 3vw, 22px);
  gap: clamp(8px, 2.4vw, 18px);
}
.pane-bl { align-items: flex-end; text-align: right; }
.pane-br { align-items: flex-start; }

.sign-word,
.sign-num {
  font-family: "Albert Sans", Arial, sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.sign-word { font-size: clamp(1.75rem, 6.4vw, 3rem); }
.sign-num { font-size: clamp(1.6rem, 6vw, 2.75rem); font-variant-numeric: tabular-nums; }
.sign-num small { font-size: 0.66em; margin-right: 0.12em; }

.sheen {
  position: absolute;
  inset: -50%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.10) 48%, rgba(255, 255, 255, 0.02) 54%, transparent 60%);
  transform: translateX(-40%);
  transition: transform 1.1s ease;
  pointer-events: none;
}
.window-sign:hover .sheen,
.window-sign:focus-visible .sheen { transform: translateX(40%); }

.hours-card,
.address-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}
.hours {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.hours th,
.hours td {
  text-align: left;
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.hours th { font-weight: 600; }
.hours td { text-align: right; color: var(--ink); }
.hours tr.closed td { color: var(--muted); }
.hours tr:last-child th,
.hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th,
.hours tr.is-today td { background: var(--plum-tint); }
.hours tr.is-today th { border-radius: 8px 0 0 8px; }
.hours tr.is-today td { border-radius: 0 8px 8px 0; font-weight: 700; }
.hours tr.is-today th::after {
  content: "Today";
  margin-left: 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plum);
  vertical-align: 2px;
}
.hours-note { margin: 16px 0 0; font-size: 0.9375rem; color: var(--muted); }
.hours-note a { color: var(--plum); font-weight: 600; }

address {
  font-style: normal;
  font-size: 1.1875rem;
  line-height: 1.5;
  margin-bottom: 22px;
}
.address-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.front-photo { margin: 0; }
.front-photo img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.front-photo figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }
@media (max-width: 599px) {
  .front-photo figcaption,
  .about-photo figcaption { font-size: 0.9375rem; }
}

@media (min-width: 760px) {
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .window-sign { grid-column: 1 / -1; min-height: 340px; }
  .front-photo { grid-column: 1 / -1; }
  .front-photo img { aspect-ratio: 2 / 1; object-position: 50% 55%; }
}
@media (min-width: 1040px) {
  /* short cards beside short cards, tall beside tall: no empty card space */
  .visit-grid {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas:
      "sign addr"
      "hours photo";
  }
  .window-sign { grid-column: auto; grid-area: sign; margin: 12px; min-height: 300px; }
  .hours-card { grid-area: hours; }
  .address-card { grid-area: addr; }
  .front-photo { grid-column: auto; grid-area: photo; display: flex; flex-direction: column; }
  .front-photo img { flex: 1; aspect-ratio: auto; min-height: 0; object-position: 60% 50%; }
}

/* ---------- request ---------- */
.request {
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(185, 112, 79, 0.25), transparent 60%),
    var(--plum);
  color: var(--cream);
}
.request-grid { display: grid; gap: 40px; align-items: start; }
.request-copy p { color: #eadfe3; max-width: 30rem; }

.phone-big {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin: 12px 0 6px;
  text-decoration: none;
  color: var(--cream);
}
.phone-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e9b89f;
}
.phone-number {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  border-bottom: 2px solid rgba(247, 241, 232, 0.35);
  padding-bottom: 6px;
  transition: border-color 0.2s ease;
}
.phone-big:hover .phone-number { border-color: var(--cream); }
.request-hours { font-size: 0.9375rem; }

.request-form {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label,
.field legend {
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0;
}
.field legend { margin-bottom: 8px; }
.optional { font-weight: 400; color: var(--muted); }

input[type="text"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #cdbfb0;
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  min-height: 50px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
textarea { resize: vertical; min-height: 96px; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7l5 6 5-6' fill='none' stroke='%234A2336' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--plum);
  box-shadow: 0 0 0 4px rgba(74, 35, 54, 0.16);
}

.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; cursor: pointer; }
/* the real input covers its pill, so the whole pill is the tap target */
.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  font-size: 16px;
  cursor: pointer;
}
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid #cdbfb0;
  background: #fff;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.choice input:checked + span {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--cream);
}
.choice input:focus-visible + span { outline: 3px solid var(--brick); outline-offset: 2px; }
.days .choice span { min-width: 64px; justify-content: center; }

.form-result {
  background: var(--plum-tint);
  border-left: 4px solid var(--plum);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.form-result p { margin: 0 0 6px; }
.form-result p:last-child { margin: 0; }
.form-result a { color: var(--plum); font-weight: 700; }

@media (min-width: 900px) {
  .request-grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; }
  .request-copy { position: sticky; top: 110px; }
}

/* ---------- faq ---------- */
.faq-grid { display: grid; gap: 32px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: clamp(1.1875rem, 2.2vw, 1.4375rem);
  font-weight: 500;
  line-height: 1.25;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background:
    linear-gradient(var(--plum), var(--plum)) center / 12px 2px no-repeat,
    linear-gradient(var(--plum), var(--plum)) center / 2px 12px no-repeat;
  transition: transform 0.25s ease, background-color 0.2s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--plum-tint);
}
.faq-list details p { color: var(--muted); max-width: 40rem; padding-bottom: 22px; margin: 0; }
.faq-list details a { color: var(--plum); font-weight: 600; }

@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 72px; }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d9ced3;
  padding: 64px 0 28px;
  font-size: 0.9375rem;
}
.footer-grid { display: grid; gap: 28px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--cream);
  margin-bottom: 4px;
}
.footer-k {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e9b89f;
  margin-bottom: 6px;
}
.site-footer p { margin-bottom: 14px; }
.site-footer a { color: var(--cream); overflow-wrap: anywhere; }
.footer-credit {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  color: #b5a8ae;
}
.footer-credit p { margin: 0; }

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

/* ---------- phone call bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 241, 232, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mobile-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.mobile-call { background: var(--plum); color: var(--cream); padding: 0 12px; }
.mobile-request { padding: 0 20px; border: 2px solid var(--plum); color: var(--plum); }
@media (max-width: 380px) {
  .mobile-bar a { font-size: 1rem; }
  .mobile-call { padding: 0 10px; }
  .mobile-request { padding: 0 16px; }
}

@media (min-width: 900px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-copy > *, .hero-photo { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Footer legal line: the Open·Civ link gets a 44px-tall tap target from padding, without changing the line's height */
footer a.oc-link { display: inline-block; padding: 12px 0; margin: -12px 0; min-height: 44px; }
footer .oc-nw { white-space: nowrap; }
