/* One look for every visitor: the brand's cream and sage, even in dark mode.
   Layout: a front porch at golden hour. Cream page, sage gingham bands,
   scalloped edges between sections, berry-pink for every "order" action. */
:root {
  --cream: #fbf7ef;
  --linen: #f3ecdf;
  --sage: #7d9277;
  --sage-deep: #4f6449;
  --berry: #c2546c;
  --berry-deep: #a23f57;
  --ink: #3a3328;
  --muted: #6f6656;
  --line: #e2d8c6;
  --card: #fffdf8;
  --on-berry: #fffaf5;
  --gingham: rgba(125, 146, 119, .14);
  --shadow: 0 10px 30px -14px rgba(74, 58, 36, .35);

  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --script: "Sacramento", "Brush Script MT", cursive;
  --logo: "Rye", Georgia, "Times New Roman", serif;

  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--berry-deep); }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; }
.script { font-family: var(--script); color: var(--berry); font-size: 2.1rem; line-height: 1; }
.eyebrow {
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 800 1rem/1 var(--body); letter-spacing: .02em; text-decoration: none;
  padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn-order { background: var(--berry); color: var(--on-berry); box-shadow: 0 6px 0 -1px var(--berry-deep); }
.btn-order:hover { transform: translateY(-2px); box-shadow: 0 8px 0 -1px var(--berry-deep); }
.btn-order:active { transform: translateY(2px); box-shadow: 0 2px 0 -1px var(--berry-deep); }
.btn-ghost { border-color: var(--sage); color: var(--sage-deep); background: transparent; }
.btn-ghost:hover { background: var(--gingham); }
.btn svg { width: 1.1em; height: 1.1em; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-badge {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: #fbf7ef url(img/logo.jpg) center / 175% auto no-repeat;
  border: 2px solid var(--sage);
}
.brand-name { font-family: var(--display); font-size: 1.2rem; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--berry-deep); }
.nav-links .btn { padding: .7rem 1.2rem; font-size: .92rem; }
@media (max-width: 760px) {
  .nav-links a:not(.btn) { display: none; }
  .brand-name { font-size: 1.05rem; }
}
@media (max-width: 380px) { .brand-name { display: none; } }

/* Scalloped edge: sits at the bottom of a band, scallops dip into the next color */
.scallop { position: relative; }
.scallop::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -15px; height: 16px;
  background: radial-gradient(circle at 14px 0, var(--band) 13px, transparent 13.5px) repeat-x;
  background-size: 28px 16px; z-index: 1; pointer-events: none;
}
.gingham {
  --band: var(--linen);
  background-color: var(--linen);
  background-image:
    repeating-linear-gradient(0deg, var(--gingham) 0 18px, transparent 18px 36px),
    repeating-linear-gradient(90deg, var(--gingham) 0 18px, transparent 18px 36px);
}

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { display: grid; gap: 1.25rem; min-width: 0; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.4rem); }
.hero h1 em { color: var(--sage-deep); }
.hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 34ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; padding-top: .4rem; }
.hero-note { font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: .5rem; }
.hero-note svg { width: 18px; height: 18px; color: var(--sage); flex: none; }
.hero-photo { position: relative; justify-self: center; width: min(100%, 460px); }
.hero-photo .frame {
  border-radius: 50%; overflow: hidden; aspect-ratio: 1; max-width: 100%;
  border: 10px solid var(--card); box-shadow: var(--shadow);
}
.hero-photo .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .logo-frame { background: #fbf7ef url(img/logo-circle.jpg) center / cover no-repeat; }
.hero-photo .logo-frame img { transform: scale(1.02); }
.hero-photo .tag {
  position: absolute; bottom: 6%; left: -4%;
  background: var(--card); border: 2px dashed var(--sage); border-radius: 18px;
  padding: .6rem 1rem; box-shadow: var(--shadow); transform: rotate(-5deg);
  display: grid; text-align: center;
}
.hero-photo .tag .script { font-size: 1.9rem; }
.hero-photo .tag small { font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-deep); }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; width: min(78%, 340px); }
  .hero-photo .tag { left: -8%; }
  .hero-copy { text-align: center; justify-items: center; }
  .hero-ctas, .hero-note { justify-content: center; }
}

/* Sections */
section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-head { display: grid; gap: .6rem; margin-bottom: 2.5rem; max-width: 640px; }
.section-head p { color: var(--muted); }

/* Menu */
.menu-group + .menu-group { margin-top: 3rem; }
.group-title { display: flex; align-items: baseline; gap: .9rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.group-title h3 { font-size: 1.7rem; }
.group-title span { color: var(--muted); font-size: .95rem; }
.cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); align-items: start; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 1.4rem 1.4rem 1.3rem; display: grid; gap: .55rem; align-content: start;
  position: relative;
}
.card .price { font-family: var(--display); font-size: 2rem; color: var(--berry-deep); line-height: 1; }
.card .price::after { content: "*"; font-family: var(--body); font-size: .9rem; font-weight: 700; color: var(--muted); vertical-align: super; margin-left: .1rem; }
.card .size-note { font-size: .8rem; color: var(--muted); font-style: italic; margin-top: -.3rem; }
.notice-banner { margin-top: .8rem; padding: .8rem 1.1rem; border-radius: 14px; background: var(--gingham); border: 1px solid var(--line); color: var(--ink); font-size: .95rem; }
.notice-banner strong { color: var(--berry-deep); }
.price-note { margin-top: 1.4rem; color: var(--muted); font-size: .9rem; font-style: italic; }
.card .price small { font-family: var(--body); font-size: .85rem; font-weight: 700; color: var(--muted); }
.card .serves {
  justify-self: start; font-size: .8rem; font-weight: 800; color: var(--sage-deep);
  background: var(--gingham); border: 1px solid var(--line); border-radius: 999px; padding: .25rem .7rem;
}
.card .size { font-size: .85rem; font-weight: 700; color: var(--sage-deep); }
.card .keep-note { font-size: .85rem; font-weight: 700; color: var(--berry-deep); }
.card p { color: var(--muted); font-size: .97rem; }
.card.featured { border: 2px solid var(--sage); }
.inside { border-top: 1px dashed var(--line); padding-top: .6rem; }
.inside summary {
  cursor: pointer; list-style: none; font-size: .9rem; font-weight: 800; color: var(--berry-deep);
}
.inside summary::-webkit-details-marker { display: none; }
.inside summary::after { content: " +"; }
.inside[open] summary::after { content: " \2013"; }
.inside ul { margin: .5rem 0 0; padding: 0; list-style: none; display: grid; gap: .4rem; font-size: .92rem; color: var(--muted); }
.inside li strong { color: var(--ink); }
.card .inside-note { margin: .7rem 0 0; font-size: .88rem; color: var(--muted); font-style: italic; }
.card .ribbon {
  position: absolute; top: -12px; right: 16px; background: var(--sage-deep); color: var(--cream);
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 999px;
}
.menu-foot { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.menu-foot p { color: var(--muted); font-size: .95rem; max-width: 52ch; }

/* Board finder */
.finder {
  margin-top: 3.2rem; border-radius: 28px; padding: clamp(1.5rem, 4vw, 2.4rem);
  background: var(--card); border: 2px dashed var(--sage);
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: center;
}
.finder label { display: block; font-weight: 800; margin-bottom: .6rem; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: var(--cream); }
.stepper button {
  width: 48px; height: 48px; border: 0; background: transparent; color: var(--sage-deep);
  font: 800 1.5rem/1 var(--body); cursor: pointer; border-radius: 50%;
}
.stepper button:hover { background: var(--gingham); }
.stepper input {
  width: 4.5ch; border: 0; background: transparent; text-align: center; color: var(--ink);
  font: 400 1.8rem/1 var(--display); -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.finder-out { display: grid; gap: .5rem; min-width: 0; }
.finder-out .pick { font-family: var(--display); font-size: 1.6rem; line-height: 1.2; }
.finder-out .est { color: var(--muted); }
.finder-out .est strong { color: var(--berry-deep); font-variant-numeric: tabular-nums; }
.finder-out .fine { font-size: .85rem; color: var(--muted); }
@media (max-width: 720px) { .finder { grid-template-columns: 1fr; } }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step { display: grid; gap: .6rem; align-content: start; }
.step .num {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage-deep); color: var(--cream); font: 400 1.5rem/1 var(--display);
}
.step p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Gallery */
/* Gallery slideshow */
.slideshow { display: grid; gap: 1rem; }
.ss-stage { position: relative; border-radius: 22px; overflow: hidden; background: var(--linen); aspect-ratio: 16 / 9; max-height: 520px; width: 100%; }
.ss-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(28px) saturate(1.1); transform: scale(1.15); opacity: .55; }
.ss-open { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.ss-open img { width: 100%; height: 100%; object-fit: contain; }
.ss-nav {
  position: absolute; top: 50%; transform: translateY(-50%); border: 0; cursor: pointer;
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 253, 248, .92); color: var(--ink);
  font-size: 2rem; line-height: 1; display: grid; place-items: center; box-shadow: var(--shadow);
}
.ss-nav:hover { background: var(--card); }
.ss-prev { left: 14px; }
.ss-next { right: 14px; }
.ss-count {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  background: rgba(58, 51, 40, .7); color: var(--cream); font-size: .82rem; font-weight: 700;
  padding: .25rem .7rem; border-radius: 999px;
}
.ss-thumbs { display: flex; justify-content: safe center; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.ss-thumbs figure {
  flex: 0 0 auto; width: 92px; height: 92px; margin: 0; border-radius: 14px; overflow: hidden; cursor: pointer;
  scroll-snap-align: center; opacity: .6; outline: 3px solid transparent; outline-offset: -3px;
  transition: opacity .2s ease, outline-color .2s ease;
}
.ss-thumbs figure:hover { opacity: .9; }
.ss-thumbs figure.active { opacity: 1; outline-color: var(--sage-deep); }
.ss-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 600px) {
  .ss-stage { aspect-ratio: 1 / 1; }
  .ss-thumbs figure { width: 68px; height: 68px; }
  .ss-nav { width: 40px; height: 40px; font-size: 1.7rem; }
}

/* Core values */
.values { margin-top: clamp(3rem, 7vw, 4.5rem); }
.values-head { display: grid; gap: .6rem; margin-bottom: 1.6rem; text-align: center; justify-items: center; }
.values-list { display: grid; gap: 1.1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.value {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem; display: grid; gap: .6rem; align-content: start; text-align: center; justify-items: center;
}
.value-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--gingham); border: 2px solid var(--sage); color: var(--sage-deep); display: grid; place-items: center; margin-bottom: .2rem; }
.value-icon svg { width: 32px; height: 32px; }
.value h3 { font-size: 1.6rem; color: var(--sage-deep); }
.value p { color: var(--muted); font-size: .97rem; }
@media (max-width: 820px) { .values-list { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { margin-top: clamp(3rem, 7vw, 5rem); }
.reviews .section-head { margin-bottom: 1.6rem; }
/* Reviews flow into columns so long and short ones pack together without gaps. */
.review-list { columns: 3 300px; column-gap: 1.1rem; }
.review-list > .review { break-inside: avoid; margin-bottom: 1.1rem; }
.review-list:has(> .review:only-child) { max-width: 760px; }
.review {
  margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 1.6rem 1.6rem 1.4rem; display: grid; gap: .8rem; align-content: start; box-shadow: var(--shadow);
}
.review .stars { color: var(--berry); letter-spacing: .15em; font-size: 1.05rem; }
.review blockquote { margin: 0; font-family: var(--display); font-size: 1.25rem; line-height: 1.45; color: var(--ink); }
.review figcaption { font-weight: 800; color: var(--sage-deep); font-size: .95rem; }

/* Photo viewer */
.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; overflow: hidden; }
.lightbox::backdrop { background: rgba(30, 26, 20, .92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lb-figure { margin: 0; display: grid; gap: .6rem; justify-items: center; }
.lb-figure img { max-width: min(92vw, 1100px); max-height: 82vh; width: auto; height: auto; border-radius: 16px; object-fit: contain; }
.lb-figure figcaption { color: var(--cream); font-weight: 700; font-size: .95rem; }
.lb-nav, .lb-close {
  position: fixed; border: 0; cursor: pointer; color: var(--ink); background: var(--cream);
  width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-close { top: 16px; right: 16px; font-size: 1.8rem; }
.lb-nav:hover, .lb-close:hover { background: var(--linen); }
@media (max-width: 760px) {
}

/* About */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.polaroid {
  background: var(--card); padding: 12px 12px 14px; border-radius: 6px; box-shadow: var(--shadow);
  transform: rotate(-3deg); max-width: 340px; justify-self: center;
}
.polaroid img { aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; width: 100%; }
.polaroid figcaption { font-family: var(--logo); font-size: 1.55rem; text-align: center; color: var(--sage-deep); padding-top: .55rem; line-height: 1; }
.about-copy { display: grid; gap: 1.1rem; min-width: 0; max-width: 62ch; }
.about-copy blockquote {
  margin: 0; font-family: var(--display); font-style: italic; font-size: 1.35rem; line-height: 1.45; color: var(--ink);
}
.about-copy p { color: var(--muted); }
.perks { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: .4rem 0 0; list-style: none; }
.perks li {
  font-size: .9rem; font-weight: 700; color: var(--sage-deep); border: 1px solid var(--line);
  border-radius: 999px; padding: .4rem .9rem; background: var(--card);
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

/* Area */
.towns { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin-top: 1.2rem; }
.towns span { font-family: var(--display); font-size: 1.35rem; }
.towns span:not(:last-child)::after { content: "·"; color: var(--berry); padding-left: .9rem; }

/* Contact / final CTA */
.contact-card {
  background: var(--sage-deep); color: var(--cream); border-radius: 32px;
  padding: clamp(2rem, 5vw, 3.4rem); display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center;
}
.contact-card h2 { color: var(--cream); }
.contact-card p { opacity: .9; }
.contact-card .btn-order { margin-top: 1.4rem; }
.contact-list { display: grid; gap: .8rem; }
.contact-item {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; padding: .9rem 1.1rem;
}
.contact-item div { min-width: 0; }
.contact-item small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.contact-item a { color: inherit; font-weight: 700; font-size: 1.08rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-item a:hover { text-decoration: underline; }
.copy {
  border: 1px solid rgba(255,255,255,.4); background: transparent; color: inherit; border-radius: 999px;
  font: 700 .8rem/1 var(--body); padding: .5rem .8rem; cursor: pointer;
}
.copy:hover { background: rgba(255,255,255,.12); }
@media (max-width: 820px) { .contact-card { grid-template-columns: 1fr; } }

footer { padding-block: 2.5rem calc(2.5rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; color: var(--muted); font-size: .9rem; }
.foot-social { display: inline-flex; flex-wrap: wrap; gap: 1.1rem; }
.social-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--sage-deep); font-weight: 700; text-decoration: none; }
.social-link:hover { color: var(--berry-deep); }
.contact-social { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: .15rem; }
.contact-item .contact-social a { display: inline-flex; align-items: center; gap: .5rem; }
.social-link svg, .contact-social svg { width: 20px; height: 20px; flex: none; }
.foot .foot-name { font-family: var(--display); font-size: 1.35rem; color: var(--ink); }

/* Floating order button on phones */
.float-order { display: none; }
@media (max-width: 760px) {
  .float-order {
    display: flex; position: fixed; z-index: 20;
    left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }
  .float-order .btn { width: 100%; box-shadow: 0 6px 0 -1px var(--berry-deep), var(--shadow); }
  footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px)); }
}
