/* Palette — see DESIGN.md */
:root {
  --ink: #22333b;        /* headings */
  --body: #3d5159;       /* body text */
  --paper: #f6f9f9;      /* page ground */
  --tint: #eaf2f1;       /* alternate sections */
  --card: #ffffff;
  --border: #d8e4e2;
  --accent: #2f7d6d;     /* teal-green: links, open days */
  --accent-dark: #246154;
  --muted: #64767d;
  --closed: #8a6d3b;     /* amber for "Closed" */
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--body);
  line-height: 1.6;
  font-size: 17px;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { color: var(--ink); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 24px; }
h3 { font-size: 1.15rem; }

/* soft drifting backdrop shapes */
.backdrop { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.07;
}
.blob-a { width: 420px; height: 420px; background: var(--accent); top: -120px; left: -100px; animation: drift 26s ease-in-out infinite alternate; }
.blob-b { width: 360px; height: 360px; background: #7fb8a8; bottom: -100px; right: -80px; animation: drift 32s ease-in-out infinite alternate-reverse; }
.blob-c { width: 260px; height: 260px; background: var(--accent); top: 40%; right: 20%; animation: drift 40s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(40px, 30px); } }

main, header, footer { position: relative; z-index: 1; }

/* header */
.site-header {
  background: rgba(246, 249, 249, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 14px; padding-bottom: 14px; }
.brand { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.1rem; }
nav { display: flex; gap: 20px; flex-wrap: wrap; }
nav a { color: var(--body); text-decoration: none; font-size: 0.95rem; }
nav a:hover { color: var(--accent-dark); text-decoration: underline; }

/* hero */
.hero { padding: 72px 0 56px; }
.eyebrow { color: var(--accent-dark); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 12px; }
.lede { font-size: 1.2rem; max-width: 34rem; margin-top: 16px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.fact {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 20px; box-shadow: 0 2px 6px rgba(34, 51, 59, 0.05);
  display: flex; flex-direction: column; min-width: 150px;
}
.fact-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.fact-value { font-weight: 700; color: var(--ink); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.hero-note { margin-top: 20px; color: var(--muted); font-size: 0.95rem; }

/* sections */
.section { padding: 64px 0; }
.section.alt { background: linear-gradient(180deg, rgba(234, 242, 241, 0.7), rgba(234, 242, 241, 0.7)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* service cards */
.cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 2px 6px rgba(34, 51, 59, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: arrive 0.5s ease both;
}
.card:nth-child(2) { animation-delay: 0.07s; }
.card:nth-child(3) { animation-delay: 0.14s; }
.card:nth-child(4) { animation-delay: 0.21s; }
@keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(34, 51, 59, 0.1); }
.card-icon { font-size: 1.6rem; color: var(--accent); display: block; margin-bottom: 10px; }
.card p { margin-top: 8px; font-size: 0.98rem; }

/* pricing */
.price-row { display: grid; grid-template-columns: minmax(260px, 1fr) 1.4fr; gap: 24px; align-items: stretch; }
.price-card {
  background: var(--card); border: 2px solid var(--accent); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 4px 12px rgba(47, 125, 109, 0.12);
}
.price-label { font-weight: 600; color: var(--accent-dark); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.06em; }
.price-value { font-size: 3rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; margin: 6px 0 10px; }
.price-desc { font-size: 0.98rem; }
.price-side { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.price-side h3 { margin-bottom: 4px; }

/* hours table */
.hours { border-collapse: collapse; width: 100%; max-width: 480px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 6px rgba(34, 51, 59, 0.05); }
.hours th, .hours td { padding: 10px 18px; text-align: left; font-variant-numeric: tabular-nums; }
.hours thead th { background: var(--tint); color: var(--ink); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.hours tbody tr + tr { border-top: 1px solid var(--border); }
.open-row td:first-child { font-weight: 600; color: var(--ink); }
.open-row td:last-child { color: var(--accent-dark); font-weight: 600; }
.closed { color: var(--closed); }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.contact-item {
  background: var(--card); border: 1px dashed var(--border); border-radius: var(--radius);
  padding: 22px;
}
.contact-item .unset { color: var(--muted); font-style: italic; margin-top: 6px; }
.owner-note { margin-top: 24px; padding: 14px 18px; border-left: 4px solid #d9a441; background: #fdf6e7; color: #6b5322; border-radius: 6px; font-size: 0.95rem; max-width: 44rem; }

/* footer */
.site-footer { padding: 32px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; }

/* a11y */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a:focus-visible, .card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .section { padding: 48px 0; }
  .price-row { grid-template-columns: 1fr; }
  .hours th, .hours td { padding: 9px 12px; }
  nav { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { animation: none; }
  .blob { animation: none; }
}
