/* Steady — structure stylesheet. Colors come ONLY from var(--m-*) set in seasoning.css. */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--m-bg);
  color: var(--m-text);
  font-family: var(--m-font-body), system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--m-font-display), Georgia, serif; font-weight: 600; }

a { color: inherit; text-decoration: none; transition: color 0.18s ease; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 28px; }

/* ---- Navigation ---- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0; border-bottom: 1px solid var(--m-line);
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--m-heading); }
.logo .mark { color: var(--m-accent); flex: none; }
.logo .name { font-family: var(--m-font-display), Georgia, serif; font-size: 1.2rem; font-weight: 700; }
.logo:hover .name { color: var(--m-accent); }
.links { display: flex; gap: 22px; }
.links a { font-size: 0.87rem; color: var(--m-soft); }
.links a:hover { color: var(--m-accent); }
.links a[aria-current="page"] { color: var(--m-heading); font-weight: 600; }

/* ---- Prominent hero: sunlit room + appointment card ---- */
.hero { position: relative; min-height: 76vh; display: flex; align-items: flex-end; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 26%, var(--m-bg) 96%),
              linear-gradient(100deg, var(--m-bg) 4%, transparent 56%);
  opacity: 0.95;
}
.hero-copy { position: relative; width: 100%; padding-bottom: 56px; }
.hero-flex { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.hero-copy h1 { font-size: clamp(2.3rem, 5.6vw, 3.7rem); line-height: 1.08; color: var(--m-heading); max-width: 580px; }
.hero-copy .intro { margin-top: 16px; color: var(--m-soft); max-width: 500px; }
.hero-copy .promise { margin-top: 18px; font-size: 0.95rem; color: var(--m-text); max-width: 500px; }
.quiet-link { color: var(--m-accent); text-decoration: underline; text-underline-offset: 4px; }
.hero-copy .quiet-link { display: inline-block; margin-top: 16px; font-size: 0.92rem; }

.appt-card {
  background: var(--m-surface);
  border: 1px solid var(--m-line);
  border-radius: 10px;
  padding: 26px 28px 24px;
  width: 320px;
  flex-shrink: 0;
  transform: rotate(1.4deg);
  box-shadow: 0 14px 34px rgba(0,0,0,0.22);
}
.appt-card .clinic { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--m-faint); }
.appt-card .label { display: block; margin-top: 18px; font-size: 0.78rem; color: var(--m-soft); }
.appt-card .fill {
  display: block; font-family: "Gochi Hand", cursive; font-size: 1.35rem;
  color: var(--m-accent); border-bottom: 1.5px solid var(--m-line);
  padding-bottom: 4px; transform: rotate(-0.6deg);
}
.appt-card .days { display: flex; gap: 10px; margin-top: 18px; }
.appt-card .day { font-size: 0.72rem; color: var(--m-faint); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.appt-card .day .box { width: 16px; height: 16px; border: 1.5px solid var(--m-line); border-radius: 3px; position: relative; }
.appt-card .day.on .box { border-color: var(--m-accent); }
.appt-card .day.on .box::after {
  content: ""; position: absolute; inset: -2px 0 2px 2px;
  border-right: 2.5px solid var(--m-accent); border-bottom: 2.5px solid var(--m-accent);
  transform: rotate(40deg) scale(0.62);
}
.appt-card .card-note { margin-top: 18px; font-size: 0.75rem; color: var(--m-faint); font-style: italic; }

/* ---- On time: clock ---- */
.ontime { background: var(--m-surface); padding: 60px 0 66px; }
.ontime-grid { display: grid; grid-template-columns: 200px 1fr; gap: 52px; align-items: center; }
.clock { display: block; width: 100%; height: auto; }
.clock .face { fill: var(--m-bg); stroke: var(--m-heading); }
.clock .tick { stroke: var(--m-soft); }
.clock .wedge { fill: var(--m-accent); opacity: 0.18; }
.clock .hand { stroke: var(--m-heading); stroke-linecap: round; }
.clock .second { stroke: var(--m-accent); stroke-linecap: round; transform-origin: 100px 100px; animation: tick-around 60s linear infinite; }
@keyframes tick-around { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .clock .second { animation: none; } }
.sec-title { font-size: 1.6rem; color: var(--m-heading); }
.ontime-text p { margin-top: 12px; font-size: 0.96rem; color: var(--m-text); max-width: 560px; }

/* ---- What we do ---- */
.services { padding: 64px 0 60px; }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; margin-top: 10px; }
.svc-cols h3 { font-size: 1.1rem; color: var(--m-heading); margin-bottom: 8px; }
.svc-cols p { font-size: 0.95rem; color: var(--m-soft); margin-top: 10px; }
.svc-cols strong { color: var(--m-heading); font-weight: 600; }

/* ---- Nervous ---- */
.nervous { padding-bottom: 68px; }
.nervous-box {
  border-left: 3px solid var(--m-accent);
  padding: 6px 0 6px 26px; max-width: 640px; margin-top: 14px;
}
.nervous-box p { margin-top: 12px; font-size: 0.96rem; color: var(--m-text); }
.nervous-box p:first-child { margin-top: 0; }

/* ---- Photo band ---- */
.photo-band img { display: block; width: 100%; height: 360px; object-fit: cover; }

/* ---- Inner pages ---- */
.page { padding: 56px 0 80px; }
.wrap.page { padding-left: 28px; padding-right: 28px; }
.page-title { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--m-heading); line-height: 1.2; }
.page-lede { margin-top: 14px; color: var(--m-soft); max-width: 560px; }

/* ---- Laminated fee sheet ---- */
.fee-sheet {
  position: relative; margin-top: 40px; max-width: 620px;
  background: linear-gradient(112deg, var(--m-surface) 0%, var(--m-bg) 34%, var(--m-surface) 100%);
  border: 1px solid var(--m-line); border-radius: 12px;
  padding: 30px 34px 26px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.07);
}
.fee-sheet::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 64px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0));
  border-radius: 12px 12px 0 0; pointer-events: none;
}
.fee-sheet h2 { font-size: 1.25rem; color: var(--m-heading); }
.fee-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--m-line); }
.fee-row:last-of-type { border-bottom: none; }
.fee-row .t { font-size: 0.95rem; color: var(--m-text); }
.fee-row .d { display: block; font-size: 0.8rem; color: var(--m-faint); }
.fee-row .p { font-family: var(--m-font-display), Georgia, serif; font-weight: 600; color: var(--m-heading); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sheet-note { margin-top: 14px; font-size: 0.82rem; font-style: italic; color: var(--m-faint); }

.prose-block { margin-top: 44px; max-width: 620px; }
.prose-block h2 { font-size: 1.3rem; color: var(--m-heading); margin-bottom: 8px; }
.prose-block p { margin-top: 12px; font-size: 0.96rem; color: var(--m-text); }

/* ---- First visit steps ---- */
.visit-steps { margin-top: 40px; max-width: 620px; }
.step { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 16px 0; border-top: 1px solid var(--m-line); }
.step .min { font-family: var(--m-font-display), Georgia, serif; font-size: 1.05rem; color: var(--m-accent); }
.step p { font-size: 0.95rem; color: var(--m-text); }
.step p strong { color: var(--m-heading); font-weight: 600; }

/* ---- Contact ---- */
.c-item { padding: 20px 0; border-top: 1px solid var(--m-line); max-width: 560px; }
.c-item h3 { font-size: 1.1rem; color: var(--m-heading); margin-bottom: 4px; }
.c-item p { font-size: 0.94rem; color: var(--m-soft); }
.c-item .big-line { font-family: var(--m-font-display), Georgia, serif; font-size: 1.6rem; font-weight: 700; color: var(--m-accent); }
.fine-note { margin-top: 32px; font-size: 0.85rem; font-style: italic; color: var(--m-faint); }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--m-line); padding: 30px 0 38px; }
.foot-row { display: flex; justify-content: space-between; gap: 20px; font-size: 0.85rem; color: var(--m-soft); flex-wrap: wrap; }
.foot-legal { margin-top: 12px; font-size: 0.78rem; color: var(--m-faint); }

@media (max-width: 800px) {
  .hero { min-height: 64vh; }
  .hero-shade {
    background: linear-gradient(180deg, transparent 5%, var(--m-bg) 55%),
                linear-gradient(100deg, var(--m-bg) 6%, transparent 70%);
  }
  .hero-copy { padding-top: 90px; }
  .hero-flex { flex-direction: column; align-items: flex-start; gap: 34px; }
  .appt-card { width: 100%; max-width: 340px; transform: rotate(0.8deg); }
  .ontime-grid { grid-template-columns: 1fr; gap: 30px; }
  .clock { max-width: 180px; }
  .svc-cols { grid-template-columns: 1fr; gap: 28px; }
  .photo-band img { height: 240px; }
  .logo .name { font-size: 1rem; }
  .links { gap: 12px; }
  .links a { font-size: 0.76rem; }
  .foot-row { flex-direction: column; gap: 6px; }
}
