/* ==========================================================================
   Marigold & Cane — Artisanal Lollipops and Candies
   Global stylesheet
   ========================================================================== */

:root {
  --cream: #fbf5ec;
  --cream-deep: #f4e9d9;
  --sand: #efe1cc;
  --ink: #241c17;
  --ink-soft: #4d4038;
  --muted: #7d6d61;
  --amber: #c0741f;
  --amber-dark: #97550f;
  --amber-light: #f0b761;
  --berry: #5c2352;
  --sage: #6e7a57;
  --line: #e3d3bd;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(58, 38, 20, 0.06);
  --shadow-md: 0 14px 34px rgba(58, 38, 20, 0.1);
  --shadow-lg: 0 26px 60px rgba(58, 38, 20, 0.16);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --serif: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.2rem, 5.1vw, 3.85rem);
}

h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 1.9vw, 1.42rem);
}

p {
  margin: 0 0 1.15em;
  color: var(--ink-soft);
}

a {
  color: var(--amber-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--amber);
}

ul,
ol {
  margin: 0 0 1.15em;
  padding-left: 1.25em;
  color: var(--ink-soft);
}

li {
  margin-bottom: 0.5em;
}

li:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  color: var(--cream);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin: 0 0 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--amber);
  display: inline-block;
}

.lede {
  font-size: 1.085rem;
  color: var(--ink-soft);
}

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

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--amber);
  --btn-fg: #fffaf2;
  --btn-bd: var(--amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1.5px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 8px 20px rgba(150, 88, 20, 0.22);
}

.btn:hover {
  --btn-bg: var(--amber-dark);
  --btn-bd: var(--amber-dark);
  color: #fffaf2;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(150, 88, 20, 0.27);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: rgba(36, 28, 23, 0.28);
  box-shadow: none;
}

.btn--ghost:hover {
  --btn-bg: rgba(36, 28, 23, 0.06);
  --btn-bd: var(--ink);
  color: var(--ink);
  box-shadow: none;
}

.btn--light {
  --btn-bg: var(--cream);
  --btn-fg: var(--ink);
  --btn-bd: var(--cream);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.btn--light:hover {
  --btn-bg: #fffdf9;
  --btn-bd: #fffdf9;
  color: var(--ink);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 11px 20px;
  font-size: 0.9rem;
}

.btn .btn-arrow {
  transition: transform 0.18s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 245, 236, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.site-header.is-stuck {
  box-shadow: 0 6px 24px rgba(58, 38, 20, 0.07);
  border-bottom-color: var(--line);
  background: rgba(251, 245, 236, 0.98);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-tag {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.005em;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--ink);
}

.nav-list a:hover::after,
.nav-list a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.22s ease, opacity 0.18s ease, top 0.22s ease;
}

.nav-toggle span:nth-child(1) {
  top: 15px;
}

.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 27px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(40px, 6vw, 76px) 0 clamp(48px, 7vw, 88px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(240, 183, 97, 0.2), transparent 46%),
    radial-gradient(circle at 92% 84%, rgba(92, 35, 82, 0.09), transparent 42%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-copy h1 {
  margin-bottom: 20px;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--amber-dark);
}

.hero-copy .lede {
  font-size: 1.115rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.hero-points svg {
  flex-shrink: 0;
  color: var(--sage);
}

.hero-media {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid #fffaf2;
}

.hero-frame img {
  width: 100%;
  height: clamp(380px, 52vw, 620px);
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  right: -6px;
  bottom: 26px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 250px;
}

.hero-badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1;
}

.hero-badge span {
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-badge .stars {
  color: var(--amber);
  font-size: 0.85rem;
  letter-spacing: 1px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Marquee strip
   -------------------------------------------------------------------------- */

.strip {
  background: var(--ink);
  color: var(--cream-deep);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.strip-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: strip-scroll 46s linear infinite;
}

.strip:hover .strip-track {
  animation-play-state: paused;
}

.strip-track span {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding: 14px 17px;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  letter-spacing: 0.03em;
  color: rgba(244, 233, 217, 0.86);
  white-space: nowrap;
}

.strip-track span::after {
  content: "◆";
  font-style: normal;
  font-size: 0.5rem;
  color: var(--amber-light);
}

@keyframes strip-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(56px, 7.5vw, 104px) 0;
}

.section--tight {
  padding: clamp(44px, 5.5vw, 72px) 0;
}

.section--sand {
  background: var(--cream-deep);
}

.section--white {
  background: #fffdf9;
}

.section-head {
  max-width: 680px;
  margin: 0 auto clamp(32px, 4.5vw, 54px);
  text-align: center;
}

.section-head p {
  margin-bottom: 0;
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

.prose {
  max-width: 74ch;
}

.prose h3 {
  margin-top: 1.9em;
}

/* Intro / story */

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}

.story-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.story-media figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.story-media figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-media .tall {
  grid-row: span 2;
}

.story-media .tall img {
  height: 100%;
  min-height: 300px;
}

.story-media .short img {
  height: 190px;
}

.pull-quote {
  margin: 26px 0 0;
  padding: 20px 0 20px 24px;
  border-left: 3px solid var(--amber);
  font-family: var(--serif);
  font-size: 1.16rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
}

.pull-quote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-style: normal;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Approach list */

.approach {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.approach-card {
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.approach-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.approach-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(192, 116, 31, 0.11);
  color: var(--amber-dark);
  margin-bottom: 16px;
}

.approach-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.approach-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Flavor collection
   -------------------------------------------------------------------------- */

.flavor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.chip {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf9;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.chip:hover {
  border-color: var(--amber);
  color: var(--amber-dark);
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.flavor-card {
  display: flex;
  flex-direction: column;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.flavor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.flavor-card.is-hidden {
  display: none;
}

.flavor-media {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}

.flavor-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.flavor-card:hover .flavor-media img {
  transform: scale(1.045);
}

.flavor-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(251, 245, 236, 0.94);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.flavor-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 22px 22px 24px;
}

.flavor-body h3 {
  margin-bottom: 8px;
}

.flavor-body p {
  font-size: 0.94rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.flavor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.flavor-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.flavor-meta svg {
  color: var(--sage);
}

.flavor-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.price {
  font-family: var(--serif);
  font-size: 1.16rem;
  color: var(--ink);
}

.price small {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
}

.flavor-note {
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
  margin: 30px 0 0;
}

/* --------------------------------------------------------------------------
   Ingredients / craft band
   -------------------------------------------------------------------------- */

.craft {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 66px);
  align-items: center;
}

.craft-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.craft-media img {
  width: 100%;
  height: clamp(320px, 40vw, 470px);
  object-fit: cover;
}

.craft-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(251, 245, 236, 0.95);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.ingredient-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
}

.ingredient-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin: 0;
}

.ingredient-list svg {
  flex-shrink: 0;
  margin-top: 5px;
  color: var(--amber);
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 26px 22px 24px;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0;
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 12px;
}

.steps h3 {
  font-size: 1.06rem;
  margin-bottom: 6px;
}

.steps p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quote-card {
  display: flex;
  flex-direction: column;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}

.quote-card .stars {
  color: var(--amber);
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.quote-card blockquote {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--ink);
}

.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fffaf2;
  background: var(--amber);
  flex-shrink: 0;
}

.quote-card:nth-child(2) .avatar {
  background: var(--berry);
}

.quote-card:nth-child(3) .avatar {
  background: var(--sage);
}

.quote-card figcaption strong {
  display: block;
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Order / form
   -------------------------------------------------------------------------- */

.order-section {
  position: relative;
  background: var(--ink);
  color: var(--cream-deep);
  overflow: hidden;
}

.order-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(240, 183, 97, 0.22), transparent 46%),
    radial-gradient(circle at 8% 92%, rgba(92, 35, 82, 0.34), transparent 40%);
  pointer-events: none;
}

.order-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.order-copy .eyebrow {
  color: var(--amber-light);
}

.order-copy .eyebrow::before {
  background: var(--amber-light);
}

.order-copy h2 {
  color: var(--cream);
}

.order-copy p {
  color: rgba(244, 233, 217, 0.78);
}

.order-perks {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}

.order-perks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(244, 233, 217, 0.86);
  font-size: 0.95rem;
}

.order-perks svg {
  flex-shrink: 0;
  margin-top: 5px;
  color: var(--amber-light);
}

.form-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.form-card h3 {
  margin-bottom: 6px;
}

.form-card > p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.field {
  margin-bottom: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  color: var(--ink-soft);
}

.field .req {
  color: var(--amber-dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(192, 116, 31, 0.16);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b23b2e;
  box-shadow: 0 0 0 3px rgba(178, 59, 46, 0.12);
}

.field-error {
  display: none;
  margin-top: 5px;
  font-size: 0.8rem;
  color: #a5322a;
}

.field-error.is-visible {
  display: block;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.checkbox input {
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  flex-shrink: 0;
  accent-color: var(--amber);
}

.checkbox a {
  color: var(--amber-dark);
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 14px 0 0;
  text-align: center;
}

.form-status {
  display: none;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-status.is-visible {
  display: flex;
}

.form-status.is-success {
  background: rgba(110, 122, 87, 0.14);
  border: 1px solid rgba(110, 122, 87, 0.4);
  color: #47523a;
}

.form-status.is-error {
  background: rgba(178, 59, 46, 0.09);
  border: 1px solid rgba(178, 59, 46, 0.28);
  color: #8e2a21;
}

/* --------------------------------------------------------------------------
   Packing band (gift box feature)
   -------------------------------------------------------------------------- */

.order-band {
  background: var(--cream);
}

.order-band-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.order-band-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.order-band-media img {
  width: 100%;
  height: clamp(300px, 38vw, 440px);
  object-fit: cover;
}

.order-band .ingredient-list {
  margin-bottom: 24px;
}

.order-band .btn {
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.09rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.faq-question:hover {
  color: var(--amber-dark);
}

.faq-icon {
  position: relative;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink-soft);
  border-radius: 2px;
  transition: transform 0.24s ease, background-color 0.2s ease;
}

.faq-icon::before {
  width: 11px;
  height: 1.6px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1.6px;
  height: 11px;
  transform: translate(-50%, -50%);
}

.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--amber);
  border-color: var(--amber);
}

.faq-question[aria-expanded="true"] .faq-icon::before,
.faq-question[aria-expanded="true"] .faq-icon::after {
  background: #fffaf2;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  overflow: hidden;
}

.faq-answer-inner {
  padding: 0 40px 22px 4px;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-card {
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}

.contact-card .approach-icon {
  margin-bottom: 14px;
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.contact-card a {
  color: var(--ink);
  font-weight: 500;
  word-break: normal;
  overflow-wrap: break-word;
}

@media (max-width: 1180px) {
  .contact-card a[href^="mailto"] {
    overflow-wrap: anywhere;
  }
}

.contact-card a:hover {
  color: var(--amber-dark);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  color: var(--muted);
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-weight: 400;
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: 0;
}

.hours-table td {
  text-align: right;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Newsletter
   -------------------------------------------------------------------------- */

.newsletter {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}

.newsletter h2 {
  margin-bottom: 10px;
}

.newsletter p {
  margin-bottom: 0;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.newsletter-form .field {
  flex: 1 1 240px;
  margin-bottom: 0;
}

.newsletter-form .btn {
  flex-shrink: 0;
  padding: 13px 26px;
}

.newsletter .form-status {
  flex-basis: 100%;
  margin-top: 4px;
}

.newsletter-note {
  flex-basis: 100%;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 4px 0 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: #1c1511;
  color: rgba(244, 233, 217, 0.72);
  padding-top: clamp(46px, 6vw, 70px);
  font-size: 0.92rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 44px;
}

.footer-brand .brand {
  color: var(--cream);
  margin-bottom: 16px;
}

.footer-brand .brand:hover {
  color: var(--cream);
}

.footer-brand .brand-name {
  color: var(--cream);
}

.footer-brand p {
  color: rgba(244, 233, 217, 0.62);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 34ch;
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(244, 233, 217, 0.2);
  display: grid;
  place-items: center;
  color: rgba(244, 233, 217, 0.82);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.footer-social a:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: #fffaf2;
  transform: translateY(-2px);
}

.site-footer h3 {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(244, 233, 217, 0.68);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.16s ease;
}

.footer-links a:hover {
  color: var(--amber-light);
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 0.9rem;
}

.footer-contact a {
  color: rgba(244, 233, 217, 0.78);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--amber-light);
}

.footer-bottom {
  border-top: 1px solid rgba(244, 233, 217, 0.13);
  padding: 22px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(244, 233, 217, 0.5);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom a {
  color: rgba(244, 233, 217, 0.6);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--amber-light);
}

.footer-disclaimer {
  font-size: 0.76rem;
  color: rgba(244, 233, 217, 0.42);
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 95ch;
}

/* --------------------------------------------------------------------------
   Cookie banner
   -------------------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 140%);
  width: min(1080px, calc(100% - 32px));
  z-index: 120;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease, visibility 0.28s;
}

.cookie-banner.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.cookie-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: var(--amber);
}

.cookie-text {
  flex: 1 1 320px;
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.cookie-text a {
  color: var(--amber-dark);
  font-weight: 500;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-actions .btn {
  padding: 11px 22px;
  font-size: 0.88rem;
}

.cookie-actions .btn--ghost {
  --btn-bd: var(--line);
}

/* --------------------------------------------------------------------------
   Toasts
   -------------------------------------------------------------------------- */

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(360px, calc(100% - 40px));
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--ink);
  color: var(--cream-deep);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 0.87rem;
  line-height: 1.5;
  box-shadow: var(--shadow-lg);
  animation: toast-in 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.toast.is-out {
  animation: toast-out 0.28s ease forwards;
}

.toast svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--amber-light);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateY(10px) scale(0.98); }
}

/* --------------------------------------------------------------------------
   Modal (flavor details)
   -------------------------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 21, 17, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: fade-in 0.24s ease;
}

.modal-dialog {
  position: relative;
  width: min(840px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
}

.modal-media {
  background: var(--sand);
}

.modal-media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.modal-body {
  padding: 30px 30px 28px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(251, 245, 236, 0.94);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.18s ease, transform 0.18s ease;
  z-index: 2;
}

.modal-close:hover {
  background: #fff;
  transform: rotate(90deg);
}

.modal-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--amber-dark);
  margin-bottom: 8px;
}

.modal-body h3 {
  margin-bottom: 10px;
}

.modal-body dl {
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  font-size: 0.9rem;
}

.modal-body dt {
  color: var(--muted);
  font-weight: 500;
}

.modal-body dd {
  margin: 0;
  color: var(--ink);
}

.modal-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

body.has-modal {
  overflow: hidden;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --------------------------------------------------------------------------
   Back to top
   -------------------------------------------------------------------------- */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s, background-color 0.18s ease;
  z-index: 110;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--amber-dark);
}

/* --------------------------------------------------------------------------
   Legal / privacy page
   -------------------------------------------------------------------------- */

.page-head {
  padding: clamp(36px, 5vw, 62px) 0 clamp(20px, 2.5vw, 30px);
  background: var(--cream-deep);
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-bottom: 12px;
}

.page-head p {
  margin-bottom: 0;
  max-width: 72ch;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--amber-dark);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 7vw, 90px);
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  font-size: 0.88rem;
}

.toc h2 {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.toc ol {
  margin: 0;
  padding-left: 1.1em;
  color: var(--muted);
}

.toc li {
  margin-bottom: 8px;
}

.toc a {
  color: var(--ink-soft);
  text-decoration: none;
}

.toc a:hover {
  color: var(--amber-dark);
  text-decoration: underline;
}

.legal-body {
  max-width: 76ch;
}

.legal-body > section {
  scroll-margin-top: calc(var(--header-h) + 24px);
  margin-bottom: 40px;
}

.legal-body > section:last-child {
  margin-bottom: 0;
}

.legal-body h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.62rem);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.legal-body h3 {
  font-size: 1.03rem;
  font-family: var(--sans);
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.89rem;
  margin: 6px 0 20px;
}

.legal-body th,
.legal-body td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.legal-body th {
  background: var(--cream-deep);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.83rem;
  letter-spacing: 0.02em;
}

.legal-body td {
  color: var(--ink-soft);
}

.legal-note {
  background: var(--cream-deep);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0 0 22px;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 26px;
}

.not-found {
  padding: clamp(60px, 10vw, 120px) 0;
  text-align: center;
}

.not-found h1 {
  margin-bottom: 14px;
}

.not-found p {
  max-width: 52ch;
  margin: 0 auto 26px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-media {
    order: -1;
    max-width: 620px;
  }

  .hero-frame img {
    height: clamp(320px, 55vw, 460px);
  }

  .hero-copy .lede {
    max-width: none;
  }

  .story-grid,
  .craft,
  .order-grid,
  .order-band-inner,
  .newsletter-inner {
    grid-template-columns: 1fr;
  }

  .flavor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .approach,
  .testimonials {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .story-media .short img {
    height: 210px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .header-actions .btn {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: block;
    background: #fffdf9;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 18px 24px 26px;
    transform: translateY(-120%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s;
    visibility: hidden;
    z-index: 55;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .site-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--line);
  }

  .nav-list a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
  }

  .nav-list a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 18px;
    display: flex;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-media img {
    min-height: 220px;
    max-height: 260px;
  }

  .modal-body {
    padding: 24px 22px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 18px;
  }

  .flavor-grid,
  .approach,
  .testimonials,
  .steps,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .field-row,
  .ingredient-list {
    grid-template-columns: 1fr;
  }

  .hero-frame {
    border-radius: 130px 130px var(--radius-lg) var(--radius-lg);
    border-width: 6px;
  }

  .hero-badge {
    right: 8px;
    bottom: 12px;
    padding: 11px 15px;
  }

  .hero-badge strong {
    font-size: 1.12rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 34px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    transform: translateY(140%);
    width: auto;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
  }

  .cookie-banner.is-visible {
    transform: translateY(0);
  }

  .cookie-icon {
    display: none;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1 1 auto;
  }

  .toast-stack {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }

  .story-media .tall img {
    min-height: 220px;
  }

  .story-media .short img {
    height: 150px;
  }

  .modal-body dl {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }

  .modal-body dd {
    margin-bottom: 8px;
  }
}

@media (max-width: 400px) {
  .brand-name {
    font-size: 1.08rem;
  }

  .brand-tag {
    font-size: 0.6rem;
  }

  .btn {
    padding: 13px 22px;
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header,
  .cookie-banner,
  .to-top,
  .toast-stack,
  .strip,
  .newsletter,
  .site-footer .footer-social {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}
