/* Juniper & Ash — editorial minimal */

:root {
  --paper: #f6f3ee;
  --paper-2: #efeae2;
  --ink: #161616;
  --muted: #645f57;
  --line: #ddd6ca;
  --display: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 12vw, 168px);

  /* Foundry booking kit panel */
  --fb-bg: var(--paper);
  --fb-ink: var(--ink);
  --fb-muted: var(--muted);
  --fb-line: var(--line);
  --fb-accent: var(--ink);
  --fb-accent-ink: var(--paper);
  --fb-font-body: var(--body);
  --fb-font-display: var(--display);
  --fb-radius: 0;
  --fb-panel-width: 460px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }

.sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.75rem 1rem; background: var(--ink); color: var(--paper);
}
.skip:focus { top: 1rem; }

/* ------------------------------------------------------------------ type */

.display {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
}
h2.display { font-size: clamp(2.5rem, 5.4vw, 4.5rem); margin-bottom: 0.5em; }

.eyebrow {
  display: flex; align-items: center; gap: 0.9rem;
  margin: 0 0 1.75rem;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
}
.eyebrow .num {
  font-family: var(--display); font-style: italic; font-size: 1.125rem; letter-spacing: 0;
  font-variant-numeric: lining-nums;
  display: inline-flex; align-items: center; gap: 0.9rem;
}
.eyebrow .num::after { content: ""; width: 2.5rem; height: 1px; background: currentColor; }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0 1.75rem;
  border: 1px solid var(--ink); border-radius: 0;
  background: var(--ink); color: var(--paper);
  font: 500 0.8125rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 1.25rem; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: transparent; color: var(--paper); }
.btn-light:focus-visible { outline-color: var(--paper); }

.link-btn {
  appearance: none; border: 0; padding: 0; background: none; cursor: pointer;
  color: var(--ink); font: 500 0.75rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.35em;
}
.link-btn:hover { text-decoration-thickness: 2px; }

.text-link {
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  text-underline-offset: 0.45em;
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 76px; }

.wordmark {
  font-family: var(--display); font-style: italic; font-size: 1.75rem; line-height: 1;
  letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; margin: 0;
}
.wordmark span { font-style: normal; font-size: 0.85em; padding-inline: 0.05em; }

.nav { margin-left: auto; }
.nav-list { display: flex; gap: 2.25rem; }
.nav-list a {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  padding-block: 0.5rem;
}
.nav-list a:hover { text-decoration: underline; text-underline-offset: 0.5em; }
.nav-toggle { display: none; }

@media (max-width: 759.98px) {
  .header-inner { gap: 0.75rem; min-height: 64px; }
  .wordmark { font-size: 1.5rem; }
  .nav-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.75rem;
    appearance: none; border: 0; background: none; color: var(--ink); cursor: pointer;
    font: 500 0.75rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase;
  }
  .nav-list {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .nav-list a { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .nav:not(.is-open) .nav-list { display: none; }
}

/* ------------------------------------------------------------------ hero */

.hero { padding-top: clamp(32px, 6vw, 88px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 112px); align-items: end;
}
.hero-copy { padding-bottom: clamp(8px, 3vw, 48px); }
.hero h1 {
  font-size: clamp(3.5rem, 8.6vw, 8.25rem);
  line-height: 0.92; letter-spacing: -0.03em;
  margin-bottom: 0.38em;
}
.lede { max-width: 30rem; font-size: 1.125rem; color: var(--muted); margin-bottom: 2.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.hero-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--ink);
}
.facts li { padding: 1.25rem 1.5rem 0 0; font-size: 0.9375rem; color: var(--muted); }
.facts li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.fact-k {
  display: block; margin-bottom: 0.25rem; color: var(--ink);
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}

@media (max-width: 899.98px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { padding-bottom: 0; }
  .hero-figure { margin-inline: calc(var(--gutter) * -1); }
  .hero-figure img { aspect-ratio: 5 / 4; object-position: 50% 20%; }
}
@media (max-width: 639.98px) {
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 1rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .hero-actions .btn { width: 100%; }
}

/* -------------------------------------------------------------- sections */

.section { padding-top: var(--section); }
.sec-head { max-width: 46rem; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-note { color: var(--muted); max-width: 34rem; }

/* about */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 8vw, 140px); align-items: center;
}
.about-figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about-copy { max-width: 34rem; }
.about-copy p:not(.eyebrow):not(.signature) { color: var(--muted); }
.signature { font-family: var(--display); font-style: italic; font-size: 1.5rem; margin-top: 2rem; }
@media (max-width: 899.98px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { order: 2; max-width: 30rem; }
}

/* services / price list */
.menu {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 72px);
}
.menu-title {
  font-family: var(--display); font-style: italic; font-size: 1.875rem; line-height: 1.1;
  padding-bottom: 1rem; border-bottom: 1px solid var(--ink);
}
.menu-item {
  display: grid; grid-template-columns: 1fr auto; column-gap: 1rem;
  padding: 1.25rem 0 1.3rem; border-bottom: 1px solid var(--line);
}
.menu-name { margin: 0; font-weight: 500; }
.menu-price { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-desc { grid-column: 1 / -1; margin: 0.3rem 0 0.75rem; font-size: 0.9375rem; color: var(--muted); line-height: 1.55; }
.menu-book { justify-self: start; grid-column: 1 / -1; min-height: 32px; }
@media (max-width: 1023.98px) { .menu { grid-template-columns: 1fr 1fr; } }
@media (max-width: 679.98px) { .menu { grid-template-columns: 1fr; } }

.bridal {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 1.5rem clamp(24px, 4vw, 64px); align-items: center;
  margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 48px);
  background: var(--paper-2);
}
.bridal .eyebrow { margin-bottom: 0.75rem; }
.bridal-title { font-size: clamp(2rem, 3.4vw, 2.75rem); margin: 0; }
.bridal p:not(.eyebrow):not(.bridal-title) { margin: 0; color: var(--muted); }
@media (max-width: 899.98px) {
  .bridal { grid-template-columns: 1fr; }
  .bridal .btn { justify-self: start; }
}

/* team */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.person { display: flex; flex-direction: column; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 1.5rem; filter: contrast(1.02); }
.person-name { font-family: var(--display); font-style: italic; font-size: 1.875rem; line-height: 1.1; }
.person-role {
  margin: 0.4rem 0 0.9rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.person-bio { font-size: 0.9375rem; color: var(--muted); margin-bottom: 1.5rem; }
.person .btn { margin-top: auto; align-self: start; }
@media (max-width: 1023.98px) { .team-grid { grid-template-columns: 1fr 1fr; row-gap: 56px; } }
@media (max-width: 539.98px) {
  .team-grid { grid-template-columns: 1fr; row-gap: 40px; }
  .person {
    display: grid; grid-template-columns: 128px minmax(0, 1fr); column-gap: 20px; align-items: start;
  }
  .person img { grid-row: 1 / span 3; margin: 0; }
  .person-name { font-size: 1.625rem; }
  .person-bio { font-size: 0.875rem; margin-bottom: 0; }
  .person .btn { grid-column: 1 / -1; margin-top: 1.25rem; align-self: stretch; }
}

/* gallery */
.gallery {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 24px);
}
.gallery img { width: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.g1 { grid-column: 1 / span 5; }
.g2 { grid-column: 6 / span 4; align-self: end; }
.g3 { grid-column: 10 / span 3; align-self: end; }
.g4 { grid-column: 1 / span 3; align-self: start; }
.g5 { grid-column: 4 / span 4; }
.g6 { grid-column: 8 / span 5; }
@media (max-width: 759.98px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery li { grid-column: auto; align-self: stretch; }
  .g1, .g6 { grid-column: 1 / -1; }
  .g1 img, .g6 img { aspect-ratio: 1 / 1; }
}

/* reviews */
.reviews .sec-head { margin-bottom: clamp(24px, 3vw, 40px); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); }
.quotes li { border-top: 1px solid var(--ink); padding-top: 1.75rem; }
.quotes blockquote { margin: 0; }
.quotes blockquote p {
  font-family: var(--display); font-style: italic; font-size: clamp(1.5rem, 2.1vw, 1.875rem); line-height: 1.2;
}
.cite { margin: 1.25rem 0 0; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 859.98px) { .quotes { grid-template-columns: 1fr; } }

/* visit */
.visit {
  margin-top: var(--section);
  padding-block: clamp(72px, 10vw, 136px);
  background: var(--ink); color: var(--paper);
}
.visit .eyebrow { color: var(--paper); }
.visit-grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
}
.visit-lede { color: #c9c3b9; max-width: 26rem; margin-bottom: 2.25rem; }
.visit-h {
  margin: 0.4rem 0 1.25rem; padding-bottom: 0.9rem; border-bottom: 1px solid #3a3835;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.hours-list { margin: 0; }
.hours-list div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; }
.hours-list dt { color: #c9c3b9; }
.hours-list dd { margin: 0; font-variant-numeric: tabular-nums; }
.contact address { font-style: normal; margin-bottom: 1.25rem; }
.contact a { color: var(--paper); }
.visit :focus-visible { outline-color: var(--paper); }
@media (max-width: 959.98px) {
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .visit-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 599.98px) {
  .visit-grid { grid-template-columns: 1fr; }
  .visit .btn { width: 100%; }
}

/* footer */
.site-footer { background: var(--ink); color: #a9a399; border-top: 1px solid #2c2a27; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 3rem; padding-block: 2.25rem; }
.wordmark-sm { color: var(--paper); font-size: 1.5rem; }
.footer-note { margin: 0; max-width: 40rem; font-size: 0.8125rem; }
.footer-note a { color: var(--paper); }

/* ------------------------------------------- booking panel finishing touches */
/* Theme comes from the --fb-* variables above; these only refine typography. */
.fb-panel .fb-title { font-style: italic; font-size: 1.5rem; font-weight: 400; }
.fb-panel .fb-group-title { font-style: italic; font-size: 1.375rem; font-weight: 400; }
.fb-panel .fb-done-title { font-style: italic; font-size: 2.25rem; font-weight: 400; }
.fb-panel .fb-btn { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8125rem; font-weight: 500; }
.fb-panel .fb-btn-quiet { text-transform: none; letter-spacing: 0; font-size: 0.9375rem; }
.fb-root .fb-backdrop { background: rgba(22, 22, 22, 0.45); }
