/* Fire & Ice Candy Co. — Coming Soon
   Family DNA: cream/ink/fire/ice/gold, Fraunces wordmark, split motif.
   Look: upscale candy shop, wrapper stripes, gold, festive — not Christmas red/green.
   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;
  --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-color: var(--parchment);
  background-image:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(232, 184, 74, 0.18), transparent 70%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 11px,
      rgba(204, 44, 22, 0.035) 11px,
      rgba(204, 44, 22, 0.035) 12px,
      transparent 12px,
      transparent 23px,
      rgba(10, 88, 120, 0.04) 23px,
      rgba(10, 88, 120, 0.04) 24px
    );
  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(--gold);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 30;
  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);
}

/* Candy-wrapper stripe along the top */
.wrapper-bar {
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    #CC2C16 0 14px,
    #FDF6EA 14px 20px,
    #E8B84A 20px 32px,
    #FDF6EA 32px 38px,
    #0A5878 38px 52px,
    #FDF6EA 52px 58px,
    #4FA6C4 58px 70px,
    #FDF6EA 70px 76px
  );
  box-shadow: 0 1px 0 rgba(26, 18, 15, 0.08);
  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);
}

/* Confetti / sweets around the card */
.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sweet, .star, .drop, .swirl {
  position: absolute;
  display: block;
}

.sweet { width: 48px; height: 24px; }
.star  { width: 22px; height: 22px; }
.drop  { width: 18px; height: 22px; }
.swirl { width: 28px; height: 28px; }

.s1 { left: 6%;  top: 22%; transform: rotate(-18deg); }
.s2 { right: 7%; top: 26%; left: auto; transform: rotate(22deg); }
.s3 { left: 10%; top: 72%; transform: rotate(14deg); }
.s4 { right: 8%; top: 70%; left: auto; transform: rotate(-28deg); }
.s5 { left: 4%;  top: 48%; transform: rotate(8deg); width: 40px; }
.t1 { left: 18%; top: 16%; }
.t2 { right: 16%; top: 18%; left: auto; width: 16px; height: 16px; }
.t3 { left: 22%; top: 82%; width: 18px; height: 18px; }
.t4 { right: 20%; top: 84%; left: auto; }
.t5 { left: 48%; top: 10%; width: 14px; height: 14px; }
.t6 { right: 5%; top: 48%; left: auto; width: 16px; height: 16px; }
.d1 { left: 8%;  top: 34%; transform: rotate(-12deg); }
.d2 { right: 6%; top: 38%; left: auto; transform: rotate(18deg); }
.d3 { left: 16%; top: 60%; transform: rotate(8deg); }
.w1 { right: 14%; top: 56%; left: auto; }
.w2 { left: 28%; top: 88%; }
.s6 { left: 3%; top: 30%; transform: rotate(-32deg); width: 56px; height: 28px; }
.s7 { right: 3%; top: 62%; left: auto; transform: rotate(16deg); width: 56px; height: 28px; }
.d4 { right: 18%; top: 12%; left: auto; transform: rotate(-20deg); }
.t7 { left: 12%; top: 12%; width: 18px; height: 18px; }
.w3 { left: 3%; top: 58%; }

@media (prefers-reduced-motion: no-preference) {
  .star { animation: twinkle 3.6s ease-in-out infinite; }
  .t2, .t5 { animation-delay: -1.2s; }
  .t3, .t6 { animation-delay: -2.1s; }
}

@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.55; transform: scale(0.86) rotate(12deg); }
}

/* 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 / shop card */
main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.25rem var(--pad) 3rem;
}

.card {
  position: relative;
  width: min(36.5rem, 100%);
  padding: clamp(2rem, 5vw, 3rem) clamp(1.4rem, 4vw, 2.75rem) 2.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow:
    0 0 0 1px rgba(232, 184, 74, 0.28),
    0 18px 40px rgba(26, 18, 15, 0.10);
  text-align: center;
}

/* Gold ornamental corners */
.corner {
  position: absolute;
  width: 2.1rem;
  height: 2.1rem;
  pointer-events: none;
}

.corner::before,
.corner::after {
  content: "";
  position: absolute;
  background: var(--gold);
}

.corner::before { width: 2.1rem; height: 1.5px; }
.corner::after  { width: 1.5px; height: 2.1rem; }

.corner--tl { top: 0.7rem; left: 0.7rem; }
.corner--tl::before, .corner--tl::after { top: 0; left: 0; }

.corner--tr { top: 0.7rem; right: 0.7rem; }
.corner--tr::before { top: 0; right: 0; }
.corner--tr::after  { top: 0; right: 0; }

.corner--bl { bottom: 0.7rem; left: 0.7rem; }
.corner--bl::before { bottom: 0; left: 0; }
.corner--bl::after  { bottom: 0; left: 0; }

.corner--br { bottom: 0.7rem; right: 0.7rem; }
.corner--br::before { bottom: 0; right: 0; }
.corner--br::after  { bottom: 0; right: 0; }

.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.4rem, 10vw, 4.25rem);
  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.75rem;
  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;
  width: min(16rem, 70%);
  height: 2px;
  margin: 1.2rem auto 0;
}

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

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

.split-rule__star {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin: 0 0.4rem;
}

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

.coming-soon {
  margin: 1.2rem 0 0;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(2.35rem, 8vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.kicker {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fire-deep);
}

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

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: var(--parchment);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ask {
  margin: 1.35rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  margin-top: 0.7rem;
  padding: 0.7rem 1.35rem;
  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, 0 1px 0 var(--gold);
}

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

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

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: #C9B8A4;
  border-top: 1px solid rgba(232, 184, 74, 0.28);
  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: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

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

@media (max-width: 700px) {
  /* Decorations live in the header and footer gutters, not on the card */
  .hero { padding: 2.15rem var(--pad) 5rem; }
  .s5, .s6, .s7, .w1, .w2, .w3, .t5, .t6, .d3, .d2, .d1, .d4 { display: none; }
  .sweet { width: 38px; height: 19px; }
  .star { width: 16px; height: 16px; }
  .s1 { left: 5%; top: 5.15rem; transform: rotate(-16deg); }
  .s2 { right: 5%; top: 5.15rem; left: auto; transform: rotate(18deg); }
  .s3 { left: 6%; top: auto; bottom: 8.6rem; transform: rotate(12deg); display: block; }
  .s4 { right: 6%; top: auto; bottom: 8.6rem; left: auto; transform: rotate(-20deg); display: block; }
  .t1 { left: 48%; top: 5.35rem; }
  .t2 { right: 22%; top: 5.45rem; left: auto; }
  .t7 { left: 22%; top: 5.45rem; display: block; }
  .t3 { left: 28%; top: auto; bottom: 8.75rem; }
  .t4 { right: 28%; top: auto; bottom: 8.75rem; left: auto; }
}

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

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