/* ==========================================================================
   Boulangerie Meunier, sample site built by Missing Piece Studio.
   Direction: warm, editorial, photography-forward. The product is the argument,
   so photographs run full bleed and the type stays out of their way.
   This business is fictional. Nothing here describes a real bakery.
   ========================================================================== */

@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url('/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url('/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url('/fonts/karla-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url('/fonts/karla-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink:    #241610;
  --cream:  #FDF6EA;
  --paper:  #FFFFFF;
  --crust:  #A84E1C;
  --wheat:  #E3B564;
  --ink-soft: rgba(36, 22, 16, .74);
  --edge:     rgba(36, 22, 16, .14);
  --wrap:  70rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: 'Karla', system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--crust); }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 46rem) { .wrap { padding-inline: 2rem; } }

.skip { position: absolute; left: -9999px; background: var(--ink); color: var(--cream); padding: .8rem 1.1rem; z-index: 60; font-weight: 700; text-decoration: none; }
.skip:focus { position: fixed; left: .75rem; top: .75rem; }

/* The sample notice. Every demo carries one. */
.sample {
  background: var(--ink); color: var(--cream);
  font-size: .8125rem; line-height: 1.4; padding: .6rem 0; text-align: center;
}
.sample a { color: var(--wheat); font-weight: 700; }

/* Header */
.head { padding-block: 1.125rem; border-bottom: 1px solid var(--edge); background: var(--cream); }
.head-in { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.brand {
  font-family: 'Fraunces', Georgia, serif; font-variation-settings: 'opsz' 40, 'SOFT' 20, 'WONK' 0;
  font-weight: 700; font-size: 1.3125rem; letter-spacing: -.02em; line-height: 1;
  color: var(--ink); text-decoration: none; margin-right: auto;
}
.head nav { display: flex; flex-wrap: wrap; gap: .25rem 1.125rem; font-size: .9375rem; font-weight: 600; }
.head nav a { color: var(--ink-soft); text-decoration: none; }
.head nav a:hover { color: var(--crust); }
.call {
  background: var(--crust); color: var(--paper); text-decoration: none;
  font-weight: 700; font-size: .9375rem; padding: .55rem 1rem; border-radius: 2px; white-space: nowrap;
}
.call:hover { background: var(--ink); }
.lang { font-weight: 800; font-size: .8125rem; letter-spacing: .06em; color: var(--ink); text-decoration: none; border: 2px solid var(--edge); padding: .35rem .6rem; }
.lang:hover { border-color: var(--ink); }

/* Hero, photography first */
.hero { position: relative; }
.hero img { width: 100%; aspect-ratio: 16 / 13; object-fit: cover; }
@media (min-width: 46rem) { .hero img { aspect-ratio: 16 / 7; } }
.hero-cap { background: var(--ink); color: var(--cream); padding-block: 2.25rem; }
.hero-cap h1 {
  font-family: 'Fraunces', Georgia, serif; font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 1;
  font-weight: 400; font-size: clamp(2.125rem, 1.4rem + 3.1vw, 4rem); line-height: 1.03;
  letter-spacing: -.025em; max-width: 20ch; color: var(--cream);
}
.hero-cap p { margin-top: 1rem; max-width: 48ch; color: rgba(253, 246, 234, .8); }
.kicker {
  font-family: 'Karla', sans-serif; font-size: .75rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--wheat); display: block; margin-bottom: .875rem;
}

section { padding-block: clamp(3rem, 2.2rem + 3.5vw, 5rem); }
.sec-title {
  font-family: 'Fraunces', Georgia, serif; font-variation-settings: 'opsz' 72, 'SOFT' 10, 'WONK' 0;
  font-weight: 500; font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.625rem); line-height: 1.1;
  letter-spacing: -.02em; max-width: 22ch;
}
.sec-title + p { margin-top: 1rem; max-width: 60ch; color: var(--ink-soft); }

/* Editorial split */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 52rem) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.split img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* Product list, editorial rules */
.menu { margin-top: 2rem; }
.menu li { display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline; padding: .9rem 0; border-bottom: 1px solid var(--edge); }
.menu strong { font-weight: 700; }
.menu span { font-family: 'Karla', sans-serif; color: var(--crust); font-weight: 700; white-space: nowrap; }
.menu p { font-size: .9375rem; color: var(--ink-soft); margin-top: .15rem; max-width: 46ch; }

.gallery { display: grid; gap: 1rem; margin-top: 2rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 52rem) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; }

.band-dark { background: var(--ink); color: var(--cream); }
.band-dark .sec-title { color: var(--cream); }
.band-dark p { color: rgba(253, 246, 234, .8); }

.hours { margin-top: 1.5rem; max-width: 26rem; }
.hours li { display: flex; justify-content: space-between; gap: 1.5rem; padding: .55rem 0; border-bottom: 1px solid rgba(253, 246, 234, .18); }
.hours span { color: var(--wheat); font-weight: 600; }

.btn {
  display: inline-block; background: var(--crust); color: var(--paper); text-decoration: none;
  font-weight: 700; padding: .95rem 1.6rem; margin-top: 1.75rem; border-radius: 2px;
}
.btn:hover { background: var(--wheat); color: var(--ink); }

.foot { background: var(--cream); border-top: 1px solid var(--edge); padding-block: 2.5rem; font-size: .9375rem; }
.foot p { color: var(--ink-soft); }
.foot p + p { margin-top: .35rem; }
.foot strong { color: var(--ink); font-weight: 700; }
.foot-note { margin-top: 1.5rem !important; font-size: .8125rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Small utilities, so page markup carries no inline styles. */
.pt-0 { padding-top: 0; }
.mt-1 { margin-top: 1rem; }
.on-dark { color: var(--cream); }

/* Below the desktop breakpoint the nav takes its own row, so the brand and the
   language toggle stay together on the first one instead of orphaning it. */
@media (max-width: 60rem) {
  .head nav { order: 3; flex: 1 0 100%; }
}
