/* Crumbo's Premium: an editorial bakery page. Dark espresso, a big serif headline,
   and one loaf, drawn in code, that proofs, bakes and gets sliced as you scroll. */
@font-face { font-family: "DM Serif"; src: url("../assets/fonts/dmserif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif"; src: url("../assets/fonts/dmserif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("../assets/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }

:root {
  --esp: #1A110C;
  --esp2: #241710;
  --cream: #F3EADC;
  --paper: #FAF5EC;
  --ink: #2A1B12;
  --caramel: #D58C45;
  --ember: #E8622A;
  --muted: #B9A794;
  --line: rgba(243, 234, 220, .16);
  --serif: "DM Serif", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Bricolage", "Avenir Next", system-ui, sans-serif;
  --pad: clamp(18px, 4vw, 56px);
  --cur: var(--cream); --cur-ink: var(--esp);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--esp); color: var(--cream); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; font-synthesis: none; }
h1, h2, h3, p, ol, dl, dd, figure { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--caramel); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 300; background: var(--cream); color: var(--esp); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 10px; }

/* pills */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; background: transparent; transition: background-color .25s, color .25s, border-color .25s; }
.pill span { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.pill:hover span { transform: translateX(4px); }
.pill-solid { background: var(--cream); color: var(--esp); }
.pill-solid:hover { background: #fff; }
.pill-solid:disabled { opacity: .4; cursor: not-allowed; }
.pill-line { border-color: rgba(243, 234, 220, .45); }
.pill-line:hover { border-color: var(--cream); }
.pill-sm { min-height: 40px; padding: 7px 18px; font-size: .92rem; }

.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--caramel); }
.h2 { font: 400 clamp(2.7rem, 6vw, 5.6rem)/1.02 var(--serif); letter-spacing: -.01em; margin-top: 18px; text-wrap: balance; }
.h2 em, .display em { font-style: italic; color: var(--caramel); }
.lede { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6; max-width: 30rem; color: var(--muted); text-wrap: pretty; }

/* ------------------------------------------------ intro */
.hero { position: relative; background: var(--esp); }
.stage { position: relative; min-height: max(620px, calc(var(--screen-h, 100svh) - 34px)); overflow: hidden; isolation: isolate; }
html:not(.is-stretched) .hero.pin { height: calc(var(--screen-h, 100vh) * 2.4); }
html:not(.is-stretched) .hero.pin .stage { position: sticky; top: 0; height: calc(var(--screen-h, 100vh) - 34px); min-height: 620px; }

.nav { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 30px; padding: 18px var(--pad); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 1.6rem/1 var(--serif); letter-spacing: .01em; }
.brand svg { width: 32px; height: 32px; }
.links { display: flex; gap: 30px; margin-left: auto; font-size: .95rem; }
.links a { text-decoration: none; opacity: .8; }
.links a:hover { opacity: 1; }
@media (max-width: 899px) { .links { display: none; } .nav .pill { margin-left: auto; } }

.glow { position: absolute; z-index: 0; right: -6vw; top: 50%; width: min(70vw, 1100px); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 140, 50, .55), rgba(232, 98, 42, .18) 55%, rgba(26, 17, 12, 0)); opacity: var(--glow, .12); pointer-events: none; }
.bgword { position: absolute; z-index: 1; right: 2vw; top: 50%; transform: translate(var(--shift, 0px), -50%); font: 400 clamp(4rem, 8.6vw, 10.5rem)/.8 var(--serif); text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(243, 234, 220, .13); pointer-events: none; user-select: none; }

.copy { position: absolute; z-index: 4; left: var(--pad); top: 50%; transform: translateY(-46%); width: min(40vw, 580px); }
.kicker { display: flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.kicker i { width: 28px; height: 1px; background: currentColor; }
.display { margin-top: 18px; font: 400 clamp(3.2rem, 6.3vw, 7.4rem)/.9 var(--serif); text-transform: uppercase; letter-spacing: -.005em; }
.display .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.display .ln > span { display: inline-block; }
.js .display .ln > span { animation: lineUp 1.1s cubic-bezier(.2, .85, .2, 1) both; }
.js .display .ln:nth-child(2) > span { animation-delay: .1s; }
.js .display .ln:nth-child(3) > span { animation-delay: .2s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.copy .lede { margin-top: 22px; }
.btns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.js .copy .kicker, .js .copy .lede, .js .copy .btns { animation: fadeUp 1s cubic-bezier(.2, .85, .2, 1) both .35s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.art { position: absolute; z-index: 2; right: max(2vw, 10px); top: 50%; transform: translateY(-48%); width: min(56vw, 900px); }
.art svg { width: 100%; height: auto; overflow: visible; }
.cap { margin-top: -6px; text-align: center; font: italic 400 clamp(1rem, 1.3vw, 1.2rem)/1.3 var(--serif); color: var(--muted); min-height: 1.3em; transition: opacity .3s; }
.cap.swap { opacity: 0; }

.steps { position: absolute; z-index: 4; left: var(--pad); bottom: clamp(22px, 4vh, 40px); display: flex; gap: 22px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(243, 234, 220, .4); }
.steps li { display: flex; align-items: baseline; gap: 8px; transition: color .35s; }
.steps li b { font: 400 .95rem/1 var(--serif); letter-spacing: 0; }
.steps li.on { color: var(--cream); }
.steps li.on b { color: var(--caramel); }
.scroll-btn { position: absolute; z-index: 4; right: var(--pad); bottom: clamp(18px, 3.4vh, 34px); width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(243, 234, 220, .4); display: grid; place-items: center; text-decoration: none; font-size: 1.15rem; transition: border-color .25s, background-color .25s; }
.scroll-btn:hover { border-color: var(--cream); background: rgba(243, 234, 220, .08); }
.scroll-btn span { animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

/* phones and small tablets: everything stacks, the loaf plays as the intro scrolls by */
@media (max-width: 899px) {
  .stage { display: flex; flex-direction: column; padding: 86px var(--pad) 26px; }
  .copy { position: relative; left: auto; top: auto; transform: none; width: auto; }
  .display { font-size: clamp(2.9rem, 13.4vw, 5rem); margin-top: 14px; }
  .copy .lede { margin-top: 16px; max-width: 34rem; }
  .btns { margin-top: 20px; }
  .art { position: relative; right: auto; top: auto; transform: none; width: min(100%, 560px); margin: 18px auto 0; }
  .glow { right: 50%; top: auto; bottom: 4%; width: 140vw; transform: translateX(50%); }
  .bgword { left: 50%; right: auto; top: auto; bottom: 22%; transform: translate(calc(-50% + var(--shift, 0px)), 0); font-size: 30vw; }
  .steps { position: relative; left: auto; bottom: auto; margin-top: 14px; justify-content: center; gap: 14px; font-size: .7rem; }
  .scroll-btn { display: none; }
}
@media (max-width: 420px) {
  .btns { flex-wrap: nowrap; gap: 8px; }
  .btns .pill { flex: 1 1 auto; padding-inline: 14px; font-size: .92rem; min-height: 46px; }
}

/* ------------------------------------------------ our morning */
.story { background: var(--esp); padding: clamp(80px, 12vw, 170px) var(--pad) clamp(70px, 9vw, 130px); border-top: 1px solid var(--line); }
.statement { max-width: 1180px; margin: 0 auto; font: 400 clamp(2rem, 4.6vw, 4.4rem)/1.08 var(--serif); letter-spacing: -.005em; text-wrap: balance; }
.statement .wd { opacity: var(--o, 1); transition: opacity .25s linear; }
.times { max-width: 1180px; margin: clamp(56px, 8vw, 110px) auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.times li { border-top: 1px solid var(--line); padding-top: 18px; }
.times b { display: block; font: 400 clamp(2.6rem, 4.4vw, 3.8rem)/1 var(--serif); color: var(--caramel); }
.times span { display: block; margin-top: 10px; font-weight: 700; }
.times p { margin-top: 6px; color: var(--muted); line-height: 1.55; }
@media (max-width: 760px) { .times { grid-template-columns: 1fr; gap: 26px; } }

/* ------------------------------------------------ box of six */
.box { background: var(--paper); color: var(--ink); padding: clamp(80px, 11vw, 150px) var(--pad); }
.box .eyebrow { color: #A8622A; }
.box .h2 em { color: #A8622A; }
.box .lede { color: #6E5646; margin: 18px 0 30px; }
.box .pill-solid { background: var(--ink); color: var(--cream); }
.box .pill-solid:hover { background: #000; }
.box .pill-line { border-color: rgba(42, 27, 18, .35); color: var(--ink); }
.box .pill-line:hover { border-color: var(--ink); }
.box-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: start; max-width: 1300px; margin: 0 auto; }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pick { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 12px 14px; border-radius: 22px; border: 1px solid rgba(42, 27, 18, .1); background: #fff; cursor: pointer; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.pick:hover { border-color: rgba(42, 27, 18, .3); box-shadow: 0 18px 40px -26px rgba(42, 27, 18, .5); }
.pick svg { width: 100%; height: 84px; }
.pick b { font: 400 1.18rem/1.15 var(--serif); text-align: center; }
.pick span { color: #6E5646; font-size: .9rem; font-variant-numeric: tabular-nums; }
.box-right { position: sticky; top: 24px; }
.the-box { position: relative; aspect-ratio: 4 / 3.1; }
.the-box svg { width: 100%; height: 100%; overflow: visible; }
.box-sum { margin-top: 18px; }
.box-sum > p { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 1.05rem; border-top: 1px solid var(--ink); padding-top: 12px; }
.box-sum strong { font: 400 2rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.box-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.box-msg { margin-top: 12px; font-weight: 600; min-height: 1.6em; }
.flyer { position: fixed; z-index: 120; pointer-events: none; }
.flyer svg { width: 100%; height: 100%; }
@media (max-width: 900px) {
  .box-wrap { grid-template-columns: 1fr; }
  .box-left, .box-right { display: contents; }
  .box .eyebrow { order: 0; }
  .box h2 { order: 1; }
  .box .lede { order: 2; margin: 12px 0 8px; }
  .the-box { order: 3; max-width: 340px; width: 100%; margin: 0 auto 8px; }
  .picks { order: 4; grid-template-columns: repeat(2, 1fr); }
  .box-sum { position: sticky; bottom: 0; z-index: 5; background: var(--paper); margin: 0 calc(-1 * var(--pad)); padding: 4px var(--pad) 14px; box-shadow: 0 -10px 24px -18px rgba(42, 27, 18, .5); order: 5; }
  .box-btns { flex-wrap: nowrap; }
  .box-btns > * { flex: 1; padding-inline: 12px; }
}

/* ------------------------------------------------ band */
.band { background: var(--caramel); color: var(--esp); padding: 20px 0; font: italic 400 clamp(2.2rem, 5.6vw, 4.8rem)/1.1 var(--serif); }
.band .mq-track > * { flex: none; }
.band span { padding: 0 .35em; }
.band i { display: inline-block; width: 1.15em; height: .85em; align-self: center; }
.band i svg { width: 100%; height: 100%; }

/* ------------------------------------------------ visit */
.visit { background: var(--esp); padding: clamp(80px, 11vw, 150px) var(--pad) 0; overflow: hidden; }
.v-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; max-width: 1300px; margin: 0 auto; }
.visit .lede { margin: 22px 0 30px; }
.v-facts { display: grid; gap: 18px; }
.v-facts div { border-top: 1px solid var(--line); padding-top: 12px; }
.v-facts dt { color: var(--muted); font-size: .88rem; }
.v-facts dd { margin: 2px 0 0; font: 400 1.4rem/1.25 var(--serif); }
.wordmark { font: 400 21vw/.8 var(--serif); text-align: center; margin: 60px 0 0; padding-bottom: .12em; color: var(--caramel); white-space: nowrap; letter-spacing: -.01em; }
.wordmark .ch { display: inline-block; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), color .3s; }
.wordmark .ch:hover { transform: translateY(-10%) rotate(-4deg); color: var(--cream); }
@media (max-width: 760px) { .v-grid { grid-template-columns: 1fr; } }
.p-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 20px var(--pad) 28px; font-size: .86rem; color: var(--muted); background: var(--esp); position: relative; border-top: 1px solid var(--line); }
.p-foot a { color: var(--caramel); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .js .display .ln > span, .js .copy .kicker, .js .copy .lede, .js .copy .btns, .scroll-btn span { animation: none; }
  .wordmark .ch { transition: none; }
}
