/* Fire & Ice Boba — Coming Soon
   Family DNA: cream/ink/fire/ice/gold, Fraunces wordmark, split motif.
   Look: playful, fresh, drink-forward. No vintage badge. */

:root {
  --cream: #FDF6EA;
  --frost-page: #E8F4F8;
  --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;
  --display: "Outfit", "Source Sans 3", "Segoe UI", sans-serif;
  --radius-btn: 999px;
  --content: 72rem;
  --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:
    radial-gradient(ellipse 60% 70% at 8% 88%, rgba(204, 44, 22, 0.10), transparent 58%),
    radial-gradient(ellipse 55% 65% at 96% 12%, rgba(79, 166, 196, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 90%, rgba(10, 88, 120, 0.10), transparent 62%),
    linear-gradient(180deg, #F3F8F6 0%, var(--cream) 46%, #F3F7F8 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

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(--ice-deep);
  color: var(--cream);
}

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

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

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

.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);
}

/* Scattered tapioca pearls */
.pearls {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.pearl {
  position: absolute;
  border-radius: 50%;
  display: block;
}

.pearl--tapioca {
  background: radial-gradient(circle at 32% 28%, #6B5344 0 16%, #2A1C16 48%, #1A120F 100%);
  box-shadow: inset -2px -3px 5px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(26, 18, 15, 0.12);
}

.pearl--ice {
  background: radial-gradient(circle at 32% 28%, #F4FBFD 0 18%, #4FA6C4 58%, #0A5878 100%);
  box-shadow: 0 2px 5px rgba(10, 88, 120, 0.18);
}

.pearl--fire {
  background: radial-gradient(circle at 32% 28%, #F6B2A4 0 16%, #CC2C16 58%, #8E1A0A 100%);
  box-shadow: 0 2px 5px rgba(142, 26, 10, 0.18);
}

.pearl--gold {
  background: radial-gradient(circle at 32% 28%, #F8E4A8 0 18%, #E8B84A 58%, #C4922A 100%);
  box-shadow: 0 2px 5px rgba(196, 146, 42, 0.2);
}

.p1  { width: 22px; height: 22px; left: 4%;   top: 18%; }
.p2  { width: 14px; height: 14px; left: 11%;  top: 38%; }
.p3  { width: 18px; height: 18px; left: 6%;   top: 62%; }
.p4  { width: 12px; height: 12px; left: 15%;  top: 78%; }
.p5  { width: 26px; height: 26px; right: 5%;  top: 22%; left: auto; }
.p6  { width: 16px; height: 16px; right: 12%; top: 44%; left: auto; }
.p7  { width: 20px; height: 20px; right: 4%;  top: 68%; left: auto; }
.p8  { width: 13px; height: 13px; right: 16%; top: 84%; left: auto; }
.p9  { width: 10px; height: 10px; left: 22%;  top: 16%; }
.p10 { width: 11px; height: 11px; right: 24%; top: 14%; left: auto; }
.p11 { width: 15px; height: 15px; left: 48%;  top: 88%; }
.p12 { width: 9px;  height: 9px;  left: 3%;   top: 48%; }

@media (prefers-reduced-motion: no-preference) {
  .pearl {
    animation: float 7s ease-in-out infinite;
  }
  .p2, .p6, .p9  { animation-duration: 8.5s; animation-delay: -1.5s; }
  .p3, .p7, .p11 { animation-duration: 6.5s; animation-delay: -3s; }
  .p4, .p8, .p12 { animation-duration: 9s; animation-delay: -2.2s; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Header */
.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--content);
  width: 100%;
  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); }

.parent-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  text-align: right;
  max-width: 11.5rem;
  line-height: 1.3;
}

.parent-link:hover { color: var(--ice-deep); text-decoration: underline; }

/* Hero */
main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 1.25rem var(--pad) 3rem;
}

.hero__visual {
  flex: none;
  width: min(11.5rem, 46vw);
}

.cup {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 24px rgba(10, 88, 120, 0.12));
}

.hero__copy {
  text-align: center;
  max-width: 34rem;
}

.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.35rem, 10vw, 4.15rem);
  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.7rem;
  font-family: var(--display);
  font-size: clamp(0.82rem, 2vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ice-deep);
}

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

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

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

.split-rule__pearl {
  flex: none;
  width: 0.85rem;
  height: 0.85rem;
  margin: 0 0.4rem;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #6B5344 0 16%, #2A1C16 55%, #1A120F 100%);
  box-shadow: inset -1px -1px 2px rgba(0, 0, 0, 0.3);
}

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

.coming-soon {
  margin: 1.25rem 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 9vw, 3.85rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--ink);
}

.tagline {
  margin: 1.05rem auto 0;
  max-width: 22em;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1.35;
  color: var(--ink);
  text-wrap: balance;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  margin-top: 1.55rem;
  padding: 0.75rem 1.5rem;
  background: var(--fire);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-btn);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 8px 18px rgba(204, 44, 22, 0.22);
}

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

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

/* Footer — ice-deep, cooler than the parent ink footer */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--ice-deep);
  color: #C5DCE6;
  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; }

.site-footer a {
  color: #FDF6EA;
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--gold);
  text-decoration: underline;
}

@media (max-width: 859px) {
  .p3, .p5, .p6, .p7, .p9, .p10, .p11 { display: none; }
  .p1 { top: 14%; left: 5%; }
  .p2 { top: 28%; left: 8%; }
  .p4 { top: auto; bottom: 7.5rem; left: 8%; }
  .p8 { top: auto; bottom: 6.5rem; right: 7%; left: auto; }
  .p12 { top: 42%; left: 5%; }
}

@media (max-width: 480px) {
  .parent-link {
    font-size: 0.7rem;
    max-width: 7.2rem;
  }
}

@media (min-width: 860px) {
  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3.25rem;
    padding: 2rem var(--pad) 3.25rem;
  }

  .hero__visual {
    width: min(20rem, 38%);
  }

  .hero__copy {
    text-align: left;
    max-width: 28.5rem;
  }

  .wordmark__row { justify-content: flex-start; }

  .wordmark__sub { letter-spacing: 0.3em; }

  .split-rule {
    margin-left: 0;
    margin-right: auto;
  }

  .tagline, .lede { margin-left: 0; }
}

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