@font-face { font-family: "Fraunces"; src: url("/onepage-bakery/v/1/files/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/onepage-bakery/v/1/files/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/onepage-bakery/v/1/files/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --cream: #f6efe4;
  --paper: #fbf7f0;
  --wheat: #eadcc5;
  --ink: #2b1d14;
  --muted: #74604f;
  --crust: #b4532a;
  --crust-dark: #8f3f1d;
  --oven: #24170f;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --r: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.04; margin: 0; letter-spacing: -0.02em; font-variation-settings: "opsz" 144, "SOFT" 50; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--crust); }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--crust); margin: 0 0 18px; white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; height: 52px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .2s, transform .2s; }
.btn:hover { background: var(--crust); transform: translateY(-1px); }
.btn-small { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: var(--wheat); color: var(--ink); }
.link-arrow { font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow span { display: inline-block; transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow.light { color: var(--wheat); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(246, 239, 228, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(43, 29, 20, .08); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { font-family: var(--serif); font-size: 24px; font-weight: 600; text-decoration: none; white-space: nowrap; letter-spacing: -0.02em; }
.brand i { color: var(--crust); font-weight: 400; }
.brand.small { font-size: 20px; }
.links { display: flex; gap: 28px; margin-left: auto; }
.links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.links a:hover { color: var(--ink); }

/* hero */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(780px, calc(100svh - 68px)); padding: 96px 0; color: var(--paper); background: var(--oven); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 35%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(36, 23, 15, .92) 0%, rgba(36, 23, 15, .8) 40%, rgba(36, 23, 15, .22) 74%, rgba(36, 23, 15, .05) 100%); }
.hero-in { position: relative; }
.hero-text { max-width: 620px; }
.hero h1 { font-size: clamp(52px, 7vw, 96px); color: var(--paper); }
.hero h1 em { color: #eba57f; }
.hero .eyebrow { color: #eba57f; }
.hero .btn { background: var(--cream); color: var(--ink); }
.hero .btn:hover { background: var(--crust); color: var(--paper); }
.hero .link-arrow { color: var(--paper); }
.hero > .badge { left: auto; right: max(24px, calc((100% - 1180px) / 2)); bottom: 56px; }
.lede { font-size: 19px; color: rgba(251, 247, 240, .84); max-width: 30em; margin: 28px 0 36px; }
.cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-img { position: relative; margin: 0; }
.hero-img img { width: 100%; height: min(660px, calc(100svh - 150px)); min-height: 420px; object-fit: cover; border-radius: 999px 999px var(--r) var(--r); box-shadow: 0 30px 60px -30px rgba(43, 29, 20, .45); }
.badge { position: absolute; left: -28px; bottom: 48px; width: 120px; height: 120px; border-radius: 50%; background: var(--crust); color: var(--paper); display: grid; place-content: center; text-align: center; transform: rotate(-8deg); box-shadow: 0 14px 30px -12px rgba(143, 63, 29, .7); }
.badge b { font: 600 32px/1 var(--serif); }
.badge span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }

/* ticker */
.ticker { background: var(--crust); color: var(--paper); overflow: hidden; padding: 16px 0; }
.ticker-in { display: flex; gap: 0; width: max-content; animation: tick 38s linear infinite; }
.ticker span { font: italic 400 22px/1 var(--serif); padding: 0 28px; white-space: nowrap; }
.ticker span::after { content: "✺"; font-style: normal; font-size: 14px; margin-left: 56px; opacity: .7; vertical-align: middle; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-in { animation: none; } }

/* story */
.story { padding: 120px 0; }
.story-in { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-imgs { position: relative; height: 560px; }
.story-imgs img { position: absolute; object-fit: cover; border-radius: var(--r); }
.story-imgs .s1 { inset: 0 18% 22% 0; width: 82%; height: 78%; }
.story-imgs .s2 { right: 0; bottom: 0; width: 52%; height: 50%; border: 8px solid var(--cream); }
.story h2 { font-size: clamp(38px, 3.7vw, 52px); margin-bottom: 24px; }
.story-text p:not(.eyebrow) { color: var(--muted); margin: 0 0 40px; max-width: 32em; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid rgba(43, 29, 20, .14); }
.facts div { padding-top: 22px; }
.facts dt { font: 500 44px/1 var(--serif); color: var(--ink); white-space: nowrap; }
.facts dd { margin: 8px 0 0; font-size: 14px; color: var(--muted); white-space: nowrap; }

/* menu */
.menu { background: var(--paper); padding: 120px 0; }
.sec-head { text-align: center; margin-bottom: 64px; }
.sec-head h2 { font-size: clamp(40px, 4.6vw, 60px); }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 80px; }
.menu-col { min-width: 0; }
.menu-col h3 { font-size: 30px; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 2px solid var(--ink); }
.menu-col ul { list-style: none; margin: 0; padding: 0; }
.item { padding: 16px 0; }
.item + .item { border-top: 1px dashed rgba(43, 29, 20, .16); }
.item-row { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.item-name { font: 500 20px/1.3 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tag { flex: none; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--crust); background: rgba(180, 83, 42, .1); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.dots { flex: 1; min-width: 16px; }
.price { flex: none; font: 500 19px/1 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.item-desc { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.menu-foot { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 64px; }
.note { text-align: center; color: var(--muted); font-size: 14px; margin: 0; }
button.btn { border: 0; cursor: pointer; font-family: var(--sans); }
button.btn:disabled { opacity: .6; cursor: default; }

/* order popup */
.order { width: min(620px, calc(100% - 32px)); max-height: calc(100% - 32px); border: 0; border-radius: 24px; padding: 44px 48px 40px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(36, 23, 15, .6); }
.order::backdrop { background: rgba(36, 23, 15, .55); backdrop-filter: blur(3px); }
.order[open] { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.order h2 { font-size: 40px; }
.order-sub { color: var(--muted); margin: 10px 0 28px; }
.order-x { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--wheat); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.order-x:hover { background: #e0cdb0; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.f-grid .full { grid-column: 1 / -1; }
.f-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.f-grid label i { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 4px; }
.f-grid input, .f-grid textarea { font: 400 16px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid rgba(43, 29, 20, .18); border-radius: 12px; padding: 12px 14px; width: 100%; min-width: 0; }
.f-grid textarea { resize: vertical; }
.f-grid input:focus, .f-grid textarea:focus { outline: 2px solid var(--crust); outline-offset: 1px; border-color: transparent; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.order-error { color: #a3361a; font-size: 14px; margin: 16px 0 0; }
.order-actions { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.order-actions span { font-size: 14px; color: var(--muted); white-space: nowrap; }
.order-msg { text-align: left; }
.order-msg p:not(.eyebrow) { color: var(--muted); margin: 12px 0 28px; }

/* strip */
.strip { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 12px; padding: 12px; background: var(--paper); }
.strip img { width: 100%; height: 380px; object-fit: cover; border-radius: 12px; }

/* visit */
.visit { background: var(--oven); color: var(--cream); padding: 120px 0; }
.visit-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }
.visit h2 { font-size: clamp(40px, 4.6vw, 60px); }
.visit h2 em { color: #e3936b; }
.visit .eyebrow { color: #e3936b; }
address { font-style: normal; font-size: 20px; line-height: 1.5; color: var(--wheat); margin: 32px 0 36px; }
.visit-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hours { background: rgba(246, 239, 228, .05); border: 1px solid rgba(246, 239, 228, .12); border-radius: var(--r); padding: 36px 40px; }
.hours h3 { font-size: 26px; margin-bottom: 12px; }
.hours table { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 16px 0; vertical-align: top; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid rgba(246, 239, 228, .12); }
.hours th { text-align: left; font-weight: 500; white-space: nowrap; padding-right: 24px; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--wheat); }
.hours small { display: block; font-size: 13px; color: rgba(234, 220, 197, .6); margin-top: 2px; }

/* footer */
.foot { background: var(--oven); color: rgba(234, 220, 197, .6); border-top: 1px solid rgba(246, 239, 228, .1); font-size: 14px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.foot .brand { color: var(--cream); }
.foot a { text-decoration: none; white-space: nowrap; }
.foot a:hover { color: var(--cream); }

/* responsive */
@media (max-width: 960px) {
  .hero-in, .story-in, .visit-in { grid-template-columns: 1fr; gap: 48px; }
  .hero { min-height: 640px; padding: 80px 0 128px; align-items: flex-end; }
  .hero::before { background: linear-gradient(180deg, rgba(36, 23, 15, .35) 0%, rgba(36, 23, 15, .78) 55%, rgba(36, 23, 15, .92) 100%); }
  .hero-bg { object-position: 60% 30%; }
  .story, .menu, .visit { padding: 88px 0; }
  .story-imgs { height: 440px; }
  .menu-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .badge { left: 12px; bottom: 24px; width: 96px; height: 96px; }
  .badge b { font-size: 26px; }
  .hero > .badge { right: 20px; left: auto; bottom: 28px; }
  .story-imgs { height: 340px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip img { height: 220px; }
  .strip img:first-child { grid-column: 1 / -1; }
  .hours { padding: 24px; }
  .item-name { font-size: 18px; }
  .item-row { flex-wrap: wrap; column-gap: 10px; row-gap: 0; }
  .item-row::after { content: ""; order: 2; flex-basis: 100%; height: 0; }
  .tag { order: 3; font-size: 10px; padding: 2px 6px; margin-top: 6px; }
  .order { padding: 36px 22px 28px; }
  .order h2 { font-size: 32px; }
  .f-grid { grid-template-columns: 1fr; }
  .order-actions { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; }
  .order-actions .btn { justify-content: center; }
  .foot-in { flex-direction: column; justify-content: center; height: auto; padding: 32px 0; gap: 10px; }
}
