/* Pizza Lab Delray. Lab wall blues. One look, built from the Pz 48 periodic-table tile. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --orange: #4C9BEC;      /* accent tiles and buttons: Lab wall blue (name kept for the admin's tile styles) */
  --logo: #F4570C;        /* orange: Order online buttons and today's hours */
  --logo-ink: #1E1A16;    /* charcoal on the orange buttons */
  --mark-navy: #253966;   /* the PIZZA LAB wordmark navy */
  --mark-blue: #5EAECD;   /* the wordmark's light blue outline */
  --wall: url("../images/brand/tile-wall.svg");
  --ember: #1B5FAE;       /* blue text on white, readable */
  --carbon: #0A2A66;      /* navy: the dark tile and all type */
  --paper: #FFFFFF;
  --flour: #EEF5FD;       /* pale blue-white */
  --ash: #4E5D78;         /* quiet text */
  --rule: #D6E2F2;
  --basil: #2E6B3F;
  --r-tile: 14%;
  --r: 10px;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--carbon);
  font-family: var(--display); font-size: 17px; line-height: 1.6; font-weight: 400; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember); text-underline-offset: 3px; }
a:hover { color: var(--carbon); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 820; font-stretch: 108%; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(40px, 6.4vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: clamp(21px, 2.2vw, 26px); letter-spacing: -0.01em; }
h4 { font-size: 19px; letter-spacing: 0; }
.lede { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; max-width: 34em; }
.muted { color: var(--ash); }
.small { font-size: 14px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 760px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--flour { background: var(--flour); }
.section--carbon { background: var(--carbon); color: var(--paper); }
.section--carbon a:not(.btn) { color: #9CCBFA; }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--ash); font-size: 19px; }
.section--carbon .section-head p { color: #C3D3EA; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--carbon); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

/* ------------------------------------------------------------ Element tile */
.el {
  --size: 120px;
  position: relative; width: var(--size); aspect-ratio: 1; border-radius: var(--r-tile);
  display: flex; flex-direction: column; padding: calc(var(--size) * .1) calc(var(--size) * .1) calc(var(--size) * .08);
  background: var(--orange); color: var(--carbon); text-decoration: none; flex: none;
  font-family: var(--display); line-height: 1; overflow: hidden;
}
.el > span { flex: none; display: block; }
.el-n { font-weight: 800; font-size: calc(var(--size) * .14); font-stretch: 100%; }
.el-s { font-weight: 860; font-size: calc(var(--size) * .42); letter-spacing: -0.04em; margin-top: auto; font-stretch: 100%; }
.el-name { font-weight: 850; font-size: calc(var(--size) * .085); text-transform: uppercase; letter-spacing: .02em; margin-top: calc(var(--size) * .03); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.el-mass { font-weight: 650; font-size: calc(var(--size) * .075); letter-spacing: .06em; margin-top: calc(var(--size) * .02); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.el--carbon { background: var(--carbon); color: var(--paper); }
.el--carbon .el-n, .el--carbon .el-mass { color: var(--orange); }
.el--paper { background: var(--paper); box-shadow: inset 0 0 0 var(--bw, 5px) var(--orange); }
.el--paper .el-n { color: var(--orange); }
.el--outline { background: transparent; box-shadow: inset 0 0 0 var(--bw, 3px) var(--orange); }
.el--outline .el-n, .el--outline .el-s { color: var(--orange); }
.el--flour { background: var(--flour); }
/* The logo: white tile edged like the PIZZA LAB wordmark (light blue outside, white, then navy) */
.el.el--logo { background: var(--paper); color: var(--mark-navy);
  box-shadow: inset 0 0 0 calc(var(--size) * .029) var(--mark-blue), inset 0 0 0 calc(var(--size) * .048) var(--paper), inset 0 0 0 calc(var(--size) * .067) var(--mark-navy); }
.el--logo:hover { color: var(--mark-navy); }
.el.el--logo { padding: calc(var(--size) * .12) calc(var(--size) * .12) calc(var(--size) * .115); }
.el--logo .el-s { font-size: calc(var(--size) * .36); }
.el--logo .el-n { font-size: calc(var(--size) * .12); }
.el--logo .el-mass { color: var(--mark-navy); }
.el-wordmark { overflow: visible; margin-top: calc(var(--size) * .035); }
.el.el--logo .el-wordmark img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; box-shadow: none; position: static; }
.el--flour .el-n { color: var(--ember); }
a.el { transition: transform .15s ease; }
a.el:hover { transform: translateY(-3px); color: inherit; }
.el--carbon:hover { color: var(--paper); }

/* ------------------------------------------------------------ Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 750; font-stretch: 104%; font-size: 17px; line-height: 1;
  padding: 16px 24px; border-radius: 999px; text-decoration: none; cursor: pointer;
  background: var(--orange); color: var(--carbon); border: 2px solid var(--orange);
}
.btn:hover { background: var(--carbon); border-color: var(--carbon); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--carbon); border-color: var(--carbon); }
.btn--ghost:hover { background: var(--carbon); color: var(--paper); }
.section--carbon .btn--ghost { color: var(--paper); border-color: var(--paper); }
.section--carbon .btn--ghost:hover { background: var(--paper); color: var(--carbon); }
.section--carbon .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--carbon); }
.btn--small { padding: 11px 16px; font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------ Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--carbon); }
.brand .el { --size: 52px; --bw: 2px; }
.brand-name { font-weight: 850; font-stretch: 110%; font-size: 21px; letter-spacing: -0.02em; line-height: 1; }
.brand-name small { display: block; font-weight: 650; font-stretch: 100%; font-size: 12px; letter-spacing: .12em; color: var(--mark-navy); margin-top: 5px; }
.brand-wordmark { display: block; height: 30px; width: auto; }
@media (max-width: 560px) { .brand-wordmark { height: 25px; } .brand-name small { font-size: 11px; } }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--carbon); text-decoration: none; font-weight: 650; font-size: 16px; padding: 10px 12px; border-radius: 8px; }
.nav a:hover { background: var(--flour); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.nav .btn { margin-left: 8px; padding: 13px 20px; color: var(--carbon); }
.nav .btn:hover { color: var(--paper); background: var(--carbon); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--carbon); border-radius: 10px; width: 46px; height: 42px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--carbon); margin: 4px auto; }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; align-items: stretch; padding: 8px var(--gut) 20px; border-bottom: 1px solid var(--rule); gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--rule); border-radius: 0; font-size: 18px; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--ember); }
  .nav .btn { margin: 14px 0 0; justify-content: center; border-bottom: 0; border-radius: 999px; }
}

.preview-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--carbon); color: var(--paper); font-size: 13px; text-align: center; padding: 6px 12px; }
.flag { display: inline-block; background: #FFF0A8; color: #5C4600; font-size: 12px; font-weight: 700; line-height: 1.4; padding: 1px 7px; border-radius: 4px; vertical-align: middle; letter-spacing: 0; text-transform: none; font-stretch: 100%; }

/* ------------------------------------------------------------ Page header (inner pages) */
.page-head { background: var(--carbon); color: var(--paper); padding: clamp(40px, 6vw, 72px) 0; }
.page-head .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 44px); align-items: center; }
.page-head .el { --size: clamp(104px, 14vw, 156px); }
.page-head h1 { margin: 0 0 .25em; }
.page-head p { color: #C9D6EA; font-size: 19px; max-width: 38em; margin: 0; }
.crumbs { font-size: 14px; color: #A9BEDD; margin-bottom: 10px; }
.crumbs a { color: #A9BEDD; }
@media (max-width: 560px) { .page-head .wrap { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Home hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 7vw, 88px); font-stretch: 112%; margin-bottom: .3em; }
.hero-tag { font-size: clamp(22px, 2.6vw, 30px); font-weight: 760; font-stretch: 108%; color: var(--ember); margin-bottom: .8em; letter-spacing: -0.01em; }
.hero .lede { color: #33456B; margin-bottom: 28px; }
.hero-figure { position: relative; margin: 0; }
.hero-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.hero-figure .el { --size: clamp(120px, 15vw, 190px); position: absolute; left: clamp(-36px, -3vw, -16px); bottom: clamp(-36px, -3vw, -16px); box-shadow: 0 0 0 8px var(--paper); }
.hero-figure--tile { display: flex; justify-content: center; }
.hero-figure--tile .el { position: static; --size: min(80vw, 420px); box-shadow: none; }
.today { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 26px; font-size: 15px; color: var(--ash); }
.today b { color: var(--carbon); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--basil); margin-right: 6px; vertical-align: 1px; }
.dot--closed { background: #A9BEDD; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { order: -1; margin: 0 0 12px 16px; }
  .hero-figure img { aspect-ratio: 4 / 3; }
}

/* ------------------------------------------------------------ The formula */
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(10px, 1.6vw, 18px); }
.formula .el { --size: clamp(118px, 13vw, 156px); }
.formula .op { font-size: clamp(34px, 4vw, 52px); font-weight: 300; color: var(--orange); line-height: 1; }
.formula-note { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px 40px; color: #C9D6EA; font-size: 16px; }
.formula-note b { display: block; color: var(--paper); font-size: 18px; font-weight: 750; margin-bottom: 4px; }
@media (max-width: 560px) { .formula { gap: 8px; } .formula .el { --size: 96px; } .formula .op { font-size: 28px; } }

/* ------------------------------------------------------------ Table of pies (tiles) */
.table-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.table-grid .el { --size: 100%; width: 100%; }
.table-grid .el-s { font-size: clamp(40px, 5vw, 64px); }
.table-grid .el-n, .table-grid .el-name, .table-grid .el-mass { font-size: 14px; }
.table-grid .el-name { font-size: 12.5px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 15px; font-weight: 600; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend .el { --size: 22px; --bw: 2px; padding: 0; border-radius: 5px; }
.legend a { color: var(--carbon); text-decoration: none; }
.legend a:hover { color: var(--ember); }

/* ------------------------------------------------------------ Menu */
.menu-section { padding-top: 12px; margin-bottom: clamp(48px, 6vw, 72px); scroll-margin-top: 96px; }
.menu-section > header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; border-bottom: 3px solid var(--carbon); padding-bottom: 12px; margin-bottom: 24px; }
.menu-section > header h2 { margin: 0; font-size: clamp(28px, 3.4vw, 38px); }
.menu-section > header p { margin: 0; color: var(--ash); }
.specimens { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 22px; }
.specimen { display: flex; flex-direction: column; }
.specimen-media { position: relative; margin-bottom: 16px; }
.specimen-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: var(--flour); }
.specimen-media .el { --size: 64px; position: absolute; left: 10px; top: 10px; }
.specimen-media--tile .el { position: static; --size: 100%; width: 100%; }
.specimen-media--tile .el-s { font-size: clamp(64px, 9vw, 104px); }
.specimen-media--tile .el-n, .specimen-media--tile .el-name, .specimen-media--tile .el-mass { font-size: 15px; }
.specimen h3 { font-size: 21px; margin: 0 0 6px; }
.specimen p { font-size: 15.5px; color: #33456B; margin: 0 0 10px; }
.specimen-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.price small { font-weight: 600; color: var(--ash); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; }
.tag { font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--flour); color: var(--carbon); }
.tag--vegetarian { background: #E6F2E8; color: var(--basil); }
.tag--spicy { background: #DCEBFC; color: var(--ember); }
.tag--new { background: var(--carbon); color: var(--paper); }
.order-link { font-weight: 750; font-size: 15px; text-decoration: none; color: var(--carbon); border-bottom: 2px solid var(--orange); padding-bottom: 1px; }
.order-link:hover { color: var(--ember); }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 40px; }
.price-list li { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.price-list .name { font-weight: 650; }
.price-list .desc { display: block; font-size: 14px; color: var(--ash); font-weight: 400; }
.price-list .leader { flex: 1; border-bottom: 2px dotted #C6D4E8; transform: translateY(-4px); min-width: 20px; }
.note { background: var(--flour); border-radius: var(--r); padding: 14px 18px; font-size: 15px; color: #33456B; margin-bottom: 36px; }

/* ------------------------------------------------------------ Generic grids and cards */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
.split img { width: 100%; border-radius: 22px; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 24px; }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--carbon); }
.card-media { position: relative; margin-bottom: 14px; }
.card-media img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; border-radius: 16px; background: var(--flour); }
.card-media .el { --size: 56px; position: absolute; left: 10px; top: 10px; }
.card h3 { font-size: 22px; margin: 0 0 6px; }
.card p { color: #33456B; font-size: 16px; margin: 0; }
a.card:hover h3 { color: var(--ember); }
.card-meta { font-size: 14px; color: var(--ash); margin-bottom: 4px; }

.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.perk { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border: 2px solid var(--carbon); border-radius: 20px; text-decoration: none; color: var(--carbon); background: var(--paper); }
.perk .el { --size: 72px; }
.perk h3 { font-size: 21px; margin: 2px 0 6px; }
.perk p { font-size: 15.5px; color: #33456B; margin: 0; }
a.perk:hover { border-color: var(--orange); }
a.perk:hover h3 { color: var(--ember); }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.quote { margin: 0; padding: 28px; border-radius: 20px; background: var(--flour); }
.quote p { font-size: 22px; line-height: 1.35; font-weight: 650; font-stretch: 104%; margin-bottom: 14px; }
.quote footer { font-size: 15px; color: var(--ash); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; counter-reset: step; }
.steps li { position: relative; padding: 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--rule); }
.steps .el { --size: 58px; margin-bottom: 14px; }
.steps h3 { font-size: 20px; margin: 0 0 6px; }
.steps p { font-size: 15.5px; color: #33456B; margin: 0; }
.section--carbon .steps li { background: transparent; border-color: #24457F; }
.section--carbon .steps p { color: #C3D3EA; }

.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours th { text-align: left; font-weight: 650; padding: 8px 0; }
.hours td { text-align: right; padding: 8px 0; font-variant-numeric: tabular-nums; }
.hours tr { border-bottom: 1px solid var(--rule); }
.hours tr.is-today { border-color: transparent; }
.hours tr.is-today th, .hours tr.is-today td { background: var(--logo); color: var(--logo-ink); font-weight: 800; }
.hours tr.is-today th { padding-left: 10px; border-radius: 8px 0 0 8px; }
.hours tr.is-today td { padding-right: 10px; border-radius: 0 8px 8px 0; }
.section--carbon .hours tr { border-color: #24457F; }
.facts { display: grid; gap: 22px; }
.facts h3 { font-size: 15px; letter-spacing: 0; font-stretch: 100%; color: var(--ash); font-weight: 650; margin: 0 0 4px; }
.facts p { margin: 0; font-size: 18px; }
.map { width: 100%; height: 100%; min-height: 360px; border: 0; border-radius: 22px; background: var(--flour); }

.list { padding-left: 20px; }
.list li { margin-bottom: 6px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 750; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 26px; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 10px 0 0; color: #33456B; }

/* ------------------------------------------------------------ Forms */
.formbox { background: var(--flour); border-radius: 24px; padding: clamp(22px, 4vw, 36px); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
label { display: block; font-weight: 650; font-size: 15px; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], select, textarea, .form-control {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #C9D7EA; border-radius: 10px; background: var(--paper); color: var(--carbon);
}
input:focus, select:focus, textarea:focus, .form-control:focus { outline: 3px solid rgba(76,155,236,.3); border-color: var(--orange); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 12px 0 0; font-weight: 650; min-height: 1.4em; }

/* ------------------------------------------------------------ Guides */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.filters button { font: inherit; font-weight: 650; font-size: 15px; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--carbon); background: var(--paper); color: var(--carbon); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--carbon); color: var(--paper); }
.is-hidden { display: none !important; }
.article { max-width: 720px; }
.article .lede { margin-bottom: 1.4em; }
.article h3 { margin-top: 1.6em; }
.article ul { padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article-hero { width: 100%; aspect-ratio: 7 / 4; object-fit: cover; border-radius: 22px; margin-bottom: 28px; }
.pair { margin-top: 40px; padding: 28px; border-radius: 22px; background: var(--carbon); color: var(--paper); }
.pair h3 { margin-top: 0; }
.pair p { color: #C9D6EA; }
.pair .btn--ghost { color: var(--paper); border-color: var(--paper); }
.pair .btn--ghost:hover { background: var(--paper); color: var(--carbon); }
.pair .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--carbon); }
.aside { display: grid; gap: 22px; align-content: start; }
.aside-box { border: 1px solid var(--rule); border-radius: 18px; padding: 22px; }
.aside-box h3 { font-size: 19px; }
.aside-box ul { padding-left: 18px; margin: 0; }
.layout-article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); }
@media (max-width: 980px) { .layout-article { grid-template-columns: 1fr; } }

/* Guide body building blocks (also used inside guide text) */
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px 16px; }
.form-group { margin-bottom: 12px; }
.table-responsive { overflow-x: auto; margin: 1em 0 1.4em; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; }
.table thead th { background: var(--carbon); color: var(--paper); font-weight: 700; }
.table thead th:first-child { border-top-left-radius: 10px; }
.table thead th:last-child { border-top-right-radius: 10px; }
.rk-calc { background: var(--flour); border-radius: 24px; padding: clamp(20px, 4vw, 32px); margin: 0 0 32px; }
.rk-calc h3 { margin-top: 0; }
.rk-calc-result { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: center; background: var(--paper); border-radius: 18px; padding: 18px; margin: 8px 0 12px; }
.rk-calc-num { grid-row: span 3; margin: 0; width: 132px; aspect-ratio: 1; border-radius: var(--r-tile); background: var(--orange); display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; font-weight: 860; line-height: 1; font-size: 15px; }
.rk-calc-num #calc-pies { font-size: 60px; letter-spacing: -0.04em; }
.rk-calc-result p { margin: 0; }
.rk-calc-mix { color: #33456B; font-size: 15px; }
.rk-small { font-size: 14px; color: var(--ash); }
.rk-draft { background: #FFF6CC; border-radius: 12px; padding: 14px 18px; }
@media (max-width: 480px) { .rk-calc-result { grid-template-columns: 1fr; } .rk-calc-num { grid-row: auto; } }

/* ------------------------------------------------------------ Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; width: 100%; border-radius: 16px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.lightbox { position: fixed; inset: 0; background: rgba(10,42,102,.92); display: none; align-items: center; justify-content: center; z-index: 90; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 14px; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: var(--orange); border: 0; border-radius: 999px; width: 46px; height: 46px; font-size: 24px; cursor: pointer; color: var(--carbon); }

/* ------------------------------------------------------------ Footer */
.site-foot { background: var(--carbon); color: #C9D6EA; padding: 64px 0 90px; font-size: 16px; }
.site-foot .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 36px; }
.site-foot h2 { font-size: 17px; letter-spacing: 0; font-stretch: 100%; color: var(--paper); margin: 0 0 14px; }
.site-foot a { color: #E4EDF8; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot .el { --size: 96px; margin-bottom: 16px; }
.site-foot .el.el--logo { --size: 150px; }
.site-foot .hours td, .site-foot .hours th { padding: 4px 0; font-size: 15px; }
.site-foot .hours tr { border-color: #24457F; }
.foot-bottom { grid-column: 1 / -1; border-top: 1px solid #24457F; padding-top: 22px; font-size: 14px; color: #93A9CC; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 860px) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-foot .wrap { grid-template-columns: 1fr; } }

.center { text-align: center; }
.mt { margin-top: 32px; }

.big-tile { display: flex; justify-content: center; }
.big-tile .el { --size: min(78vw, 380px); }

.section--carbon .el--outline, .page-head .el--outline, .pair .el--outline { color: var(--paper); }

/* Tiles sitting on a menu photo need a solid face to stay readable */
.specimen-media .el { box-shadow: 0 2px 10px rgba(10, 42, 102, .28); }
.specimen-media .el--outline, .specimen-media .el--paper { background: var(--paper); box-shadow: inset 0 0 0 3px var(--orange), 0 2px 10px rgba(10, 42, 102, .28); }
.specimen-media .el--flour { box-shadow: 0 2px 10px rgba(10, 42, 102, .28); }
.specimen-media:not(.specimen-media--tile) .el-name, .specimen-media:not(.specimen-media--tile) .el-mass { display: none; }

/* Guide card tiles carry their category name so the symbol reads clearly */
.card-media .el { --size: 80px; box-shadow: 0 2px 10px rgba(10, 42, 102, .25); }
.card-media .el-s { font-size: 28px; }
.card-media .el-name { font-size: 8.5px; letter-spacing: .02em; overflow: visible; text-overflow: clip; }
.card-media .el--outline, .card-media .el--paper { background: var(--paper); box-shadow: inset 0 0 0 3px var(--orange), 0 2px 10px rgba(10, 42, 102, .25); }

/* Dark tiles on dark bands get an orange edge so the box shows */
.page-head .el--carbon, .section--carbon .el--carbon, .site-foot .el--carbon { box-shadow: inset 0 0 0 var(--bw, 3px) var(--orange); }
.page-head .el--carbon .el-n, .section--carbon .el--carbon .el-n { color: var(--orange); }

/* Footer social links as element tiles */
.site-foot .social { display: flex; gap: 10px; margin-top: 18px; }
.site-foot .social li { margin: 0; }
.site-foot .social .el { --size: 80px; --bw: 2px; margin: 0; color: var(--paper); }
.site-foot .social .el-s { font-size: 28px; }
.site-foot .social .el-name { font-size: 8.5px; letter-spacing: .02em; overflow: visible; text-overflow: clip; }
.site-foot .social a.el:hover, .site-foot .social a.el:focus-visible { background: var(--orange); }

/* Notes for the Lab only show in preview mode */
.rk-draft { display: none; }
.is-preview .rk-draft { display: block; }

/* Home: signature pies as photo cards with a small element tile */
.pie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px 20px; }
.pie-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.pie-card-media { position: relative; margin-bottom: 12px; }
.pie-card-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: var(--flour); display: block; transition: transform .25s ease; }
.pie-card-media .el { --size: 58px; position: absolute; left: 10px; top: 10px; box-shadow: 0 2px 10px rgba(10, 42, 102, .28); }
.pie-card-media .el-s { font-size: 24px; }
.pie-card h3 { font-size: 19px; margin: 0 0 4px; line-height: 1.2; }
.pie-card p { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 700; font-size: 15px; }
.pie-card-go { color: var(--ember); border-bottom: 2px solid var(--orange); font-size: 14px; }
.pie-card:hover .pie-card-media img { transform: scale(1.02); }
.pie-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 18px; }
@media (max-width: 560px) {
  .pie-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .pie-card-media .el { --size: 46px; left: 8px; top: 8px; }
  .pie-card-media .el-s { font-size: 19px; }
  .pie-card-media .el-n { font-size: 9px; }
  .pie-card h3 { font-size: 16px; }
  .pie-card p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .pie-card-media img { transition: none; } }

/* Home hero on phones: photo, then the two buttons, then the headline, so both buttons sit in the first screen */
@media (max-width: 860px) {
  .hero { padding-top: 20px; }
  .hero .wrap { gap: 0; }
  .hero .wrap > div:first-child { display: contents; }
  .hero-figure { order: 1; margin: 0 0 0 16px; }
  .hero .btns { order: 2; margin: 34px 0 22px; }
  .hero .btns .btn { flex: 1 1 0; justify-content: center; text-align: center; }
  .hero h1 { order: 3; }
  .hero-tag { order: 4; }
  .hero .lede { order: 5; }
  .hero .today { order: 6; margin-top: 4px; }
}
.pie-card p { margin-top: auto; }

/* ------------------------------------------------------------ The Lab wall: blue tile flair, drawn from the tiles behind the oven */
.tile-band { height: 54px; background: var(--wall) repeat-x left top / auto 144px; }
.page-head { position: relative; padding-bottom: calc(clamp(40px, 6vw, 72px) + 36px); }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36px; background: var(--wall) repeat-x left top / auto 144px; }
.site-foot { position: relative; padding-top: calc(64px + 36px); }
.site-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 36px; background: var(--wall) repeat-x left top / auto 144px; }
.hero { position: relative; isolation: isolate; overflow-x: clip; }
.hero-figure::before { content: ""; position: absolute; z-index: -1; top: clamp(-40px, -3vw, -16px); right: clamp(-40px, -3vw, -16px); width: 74%; height: 74%; border-radius: 28px; background: var(--wall) repeat 0 0 / auto 144px; }
.hero-figure--tile::before { display: none; }
@media (max-width: 860px) { .hero-figure::before { top: -14px; right: -14px; width: 60%; height: 60%; border-radius: 20px; } }

/* ------------------------------------------------------------ Order buttons: always the logo orange, always to Toast */
.btn--order, .btn[href*="toast.site/order"] { background: var(--logo); border-color: var(--logo); color: var(--logo-ink); }
.btn--order:hover, .btn[href*="toast.site/order"]:hover { background: var(--carbon); border-color: var(--carbon); color: var(--paper); }
.section--carbon .btn[href*="toast.site/order"]:hover, .site-foot .btn[href*="toast.site/order"]:hover, .pair .btn[href*="toast.site/order"]:hover { background: var(--paper); border-color: var(--paper); color: var(--carbon); }
.nav .btn[href*="toast.site/order"] { color: var(--logo-ink); }

.hero-figure .el.el--logo { box-shadow: inset 0 0 0 calc(var(--size) * .029) var(--mark-blue), inset 0 0 0 calc(var(--size) * .048) var(--paper), inset 0 0 0 calc(var(--size) * .067) var(--mark-navy), 0 0 0 8px var(--paper); }

/* ------------------------------------------------------------ The dough laboratory film (home, above the formula) */
.lab-film { background: var(--carbon); }
.lab-film-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 84vh; overflow: hidden; background: var(--carbon); }
.lab-film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.lab-film-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(10, 42, 102, .85) 0%, rgba(10, 42, 102, .35) 30%, rgba(10, 42, 102, 0) 55%); }
.lab-film-cap { position: absolute; z-index: 2; left: max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))); right: var(--gut); bottom: clamp(18px, 4.5vw, 56px);
  display: flex; align-items: center; gap: clamp(12px, 2vw, 22px); opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.lab-film-cap.is-on { opacity: 1; transform: none; }
.lab-film-cap .el { --size: clamp(52px, 7.5vw, 104px); flex: none; }
.lab-film-cap .el.el--logo { --size: clamp(64px, 10vw, 140px); }
.lab-film-cap p { margin: 0; color: var(--paper); font-weight: 820; font-stretch: 108%; font-size: clamp(20px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; text-shadow: 0 2px 18px rgba(10, 42, 102, .55); }
.lab-film-toggle { position: absolute; z-index: 3; right: max(12px, env(safe-area-inset-right, 0px)); top: 12px; width: 40px; height: 40px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .85); background: rgba(10, 42, 102, .45); cursor: pointer; display: grid; place-items: center; }
.lab-film-toggle span { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.lab-film-toggle.is-paused span { width: 0; height: 0; border: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.lab-film-toggle:focus-visible { outline: 3px solid var(--logo); outline-offset: 3px; }

/* ------------------------------------------------------------ Google reviews: chip in the hero, carousel near the bottom */
.stars { display: inline-flex; gap: 2px; color: var(--logo); line-height: 0; }
.stars svg { fill: currentColor; }
.rating-chip { display: inline-flex; flex-direction: column; gap: 6px; margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--flour); border: 1px solid var(--rule); text-decoration: none; color: var(--carbon); max-width: 34rem; }
.rating-chip:hover { border-color: var(--ember); color: var(--carbon); }
.rating-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 15px; }
.rating-top b { font-size: 18px; font-weight: 820; }
.rating-top > span:last-child { color: var(--ash); }
.rating-quotes { display: grid; font-size: 15px; line-height: 1.35; }
.rating-quotes .rq { grid-area: 1 / 1; opacity: 0; transition: opacity .5s ease; }
.rating-quotes .rq.is-on { opacity: 1; }
.rating-quotes em { font-style: normal; font-weight: 700; color: var(--ash); white-space: nowrap; }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(20px, 3vw, 32px); }
.reviews-head .section-head { margin-bottom: 0; }
.reviews-score { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--carbon) !important; font-size: 18px; margin: 0; }
.reviews-score b { font-size: 22px; }
.reviews-nav { display: flex; gap: 10px; flex: none; }
.rv-btn { width: 48px; height: 48px; border-radius: 999px; border: 2px solid var(--carbon); background: var(--paper); color: var(--carbon); font-size: 20px; cursor: pointer; }
.rv-btn:hover { background: var(--carbon); color: var(--paper); }
.rv-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: thin; }
.rv-track:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 12px; }
.rv { scroll-snap-align: start; margin: 0; padding: 26px; border-radius: 20px; background: var(--paper); border: 1px solid var(--rule); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rv-text p { margin: 0; font-size: 17px; line-height: 1.55; }
.rv-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.rv.is-open .rv-text { display: block; -webkit-line-clamp: unset; }
.rv-more { align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-size: 15px; font-weight: 750; color: var(--ember); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rv footer { margin-top: auto; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.rv footer span { color: var(--ash); font-size: 14px; }
.reviews-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 22px 0 0; font-weight: 700; }
@media (max-width: 980px) { .rv-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .rv-track { grid-auto-columns: 86%; gap: 14px; } .reviews-head { align-items: flex-start; } .reviews-nav { display: none; } }
.rating-chip--mobile { display: none; }
.rating-chip--float { position: absolute; top: clamp(16px, 3vw, 32px); right: clamp(-28px, -2vw, -12px); max-width: min(330px, 80%); background: var(--paper); border: 0; box-shadow: 0 10px 30px rgba(10, 42, 102, .22); }
@media (max-width: 860px) {
  .rating-chip--float { display: none; }
  .hero .rating-chip--mobile { display: inline-flex; order: 2; margin: -10px 0 20px; }
}
