:root {
  --bg: #fbfaf7;
  --surface: #f1efe9;
  --surface-2: #e6e2d8;
  --text: #1c2018;
  --muted: #4a5246;
  --border: #d6d1c4;
  --accent: #3f6b3a;
  --accent-2: #2f5230;
  --accent-tint: #6e9e6b;
  --cta: #b8531f;
  --cta-2: #9c4416;
  --on-accent: #fbfaf7;
  --on-cta: #fbfaf7;
  --shadow: 0 18px 40px -22px rgba(28, 32, 24, 0.25);
  --shadow-sm: 0 6px 18px -10px rgba(28, 32, 24, 0.25);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: var(--text);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
p { margin: 0 0 1em; }

.lead { color: var(--muted); font-size: 1.115rem; max-width: 62ch; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.8rem;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--text);
  text-decoration: none;
}
.brand-mark { color: var(--accent); display: inline-flex; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.site-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.97rem;
  text-decoration: none;
}
.site-nav a:hover { color: var(--accent); }
.site-nav .nav-phone {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.site-nav .nav-cta {
  background: var(--cta);
  color: var(--on-cta);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--cta-2); color: var(--on-cta); }

.nav-toggle, .nav-toggle-label { display: none; }

@media (max-width: 820px) {
  .nav-toggle-label {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.4rem;
  }
  .nav-toggle-label span {
    width: 26px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
  }
  .site-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 1rem 0 1.2rem;
    gap: 0.4rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-toggle:checked ~ .site-nav { max-height: 400px; }
  .site-nav a { padding: 0.6rem 0.25rem; border-bottom: 1px solid var(--border); }
  .site-nav .nav-cta { text-align: center; border-bottom: none; margin-top: 0.4rem; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 480px;
  padding: clamp(4rem, 11vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
  overflow: hidden;
  isolation: isolate;
  color: var(--on-accent);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(28,32,24,0.55) 0%, rgba(28,32,24,0.42) 60%, rgba(28,32,24,0.62) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(28,32,24,0.55) 0%, transparent 60%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 720px);
  align-items: center;
}
.hero-copy h1 { color: var(--on-accent); margin-bottom: 0.6em; }
.hero-accent { color: #d6e9c8; }
.hero-copy .lead { color: rgba(251, 250, 247, 0.92); max-width: 60ch; }
.hero-copy .eyebrow { color: #d6e9c8; }

.trust-strip {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  color: rgba(251, 250, 247, 0.92);
}
.trust-strip li { display: grid; gap: 0.1rem; line-height: 1.2; }
.trust-strip strong { font-size: 1.15rem; font-family: 'Fraunces', Georgia, serif; }
.trust-strip span { font-size: 0.85rem; color: rgba(251, 250, 247, 0.8); }

/* Page hero (non-home) */
.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.5rem, 4vw, 2.5rem);
  background:
    radial-gradient(70% 110% at 100% 0%, color-mix(in srgb, var(--accent-tint) 22%, transparent), transparent 65%),
    var(--surface);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 0.3em; }

.breadcrumb {
  display: flex; gap: 0.5rem; align-items: center;
  font-size: 0.9rem; color: var(--muted);
  margin-bottom: 0.6rem;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { margin-bottom: 2rem; max-width: 64ch; }
.section-foot { margin-top: 1.5rem; }

/* CTAs */
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cta); color: var(--on-cta); }
.btn-primary:hover { background: var(--cta-2); color: var(--on-cta); }
.btn-ghost {
  background: transparent;
  border-color: rgba(251, 250, 247, 0.6);
  color: var(--on-accent);
}
.btn-ghost:hover { background: rgba(251, 250, 247, 0.1); color: var(--on-accent); border-color: var(--on-accent); }
.section:not(.hero) .btn-ghost { color: var(--text); border-color: var(--border); }
.section:not(.hero) .btn-ghost:hover { background: var(--surface); }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.card-grid--detail { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: var(--shadow);
  color: var(--text);
}
.card--detail { background: var(--surface); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.2rem 1.25rem 1.4rem; }
.card-body h2, .card-body h3 { margin-bottom: 0.4rem; }
.card-body p { color: var(--muted); margin-bottom: 0.9rem; }
.card-link { color: var(--accent); font-weight: 600; font-size: 0.95rem; }

.service-items { padding-left: 1.1rem; margin: 0 0 1rem; color: var(--muted); }
.service-items li { margin-bottom: 0.35rem; }
.service-items--lg { font-size: 1.05rem; }

/* Two-column */
.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; gap: 1.8rem; }
}

.cta-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.cta-panel h3 { margin-top: 0; }
.cta-panel .btn { margin-top: 0.4rem; }
.cta-or { color: var(--muted); font-size: 0.92rem; margin: 0.8rem 0 0; }

.cta-strip { background: linear-gradient(180deg, var(--bg), var(--surface)); }

/* Gallery */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}
.gallery-tile {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
  display: block;
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-tile:hover img { transform: scale(1.04); }

.gallery-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.8rem;
}
.gallery-figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
}
.gallery-figure img { width: 100%; height: 100%; object-fit: cover; }
.gallery-note { margin-top: 1.5rem; }

/* Portrait */
.portrait { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.service-art {
  display: grid;
  gap: 1.4rem;
}
.service-art > img { border-radius: var(--radius); border: 1px solid var(--border); }

/* Reviews */
.reviews-block { display: grid; gap: 1rem; }
.reviews-loading { color: var(--muted); font-style: italic; margin: 0; }
.reviews-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.review-card blockquote {
  margin: 0 0 0.8rem;
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.55;
}
.review-card blockquote::before { content: "“"; font-family: 'Fraunces', Georgia, serif; font-size: 1.6rem; color: var(--accent); margin-right: 0.1em; line-height: 0; vertical-align: -0.2em; }
.review-card footer { color: var(--muted); font-size: 0.88rem; }
.review-card cite { font-style: normal; color: var(--text); font-weight: 600; }
.review-stars { color: var(--accent-tint); letter-spacing: 0.05em; margin: 0 0 0.5rem; }
.reviews-fallback { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Contact form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1rem;
}
.contact-form--success h2 { margin-top: 0; }
.form-error {
  background: color-mix(in srgb, var(--cta) 12%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--cta) 35%, var(--border));
  color: var(--cta-2);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin: 0;
}
.field { display: grid; gap: 0.35rem; font-size: 0.92rem; color: var(--muted); }
.field span { color: var(--text); font-weight: 500; }
.field abbr { color: var(--cta); border: 0; text-decoration: none; }
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  width: 100%;
  min-height: 44px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
}
.form-note { color: var(--muted); font-size: 0.88rem; margin: 0; }
.contact-aside h2 { margin-top: 0; }
.contact-aside h3 { margin-top: 1.5rem; }

/* KOM notes (placeholders) */
.kom-note {
  border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--border));
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.2rem;
  background: color-mix(in srgb, var(--accent) 5%, var(--surface));
  color: var(--text);
  font-size: 0.93rem;
}
.kom-note strong { display: block; margin-bottom: 0.3rem; color: var(--accent-2); }
.kom-warn { background: color-mix(in srgb, var(--cta) 6%, var(--surface)); border-color: color-mix(in srgb, var(--cta) 45%, var(--border)); }
.kom-warn strong { color: var(--cta-2); }

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding: 2.6rem 0 1.4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3, .site-footer h4 { margin-top: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.3rem; }
.footer-hours li { color: var(--muted); font-size: 0.95rem; }
.footer-nav a { color: var(--text); }
.site-footer address { font-style: normal; color: var(--muted); }
.site-footer a { color: var(--accent); }
.site-footer a:hover { color: var(--accent-2); }
.footer-rating { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); }
.footer-rating .stars { color: var(--accent-tint); letter-spacing: 0.05em; }
.footer-attribution { margin-top: 0.6rem; font-size: 0.88rem; }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 1.1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Focus ring (universal) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

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