/* Lantern Mill Coffee — a sample cafe site by Beacon Solutions. Not a real business. */

@font-face {
  font-family: "Young Serif";
  src: url(fonts/young-serif-latin-400-normal.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url(fonts/dm-sans-latin-wght-normal.woff2) format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --oat: #f6efe3;
  --oat-2: #efe4d2;
  --oat-3: #e3d4bc;
  --crema: #fbf7f0;
  --espresso: #2e211a;
  --espresso-2: #4a372c;
  --amber: #e8a33d;
  --amber-2: #c9832a;
  --sage: #7d8b6c;
  --text: #2e211a;
  --muted: #6f5f53;
  --serif: "Young Serif", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1140px;
  --gutter: clamp(16px, 4.5vw, 44px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--oat);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.08; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
section { scroll-margin-top: 12px; }

/* ── the sample banner: first thing on the page, never hidden ───────────────────── */
.sample-banner {
  background: var(--espresso);
  color: #f3e7d4;
  font: 500 0.8125rem/1.45 var(--sans);
  padding: 9px var(--gutter);
  text-align: center;
}
.sample-banner strong { color: var(--amber); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; margin-right: 4px; }

/* ── header ───────────────────────────────────────────────────────────────────────── */
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--espresso); }
.brand-mark { width: 40px; height: 40px; color: var(--espresso); flex: none; }
.brand span { font-family: var(--serif); font-size: 1.125rem; line-height: 1.05; }
.brand em { font-style: normal; color: var(--amber-2); }
.nav { display: flex; gap: 4px; background: var(--crema); border: 1px solid var(--oat-3); border-radius: 999px; padding: 5px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.9375rem; padding: 8px 16px; border-radius: 999px; white-space: nowrap; }
.nav a:hover { background: var(--oat-2); }

/* ── buttons ──────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 26px; border-radius: 14px;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--espresso); color: var(--oat); box-shadow: 0 6px 0 var(--amber-2); }
.btn-dark:hover { background: var(--espresso-2); }
.btn-line { border: 2px solid var(--espresso); color: var(--espresso); }

/* ── hero ─────────────────────────────────────────────────────────────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(20px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(24px, 5vw, 64px) clamp(56px, 8vw, 104px);
}
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); margin-bottom: 20px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(232, 163, 61, .25); }
.hero h1 { font-size: clamp(2.75rem, 7vw, 5.25rem); line-height: 1.0; letter-spacing: -0.025em; max-width: 13ch; }
.lede { font-size: clamp(1.125rem, 2vw, 1.3125rem); line-height: 1.55; color: var(--muted); max-width: 40ch; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 12px; margin-top: 34px; }
.hero-art { margin: 0; width: min(100%, 440px); justify-self: center; }
.hero-art .sun { fill: var(--amber); opacity: .9; }
.hero-art .steam path { fill: none; stroke: var(--espresso); stroke-width: 5; stroke-linecap: round; opacity: .55; }
.hero-art .saucer { fill: var(--crema); stroke: var(--espresso); stroke-width: 5; }
.hero-art .cup { fill: var(--crema); stroke: var(--espresso); stroke-width: 5; stroke-linejoin: round; }
.hero-art .handle { fill: none; stroke: var(--espresso); stroke-width: 12; stroke-linecap: round; }
.hero-art .band { stroke: var(--sage); stroke-width: 8; }
.hero-art .coffee { fill: var(--espresso-2); stroke: var(--espresso); stroke-width: 5; }

/* ── hours ticket ─────────────────────────────────────────────────────────────────── */
.hours { padding-bottom: clamp(56px, 8vw, 96px); }
.ticket {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  background: var(--crema);
  border: 1px solid var(--oat-3);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 1px 0 var(--oat-3), 0 24px 48px -28px rgba(46, 33, 26, .35);
}
.ticket-head { background: var(--sage); color: var(--crema); padding: clamp(24px, 4vw, 40px); position: relative; }
.ticket-head::after {
  content: ""; position: absolute; top: 12px; bottom: 12px; right: -1px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--crema) 0 8px, transparent 8px 16px);
}
.ticket-head h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 8px; }
.ticket-rows { margin: 0; padding: clamp(16px, 3vw, 28px) clamp(24px, 4vw, 44px); display: grid; align-content: center; }
.ticket-rows div { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px dashed var(--oat-3); }
.ticket-rows div:last-child { border-bottom: 0; }
.ticket-rows dt { font-weight: 700; }
.ticket-rows dd { margin: 0; font-variant-numeric: tabular-nums; }
.ticket-rows .off { color: var(--muted); }

/* ── menu board ───────────────────────────────────────────────────────────────────── */
.menu { background: var(--espresso); color: var(--oat); padding-block: clamp(64px, 9vw, 112px); }
.menu-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 40px; }
.menu-head h2 { font-size: clamp(2.5rem, 5.5vw, 4rem); color: var(--oat); }
.menu-head p { color: #d8c8b3; }
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.board-col { border: 1px solid rgba(246, 239, 227, .16); border-radius: 20px; padding: 26px 26px 18px; background: rgba(246, 239, 227, .03); }
.board-col h3 { font-size: 1.5rem; color: var(--amber); padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid rgba(246, 239, 227, .16); }
.board ul { list-style: none; margin: 0; padding: 0; }
.board li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px dotted rgba(246, 239, 227, .16); }
.board li:last-child { border-bottom: 0; }
.board b { font-weight: 600; font-variant-numeric: tabular-nums; color: #f3e7d4; }

/* ── beans ────────────────────────────────────────────────────────────────────────── */
.beans { background: var(--oat-2); padding-block: clamp(56px, 8vw, 96px); }
.beans-grid { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(28px, 6vw, 72px); align-items: center; max-width: 900px; }
.beans h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 16px; }
.beans p { font-size: 1.125rem; max-width: 46ch; }
.beans .small { font-size: 1rem; color: var(--muted); margin-top: 12px; }
.bag { width: 100%; max-width: 220px; justify-self: center; }
.bag-body { fill: var(--sage); stroke: var(--espresso); stroke-width: 4; stroke-linejoin: round; }
.bag-top { fill: #6c7a5c; stroke: var(--espresso); stroke-width: 4; stroke-linejoin: round; }
.bag-label { fill: var(--crema); stroke: var(--espresso); stroke-width: 3; }
.bag-mark { color: var(--espresso); }
.bag-line { stroke: var(--espresso); stroke-width: 3; stroke-linecap: round; }

/* ── find ─────────────────────────────────────────────────────────────────────────── */
.find { padding-block: clamp(56px, 8vw, 104px); }
.find-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 72px); align-items: center; }
.find h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.address { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; margin: 18px 0 14px; }
.find-copy > p:not(.address) { color: var(--muted); max-width: 40ch; }
.contact { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.contact a { font-weight: 700; font-size: 1.125rem; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.map { margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--oat-3); }
.m-ground { fill: #efe5d3; }
.m-water { fill: none; stroke: #a9bfb9; stroke-width: 26; stroke-linecap: round; }
.m-road { fill: none; stroke: var(--crema); stroke-width: 18; stroke-linecap: round; }
.m-road-thin { stroke-width: 10; }
.m-bldg { fill: var(--espresso); }
.m-pin { fill: var(--amber); stroke: var(--espresso); stroke-width: 3; }
.m-label { font: 700 14px var(--sans); fill: var(--espresso-2); letter-spacing: .03em; }
.m-soft { fill: #5f7d76; font-style: italic; font-weight: 500; }
.m-strong { font: 400 18px var(--serif); fill: var(--espresso); }

/* ── footer ───────────────────────────────────────────────────────────────────────── */
.foot { background: var(--espresso); color: #d8c8b3; padding-block: 44px 52px; font-size: 0.9375rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 28px 64px; align-items: start; }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand .brand-mark { color: var(--oat); }
.foot strong { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--oat); }
.foot a { color: var(--oat); text-underline-offset: 3px; }
.foot-note { color: #b9a894; border-left: 2px solid var(--amber); padding-left: 18px; }

/* ── tablet ───────────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .board-col:last-child { grid-column: 1 / -1; }
}

/* ── phone ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .top-row { flex-wrap: wrap; min-height: 0; padding-block: 16px 12px; gap: 12px; }
  .nav { width: 100%; justify-content: space-between; }
  .nav a { padding: 8px 12px; flex: 1 1 auto; text-align: center; }
  .hero-grid, .find-grid, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding-top: 20px; }
  .hero-art { width: min(62%, 240px); justify-self: end; margin-top: 8px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .ticket { grid-template-columns: minmax(0, 1fr); }
  .ticket-head::after {
    top: auto; bottom: -1px; left: 12px; right: 12px; width: auto; height: 2px;
    background: repeating-linear-gradient(to right, var(--crema) 0 8px, transparent 8px 16px);
  }
  .board { grid-template-columns: minmax(0, 1fr); }
  .beans-grid { grid-template-columns: minmax(0, 1fr); }
  .bag { max-width: 150px; justify-self: start; }
}

@media (max-width: 380px) {
  .nav a { padding: 8px 8px; font-size: 0.875rem; }
}
