/* ═══════════════════════════════════════════════════════
   Axiom Studio — styles.css
   axiomstudio.xyz
   ═══════════════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bk:   #070708;
  --bk2:  #0A0A0B;
  --wh:   #F2F0EB;
  --bl:   #2B5FED;
  --gr:   #2A2A2C;
  --lg:   #888;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
  --nav-h: 80px;
  --pad-x: 56px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bk);
  color: var(--wh);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

[hidden] {
  display: none !important;
}

/* ── Noise overlay ─────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 9997;
}

/* ── Custom cursor (desktop only) ──────────────────────── */
#cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--bl);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, background 0.2s;
}

#cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(43, 95, 237, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.2s;
}

.cursor-hover #cursor {
  width: 14px;
  height: 14px;
  background: var(--wh);
}

.cursor-hover #cursor-ring {
  width: 52px;
  height: 52px;
  border-color: rgba(242, 240, 235, 0.3);
}

/* ── Loader ────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bk);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 32px;
  transition: opacity 0.8s ease, visibility 0.8s;
}

#loader.done {
  opacity: 0;
  visibility: hidden;
}

.loader-mark svg {
  opacity: 0;
  animation: markReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes markReveal {
  from { opacity: 0; transform: translateY(12px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

.loader-bar {
  width: 200px;
  height: 1px;
  background: var(--gr);
  position: relative;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bl);
  transform: translateX(-100%);
  animation: loadBar 1.2s cubic-bezier(0.65, 0, 0.35, 1) 0.5s forwards;
}

@keyframes loadBar {
  to { transform: translateX(0); }
}

/* ── Reveal animations ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.32s; }
.reveal-delay-4 { transition-delay: 0.44s; }

/* ── Nav ───────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(7, 7, 8, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(42, 42, 44, 0.7);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.nav-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-axiom {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--wh);
}

.nav-studio {
  font-size: 7.5px;
  letter-spacing: 0.32em;
  color: var(--lg);
  font-weight: 400;
  margin-top: 3px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--lg);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
  text-transform: uppercase;
}

.nav-links a:hover { color: var(--wh); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--wh);
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bk);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(36px, 8vw, 60px);
  color: var(--wh);
  text-decoration: none;
  font-weight: 300;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--bl); }

.mobile-close {
  position: absolute;
  top: 28px;
  right: var(--pad-x);
  background: none;
  border: none;
  color: var(--lg);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

/* ── Shared section helpers ────────────────────────────── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--gr) 30%,
    var(--gr) 70%,
    transparent 100%);
  margin: 0 var(--pad-x);
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--bl);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--bl);
  flex-shrink: 0;
}

/* ── Hero ──────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 60px) var(--pad-x) 80px;
  position: relative;
  overflow: hidden;
}

.hero-mark-bg {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  opacity: 0.028;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 1200px;
  width: 100%;
}

.hero-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--bl);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--bl);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(58px, 9vw, 126px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--wh);
  margin-bottom: 60px;
}

.hero-headline em {
  font-style: italic;
  color: var(--lg);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-tagline {
  font-size: clamp(14px, 1.5vw, 17px);
  color: var(--lg);
  max-width: 360px;
  line-height: 1.75;
  font-weight: 300;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--wh);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: 1px solid rgba(242, 240, 235, 0.15);
  transition: border-color 0.3s, background 0.3s;
  white-space: nowrap;
  font-weight: 400;
  flex-shrink: 0;
}

.hero-cta:hover {
  border-color: var(--bl);
  background: rgba(43, 95, 237, 0.06);
}

.hero-cta svg {
  width: 14px;
  height: 14px;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: var(--pad-x);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--lg);
  text-transform: uppercase;
}

.scroll-line {
  width: 48px;
  height: 1px;
  background: var(--gr);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bl);
  transform: translateX(-100%);
  animation: scrollPulse 2.5s ease-in-out 2s infinite;
}

@keyframes scrollPulse {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ── Disciplines ───────────────────────────────────────── */
#disciplines {
  padding: 140px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.disciplines-title {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.disciplines-title em {
  font-style: italic;
  color: var(--lg);
}

.disciplines-list {
  display: flex;
  flex-direction: column;
}

.discipline-item {
  padding: 36px 0;
  border-bottom: 1px solid var(--gr);
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: start;
  gap: 24px;
  position: relative;
  cursor: default;
}

.discipline-item:first-child { border-top: 1px solid var(--gr); }

.discipline-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: rgba(43, 95, 237, 0.04);
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.discipline-item:hover::before { width: 100%; }

.discipline-num {
  font-size: 10.5px;
  color: var(--bl);
  letter-spacing: 0.1em;
  font-weight: 400;
  padding-top: 4px;
}

.discipline-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 8px;
}

.discipline-desc {
  font-size: 12px;
  color: var(--lg);
  line-height: 1.75;
  max-width: 300px;
}

.discipline-arrow {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s;
  color: var(--bl);
  font-size: 18px;
  padding-top: 2px;
}

.discipline-item:hover .discipline-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── Products ──────────────────────────────────────────── */
#products {
  padding: 140px var(--pad-x);
  background: var(--bk2);
  position: relative;
  overflow: hidden;
}

.products-mark-bg {
  position: absolute;
  left: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 550px;
  height: 550px;
  opacity: 0.018;
  pointer-events: none;
}

.products-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 72px;
  flex-wrap: wrap;
  gap: 20px;
}

.products-title {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.products-count {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--lg);
  text-transform: uppercase;
  padding-bottom: 8px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gr);
}

.product-card {
  background: var(--bk2);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
  min-height: 400px;
  text-decoration: none;
  color: inherit;
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--bl);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover { background: #0F0F11; }
.product-card:hover::after { transform: scaleX(1); }
.product-card-no-link { cursor: default; }
.product-card-no-link:hover { cursor: default; }

.product-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 36px;
  opacity: 0.9;
  flex-shrink: 0;
}

.product-tag {
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-tag .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.product-live .product-tag  { color: #4ADE80; }
.product-live .dot           { background: #4ADE80; }
.product-incubating .product-tag { color: var(--lg); }
.product-incubating .dot         { background: var(--lg); }

.product-name {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.product-desc {
  font-size: 12px;
  color: var(--lg);
  line-height: 1.75;
  flex: 1;
}

.product-card-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--gr);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--bl);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

.product-card:hover .product-card-bottom {
  opacity: 1;
  transform: translateY(0);
}

.product-incubating .product-card-bottom {
  color: var(--lg);
  border-top-color: #1e1e1e;
}

/* ── Philosophy ────────────────────────────────────────── */
#philosophy {
  padding: 160px var(--pad-x);
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 120px;
  align-items: center;
}

.philosophy-mark {
  width: 88px;
  height: 88px;
  opacity: 0.55;
  margin-bottom: 36px;
}

.philosophy-aside-label {
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--bl);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 16px;
}

.philosophy-aside-text {
  font-size: 12px;
  color: var(--lg);
  line-height: 1.85;
}

.philosophy-quote {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin-bottom: 60px;
}

.philosophy-quote em {
  font-style: italic;
  color: var(--bl);
}

.values-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--gr);
}

.value-item {
  background: var(--bk);
  padding: 26px 16px;
  text-align: center;
  transition: background 0.3s;
}

.value-item:hover { background: rgba(43, 95, 237, 0.05); }

.value-num {
  font-size: 9px;
  color: var(--bl);
  letter-spacing: 0.2em;
  margin-bottom: 10px;
  display: block;
}

.value-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ── Contact ───────────────────────────────────────────── */
#contact {
  background: var(--bl);
  padding: 120px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 60%);
}

.contact-headline {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 300;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  position: relative;
}

.contact-right { position: relative; }

.contact-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.85;
  margin-bottom: 44px;
  max-width: 380px;
  font-weight: 300;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 300;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 10px;
  transition: border-color 0.3s;
  letter-spacing: -0.01em;
}

.contact-email:hover { border-color: #fff; }

.contact-email svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact-mark-bg {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  opacity: 0.09;
  pointer-events: none;
}

/* ── Footer ────────────────────────────────────────────── */
footer {
  padding: 36px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--gr);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 10.5px;
  color: var(--lg);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
}

.footer-left svg {
  width: 18px;
  height: 18px;
  opacity: 0.55;
  flex-shrink: 0;
}

.footer-right {
  font-size: 10px;
  color: var(--lg);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social a {
  color: var(--lg);
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  color: var(--wh);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════ */

/* ── Large tablets (≤ 1100px) ──────────────────────────── */
@media (max-width: 1100px) {
  :root { --pad-x: 40px; }

  #disciplines {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 100px var(--pad-x);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #philosophy {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 100px var(--pad-x);
  }

  .values-row { grid-template-columns: repeat(3, 1fr); }
}

/* ── Tablets (≤ 768px) ─────────────────────────────────── */
@media (max-width: 768px) {
  :root { --pad-x: 28px; }

  body { cursor: auto; }
  #cursor, #cursor-ring { display: none; }

  nav { padding: 0 var(--pad-x); height: 68px; }

  .nav-links { display: none; }

  .nav-hamburger { display: flex; }

  .mobile-menu { display: flex; }

  #hero {
    padding: calc(68px + 48px) var(--pad-x) 80px;
    min-height: 100svh;
  }

  .hero-mark-bg {
    width: 90vw;
    height: 90vw;
    right: -20%;
    opacity: 0.02;
  }

  .hero-label {
    font-size: 9px;
    margin-bottom: 36px;
  }

  .hero-headline { margin-bottom: 44px; }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .hero-tagline { max-width: 100%; }

  .hero-scroll { display: none; }

  .section-divider { margin: 0 var(--pad-x); }

  #disciplines {
    padding: 80px var(--pad-x);
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .discipline-item {
    grid-template-columns: 36px 1fr;
    padding: 28px 0;
  }

  .discipline-arrow { display: none; }

  .discipline-name { font-size: 22px; }

  #products { padding: 80px var(--pad-x); }

  .products-header { margin-bottom: 52px; }

  .products-grid { grid-template-columns: 1fr; }

  .product-card { min-height: auto; padding: 36px 28px; }

  .product-card-bottom {
    opacity: 1;
    transform: translateY(0);
  }

  #philosophy {
    padding: 80px var(--pad-x);
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .philosophy-aside { display: flex; flex-direction: column; }

  .philosophy-mark { width: 64px; height: 64px; }

  .values-row { grid-template-columns: repeat(2, 1fr); }

  .value-item { padding: 22px 12px; }

  #contact {
    grid-template-columns: 1fr;
    padding: 80px var(--pad-x);
    gap: 48px;
  }

  .contact-mark-bg { display: none; }

  footer {
    padding: 32px var(--pad-x);
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* ── Mobile (≤ 480px) ──────────────────────────────────── */
@media (max-width: 480px) {
  :root { --pad-x: 20px; }

  .hero-label { display: none; }

  .hero-headline { font-size: clamp(48px, 14vw, 72px); }

  .hero-cta {
    padding: 14px 24px;
    font-size: 10.5px;
    width: 100%;
    justify-content: center;
  }

  .products-grid { gap: 1px; }

  .product-name { font-size: 28px; }

  .values-row { grid-template-columns: 1fr 1fr; }

  .contact-headline { font-size: clamp(34px, 10vw, 52px); }

  .mobile-close { right: var(--pad-x); }
}

/* ═══════════════════════════════════════════════════════
   Subscribe Section
   ═══════════════════════════════════════════════════════ */

#subscribe {
  padding: 140px var(--pad-x);
  position: relative;
  overflow: hidden;
}

/* Subtle blue ambient glow in the background */
#subscribe::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(43, 95, 237, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.subscribe-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

/* ── Left: copy ─────────────────────────────────────── */
.subscribe-title {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}

.subscribe-title em {
  font-style: italic;
  color: var(--bl);
}

.subscribe-desc {
  font-size: 13.5px;
  color: var(--lg);
  line-height: 1.8;
  max-width: 340px;
  font-weight: 300;
}

/* ── Right: form ────────────────────────────────────── */
.subscribe-right {
  position: relative;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.subscribe-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subscribe-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--lg);
  text-transform: uppercase;
  font-weight: 400;
}

.subscribe-input-row {
  display: flex;
  gap: 0;
}

.subscribe-input {
  flex: 1;
  background: transparent;
  border: 1px solid var(--gr);
  border-right: none;
  color: var(--wh);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  padding: 15px 20px;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  border-radius: 0;
}

.subscribe-input::placeholder {
  color: #444;
}

.subscribe-input:focus {
  border-color: var(--bl);
}

.subscribe-btn {
  background: var(--bl);
  border: 1px solid var(--bl);
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 15px 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.25s, border-color 0.25s;
  white-space: nowrap;
  position: relative;
  border-radius: 0;
  flex-shrink: 0;
}

.subscribe-btn:hover:not(:disabled) {
  background: #1a4fd6;
  border-color: #1a4fd6;
}

.subscribe-btn:disabled {
  cursor: default;
  opacity: 0.7;
}

/* Arrow icon */
.btn-arrow {
  width: 13px;
  height: 13px;
  transition: transform 0.25s;
  flex-shrink: 0;
}

.subscribe-btn:hover:not(:disabled) .btn-arrow {
  transform: translateX(3px);
}

/* Spinner — hidden by default, shown during loading */
.btn-spinner {
  width: 16px;
  height: 16px;
  display: none;
  flex-shrink: 0;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Loading state */
.subscribe-btn.loading .btn-text,
.subscribe-btn.loading .btn-arrow {
  display: none;
}

.subscribe-btn.loading .btn-spinner {
  display: block;
}

/* Privacy note */
.subscribe-privacy {
  font-size: 11px;
  color: #555;
  letter-spacing: 0.04em;
}

/* ── Success state ──────────────────────────────────── */
.subscribe-success {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.success-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--bl);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.success-icon svg {
  width: 20px;
  height: 20px;
}

.success-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--wh);
}

.success-desc {
  font-size: 13px;
  color: var(--lg);
  line-height: 1.7;
}

/* ── Error state ────────────────────────────────────── */
.subscribe-error {
  font-size: 12px;
  color: #e05c5c;
  margin-top: 12px;
  line-height: 1.6;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .subscribe-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .subscribe-desc { max-width: 100%; }
}

@media (max-width: 768px) {
  #subscribe { padding: 80px var(--pad-x); }

  .subscribe-input-row { flex-direction: column; }

  .subscribe-input {
    border-right: 1px solid var(--gr);
    border-bottom: none;
  }

  .subscribe-input:focus {
    border-color: var(--bl);
  }

  .subscribe-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
  }
}

@media (max-width: 480px) {
  .subscribe-title { font-size: clamp(34px, 10vw, 50px); }
}
