/* =====================================================================
   DESIGN TOKENS — change colors and fonts here, the whole site follows
   ===================================================================== */
:root {
  --moss: #4a5b40;
  --moss-deep: #26331f;
  --moss-soft: #e6ebe0;
  --nude: #e8d5c6;
  --blush: #f5ebe3;
  --cream: #fbf8f4;
  --white: #ffffff;
  --ink: #1f241c;
  --muted: #6a6f64;
  --line: rgba(31, 36, 28, .12);
  --gold: #b0935f;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --wrap: 1160px;
  --ease: cubic-bezier(.22, .8, .26, 1);
  --bar-h: 64px; /* mobile action bar height */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; scroll-margin-top: 72px; }
@media (min-width: 900px) { section { padding: 112px 0; } .wrap { padding: 0 32px; } }

.eyebrow {
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--moss); font-weight: 500; margin-bottom: 14px;
}
.section-title { font-size: clamp(34px, 6vw, 54px); }
.section-title em { font-style: italic; color: var(--moss); }
.section-lead { color: var(--muted); max-width: 56ch; margin-top: 16px; }
.section-head { margin-bottom: 40px; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--moss-deep); color: var(--cream); }
.btn-ghost { border-color: var(--moss-deep); color: var(--moss-deep); background: transparent; }
.btn-light { background: var(--cream); color: var(--moss-deep); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--moss); }
  .btn-ghost:hover { background: var(--moss-deep); color: var(--cream); }
  .btn-light:hover { background: var(--white); }
}
.btn svg, .bar svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--moss-deep); }
.logo-mark { width: 22px; height: 28px; flex: none; }
.logo-text { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .02em; line-height: 1; color: var(--ink); }
.logo-text em { font-style: italic; font-weight: 400; color: var(--moss); }
.nav { display: none; gap: 30px; }
.nav a { text-decoration: none; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.header-call { display: none; min-height: 42px; padding: 0 20px; font-size: 13px; }
.menu-btn { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; margin-right: -10px; }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: var(--ink); box-shadow: 0 7px 0 var(--ink); transform: translateY(-3.5px); }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--white); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 20px; text-decoration: none; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .nav { display: flex; } .header-call { display: inline-flex; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
  .header .wrap { height: 76px; }
}

/* ---------- Hero ---------- */
.hero { padding: 48px 0 64px; background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); overflow: hidden; }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(46px, 11vw, 88px); letter-spacing: -.01em; }
.hero h1 em { font-style: italic; color: var(--moss); }
.hero-sub { margin-top: 20px; color: var(--muted); max-width: 44ch; font-size: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-cta .btn { flex: 1 1 180px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.hero-meta a { text-decoration: none; border-bottom: 1px solid var(--line); }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #9aa093; }
.status.open i { background: #4f9a56; box-shadow: 0 0 0 4px rgba(79, 154, 86, .18); }

/* Hero visual: an arch frame. Drop a real photo in by setting HERO_IMAGE in the script below. */
.hero-visual { position: relative; max-width: 420px; width: 100%; margin: 0 auto; }
.arch {
  aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden;
  background:
    radial-gradient(120% 80% at 20% 10%, rgba(255,255,255,.75), transparent 60%),
    linear-gradient(160deg, var(--nude) 0%, #d9bfae 45%, var(--moss) 130%);
  position: relative;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-mark {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: clamp(60px, 16vw, 110px); color: rgba(255,255,255,.7);
}
.hero-visual::before {
  content: ""; position: absolute; inset: -14px; border: 1px solid var(--gold); opacity: .55;
  border-radius: 999px 999px calc(var(--radius) + 10px) calc(var(--radius) + 10px); pointer-events: none;
}
.hero-badge {
  position: absolute; left: -6px; bottom: 26px; background: var(--white); border-radius: 14px;
  padding: 12px 16px; box-shadow: 0 14px 40px rgba(38, 51, 31, .14); font-size: 13px; line-height: 1.35;
}
.hero-badge b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; }
@media (min-width: 900px) {
  .hero { padding: 88px 0 112px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 72px; }
  .hero-cta .btn { flex: 0 0 auto; }
  .hero-badge { left: -36px; }
}

/* ---------- Services ---------- */
.services { background: var(--cream); }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 20px 14px; margin: 0 -20px 22px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); font-size: 14px; letter-spacing: .06em; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .2s var(--ease);
}
.tab:active { transform: scale(.96); }
.tab[aria-selected="true"] { background: var(--moss-deep); border-color: var(--moss-deep); color: var(--cream); }
.service-grid { display: grid; gap: 14px; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 20px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: baseline;
  animation: fadeUp .45s var(--ease) both;
}
.service h3 { font-size: 24px; }
.service .price { font-family: var(--serif); font-size: 24px; color: var(--moss); font-variant-numeric: tabular-nums; }
.service p { grid-column: 1 / -1; color: var(--muted); font-size: 15.5px; }
.service .time { grid-column: 1 / -1; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.service-note { margin-top: 26px; font-size: 14.5px; color: var(--muted); }
@media (min-width: 700px) { .service-grid { grid-template-columns: 1fr 1fr; } .tabs { flex-wrap: wrap; overflow: visible; } }
@media (min-width: 1040px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.shot { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; margin: 0; animation: fadeUp .5s var(--ease) both; background: var(--blush); }
.shot:nth-child(5n + 1) { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.shot .fill { position: absolute; inset: 0; transition: transform .9s var(--ease); }
.shot img.fill { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .shot:hover .fill { transform: scale(1.07); } }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 13px; letter-spacing: .08em;
  color: #fff; background: linear-gradient(transparent, rgba(20, 26, 16, .55));
}
.shot .ph { display: grid; place-items: center; text-align: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(31,36,28,.45); padding: 10px; }
/* Placeholder tints per season — only visible until a real photo is added */
.ph.spring { background: linear-gradient(150deg, #f6dfe2, #dfe9d3); }
.ph.summer { background: linear-gradient(150deg, #ffe3c2, #f7c9b6); }
.ph.fall   { background: linear-gradient(150deg, #e3c3a0, #b98a6a); }
.ph.winter { background: linear-gradient(150deg, #e7ecec, #c9d3cd); }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1040px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.colors { margin-top: 64px; }
.colors h3 { font-size: 30px; margin-bottom: 20px; }
.color-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.swatch { text-align: center; font-size: 13.5px; color: var(--muted); }
.swatch i {
  display: block; aspect-ratio: 3 / 4; border-radius: 999px 999px 12px 12px; margin-bottom: 10px; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); transition: transform .5s var(--ease);
  background-size: cover; background-position: center;
}
@media (hover: hover) { .swatch:hover i { transform: translateY(-5px); } }
@media (min-width: 700px) { .color-row { grid-template-columns: repeat(6, 1fr); gap: 18px; } }

/* ---------- Team ---------- */
.team { background: var(--blush); }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.team-grid .tech { flex: 0 0 calc(50% - 7px); }   /* last row stays centered */
.tech { background: var(--white); border-radius: var(--radius); overflow: hidden; }
.tech .portrait { aspect-ratio: 1 / 1.1; overflow: hidden; background: linear-gradient(160deg, var(--moss-soft), var(--nude)); display: grid; place-items: center; }
.tech .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .9s var(--ease); }
@media (hover: hover) { .tech:hover .portrait img { transform: scale(1.05); } }
.tech .initial { font-family: var(--serif); font-style: italic; font-size: 64px; color: rgba(38, 51, 31, .3); }
.tech .body { padding: 16px 16px 20px; }
.tech h3 { font-size: 23px; }
.tech .role { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--moss); margin: 6px 0 8px; }
.tech p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
@media (min-width: 900px) { .team-grid { gap: 22px; } .team-grid .tech { flex-basis: calc(25% - 16.5px); } }

/* ---------- Reviews ---------- */
.reviews-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 20px; background: var(--cream); min-height: 220px; }
.reviews-fallback { text-align: center; max-width: 520px; margin: 0 auto; padding: 18px 0; }
.stars { color: var(--gold); font-size: 26px; letter-spacing: 6px; margin-bottom: 12px; }
.reviews-fallback h3 { font-size: 30px; margin-bottom: 10px; }
.reviews-fallback p { color: var(--muted); margin-bottom: 24px; }
.reviews-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 900px) { .reviews-box { padding: 44px; } }

/* ---------- Visit / footer ---------- */
.visit { background: var(--moss-deep); color: var(--cream); padding-bottom: 0; }
.visit .eyebrow { color: #b9c7a9; }
.visit .section-title em { color: #c9d6ba; }
.visit-grid { display: grid; gap: 40px; }
.visit h3 { font-size: 13px; font-family: var(--sans); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #b9c7a9; margin-bottom: 14px; }
.visit a { text-decoration: none; }
.visit .big { font-family: var(--serif); font-size: 28px; line-height: 1.25; display: inline-block; }
.visit .small { color: rgba(251, 248, 244, .68); font-size: 15px; margin-top: 6px; }
.underline { border-bottom: 1px solid rgba(251, 248, 244, .35); padding-bottom: 2px; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(251,248,244,.12); font-variant-numeric: tabular-nums; }
.hours li.today { color: #fff; font-weight: 500; }
.hours li.today span:first-child::after { content: " · today"; font-weight: 400; color: #b9c7a9; font-size: 13px; }
.hours li:not(.today) { color: rgba(251, 248, 244, .72); }
.policies { list-style: none; margin: 0; padding: 0; color: rgba(251, 248, 244, .78); font-size: 15.5px; }
.policies li { padding-left: 20px; position: relative; margin-bottom: 10px; }
.policies li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--gold); }
.map { margin-top: 56px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; height: 300px; background: #1c2617; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }
.visit-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1.1fr .9fr 1fr; gap: 56px; } .map { height: 380px; } }

.footer { background: #1c2617; color: rgba(251, 248, 244, .6); font-size: 13.5px; padding: 26px 0 calc(26px + var(--bar-h) + env(safe-area-inset-bottom)); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (min-width: 768px) { .footer { padding-bottom: 26px; } }

/* ---------- Sticky mobile action bar ---------- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1.15fr 1fr;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 30px rgba(31, 36, 28, .08);
}
.bar a {
  height: var(--bar-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  text-decoration: none; font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  transition: transform .2s var(--ease), background-color .2s;
  -webkit-user-select: none; user-select: none;
}
.bar a:active { transform: scale(.96); }
.bar a.main { background: var(--moss-deep); color: var(--cream); }
@media (min-width: 768px) { .bar { display: none; } }

/* ---------- Scroll reveal (only hides content when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .service, .shot { animation: none; }
  .shot .fill, .tech .portrait img, .swatch i { transition: none; }
}

/* ---------- Technician portfolio strip ---------- */
.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.portfolio img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }

/* ---------- Seasonal effects ---------- */
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 45; pointer-events: none; opacity: 0; transition: opacity .8s var(--ease); }
/* Halloween: a warm glow rising from the bottom of the screen */
html[data-fx="halloween"] body::after {
  content: ""; position: fixed; inset: 0; z-index: 44; pointer-events: none;
  background: radial-gradient(90% 45% at 50% 108%, rgba(226, 120, 32, .2), transparent 70%),
              radial-gradient(60% 30% at 0% 100%, rgba(90, 40, 120, .1), transparent 70%);
}
.fx-toggle {
  position: fixed; left: 14px; bottom: calc(var(--bar-h) + 14px + env(safe-area-inset-bottom)); z-index: 58;
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(31, 36, 28, .1); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  transition: transform .2s var(--ease);
}
.fx-toggle[hidden] { display: none; }
.fx-toggle:active { transform: scale(.96); }
.fx-icon { font-size: 15px; line-height: 1; letter-spacing: 0; }
.fx-switch { width: 34px; height: 20px; border-radius: 999px; background: #cfd2cb; position: relative; transition: background-color .25s; }
.fx-switch i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s var(--ease); }
.fx-toggle[aria-checked="true"] .fx-switch { background: var(--moss); }
.fx-toggle[aria-checked="true"] .fx-switch i { transform: translateX(14px); }
@media (min-width: 768px) { .fx-toggle { left: 22px; bottom: 22px; } }
@media (prefers-reduced-motion: reduce) { #fx, .fx-switch, .fx-switch i { transition: none; } }

/* ---------- Founder: large featured card above the team ---------- */
.founder {
  display: grid; max-width: 960px; margin: 0 auto 44px; background: var(--white);
  border-radius: 26px; overflow: hidden; box-shadow: 0 26px 70px rgba(38, 51, 31, .14);
}
.founder-photo { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--moss-soft), var(--nude)); display: grid; place-items: center; }
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.founder-photo::after {                     /* fine arch line, echoing the logo */
  content: ""; position: absolute; inset: 16px; pointer-events: none;
  border: 1px solid rgba(251, 248, 244, .75); border-radius: 999px 999px 14px 14px;
}
.founder-photo .initial { font-size: 110px; }
.founder-body { padding: 28px 24px 32px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.founder-tag {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; color: var(--gold);
}
.founder-tag::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.founder h3 { font-size: clamp(54px, 12vw, 84px); line-height: 1; margin: 12px 0 8px; color: var(--moss-deep); }
.founder-sub { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--moss); }
.founder-text { color: var(--muted); margin-top: 16px; max-width: 42ch; }
.founder-book { margin-top: 26px; }
.founder .portfolio { width: 100%; max-width: 360px; }
@media (min-width: 760px) {
  .founder { grid-template-columns: .92fr 1.08fr; margin-bottom: 56px; }
  .founder-photo { aspect-ratio: auto; min-height: 520px; }
  .founder-body { padding: 56px 56px 56px 60px; }
}

/* "Book with <name>" on each technician card */
.tech { display: flex; flex-direction: column; }
.tech .body { flex: 1; display: flex; flex-direction: column; }
.tech-book {
  margin-top: auto; width: 100%; min-height: 42px; padding: 0 10px;
  font-size: 11.5px; letter-spacing: .08em; white-space: nowrap;
}
.tech .body > p:last-of-type, .tech .portfolio { margin-bottom: 14px; }
@media (min-width: 900px) { .tech-book { font-size: 12.5px; letter-spacing: .1em; } }
@media (max-width: 400px) { .tech-book { font-size: 10.5px; letter-spacing: .04em; padding: 0 6px; } }
