/* ============================================================
   Nonceweb — Boutique Web Design Studio
   ============================================================ */

:root {
  --bg: #080807;
  --surface: #11100e;
  --surface-soft: #181612;
  --gold: #c9a45c;
  --gold-soft: #e2c785;
  --text: #f5f1e8;
  --muted: #aaa39a;
  --border: rgba(201, 164, 92, 0.25);

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 28px;
}

.section { padding: clamp(72px, 11vw, 150px) 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.95rem, 4vw, 3.05rem);
  line-height: 1.12;
  letter-spacing: 0.5px;
}

.section-text {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 62ch;
  margin-top: 22px;
}

.text-gold { color: var(--gold); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.section-head-center {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.section-text-center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #1a1408;
  box-shadow: 0 8px 30px rgba(201, 164, 92, 0.18);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(201, 164, 92, 0.32);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  color: var(--gold-soft);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.btn-lg { padding: 17px 42px; font-size: 1rem; }

.btn:focus-visible,
a:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--gold);
  color: #1a1408;
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 200;
}
.skip-link:focus { left: 16px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 7, 0.5);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(8, 8, 7, 0.82);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}
.brand-tagline {
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

.nav { margin-left: auto; }
.nav-list { display: flex; gap: 38px; }
.nav-list a {
  font-size: 0.9rem;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-list a:hover { color: var(--text); }
.nav-list a:hover::after { width: 100%; }

.header-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(90px, 13vw, 150px) 0 clamp(70px, 9vw, 110px);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.hero-glow-1 {
  width: 640px; height: 640px;
  top: -200px; right: -100px;
  background: radial-gradient(circle at center, rgba(201, 164, 92, 0.35), transparent 65%);
  animation: float1 16s ease-in-out infinite;
}
.hero-glow-2 {
  width: 520px; height: 520px;
  bottom: -220px; left: -150px;
  background: radial-gradient(circle at center, rgba(226, 199, 133, 0.16), transparent 65%);
  animation: float2 20s ease-in-out infinite;
}

.hero-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 164, 92, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 164, 92, 0.055) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 20% 30%, rgba(226, 199, 133, 0.4), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(201, 164, 92, 0.35), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(226, 199, 133, 0.3), transparent),
    radial-gradient(1px 1px at 85% 25%, rgba(201, 164, 92, 0.3), transparent);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, var(--bg) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.hero-copy { max-width: 600px; }

.hero-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text);
  font-weight: 400;
  max-width: 52ch;
  margin-bottom: 16px;
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  max-width: 56ch;
  margin-bottom: 38px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.hero-meta li {
  font-size: 0.86rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-meta li .text-gold {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, 40px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}

/* ---------- Hero visual: browser mockup ---------- */
.hero-visual {
  position: relative;
  perspective: 1400px;
}

.browser {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
  transform: rotateY(-8deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease);
  animation: heroFloat 8s ease-in-out infinite;
}
.hero-visual:hover .browser { transform: rotateY(0deg) rotateX(0deg); }

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
}
.browser-bar .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(170, 163, 154, 0.35);
}
.browser-bar .dot:first-child { background: rgba(201, 164, 92, 0.6); }
.browser-url {
  margin-left: 14px;
  flex: 1;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px;
  text-align: center;
}

.browser-screen {
  padding: 22px;
  background:
    radial-gradient(420px circle at 80% -10%, rgba(201, 164, 92, 0.1), transparent 60%),
    var(--surface);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-logo {
  width: 40px; height: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
}
.mock-links { display: flex; gap: 10px; }
.mock-links i { width: 26px; height: 7px; border-radius: 4px; background: rgba(245, 241, 232, 0.14); }

.mock-hero { display: flex; flex-direction: column; gap: 11px; padding: 14px 0; }
.mock-h { height: 12px; border-radius: 5px; background: rgba(245, 241, 232, 0.16); }
.mock-h-lg { width: 78%; height: 20px; background: rgba(245, 241, 232, 0.28); }
.mock-h-md { width: 62%; }
.mock-h-sm { width: 44%; }
.mock-btn {
  width: 96px; height: 26px;
  border-radius: 100px;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}

.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-card {
  height: 64px;
  border-radius: 9px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}
.mock-card:nth-child(2) { background: rgba(201, 164, 92, 0.08); }

@keyframes heroFloat {
  0%, 100% { transform: rotateY(-8deg) rotateX(3deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(3deg) translateY(-12px); }
}

/* ---------- Floating preview cards ---------- */
.float-card {
  position: absolute;
  background: rgba(24, 22, 18, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  z-index: 3;
}
.float-card-stat {
  top: -26px;
  left: -34px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: floatA 6s ease-in-out infinite;
}
.float-card-stat .stat-num {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
}
.float-card-stat .stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.float-card-ping {
  bottom: -22px;
  right: -26px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatB 7s ease-in-out infinite;
}
.float-card-ping .ping-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 0 0 rgba(226, 199, 133, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
.float-card-ping .ping-text { font-size: 0.82rem; color: var(--text); }

@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(226, 199, 133, 0.5); }
  100% { box-shadow: 0 0 0 12px rgba(226, 199, 133, 0); }
}

/* ============================================================
   CREDIBILITY
   ============================================================ */
.credibility {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cred-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.cred-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 164, 92, 0.5);
  background: var(--surface-soft);
}
.cred-card .card-icon { margin-inline: auto; }
.cred-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}

/* ============================================================
   INTRO
   ============================================================ */
.intro-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.highlights { display: flex; flex-direction: column; gap: 4px; }
.highlight {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 4px;
  border-top: 1px solid var(--border);
  transition: padding-left 0.4s var(--ease);
}
.highlight:last-child { border-bottom: 1px solid var(--border); }
.highlight:hover { padding-left: 14px; }
.highlight-num {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 600;
}
.highlight-text { font-size: 1.08rem; color: var(--text); }

/* ============================================================
   CARDS (shared)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 34px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease), background 0.5s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at 50% 0%, rgba(201, 164, 92, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 164, 92, 0.55);
  background: var(--surface-soft);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--gold);
  margin-bottom: 24px;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon,
.cred-card:hover .card-icon {
  color: var(--gold-soft);
  border-color: var(--gold);
  background: rgba(201, 164, 92, 0.08);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}
.card-text { color: var(--muted); font-size: 0.98rem; }

/* ============================================================
   FEATURED WORK — mini website previews
   ============================================================ */
.work-grid { grid-template-columns: repeat(2, 1fr); }
.work-card { padding: 0; }

.work-preview {
  position: relative;
  padding: 18px 18px 0;
  background:
    radial-gradient(500px circle at 50% -30%, rgba(201, 164, 92, 0.1), transparent 60%),
    var(--surface-soft);
  border-bottom: 1px solid var(--border);
}

.wp-bar {
  display: flex;
  gap: 6px;
  padding: 0 4px 12px;
}
.wp-bar span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(170, 163, 154, 0.3);
}
.wp-bar span:first-child { background: rgba(201, 164, 92, 0.55); }

.wp-body {
  background: var(--bg);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 210px;
  transition: transform 0.6s var(--ease);
}
.work-card:hover .wp-body { transform: translateY(-6px); }

.wp-nav { display: flex; align-items: center; gap: 8px; }
.wp-nav i { width: 22px; height: 6px; border-radius: 3px; background: rgba(245, 241, 232, 0.14); }
.wp-nav .wp-logo { width: 34px; height: 9px; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); }
.wp-nav .wp-cta { width: 30px; height: 13px; border-radius: 100px; background: rgba(201, 164, 92, 0.35); margin-left: auto; }

.wp-line { display: block; height: 8px; border-radius: 4px; background: rgba(245, 241, 232, 0.16); }
.wp-line-lg { width: 70%; height: 14px; background: rgba(245, 241, 232, 0.3); }
.wp-line-md { width: 55%; }
.wp-line-sm { width: 38%; }
.wp-pill { display: inline-block; width: 60px; height: 18px; border-radius: 100px; background: linear-gradient(135deg, var(--gold-soft), var(--gold)); margin-top: 4px; }

.wp-hero-band { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; padding: 6px 0; }
.wp-hero-band.wp-hero-left { align-items: flex-start; text-align: left; }

/* Ecommerce */
.wp-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: auto; }
.wp-prod { height: 42px; border-radius: 7px; background: var(--surface); border: 1px solid var(--border); }
.wp-prod:nth-child(odd) { background: rgba(201, 164, 92, 0.07); }

/* Calm / community */
.wp-split { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 12px; align-items: center; }
.wp-split-text { display: flex; flex-direction: column; gap: 8px; }
.wp-orb { width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(226, 199, 133, 0.45), rgba(201, 164, 92, 0.12)); border: 1px solid var(--border); }
.wp-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.wp-strip span { height: 30px; border-radius: 7px; background: var(--surface); border: 1px solid var(--border); }

/* Service */
.wp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.wp-features span { height: 46px; border-radius: 7px; background: var(--surface); border: 1px solid var(--border); }
.wp-features span:nth-child(2) { background: rgba(201, 164, 92, 0.08); }

/* Club */
.wp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: auto; }
.wp-tiles span { height: 34px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); }
.wp-tiles span:nth-child(3n) { background: rgba(201, 164, 92, 0.08); }

.work-body { padding: 30px 34px 36px; }
.work-cat {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold-soft);
  transition: gap 0.35s var(--ease), color 0.35s var(--ease);
}
.link-arrow span { transition: transform 0.35s var(--ease); }
.link-arrow:hover { gap: 14px; color: var(--text); }
.link-arrow:hover span { transform: translateX(4px); }

/* ============================================================
   WHY CHOOSE
   ============================================================ */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.benefit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.benefit:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 164, 92, 0.5);
  background: var(--surface-soft);
}
.benefit-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: var(--gold);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.benefit-icon svg { width: 24px; height: 24px; }
.benefit-title {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 600;
  margin-bottom: 6px;
}

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}
.step {
  position: relative;
  padding-top: 74px;
}
.step-num {
  position: absolute;
  top: 0; left: 0;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  box-shadow: 0 0 0 6px var(--bg);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step:hover .step-num {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #1a1408;
  box-shadow: 0 0 0 6px var(--bg), 0 8px 24px rgba(201, 164, 92, 0.3);
}
.step-title {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 600;
  margin-bottom: 10px;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-bg { position: absolute; inset: 0; z-index: 0; opacity: 0.7; }
.cta-bg .hero-glow-1 {
  width: 720px; height: 720px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  right: auto;
}
.cta-inner { position: relative; z-index: 1; max-width: 700px; margin-inline: auto; }
.cta-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  line-height: 1.1;
  margin-bottom: 20px;
}
.cta-text { color: var(--muted); font-size: 1.12rem; margin-bottom: 36px; max-width: 56ch; margin-inline: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg);
  padding-top: clamp(64px, 8vw, 96px);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 64px;
}
.footer-brand .brand-name { font-size: 1.75rem; }
.footer-brand .brand-tagline {
  display: block;
  margin: 8px 0 18px;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-blurb { color: var(--muted); font-size: 0.95rem; max-width: 40ch; }

.footer-heading {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-list { display: flex; flex-direction: column; gap: 13px; }
.footer-list a, .footer-list li {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.3s var(--ease);
}
.footer-list a:hover { color: var(--gold-soft); }

.socials { display: flex; gap: 12px; }
.social {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  transition: transform 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.social svg { width: 20px; height: 20px; }
.social:hover {
  transform: translateY(-4px);
  color: var(--gold-soft);
  border-color: var(--gold);
  background: rgba(201, 164, 92, 0.08);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

.card-grid .reveal:nth-child(2),
.cred-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.card-grid .reveal:nth-child(3),
.cred-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.card-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.benefit-grid .reveal:nth-child(2),
.timeline .reveal:nth-child(2) { transition-delay: 0.1s; }
.benefit-grid .reveal:nth-child(3),
.timeline .reveal:nth-child(3) { transition-delay: 0.2s; }
.benefit-grid .reveal:nth-child(4),
.timeline .reveal:nth-child(4) { transition-delay: 0.3s; }
.hero-visual.reveal { transition-delay: 0.15s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
}

@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-grid { grid-template-columns: repeat(3, 1fr); }
  .intro-inner { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: 80px 0 auto 0;
    margin-left: 0;
    background: rgba(8, 8, 7, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.45s var(--ease);
    z-index: 99;
  }
  .nav.open { transform: translateY(0); }
  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 12px 28px 28px;
  }
  .nav-list li { border-bottom: 1px solid var(--border); }
  .nav-list a { display: block; padding: 16px 0; font-size: 1rem; }
  .nav-list a::after { display: none; }

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

@media (max-width: 620px) {
  .card-grid,
  .work-grid,
  .benefit-grid,
  .timeline { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-actions .btn { flex: 1; }
  .hero-meta { gap: 24px; }
  .float-card-stat { left: -10px; top: -16px; padding: 12px 16px; }
  .float-card-ping { right: -6px; bottom: -14px; }
  .hero-visual { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 380px) {
  .container { padding-inline: 20px; }
  .float-card { display: none; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .browser { transform: none; }
}
