@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --dark: #24130d;
  --ivory: #fbecd9;
  --copper: #e6a576;
  --paper: #f2e3d0;
  --ink: #301911;
  --body: #694c3d;
  --accent: #984e2c;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --gutter: clamp(24px, 5.4vw, 90px);
  font-family: var(--sans);
  background: var(--dark);
  color: var(--ivory);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, video { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
::selection { color: var(--dark); background: var(--copper); }

.shell {
  width: min(calc(100% - var(--gutter) * 2), 1400px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 5;
  top: 8px;
  left: var(--gutter);
  padding: 12px 16px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.story { position: relative; }
.story.is-animated { height: calc(100svh + clamp(520px, 80svh, 850px)); }

.hero {
  isolation: isolate;
  position: relative;
  min-height: 650px;
  height: 100svh;
  background: var(--dark);
}

.story.is-animated .hero {
  position: sticky;
  top: 0;
  min-height: 0;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: clamp(22px, 3.6vh, 44px);
}

.header-brand { display: inline-flex; align-items: center; gap: 10px; }
.header-brand img { width: 38px; height: 38px; }
.brand-text {
  display: grid;
  gap: 4px;
  font-family: var(--serif);
  font-size: 29px;
  line-height: .86;
  white-space: nowrap;
}

.brand-text small {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3em;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.5vw, 54px);
  font-size: 13px;
  font-weight: 600;
}

.nav-about, .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.nav-about:hover, .nav-link:hover { color: var(--copper); }

.nav-menu {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 13px;
  border: 1px solid #f5d4b578;
  border-radius: 999px;
  padding: 0 18px;
}

.nav-menu:hover { color: var(--dark); background: var(--ivory); border-color: var(--ivory); }

.hero-stage {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 77% 60%, #4a2417, var(--dark) 62%);
}

.scene-media {
  position: absolute;
  top: 53%;
  right: -2.2%;
  width: min(79vw, 1200px);
  aspect-ratio: 1120 / 810;
  transform: translateY(-50%);
  mask-image: linear-gradient(to right, transparent, #000 37%), linear-gradient(to bottom, transparent 0%, #000 15%, #000 86%, transparent 100%);
  mask-composite: intersect;
}

.scene-poster, .scene-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene-video { opacity: 0; }
.scene-media.has-video-frame .scene-video { opacity: 1; }

.hero-copy {
  position: absolute;
  z-index: 1;
  inset: 43% 0 auto;
  transform: translateY(-36%);
  pointer-events: none;
}

.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(92px, 9.75vw, 164px);
  font-weight: 400;
  letter-spacing: -.052em;
  line-height: .78;
}

.hero-copy em, .about-layout em { color: var(--copper); font-weight: 400; }
.hero-copy p {
  margin-top: 33px;
  color: #f5dbc5;
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.6;
}

.hero-bottom {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: clamp(26px, 5.4vh, 62px);
  left: 0;
  pointer-events: none;
}

.scroll-cue {
  display: none;
  align-items: center;
  gap: 12px;
  color: #f5dbc5;
  font-size: 12px;
  font-weight: 600;
  opacity: var(--cue-opacity, 1);
}

.story.is-animated .scroll-cue { display: flex; }
.scroll-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #e8b99598;
  border-radius: 50%;
  font-size: 18px;
}

.menu-section {
  color: var(--ink);
  background: var(--paper);
}

.menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: start;
  gap: clamp(45px, 8vw, 138px);
  padding-block: clamp(72px, 10vw, 150px);
}

.menu-content h2, .about-layout h2 {
  font-family: var(--serif);
  font-size: clamp(74px, 8.1vw, 120px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .85;
}

.menu-content h2 span { color: var(--accent); }

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(30px, 4vw, 50px);
  margin-bottom: 10px;
}

.menu-tabs button {
  min-height: 44px;
  padding: 8px 17px;
  border: 1px solid #a78369;
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.menu-tabs button:hover { border-color: var(--ink); }
.menu-tabs button[aria-selected="true"] {
  color: var(--ivory);
  background: var(--ink);
  border-color: var(--ink);
}
.menu-tabs button:focus-visible { outline-color: var(--ink); }

.category-name {
  margin-top: 32px;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}
.menu-content:has(.menu-tabs:not([hidden])) .category-name { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.menu-list { list-style: none; padding: 0; }

.menu-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  padding-block: 15px 14px;
  border-bottom: 1px solid #89634a47;
}

.menu-list h4 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: -.022em;
  line-height: 1;
}

.menu-list p {
  margin-top: 6px;
  color: var(--body);
  font-size: 13px;
  line-height: 1.45;
}

.menu-item-link {
  color: #814023;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.menu-item-link span { font: 600 15px var(--sans); }
.menu-item-link:hover { color: var(--ink); }

.price { flex-shrink: 0; font-size: 14px; font-weight: 700; }
.menu-note { margin-top: 17px; color: var(--body); font-size: 12px; }

.menu-photo {
  margin-top: clamp(0px, 1vw, 15px);
  background: #6d432d;
  overflow: hidden;
}

.menu-photo img { width: 100%; height: auto; object-fit: cover; }

.croissant-details { padding-block: clamp(64px, 10vw, 145px); }

.croissant-details p {
  max-width: 385px;
  margin-block: 26px;
  color: var(--body);
  line-height: 1.65;
}

.croissant-details .nav-menu { color: var(--ink); border-color: #a78369; }
.croissant-details .nav-menu:hover { color: var(--ivory); background: var(--ink); border-color: var(--ink); }

.about-section { background: #482619; }

.about-layout {
  display: grid;
  grid-template-columns: .75fr 1fr;
  align-items: center;
  gap: clamp(44px, 11vw, 190px);
  max-width: 1060px;
  padding-block: clamp(76px, 11vw, 147px);
}

.about-layout img { width: min(100%, 270px); height: auto; justify-self: center; }
.about-layout h2 { font-size: clamp(70px, 7vw, 104px); }
.about-layout p { max-width: 340px; margin-top: 25px; color: #f5dbc5; font-size: 16px; line-height: 1.65; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
  font-size: 13px;
  color: #f5dbc5;
}

.site-footer small { font-size: inherit; }
.site-footer a { padding: 12px 0; }
.site-footer a span { margin-left: 6px; }
.site-footer a:hover { color: var(--copper); }

@media (max-width: 800px) {
  .hero-copy h1 { font-size: clamp(78px, 12vw, 115px); }
  .scene-media { right: -11%; width: max(85vw, 715px); }
  .menu-layout { gap: 42px; }
}

@media (max-width: 620px) {
  :root { --gutter: clamp(16px, 5.7vw, 24px); }
  .hero { height: 100svh; min-height: 590px; }
  .brand-text { font-size: 26px; }
  .header-brand { gap: 8px; }
  .header-brand img { width: 33px; height: 33px; }
  .site-nav { gap: 12px; font-size: 12px; }
  .nav-menu { padding-inline: 11px; gap: 7px; }
  .nav-about { display: none; }

  .hero-stage { background: radial-gradient(ellipse at 52% 60%, #4a2417, var(--dark) 65%); }
  .scene-media {
    top: 62%;
    right: auto;
    left: 51%;
    width: max(520px, 126vw);
    transform: translate(-50%, -50%);
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 83%, transparent), linear-gradient(to bottom, transparent, #000 23%, #000 79%, transparent);
  }
  .hero-copy { inset: clamp(105px, 17svh, 160px) 0 auto; transform: none; }
  .hero-copy h1 { font-size: clamp(67px, 17vw, 98px); }
  .hero-copy p { max-width: 270px; margin-top: 17px; }
  .desktop-break { display: none; }
  .hero-bottom { bottom: 26px; }
  .scroll-arrow { width: 32px; height: 32px; }

  .menu-layout { grid-template-columns: 1fr; gap: 34px; padding-block: 64px; }
  .menu-content h2 { font-size: clamp(67px, 18vw, 92px); }
  .menu-photo { margin-top: 0; aspect-ratio: 5 / 4; }
  .menu-photo img { height: 100%; object-position: center 49%; }
  .about-layout { grid-template-columns: 1fr; gap: 32px; padding-block: 66px; }
  .about-layout img { width: 115px; justify-self: start; }
  .about-layout h2 { font-size: clamp(63px, 16vw, 84px); }
  .about-layout p { margin-top: 19px; }
}

@media (max-width: 350px) {
  .brand-text { font-size: 23px; }
  .header-brand img { width: 29px; height: 29px; }
  .site-nav { gap: 8px; }
  .site-header .nav-menu span { display: none; }
}

@media (max-width: 620px) and (max-height: 680px) {
  .hero-copy { top: 98px; }
  .hero-copy h1 { font-size: clamp(58px, 15vw, 79px); }
  .hero-copy p { margin-top: 12px; }
  .scene-media { top: 64%; width: max(455px, 111vw); }
  .hero-bottom { bottom: 16px; }
}

@media (min-width: 621px) and (max-height: 690px) {
  .hero-copy h1 { font-size: clamp(75px, 8vw, 112px); }
  .hero-copy p { margin-top: 23px; }
}

@media (max-width: 620px) and (orientation: portrait) {
  .croissant-page .scene-media { width: max(440px, 112vw); }
}

@media (orientation: landscape) and (max-height: 440px) {
  .site-header { padding-top: 14px; }
  .hero-copy { top: 28%; transform: none; }
  .hero-copy h1 { font-size: clamp(54px, 10vh + 21px, 75px); }
  .hero-copy p { margin-top: 12px; }
  .scene-media {
    top: 54%;
    right: -3%;
    left: auto;
    width: max(67vw, 380px);
    transform: translateY(-50%);
    mask-image: linear-gradient(to right, transparent, #000 35%), linear-gradient(to bottom, transparent, #000 24%, #000 75%, transparent);
  }
  .hero-bottom { bottom: 12px; }
  .scroll-arrow { width: 26px; height: 26px; }
}

@media (orientation: landscape) and (max-height: 280px) {
  .story.is-animated .scroll-cue { display: none; }
}

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