/* Nightcap. One idea: a house menu card on warm paper, with a wine ring
   someone set down on it. Two inks (oxblood + a paler wine for the ring). */

@font-face { font-family: Gloock; src: url(/fonts/Gloock-Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Newsreader; src: url(/fonts/Newsreader.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: Newsreader; src: url(/fonts/Newsreader-Italic.woff2) format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }

:root {
  --paper: #f4ecdc;
  --card: #f8f2e6;
  --ink: #4a1419;
  --soft: #6e4a40;
  --wine: #8e2a3a;
  --display: Gloock, "Didot", "Bodoni 72", Georgia, serif;
  --text: Newsreader, Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font: 400 1.125rem/1.55 var(--text);
  /* faint paper grain, generated inline so nothing is fetched */
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .29 0 0 0 0 .08 0 0 0 0 .1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--wine); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 5; }
.skip:focus { left: 12px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 24px 20px 48px; overflow-x: clip; }

/* masthead + footer */
.top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
.mark { font-family: var(--display); font-size: 1.5rem; text-decoration: none; }
.top nav { display: flex; gap: 18px; font-style: italic; font-size: .98rem; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; }

.foot { margin-top: 88px; border-top: 1px solid var(--ink); padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .98rem; }
.foot p { margin: 0 auto 0 0; font-style: italic; }
.foot small { flex-basis: 100%; color: var(--soft); font-size: .9rem; }

/* type */
.kicker { font-style: italic; color: var(--soft); margin: 0; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; line-height: .92; margin: 0; }
h2, h3 { font-weight: 600; }

/* the ring */
.ring { position: absolute; pointer-events: none; user-select: none; z-index: 0; }

/* the menu card: double rule, slightly lighter paper */
.card {
  position: relative;
  border: 1.5px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 5px;
  margin: 6px;
  padding: 28px 22px 22px;
  background: rgb(248 242 230 / .6);
}
.card > h2 { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.05; margin: 0 0 4px; }
.card .note { font-style: italic; color: var(--soft); margin: 0 0 16px; font-size: 1rem; }

/* menu rows with dotted leaders */
.rows { margin: 0; padding: 0; }
.row { display: flex; align-items: baseline; gap: 10px; margin: 12px 0; }
.row dt { flex: 1; display: flex; align-items: baseline; gap: 8px; font-size: 1.15rem; min-width: 0; }
.row dt::after { content: ""; flex: 1; min-width: 18px; border-bottom: 1.5px dotted var(--ink); transform: translateY(-.3em); }
.row dt i { display: block; font-size: .95rem; color: var(--soft); }
.row dd { margin: 0; font-size: 1.15rem; font-variant-numeric: oldstyle-nums; text-align: right; }

/* ---------- landing ---------- */
.hero { position: relative; padding: 48px 0 24px; }
.hero .ring { width: min(72vw, 540px); right: -22%; top: -6px; opacity: .8; }
.hero .copy { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(3.1rem, 12.5vw, 9.5rem); margin-top: 6px; }
.hero h1 span { display: block; padding-left: .85em; }
.lede { max-width: 30ch; font-size: 1.28rem; line-height: 1.45; margin: 22px 0 0; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.stores a { display: inline-block; border: 1.5px solid var(--ink); border-radius: 2px; padding: 9px 16px 8px; text-decoration: none; font-size: .95rem; line-height: 1.3; }
.stores a b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.15rem; }
.stores a:hover { background: var(--ink); color: var(--paper); }
.stores-note { font-style: italic; color: var(--soft); font-size: .95rem; margin: 10px 0 0; }

.tonight { margin-top: 64px; }

.courses { margin-top: 72px; }
.courses > h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; margin: 0 0 28px; }
.courses ol { list-style: none; margin: 0; padding: 0; }
.course { display: grid; grid-template-columns: 3.2rem 1fr; gap: 4px 14px; margin: 0 0 28px; max-width: 36rem; }
.course .n { font-family: var(--display); font-size: 2.2rem; line-height: 1; grid-row: span 2; }
.course h3 { margin: 0; font-size: 1.2rem; }
.course p { margin: 0; }

.aside-line { margin: 72px 0 0; max-width: 34rem; font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.15; }
.aside-line + p { margin: 12px 0 0; max-width: 34rem; }

/* ---------- inner pages ---------- */
.page-head { position: relative; padding: 48px 0 12px; }
.page-head .ring { width: min(56vw, 300px); right: -14%; top: 4px; opacity: .6; }
.page-head h1 { position: relative; z-index: 1; font-size: clamp(2.9rem, 10vw, 6.4rem); max-width: 11ch; }
.page-head .kicker { position: relative; z-index: 1; margin-top: 14px; }

.page-body { margin-top: 36px; }
.glance { margin-bottom: 44px; }

.prose { max-width: 40rem; }
.prose section { border-top: 1px solid rgb(74 20 25 / .35); padding: 20px 0 6px; }
.prose h2 { font-size: 1.3rem; margin: 0 0 8px; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 1.1em; }
.prose li { margin: 4px 0; }
.prose li::marker { color: var(--wine); }
.prose dt { font-weight: 600; margin-top: 16px; }
.prose dd { margin: 4px 0 0; }

.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.4rem 1fr; margin: 10px 0; }
.steps li::before { content: counter(s, lower-roman) "."; font-family: var(--display); font-size: 1.35rem; line-height: 1.2; }

.mail { font-family: var(--display); font-size: clamp(1.5rem, 6.6vw, 2.3rem); overflow-wrap: anywhere; line-height: 1.15; }

@media (min-width: 900px) {
  .wrap { padding: 40px 56px 80px; }

  .hero { padding: 88px 0 56px; }
  .hero .ring { right: 3%; top: 24px; opacity: .9; }
  .lede, .stores, .stores-note { margin-left: 22%; }

  .split { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; margin-top: 24px; }
  .tonight { margin-top: 0; transform: rotate(-1.2deg); }
  .courses { margin-top: 8px; }
  .course:nth-child(even) { margin-left: 10%; }
  .aside-line, .aside-line + p { margin-left: 44%; }

  .page-head { padding: 80px 0 16px; }
  .page-head .ring { right: 10%; top: -6px; width: 300px; }
  .page-body { display: grid; grid-template-columns: 4fr 7fr; gap: 72px; align-items: start; margin-top: 56px; }
  .glance { position: sticky; top: 32px; margin: 0; transform: rotate(-1deg); }
}

@media (prefers-reduced-motion: no-preference) {
  .stores a { transition: background .15s, color .15s; }
}

@media print {
  body { background: #fff; }
  .ring, .top nav, .stores { display: none; }
  .glance { transform: none; }
}
