/* bluebird: an example café website by Lightplan. Premium, but relaxed. */
:root {
  --paper: #FAF9F6;
  --stone: #EFEDE7;
  --ink: #161616;
  --soft: #5E5D58;
  --line: rgb(22 22 22 / 0.13);
  --blue: #2E4A7D;
  --blue-dk: #233A63;
  --on-blue: #F1F3F7;
  --on-blue-soft: #B7C3D9;

  --serif: "Young Serif", Georgia, serif;
  --sans: "Geist", system-ui, sans-serif;

  --gutter: clamp(1.25rem, 4.4vw, 4rem);
  --maxw: 90rem;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: clamp(1rem, 0.97rem + 0.15vw, 1.08rem); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: 0.24em; text-decoration-thickness: 1px; }
::selection { background: var(--blue); color: var(--on-blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 5.4rem); line-height: 1; letter-spacing: -0.025em; text-wrap: balance; }
.lead { margin: 0; font-size: clamp(1.08rem, 1rem + 0.35vw, 1.28rem); line-height: 1.55; color: var(--soft); text-wrap: pretty; max-width: 40ch; }
.kicker { margin: 0; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.small { font-size: 0.9rem; color: var(--soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px;
  border: 0; border-radius: 3px; background: var(--ink); color: var(--paper); cursor: pointer;
  font-weight: 500; font-size: 0.98rem; text-decoration: none; white-space: nowrap;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--light { background: var(--paper); color: var(--blue); }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.textlink { padding: 0; border: 0; background: none; cursor: pointer; color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1.5px; }
.textlink::after { content: " \2192"; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--blue); }
  .btn--light:hover { background: #fff; color: var(--blue-dk); }
  .textlink:hover { color: var(--blue-dk); }
}

/* the honesty strip */
.note {
  margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px;
  padding: 9px var(--gutter); background: var(--stone); color: var(--soft);
  font-size: 0.84rem; line-height: 1.4; text-align: center;
}
.note a { color: var(--ink); font-weight: 500; }
.note__back { white-space: nowrap; }

/* header */
.top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px;
  height: 64px; padding-inline: var(--gutter); background: var(--paper);
  border-bottom: 1px solid transparent; transition: border-color 240ms var(--ease);
}
.top.is-compact { border-color: var(--line); }
.top__home { position: relative; display: grid; align-items: center; height: 100%; min-width: 0; text-decoration: none; }
.top__info, .top__word { grid-area: 1 / 1; transition: opacity 260ms var(--ease), transform 260ms var(--ease); }
.top__info { font-size: 0.9rem; color: var(--soft); white-space: nowrap; }
.top__info.is-open::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #3F8A5A; vertical-align: 1px; }
.top__word { font-family: var(--serif); font-size: 1.6rem; letter-spacing: -0.03em; opacity: 0; transform: translateY(8px); }
.top.is-compact .top__info { opacity: 0; transform: translateY(-8px); }
.top.is-compact .top__word { opacity: 1; transform: none; }
.top__nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 0.95rem; }
.top__nav a { text-decoration: none; }
.top__nav a:hover { text-decoration: underline; }
.top__order { height: 40px; padding: 0 18px; border: 0; border-radius: 3px; background: var(--blue); color: var(--on-blue); cursor: pointer; font-weight: 500; transition: background-color 160ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .top__order:hover { background: var(--blue-dk); } }
.top__burger { display: none; margin-left: auto; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 3px; background: transparent; cursor: pointer; font-weight: 500; }

/* masthead */
.mast { padding: clamp(0.5rem, 2vh, 1.5rem) var(--gutter) 0; }
.mast__word { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 23.6vw; line-height: 0.78; letter-spacing: -0.055em; white-space: nowrap; }
.mast__letters { display: block; overflow: hidden; padding: 0.04em 0 0.06em; margin-left: -0.03em; }
.mast__letters > span { display: inline-block; animation: up 1000ms var(--ease) both; }
.mast__letters > span:nth-child(2) { animation-delay: 40ms; } .mast__letters > span:nth-child(3) { animation-delay: 80ms; }
.mast__letters > span:nth-child(4) { animation-delay: 120ms; } .mast__letters > span:nth-child(5) { animation-delay: 160ms; }
.mast__letters > span:nth-child(6) { animation-delay: 200ms; } .mast__letters > span:nth-child(7) { animation-delay: 240ms; }
.mast__letters > span:nth-child(8) { animation-delay: 280ms; }
@keyframes up { from { transform: translateY(105%); } to { transform: none; } }
.mast__meta {
  display: flex; justify-content: space-between; align-items: end; gap: 2rem;
  padding: clamp(14px, 2.4vh, 24px) 0 clamp(18px, 3vh, 30px); animation: fade 900ms var(--ease) both 350ms;
}
.mast__meta p { margin: 0; color: var(--soft); font-size: 0.95rem; line-height: 1.45; }
.mast__meta .mast__line { max-width: 30ch; font-family: var(--serif); font-size: clamp(1.15rem, 0.9rem + 0.8vw, 1.6rem); line-height: 1.25; color: var(--ink); text-align: right; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* hero photo: starts inside the margins, opens to full width as you scroll */
.hero {
  --t: 0;
  position: relative; margin: 0; height: min(86vh, 58vw); overflow: hidden; background: var(--stone);
  clip-path: inset(0 calc(var(--gutter) * (1 - var(--t))) round calc(4px * (1 - var(--t))));
  animation: rise 1200ms var(--ease) both 200ms;
}
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(calc(1.08 - var(--t) * 0.06)); transform-origin: 50% 40%; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* labels that say what the images are */
.ai {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 5px 8px 4px; border-radius: 3px;
  background: rgb(18 18 18 / 0.58); color: #fff; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
  pointer-events: none;
}

/* reveals */
.rv { opacity: 0; transform: translateY(16px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-img { clip-path: inset(14% 0 0 0); opacity: 0.001; transition: clip-path 1100ms var(--ease-io), opacity 500ms var(--ease); }
.rv-img.is-in { clip-path: inset(0 0 0 0); opacity: 1; }

/* intro */
.intro {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem var(--gutter);
  max-width: var(--maxw); margin: 0 auto; padding: clamp(6rem, 12vw, 11rem) var(--gutter) clamp(4rem, 8vw, 7rem);
}
.intro .kicker { grid-column: 1 / span 3; padding-top: 0.9em; }
.intro__big { grid-column: 4 / span 8; margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 1rem + 2.1vw, 3rem); line-height: 1.2; letter-spacing: -0.015em; text-wrap: pretty; }
.intro__sign { grid-column: 4 / span 8; margin: 1rem 0 0; display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: clamp(1.2rem, 1rem + 0.6vw, 1.6rem); color: var(--blue); }
.intro__sign svg { width: 34px; height: 34px; color: var(--blue); --wing: var(--paper); }

/* duo */
.duo { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(6rem, 12vw, 11rem); align-items: start; }
.duo figure { position: relative; margin: 0; }
.duo img { width: 100%; height: auto; border-radius: 3px; }
.duo .ai { bottom: auto; top: 12px; }
.duo figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--soft); }
.duo__a { grid-column: 2 / span 5; margin-top: clamp(4rem, 12vw, 12rem) !important; }
.duo__b { grid-column: 8 / span 5; }

/* menu */
.menu { background: var(--blue); color: var(--on-blue); padding-block: clamp(5rem, 10vw, 9rem); }
.menu ::selection { background: var(--on-blue); color: var(--blue); }
.menu__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(3rem, 6vw, 5rem); }
.menu__head p { margin: 0; color: var(--on-blue-soft); max-width: 34ch; }
.menu__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2.5rem, 4.5vw, 5rem); align-items: start; }
.menu h3 { margin: 0 0 6px; padding-bottom: 14px; border-bottom: 1px solid rgb(241 243 247 / 0.32); font-family: var(--serif); font-weight: 400; font-size: 1.7rem; letter-spacing: -0.015em; }
.menu dl + h3 { margin-top: 3rem; }
.menu dl { margin: 0; }
.menu dl > div { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding: 13px 0; border-bottom: 1px solid rgb(241 243 247 / 0.13); }
.menu dt { font-weight: 500; }
.menu dd { margin: 0; font-variant-numeric: tabular-nums; }
.menu dl p { grid-column: 1 / -1; margin: 2px 0 0; font-size: 0.9rem; color: var(--on-blue-soft); }
.menu__foot { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; flex-wrap: wrap; margin-top: clamp(3rem, 5vw, 4.5rem); padding-top: 2rem; border-top: 1px solid rgb(241 243 247 / 0.32); }
.menu__foot p { margin: 0; color: var(--on-blue-soft); max-width: 52ch; }

/* oven */
.oven {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 8rem); align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: clamp(6rem, 12vw, 11rem) var(--gutter);
}
.oven__photo { position: relative; margin: 0; }
.oven__photo img { width: 100%; height: auto; border-radius: 3px; }
.oven__copy { display: grid; gap: 26px; justify-items: start; }
.oven .h2 { max-width: 11ch; }
.times { list-style: none; margin: 6px 0; padding: 0; width: 100%; max-width: 30rem; }
.times li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 12px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--line); }
.times li:last-child { border-bottom: 1px solid var(--line); }
.times time { font-family: var(--serif); font-size: 1.3rem; color: var(--blue); font-variant-numeric: tabular-nums; }

/* dogs */
.dogs { padding-bottom: clamp(6rem, 12vw, 11rem); }
.dogs__photo { position: relative; margin: 0; height: min(88vh, 56vw); overflow: hidden; }
.dogs__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(calc(1.1 - var(--t, 0) * 0.1)); }
.dogs__line { margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding-inline: var(--gutter); max-width: 22ch; text-align: center; font-family: var(--serif); font-size: clamp(2rem, 1.2rem + 3vw, 4.2rem); line-height: 1.05; letter-spacing: -0.02em; }
.dogs__line span { color: var(--blue); }

/* visit */
.visit { background: var(--stone); padding-block: clamp(5rem, 10vw, 9rem); }
.visit__photo { position: relative; margin: clamp(2.5rem, 5vw, 4rem) 0 0; aspect-ratio: 16 / 7.5; overflow: hidden; border-radius: 3px; }
.visit__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.visit__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.visit__cols > div { display: grid; gap: 12px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.visit h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.55rem; letter-spacing: -0.015em; }
.visit p { margin: 0; }
.phone { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 0.9vw, 2.2rem); line-height: 1.1; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 400; text-align: left; }
.hours td { text-align: right; white-space: nowrap; padding-left: 12px; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--blue); font-weight: 600; }
.hours tr.is-today th::after { content: "today"; margin-left: 8px; font-family: var(--serif); font-weight: 400; font-size: 0.85rem; }

/* footer */
.ft { background: var(--ink); color: #D8D6D0; padding: clamp(4rem, 8vw, 7rem) 0 2.5rem; overflow: hidden; }
.ft__word { margin: 0 0 clamp(2rem, 4vw, 3rem); font-family: var(--serif); font-size: 23.6vw; line-height: 0.78; letter-spacing: -0.055em; color: var(--paper); white-space: nowrap; margin-left: -0.03em; }
.ft__row { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.16); font-size: 0.92rem; }
.ft__row p { margin: 0; }
.ft__made { justify-self: end; max-width: 44ch; text-align: right; color: #B9B6AE; }
.ft a { color: #fff; }

/* order drawer */
.order {
  width: min(440px, 100vw); height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0;
  background: var(--paper); color: var(--ink); box-shadow: -24px 0 70px -20px rgb(0 0 0 / 0.4);
}
.order[open] { animation: drawer 460ms var(--ease) both; }
.order::backdrop { background: rgb(22 22 22 / 0.4); animation: shade 300ms ease both; }
@keyframes drawer { from { transform: translateX(48px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes shade { from { opacity: 0; } to { opacity: 1; } }
.order__form { display: flex; flex-direction: column; height: 100%; }
.order__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.order__head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 2rem; letter-spacing: -0.02em; }
.order__x { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 3px; background: transparent; cursor: pointer; display: grid; place-items: center; }
.order__x svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; }
.order__body { flex: 1; overflow-y: auto; padding: 16px 24px 24px; }
.order__intro { margin: 0 0 8px; color: var(--soft); }
.pick { list-style: none; margin: 0; padding: 0; }
.pick li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.pick__n { font-weight: 500; }
.pick__p { grid-row: 2; font-size: 0.9rem; color: var(--soft); font-variant-numeric: tabular-nums; }
.qty { grid-row: 1 / span 2; grid-column: 2; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 3px; }
.qty button { width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer; font-size: 1.1rem; }
@media (hover: hover) and (pointer: fine) { .qty button:hover { background: var(--stone); } }
.qty output { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; }
.order__fields { display: grid; gap: 14px; margin-top: 22px; }
.order__fields label { display: grid; gap: 6px; font-size: 0.86rem; color: var(--soft); }
.order__fields input, .order__fields select { height: 46px; padding: 0 12px; border: 1px solid rgb(22 22 22 / 0.22); border-radius: 3px; background: #fff; color: var(--ink); font-size: 1rem; }
.order__fields input:focus, .order__fields select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgb(46 74 125 / 0.18); }
.order__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px 24px; border-top: 1px solid var(--line); }
.order__total { margin: 0; }
.order__total output { margin-left: 6px; font-family: var(--serif); font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.order__done { flex: 1; display: grid; align-content: center; justify-items: start; gap: 16px; padding: 24px 28px; }
.order__done h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; letter-spacing: -0.02em; }
.order__done p { margin: 0; color: var(--soft); }
.order__bird { width: 56px; height: 56px; color: var(--blue); --wing: var(--paper); }

/* responsive */
@media (max-width: 960px) {
  .top__nav { gap: 20px; }
}
@media (max-width: 760px) {
  .top { height: 58px; }
  .ft__word { font-size: 23vw; }
  .top__burger { display: inline-flex; align-items: center; }
  .top__nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px var(--gutter) 20px; background: var(--paper); border-bottom: 1px solid var(--line); font-size: 1.2rem;
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s linear 200ms;
  }
  .top__nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .top__nav .top__order { margin-top: 16px; height: 48px; font-size: 1rem; }
  .top__nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .mast__word { font-size: 23vw; }
  .mast__meta { flex-direction: column; align-items: start; gap: 12px; }
  .mast__meta .mast__line { text-align: left; }
  .hero { height: auto; aspect-ratio: 4 / 5; }
  .intro { grid-template-columns: 1fr; }
  .intro .kicker, .intro__big, .intro__sign { grid-column: 1; }
  .duo { grid-template-columns: 1fr; gap: 3rem; }
  .duo__a, .duo__b { grid-column: 1; }
  .duo__a { margin-top: 0 !important; width: 82%; }
  .duo__b { width: 82%; justify-self: end; }
  .menu__cols { grid-template-columns: 1fr; }
  .oven { grid-template-columns: 1fr; }
  .dogs__photo { height: auto; aspect-ratio: 4 / 3.4; }
  .visit__photo { aspect-ratio: 4 / 3; }
  .visit__cols { grid-template-columns: 1fr; }
  .ft__row { grid-template-columns: 1fr 1fr; }
  .ft__made { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .order { width: 100vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0s !important; }
  .rv { transform: none; transition: opacity 300ms ease; }
  .rv-img { clip-path: none; transition: opacity 300ms ease; }
  .hero, .dogs__photo { --t: 1 !important; }
  .hero img, .dogs__photo img { transform: none !important; }
}
