/* Your Business Name | demo site. Concept: the open view. */

@font-face { font-family: 'Clash Display'; src: url('/fonts/clash-display-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('/fonts/clash-display-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/fonts/switzer-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/fonts/switzer-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/fonts/switzer-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --ground: #f4f1e8;
  --ink: #20291e;
  --muted: #59624f;
  --line: rgba(32, 41, 30, 0.16);
  --accent: #8f4012;
  --sage: #cdd5bf;
  --pine: #22301f;
  --paper: #fbf9f3;
  --f-display: 'Clash Display', 'Switzer', sans-serif;
  --f-text: 'Switzer', system-ui, sans-serif;
  --t-mega: clamp(2.6rem, 1rem + 7.5vw, 7.75rem);
  --t-xl: clamp(2rem, 1.2rem + 3.6vw, 4.5rem);
  --t-l: clamp(1.6rem, 1.25rem + 1.7vw, 2.75rem);
  --t-m: clamp(1.2rem, 1.08rem + 0.6vw, 1.55rem);
  --t-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --t-s: 0.875rem;
  --t-xs: 0.75rem;
  --gutter: clamp(1.1rem, 3.4vw, 3.5rem);
  --radius: 1.4rem;
  --arch: 999px 999px 0 0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--f-text);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p a, .faq a { text-decoration: underline; text-underline-offset: 0.18em; }

.skip {
  position: fixed; left: 1rem; top: 1rem; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 0.7rem 1.2rem; border-radius: 999px;
  translate: 0 -300%; transition: translate 0.3s;
}
.skip:focus-visible { translate: 0 0; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.kicker {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1.1rem;
}
.section-dark .kicker { color: #e8a977; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--gutter);
  transition: background 0.45s, box-shadow 0.45s, padding 0.45s;
}
.header.is-solid {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.6rem;
}
.brand { font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; display: flex; align-items: center; gap: 0.55rem; }
.brand svg { width: 1.7rem; height: 1.7rem; }
.header, .hero-meta { color: var(--paper); }
.header.is-solid, .header.is-solid .brand { color: var(--ink); }

.nav { display: flex; gap: 1.6rem; font-size: var(--t-s); font-weight: 500; }
.nav a { position: relative; padding-block: 0.3rem; }
.roll { display: inline-grid; overflow: clip; }
.roll > span { grid-area: 1 / 1; transition: translate 0.45s cubic-bezier(0.165, 0.84, 0.44, 1); }
.roll > span + span { translate: 0 105%; }
@media (hover: hover) {
  .roll:hover > span { translate: 0 -105%; }
  .roll:hover > span + span { translate: 0 0; }
}
.roll:focus-visible > span { translate: 0 -105%; }
.roll:focus-visible > span + span { translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .roll > span { transition: none; translate: none !important; }
  .roll > span + span { visibility: hidden; }
  .roll:focus-visible { text-decoration: underline; text-underline-offset: 0.2em; }
}
@media (prefers-reduced-motion: reduce) and (hover: hover) {
  .roll:hover { text-decoration: underline; text-underline-offset: 0.2em; }
}

.header-actions { display: flex; align-items: center; gap: 0.7rem; }
.tel {
  font-size: var(--t-s); font-weight: 600; white-space: nowrap;
  font-variant-numeric: tabular-nums;
  padding: 0.55rem 1rem;
  border: 1px solid currentColor; border-radius: 999px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
@media (hover: hover) { .tel:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); } }

.btn {
  position: relative; isolation: isolate; overflow: clip;
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--t-s); font-weight: 600;
  background: var(--accent); color: var(--paper);
  padding: 0.65rem 1.35rem; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--accent);
  cursor: pointer; font-family: inherit;
  transition: color 0.35s;
}
.btn .btn-fill {
  position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  translate: 0 101%;
  transition: translate 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}
@media (hover: hover) { .btn:hover .btn-fill { translate: 0 0; } }
.btn:focus-visible .btn-fill { translate: 0 0; }
.btn:active { scale: 0.97; }
.btn.btn-big { font-size: 1rem; padding: 0.95rem 1.9rem; }
.btn.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.btn-ghost .btn-fill { background: var(--accent); }
@media (hover: hover) { .btn.btn-ghost:hover { color: var(--paper); border-color: var(--accent); } }
.btn.btn-ghost:focus-visible { color: var(--paper); }
@media (prefers-reduced-motion: reduce) { .btn .btn-fill { transition: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--paper);
  overflow: clip;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: clip; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(20, 26, 18, 0.45) 0%, rgba(20, 26, 18, 0.12) 55%, rgba(20, 26, 18, 0) 75%),
    linear-gradient(180deg, rgba(20, 26, 18, 0.42) 0%, rgba(20, 26, 18, 0) 32%, rgba(20, 26, 18, 0) 48%, rgba(20, 26, 18, 0.7) 100%);
}
.hero-inner { padding: 0 var(--gutter) clamp(2rem, 5vh, 4rem); }
.hero h1 {
  font-size: var(--t-mega);
  max-width: 11em;
  margin-left: -0.04em;
  margin-bottom: 1.4rem;
}
.hero h1 .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero h1 .w > span { display: inline-block; }
.hero-sub { max-width: 34rem; font-size: var(--t-m); line-height: 1.4; margin-bottom: 1.8rem; color: rgba(251, 249, 243, 0.92); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: clamp(1.6rem, 4vh, 3rem); }
.hero-meta {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  border-top: 1px solid rgba(251, 249, 243, 0.28);
  padding-top: 1rem;
  font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase;
}
.scroll-cue { display: inline-flex; align-items: center; gap: 0.5rem; }
.scroll-cue svg { width: 0.85rem; height: 0.85rem; }

/* ---------- marquee ---------- */
.marquee {
  overflow: clip; white-space: nowrap;
  background: var(--pine); color: var(--sage);
  padding: 0.85rem 0;
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(0.95rem, 0.8rem + 0.8vw, 1.35rem);
  letter-spacing: 0.02em;
}
.marquee .track { display: inline-flex; gap: 2.5rem; padding-right: 2.5rem; will-change: transform; }
.marquee .dot { color: var(--accent); }

/* ---------- shared section bits ---------- */
.section { padding: clamp(4rem, 11vh, 8.5rem) var(--gutter); }
.section-tight { padding-block: clamp(3rem, 7vh, 5.5rem); }
.section-dark { background: var(--pine); color: #eef0e6; }
.section-dark .muted { color: #b9c2ad; }
.section-sage { background: var(--sage); }
.muted { color: var(--muted); }
.statement {
  max-width: 62rem; margin-inline: auto;
  font-family: var(--f-display); font-weight: 500;
  font-size: var(--t-l); line-height: 1.18; letter-spacing: -0.015em;
  text-align: center;
}
.statement em { font-style: normal; color: var(--accent); }

[data-reveal] { will-change: transform, opacity; }

/* ---------- services ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.split .col-media { grid-column: 1 / 7; position: sticky; top: 6rem; }
.split .col-text { grid-column: 8 / 13; }
.split.flip .col-media { grid-column: 7 / 13; order: 2; }
.split.flip .col-text { grid-column: 1 / 6; order: 1; }
.frame { border-radius: var(--radius); overflow: clip; position: relative; }
.frame.arch { border-radius: var(--arch); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s cubic-bezier(0.19, 1, 0.22, 1); }
@media (hover: hover) { .frame:hover img { scale: 1.05; } }

.svc-list { list-style: none; margin-top: 2.2rem; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 1.2rem;
  padding: 1.35rem 0.2rem;
  transition: padding-left 0.4s cubic-bezier(0.19, 1, 0.22, 1), background 0.4s;
}
.svc-row .no { font-size: var(--t-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.svc-row .name { font-family: var(--f-display); font-weight: 500; font-size: var(--t-m); line-height: 1.1; }
.svc-row .name small { display: block; font-family: var(--f-text); font-weight: 400; font-size: var(--t-s); color: var(--muted); margin-top: 0.35rem; line-height: 1.45; }
.svc-row .price { font-size: var(--t-s); font-weight: 600; color: var(--accent); white-space: nowrap; }
@media (hover: hover) { .svc-list li:hover .svc-row { padding-left: 0.9rem; background: rgba(32, 41, 30, 0.04); } }

/* ---------- counters ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); max-width: 72rem; margin-inline: auto; }
.stat { border-left: 1px solid var(--line); padding-left: 1.2rem; }
.section-dark .stat { border-color: rgba(238, 240, 230, 0.2); }
.stat .num { font-family: var(--f-display); font-weight: 600; font-size: var(--t-xl); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .lbl { font-size: var(--t-s); color: var(--muted); margin-top: 0.5rem; }
.section-dark .stat .lbl { color: #b9c2ad; }

/* ---------- daycare ---------- */
.daycare-hero { position: relative; overflow: clip; border-radius: var(--radius); margin: 0 var(--gutter); }
.daycare-hero img { width: 100%; height: clamp(22rem, 72vh, 46rem); object-fit: cover; }
.glass-label {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(2rem, 6vw, 5rem); color: var(--paper);
  text-shadow: 0 2px 30px rgba(20, 26, 18, 0.45);
  white-space: nowrap; pointer-events: none;
}

/* ---------- tour (signature) ---------- */
.tour { position: relative; overflow: clip; }
.tour-head { padding: clamp(4rem, 10vh, 7rem) var(--gutter) clamp(2rem, 5vh, 3.5rem); }
.tour-track {
  display: flex; gap: clamp(1rem, 2.5vw, 2.2rem);
  padding: 0 var(--gutter) clamp(3rem, 8vh, 5rem);
  width: max-content;
}
.tour-card { width: clamp(17rem, 34vw, 30rem); flex: none; }
.tour-card .frame { aspect-ratio: 4 / 3; }
.tour-card:nth-child(odd) .frame { border-radius: var(--arch); aspect-ratio: 3.4 / 4; }
.tour-card figcaption { display: flex; justify-content: space-between; gap: 1rem; padding-top: 0.9rem; font-size: var(--t-s); }
.tour-card .cap-no { color: #b9c2ad; font-variant-numeric: tabular-nums; }
@media (max-width: 800px) {
  .tour-scroller { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .tour-card { scroll-snap-align: center; width: min(76vw, 20rem); }
}

/* ---------- steps ---------- */
.steps-wrap { position: relative; max-width: 72rem; margin-inline: auto; }
.leash { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.leash path { stroke: var(--accent); stroke-width: 2; fill: none; stroke-linecap: round; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); counter-reset: step; position: relative; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem; }
.step .s-no {
  display: inline-grid; place-items: center;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--pine); color: var(--sage);
  font-family: var(--f-display); font-weight: 600;
  margin-bottom: 1rem; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: var(--t-m); margin-bottom: 0.5rem; }
.step p { font-size: var(--t-s); color: var(--muted); }

/* ---------- faq ---------- */
.faq { max-width: 46rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.3rem 0.2rem;
  font-family: var(--f-display); font-weight: 500; font-size: var(--t-m); line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .x { flex: none; width: 1.05rem; height: 1.05rem; position: relative; transition: rotate 0.4s cubic-bezier(0.19, 1, 0.22, 1); }
.faq summary .x::before, .faq summary .x::after { content: ''; position: absolute; inset: 0; margin: auto; background: var(--accent); }
.faq summary .x::before { width: 100%; height: 2px; }
.faq summary .x::after { width: 2px; height: 100%; }
.faq details[open] summary .x { rotate: 45deg; }
.faq .a { padding: 0 0.2rem 1.4rem; color: var(--muted); max-width: 40rem; }

/* ---------- reviews placeholder ---------- */
.reviews-ph {
  max-width: 46rem; margin-inline: auto; text-align: center;
  border: 2px dashed var(--line); border-radius: var(--radius);
  padding: clamp(2.2rem, 6vw, 3.6rem);
}
.reviews-ph .stars { color: var(--accent); font-size: 1.4rem; letter-spacing: 0.25em; margin-bottom: 0.8rem; }
.reviews-ph h3 { font-size: var(--t-m); margin-bottom: 0.4rem; }
.reviews-ph p { color: var(--muted); font-size: var(--t-s); }

/* ---------- booking ---------- */
.book { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: center; }
.book .col-text { grid-column: 1 / 6; }
.book .col-form { grid-column: 7 / 13; }
.form {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
  display: grid; gap: 1.1rem;
}
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; color: inherit;
  background: var(--ground);
  border: 1px solid var(--line); border-radius: 0.8rem;
  padding: 0.8rem 1rem;
  transition: border-color 0.3s, background 0.3s;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--accent); background: var(--paper);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: var(--t-xs); color: var(--muted); }
.thanks { display: none; text-align: center; padding: clamp(2rem, 6vw, 3rem) 1rem; }
.thanks h3 { font-size: var(--t-l); margin-bottom: 0.7rem; }
.thanks p { color: var(--muted); }
.form-wrap.is-done .form > :not(.thanks) { display: none; }
.form-wrap.is-done .thanks { display: block; }

/* ---------- footer ---------- */
.footer { background: var(--pine); color: #eef0e6; padding: clamp(4rem, 10vh, 7rem) var(--gutter) 1.6rem; }
.footer-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); margin-bottom: clamp(3rem, 8vh, 5rem); }
.footer-brand { grid-column: 1 / 7; }
.footer-brand h2 { font-size: var(--t-xl); margin-bottom: 1rem; }
.footer-col { grid-column: span 3; font-size: var(--t-s); display: grid; gap: 0.55rem; align-content: start; }
.footer-col strong { font-size: var(--t-xs); letter-spacing: 0.12em; text-transform: uppercase; color: #9aa78d; margin-bottom: 0.3rem; }
.footer-col a { color: #cfd6c4; padding-block: 0.2rem; }
@media (hover: hover) { .footer-col a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 0.2em; } }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem;
  border-top: 1px solid rgba(238, 240, 230, 0.16); padding-top: 1.3rem;
  font-size: var(--t-xs); color: #9aa78d;
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .split .col-media, .split .col-text, .split.flip .col-media, .split.flip .col-text { grid-column: 1 / -1; order: initial; position: static; }
  .book .col-text, .book .col-form { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .leash { display: none; }
}
@media (max-width: 800px) {
  .nav { display: none; }
  .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.7rem, 11.5vw, 4.2rem); }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tel span.lbl { display: none; }
  .hero-meta { font-size: 0.65rem; }
  .brand { font-size: 0.95rem; gap: 0.4rem; }
  .brand svg { width: 1.3rem; height: 1.3rem; }
  .header { gap: 0.5rem; padding-inline: 1rem; }
  .header-actions { gap: 0.45rem; }
  .tel, .header-actions .btn { font-size: 0.78rem; padding: 0.5rem 0.8rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-media img, .daycare-hero img { scale: 1 !important; translate: 0 !important; }
  .marquee .track { transform: none !important; }
}
