/* Fire & Ice Flavors — parent holding page
   Palette and type from the brand spec. No vintage badge. */

:root {
  --cream: #FDF6EA;
  --parchment: #FBEAD0;
  --cream-dark: #F3E2C4;
  --paper: #FFFCF7;
  --ink: #1A120F;
  --ink-soft: #3D332E;
  --muted: #6B5E55;
  --line: #E6D5B8;
  --fire: #CC2C16;
  --fire-deep: #8E1A0A;
  --flame: #D84E10;
  --gold: #E8B84A;
  --ice: #4FA6C4;
  --ice-deep: #0A5878;
  --frost: #D5EEF5;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  --radius-card: 16px;
  --radius-btn: 8px;
  --shadow: 0 10px 30px rgba(26, 18, 15, 0.08);
  --content: 68rem;
  --pad: clamp(1.25rem, 4vw, 2rem);
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--ice-deep);
  text-underline-offset: 0.16em;
}

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

:focus-visible {
  outline: 2px solid var(--fire);
  outline-offset: 3px;
}

::selection {
  background: var(--fire);
  color: var(--cream);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 20;
  padding: 0.5rem 0.85rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-btn);
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
  color: var(--cream);
}

/* Top brand bar: fire | ice */
.brand-bar {
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--fire) 0%,
    var(--flame) 46%,
    var(--gold) 50%,
    var(--ice) 54%,
    var(--ice-deep) 100%
  );
}

.monogram {
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    var(--fire) calc(50% - 0.5px),
    var(--cream) calc(50% - 0.5px),
    var(--cream) calc(50% + 0.5px),
    var(--ice-deep) calc(50% + 0.5px)
  );
  box-shadow: 0 0 0 1.5px var(--gold);
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--content);
  margin: 0 auto;
  padding: 1rem var(--pad);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.logo:hover { color: inherit; }

.logo__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1;
}

.logo__name span:first-child { color: var(--fire); }
.logo__name span:last-child { color: var(--ice-deep); }

.header-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 0.45rem 0.15rem;
}

.header-link:hover { color: var(--fire); }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  padding: clamp(2.5rem, 7vw, 5.5rem) var(--pad) clamp(3rem, 8vw, 5.75rem);
  background:
    radial-gradient(ellipse 55% 80% at 0% 40%, rgba(204, 44, 22, 0.12), transparent 62%),
    radial-gradient(ellipse 55% 80% at 100% 40%, rgba(10, 88, 120, 0.13), transparent 62%),
    var(--cream);
}

.hero__icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.15rem;
  color: var(--ink);
}

.hero__icons svg { width: 1.75rem; height: 1.75rem; }

.wordmark {
  margin: 0;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.wordmark__row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.28em;
  font-size: clamp(2.6rem, 11vw, 5.35rem);
  white-space: nowrap;
}

.wordmark__fire { color: var(--fire); }

.wordmark__amp {
  background: linear-gradient(90deg, var(--fire) 50%, var(--ice-deep) 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
  padding: 0 0.02em;
}

.wordmark__ice { color: var(--ice-deep); }

.wordmark__sub {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--sans);
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ice-deep);
}

.split-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: min(16rem, 70%);
  height: 2px;
  margin: 1.35rem auto 0;
}

.split-rule span { display: block; height: 100%; }

.split-rule__fire {
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--fire));
}

.split-rule__gold {
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  margin: 0 0.35rem;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(0);
}

.split-rule__ice {
  flex: 1;
  background: linear-gradient(90deg, var(--ice-deep), transparent);
}

.tagline {
  margin: 1.5rem auto 0;
  max-width: 28em;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  line-height: 1.35;
  color: var(--ink);
  text-wrap: balance;
}

.lede {
  margin: 1rem auto 0;
  max-width: 32em;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  text-wrap: pretty;
}

/* Brands */
.brands {
  padding: 0 var(--pad) clamp(3rem, 7vw, 4.5rem);
}

.kicker {
  margin: 0 auto 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  max-width: var(--content);
  margin: 0 auto;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.45rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  top: 0;
  height: 4px;
  border-radius: 0 0 3px 3px;
}

.card--boba::before {
  background: linear-gradient(90deg, var(--fire), var(--flame));
}

.card--candy::before {
  background: linear-gradient(90deg, var(--ice), var(--ice-deep));
}

.card:hover,
.card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(26, 18, 15, 0.11);
}

.card--boba:hover,
.card--boba:focus-within { border-color: #e3a398; }

.card--candy:hover,
.card--candy:focus-within { border-color: #9ec3d0; }

.card__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.card__title {
  margin: 0;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}

.card__body {
  margin: 0.75rem 0 1.25rem;
  color: var(--ink-soft);
  flex: 1;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: auto;
}

.chip {
  display: inline-block;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.chip--frost {
  background: var(--frost);
  color: var(--ice-deep);
}

.chip--gold {
  background: var(--parchment);
  color: var(--fire-deep);
}

.card__cta {
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}

.card__cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.card--boba .card__cta { color: var(--fire); }
.card--candy .card__cta { color: var(--ice-deep); }

.card__cta:hover { text-decoration: underline; }

/* Book */
.book {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(3rem, 7vw, 4.5rem) var(--pad);
  text-align: center;
}

.book h2 {
  margin: 0;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.book p {
  margin: 0.85rem auto 1.6rem;
  max-width: 30em;
  color: #F3E2C4;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  background: var(--fire);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-btn);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.button:hover {
  background: var(--fire-deep);
  color: #fff;
}

.button:focus-visible {
  outline-color: var(--gold);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #C9B8A4;
  border-top: 1px solid rgba(232, 184, 74, 0.22);
  padding: 1.35rem var(--pad) 1.75rem;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer p { margin: 0; }

.site-footer p + p { margin-top: 0.2rem; }

@media (max-width: 759px) {
  .card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
}

@media (min-width: 760px) {
  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem;
  }

  .card { padding: 1.85rem 1.7rem 1.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
  .card:hover,
  .card:focus-within { transform: none; }
}
