/* The Sweet Spot: colors and fonts from the updated brand kit (Nov 2026). */
:root {
  --ivory: #f7f2ea;       /* Warm Ivory: primary background */
  --cream: #ede3d6;       /* Soft Cream: secondary background */
  --chocolate: #4a3028;   /* Chocolate Brown: primary text */
  --espresso: #2b1d19;    /* Deep Espresso: contrast and emphasis */
  --gold: #c6a36a;        /* Champagne Gold: lines and borders only on light backgrounds */
  --taupe: #d9c8b6;       /* Muted Taupe: supporting elements */
  --cocoa: #79503f;       /* Cocoa flavor accent: small labels on light backgrounds (6:1 on ivory) */
  --white: #fffdf9;
  --radius: 12px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --header-h: 7.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--chocolate);
  background: var(--ivory);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--chocolate);
  text-underline-offset: 3px;
  text-decoration-color: var(--gold);
}

a:hover {
  color: var(--espresso);
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--espresso);
  color: var(--ivory);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  z-index: 20;
}

.skip:focus {
  top: 0.6rem;
}

.container {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

.section {
  padding: 6rem 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--cocoa);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0.85rem;
  color: var(--espresso);
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
}

h2 {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

p {
  margin: 0 0 1rem;
}

.fine-print {
  font-size: 0.85rem;
  line-height: 1.6;
}

.section-head {
  max-width: 38rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ivory);
  border-bottom: 1px solid var(--gold);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: block;
  flex: 0 0 auto;
  padding: 0.65rem 0.35rem;
  line-height: 0;
}

.brand img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--chocolate);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--espresso);
}

.site-nav .nav-cta {
  background: var(--chocolate);
  color: var(--ivory);
  padding: 0.75rem 1.2rem;
  border-radius: 8px;
}

.site-nav .nav-cta:hover {
  background: var(--espresso);
  color: var(--ivory);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: var(--ivory);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--chocolate);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.9rem 1.4rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--chocolate);
  color: var(--ivory);
}

.btn-primary:hover {
  background: var(--espresso);
  color: var(--ivory);
}

.btn-secondary {
  background: transparent;
  border-color: var(--chocolate);
  color: var(--chocolate);
}

.btn-secondary:hover {
  background: var(--cream);
  color: var(--espresso);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  height: min(calc(100svh - var(--header-h)), 46rem);
  min-height: 32rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.2rem, 6vw, 5.5rem);
}

.hero-lead {
  font-size: 1.05rem;
  max-width: 30rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.hero-photo {
  margin: 0;
  overflow: hidden;
  border-left: 1px solid var(--gold);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

/* Hero photo carousel */
.hero-carousel {
  position: relative;
}

.carousel-slides {
  position: absolute;
  inset: 0;
}

/* Each photo slides in from the side, shown whole (never cropped),
   with a soft blurred copy of itself filling the space around it. */
.carousel-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.carousel-backdrop {
  position: absolute;
  inset: -3rem;
  background-size: cover;
  background-position: center;
  filter: blur(28px) saturate(1.05);
}

.carousel-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(247, 242, 234, 0.18);
}

.hero-carousel .carousel-slide {
  position: absolute;
  inset: 0;
  object-fit: contain;
  object-position: center;
}

.carousel-controls {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.45rem;
  background: rgba(247, 242, 234, 0.9);
  border: 1px solid var(--gold);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(43, 29, 25, 0.15);
}

.carousel-controls[hidden] {
  display: none;
}

.carousel-btn {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--chocolate);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.carousel-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.carousel-btn .icon-play,
.carousel-btn.is-paused .icon-pause {
  display: none;
}

.carousel-btn.is-paused .icon-play {
  display: block;
}

.hero-carousel {
  background: var(--cream);
}

.carousel-btn:focus-visible {
  background: var(--cream);
}

@media (hover: hover) {
  .carousel-btn:hover {
    background: var(--cream);
    color: var(--espresso);
  }
}

/* Menu */
.menu {
  background: var(--cream);
}

.menu-group + .menu-group {
  margin-top: 3.5rem;
}

.menu-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--gold);
}

.menu-group-head h3 {
  margin: 0;
}

.flavors {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cocoa);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.menu-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: calc((100% - 1rem) * 2 / 3 + 1rem);
}

.menu-card {
  background: var(--ivory);
  border: 1px solid var(--taupe);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.menu-card p:last-child {
  margin-bottom: 0;
}

.menu-card h3 {
  margin-bottom: 0.4rem;
}

.menu-card .flavors {
  margin-bottom: 0.9rem;
}

.menu-cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gold);
  text-align: center;
}

.menu-card-wide {
  max-width: 44rem;
}

.price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.5rem;
  color: var(--espresso);
}

.price-soon {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cocoa);
  padding: 0.6rem 0 0.35rem;
}

/* Ordering info */
.ordering-grid,
.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.photo-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold);
  transition: box-shadow 0.25s ease;
}

@media (hover: hover) {
  .photo-frame:hover {
    box-shadow: 0 10px 28px rgba(43, 29, 25, 0.22);
  }
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -0.2rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--cocoa);
}

.steps strong {
  display: block;
  font-weight: 600;
  color: var(--espresso);
}

.preorder-box {
  border-top: 1px solid var(--gold);
  padding-top: 1.5rem;
}

.preorder-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--espresso);
  margin-bottom: 0.35rem;
}

/* Inquiry form */
.inquiry {
  background: var(--cream);
}

.card-frame {
  background: var(--ivory);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
}

.inquiry-form {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--taupe);
  background: var(--white);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--chocolate);
  outline-offset: 1px;
}

[aria-invalid="true"] {
  border-color: #9b2c2c;
}

.form-submit {
  width: 100%;
  margin-top: 0.3rem;
}

.form-note {
  min-height: 1.2rem;
  margin: 0.8rem 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--espresso);
}

.form-ready h3 {
  font-size: 1.8rem;
}

.request-text {
  white-space: pre-wrap;
  font-family: var(--font-body);
  font-size: 0.85rem;
  background: var(--white);
  border: 1px solid var(--taupe);
  border-radius: 8px;
  padding: 1rem;
  margin: 0 0 1rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  background: var(--espresso);
  color: var(--ivory);
  text-align: center;
  padding: 4.5rem 1.5rem 2.75rem;
}

.footer-inner {
  width: min(28rem, 100%);
  margin-inline: auto;
}

.site-footer img {
  width: min(200px, 64%);
  height: auto;
  margin: 0 auto 1rem;
}

.footer-verse {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold);
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ivory);
  font-weight: 500;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--gold);
}

.ig-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}

.footer-copy {
  color: var(--taupe);
  font-size: 0.8rem;
  margin: 1.75rem 0 0;
}

.footer-credit {
  color: var(--taupe);
  font-size: 0.75rem;
  margin: 0.5rem 0 0;
}

.footer-credit a {
  color: var(--ivory);
}

.footer-credit a:hover {
  color: var(--gold);
}

/* Hover shading: every button and link gets a soft shaded background on hover
   (and on keyboard focus). Only on devices with a mouse, so taps on phones
   don't leave a "stuck" shade behind. */
a,
button,
.btn {
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:not(.nav-cta) {
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

.inquiry-copy a,
.menu-card a,
.footer-credit a {
  border-radius: 4px;
  padding: 0.05em 0.2em;
  margin: 0 -0.2em;
}

@media (hover: hover) {
  .btn-primary:hover,
  .site-nav .nav-cta:hover {
    background: var(--espresso);
    box-shadow: 0 6px 16px rgba(43, 29, 25, 0.28);
  }

  .btn-secondary:hover,
  .nav-toggle:hover {
    background: var(--cream);
    box-shadow: 0 4px 12px rgba(43, 29, 25, 0.12);
  }

  .site-nav a:not(.nav-cta):hover,
  .menu-card a:hover,
  .inquiry-copy a:hover {
    background: var(--cream);
    color: var(--espresso);
  }

  .footer-link:hover,
  .footer-credit a:hover {
    background: rgba(247, 242, 234, 0.12);
    color: var(--gold);
  }
}

.btn-primary:focus-visible,
.site-nav .nav-cta:focus-visible {
  background: var(--espresso);
}

.btn-secondary:focus-visible,
.site-nav a:not(.nav-cta):focus-visible,
.menu-card a:focus-visible {
  background: var(--cream);
}

.footer-link {
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
}

/* Tablet and phone */
@media (max-width: 900px) {
  :root {
    --header-h: 5.5rem;
  }

  .brand img {
    width: 68px;
    height: 68px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 1.25rem 1.25rem;
    background: var(--ivory);
    border-bottom: 1px solid var(--gold);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.95rem 0.75rem;
    border-bottom: 1px solid var(--taupe);
  }

  .site-nav .nav-cta {
    margin-top: 0.9rem;
    text-align: center;
    border-bottom: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .hero-photo {
    order: -1;
    height: 38svh;
    min-height: 15rem;
    border-left: 0;
    border-bottom: 1px solid var(--gold);
  }

  .hero-copy {
    padding: 2rem 1.5rem 3rem;
  }

  .section {
    padding: 4rem 0;
  }

  .ordering-grid,
  .inquiry-grid {
    grid-template-columns: 1fr;
  }

  .photo-frame img {
    aspect-ratio: 4 / 3;
    max-height: 24rem;
  }

  .menu-grid,
  .menu-grid-2 {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 2rem);
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .carousel-frame {
    transition: none;
  }
}

/* The "Almost done" heading receives focus from the form; no outline needed there. */
.form-ready h3:focus {
  outline: none;
}

/* Hidden spam trap for the large-order form (people never see it). */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Our Story page */
.story {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem);
}

.story-head,
.story-body {
  width: min(40rem, calc(100% - 3rem));
  margin-inline: auto;
}

.story-head {
  text-align: center;
  margin-bottom: 3rem;
}

.story-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  line-height: 1.35;
  color: var(--chocolate);
  margin: 1.25rem auto 0;
  padding-top: 1.5rem;
  max-width: 32rem;
  border-top: 1px solid var(--gold);
}

.story-body > p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.4rem;
}

.story-moment {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem) !important;
  line-height: 1.25 !important;
  color: var(--espresso);
  text-align: center;
  margin: 3rem 0 2rem !important;
}

.story-close {
  font-family: var(--font-display);
  font-size: 1.5rem !important;
  line-height: 1.35 !important;
  color: var(--espresso);
}

.story-photo {
  margin: 0;
}

.story-photo img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  background: var(--cream);
}

.story-photo figcaption {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--cocoa);
  text-align: center;
}

.story-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2.5rem 0 2.75rem;
}

.story-pair img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.story-photo-wide {
  margin: 0 0 2.75rem;
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--gold);
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 6px;
}

@media (max-width: 520px) {
  .story-head,
  .story-body {
    width: calc(100% - 2rem);
  }

  .story-pair {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-pair img {
    aspect-ratio: auto;
  }

  .story-actions .btn {
    flex: 1 1 100%;
  }
}

/* "Our Story" label at the top of the story page */
.story-head h1.eyebrow {
  font-family: var(--font-body);
  font-size: 1.15rem;
  letter-spacing: 0.24em;
  color: var(--cocoa);
  margin-bottom: 0.9rem;
}
