/* ============================================
   PrawnCo — Coming Soon
   Tokens
   ============================================ */
:root {
  --navy-950: #060f24;
  --navy-900: #0a2040;
  --navy-850: #0d2749;
  --navy-800: #123059;
  --navy-700: #1a3d6e;

  --coral-500: #ef4023;
  --coral-400: #f4643f;
  --coral-600: #c9331a;

  --gold-400: #d5a984;
  --gold-300: #e3c4a6;

  --cream-50: #faf5ec;
  --white: #ffffff;

  --ink-muted: rgba(250, 245, 236, 0.68);
  --ink-faint: rgba(250, 245, 236, 0.42);

  --font-display: 'Big Shoulders Display', sans-serif;
  --font-hand: 'Caveat', cursive;
  --font-body: 'Work Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;

}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--cream-50);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
}

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

/* ============================================
   Ambient texture
   ============================================ */

.watermark {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cpath d='M78 100c-17 6-38-2-44-18-5-13 3-27 17-31 12-3 24 3 28 14 1-6 5-13 13-16 6-2 11 4 7 9-3 4-8 4-11 7 8 0 14 5 17 10' stroke='%23EF4023' stroke-width='3' fill='none' stroke-linecap='round' transform='rotate(-18 70 70)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
  background-repeat: repeat;
}


/* Headline text reveal — each line is masked by its wrapper and slides up into view, staggered */

.reveal-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em; /* keeps descenders (g, y) from clipping */
  margin-bottom: -0.08em;
}

.reveal-inner {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
}

body.is-ready .reveal-inner {
  animation: revealUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes revealUp {
  0%   { transform: translateY(115%); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-inner {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.03), transparent 40%),
                     radial-gradient(circle at 80% 60%, rgba(255,255,255,0.025), transparent 45%);
}

/* ============================================
   Intro — logo holds in the center, then settles
   into the homepage mark
   ============================================ */

.intro {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  pointer-events: none;
}

.intro__logo {
  width: min(500px, 82vw);
  height: auto;
  display: block;
  will-change: transform;
  animation: introPop 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes introPop {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

body.intro-pending {
  overflow: hidden;
}

body.intro-pending .logo {
  visibility: hidden;
}

body.intro-pending .tagline,
body.intro-pending .headline,
body.intro-pending .foot {
  opacity: 0;
}

/* ============================================
   Layout shell
   ============================================ */

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 140px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.topbar__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-300);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral-500);
  box-shadow: 0 0 0 0 rgba(239, 64, 35, 0.6);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(239, 64, 35, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(239, 64, 35, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 64, 35, 0); }
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 6vh;
}

.logo {
  width: min(340px, 78vw);
  height: auto;
  margin-bottom: 6px;
}

.tagline {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 26px;
  color: var(--gold-400);
  margin: 0 0 30px;
  letter-spacing: 0.01em;
  transform: rotate(-1.5deg);
  opacity: 0;
}

body.is-ready .tagline {
  animation: taglineIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.06s forwards;
}

@keyframes taglineIn {
  from { opacity: 0; transform: rotate(-1.5deg) translateY(10px); }
  to   { opacity: 1; transform: rotate(-1.5deg) translateY(0); }
}

.headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 9vw, 76px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 22px;
  color: var(--white);
}

.headline__accent {
  color: var(--coral-500);
}

.soon-dots {
  display: inline-block;
}

.soon-dots span {
  display: inline-block;
  opacity: 1;
}

body.is-ready .soon-dots span:nth-child(1) {
  animation: soonDot1 1.6s ease-in-out 1.35s infinite;
}

body.is-ready .soon-dots span:nth-child(2) {
  animation: soonDot2 1.6s ease-in-out 1.35s infinite;
}

@keyframes soonDot1 {
  0%, 12% { opacity: 0; }
  22%, 78% { opacity: 1; }
  90%, 100% { opacity: 0; }
}

@keyframes soonDot2 {
  0%, 38% { opacity: 0; }
  48%, 78% { opacity: 1; }
  90%, 100% { opacity: 0; }
}

.subcopy {
  max-width: 480px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0 0 36px;
}

/* ============================================
   Signup form
   ============================================ */

.signup {
  display: flex;
  width: 100%;
  max-width: 420px;
  gap: 10px;
  margin-bottom: 12px;
}

.signup input {
  flex: 1;
  min-width: 0;
  background: var(--navy-850);
  border: 1px solid var(--navy-700);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--cream-50);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.signup input::placeholder { color: var(--ink-faint); }

.signup input:focus {
  outline: none;
  border-color: var(--coral-500);
  background: var(--navy-800);
}

.signup input:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 2px;
}

.signup button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral-500);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease;
}

.signup button:hover { background: var(--coral-600); transform: translateY(-1px); }
.signup button:active { transform: translateY(0); }

.signup button:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 2px;
}

.signup button svg { transition: transform 0.18s ease; }
.signup button:hover svg { transform: translateX(2px); }

.form-note {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin: 0 0 48px;
  min-height: 16px;
}

.form-note.is-success { color: var(--gold-300); }
.form-note.is-error { color: var(--coral-400); }

/* ============================================
   Countdown
   ============================================ */

.countdown {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 52px;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.countdown__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(22px, 5vw, 32px);
  color: var(--white);
  background: var(--navy-850);
  border: 1px solid var(--navy-700);
  border-radius: 8px;
  padding: 8px 4px;
  min-width: 58px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.countdown__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.countdown__colon {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--ink-faint);
  transform: translateY(-8px);
}

/* ============================================
   Spec badges — real product claims, not decoration
   ============================================ */

.specs {
  list-style: none;
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 560px;
  border-top: 1px solid var(--navy-700);
}

.specs__item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 12px 0;
  text-align: left;
}

.specs__item + .specs__item {
  border-left: 1px solid var(--navy-700);
  padding-left: 16px;
}

.specs__item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--gold-400);
}

.specs__item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cream-50);
}

.specs__item span {
  display: block;
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: 2px;
}

/* ============================================
   Footer
   ============================================ */

.foot {
  text-align: center;
  font-size: 12px;
  color: var(--ink-faint);
  padding: 40px 0 10px;
  opacity: 0;
}

body.is-ready .foot {
  animation: fadeIn 0.55s ease 0.28s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}





/* ============================================
   Responsive
   ============================================ */

@media (max-width: 560px) {
  .signup { flex-direction: column; }
  .specs { flex-direction: column; gap: 16px; }
  .specs__item + .specs__item { border-left: none; border-top: 1px solid var(--navy-700); padding-left: 12px; padding-top: 16px; }
  .countdown { gap: 8px; }
  .countdown__value { min-width: 46px; padding: 6px 2px; }
  .tide__shrimp { display: none; }
  .logo{
    width: min(340px, 58vw);
  }
  .intro__logo {
    width: min(500px, 78vw);
  }
  
  .headline {
    font-size: clamp(57px, 9vw, 76px);
  }
    
}

@media (max-width: 560px) {
  .hero {
    flex: 1;
    justify-content: center;
    padding-top: 0;
  }

  .page {
    min-height: 100dvh;
  }
}

/* ============================================
   Reduced motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .status-dot, .tide__path, .tide__shrimp, .signup button, .signup button svg,
  .intro, .intro__logo, .tagline, .foot, .soon-dots span {
    animation: none !important;
    transition: none !important;
  }
  .soon-dots span {
    opacity: 1 !important;
  }
  .tagline, .foot {
    opacity: 1 !important;
  }
  .tagline {
    transform: rotate(-1.5deg) !important;
  }
}