/* Shotday's search pages (scripts/seo.mjs): the website's warm white, ink and one orange. Plates are the pictures. */
:root { --paper: #f5f3ef; --ink: #0d0e11; --ink2: #5d6068; --or: #ff5a1f; --orsoft: #ffe9df; --card: #fff;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace; --ease: cubic-bezier(.2,.8,.2,1);
  --shadow: 0 1px 2px rgba(13,14,17,.04), 0 10px 30px rgba(60,40,20,.08);
  --lift: 0 2px 4px rgba(13,14,17,.05), 0 18px 40px rgba(60,40,20,.14); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }

.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; height: 64px;
  padding: env(safe-area-inset-top) max(20px, calc((100% - 840px) / 2)) 0; background: rgba(245,243,239,.84);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.nav .btn { margin-left: auto; }
.word { display: inline-flex; align-items: center; gap: 9px; font-weight: 850; font-size: 22px; letter-spacing: -.055em; text-decoration: none; }
.word img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 4px 10px rgba(255,90,31,.25); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 54px; padding: 0 24px; border-radius: 14px;
  font-weight: 700; font-size: 16px; letter-spacing: -.01em; text-decoration: none; transition: transform 160ms var(--ease), background .2s; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn.ink { background: var(--ink); color: #fff; }
.btn.ink:hover { background: #24262c; }
.btn.white { background: #fff; color: var(--ink); }
.btn.small { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }

main { max-width: 840px; margin: 0 auto; padding: 14px 20px 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font: 500 12px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs i { font-style: normal; opacity: .5; }
h1 { font-weight: 800; font-size: clamp(40px, 8.5vw, 62px); line-height: .98; letter-spacing: -.05em; margin: 20px 0 10px; max-width: 720px; }
h2 { font-weight: 800; font-size: 28px; letter-spacing: -.04em; margin: 46px 0 14px; }
.lede { font-size: 20px; line-height: 1.5; color: #2c2e33; margin: 18px 0 0; max-width: 660px; }
.body { margin: 0; max-width: 660px; color: #2c2e33; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.meta span { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); background: var(--card); padding: 9px 12px; border-radius: 999px; box-shadow: var(--shadow); }
.meta .soft { background: var(--orsoft); color: #b23a0c; box-shadow: none; }

.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin: 34px 0 8px; padding: 24px; border-radius: 24px; background: var(--or); color: #fff; box-shadow: 0 18px 40px rgba(255,90,31,.28); }
.cta p { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; max-width: 540px; }

/* the photo is the box */
.hero { position: relative; margin: 22px 0 0; max-width: 460px; aspect-ratio: 1; border-radius: 24px; overflow: hidden; box-shadow: var(--lift); }
.hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.g { position: absolute; right: 12px; bottom: 12px; font: 600 15px/1 var(--mono); color: #fff; background: var(--or); padding: 10px 13px 11px; border-radius: 999px; box-shadow: 0 6px 16px rgba(255,90,31,.35); }
.hero .g { font-size: 17px; right: 16px; bottom: 16px; }

.ing { list-style: none; margin: 0; padding: 6px 20px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); max-width: 660px; }
.ing li { padding: 12px 0; display: flex; gap: 12px; align-items: baseline; }
.ing li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--or); transform: translateY(-2px); }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 660px; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; }
.steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 14px/1 var(--mono); margin-top: -3px; }

.grid { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.meal { display: flex; flex-direction: column; position: relative; text-decoration: none; }
.meal img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); background: #ece8e1; transition: transform .35s var(--ease), box-shadow .35s; }
.meal:hover img { transform: translateY(-3px) scale(1.01); box-shadow: var(--lift); }
.meal:active img { transform: scale(.98); }
.meal .g { top: 10px; bottom: auto; right: 10px; font-size: 13px; padding: 8px 10px 9px; }
.meal strong { margin-top: 10px; font-size: 16.5px; font-weight: 750; letter-spacing: -.02em; line-height: 1.25; }
.meal small { margin-top: 3px; font-size: 13.5px; color: var(--ink2); }

.week { display: grid; gap: 14px; margin-top: 26px; }
.day { padding: 18px 18px 10px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.day header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.day header strong { font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.day header span { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); background: var(--paper); padding: 7px 9px; border-radius: 999px; }
.day.shot header span { background: var(--or); color: #fff; }
.day.gentle header span { background: var(--orsoft); color: #b23a0c; }
.day header b { margin-left: auto; font: 600 16px/1 var(--mono); }
.day ul { list-style: none; margin: 0; padding: 0; }
.day a { display: flex; align-items: center; gap: 12px; padding: 8px 0; text-decoration: none; }
.day img { flex: none; width: 52px; height: 52px; border-radius: 14px; object-fit: cover; transition: transform .25s var(--ease); }
.day a:hover img { transform: scale(1.06); }
.day a span { display: flex; flex-direction: column; min-width: 0; font-weight: 650; letter-spacing: -.01em; line-height: 1.25; }
.day a small { font: 500 11px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink2); }
.day em { margin-left: auto; font-style: normal; font: 600 14px/1 var(--mono); color: var(--or); }
@media (min-width: 720px) { .week { grid-template-columns: 1fr 1fr; } }

.calc { margin: 28px 0 0; padding: 22px; border-radius: 24px; background: var(--card); box-shadow: var(--lift); max-width: 520px; }
.calc label { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.calc .row { display: flex; gap: 10px; margin-top: 10px; }
.calc input { flex: 1; min-width: 0; height: 56px; padding: 0 18px; border: 0; border-radius: 14px; background: var(--paper); font: 600 24px/1 var(--mono); color: var(--ink); outline: none; transition: box-shadow .2s; }
.calc input:focus { box-shadow: 0 0 0 3px var(--orsoft), 0 0 0 5px var(--or); }
.unit { display: flex; padding: 4px; border-radius: 14px; background: var(--paper); }
.unit button { width: 52px; border: 0; border-radius: 10px; background: none; font: 600 15px/1 var(--mono); color: var(--ink2); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.unit button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.out { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 0; }
.out b { display: inline-block; font: 600 64px/1 var(--mono); letter-spacing: -.04em; color: var(--or); }
.out span { font-weight: 700; letter-spacing: -.02em; }
.per { margin: 6px 0 0; color: var(--ink2); font-size: 15px; }
.table { list-style: none; margin: 0; padding: 6px 20px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); max-width: 520px; }
.table li { display: flex; align-items: baseline; padding: 11px 0; }
.table small { color: var(--ink2); margin-left: 6px; }
.table b { margin-left: auto; font: 600 16px/1 var(--mono); }

.chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); font-size: 14.5px; font-weight: 650; text-decoration: none; transition: transform 160ms var(--ease), background .2s; }
.chips a:hover { background: var(--orsoft); }
.chips a:active { transform: scale(.97); }

.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; max-width: 840px; margin: 30px auto 0; padding: 34px 20px calc(30px + env(safe-area-inset-bottom)); }
.foot div { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.foot div a { font-size: 14.5px; color: var(--ink2); text-decoration: none; }
.foot div a:hover { color: var(--ink); }
.foot small { flex-basis: 100%; font-size: 13px; color: var(--ink2); }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes plate { from { opacity: 0; transform: scale(.92) rotate(-3deg); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .crumbs, h1, .meta, .lede, .calc { animation: rise .7s var(--ease) both; }
  h1 { animation-delay: .05s; } .meta { animation-delay: .12s; } .lede { animation-delay: .16s; } .calc { animation-delay: .22s; }
  .hero { animation: plate .8s var(--ease) .08s both; }
  @supports (animation-timeline: view()) {
    .grid li, .day, .ing, .steps li, .cta, .table { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}
