/* ══════════════════════════════════════════════════════════
   Covino Dental
   Aesthetic: botanical apothecary editorial
   Ivory · sage · antique gold · Fraunces + Geologica
   ══════════════════════════════════════════════════════════ */

:root {
  /* palette */
  --ivory:        #f6f1e6;
  --ivory-2:      #efe7d6;
  --cream:        #ece1c9;
  --sage-50:      #e6eadf;
  --sage-100:     #d1dcc9;
  --sage-200:     #afc0a7;
  --sage-400:     #7a907a;
  --sage-700:     #3e4f3e;
  --forest:       #22301f;
  --forest-ink:   #16201a;
  --gold:         #b8924e;
  --gold-2:       #8d6a34;
  --blush:        #d9c2a4;
  --line:         rgba(34, 48, 31, 0.12);
  --line-strong:  rgba(34, 48, 31, 0.28);

  /* type */
  --ff-display: "Fraunces", ui-serif, Georgia, serif;
  --ff-body:    "Geologica", system-ui, -apple-system, sans-serif;

  /* scale */
  --container: 1440px;
  --pad-x: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-lg: 28px;
}

/* ── reset ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--forest-ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* sparkle color */
#sparkle path, [href="#sparkle"] { fill: currentColor; }
[href="#sparkle"] { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem var(--pad-x);
  background: rgba(246, 241, 230, 0.78);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, padding .3s ease, background .3s ease;
}
.nav.is-scrolled {
  padding-block: 0.7rem;
  border-color: var(--line);
  background: rgba(246, 241, 230, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--forest);
  font-variation-settings: "SOFT" 50, "opsz" 24;
}
.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold);
  background: var(--ivory-2);
}
.brand__word em {
  font-style: italic;
  font-weight: 400;
}
.brand__under {
  color: var(--gold);
  font-weight: 600;
  display: inline-block;
  transform: translateY(-0.1em);
  margin-inline: 1px;
  letter-spacing: -0.05em;
}

.nav__links {
  display: flex;
  gap: 1.75rem;
  justify-content: center;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.nav__links a {
  position: relative;
  color: var(--forest);
  padding: 0.35rem 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right .35s ease;
}
.nav__links a:hover::after { right: 0; }

.nav__meta {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.nav__phone {
  font-size: 0.9rem;
  color: var(--sage-700);
  letter-spacing: 0.02em;
}
.nav__phone:hover { color: var(--gold-2); }

.nav__toggle {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 6px;
}
.nav__toggle span {
  display: block;
  height: 1.5px;
  background: var(--forest);
  transition: transform .3s ease, opacity .3s ease;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  font-weight: 500;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--forest);
  color: var(--ivory);
  border: 1px solid var(--forest);
}
.btn--primary:hover {
  background: var(--forest-ink);
  transform: translateY(-1px);
}
.btn--primary svg { color: var(--gold); }
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--forest);
  background: transparent;
}
.btn--ghost:hover { background: var(--sage-50); border-color: var(--forest); }
.btn--pill { padding: 0.7rem 1.15rem; font-size: 0.88rem; }
.btn--wide { width: 100%; justify-content: center; padding-block: 1.05rem; }

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY PRIMITIVES
   ═══════════════════════════════════════════════════════════ */
.display {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--forest);
  font-variation-settings: "opsz" 144, "SOFT" 60, "wdth" 100;
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--sage-700);
  font-variation-settings: "opsz" 144, "SOFT" 100, "wdth" 80;
}
.display--lg {
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  line-height: 1.02;
}

.lede {
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: var(--sage-700);
  max-width: 52ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.73rem;
  color: var(--sage-700);
  margin: 0 0 1.5rem;
  font-weight: 500;
}
.eyebrow__dot { color: var(--gold); }
.eyebrow .num {
  font-family: var(--ff-display);
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 400;
}
.eyebrow--gold { color: var(--gold-2); }

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem) var(--pad-x) 0;
  max-width: var(--container);
  margin: 0 auto;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

.hero__copy .word {
  display: inline-block;
  margin-right: 0.22em;
  opacity: 0;
  transform: translateY(28px);
  animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__copy .word:nth-child(1) { animation-delay: .12s; }
.hero__copy .word:nth-child(2) { animation-delay: .26s; }
.hero__copy .word:nth-child(3) { animation-delay: .40s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero__copy > .eyebrow,
.hero__copy > .lede,
.hero__copy > .hero__cta,
.hero__copy > .hero__facts {
  opacity: 0;
  animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__copy > .eyebrow { animation-delay: .05s; }
.hero__copy > .lede { animation-delay: .55s; }
.hero__copy > .hero__cta { animation-delay: .7s; }
.hero__copy > .hero__facts { animation-delay: .85s; }

.hero__cta {
  display: flex;
  gap: 0.75rem;
  margin: 2rem 0 2.5rem;
  flex-wrap: wrap;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  margin: 0;
}
.hero__facts dt {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--gold-2);
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}
.hero__facts dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--forest);
}
.hero__facts dd span {
  color: var(--sage-700);
  font-size: 0.85rem;
}
.hero__facts a:hover { color: var(--gold-2); }

/* hero art */
.hero__art {
  position: relative;
  aspect-ratio: 5/4;
  min-height: 380px;
}
.arch {
  position: absolute;
  inset: 0;
  border-radius: 50% 50% 20px 20px / 45% 45% 20px 20px;
  overflow: hidden;
  background: var(--sage-100);
  box-shadow: 0 30px 80px -30px rgba(34,48,31,0.35),
              inset 0 0 0 1px rgba(255,255,255,0.3);
  animation: archRise 1.2s cubic-bezier(.2,.7,.2,1) both;
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}
@keyframes archRise {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.arch__tag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  background: rgba(246, 241, 230, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--forest);
  border: 1px solid rgba(184, 146, 78, 0.3);
}
.arch__tag svg { color: var(--gold); }

.hero__pill {
  position: absolute;
  right: -24px;
  bottom: 40px;
  background: var(--forest);
  color: var(--ivory);
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius);
  max-width: 220px;
  box-shadow: 0 20px 50px -20px rgba(34,48,31,0.4);
  animation: rise .9s cubic-bezier(.2,.7,.2,1) 1s both;
}
.hero__pill-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-display);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--cream);
}
.hero__pill-top svg { color: var(--gold); }
.hero__pill p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(246, 241, 230, 0.75);
}

/* leaves */
.leaf {
  position: absolute;
  color: var(--sage-400);
  pointer-events: none;
  animation: sway 6s ease-in-out infinite alternate;
}
.leaf--1 {
  top: -30px;
  left: -40px;
  transform: rotate(-20deg);
}
.leaf--2 {
  bottom: 0;
  left: 10%;
  transform: rotate(120deg);
  animation-duration: 8s;
}
@keyframes sway {
  from { transform: rotate(var(--r, -20deg)) translateY(0); }
  to   { transform: rotate(calc(var(--r, -20deg) + 6deg)) translateY(-8px); }
}

/* marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 calc(var(--pad-x) * -1);
  padding: 0.9rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: slide 45s linear infinite;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--sage-700);
}
.marquee__track svg { color: var(--gold); }
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════
   SECTION SCAFFOLDING
   ═══════════════════════════════════════════════════════════ */
.section {
  padding: clamp(4.5rem, 9vw, 8rem) var(--pad-x);
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
.section__head {
  max-width: 780px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section__head--split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: end;
  max-width: 100%;
}
.section__head--split .section__sub {
  margin-top: 0;
  max-width: 42ch;
  justify-self: end;
}
.section__sub {
  margin-top: 1.5rem;
  color: var(--sage-700);
  max-width: 60ch;
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════ */
.services { background: linear-gradient(180deg, transparent 0%, var(--ivory-2) 60%, transparent 100%); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 1rem;
  align-items: stretch;
}

.svc {
  position: relative;
  grid-column: span 2;
  padding: 1.75rem 1.6rem 1.8rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .4s, box-shadow .4s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.svc:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px -24px rgba(34, 48, 31, 0.22);
}
.svc:hover h3 { color: var(--gold-2); }

.svc__num {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--gold-2);
  margin: 0 0 2rem;
  letter-spacing: 0.02em;
}
.svc h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--forest);
  margin: 0 0 0.7rem;
  transition: color .3s ease;
  font-variation-settings: "SOFT" 70, "opsz" 48;
}
.svc__desc {
  margin: 0;
  color: var(--sage-700);
  font-size: 0.93rem;
  line-height: 1.6;
}

.svc__list {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0 0;
  display: grid;
  gap: 0.55rem;
}
.svc__list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--sage-700);
  letter-spacing: 0.005em;
}
.svc__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.svc__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--sage-700);
}
.svc__meta a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-body);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  transition: color .25s ease, gap .25s ease;
}
.svc__meta a svg { color: var(--gold); transition: transform .25s ease; }
.svc__meta a:hover { color: var(--gold-2); gap: 0.6rem; }
.svc__meta a:hover svg { transform: translateX(3px); }

/* spacing above the meta block so content breathes */
.svc__list + .svc__meta { margin-top: auto; }

.svc--feature {
  background: var(--forest);
  color: var(--ivory);
  border-color: transparent;
}
.svc--feature h3 { color: var(--ivory); }
.svc--feature:hover h3 { color: var(--blush); }
.svc--feature .svc__desc { color: rgba(246, 241, 230, 0.72); }
.svc--feature .svc__num { color: var(--gold); }
.svc--feature .svc__list li { color: rgba(246, 241, 230, 0.7); }
.svc--feature .svc__meta {
  border-top-color: rgba(246, 241, 230, 0.15);
  color: var(--blush);
}
.svc--feature .svc__meta a { color: var(--ivory); }
.svc--feature .svc__meta a:hover { color: var(--gold); }

.svc__tag {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 146, 78, 0.55);
  background: rgba(184, 146, 78, 0.08);
  color: var(--gold);
  font-size: 0.67rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about__media {
  position: relative;
  aspect-ratio: 5/4;
  min-height: 380px;
}
.about__img {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 25px 60px -30px rgba(34,48,31,0.3);
}
.about__img img { width: 100%; height: 100%; object-fit: cover; }

.about__img--big {
  inset: 0 22% 22% 0;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius) var(--radius);
}
.about__img--small {
  right: 0;
  bottom: 0;
  width: 55%;
  aspect-ratio: 4/3;
  border: 6px solid var(--ivory);
  border-radius: var(--radius);
}
.leaf--about {
  top: -40px;
  right: -20px;
  color: var(--gold);
  opacity: 0.5;
  z-index: 2;
}

.about__copy .display { margin-bottom: 1.25rem; }

.why-list {
  margin: 2.2rem 0 2.5rem;
  display: grid;
  gap: 1.1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
}
.why-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}
.why-list svg {
  color: var(--gold);
  margin-top: 4px;
  flex-shrink: 0;
}
.why-list strong {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--forest);
  display: block;
  margin-bottom: 0.15rem;
}
.why-list p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--sage-700);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--forest);
  font-variation-settings: "SOFT" 80, "opsz" 144;
  letter-spacing: -0.02em;
}
.stat span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-700);
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.person {
  display: flex;
  flex-direction: column;
}
.person__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius) var(--radius);
  margin-bottom: 1.4rem;
  background: var(--sage-100);
}
.person__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.02);
  transition: filter .5s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.person:hover .person__img img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.03);
}
.person__badge {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.4rem 0.85rem;
  background: rgba(246, 241, 230, 0.92);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--forest);
  backdrop-filter: blur(10px);
}
.person h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0 0 0.2rem;
  color: var(--forest);
}
.person h3 em {
  font-style: italic;
  font-size: 0.88rem;
  color: var(--gold-2);
  letter-spacing: 0.05em;
  margin-left: 0.3rem;
}
.person__role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sage-700);
  margin: 0 0 0.85rem;
}
.person p {
  font-size: 0.92rem;
  color: var(--sage-700);
  line-height: 1.6;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════════════════ */
.gallery { background: var(--sage-50); padding-inline: 0; }
.gallery .section__head { padding-inline: var(--pad-x); }
.gallery .gallery-grid { padding-inline: var(--pad-x); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 1rem;
}
.g {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.g img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.g:hover img { transform: scale(1.05); }
.g--tall, .g--wide { grid-row: auto; grid-column: auto; }

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════ */
.testimonials { text-align: left; }
.quotes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.quote {
  position: relative;
  margin: 0;
  padding: 2.25rem 1.75rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg) var(--radius) var(--radius-lg) var(--radius);
  transition: transform .35s ease, border-color .35s ease;
}
.quote:hover { transform: translateY(-3px); border-color: var(--gold); }
.quote__mark { color: var(--gold); margin-bottom: 1rem; }
.quote blockquote {
  font-family: var(--ff-display);
  font-size: 1.18rem;
  line-height: 1.45;
  color: var(--forest);
  margin: 0 0 1.5rem;
  font-variation-settings: "SOFT" 80, "opsz" 72;
  letter-spacing: -0.005em;
}
.quote figcaption {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}
.quote figcaption strong {
  color: var(--forest);
  font-weight: 500;
  display: block;
}
.quote figcaption span {
  color: var(--sage-700);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════
   BOOKING / VISIT
   ═══════════════════════════════════════════════════════════ */
.visit { background: linear-gradient(180deg, transparent, var(--ivory-2)); }
.visit__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.booking {
  background: var(--ivory);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(34,48,31,0.2);
}
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--sage-700);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.98rem;
  padding: 0.85rem 1rem;
  background: var(--ivory-2);
  border: 1px solid transparent;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--forest);
  transition: border-color .3s ease, background .3s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }

.booking .btn { margin-top: 0.5rem; }
.booking__note {
  margin: 1.2rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--sage-700);
  font-family: var(--ff-display);
  font-style: italic;
}
.booking__note a { color: var(--forest); border-bottom: 1px solid var(--gold); }

/* side card */
.visit__side {
  display: grid;
  gap: 1.2rem;
}
.visit__card {
  background: var(--forest);
  color: var(--ivory);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.visit__card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,146,78,0.25), transparent 70%);
  pointer-events: none;
}
.visit__card h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 1.6rem;
  margin: 0 0 0.75rem;
  color: var(--ivory);
  font-variation-settings: "SOFT" 90, "opsz" 48;
}
.visit__card .addr,
.visit__card .visit__contact {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(246, 241, 230, 0.85);
  margin: 0;
}
.visit__card a:hover { color: var(--blush); }
.visit__card hr {
  border: none;
  border-top: 1px solid rgba(246,241,230,0.15);
  margin: 1.3rem 0;
}
.hours { margin: 0; }
.hours > div {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 0.3rem 0;
}
.hours dt {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--blush);
}
.hours dd { margin: 0; color: var(--ivory); }

.map {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -30px rgba(34,48,31,0.25);
}
.map iframe {
  width: 100%; height: 100%; border: 0;
  filter: saturate(0.85) hue-rotate(-5deg);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.foot {
  background: var(--forest-ink);
  color: rgba(246, 241, 230, 0.75);
  padding: clamp(3.5rem, 6vw, 5rem) var(--pad-x) 1.5rem;
  margin-top: 2rem;
}
.foot__top {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(246, 241, 230, 0.12);
}
.brand--foot { color: var(--ivory); }
.brand--foot .brand__mark { background: transparent; border-color: rgba(246,241,230,0.25); }
.foot__brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  max-width: 32ch;
  line-height: 1.65;
}
.foot__col h4 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-style: italic;
  font-size: 1rem;
  color: var(--blush);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}
.foot__col li { margin-bottom: 0.5rem; }
.foot__col a { font-size: 0.9rem; transition: color .3s; }
.foot__col a:hover { color: var(--gold); }
.foot__col--contact p { font-size: 0.9rem; line-height: 1.7; margin: 0 0 0.8rem; }
.foot__col--contact a { color: var(--ivory); }
.foot__col--contact a:hover { color: var(--gold); }

.foot__bot {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(246,241,230,0.55);
}
.foot__tiny {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.05em;
}
.foot__tiny svg { color: var(--gold); }

/* back to top */
.totop {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px; height: 44px;
  display: inline-grid;
  place-items: center;
  background: var(--forest);
  color: var(--ivory);
  border-radius: 50%;
  box-shadow: 0 10px 30px -10px rgba(34,48,31,0.4);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background .3s ease;
  z-index: 80;
}
.totop.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.totop:hover { background: var(--gold-2); }

/* ═══════════════════════════════════════════════════════════
   REVEAL
   ═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__art { max-width: 560px; margin: 0 auto; min-height: 320px; }
  .hero__pill { right: -10px; }

  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__media { aspect-ratio: 5/4; min-height: 300px; max-width: 640px; }

  .visit__grid { grid-template-columns: 1fr; }

  .section__head--split { grid-template-columns: 1fr; gap: 1.25rem; }
  .section__head--split .section__sub { justify-self: start; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid .person:last-child { grid-column: auto; max-width: none; margin: 0; }

  .quotes { grid-template-columns: repeat(2, 1fr); }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; }

  .foot__top { grid-template-columns: 1fr 1fr; }

  /* Service grid reflow for tablets — 2 cols */
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc, .svc--feature { grid-column: span 1; }
}

@media (max-width: 720px) {
  /* Nav — flex for predictable right-aligned controls */
  .nav {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem var(--pad-x);
  }
  .brand { margin-right: auto; }

  .nav__links {
    position: fixed;
    inset: 62px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--ivory);
    padding: 1rem var(--pad-x) 1.5rem;
    transform: translateY(-120%);
    transition: transform .4s cubic-bezier(.2,.7,.2,1);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(34,48,31,0.18);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav__links a:last-child { border-bottom: none; }
  .nav__meta .nav__phone { display: none; }
  .nav__toggle { display: flex; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Hero */
  .hero { padding-top: 1.5rem; }
  .hero__grid { padding-bottom: 3rem; gap: 2.25rem; }
  .hero__art { min-height: 0; max-width: 100%; }
  .hero__facts { grid-template-columns: 1fr; gap: 1.1rem; padding-top: 1.4rem; }
  .hero__pill { display: none; }
  .hero__cta { margin: 1.5rem 0 2rem; }
  .arch__tag { bottom: 0.85rem; left: 0.85rem; font-size: 0.72rem; }

  /* Marquee */
  .marquee__track { font-size: 1.1rem; gap: 1.5rem; }
  .marquee { padding: 0.75rem 0; }

  /* Sections */
  .section { padding-block: 3.5rem; }
  .section__head { margin-bottom: 2.25rem; }

  /* Services — single column, tag returns to in-flow so it never crowds the h3 */
  .svc-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .svc, .svc--feature { grid-column: span 1; }
  .svc { padding: 1.6rem 1.35rem 1.5rem; }
  .svc__num { margin-bottom: 1.5rem; }
  .svc__list { margin-top: 1rem; }
  .svc__meta { padding-top: 1.1rem; font-size: 0.82rem; }
  .svc--feature h3 { padding-right: 7.5rem; }

  /* About */
  .about__media { min-height: 260px; max-width: 100%; }
  .about__img--big { inset: 0 18% 18% 0; }
  .about__img--small { width: 58%; }
  .leaf--about { width: 80px; height: 80px; top: -25px; right: -10px; }
  .why-list { margin: 1.75rem 0 2rem; padding-top: 1.5rem; }
  .stats { padding-top: 1.5rem; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .stat strong { font-size: 1.9rem; }
  .stat span { font-size: 0.68rem; letter-spacing: 0.1em; }

  /* Team */
  .team-grid { grid-template-columns: 1fr; gap: 2rem; }
  .team-grid .person:last-child { grid-column: span 1; }
  .person__img { aspect-ratio: 16/10; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 0.75rem;
  }

  /* Testimonials */
  .quotes { grid-template-columns: 1fr; }
  .quote { padding: 1.75rem 1.4rem; }
  .quote blockquote { font-size: 1.05rem; }

  /* Booking */
  .field-row { grid-template-columns: 1fr; }
  .booking { padding: 1.5rem 1.25rem; border-radius: var(--radius); }
  .visit__card { padding: 1.5rem 1.25rem; border-radius: var(--radius); }
  .visit__card h3 { font-size: 1.4rem; }

  /* Footer */
  .foot__top { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
  .foot__bot { flex-direction: column; text-align: center; gap: 0.5rem; }

  /* Back to top */
  .totop { bottom: 1rem; right: 1rem; width: 40px; height: 40px; }
}

@media (max-width: 420px) {
  :root { --pad-x: 1.1rem; }

  .brand { font-size: 1.05rem; }
  .brand__mark { width: 30px; height: 30px; }
  .nav__meta .btn--pill { padding: 0.5rem 0.85rem; font-size: 0.8rem; }

  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }

  .display { font-size: clamp(2.3rem, 11vw, 3.1rem); }
  .display--lg { font-size: clamp(2rem, 9vw, 2.7rem); }
  .lede { font-size: 0.98rem; }

  .svc { padding: 1.4rem 1.2rem 1.3rem; }
  .svc h3 { font-size: 1.25rem; }
  .svc__list li { font-size: 0.8rem; }

  .booking, .visit__card { padding: 1.35rem 1.1rem; }
  .field input, .field select, .field textarea { font-size: 0.95rem; padding: 0.75rem 0.85rem; }

  .section { padding-block: 3rem; }
  .section__head { margin-bottom: 1.75rem; }

  .arch__tag { display: none; }
  .marquee__track { font-size: 1rem; gap: 1.2rem; }

  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 180px; }
}
