/* ===== The Driven Studio — Coming Soon ===== */
:root {
  --ink: #13242e;           /* deep navy, matches the logo */
  --muted: #6a767d;
  --line: #e9eaec;
  --bg: #ffffff;
  --accent: #c39b4e;        /* refined gold — premium navy + gold pairing */
  --accent-soft: #f6efe0;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- Background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(19,36,46,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(19,36,46,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .6;
  will-change: transform;
}
.blob--1 {
  width: 520px; height: 520px;
  top: -160px; right: -120px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  animation: drift1 18s ease-in-out infinite;
}
.blob--2 {
  width: 460px; height: 460px;
  bottom: -180px; left: -120px;
  background: radial-gradient(circle, #eaf0f3, transparent 70%);
  animation: drift2 22s ease-in-out infinite;
}
@keyframes drift1 {
  50% { transform: translate(-40px, 60px) scale(1.1); }
}
@keyframes drift2 {
  50% { transform: translate(50px, -40px) scale(1.08); }
}

/* ---------- Layout ---------- */
.page {
  max-width: 980px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 28px 36px;
  display: flex;
  flex-direction: column;
}

/* ---------- Top ---------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { height: 80px; width: auto; display: block; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(6px);
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(195,155,78,.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(195,155,78,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(195,155,78,0); }
  100% { box-shadow: 0 0 0 0 rgba(195,155,78,0); }
}

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0;
  max-width: 720px;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 22px;
}
.title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(3rem, 9vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.title .line { display: block; }
.accent { position: relative; color: var(--ink); white-space: nowrap; font-style: italic; }
.underline {
  position: absolute;
  left: 0; bottom: .04em;
  height: .07em; width: 100%;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: line-in .8s cubic-bezier(.2,.8,.2,1) 1.15s forwards;
}
@keyframes line-in { to { transform: scaleX(1); } }

.lead {
  margin-top: 30px;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 520px;
}

/* ---------- Form ---------- */
.notify {
  margin-top: 38px;
  display: flex;
  gap: 10px;
  max-width: 460px;
  width: 100%;
}
.notify input {
  flex: 1;
  font: inherit;
  font-size: 15px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.notify input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.notify button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  background: var(--ink);
  border: none;
  padding: 14px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .18s, background .2s;
}
.notify button:hover { transform: translateY(-2px); background: #1d3340; }
.notify button:hover svg { transform: translateX(3px); }
.notify button svg { transition: transform .2s; }

.formnote {
  margin-top: 14px;
  font-size: 14px;
  height: 18px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s, transform .25s;
}
.formnote.show { opacity: 1; transform: none; }
.formnote.ok { color: var(--ink); }
.formnote.err { color: #d23f3f; }

/* ---------- Bottom ---------- */
.bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.social { display: flex; gap: 24px; flex-wrap: wrap; }
.social a {
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color .2s;
}
.social a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .28s ease;
}
.social a:hover { color: var(--ink); }
.social a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal .8s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes reveal {
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .page { padding: 28px 20px 28px; }
  .hero { padding: 40px 0; }
  .logo { height: 64px; }
  .notify { flex-direction: column; }
  .notify button { justify-content: center; }
  .badge { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .underline { transform: scaleX(1); }
}
