/* Rugbrød & Co. — page layer over tokens.css + fenzo.css + palette.css + type.css. Tokens only. */

/* ── Header D: espresso strip over the paper bar ── */
.rb-head { border-bottom: 1px solid var(--line-2); }
.rb-head .v-strip { background: var(--band); }
.rb-head__bar { padding-bottom: 18px; }
.rb-head .logo span { color: var(--text); }
.rb-head .nav > a { color: var(--text); }

/* ── Hero C ── */
.rb-hero { padding-top: 72px; }
.rb-hero__in { grid-template-columns: 1.08fr .92fr; gap: 88px; align-items: center; }
.rb-hero__title { font-size: clamp(44px, 5.4vw, 78px); line-height: 1.04; text-wrap: balance; color: var(--text); }
.rb-hero__copy { gap: 30px; }
.rb-hero__copy .t-lead { max-width: 500px; }
.rb-hero__proof { display: inline-flex; align-items: center; gap: 12px; font: 600 16px/1.52 var(--font); color: var(--text-2); }
.rb-hero__proof .stars .ic { width: 18px; height: 18px; }
.rb-hero__media { position: relative; }
.rb-hero__media > img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* hand-drawn doodles, heading ink */
.rb-doodle { position: absolute; color: var(--text); pointer-events: none; z-index: 1; }
.rb-doodle--whisk { left: -86px; bottom: -64px; width: 118px; height: auto; transform: rotate(-24deg); }
.rb-doodle--bun { right: max(-40px, calc(50% - 760px)); top: -36px; width: 170px; height: auto; transform: rotate(18deg); }

/* ── Today's bakes stage */
.rb-stage .stage__title { max-width: 820px; }
/*: price card text stays ink, prices in the brand brown ── */
.rb-stage .dish .t-h3 { color: var(--text); }

/* ── The morning, hour by hour ── */
.rb-clock { position: relative; margin-top: var(--section); overflow-x: clip; }
.rb-clock__in { display: grid; grid-template-columns: 1fr 1fr; gap: 104px; align-items: start; }
.rb-clock__media { position: relative; padding-bottom: 180px; }
.rb-clock__big { width: 78%; aspect-ratio: 4 / 5; object-fit: cover; }
.rb-clock__small { position: absolute; right: 0; bottom: 0; width: 64%; aspect-ratio: 3 / 2; object-fit: cover; border: 12px solid var(--bg); border-right: 0; border-bottom: 0; }
.rb-clock__copy { display: grid; justify-items: start; gap: 28px; padding-top: 8px; }
.rb-clock__copy .t-eyebrow { color: var(--text); }
.rb-clock__copy .vrule { height: 64px; }
.rb-clock__copy .t-h2 { max-width: 620px; color: var(--text); }
.rb-clock__copy .t-lead { max-width: 500px; }
.rb-times { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; display: grid; }
.rb-times li { display: grid; grid-template-columns: 112px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line-2); }
.rb-times li:last-child { border-bottom: 1px solid var(--line-2); }
.rb-times__at { font: 400 28px/1.2 var(--font-display); color: var(--accent); }
.rb-times .t-h4 { color: var(--text); font-size: clamp(20px, 1.6vw, 24px); }
.rb-times p { margin-top: 6px; font: 400 16px/1.52 var(--font); color: var(--text-2); max-width: 34em; }

/* ── Regulars' order pads on the caramel band ── */
.rb-pads { margin-top: var(--section); padding-block: var(--section); background: var(--band-2); }
.rb-pads__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: var(--head-gap); }
.rb-pads__head .t-h2 { color: var(--on-dark); max-width: 820px; }
.rb-pads__score { display: flex; align-items: center; gap: 18px; color: var(--on-dark); font: 400 16px/1.45 var(--font); }
.rb-pads__num { font: 400 64px/1 var(--font-display); }
.rb-pads__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--card-gap); align-items: start; }
.rb-pad { position: relative; margin: 0; padding: 40px 32px 32px 56px; background: var(--surface); display: grid; gap: 18px; }
.rb-pad:nth-child(2) { margin-top: 56px; }
.rb-pad::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 14px; background: radial-gradient(circle at 8px 7px, var(--band-2) 5.5px, transparent 6px) 0 0 / 18px 14px repeat-x; }
.rb-pad::after { content: ""; position: absolute; left: 36px; top: 0; bottom: 0; width: 1px; background: var(--accent); opacity: .5; }
.rb-pad__top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); font: 600 14px/1.5 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.rb-pad__line { font: 400 16px/1.52 var(--font); color: var(--text-2); }
.rb-pad__quote { margin: 0; font: 400 24px/1.3 var(--font-display); text-transform: uppercase; color: var(--text); text-wrap: balance; }
.rb-pad__name { font: 600 16px/1.52 var(--font); color: var(--accent); }

/* ── Weekend cakes ── */
.rb-cakes { margin-top: var(--section); }
.rb-cakes__in { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.rb-cakes__copy { display: grid; gap: 28px; }
.rb-cakes__copy .t-h2 { color: var(--text); max-width: 620px; }
.rb-cakes__copy .t-lead { max-width: 500px; }
.rb-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 24px; }
.rb-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: start; }
.rb-steps__n { display: grid; place-items: center; width: 48px; height: 48px; background: var(--band); color: var(--on-dark); font: 400 22px/1 var(--font-display); }
.rb-steps__t { font: 400 20px/1.3 var(--font-display); text-transform: uppercase; color: var(--text); text-wrap: balance; }
.rb-steps p { margin-top: 2px; font: 400 16px/1.52 var(--font); color: var(--text-2); }
.rb-slip { position: relative; padding: 40px; background: var(--surface); display: grid; gap: 28px; }
.rb-slip__title { font: 400 28px/1.2 var(--font-display); text-transform: uppercase; color: var(--text); text-align: center; padding-bottom: 20px; border-bottom: 1px dashed var(--line); }
.rb-slip__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.rb-slip__list li { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 22px; background: url(assets/art/rule-hand.svg) left bottom / 100% 2px no-repeat; }
.rb-slip__list .t-h4 { color: var(--text); }
.rb-slip__list p { margin-top: 8px; font: 400 16px/1.52 var(--font); color: var(--text-2); max-width: 30em; }
.rb-slip__note { text-align: center; font: 400 14px/1.5 var(--font); color: var(--text-2); }

/* ── Visit ── */
.rb-visit { margin-top: var(--section); }
.rb-visit__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 104px; align-items: center; }
.rb-visit__media { position: relative; padding-bottom: 96px; }
.rb-visit__big { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rb-visit__small { position: absolute; right: -44px; bottom: 0; width: 34%; aspect-ratio: 3 / 4; object-fit: cover; border: 12px solid var(--bg); }
.rb-visit__copy { display: grid; gap: 28px; }
.rb-visit__copy .t-h2 { color: var(--text); max-width: 620px; }
.rb-visit__copy .t-lead { max-width: 480px; }
.rb-box { display: grid; gap: 20px; justify-items: start; padding: 32px; border: 1px solid var(--line); }
.rb-box__addr { font: 400 28px/1.3 var(--font-display); text-transform: uppercase; color: var(--text); text-wrap: balance; }
.rb-hours { margin: 0; width: 100%; display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.rb-hours div { display: flex; justify-content: space-between; gap: 16px; font: 400 16px/1.52 var(--font); color: var(--text-2); }
.rb-hours dd { margin: 0; font-weight: 600; color: var(--text); }
.rb-box__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.rb-box__links a { display: inline-flex; align-items: center; gap: 8px; font: 400 16px/1.52 var(--font); color: var(--text-2); transition: color .3s var(--ease); }
.rb-box__links a:hover { color: var(--text); }
.rb-box__links .ic { width: 18px; height: 18px; color: var(--accent); }

/* ── Gallery B ── */
.rb-gal { margin-top: var(--section); }
.rb-gal .t-h2 { color: var(--text); max-width: 620px; }

/* ── CTA B on the espresso band ── */
.rb-cta { margin-top: var(--section); padding-block: var(--section); }
.rb-cta .v-ctaB__sq { width: 300px; }

/* ── Footer D ── */
.rb-foot { padding-top: 72px; }

@media (max-width: 1200px) {
  .rb-hero__in, .rb-clock__in, .rb-cakes__in, .rb-visit__in { gap: 56px; }
  .rb-doodle--bun { display: none; }
}
@media (max-width: 900px) {
  .rb-hero { padding-top: 40px; }
  .rb-hero__in, .rb-clock__in, .rb-cakes__in, .rb-visit__in { grid-template-columns: 1fr; }
  .rb-doodle--whisk { display: none; }
  .rb-clock__media { padding-bottom: 80px; }
  .rb-pads__head { flex-direction: column; align-items: flex-start; }
  .rb-pads__grid { grid-template-columns: 1fr; gap: 32px; }
  .rb-pad:nth-child(2) { margin-top: 0; }
  .rb-visit__small { right: 0; }
}
@media (max-width: 760px) {
  .rb-times li { grid-template-columns: 80px 1fr; gap: 16px; }
  .rb-times__at { font-size: 22px; }
  .rb-pad { padding: 36px 22px 28px 44px; }
  .rb-pad::after { left: 28px; }
  .rb-pad__quote { font-size: 21px; }
  .rb-slip { padding: 28px 22px; }
  .rb-box { padding: 24px; }
  .rb-box__addr { font-size: 22px; }
  .rb-pads__num { font-size: 48px; }
  .rb-cta .v-ctaB__sq { width: 160px; }

  .rb-clock__media, .rb-visit__media { padding-bottom: 64px; }
}
