/* ==========================================================================
   361 Arts — Coming Soon
   Stylesheet structure (designed to grow into the full e-commerce site):
     1.  Design tokens
     2.  Reset & base
     3.  Typography
     4.  Layout primitives
     5.  Components (buttons, badge, eyebrow, forms, social)
     6.  Header
     7.  Ambient background
     8.  Hero
     9.  Floating decor
     10. Coming Soon band
     11. Countdown
     12. Newsletter
     13. Footer
     14. Motion (keyframes, reveal)
     15. Responsive
     16. Reduced motion
   ========================================================================== */

/* 1. DESIGN TOKENS ======================================================== */
:root {
  /* Brand colours (from logo) */
  --c-purple: #65009A;
  --c-purple-700: #4E0078;
  --c-purple-900: #2A0042;
  --c-purple-100: #F0E5F6;
  --c-orange: #FF6500;
  --c-orange-600: #E55A00;
  --c-orange-100: #FFEDE0;
  --c-white: #FFFFFF;
  --c-bg: #FAF7FC;
  --c-text: #29232E;
  --c-muted: #6B6272;
  --c-line: rgba(101, 0, 154, 0.12);
  --c-footer: #1C1222;
  --c-error: #C62828;
  --c-success: #1E7A46;

  /* Typography */
  --f-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-accent: "Fraunces", Georgia, "Times New Roman", serif;

  /* Fluid type scale */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: clamp(1.02rem, 0.95rem + 0.3vw, 1.15rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --fs-h1: clamp(2.6rem, 1.5rem + 4.6vw, 5rem);

  /* Spacing, radius, shadow */
  --space-section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --container: 1200px;
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(41, 35, 46, 0.06);
  --shadow: 0 14px 40px -12px rgba(101, 0, 154, 0.18);
  --shadow-lg: 0 30px 70px -20px rgba(101, 0, 154, 0.35);

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-h: 84px;
}

/* 2. RESET & BASE ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;          /* fallback */
  overflow-x: clip;            /* never allow horizontal scroll */
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--c-purple); color: var(--c-white); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--c-purple);
  color: var(--c-white);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

/* 3. TYPOGRAPHY =========================================================== */
h1, h2, h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--c-text);
}

p { margin: 0; }

/* Italic serif accent words with a subtle brand gradient */
.accent {
  font-family: var(--f-accent);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, var(--c-purple) 10%, var(--c-orange) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em; /* keep italic overhang visible */
}
.accent--light {
  background: linear-gradient(100deg, #FFD3B5, var(--c-orange));
  -webkit-background-clip: text;
  background-clip: text;
}

.section-title { font-size: var(--fs-h2); }
.section-title--light { color: var(--c-white); }

/* 4. LAYOUT PRIMITIVES ==================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--space-section); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 4vw, 3.5rem);
}

/* 5. COMPONENTS =========================================================== */

/* -- Buttons -- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 54px;
  padding: 0.85rem 1.75rem;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--f-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.3s;
}

.btn--primary {
  color: var(--c-white);
  background: var(--c-purple);
  box-shadow: 0 10px 24px -10px rgba(101, 0, 154, 0.7);
}

/* Orange wash that slides in from the left on hover */
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, var(--c-purple-700), var(--c-orange-600));
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease-out);
}
/* Light sheen */
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease-out);
}

.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(229, 90, 0, 0.55); }
.btn--primary:hover::before { transform: translateX(0); }
.btn--primary:hover::after { left: 120%; }
.btn--primary:active { transform: translateY(0) scale(0.98); }

.btn__icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease-out);
}
.btn:hover .btn__icon { transform: translateX(4px); }

.btn--block { width: 100%; }
.btn[disabled] { cursor: progress; opacity: 0.85; }
.btn.is-loading .btn__icon { animation: spin 0.9s linear infinite; }

.link-quiet {
  position: relative;
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--c-purple);
  padding-block: 0.25rem;
}
.link-quiet::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--c-orange);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.link-quiet:hover::after { transform: scaleX(1); }

/* -- Badge ("Launching Soon") -- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  font-family: var(--f-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-purple);
  white-space: nowrap;
}
.badge__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-orange);
}
.badge__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c-orange);
  animation: ping 2s var(--ease-out) infinite;
}

/* -- Eyebrow label -- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-family: var(--f-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-orange-600);
}
.eyebrow__line {
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: #FFB27A; }

/* -- Forms -- */
.form { display: grid; gap: 1.1rem; }
.form__field { display: grid; gap: 0.4rem; }
.form__label {
  font-family: var(--f-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
}
.form__input {
  width: 100%;
  min-height: 54px;
  padding: 0.8rem 1.1rem;
  border: 1.5px solid #E4D8EC;
  border-radius: 14px;
  background: var(--c-bg);
  font-size: 1rem; /* ≥16px prevents iOS zoom on focus */
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.form__input::placeholder { color: #A79DAE; }
.form__input:hover { border-color: #CDB6DB; }
.form__input:focus {
  outline: none;
  background: var(--c-white);
  border-color: var(--c-purple);
  box-shadow: 0 0 0 4px rgba(101, 0, 154, 0.12);
}
.form__field.has-error .form__input {
  border-color: var(--c-error);
  box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.1);
}
.form__error {
  min-height: 0;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-error);
}
.form__error:empty { display: none; }
.form__status { font-size: var(--fs-sm); font-weight: 500; text-align: center; }
.form__status:empty { display: none; }
.form__status.is-success { color: var(--c-success); }
.form__status.is-error { color: var(--c-error); }
.form__note { font-size: var(--fs-xs); color: var(--c-muted); text-align: center; }

/* -- Social icons -- */
.social { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.social__link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.35s var(--ease-spring), background-color 0.3s, border-color 0.3s, color 0.3s;
}
.social__link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social__link svg .fill { fill: currentColor; stroke: none; }
.social__link:hover {
  transform: translateY(-3px);
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: var(--c-white);
}

/* 6. HEADER =============================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.site-header.is-scrolled {
  background: rgba(250, 247, 252, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--c-line), 0 10px 30px -20px rgba(101, 0, 154, 0.35);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand { flex-shrink: 0; }
.brand__logo {
  width: auto;
  height: clamp(48px, 3vw + 34px, 68px);
  animation: logoIn 1.1s var(--ease-out) both;
  transition: transform 0.4s var(--ease-out);
}
.brand:hover .brand__logo { transform: scale(1.03); }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2rem; }
.nav__link {
  position: relative;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--c-text);
  transition: color 0.25s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-orange);
  transform: translateX(-50%) scale(0);
  transition: transform 0.3s var(--ease-spring);
}
.nav__link:hover { color: var(--c-purple); }
.nav__link:hover::after { transform: translateX(-50%) scale(1); }

.site-header .badge { animation: fadeUp 0.8s var(--ease-out) 0.4s both; }

/* 7. AMBIENT BACKGROUND =================================================== */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
}
.blob--purple {
  width: 46vmax; height: 46vmax;
  top: -18vmax; right: -14vmax;
  background: radial-gradient(circle, rgba(101, 0, 154, 0.35), transparent 65%);
  animation: blobDrift 22s ease-in-out infinite alternate;
}
.blob--orange {
  width: 30vmax; height: 30vmax;
  top: 38vh; left: -12vmax;
  background: radial-gradient(circle, rgba(255, 101, 0, 0.28), transparent 65%);
  animation: blobDrift 26s ease-in-out infinite alternate-reverse;
}
.blob--lilac {
  width: 34vmax; height: 34vmax;
  bottom: -20vmax; right: 10vw;
  background: radial-gradient(circle, rgba(178, 120, 214, 0.3), transparent 65%);
  animation: blobDrift 30s ease-in-out infinite alternate;
}

/* 8. HERO ================================================================= */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  flex: 1;
}

.hero__title {
  font-size: var(--fs-h1);
  line-height: 1.02;
  margin-bottom: 1.5rem;
  max-width: 12ch;
}

/* Masked word-by-word reveal */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.word > span {
  display: inline-block;
  transform: translateY(110%) rotate(4deg);
  transform-origin: left bottom;
  animation: wordUp 1s var(--ease-out) forwards;
  animation-delay: calc(0.35s + var(--i) * 0.09s);
}

.hero__lead {
  max-width: 34rem;
  font-size: var(--fs-md);
  color: var(--c-muted);
  margin-bottom: 1.5rem;
}

.hero__tagline {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
  font-family: var(--f-display);
  font-size: 1.05rem;
}
.hero__tagline strong { color: var(--c-purple); font-weight: 700; }
.hero__tagline em {
  font-family: var(--f-accent);
  font-style: italic;
  font-weight: 500;
  color: var(--c-orange-600);
  font-size: 1.12em;
}
.hero__tagline-sep { width: 22px; height: 2px; background: var(--c-text); opacity: 0.25; }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; }

/* Nest illustration */
.hero__visual { display: grid; place-items: center; }
.nest {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
}
.nest::before { /* soft halo */
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--c-white) 0%, rgba(255, 255, 255, 0.6) 45%, transparent 70%);
  box-shadow: 0 40px 80px -30px rgba(101, 0, 154, 0.25);
}
.nest__svg { position: relative; width: 100%; height: 100%; overflow: visible; }

.nest__ring-text {
  transform-origin: 200px 200px;
  animation: spin 40s linear infinite;
}
.nest__ring-text text {
  font-family: var(--f-display);
  font-size: 13.4px;
  font-weight: 600;
  letter-spacing: 0.28em;
  fill: var(--c-purple);
}
.nest__dash {
  fill: none;
  stroke: var(--c-orange);
  stroke-width: 1.2;
  stroke-dasharray: 2 9;
  stroke-linecap: round;
  opacity: 0.7;
}
.nest__weave {
  fill: none;
  transform-origin: 200px 200px;
  stroke-linecap: round;
}
.nest__weave ellipse {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 2.4s var(--ease-out) forwards;
}
.nest__weave--purple { stroke: var(--c-purple); stroke-width: 2; opacity: 0.85; animation: spin 60s linear infinite; }
.nest__weave--orange { stroke: var(--c-orange); stroke-width: 2.6; animation: spin 48s linear infinite reverse; }
.nest__weave ellipse:nth-child(2) { animation-delay: 0.15s; }
.nest__weave ellipse:nth-child(3) { animation-delay: 0.3s; }
.nest__weave ellipse:nth-child(4) { animation-delay: 0.45s; }
.nest__weave ellipse:nth-child(5) { animation-delay: 0.6s; }
.nest__weave ellipse:nth-child(6) { animation-delay: 0.75s; }
.nest__weave--orange ellipse { animation-delay: 0.9s; }
.nest__weave--orange ellipse:nth-child(2) { animation-delay: 1.05s; }
.nest__weave--orange ellipse:nth-child(3) { animation-delay: 1.2s; }

.nest__egg {
  transform-origin: 200px 250px;
  transform-box: view-box;
  animation: eggIn 1s var(--ease-spring) 1.4s both, eggBob 4.5s ease-in-out 2.4s infinite;
  filter: drop-shadow(0 10px 14px rgba(229, 90, 0, 0.35));
}

/* 9. FLOATING DECOR ======================================================= */
.decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.decor__item {
  position: absolute;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  will-change: transform;
}

.decor__thread {
  position: absolute;
  left: 0;
  bottom: 6%;
  width: 100%;
  height: 70%;
  fill: none;
  opacity: 0.6;
}
.decor__thread path {
  stroke: var(--c-purple);
  stroke-width: 1.3;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  opacity: 0.35;
  animation: draw 4s var(--ease-out) 0.6s forwards;
}
.decor__thread .decor__thread--alt {
  stroke: var(--c-orange);
  opacity: 0.4;
  stroke-dasharray: 6 10;
  stroke-dashoffset: 0;
  animation: dashFlow 30s linear infinite;
}

.shape { display: block; }
.shape--ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--c-orange);
  opacity: 0.7;
}
.shape--dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c-purple);
  opacity: 0.8;
}
.shape--tri { width: 30px; height: 30px; fill: none; stroke: var(--c-purple); stroke-width: 2.5; stroke-linejoin: round; opacity: 0.55; }
.shape--squiggle { width: 86px; height: 22px; fill: none; stroke: var(--c-orange); stroke-width: 3; stroke-linecap: round; opacity: 0.75; }
.shape--plus {
  position: relative;
  width: 22px; height: 22px;
  opacity: 0.7;
}
.shape--plus::before,
.shape--plus::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%; height: 3px;
  border-radius: 3px;
  background: var(--c-orange);
}
.shape--plus::after { transform: rotate(90deg); }
.shape--dots {
  width: 70px; height: 70px;
  background-image: radial-gradient(var(--c-purple) 1.6px, transparent 1.8px);
  background-size: 14px 14px;
  opacity: 0.35;
}

.float { animation: float 7s ease-in-out infinite; }
.float--slow { animation-duration: 10s; }
.float--alt { animation-name: floatAlt; animation-duration: 8.5s; }

/* 10. COMING SOON BAND ==================================================== */
.band {
  position: relative;
  z-index: 3;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-block: clamp(0.9rem, 1.6vw, 1.3rem);
  background: var(--c-purple);
  transform: rotate(-1.6deg) scale(1.04);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.band__track {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  width: max-content;
  animation: marquee 38s linear infinite;
}
.band:hover .band__track { animation-play-state: paused; }
.band__word {
  font-family: var(--f-display);
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--c-white);
  animation: glow 3.2s ease-in-out infinite;
}
.band__word--outline {
  color: transparent;
  -webkit-text-stroke: 1.5px #FFB27A;
  text-shadow: none;
  animation: none;
}
.band__star {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: var(--c-orange);
  animation: spin 8s linear infinite;
}

/* 11. COUNTDOWN =========================================================== */
.timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.6rem, 2vw, 1.5rem);
  max-width: 880px;
  margin-inline: auto;
}
.timer__unit {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: clamp(1.25rem, 3vw, 2.25rem) 0.5rem;
  border-radius: var(--radius-lg);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out);
}
.timer__unit::before { /* thread accent */
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--c-purple), var(--c-orange));
}
.timer__unit:hover { transform: translateY(-4px); }
.timer__value {
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 1.2rem + 4.2vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-purple);
  font-variant-numeric: tabular-nums;
}
.timer__value.tick { animation: tick 0.5s var(--ease-out); }
.timer__label {
  font-family: var(--f-display);
  font-size: clamp(0.66rem, 0.55rem + 0.4vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-orange-600);
}

/* "Launching Soon" fallback state */
.soon {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--c-white);
  box-shadow: var(--shadow);
}
.soon::before { /* stitched inner border */
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1.5px dashed rgba(101, 0, 154, 0.2);
  pointer-events: none;
}
.soon__title {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 1.4rem + 4.6vw, 4.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
  background: linear-gradient(100deg, var(--c-purple) 0%, var(--c-purple) 35%, var(--c-orange) 50%, var(--c-purple) 65%, var(--c-purple) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s ease-in-out infinite;
}
.soon__text { max-width: 30rem; margin-inline: auto; color: var(--c-muted); }

.soon__loom { display: flex; justify-content: center; gap: 0.55rem; margin-bottom: 1.25rem; }
.soon__loom span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c-orange);
  animation: loom 1.4s ease-in-out infinite;
}
.soon__loom span:nth-child(2) { background: var(--c-purple); animation-delay: 0.18s; }
.soon__loom span:nth-child(3) { animation-delay: 0.36s; }

/* 12. NEWSLETTER ========================================================== */
.subscribe { padding-top: 0; }
.subscribe__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(0, 440px);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: calc(var(--radius-lg) + 6px);
  background: linear-gradient(145deg, var(--c-purple) 0%, var(--c-purple-900) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
.subscribe__glow {
  position: absolute;
  width: 420px; height: 420px;
  right: -120px; bottom: -180px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 101, 0, 0.45), transparent 65%);
  filter: blur(10px);
  animation: blobDrift 14s ease-in-out infinite alternate;
}
.subscribe__thread {
  position: absolute;
  left: -2%;
  top: 8%;
  width: 60%;
  z-index: -1;
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1.5;
  stroke-dasharray: 5 8;
  animation: dashFlow 40s linear infinite;
}
.subscribe__intro .section-title { margin-bottom: 1rem; }
.subscribe__text { font-size: var(--fs-md); color: rgba(255, 255, 255, 0.78); max-width: 28rem; }

.subscribe .form {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: var(--c-white);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.45);
}

/* 13. FOOTER ============================================================== */
.site-footer {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  background: var(--c-footer);
}
.site-footer::before { /* woven thread line */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-purple), var(--c-orange), var(--c-purple));
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.site-footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.site-footer__logo { height: 54px; width: auto; }
.site-footer__tagline {
  font-family: var(--f-accent);
  font-style: italic;
  font-size: 1.2rem;
  color: #FFB27A;
}
.site-footer__bottom {
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--fs-sm);
  text-align: center;
}

/* 14. MOTION ============================================================== */
/* CSS-driven entrance (no JS dependency) */
.fade-up { animation: fadeUp 0.9s var(--ease-out) var(--d, 0s) both; }
.fade-in { animation: fadeIn 1.4s var(--ease-out) var(--d, 0s) both; }

/* Scroll reveal: only hides content when JS is running */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes logoIn {
  0%   { opacity: 0; transform: translateY(-10px) scale(0.9); filter: blur(6px); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes wordUp  { to { transform: translateY(0) rotate(0); } }
@keyframes fadeUp  { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn  { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes draw    { to { stroke-dashoffset: 0; } }
@keyframes dashFlow { to { stroke-dashoffset: -600; } }
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0); }
  50%      { transform: translate3d(0, -16px, 0) rotate(6deg); }
}
@keyframes floatAlt {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0); }
  50%      { transform: translate3d(10px, 12px, 0) rotate(-10deg); }
}
@keyframes blobDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4vw, 3vh, 0) scale(1.08); }
}
@keyframes glow {
  0%, 100% { text-shadow: 0 0 10px rgba(255, 178, 122, 0.25), 0 0 30px rgba(255, 101, 0, 0.15); }
  50%      { text-shadow: 0 0 16px rgba(255, 178, 122, 0.6), 0 0 44px rgba(255, 101, 0, 0.45); }
}
@keyframes ping {
  0%   { transform: scale(1); opacity: 0.7; }
  80%, 100% { transform: scale(2.8); opacity: 0; }
}
@keyframes eggIn  { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }
@keyframes eggBob {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-3deg); }
  75% { transform: rotate(3deg); }
}
@keyframes shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes loom {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%      { transform: translateY(-8px); opacity: 1; }
}
@keyframes tick {
  0%   { transform: translateY(-30%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

/* 15. RESPONSIVE ========================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr 0.85fr; }
  .subscribe__card { grid-template-columns: 1fr; }
  .subscribe__text { max-width: none; }
}

@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .nav { display: none; }                 /* minimal header on mobile */
  .site-header__inner { gap: 1rem; }

  .hero { min-height: auto; padding-top: 1.5rem; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .hero__content { order: 2; display: flex; flex-direction: column; align-items: center; }
  .hero__visual { order: 1; }
  .hero__title { max-width: 14ch; margin-inline: auto; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .nest { width: min(72vw, 340px); }
  .decor__item--hide-sm { display: none; }
}

@media (max-width: 560px) {
  .badge { padding: 0.4rem 0.75rem; font-size: 0.78rem; }
  .eyebrow { letter-spacing: 0.14em; font-size: 0.78rem; }
  .hero__tagline { flex-wrap: wrap; justify-content: center; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }

  .timer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timer__unit { border-radius: var(--radius); }

  .site-footer__inner,
  .site-footer__brand { flex-direction: column; text-align: center; }
  .social { justify-content: center; }
}

@media (max-width: 360px) {
  .brand__logo { height: 40px; }
  .badge__dot { display: none; }
}

/* 16. REDUCED MOTION ====================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .word > span { transform: none; }
  .band__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
