/* Shared editorial footer for the original Again Coffee pages.
   Brand palette only: black ground, white type, Ember for the one accent.
   The logo is shown as supplied (white), never recoloured or filtered. */
.again-footer {
  --footer-paper: #000000;
  --footer-ink: #FFFFFF;
  --footer-muted: rgba(255, 255, 255, .62);
  --footer-line: rgba(255, 255, 255, .12);
  --footer-accent: #ED582F;
  position: relative;
  z-index: 20;
  overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--footer-line);
  background: var(--footer-paper);
  color: var(--footer-ink);
}
.again-footer,
.again-footer * { box-sizing: border-box; }
.again-footer .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.again-footer__inner { position: relative; z-index: 1; width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.again-footer__lead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--footer-line);
}
.again-footer__eyebrow,
.again-footer__label {
  color: var(--footer-muted);
  font: 500 11px/1.45 var(--font-mono, 'Space Grotesk', sans-serif);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.again-footer__eyebrow { color: var(--footer-accent); }
.again-footer__headline {
  margin: 12px 0 0;
  color: var(--footer-ink);
  font: 700 clamp(28px, 3.6vw, 46px)/1.08 var(--font-display, 'Space Grotesk', sans-serif);
  letter-spacing: 0;
}
.again-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  flex: 0 0 auto;
  border: 1px solid var(--footer-ink);
  border-radius: 999px;
  background: var(--footer-ink);
  color: #000 !important;
  font: 600 12px/1 var(--font-body, 'Space Grotesk', sans-serif);
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.again-footer__cta:hover { background: transparent; color: #fff !important; }
.again-footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.1fr;
  gap: clamp(28px, 3vw, 48px);
  padding: clamp(36px, 4.5vw, 56px) 0;
}
.again-footer__column { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 !important; }
.again-footer__label { margin: 0 0 4px; }
.again-footer__brand-name { margin: 0; color: var(--footer-ink); font-size: 16px; font-weight: 600; letter-spacing: .025em; }
.again-footer address,
.again-footer__copy,
.again-footer__note { color: var(--footer-muted); font-size: 13px; font-style: normal; line-height: 1.7; }
.again-footer__copy { margin: -2px 0 0; }
.again-footer__license {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 12px;
  border: 1px solid var(--footer-line);
  border-radius: 999px;
  color: var(--footer-muted);
  font: 500 10px/1.3 var(--font-mono, 'Space Grotesk', sans-serif);
  letter-spacing: .05em;
}
.again-footer__license > span { display: none; }
.again-footer__contact { display: inline-flex; align-items: center; gap: 9px; color: var(--footer-ink) !important; font-size: 13px; text-decoration: none; transition: color .18s ease; }
.again-footer__contact:hover { color: var(--footer-accent) !important; }
.again-footer__contact .material-symbols-outlined { color: var(--footer-muted); font-size: 17px; }
.again-footer__contact .again-footer__icon { flex: 0 0 auto; color: var(--footer-muted); }
.again-footer__note { margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--footer-line); font-size: 11px; }
.again-footer__telemetry {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0;
}
.again-footer__metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--footer-line);
  color: var(--footer-muted);
  font: 500 11px/1.4 var(--font-mono, 'Space Grotesk', sans-serif);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.again-footer__metric:first-child { padding-top: 0; }
.again-footer__metric strong { color: var(--footer-ink); font-size: 12px; font-weight: 600; text-align: right; }
.again-footer__roast { display: inline-flex; align-items: center; gap: 8px; }
.again-footer .roast-indicator-5dots { display: inline-flex; gap: 3px; }
.again-footer .roast-indicator-5dots .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--footer-accent); }
.again-footer .roast-indicator-5dots .dot.outline { border: 1px solid var(--footer-accent); background: transparent; }
.again-footer__form { display: flex; width: 100%; align-items: center; gap: 6px; padding: 5px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: transparent; transition: border-color .2s ease; }
.again-footer__form:focus-within { border-color: #fff; }
.again-footer__form input { width: 100%; min-width: 0; height: 38px; padding: 0 10px 0 13px; border: 0 !important; outline: 0; background: transparent !important; color: var(--footer-ink) !important; font-size: 13px; box-shadow: none !important; }
.again-footer__form input::placeholder { color: rgba(255,255,255,.45); }
.again-footer__form button { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 50%; background: var(--footer-ink); color: #000; cursor: pointer; transition: background .2s ease, color .2s ease; }
.again-footer__form button:hover { background: var(--footer-accent); color: #fff; }
.again-footer__form button .material-symbols-outlined { font-size: 18px; }
.again-footer__form-note { color: rgba(255,255,255,.45); font: 500 11px/1.5 var(--font-mono, 'Space Grotesk', sans-serif); }
.again-footer__protocols { display: flex; flex-direction: column; gap: 14px; padding: 24px 0; border-top: 1px solid var(--footer-line); border-bottom: 1px solid var(--footer-line); }
.again-footer__protocols > div { display: flex; flex-wrap: wrap; gap: 8px; }
.again-footer__protocols a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 8px 14px; border: 1px solid var(--footer-line); border-radius: 999px; color: var(--footer-ink) !important; font-size: 12px; text-decoration: none; transition: border-color .18s ease, color .18s ease; }
.again-footer__protocols a:hover { border-color: #fff; }
.again-footer__protocols small { color: var(--footer-accent); font: 600 10px/1 var(--font-mono, 'Space Grotesk', sans-serif); }
.again-footer__brand { position: relative; display: flex; min-height: 132px; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--footer-line); }
/* Logo as supplied: white, no filter. Height leaves the 2X clear space inside the 132px row. */
.again-footer__brand img { display: block; width: auto; height: clamp(48px, 6vw, 72px); max-width: min(48%, 240px); object-fit: contain; filter: none; }
.again-footer__brand > span { display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; color: var(--footer-muted); font: 500 10px/1.5 var(--font-mono, 'Space Grotesk', sans-serif); letter-spacing: .1em; text-align: right; text-transform: uppercase; }
.again-footer__brand i { width: 4px; height: 4px; border-radius: 50%; background: var(--footer-accent); }
.again-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; color: rgba(255,255,255,.45); font: 500 11px/1.6 var(--font-mono, 'Space Grotesk', sans-serif); }
.again-footer__bottom p { margin: 0; }
.again-footer__bottom a { color: var(--footer-muted) !important; text-decoration: none; transition: color .18s ease; }
.again-footer__bottom a:hover { color: #fff !important; }
.again-footer :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 1023px) {
  .again-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; row-gap: 36px; }
  .again-footer__grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .again-footer { padding-top: 48px; }
  .again-footer__inner { width: min(100% - 32px, 520px); }
  .again-footer__lead { align-items: flex-start; flex-direction: column; gap: 20px; }
  .again-footer__headline { max-width: 15ch; font-size: clamp(28px, 8vw, 36px); }
  .again-footer__cta { min-height: 46px; }
  .again-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 32px 0; }
  .again-footer__column { gap: 10px; }
  .again-footer__brand { min-height: auto; align-items: flex-start; flex-direction: column; gap: 16px; padding: 24px 0; }
  .again-footer__brand img { height: 52px; max-width: 72%; }
  .again-footer__brand > span { justify-content: flex-start; flex-wrap: wrap; text-align: left; }
  .again-footer__bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .again-footer *, .again-footer *::before, .again-footer *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
