@font-face {
  font-family: "Sansita";
  src: url("/assets/fonts/sansita-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/fonts/nunito-sans-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/fonts/nunito-sans-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --forest: #3e5b3f;
  --cream: #f5efe2;
  --oat: #e2d4b8;
  --ink: #1c221c;
  --map: #e5e3df;
  --page-pad: clamp(1.4rem, 4vw, 3.6rem);
  --content: 1328px;
  --motion-fast: 220ms;
  --motion-ease: cubic-bezier(.22, .75, .24, 1);
}

* { box-sizing: border-box; }

html {
  background: var(--oat);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

picture, img { display: block; }
img { width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .28em; }
p { margin: 0 0 1.2rem; max-width: 68ch; }
h1, h2, h3, h4 { font-family: "Sansita", sans-serif; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(3rem, 5vw, 4.25rem); }
h2 { font-size: clamp(2.5rem, 4vw, 3.75rem); }
h3 { font-size: clamp(2rem, 2.5vw, 2.45rem); }
h4 { font-size: 1.55rem; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  transform: translateY(-200%);
  background: var(--cream);
  color: var(--forest);
  padding: .7rem 1rem;
}
.skip-link:focus { transform: none; }

.site-header {
  height: 5.75rem;
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}
.site-header--forest { background: var(--forest); color: var(--cream); }
.site-header--oat { background: var(--oat); color: var(--ink); }
.wordmark { font: 700 1.55rem/1 "Sansita", sans-serif; text-decoration: none; }
.desktop-nav { display: flex; align-items: center; gap: 2rem; }
.desktop-nav a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color var(--motion-fast) ease; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; width: 2.35rem; height: 2rem; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { display: block; height: 1px; background: currentColor; margin: .45rem 0; transform-origin: center; transition: transform var(--motion-fast) var(--motion-ease); }
.mobile-nav[open] summary span:first-child { transform: translateY(.25rem) rotate(45deg); }
.mobile-nav[open] summary span:last-child { transform: translateY(-.25rem) rotate(-45deg); }
.mobile-nav nav {
  position: absolute;
  right: 0;
  top: 2.4rem;
  min-width: 10rem;
  padding: 1rem;
  background: var(--cream);
  color: var(--ink);
  text-align: right;
}
.mobile-nav nav a { display: block; padding: .45rem 0; text-decoration: none; }

.section-forest { background: var(--forest); color: var(--cream); }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 16.7rem;
  min-height: 4.35rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform var(--motion-fast) var(--motion-ease), background-color var(--motion-fast) ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, summary:focus-visible, label:focus-visible {
  outline: 3px solid #e9a83b;
  outline-offset: 4px;
}
.button--cream { background: var(--cream); color: var(--forest); }
.button--forest { background: var(--forest); color: var(--cream); }

.home-hero {
  min-height: calc(100vh - 5.75rem);
  padding: 2rem var(--page-pad) 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(26rem, .96fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}
.hero-image, .hero-image img { width: 100%; height: min(78vh, 778px); }
.hero-image img { object-fit: cover; }
.hero-copy { max-width: 34rem; }
.hero-kicker { margin: 0 0 1rem; font-size: 1.05rem; font-weight: 600; }
.hero-copy h1 { max-width: 11ch; margin-bottom: 1.8rem; }
.hero-copy p { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.55; }
.hero-copy .button { margin-top: 4.5rem; }

.menu-section {
  background: var(--cream);
  padding: 6.5rem var(--page-pad) 8rem;
}
.menu-section > h1, .menu-section > h2 { text-align: center; margin-bottom: 4.5rem; }
.menu-intro { max-width: 42rem; margin: -2.8rem auto 4rem; text-align: center; font-size: 1.15rem; }
.menu-section--standalone { padding-top: 5rem; }
.menu-tabs { max-width: 1090px; margin: 0 auto; text-align: center; }
.menu-tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.menu-tabs > label { cursor: pointer; display: inline-block; margin: 0 .55rem 3.5rem; border-bottom: 1px solid transparent; transition: border-color var(--motion-fast) ease; }
.menu-tabs > input:checked + label { border-bottom-color: currentColor; }
.menu-panel { text-align: left; }
.menu-panel--pastries { display: none; }
#tab-pastries:checked ~ .menu-panel--drinks { display: none; }
#tab-pastries:checked ~ .menu-panel--pastries { display: block; }
.menu-group { margin-bottom: 7.25rem; }
.menu-group h3 { text-align: center; margin-bottom: 3.5rem; }
.group-note { text-align: center; margin: -2.5rem auto 3.5rem; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem 3rem; }
.menu-grid--pastries { grid-template-columns: repeat(2, 1fr); }
.menu-item__line { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.menu-item h4 { font-size: 1.55rem; }
.menu-item p { margin: .25rem 0 0; }
.price { white-space: nowrap; }
.milk-options { text-align: center; }
.milk-options h3 { margin-bottom: .2rem; }
.milk-options p { margin: 0 auto 3.5rem; }
.milk-options h4 { text-align: left; max-width: 23rem; }

.story-section {
  background: var(--oat);
  padding: 7rem var(--page-pad) 8rem;
  display: grid;
  grid-template-columns: 1.08fr .82fr;
  grid-template-areas: "copy pastry" "family pastry";
  gap: 4rem 10rem;
  align-items: start;
}
.story-copy { grid-area: copy; }
.story-copy h2 { margin-bottom: 1rem; }
.story-copy .button { margin-top: 3rem; }
.story-family { grid-area: family; margin-top: 1rem; }
.story-pastry { grid-area: pastry; margin-top: 8rem; }
.story-family img, .story-pastry img { width: 100%; height: auto; }

.follow-section {
  background: var(--oat);
  min-height: 25rem;
  padding: 6rem var(--page-pad) 8rem;
  text-align: center;
}
.follow-section h2 { font-size: clamp(2.3rem, 4vw, 3.2rem); }
.instagram-link { display: inline-flex; width: 1.8rem; margin-top: 2rem; }
.instagram-link svg { fill: none; stroke: currentColor; stroke-width: 1.8; width: 100%; }
.instagram-link--large { width: 2rem; }

.site-footer {
  background: var(--oat);
  padding: 5.5rem var(--page-pad) 4.5rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.footer-heading { display: inline-block; font: 700 clamp(2.2rem, 3.5vw, 3.4rem)/1.05 "Sansita", sans-serif; text-decoration: none; }
.site-footer p { margin-top: 1.5rem; }
.site-footer p a { text-decoration: none; }
.footer-contact { text-align: right; overflow-wrap: anywhere; }

.about-hero {
  background: var(--oat);
  min-height: calc(100vh - 5.75rem);
  padding: 3rem var(--page-pad) 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(28rem, .95fr);
  gap: clamp(4rem, 8vw, 10rem);
  align-items: start;
}
.about-copy { padding-top: 1rem; }
.about-copy h1 { max-width: 13ch; margin-bottom: 1.2rem; }
.about-copy p { max-width: 34rem; }
.about-image, .about-image img { width: 100%; max-height: 780px; }
.about-image img { object-fit: cover; }
.visit-section {
  min-height: 36rem;
  padding: 7rem var(--page-pad) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.visit-copy h2 { margin-bottom: 2rem; color: var(--cream); }
.visit-copy address { font-style: normal; }
.visit-copy a { text-decoration: none; }
.map-frame { min-height: 30rem; background: var(--map); overflow: hidden; }
.map-frame iframe { width: 100%; height: 100%; min-height: 30rem; border: 0; filter: saturate(.55) contrast(.9); }

.not-found { min-height: 65vh; padding: 10rem var(--page-pad); }
.not-found p { font-size: 1.3rem; margin: 1.5rem 0 3rem; }

@media (max-width: 760px) {
  h1 { font-size: clamp(2.8rem, 13vw, 3.5rem); }
  h2 { font-size: clamp(2.45rem, 10vw, 3.2rem); }
  .site-header { height: 5.2rem; }
  .wordmark { font-size: 1.15rem; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .button { width: 100%; min-width: 0; }
  .home-hero {
    min-height: auto;
    padding: 4rem var(--page-pad) 2.25rem;
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-image, .hero-image img { height: auto; aspect-ratio: .72; }
  .hero-image img { object-fit: cover; }
  .hero-copy h1 { max-width: none; }
  .hero-copy p { font-size: 1.2rem; }
  .hero-copy .button { margin-top: 1rem; width: 12.5rem; }
  .menu-section { padding: 4.2rem var(--page-pad) 6rem; min-height: 0; }
  .menu-section > h2 { margin-bottom: 2.5rem; }
  .menu-tabs > label { margin-bottom: 3rem; }
  .menu-group { margin-bottom: 6rem; }
  .menu-group h3 { margin-bottom: 2.8rem; }
  .menu-grid, .menu-grid--pastries { grid-template-columns: 1fr; gap: 2.3rem; }
  .menu-item h4 { font-size: 1.35rem; }
  .milk-options h4 { margin-top: 3.5rem; }
  .story-section {
    padding: 5rem var(--page-pad) 6rem;
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "family";
    gap: 3rem;
  }
  .story-pastry { display: none; }
  .story-copy .button { margin-top: 2rem; }
  .follow-section { min-height: 0; padding: 5rem var(--page-pad) 7rem; }
  .follow-section h2 { font-size: 2.2rem; }
  .site-footer { grid-template-columns: 1fr; padding-top: 5rem; gap: 5rem; }
  .footer-heading { font-size: 2rem; }
  .footer-contact { text-align: right; }
  .footer-email { max-width: 100%; }
  .about-hero { min-height: 0; padding: 4rem var(--page-pad) 5rem; grid-template-columns: 1fr; gap: 3rem; }
  .about-copy h1 { max-width: none; }
  .about-image, .about-image img { max-height: none; }
  .visit-section { padding: 5rem var(--page-pad) 0; grid-template-columns: 1fr; gap: 3rem; }
  .map-frame, .map-frame iframe { min-height: 23rem; }
}

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