/* ============================================================
   ALTDESIGN.AGENCY — STYLES
   Palette: Black · Charcoal · Warm White
   Type: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, video { max-width: 100%; display: block; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── CSS Variables ── */
:root {
  --black:        #0c0c0b;
  --charcoal:     #1a1918;
  --charcoal-2:   #252422;
  --charcoal-3:   #332f2c;
  --charcoal-4:   #4a4540;
  --grey:         #6b6560;
  --grey-light:   #9a948e;
  --warm-white:   #f2ede7;
  --off-white:    #faf7f3;
  --white:        #ffffff;
  --accent:       #c4a882;
  --accent-dim:   #8a7460;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.45, 0, 0.15, 1);

  --section-gap: 120px;
  --container:   1100px;
}

/* ── Base ── */
body {
  background-color: var(--black);
  color: var(--warm-white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Grain overlay ── */
.grain {
  position: fixed;
  inset: -200%;
  width: 400%;
  height: 400%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
  animation: grain-shift 8s steps(2) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-5%, -10%); }
  20%  { transform: translate(-15%, 5%); }
  30%  { transform: translate(7%, -25%); }
  40%  { transform: translate(-5%, 25%); }
  50%  { transform: translate(-15%, 10%); }
  60%  { transform: translate(15%, 0%); }
  70%  { transform: translate(0%, 15%); }
  80%  { transform: translate(3%, 35%); }
  90%  { transform: translate(-10%, 10%); }
  100% { transform: translate(0, 0); }
}

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .container { padding: 0 24px; } }

/* ── Section spacing ── */
.section { padding: var(--section-gap) 0; }

/* ── Section header ── */
.section-header { margin-bottom: 64px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.12;
  color: var(--warm-white);
}
.section-title em { font-style: italic; color: var(--accent); }
.section-sub {
  margin-top: 20px;
  max-width: 520px;
  font-size: 15px;
  color: var(--grey-light);
  line-height: 1.7;
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav-header.scrolled {
  background: rgba(12, 12, 11, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(196, 168, 130, 0.12);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 40px;
  max-width: var(--container);
  margin: 0 auto;
}
@media (max-width: 768px) { .nav { padding: 0 24px; } }

.nav-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--warm-white);
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.75; }
.logo-mark { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
@media (max-width: 860px) { .nav-links { display: none; } }

.nav-link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--grey-light);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--warm-white); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border: 1px solid rgba(196, 168, 130, 0.35);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--accent);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.nav-cta:hover {
  background: rgba(196, 168, 130, 0.12);
  border-color: var(--accent);
  color: var(--warm-white);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--warm-white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: rgba(12, 12, 11, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px 24px;
  z-index: 99;
  transform: translateY(-20px);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  pointer-events: none;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.mobile-link {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--grey-light);
  padding: 12px 0;
  border-bottom: 1px solid rgba(196, 168, 130, 0.1);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-link:hover { color: var(--warm-white); padding-left: 10px; }
.cta-mobile { color: var(--accent) !important; border-bottom: none !important; margin-top: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 168, 130, 0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -15%;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 168, 130, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 40px 100px;
  width: 100%;
}
@media (max-width: 768px) { .hero-inner { padding: 60px 24px 80px; } }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--warm-white);
  margin-bottom: 32px;
  max-width: 800px;
}
.hero-heading .line { display: block; }
.hero-heading .italic { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 300;
  color: var(--grey-light);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--black);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--warm-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(196, 168, 130, 0.25);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary.btn-large { padding: 16px 36px; font-size: 15px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid rgba(196, 168, 130, 0.25);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 400;
  color: var(--grey-light);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-ghost:hover {
  border-color: rgba(196, 168, 130, 0.5);
  color: var(--warm-white);
  background: rgba(196, 168, 130, 0.06);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--warm-white);
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--grey);
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(196, 168, 130, 0.15);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(196, 168, 130, 0.4));
  animation: scroll-fade 2s ease-in-out infinite;
}
@keyframes scroll-fade {
  0%, 100% { opacity: 0; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-track {
  overflow: hidden;
  border-top: 1px solid rgba(196, 168, 130, 0.1);
  border-bottom: 1px solid rgba(196, 168, 130, 0.1);
  padding: 20px 0;
  background: rgba(196, 168, 130, 0.02);
}
.marquee-inner {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-inner span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--grey);
  white-space: nowrap;
}
.marquee-inner .dot { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  padding: 40px 36px;
  border: 1px solid rgba(196, 168, 130, 0.1);
  position: relative;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.service-card::before {
  content: attr(data-index);
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 400;
  color: var(--charcoal-4);
  letter-spacing: 0.12em;
}
.service-card:hover {
  background: rgba(196, 168, 130, 0.04);
  border-color: rgba(196, 168, 130, 0.25);
}

.service-icon {
  color: var(--accent);
  margin-bottom: 24px;
}
.service-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--warm-white);
  margin-bottom: 14px;
  line-height: 1.2;
}
.service-desc {
  font-size: 14px;
  color: var(--grey-light);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list li {
  font-size: 13px;
  color: var(--grey);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-dim);
  font-size: 11px;
}

/* ============================================================
   WORK / PROJECTS
   ============================================================ */
.work { background: var(--charcoal); }

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

.project-item {
  border-bottom: 1px solid rgba(196, 168, 130, 0.12);
}
.project-item:first-child { border-top: 1px solid rgba(196, 168, 130, 0.12); }

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  cursor: pointer;
  gap: 20px;
  transition: opacity 0.2s;
}
.project-header:hover { opacity: 0.8; }
.project-header:focus { outline: none; }
.project-header:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.project-meta { display: flex; align-items: center; gap: 24px; }
.project-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  color: var(--charcoal-4);
  letter-spacing: 0.1em;
  min-width: 28px;
}
.project-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  color: var(--warm-white);
  line-height: 1.1;
}
.project-type {
  font-size: 12px;
  font-weight: 300;
  color: var(--grey);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.project-right { display: flex; align-items: center; gap: 20px; }

.project-link {
  font-size: 18px;
  color: var(--accent);
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
  padding: 4px;
}
.project-link:hover { opacity: 1; transform: translate(2px, -2px); }

.project-toggle {
  font-size: 22px;
  font-weight: 300;
  color: var(--grey-light);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196, 168, 130, 0.2);
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s, transform 0.3s var(--ease-out);
  flex-shrink: 0;
}
.project-header[aria-expanded="true"] .project-toggle {
  transform: rotate(45deg);
  background: rgba(196, 168, 130, 0.1);
  border-color: rgba(196, 168, 130, 0.4);
  color: var(--accent);
}

.project-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease-out);
}
.project-body.open { max-height: 1200px; }

.project-content { padding: 0 0 40px 52px; }
@media (max-width: 600px) { .project-content { padding: 0 0 32px 0; } }

.project-description {
  max-width: 680px;
  margin-bottom: 36px;
}
.project-description p {
  font-size: 15px;
  color: var(--grey-light);
  line-height: 1.75;
}

.project-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .project-breakdown { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .project-breakdown { grid-template-columns: 1fr; gap: 24px; } }

.breakdown-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.breakdown-list li {
  font-size: 13px;
  color: var(--grey-light);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}
.breakdown-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent-dim);
}
.breakdown-list li strong { color: var(--warm-white); font-weight: 500; }
.breakdown-list li code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 11px;
  background: rgba(196, 168, 130, 0.1);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--accent);
}
.breakdown-list.tags { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.breakdown-list.tags li {
  padding: 4px 12px;
  border: 1px solid rgba(196, 168, 130, 0.2);
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--grey);
  background: rgba(196, 168, 130, 0.04);
}
.breakdown-list.tags li::before { display: none; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { overflow: hidden; }

/* Stacked pricing cards */
.pricing-stack {
  position: relative;
  height: 460px;
  max-width: 440px;
  margin: 0 auto 48px;
  perspective: 1200px;
}

.pricing-card {
  position: absolute;
  width: 100%;
  border-radius: var(--radius-lg);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  cursor: pointer;
}

/* Back card — Custom */
.card-back {
  top: 0;
  left: 0;
  right: 0;
  background: var(--charcoal-3);
  border: 1px solid rgba(196, 168, 130, 0.1);
  transform: translateY(18px) rotate(2.5deg) scale(0.94);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  z-index: 1;
}

/* Mid card — Studio */
.card-mid {
  top: 0;
  left: 0;
  right: 0;
  background: var(--charcoal-2);
  border: 1px solid rgba(196, 168, 130, 0.15);
  transform: translateY(10px) rotate(-1.5deg) scale(0.97);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  z-index: 2;
}

/* Front card — Launch (most visible) */
.card-front {
  top: 0;
  left: 0;
  right: 0;
  background: var(--charcoal);
  border: 1px solid rgba(196, 168, 130, 0.28);
  transform: translateY(0) rotate(0deg) scale(1);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(196, 168, 130, 0.1) inset;
  z-index: 3;
}

.card-inner { padding: 36px 36px 40px; }

.plan-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.plan-label {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--warm-white);
}

.plan-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.price-from {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}
.price-amount {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--warm-white);
  line-height: 1;
}

.plan-tagline {
  font-size: 14px;
  color: var(--grey-light);
  margin-bottom: 28px;
  line-height: 1.5;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--grey-light);
  line-height: 1.5;
}
.plan-features li svg { color: var(--accent); flex-shrink: 0; margin-top: 1px; }

.plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 24px;
  background: var(--accent);
  color: var(--black);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.plan-cta:hover {
  background: var(--warm-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(196, 168, 130, 0.25);
}

/* Plan selector tabs */
.pricing-toggles {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.price-toggle {
  padding: 8px 20px;
  border: 1px solid rgba(196, 168, 130, 0.2);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--grey);
  background: transparent;
  transition: all 0.2s;
}
.price-toggle:hover { border-color: rgba(196, 168, 130, 0.4); color: var(--warm-white); }
.price-toggle.active {
  background: rgba(196, 168, 130, 0.12);
  border-color: rgba(196, 168, 130, 0.4);
  color: var(--accent);
}

/* Plan detail panels */
.plan-details { max-width: 800px; margin: 0 auto; }
.plan-detail {
  display: none;
  background: rgba(196, 168, 130, 0.04);
  border: 1px solid rgba(196, 168, 130, 0.12);
  border-radius: var(--radius-md);
  padding: 36px;
  animation: fade-up 0.35s var(--ease-out) forwards;
}
.plan-detail.active { display: block; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.detail-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 640px) { .detail-cols { grid-template-columns: 1fr; gap: 28px; } }

.detail-cols h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.detail-cols ul { display: flex; flex-direction: column; gap: 9px; }
.detail-cols ul li {
  font-size: 13px;
  color: var(--grey-light);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}
.detail-cols ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent-dim);
}
.detail-cols ul li strong { color: var(--warm-white); font-weight: 500; }

.detail-note {
  font-size: 14px;
  color: var(--grey-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.detail-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.04em;
  transition: gap 0.2s, opacity 0.2s;
  gap: 6px;
}
.detail-cta:hover { opacity: 0.75; gap: 10px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--charcoal);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 168, 130, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner { position: relative; max-width: 620px; margin: 0 auto; }

.cta-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--warm-white);
  margin-bottom: 20px;
}
.cta-heading em { font-style: italic; color: var(--accent); }
.cta-sub {
  font-size: 15px;
  color: var(--grey-light);
  max-width: 420px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.cta-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--charcoal-4);
  letter-spacing: 0.05em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 64px 0 40px;
  border-top: 1px solid rgba(196, 168, 130, 0.1);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(196, 168, 130, 0.08);
  margin-bottom: 32px;
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; gap: 40px; } }

.footer-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--warm-white);
  margin-bottom: 16px;
  transition: opacity 0.2s;
}
.footer-logo:hover { opacity: 0.7; }

.footer-tagline {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.7;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 500px) { .footer-nav { grid-template-columns: 1fr 1fr; } }

.footer-col-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: var(--grey);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--warm-white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--charcoal-4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-gap: 88px; }
}

@media (max-width: 768px) {
  :root { --section-gap: 72px; }

  .hero-stats { gap: 24px; }
  .stat-divider { height: 32px; }

  .pricing-stack { max-width: 360px; height: 430px; }
  .card-inner { padding: 28px 28px 32px; }
  .price-amount { font-size: 30px; }
}

@media (max-width: 480px) {
  :root { --section-gap: 60px; }

  .hero-heading { font-size: 42px; }

  .pricing-stack { height: 420px; }
  .card-inner { padding: 24px; }

  .plan-features { gap: 8px; }
  .plan-features li { font-size: 12px; }

  .detail-cols { grid-template-columns: 1fr; }
}

/* ── Focus styles (accessibility) ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Selection ── */
::selection {
  background: rgba(196, 168, 130, 0.25);
  color: var(--warm-white);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb {
  background: var(--charcoal-3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--charcoal-4); }
