/* ==========================================================================
   Unbelievable Craft Coffee — playful, warm, transparent
   ========================================================================== */

:root {
  /* warm paper + espresso ink */
  --paper:    oklch(97% 0.022 84);
  --paper-2:  oklch(94% 0.03 82);
  --card:     oklch(99% 0.01 90);
  --ink:      oklch(26% 0.04 56);
  --ink-soft: oklch(42% 0.04 56);

  /* playful accents */
  --pink:      oklch(64% 0.2 350);
  --pink-deep: oklch(48% 0.18 352);
  --blue:      oklch(58% 0.15 245);
  --blue-deep: oklch(46% 0.15 250);
  --amber:     oklch(74% 0.15 62);
  --green:     oklch(70% 0.16 150);

  /* based beans "lab" surface */
  --night:     oklch(26% 0.045 250);
  --night-2:   oklch(31% 0.05 250);
  --night-line: oklch(100% 0 0 / 0.14);

  --line: oklch(82% 0.035 80);
  --shadow: 18px 28px 60px -28px oklch(30% 0.06 60 / 0.45);
  --radius: 18px;

  --body:    "Outfit", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --mono:    "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.02rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* height:auto lets author CSS beat the HTML width/height presentational hint,
   so our `aspect-ratio` + object-fit cropping is honored on every image. */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
}

.visually-hidden,
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 0.6rem; left: 0.6rem;
  z-index: 100;
  width: auto; height: auto;
  clip: auto; margin: 0;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}

/* ---- shared layout ---- */
.hero,
.brands,
.how,
.coffees,
.based,
.roastlog,
.grab,
.pdfs {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  display: inline-block;
  margin: 0 0 0.9rem;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-deep);
}
.kicker-blue  { color: var(--blue-deep); }
.kicker-amber { color: oklch(54% 0.13 62); }
.kicker-mono  { font-family: var(--mono); text-transform: none; letter-spacing: 0; color: var(--blue); }
.kicker-cream { color: oklch(98% 0.02 84 / 0.85); }

.tag {
  display: inline-block;
  margin: 0 0 0.7rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag-pink { background: color-mix(in oklch, var(--pink) 22%, white); color: var(--pink-deep); }
.tag-blue { background: color-mix(in oklch, var(--blue) 22%, white); color: var(--blue-deep); }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.8rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--pink);
  color: white;
  box-shadow: 0 10px 22px -10px var(--pink);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--pink-deep);
  transform: translateY(-2px);
}
.btn-blue {
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 22px -10px var(--blue);
}
.btn-blue:hover, .btn-blue:focus-visible { background: var(--blue-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border-color: color-mix(in oklch, var(--ink) 30%, transparent);
  color: var(--ink);
}
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--ink); transform: translateY(-2px); }
.btn-sm { min-height: 2.6rem; padding: 0.55rem 1.05rem; font-size: 0.92rem; }
.btn-lg { min-height: 3.5rem; padding: 1rem 2rem; font-size: 1.15rem; }

:where(a, button):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in oklch, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.08rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark .logo-tile {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  overflow: hidden;
  background: var(--pink);
  border-radius: 12px;
}
.brand-mark img {
  width: 2.5rem;
  height: 2.5rem;
  max-width: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-links a {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); background: var(--paper-2); }
.nav-cta {
  background: var(--ink) !important;
  color: var(--paper) !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--pink) !important; color: white !important; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);
}
.hero-copy h1 {
  font-size: clamp(2.5rem, 6vw, 4.3rem);
  margin: 0.4rem 0 0;
}
.lede {
  max-width: 36ch;
  margin: 1.4rem 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
}
.lede strong { color: var(--ink); font-weight: 700; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}
.hero-note {
  margin: 1.4rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.hero-art {
  position: relative;
  padding-bottom: 1.5rem;
}
.photo-main {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 5px solid white;
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
}
.photo-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 58%; }
.photo-polaroid {
  position: absolute;
  left: -1.2rem;
  bottom: -1rem;
  width: 42%;
  margin: 0;
  padding: 0.5rem 0.5rem 0.4rem;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(-5deg);
}
.photo-polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.photo-polaroid figcaption {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-align: center;
  padding-top: 0.25rem;
  color: var(--ink-soft);
}
.sticker {
  position: absolute;
  top: -0.8rem;
  right: -0.6rem;
  padding: 0.5rem 0.9rem;
  background: var(--blue);
  color: white;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: 999px;
  transform: rotate(7deg);
  box-shadow: 0 8px 18px -8px var(--blue);
}

/* ==========================================================================
   Two brands
   ========================================================================== */
.brands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  padding-block: clamp(1.5rem, 4vw, 3rem);
}
.brand-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.brand-photo { overflow: hidden; }
.brand-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.brand-text { padding: 1.5rem 1.6rem 1.7rem; }
.brand-text h3 { font-size: 1.7rem; margin-bottom: 0.5rem; }
.brand-text p { margin: 0 0 1rem; color: var(--ink-soft); }
.brand-based { background: var(--night); border-color: var(--night-line); color: var(--paper); }
.brand-based .brand-text p { color: oklch(92% 0.02 250 / 0.82); }
.brand-based .brand-text .tag-blue { color: var(--night); }

.text-link {
  font-weight: 800;
  text-decoration: none;
  color: var(--pink-deep);
  border-bottom: 2px solid currentColor;
  padding-bottom: 1px;
}
.brand-based .text-link { color: oklch(82% 0.12 240); }
.text-link:hover { opacity: 0.75; }

/* ==========================================================================
   How it works
   ========================================================================== */
.how { padding-block: clamp(3rem, 7vw, 5.5rem); }
.how-head { max-width: 38rem; }
.how-head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.how-sub { margin: 0.8rem 0 0; color: var(--ink-soft); font-size: 1.1rem; }
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-top: 2.5rem;
}
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 1.1rem;
}
.steps li {
  position: relative;
  padding: 1.1rem 1.2rem 1.1rem 3.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.step-emoji {
  position: absolute;
  left: 1rem; top: 1rem;
  font-size: 1.5rem;
}
.steps h3 { font-size: 1.2rem; }
.steps p { margin: 0.3rem 0 0; color: var(--ink-soft); font-size: 0.97rem; }
.how-photo { margin: 0; }
.how-photo img {
  width: 100%;
  border-radius: var(--radius);
  border: 5px solid white;
  box-shadow: var(--shadow);
}
.how-photo figcaption,
.based-photo figcaption,
.footer-photo figcaption {
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ==========================================================================
   Section heads (coffees, pdfs)
   ========================================================================== */
.section-head { max-width: 40rem; margin-bottom: 2.2rem; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.section-sub { margin: 0.9rem 0 0; color: var(--ink-soft); font-size: 1.08rem; }

/* ==========================================================================
   Single-region coffees
   ========================================================================== */
.coffees { padding-block: clamp(3rem, 7vw, 5.5rem); }
.coffee-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.coffee-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9.5rem;
  gap: 1.2rem;
  padding: 1.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.coffee-info { display: flex; flex-direction: column; min-width: 0; }
.coffee-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.lot {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--pink-deep);
}
.origin { font-weight: 700; font-size: 0.92rem; }
.pill {
  margin-left: auto;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.pill-espresso { background: color-mix(in oklch, var(--amber) 28%, white); color: oklch(45% 0.12 60); }
.pill-filter   { background: color-mix(in oklch, var(--green) 26%, white); color: oklch(40% 0.12 150); }
.pill-sold-out { background: color-mix(in oklch, var(--ink-soft) 18%, white); color: var(--ink); }
.coffee-card.is-sold-out {
  background: color-mix(in oklch, var(--card) 74%, var(--paper-2));
}
.coffee-card.is-sold-out .coffee-pdf img {
  filter: grayscale(0.25) saturate(0.78);
}
.coffee-info h3 { font-size: 1.5rem; }
.taste {
  margin: 0.7rem 0 1rem;
  color: var(--ink-soft);
  font-size: 1rem;
}
.taste span {
  display: inline-block;
  margin-right: 0.3rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pink-deep);
}
.facts {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.facts li {
  font-size: 0.92rem;
  padding-top: 0.4rem;
  border-top: 1px dashed var(--line);
}
.facts strong {
  display: inline-block;
  min-width: 5.2rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue-deep);
}
.coffee-actions { margin-top: auto; }
.btn-disabled,
.btn-disabled:hover,
.btn-disabled:focus-visible {
  background: color-mix(in oklch, var(--ink-soft) 18%, white);
  border-color: color-mix(in oklch, var(--ink-soft) 20%, transparent);
  color: var(--ink-soft);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.coffee-pdf {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-self: start;
  text-decoration: none;
  color: var(--ink-soft);
}
.coffee-pdf img {
  width: 100%;
  aspect-ratio: 612 / 792;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 10px 22px -14px oklch(30% 0.06 60 / 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pdf-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: var(--ink-soft);
}
.coffee-pdf:hover img, .coffee-pdf:focus-visible img {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 0 18px 30px -16px oklch(30% 0.06 60 / 0.7);
}
.coffee-pdf:hover .pdf-label { color: var(--pink-deep); }

/* ==========================================================================
   Based Beans — the "lab"
   ========================================================================== */
.based {
  margin-block: clamp(2rem, 5vw, 3.5rem);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  width: min(1208px, calc(100% - 2rem));
  background:
    radial-gradient(120% 90% at 85% 0%, var(--night-2), transparent 60%),
    var(--night);
  color: var(--paper);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.based-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.based-copy h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 0.9rem; }
.based-copy p { color: oklch(92% 0.02 250 / 0.82); margin: 0 0 1rem; font-size: 1.08rem; }
.based-public {
  font-family: var(--mono);
  font-size: 0.92rem !important;
  color: oklch(82% 0.12 240) !important;
  padding-left: 0.9rem;
  border-left: 3px solid var(--blue);
}
.based-photo { margin: 0; }
.based-photo img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--night-line);
}
.based-photo figcaption { color: oklch(86% 0.02 250 / 0.7); }

.blend-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 2.5rem;
}
.blend-card {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  background: oklch(100% 0 0 / 0.05);
  border: 1px solid var(--night-line);
  border-radius: 16px;
}
.blend-card.is-current { border-color: color-mix(in oklch, var(--green) 45%, transparent); }
.blend-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
}
.status { color: var(--green); text-transform: uppercase; letter-spacing: 0.04em; }
.status-archive { color: var(--amber); }
.ratio { color: oklch(80% 0.02 250 / 0.7); }
.blend-card h3 { font-size: 1.6rem; margin: 0.6rem 0 0; }
.taste-dark { margin: 0.6rem 0 1rem; color: oklch(90% 0.02 250 / 0.78); font-size: 0.97rem; }
.recipe {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.recipe li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--night-line);
  font-size: 0.9rem;
  color: oklch(92% 0.02 250 / 0.85);
}
.recipe b { font-family: var(--mono); color: var(--blue); }
.by-ai {
  margin: 0 0 1.1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: oklch(82% 0.12 240);
}
.blend-card .btn { margin-top: auto; }
.archive-note {
  margin: auto 0 0;
  font-size: 0.82rem;
  color: var(--amber);
}

/* ==========================================================================
   Roast log
   ========================================================================== */
.roastlog {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.roastlog-photo { margin: 0; }
.roastlog-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 5px solid white;
  box-shadow: var(--shadow);
}
.roastlog-copy h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.timeline { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 0.4rem; }
.timeline li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; }
.timeline time {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-deep);
}
.timeline h3 { font-size: 1.3rem; margin: 0.3rem 0; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ==========================================================================
   Grab a bag
   ========================================================================== */
.grab {
  margin-block: clamp(2rem, 5vw, 3.5rem);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  width: min(1208px, calc(100% - 2rem));
  text-align: center;
  background:
    radial-gradient(120% 120% at 50% 0%, var(--pink) 0%, var(--pink-deep) 55%, oklch(38% 0.15 355) 100%);
  color: white;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.grab h2 { font-size: clamp(2.4rem, 6vw, 4rem); }
.grab-sub {
  max-width: 44ch;
  margin: 1rem auto 2rem;
  font-size: 1.15rem;
  color: oklch(98% 0.02 350 / 0.92);
}
.grab .btn-primary {
  background: white;
  color: var(--pink-deep);
  box-shadow: 0 14px 30px -12px oklch(20% 0.1 350 / 0.6);
}
.grab .btn-primary:hover { background: var(--ink); color: white; }
.grab-fine { margin: 1.5rem 0 0; font-size: 0.92rem; color: oklch(98% 0.02 350 / 0.8); }

/* ==========================================================================
   PDFs
   ========================================================================== */
.pdfs { padding-block: clamp(3rem, 6vw, 5rem); }
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.pdf-grid a {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.pdf-grid img {
  width: 100%;
  aspect-ratio: 612 / 792;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.pdf-grid b { font-family: var(--mono); color: var(--pink-deep); }
.pdf-grid a:hover, .pdf-grid a:focus-visible {
  transform: translateY(-4px);
  border-color: var(--pink);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  display: grid;
  grid-template-columns: 13rem 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  width: min(1160px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.footer-photo { margin: 0; }
.footer-photo img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 4px solid white;
  box-shadow: var(--shadow);
}
.footer-text .brand-mark { font-size: 1.3rem; margin-bottom: 0.6rem; }
.footer-text > p { margin: 0 0 1rem; color: var(--ink-soft); max-width: 48ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-links a { font-weight: 700; text-decoration: none; color: var(--ink); }
.footer-links a:hover { color: var(--pink-deep); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 30rem; margin-top: 1rem; }
  .brands,
  .how-grid,
  .based-intro,
  .roastlog { grid-template-columns: 1fr; }
  .how-photo { order: -1; }
  .roastlog-photo { max-width: 24rem; }
  .blend-list { grid-template-columns: 1fr; }
  .pdf-grid { grid-template-columns: repeat(2, 1fr); }
  .footer { grid-template-columns: 1fr; }
  .footer-photo { max-width: 14rem; }
}

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .coffee-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 0.98rem; }
  .coffee-card { grid-template-columns: 1fr; }
  .coffee-pdf {
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--line);
  }
  .coffee-pdf img { width: 5rem; flex: none; }
  .pdf-label { text-align: left; }
  .photo-polaroid { width: 46%; }
  .sticker { font-size: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .photo-main, .photo-polaroid, .sticker { transform: none !important; }
}
