/* EIWF – Coming Soon landing page
   Primary brand colour: #040250 (navy). Accent: saffron from the EIWF seal.
   Hero is pure white (no blue overlay). */

:root {
  --navy: #040250;
  --saffron: #f7a93b;
  --saffron-ink: #b4610a;
  --ink: #0a0930;
  --muted: #55587a;
  --paper: #f5f5fb;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--navy);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, p, figure {
  margin: 0;
}

a {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 4px;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 640px) {
  .container { padding: 0 32px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 48px; }
}

.hide-xs { display: none; }

@media (min-width: 640px) {
  .hide-xs { display: inline; }
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  border-radius: 999px;
  background: #fff;
  padding: 10px 16px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  padding: 18px 0;
  border-bottom: 2px solid var(--navy);
  background: #fff;
  color: var(--navy);
  transition: padding 400ms var(--ease), box-shadow 300ms ease;
}

.site-header.is-scrolled {
  padding: 12px 0;
  box-shadow: 0 10px 30px rgb(4 2 80 / 8%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-status {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .header-status { display: flex; }
}

.header-share {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgb(4 2 80 / 25%);
  border-radius: 999px;
  background: transparent;
  padding: 0 16px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 250ms ease;
}

.header-share:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}

.icon-sm { width: 16px; height: 16px; flex: 0 0 auto; }
.icon-md { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Brand & logo ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-text {
  display: block;
  min-width: 0;
}

.brand-title {
  display: block;
  font-family: "Caladea", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.005em;
}

.brand-sub {
  display: block;
  margin-top: 4px;
  font-family: "Noto Serif Ethiopic", Georgia, serif;
  font-stretch: 75%;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  opacity: 0.85;
}

.logo-disc {
  display: inline-flex;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  box-shadow: none;
  transition: transform 500ms var(--ease);
}

.logo-disc img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand:hover .logo-disc { transform: rotate(-8deg) scale(1.06); }

.logo-disc-lg {
  width: 150px;
  height: 150px;
  padding: 0;
  box-shadow: none;
}

@media (max-width: 640px) {
  .logo-disc-lg { width: 120px; height: 120px; }
}

@media (max-width: 480px) {
  .brand { gap: 10px; }
  .brand-title { font-size: 15px; }
  .brand-sub { font-size: 9.5px; }
  .logo-disc { width: 44px; height: 44px; }
}

.logo-float { display: inline-flex; animation: floaty 6s ease-in-out infinite; }

/* ---------- Hero (white) ---------- */

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  background: #fff;
  color: var(--navy);
  padding: 130px 0 72px;
}

@media (min-width: 1024px) {
  .hero { padding: 140px 0 80px; }
}

.hero-caption-text {
  color: var(--navy);
}

.hero-layout {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
  }
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-status-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--saffron);
}

.hero-status-pulse::after {
  position: absolute;
  inset: -6px;
  border: 1px solid rgb(247 169 59 / 60%);
  border-radius: 50%;
  content: "";
  animation: ripple 2.2s ease-out infinite;
}

.hero-brand {
  margin: 0 0 0 -0.06em;
  color: var(--navy);
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(4.5rem, 13vw, 10.5rem);
  font-weight: 800;
  letter-spacing: -0.085em;
  line-height: 0.82;
}

.hero-full-name {
  margin-top: 16px;
  color: var(--navy);
  opacity: 0.7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 720px;
  margin-top: 22px;
  color: var(--navy);
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.hero-title span { color: var(--saffron-ink); }

.hero-lede {
  max-width: 480px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-foot {
  display: none;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-foot a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

.hero-foot a:hover { color: var(--saffron-ink); }

.hero-foot-line {
  width: 40px;
  height: 1px;
  background: rgb(4 2 80 / 25%);
}

@media (min-width: 640px) {
  .hero-foot { display: flex; }
}

/* Hero photograph (no tint or overlay) */

.hero-photo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: transparent;
}

.hero-image {
  width: 100%;
  height: clamp(300px, 50vw, 480px);
  border-radius: 32px;
  box-shadow: 0 40px 90px rgb(4 2 80 / 16%);
  object-fit: cover;
  object-position: 50% 40%;
  animation: cinematic 16s var(--ease) both;
}

.hero-caption {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.hero-caption .logo-disc {
  width: 52px;
  height: 52px;
}

.hero-caption-text {
  color: var(--navy);
  font-family: "Caladea", Georgia, serif;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 480px) {
  .hero-image { height: 300px; }
  .hero-caption-text { font-size: 12px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 300ms var(--ease), background-color 300ms ease, color 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.btn-primary {
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 34px rgb(4 2 80 / 20%);
}

.btn-primary:hover {
  transform: translateY(-2px);
  border-color: var(--saffron);
  background: var(--saffron);
  color: var(--navy);
  box-shadow: 0 18px 40px rgb(4 2 80 / 22%);
}

.btn-ghost {
  border: 1px solid rgb(4 2 80 / 25%);
  background: transparent;
  color: var(--navy);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--navy);
  background: rgb(4 2 80 / 6%);
}

.launch-section .btn-primary {
  border-color: #fff;
  background: #fff;
  color: var(--navy);
}

.launch-section .btn-primary:hover {
  border-color: var(--saffron);
  background: var(--saffron);
}

.launch-section .btn-ghost {
  border-color: rgb(255 255 255 / 32%);
  background: rgb(255 255 255 / 8%);
  color: #fff;
}

.launch-section .btn-ghost:hover {
  border-color: rgb(255 255 255 / 70%);
  background: rgb(255 255 255 / 18%);
}

.arrow-link { transition: transform 400ms var(--ease); }
.btn-primary:hover .arrow-link { transform: translate(2px, -2px); }

/* ---------- Preview section ---------- */

.preview-section {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding: 96px 0;
}

@media (min-width: 640px) {
  .preview-section { padding: 128px 0; }
}

@media (min-width: 1024px) {
  .preview-section { padding: 160px 0; }
}

.section-orb {
  position: absolute;
  top: 6%;
  right: -12%;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(247 169 59 / 14%), transparent 65%);
  animation: slowFloat 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.section-kicker {
  color: var(--saffron-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-title {
  max-width: 1060px;
  margin-top: 18px;
  color: var(--navy);
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(2.4rem, 6.4vw, 6.5rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.intro-grid {
  display: grid;
  gap: 28px;
  margin-top: 40px;
}

@media (min-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 96px;
    margin-top: 56px;
  }
}

.lede {
  max-width: 520px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.statement-line {
  color: var(--navy);
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.statement-line span { color: var(--saffron-ink); }

.preview-list {
  margin-top: 72px;
  border-top: 1px solid rgb(4 2 80 / 14%);
}

@media (min-width: 640px) {
  .preview-list { margin-top: 112px; }
}

.preview-row {
  display: grid;
  grid-template-columns: 36px 1fr 28px;
  align-items: center;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid rgb(4 2 80 / 14%);
  transition: padding 400ms var(--ease), background-color 400ms ease;
}

.preview-row:hover {
  padding-right: 16px;
  padding-left: 16px;
  background: rgb(4 2 80 / 3%);
}

.preview-number {
  color: var(--saffron-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.preview-title {
  color: var(--navy);
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.preview-copy {
  display: none;
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.preview-arrow {
  width: 28px;
  height: 28px;
  color: var(--navy);
  transition: transform 400ms var(--ease), color 300ms ease;
}

.preview-row:hover .preview-arrow {
  transform: translate(3px, -3px);
  color: var(--saffron-ink);
}

@media (min-width: 640px) {
  .preview-row {
    grid-template-columns: 56px 1fr 1fr 32px;
    gap: 24px;
    min-height: 150px;
    padding: 40px 0;
  }

  .preview-copy { display: block; }
}

/* ---------- Launch / CTA ---------- */

.launch-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at 15% 0%, rgb(247 169 59 / 10%), transparent 40%), var(--navy);
  color: #fff;
  text-align: center;
}

.launch-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.08;
  background-image:
    linear-gradient(rgb(255 255 255 / 50%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 50%) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
}

.launch-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(110px);
  animation: ambient 11s ease-in-out infinite alternate;
  pointer-events: none;
}

.launch-glow-saffron {
  top: -25%;
  right: -8%;
  width: 40vw;
  height: 40vw;
  background: var(--saffron);
  opacity: 0.2;
}

.launch-glow-navy {
  bottom: -30%;
  left: -10%;
  width: 46vw;
  height: 46vw;
  background: #3a3ad0;
  opacity: 0.3;
  animation-delay: -3s;
}

.launch-section .section-kicker { color: var(--saffron); }

.launch-section-inner { padding: 96px 0; }

@media (min-width: 640px) {
  .launch-section-inner { padding: 128px 0; }
}

@media (min-width: 1024px) {
  .launch-section-inner { padding: 160px 0; }
}

.launch-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.launch-title {
  max-width: 980px;
  margin: 20px auto 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(2.6rem, 7vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.launch-lede {
  max-width: 560px;
  margin: 24px auto 0;
  color: rgb(255 255 255 / 72%);
  font-size: 16px;
  line-height: 1.75;
}

.launch-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #fff;
  border-top: 4px solid var(--navy);
  color: var(--navy);
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding: 64px 0;
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
}

.footer-heading {
  margin-bottom: 14px;
  color: var(--saffron-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-link {
  display: inline-block;
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgb(4 2 80 / 30%);
  padding-bottom: 2px;
  transition: color 200ms ease, border-color 200ms ease;
}

.footer-link:hover {
  color: var(--saffron-ink);
  border-color: var(--saffron);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
  border-top: 2px solid var(--navy);
  padding: 22px 0;
  color: var(--muted);
  font-size: 12px;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

/* ---------- Status, toast, reveal, entrances ---------- */

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 4px rgb(247 169 59 / 18%);
  animation: statusPulse 2.4s ease-in-out infinite;
}

.toast {
  position: fixed;
  z-index: 80;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 999px;
  background: rgb(4 2 80 / 94%);
  padding: 13px 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  box-shadow: 0 16px 50px rgb(4 2 80 / 30%);
  backdrop-filter: blur(14px);
  transition: all 300ms var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.enter {
  opacity: 0;
  transform: translateY(24px);
  animation: enterUp 900ms var(--ease) forwards;
}

.enter-1 { animation-delay: 180ms; }
.enter-2 { animation-delay: 280ms; }
.enter-3 { animation-delay: 390ms; }
.enter-4 { animation-delay: 500ms; }
.enter-5 { animation-delay: 640ms; }

/* ---------- 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;
  }

  .reveal,
  .enter {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Keyframes ---------- */

@keyframes enterUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cinematic {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes ambient {
  from { transform: translate3d(-2%, -2%, 0) scale(0.95); }
  to { transform: translate3d(4%, 3%, 0) scale(1.08); }
}

@keyframes slowFloat {
  from { transform: translateY(-15px) scale(0.95); }
  to { transform: translateY(20px) scale(1.08); }
}

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

@keyframes ripple {
  0% { transform: scale(0.6); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

@keyframes statusPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
