/* ==========================================================================
   Bistro Fortier, sample site built by Missing Piece Studio.
   Fictional business. Direction: typographic and menu-forward, dinner-lit.

   This sample carries no photography at all, on purpose. A neighbourhood
   restaurant usually has a phone full of dark, blurry service shots and
   nothing else, and the menu is the thing people actually came to read.
   The design is built to be strong without a single image.
   ========================================================================== */

@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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/jetbrainsmono-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/jetbrainsmono-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:    #16110D;   /* the room after dark */
  --paper:  #F6EFE4;   /* the menu card */
  --ember:  #C9622C;   /* the one accent */
  --brass:  #D9A441;   /* prices and rules */
  --paper-soft:  rgba(246, 239, 228, .76);
  --paper-faint: rgba(246, 239, 228, .52);
  --paper-edge:  rgba(246, 239, 228, .18);

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body:    'Karla', 'Helvetica Neue', Arial, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--paper); }
img, svg { display: block; max-width: 100%; }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--ember); color: var(--paper); }

.skip {
  position: absolute; left: -9999px;
  background: var(--paper); color: var(--ink);
  padding: .7rem 1rem; border-radius: 4px; font-weight: 700;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 20; }

.wrap { width: min(64rem, 100% - 2.5rem); margin-inline: auto; }

/* The sample notice. Cannot be missed, cannot be mistaken for the design. */
.sample {
  background: var(--ember);
  color: var(--paper);
  font-size: .8125rem;
  font-weight: 700;
  text-align: center;
  padding: .6rem 1rem;
  line-height: 1.4;
}
.sample a { color: var(--paper); }

/* -------------------------------------------------------------- header --- */

.head { border-bottom: 1px solid var(--paper-edge); }
.head-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.25rem;
  padding-block: 1.1rem;
}
.brand {
  font-family: var(--display);
  font-variation-settings: 'opsz' 40, 'SOFT' 20, 'WONK' 0;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: .01em;
  text-decoration: none;
  margin-right: auto;
}
.head nav { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; font-size: .9375rem; }
.head nav a { text-decoration: none; color: var(--paper-soft); }
.head nav a:hover { color: var(--brass); }

.lang, .tel {
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  color: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: 2px;
  padding: .42rem .7rem;
  line-height: 1;
}
.lang:hover, .tel:hover { border-color: var(--brass); color: var(--brass); }
.tel { border-color: var(--brass); color: var(--brass); }

/* ---------------------------------------------------------------- type --- */

.kicker {
  display: block;
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
}

h1 {
  font-family: var(--display);
  font-variation-settings: 'opsz' 144, 'SOFT' 20, 'WONK' 0;
  font-weight: 500;
  font-size: clamp(2.5rem, 1.5rem + 4.4vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin-top: 1.25rem;
}
h1 em { font-style: italic; color: var(--brass); }

.sec-title {
  font-family: var(--display);
  font-variation-settings: 'opsz' 72, 'SOFT' 20, 'WONK' 0;
  font-weight: 500;
  font-size: clamp(1.75rem, 1.35rem + 1.7vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}
h3 {
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.005em;
}

section { padding-block: clamp(3.5rem, 2.6rem + 3.8vw, 6rem); }
.lede { font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem); color: var(--paper-soft); max-width: 46ch; margin-top: 1.5rem; }
p + p { margin-top: 1rem; }

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

/* ---------------------------------------------------------------- hero --- */

.hero { padding-top: clamp(3rem, 2.2rem + 3.4vw, 5.5rem); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--paper-edge);
  font-family: var(--mono);
  font-size: .8125rem;
  letter-spacing: .06em;
  color: var(--paper-faint);
}
.hero-meta b { color: var(--paper); font-weight: 700; }

/* ---------------------------------------------------------------- menu --- */

.band-paper { background: var(--paper); color: var(--ink); }
.band-paper .sec-title, .band-paper h3 { color: var(--ink); }
.band-paper .kicker { color: var(--ember); }
.band-paper p { color: rgba(22, 17, 13, .74); }

.courses { display: grid; gap: 3rem; margin-top: 3rem; }
@media (min-width: 52rem) { .courses { grid-template-columns: 1fr 1fr; gap: 3rem 4rem; } }

.course h2 {
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ember);
  padding-bottom: .7rem;
  border-bottom: 2px solid rgba(22, 17, 13, .18);
}

.dish { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1.25rem; padding-block: 1.15rem; border-bottom: 1px solid rgba(22, 17, 13, .1); }
.dish:last-child { border-bottom: 0; }
.dish h3 { grid-column: 1; }
.dish .price {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--mono);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--ember);
  font-variant-numeric: lining-nums tabular-nums;
}
.dish p { grid-column: 1 / -1; font-size: .9375rem; margin: 0; }
.dish .note {
  display: inline-block;
  font-family: var(--mono);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--brass);
  border-radius: 2px;
  padding: .15rem .45rem;
  margin-top: .45rem;
}

.menu-note { margin-top: 2.5rem; font-size: .9375rem; }

/* --------------------------------------------------------------- midi ---- */

.prix {
  border: 1px solid var(--paper-edge);
  border-radius: 3px;
  padding: clamp(1.5rem, 1.2rem + 1.3vw, 2.5rem);
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 46rem) { .prix { grid-template-columns: 1fr auto; align-items: center; gap: 2.5rem; } }
.prix .amount {
  font-family: var(--mono);
  font-size: clamp(2.5rem, 2rem + 2.2vw, 3.75rem);
  font-weight: 700;
  line-height: 1;
  color: var(--brass);
  letter-spacing: -.03em;
  font-variant-numeric: lining-nums tabular-nums;
}
.prix .amount span { display: block; font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-faint); margin-top: .5rem; }

/* --------------------------------------------------------------- visit --- */

.two { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
@media (min-width: 52rem) { .two { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.hours li, .facts li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: .65rem;
  border-bottom: 1px solid var(--paper-edge);
  font-size: .9375rem;
}
.hours li span, .facts li span { font-family: var(--mono); font-size: .8125rem; color: var(--paper-faint); text-align: right; }
.hours li:last-child, .facts li:last-child { border-bottom: 0; }

/* On the paper band the light rule and the faint value colour both vanish.
   Restate them in ink so the right-hand column stays readable. */
.band-paper .hours li, .band-paper .facts li { border-bottom-color: rgba(22, 17, 13, .12); }
.band-paper .hours li span, .band-paper .facts li span { color: rgba(22, 17, 13, .62); }

.addr { margin-top: 1.5rem; font-size: 1.0625rem; }
.addr strong { display: block; font-size: 1.1875rem; }

/* -------------------------------------------------------------- footer --- */

.foot { border-top: 1px solid var(--paper-edge); padding-block: 3rem 2.5rem; }
.foot p { color: var(--paper-faint); font-size: .9375rem; }
.foot p + p { margin-top: .35rem; }
.foot strong { color: var(--paper); font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.foot-note { margin-top: 1.75rem !important; font-size: .8125rem; line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
