/* ============================================================
   FORGE — homepage rebuild
   Tone: forged industrial luxury. Dark smithy, ember amber.
   Dials: variance 8 · motion 6 · density 4
   Palette (brand-locked): charcoal tinted toward amber, one accent.
   ============================================================ */

:root {
  --bg: #14110d;
  --bg-deep: #100d0a;
  --surface: #1b1712;
  --surface-2: #221d16;
  --surface-high: #2a241b;
  --border: rgba(240, 224, 198, 0.08);
  --border-strong: rgba(240, 224, 198, 0.16);
  --text: #f2eadc;
  --text-2: #a99a82;
  --text-3: #766b58;
  --accent: #e0a15e;
  --accent-2: #ebb071;
  --accent-soft: rgba(224, 161, 94, 0.12);
  --on-accent: #1a1206;
  --serif: "Fraunces", serif;
  --sans: "Plus Jakarta Sans", -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r-lg: 28px;
  --r-md: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- atmosphere: grain + ember field ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
.embers {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.embers::before,
.embers::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}
.embers::before {
  width: 56vw;
  height: 56vw;
  right: -18vw;
  top: -12vw;
  background: radial-gradient(closest-side, rgba(224, 161, 94, 0.14), transparent 70%);
}
.embers::after {
  width: 44vw;
  height: 44vw;
  left: -16vw;
  top: 58vh;
  background: radial-gradient(closest-side, rgba(224, 161, 94, 0.07), transparent 70%);
}
.ember {
  position: absolute;
  left: var(--x, 50%);
  bottom: -2%;
  width: var(--s, 4px);
  height: var(--s, 4px);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(224, 161, 94, 0.8), 0 0 16px rgba(224, 161, 94, 0.3);
  opacity: 0;
  animation: rise var(--d, 11s) linear infinite;
  animation-delay: var(--de, 0s);
}
@keyframes rise {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  8% { opacity: var(--o, 0.55); }
  60% { opacity: calc(var(--o, 0.55) * 0.5); }
  100% { transform: translate(var(--dr, 3vw), -108vh) scale(0.55); opacity: 0; }
}

.page { position: relative; z-index: 1; }

/* ---------- reveal motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ember { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- nav: floating pill ---------- */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 9px 12px 9px 14px;
  border-radius: 999px;
  background: rgba(20, 17, 13, 0.62);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid rgba(224, 161, 94, 0.3);
}
.nav-brand span { font-weight: 700; font-size: 17px; letter-spacing: 0.2px; }
.nav-links { display: flex; gap: 20px; }
.nav-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 999px;
  transition: transform 0.18s var(--ease), box-shadow 0.25s ease;
  box-shadow: 0 8px 26px rgba(224, 161, 94, 0.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(224, 161, 94, 0.42); }
.nav-cta:active { transform: scale(0.97); }

/* ---------- hero: asymmetric split ---------- */
.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(120px, 16vh, 170px) clamp(20px, 4vw, 48px) clamp(50px, 7vh, 80px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(224, 161, 94, 0.06);
}
.eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.1rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 26px 0 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.h1-line { display: block; overflow: hidden; }
.h1-line span {
  display: block;
  transform: translateY(110%);
  animation: lineup 0.9s var(--ease) forwards;
}
.h1-line:nth-child(2) span { animation-delay: 0.12s; }
@keyframes lineup { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .h1-line span { transform: none; animation: none; }
}

.hero-sub {
  color: var(--text-2);
  max-width: 46ch;
  font-size: 17.5px;
  margin-bottom: 34px;
}
.cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-forge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(160deg, var(--accent-2), var(--accent));
  color: var(--on-accent);
  font-weight: 700;
  font-size: 16px;
  padding: 8px 8px 8px 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--sans);
  transition: transform 0.18s var(--ease), box-shadow 0.3s ease;
  box-shadow: 0 14px 40px rgba(224, 161, 94, 0.32);
}
.btn-forge .pip {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(20, 14, 5, 0.18);
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease);
}
.btn-forge:hover { transform: translateY(-2px); box-shadow: 0 20px 54px rgba(224, 161, 94, 0.44); }
.btn-forge:hover .pip { transform: translateX(2px) scale(1.06); }
.btn-forge:active { transform: scale(0.98); }
.store-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--border-strong);
  padding: 11px 18px;
  border-radius: 999px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-3);
  font-size: 13.5px;
  margin-top: 22px;
}
.hero-stats {
  display: flex;
  gap: clamp(26px, 4vw, 56px);
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.stat dt {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--accent);
  line-height: 1;
}
.stat dd { color: var(--text-3); font-size: 13px; margin-top: 6px; }

.hero-art { position: relative; justify-self: center; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: -14% -22%;
  background: radial-gradient(closest-side, rgba(224, 161, 94, 0.18), transparent 70%);
  pointer-events: none;
}
.device {
  position: relative;
  background: #0a0807;
  border-radius: 50px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 50px 110px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  width: 304px;
}
.device img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: top center;
  border-radius: 43px;
}

/* ---------- shared section bits ---------- */
.section { padding: clamp(80px, 12vh, 140px) clamp(20px, 4vw, 48px); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}
.section h2 em { font-style: italic; color: var(--accent); }
.section-sub { color: var(--text-2); margin-top: 18px; max-width: 56ch; }
.section-head:not(.left) .section-sub { margin-left: auto; margin-right: auto; }


/* ---------- screens: zig-zag feature rows ---------- */
.screens .section-head { margin-bottom: clamp(60px, 9vh, 100px); }
.frows {
  display: grid;
  gap: clamp(56px, 9vh, 110px);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.frow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
}
.frow-rev .frow-copy { order: 2; }
.frow-rev .frow-art { order: 1; }
.fnum {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.3px rgba(224, 161, 94, 0.55);
}
.frow-copy h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 18px 0 14px;
}
.fdesc { color: var(--text-2); font-size: 16.5px; max-width: 38ch; }
.device-s { width: 352px; animation: none; }
.device-s img { height: 706px; }

/* ---------- how it works: offset numerals ---------- */
.how-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(26px, 4vw, 60px);
}
.step:nth-child(2) { transform: translateY(46px); }
.step:nth-child(3) { transform: translateY(92px); }
.step-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(4.4rem, 8vw, 7rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(224, 161, 94, 0.55);
}
.step h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 18px 0 10px;
}
.step p { color: var(--text-2); font-size: 15.5px; max-width: 34ch; }
.how { padding-bottom: clamp(150px, 18vh, 230px); }

/* ---------- arenas: editorial divider list ---------- */
.arena-list {
  list-style: none;
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.arena {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3.5vw, 38px);
  padding: 22px 10px;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, padding-left 0.35s var(--ease);
}
.arena:hover { background: rgba(224, 161, 94, 0.04); padding-left: 22px; }
.arena-n {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-3);
  width: 26px;
  flex: 0 0 auto;
}
.arena i {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 14px currentColor;
}
.arena h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.15;
}
.arena p { color: var(--text-3); font-size: 14px; margin-top: 2px; }
.a-health i { background: #7fb069; color: #7fb069; }
.a-mind i { background: #79b8e0; color: #79b8e0; }
.a-money i { background: #e3b341; color: #e3b341; }
.a-knowledge i { background: #66c7b8; color: #66c7b8; }
.a-people i { background: #d98ca6; color: #d98ca6; }
.a-work i { background: #c98d5a; color: #c98d5a; }
.a-faith i { background: #a08ce0; color: #a08ce0; }
.arena-note {
  text-align: center;
  color: var(--text-3);
  font-size: 13.5px;
  margin-top: 26px;
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { color: var(--accent); transition: transform 0.3s var(--ease); flex: 0 0 auto; }
.faq-item[open] .faq-ic { transform: rotate(45deg); }
.faq-item p { color: var(--text-2); font-size: 15px; padding: 0 4px 22px; max-width: 64ch; }

/* ---------- final CTA + waitlist ---------- */
.cta-final { text-align: center; }
.cta-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  margin: 0 auto 26px;
  border: 1px solid rgba(224, 161, 94, 0.3);
  box-shadow: 0 16px 44px rgba(224, 161, 94, 0.28);
}
.waitlist { max-width: 520px; margin: 36px auto 0; }
.waitlist-row { display: flex; gap: 10px; }
.waitlist-input {
  flex: 1;
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 15px 22px;
  outline: none;
  transition: border-color 0.2s ease;
}
.waitlist-input:focus { border-color: var(--accent); }
.waitlist-input::placeholder { color: var(--text-3); }
.wl-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.waitlist-msg { min-height: 20px; margin: 14px 0 0; font-size: 14px; font-weight: 500; }
.waitlist-msg.ok { color: var(--accent); }
.waitlist-msg.err { color: #e0867a; }
.waitlist.done .waitlist-row, .waitlist.done .waitlist-consent { display: none; }
.waitlist-consent {
  margin: 14px auto 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-3);
  max-width: 440px;
}
.waitlist-consent a { color: inherit; text-decoration: underline; }

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--border);
  padding: 60px clamp(20px, 4vw, 48px) 36px;
  max-width: 1180px;
  margin: 0 auto;
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-brand img { width: 30px; height: 30px; border-radius: 9px; }
.foot-brand span { font-weight: 700; font-size: 17px; }
.foot-tag { color: var(--text-3); font-size: 13.5px; max-width: 30ch; }
.foot h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot ul a { color: var(--text-2); font-size: 14px; transition: color 0.2s ease; }
.foot ul a:hover { color: var(--text); }
.foot ul .soon { color: var(--text-3); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  margin-top: 44px;
  padding-top: 24px;
  color: var(--text-3);
  font-size: 13px;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; text-align: left; min-height: 0; }
  .frow { grid-template-columns: 1fr; gap: 30px; }
  .frow-rev .frow-copy { order: 1; }
  .frow-rev .frow-art { order: 2; }
  .device-s { width: 290px; }
  .device-s img { height: 580px; }
  .hero-art { justify-self: start; margin-top: 10px; }
  .device { width: 250px; }
  .device img { height: 480px; }
  .step:nth-child(2), .step:nth-child(3) { transform: none; }
  .how-grid { grid-template-columns: 1fr; gap: 44px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nav { gap: 12px; top: 12px; padding: 8px 10px 8px 12px; }
  .nav-links { display: none; }
  .nav-brand span { display: none; }
  .nav-cta { font-size: 12.5px; padding: 8px 14px; }
  .waitlist-row { flex-direction: column; }
  .btn-forge { width: 100%; justify-content: space-between; }
  .hero-stats { gap: 26px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}


/* ============================================================
   beauty pass: editorial drama + living detail
   ============================================================ */

::selection { background: rgba(224, 161, 94, 0.4); color: #fff6e8; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; }
body::-webkit-scrollbar { width: 11px; }
body::-webkit-scrollbar-thumb { background: #2e2820; border-radius: 8px; border: 3px solid var(--bg); }
body::-webkit-scrollbar-track { background: var(--bg); }

/* giant backdrop word behind the hero */
.hero { position: relative; }
.hero-copy, .hero-art { position: relative; z-index: 1; }
.hero-bgword {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: clamp(30px, 6vh, 70px);
  transform: translateX(-50%);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(7rem, 24vw, 21rem);
  line-height: 1;
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(224, 161, 94, 0.09);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  transition: transform 0.6s var(--ease);
}

/* hand-drawn underline that draws itself */
.u-wrap { position: relative; display: inline-block; }
.u-stroke {
  position: absolute;
  left: 0.04em;
  right: 0.04em;
  bottom: -0.1em;
  width: calc(100% - 0.08em);
  height: 0.26em;
  overflow: visible;
}
.u-stroke path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4.5;
  stroke-linecap: round;
  opacity: 0.9;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 0.9s var(--ease) 1.1s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* phone: slow float + warm pool of light beneath */
.hero-art { transition: transform 0.7s var(--ease); }
.device { animation: floaty 7s ease-in-out infinite; }
.device::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -46px;
  height: 60px;
  background: radial-gradient(closest-side, rgba(224, 161, 94, 0.22), transparent 75%);
  filter: blur(14px);
  pointer-events: none;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}


/* standing statement: word-by-word brighten */
.band-h .w {
  opacity: 0.1;
  filter: blur(1px);
  transition: opacity 0.6s var(--ease), filter 0.6s var(--ease);
}
.section-head.in .band-h .w { opacity: 1; filter: blur(0); }

/* how-it-works: amber rule draws in above each step */
.step::before {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 24px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease) 0.2s;
}
.step.in::before { transform: scaleX(1); }

/* arenas: numbers warm up, arrow slides in */
.arena { cursor: default; }
.arena:hover .arena-n { color: var(--accent); }
.arena::after {
  content: "\2192";
  margin-left: auto;
  color: var(--accent);
  font-size: 20px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
}
.arena:hover::after { opacity: 1; transform: none; }
.arena-n { transition: color 0.3s ease; }

/* final CTA icon floats */
.cta-icon { animation: floaty 6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .device, .cta-icon { animation: none; }
  .u-stroke path { animation: none; stroke-dashoffset: 0; }
  .band-h .w { opacity: 1; filter: none; transition: none; }
  .step::before { transform: scaleX(1); transition: none; }
  .hero-bgword, .hero-art { transition: none; }
}
@media (max-width: 960px) {
  .hero-bgword { display: none; }
}
