/* Larkspur Bakehouse: concept site by RG Works.
   Hand-written CSS, no framework. Fonts are self-hosted (SIL Open Font License). */

@font-face {
  font-family: "Young Serif";
  src: url("fonts/young-serif-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("fonts/karla-400-700-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("fonts/karla-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --flour: #f3ede1;
  --flour-deep: #e9e0cf;
  --crust: #33261b;
  --crumb: #5c4a3a;
  --tomato: #a3401f;
  --wheat: #c99a4b;
  --rule: #d6c9b2;
  --serif: "Young Serif", Georgia, serif;
  --sans: "Karla", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--flour);
  color: var(--crust);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
p { margin: 0 0 1rem; }
a { color: var(--tomato); text-underline-offset: 0.18em; }
a:hover { color: var(--crust); }
:focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--crust); color: var(--flour); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { top: 1rem; }
.small { font-size: 0.9375rem; color: var(--crumb); }

/* Concept notice */
.concept { background: var(--crust); color: var(--flour); font-size: 0.875rem; text-align: center; padding: 0.55rem 1.25rem; }
.concept p { margin: 0; }
.concept a { color: #f2c58a; }

/* Header */
.masthead { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--flour) 94%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--crust); text-decoration: none; }
.brand__mark { width: 2.5rem; height: 2.5rem; color: var(--tomato); flex: none; }
.brand__name { font-family: var(--serif); font-size: 1.25rem; line-height: 1; }
.brand__name span { font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--crumb); }
.nav { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; font-weight: 600; font-size: 0.95rem; }
.nav a { color: var(--crust); text-decoration: none; padding-block: 0.4rem; }
.nav a:hover { color: var(--tomato); box-shadow: inset 0 -2px 0 var(--tomato); }

/* Hero */
.hero { padding: 3.5rem 0 4rem; }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 52rem) { .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; } .hero { padding: 5rem 0 5.5rem; } }
.kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tomato); margin-bottom: 1.25rem; }
h1 { font-size: clamp(2.75rem, 7vw, 5.25rem); letter-spacing: -0.015em; margin-bottom: 1.5rem; }
.lede { font-size: 1.2rem; max-width: 36rem; color: var(--crumb); }
.hero__hours { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; margin: 1.5rem 0 2rem; }
.dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--wheat); box-shadow: 0 0 0 4px color-mix(in srgb, var(--wheat) 25%, transparent); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn { display: inline-block; background: var(--tomato); color: #fff; font-weight: 700; text-decoration: none; padding: 0.85rem 1.4rem; border-radius: 2px; }
.btn:hover { background: var(--crust); color: #fff; }
.btn--quiet { background: transparent; color: var(--crust); box-shadow: inset 0 0 0 2px var(--crust); }
.btn--quiet:hover { background: var(--crust); color: var(--flour); }

/* Photo slots (swap for real photos: see README.md) */
.slot { margin: 0; display: grid; place-items: center; align-content: center; gap: 1rem; background: var(--flour-deep); color: var(--wheat); border: 1px solid var(--rule); aspect-ratio: 4 / 3; padding: 2rem; }
.slot--hero { aspect-ratio: 4 / 5; }
.slot svg { width: min(60%, 14rem); }
.slot .cap { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--crumb); }
.slot--dark { background: #3f2f22; border-color: #4d3b2c; }
.slot--dark .cap { color: #cdb89a; }
.photo { display: block; width: 100%; height: auto; object-fit: cover; }
.photo--hero { aspect-ratio: 4 / 5; }

/* Sections */
.band { background: var(--flour-deep); padding: 4rem 0; border-block: 1px solid var(--rule); }
.section-head { display: grid; gap: 0.75rem; margin-bottom: 2.25rem; }
@media (min-width: 52rem) { .section-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.section-head p { margin: 0; color: var(--crumb); max-width: 32rem; }

.bakeboard { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--crust); }
.bakeboard li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px dashed var(--rule); font-size: 1.125rem; }
.bakeboard time { font-family: var(--serif); color: var(--tomato); font-size: 1.35rem; line-height: 1.2; }

.menu { padding: 4.5rem 1.25rem; }
.menu__cols { display: grid; gap: 2.5rem; }
@media (min-width: 52rem) { .menu__cols { grid-template-columns: 1fr 1fr 0.9fr; gap: 3rem; } }
.menu h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.prices { margin: 0; }
.prices div { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }
.prices dt { flex: 1; font-weight: 600; }
.prices dt small { display: block; font-weight: 400; font-style: italic; color: var(--crumb); font-size: 0.9rem; }
.prices dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 700; }
.note { background: #fff8ec; border: 1px solid var(--rule); padding: 1.5rem; }
.note h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.note p { color: var(--crumb); font-size: 0.975rem; }
.note p:last-child { margin: 0; }

.band--dark { background: var(--crust); color: var(--flour); border: 0; padding: 5rem 0; }
.band--dark a { color: #f2c58a; }
.band--dark .lede { color: #e2d6c2; }
.cakes { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 52rem) { .cakes { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.cakes h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 1.25rem; }
.facts { list-style: none; padding: 0; margin: 1.5rem 0; }
.facts li { padding: 0.65rem 0; border-bottom: 1px solid #54412f; }
.facts strong { color: #f2c58a; font-weight: 700; }

.visit { padding: 4.5rem 1.25rem 5rem; }
.visit__grid { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .visit__grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.visit h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
address { font-style: normal; margin-bottom: 1rem; font-size: 1.1rem; }
.hours { border-collapse: collapse; width: 100%; margin-bottom: 0.75rem; }
.hours th, .hours td { text-align: left; padding: 0.45rem 0; border-bottom: 1px solid var(--rule); }
.hours th { font-weight: 600; }
.hours td { text-align: right; }

.foot { border-top: 1px solid var(--rule); padding: 1.75rem 0; font-size: 0.9rem; color: var(--crumb); }
.foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }
.foot p { margin: 0; }

@media (max-width: 40rem) {
  .nav { gap: 0.9rem; font-size: 0.875rem; }
  .brand__name { font-size: 1.05rem; }
  .brand__mark { width: 2.1rem; height: 2.1rem; }
}
@media (max-width: 23rem) { .nav li:nth-child(1) { display: none; } }
