/* ── Design tokens ── */
:root {
  --amber:   #C49A0C;
  --amber-l: #DFB520;
  --amber-d: #8A6A06;
  --bg:      #09090C;
  --surface: #0F0F14;
  --surface2:#16161E;
  --border:  rgba(255,255,255,0.08);
  --text:    #E8E4DC;
  --muted:   #6A7080;
  --nav-bg:  rgba(9,9,12,0.88);
  --ghost-hover-border: rgba(255,255,255,0.18);
  --ghost-hover-bg:     rgba(255,255,255,0.04);
}

[data-theme="light"] {
  --amber:   #B8860B;
  --amber-l: #D4A017;
  --amber-d: #7A5606;
  --bg:      #FAF7F0;
  --surface: #F2EDE3;
  --surface2:#E8E0D0;
  --border:  rgba(0,0,0,0.08);
  --text:    #1C1710;
  --muted:   #8A7E6A;
  --nav-bg:  rgba(250,247,240,0.85);
  --ghost-hover-border: rgba(0,0,0,0.18);
  --ghost-hover-bg:     rgba(0,0,0,0.04);
}

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

/* ── Theme transitions ── */
*, *::before, *::after {
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Grain texture ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ── Typography ── */

h1, h2, h3 { font-family: 'DM Serif Display', serif; letter-spacing: -0.03em; }

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(1.4);
  background: var(--nav-bg);
}
nav .inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px; height: 100%;
  display: flex; align-items: center; gap: 8px;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem; color: var(--amber-l);
  text-decoration: none; letter-spacing: -0.02em; flex-shrink: 0;
}
.nav-center { display: flex; align-items: center; gap: 2px; flex: 1; margin-left: 20px; }
.nav-link {
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  text-decoration: none; padding: 6px 10px; border-radius: 6px;
  white-space: nowrap; transition: color 0.2s ease;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--text); outline: none; }
.nav-link[aria-current="page"] { color: var(--amber-l); }
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }

/* ── Nav Dropdown ── */
.nav-item { position: relative; }
.nav-trigger {
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  background: none; border: none; cursor: pointer;
  padding: 6px 10px; border-radius: 6px;
  display: inline-flex; align-items: center; gap: 4px;
  font-family: 'Inter', sans-serif; transition: color 0.2s ease;
}
.nav-trigger:hover { color: var(--text); }
.nav-trigger .chevron { transition: transform 0.2s ease; }
.nav-item.open .nav-trigger { color: var(--text); }
.nav-item.open .nav-trigger .chevron { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 8px; min-width: 240px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200; box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.nav-item.open .nav-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); padding: 6px 10px 4px;
}
.nav-dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: 8px;
  font-size: 0.85rem; color: var(--text);
  text-decoration: none; transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown a:hover { background: var(--surface2); color: var(--amber-l); }
.nav-dropdown-divider { height: 1px; background: var(--border); margin: 6px 2px; }

/* ── Hamburger ── */
.hamburger {
  display: none; width: 34px; height: 34px;
  border-radius: 7px; border: 1px solid var(--border);
  background: transparent; color: var(--text);
  cursor: pointer; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.15s ease;
}
.hamburger:hover { background: var(--surface); }
.hamburger .ham-top { transform-origin: center; transform: translateY(-7px); transition: transform 0.3s cubic-bezier(.5,.85,.25,1.1); }
.hamburger .ham-mid { transform-origin: center; transition: transform 0.3s cubic-bezier(.5,.85,.25,1.8); }
.hamburger .ham-bot { transform-origin: center; transform: translateY(7px); transition: transform 0.3s cubic-bezier(.5,.85,.25,1.1); }
.hamburger[aria-expanded="true"] .ham-top { transform: rotate(315deg); }
.hamburger[aria-expanded="true"] .ham-mid { transform: rotate(45deg); }
.hamburger[aria-expanded="true"] .ham-bot { transform: rotate(135deg); }

/* ── Mobile Menu ── */
.mobile-menu {
  display: none; position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 8px 24px 20px; z-index: 99;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  max-height: calc(100vh - 64px); overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); padding: 14px 0 4px;
}
.mobile-menu-link {
  display: block; padding: 10px 0;
  font-size: 0.9375rem; font-weight: 500;
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--border); transition: color 0.2s ease;
}
.mobile-menu-link:last-child { border-bottom: none; }
.mobile-menu-link:hover { color: var(--amber-l); }
.mobile-menu-sub { padding-left: 12px; font-size: 0.875rem; color: var(--muted); }

/* ── Theme toggle button ── */
.theme-toggle {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.15s cubic-bezier(0.34,1.56,0.64,1);
}
.theme-toggle:hover { color: var(--amber-l); border-color: var(--amber-d); transform: scale(1.1); }
.theme-toggle:focus-visible { outline: 2px solid var(--amber-l); outline-offset: 3px; }

/* ── Hero ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
#hero > .container { width: 100%; }  /* flex item: keep it on the page grid, not sized to the headline */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--amber);
}
h1.hero-name {
  font-size: clamp(2.4rem, 5.4vw, 3.8rem);
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 8px;
}
h1.hero-name em {
  font-style: italic;
  color: var(--amber-l);
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  color: var(--muted);
  margin-top: 24px;
  max-width: 560px;
  font-weight: 300;
  line-height: 1.6;
}
.hero-price {
  margin-top: 22px;
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.hero-price strong { color: var(--text); font-weight: 600; }
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--amber);
  color: #FAF7F0;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.15),
    0 4px 16px rgba(184,134,11,0.25),
    0 0 0 0 rgba(184,117,8,0);
  transition:
    transform 0.18s cubic-bezier(0.34,1.56,0.64,1),
    box-shadow 0.18s ease,
    background 0.18s ease;
}
.btn-primary:hover {
  background: var(--amber-l);
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.15),
    0 8px 24px rgba(184,134,11,0.35);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: 2px solid var(--amber-l); outline-offset: 3px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  transition:
    transform 0.18s cubic-bezier(0.34,1.56,0.64,1),
    border-color 0.18s ease,
    background 0.18s ease;
}
.btn-ghost:hover {
  border-color: var(--ghost-hover-border);
  background: var(--ghost-hover-bg);
  transform: translateY(-2px);
}
.btn-ghost:active { transform: translateY(0); }
.btn-ghost:focus-visible { outline: 2px solid var(--amber-l); outline-offset: 3px; }
.btn-sm { font-size: 0.8125rem; padding: 8px 18px; }

/* ── Sections (shared) ── */
section { padding: 100px 0; }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}
.section-body {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.75;
}
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ── About ── */
#about .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.stat-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow:
    0 1px 3px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.25rem;
  color: var(--amber-l);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* ── Skills ── */
#skills { background: var(--surface); }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.skill-card {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.04);
  transition:
    transform 0.2s cubic-bezier(0.34,1.56,0.64,1),
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.skill-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber-d), var(--amber-l), var(--amber-d));
  opacity: 0;
  transition: opacity 0.2s ease;
}
.skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184,134,11,0.30);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.10),
    0 0 0 1px rgba(184,134,11,0.15);
}
.skill-card:hover::before { opacity: 1; }
/* Line icons from Lucide (lucide.dev, ISC licence), inlined as SVG */
.skill-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--amber-l);
  background: rgba(223,181,32,0.08);
  border: 1px solid rgba(223,181,32,0.22);
}
.skill-icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
[data-theme="light"] .skill-icon { background: rgba(143,102,6,0.08); border-color: rgba(143,102,6,0.25); }

/* Each icon moves the part that carries its meaning */
.skill-icon svg * { transform-box: view-box; }
.ic-code-l { animation: ic-code-l 3.2s ease-in-out infinite; }
.ic-code-r { animation: ic-code-r 3.2s ease-in-out infinite; }
.ic-code-s { transform-origin: 12px 12px; animation: ic-code-s 3.2s ease-in-out infinite; }
.ic-needle { transform-origin: 12px 14px; animation: ic-needle 3.6s cubic-bezier(0.45,0,0.2,1) infinite; }
.ic-trace  { stroke-dasharray: 3 2.2; animation: ic-flow 1.4s linear infinite; }
.ic-node   { transform-origin: center; transform-box: fill-box; animation: ic-node 2.4s ease-in-out infinite; }
.ic-node:nth-of-type(2) { animation-delay: 0.6s; }
.ic-node:nth-of-type(3) { animation-delay: 1.2s; }
.ic-node:nth-of-type(4) { animation-delay: 1.8s; }
.ic-link   { stroke-dasharray: 2.2 2; animation: ic-flow 1.1s linear infinite; }
.ic-stage  { fill: currentColor; fill-opacity: 0; animation: ic-stage 2.2s ease-in-out infinite; }
.ic-leaf   { transform-origin: 10px 19px; animation: ic-leaf 3.4s ease-in-out infinite; }
.ic-plug   { animation: ic-plug 2.6s ease-in-out infinite; }
.ic-zap    { animation: ic-zap 2.6s steps(1, end) infinite; }

@keyframes ic-code-l { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-2px); } }
@keyframes ic-code-r { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(2px); } }
@keyframes ic-code-s { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(10deg); } }
@keyframes ic-needle { 0%, 100% { transform: rotate(-70deg); } 45%, 60% { transform: rotate(18deg); } }
@keyframes ic-flow   { to { stroke-dashoffset: -10.4; } }
@keyframes ic-node   { 0%, 100% { opacity: 0.35; transform: scale(1); } 50% { opacity: 1; transform: scale(2.2); } }
@keyframes ic-stage  { 0%, 55%, 100% { stroke-opacity: 0.55; fill-opacity: 0; } 70% { stroke-opacity: 1; fill-opacity: 0.3; } }
@keyframes ic-leaf   { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(12deg); } }
@keyframes ic-plug   { 0%, 100% { transform: translate(0, 0); } 40%, 60% { transform: translate(1.3px, -1.3px); } }
@keyframes ic-zap    { 0%, 38% { opacity: 0.25; } 40% { opacity: 1; } 46% { opacity: 0.4; } 50%, 64% { opacity: 1; } 66%, 100% { opacity: 0.25; } }

@media (prefers-reduced-motion: reduce) {
  .skill-icon svg * { animation: none !important; }
}
.skill-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.skill-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.tag {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 100px;
  background: rgba(200,134,10,0.1);
  border: 1px solid rgba(200,134,10,0.2);
  color: var(--amber-l);
  letter-spacing: 0.02em;
}

/* ── Process ── */

.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: rgba(200,134,10,0.15);
  line-height: 1;
  margin-bottom: 16px;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.34,1.56,0.64,1);
}

.step-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Contact ── */
#contact { text-align: center; position: relative; overflow: hidden; }
#contact .section-title { margin-bottom: 12px; }
#contact .section-body { margin: 0 auto 40px; }

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.04);
  transition:
    transform 0.18s cubic-bezier(0.34,1.56,0.64,1),
    border-color 0.18s ease,
    background 0.18s ease;
}
.contact-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(184,134,11,0.30);
  background: rgba(184,134,11,0.06);
}
.contact-chip:focus-visible { outline: 2px solid var(--amber-l); outline-offset: 3px; }

/* ── Pricing ── */

.price-list { list-style: none; display: grid; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border); }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.875rem; color: var(--text); }
.price-list svg { width: 16px; height: 16px; flex: none; margin-top: 3px; fill: none; stroke: var(--amber-l); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.price-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ── Price tables ── */

.pt-more { display: inline-block; margin-top: 10px; font-size: 0.85rem; font-weight: 600; color: var(--amber-l); text-decoration: none; }
.pt-more:hover { text-decoration: underline; text-underline-offset: 3px; }

.plans { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; margin-top: 44px; align-items: stretch; }
.plans-head h3 { font-size: 1.35rem; color: var(--text); }
.plans-head p { font-size: 0.88rem; color: var(--muted); margin-top: 6px; line-height: 1.6; }
.plan { padding: 24px; border-radius: 16px; background: var(--bg); border: 1px solid var(--border); }
.plan-key { border-color: rgba(223,181,32,0.45); box-shadow: 0 0 0 1px rgba(223,181,32,0.2), 0 18px 40px -24px rgba(223,181,32,0.5); }
.plan-name { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-l); }
.plan-price { font-family: 'DM Serif Display', serif; font-size: 2rem; color: var(--text); margin: 8px 0 14px; }
.plan-price span { font-family: 'Inter', sans-serif; font-size: 0.8rem; color: var(--muted); }
.plan-price em { font-family: 'Inter', sans-serif; font-style: normal; font-size: 0.85rem; color: var(--muted); margin-left: 4px; }
.plan .price-list { padding-top: 14px; }

/* ── Why the price ── */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.why { padding: 24px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); }
.why-n { font-family: 'DM Serif Display', serif; font-size: 1.6rem; color: var(--amber-l); opacity: 0.7; }
.why h3 { font-family: 'Inter', sans-serif; letter-spacing: 0; font-size: 1rem; font-weight: 600; color: var(--text); margin: 8px 0; }
.why p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }
.why-example { margin-top: 28px; padding: 26px 28px; border-radius: 16px; background: var(--bg); border: 1px solid rgba(223,181,32,0.35); }
.why-example-h { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-l); margin-bottom: 14px; }
.why-sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.why-sum div { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); }
.why-sum span { font-size: 0.78rem; color: var(--muted); }
.why-sum b { font-size: 1.05rem; color: var(--text); }
.why-sum .why-total { border-color: rgba(223,181,32,0.45); }
.why-sum .why-total b { color: var(--amber-l); }
.why-example p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; margin-top: 14px; }
.hero-price a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .plans-head { grid-column: 1 / -1; }
  .why-grid, .why-sum { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .plans, .why-grid, .why-sum { grid-template-columns: 1fr; }
}

/* ── FAQ ── */
.faq-list { display: grid; gap: 12px; margin-top: 40px; max-width: 820px; }
.faq {
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
}
.faq[open] { border-color: rgba(223,181,32,0.4); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px;
  font-weight: 600; font-size: 0.98rem; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: none;
  font-size: 1.4rem; font-weight: 400; line-height: 1; color: var(--amber-l);
  transition: transform 0.25s ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--amber-l); outline-offset: -2px; border-radius: 14px; }
.faq p { padding: 0 22px 20px; font-size: 0.92rem; color: var(--muted); line-height: 1.7; }
.faq p a { color: var(--amber-l); text-decoration: underline; text-underline-offset: 2px; }
/* ── Service landing pages ── */
.svc { padding-top: 88px; }
.svc-title { font-size: clamp(2.4rem, 5vw, 3.6rem); max-width: 820px; }
.svc-title em { font-style: italic; color: var(--amber-l); }
.svc-cta { margin-top: 32px; }
.svc-uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.svc-use { padding: 24px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); }
.svc-price { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-l); margin-bottom: 8px; }
.svc-use h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--text); margin-bottom: 8px; }
.svc-uses-4 { grid-template-columns: repeat(2, 1fr); }
.svc-use-custom { border-color: rgba(223,181,32,0.45); box-shadow: 0 0 0 1px rgba(223,181,32,0.15); }
.svc-use-cta { display: inline-block; margin-top: 12px; font-size: 0.85rem; font-weight: 600; color: var(--amber-l); text-decoration: none; }
.svc-use-cta:hover { text-decoration: underline; text-underline-offset: 3px; }
.svc-use p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }
.svc-demos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 24px; }
.svc-demo {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 22px 56px 22px 24px; border-radius: 14px;
  background: var(--bg); border: 1px solid var(--border);
  text-decoration: none; color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.svc-demo:hover { border-color: rgba(223,181,32,0.45); transform: translateY(-3px); }
.svc-demo:focus-visible { outline: 2px solid var(--amber-l); outline-offset: 3px; }
.svc-demo-kind { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-l); }
.svc-demo b { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 1.35rem; }
.svc-demo span:not(.svc-demo-kind):not(.svc-demo-go) { font-size: 0.9rem; color: var(--muted); }
.svc-demo-go { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--amber-l); }
.svc-how { list-style: none; counter-reset: svc; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; }
.svc-how li { counter-increment: svc; padding: 22px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.svc-how li::before { content: counter(svc, decimal-leading-zero); font-family: 'DM Serif Display', serif; font-size: 1.6rem; color: var(--amber-l); opacity: 0.6; }
.svc-how b { color: var(--text); font-size: 0.98rem; }
.svc-how span { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) {
  .svc-uses, .svc-how { grid-template-columns: 1fr 1fr; }
  .svc-demos { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .svc-uses, .svc-how { grid-template-columns: 1fr; } }

/* ── Illustrations (unDraw, recoloured to the site gold) ──
   They're drawn for light backgrounds, so each sits on a warm paper tile in both themes */
.art {
  margin: 0; padding: 18px;
  border-radius: 16px;
  background: #FAF7F0;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 18px 40px -26px rgba(0,0,0,0.6);
  display: grid; place-items: center;
}
.art img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; display: block; }
.art-hero { aspect-ratio: 5 / 4; padding: 28px; }
.art-sm { aspect-ratio: 4 / 3; max-width: 320px; justify-self: end; }
.pg-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.pg-split-art-right { grid-template-columns: 1.4fr 0.6fr; }
.svc-title em { font-style: italic; color: var(--amber-l); }

.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; }
.offer {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 16px 20px; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--border);
  text-decoration: none; color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.offer:hover { transform: translateY(-4px); border-color: rgba(223,181,32,0.45); }
.offer:focus-visible { outline: 2px solid var(--amber-l); outline-offset: 3px; }
.offer .art { aspect-ratio: auto; height: 170px; padding: 12px; margin-bottom: 10px; box-shadow: none; overflow: hidden; }
.offer h3 { font-family: 'Inter', sans-serif; letter-spacing: 0; font-size: 1.05rem; font-weight: 600; }
.offer p { font-size: 0.86rem; color: var(--muted); line-height: 1.6; flex: 1; }
.offer-go { font-size: 0.85rem; font-weight: 600; color: var(--amber-l); margin-top: 6px; }
/* Website care: a monthly service, so it spans the row under the four builds */
.offer-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(220px, 0.9fr) 2fr; gap: 24px; align-items: center; }
.offer-wide .art { height: 190px; margin-bottom: 0; }
.offer-wide > div { display: flex; flex-direction: column; gap: 6px; }
.offer-wide p { max-width: 60ch; }

.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.step-card { padding: 16px 16px 22px; border-radius: 16px; background: var(--bg); border: 1px solid var(--border); }
.step-card .art { aspect-ratio: auto; height: 170px; padding: 12px; margin-bottom: 14px; box-shadow: none; overflow: hidden; }
.step-card-n { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--amber-l); opacity: 0.75; }
.step-card h3 { font-family: 'Inter', sans-serif; letter-spacing: 0; font-size: 1.02rem; font-weight: 600; color: var(--text); margin: 4px 0 8px; }
.step-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }
.svc-hero .about-stat-row { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.more-card {
  display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: center;
  padding: 20px; border-radius: 18px; background: var(--bg); border: 1px solid var(--border);
  text-decoration: none; color: var(--text); transition: transform 0.2s ease, border-color 0.2s ease;
}
.more-card:hover { transform: translateY(-4px); border-color: rgba(223,181,32,0.45); }
.more-card .art { max-width: none; aspect-ratio: auto; height: 150px; padding: 10px; box-shadow: none; overflow: hidden; }
.more-card .section-label { margin-bottom: 8px; }
.more-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.more-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 1000px) {
  .offer-grid, .step-grid { grid-template-columns: 1fr 1fr; }
  .more-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .pg-split, .pg-split-art-right { grid-template-columns: 1fr; gap: 28px; }
  .art-sm { justify-self: start; max-width: 260px; }
  .svc-hero .about-stat-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .offer-grid, .step-grid { grid-template-columns: 1fr; }
  .more-card { grid-template-columns: 1fr; }
  .offer-wide { grid-template-columns: 1fr; gap: 6px; }
  .offer-wide .art { height: 170px; margin-bottom: 10px; }
  .more-card .art { max-width: 260px; }
}

/* ── Services: price modals + request step ── */
button.offer { font: inherit; text-align: left; cursor: pointer; width: 100%; }
html.pm-lock { overflow: hidden; }
dialog.pm {
  width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 32px);
  margin: auto; inset: 0; position: fixed;
  padding: 0; border: none; border-radius: 20px; overflow: auto;
  background: transparent; color: var(--text);
}
dialog.pm::backdrop { background: rgba(5,5,8,0.62); backdrop-filter: blur(6px); }
dialog.pm[open] { animation: pm-in 0.28s cubic-bezier(0.34,1.4,0.64,1); }
@keyframes pm-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.pm-box {
  position: relative; padding: 30px 30px 26px;
  background: #121216; border: 1px solid rgba(255,255,255,0.1); border-radius: 20px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
  --bg: #0C0C10; --border: rgba(255,255,255,0.09); --muted: #9CA2AE;
}
[data-theme="light"] .pm-box {
  background: #FBF8F1; border-color: rgba(0,0,0,0.08);
  --bg: #FFFFFF; --border: rgba(0,0,0,0.1); --text: #15110B; --muted: #4A4234; --amber-l: #8A6200; --amber: #8F6606;
  color: var(--text);
}
.pm-x {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  font-size: 1.4rem; line-height: 1; color: var(--muted); background: var(--bg); border: 1px solid var(--border); cursor: pointer;
}
.pm-x:hover { color: var(--text); }
.pm-title { font-size: 1.7rem; margin: 4px 40px 6px 0; color: var(--text); }
.pm-note { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.pm-opts { list-style: none; display: grid; gap: 10px; margin: 20px 0 16px; padding: 0; }
.pm-opt {
  display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center;
  padding: 14px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border);
}
.pm-opt-main b { display: block; font-size: 0.98rem; color: var(--text); }
.pm-opt-main span { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
.pm-opt-cost { text-align: right; }
.pm-price { display: block; font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 1.3rem; color: var(--text); white-space: nowrap; }
.pm-price span { font-family: 'Inter', sans-serif; font-size: 0.72rem; color: var(--muted); }
.pm-price-txt { font-size: 1.05rem; color: var(--amber-l); }
.pm-opt-cost em { display: block; font-style: normal; font-size: 0.76rem; font-weight: 600; color: var(--amber-l); white-space: nowrap; }
.pm-back { background: none; border: none; color: var(--muted); font: 600 0.82rem 'Inter', sans-serif; cursor: pointer; padding: 0; margin-bottom: 14px; }
.pm-back:hover { color: var(--text); }
.pm-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.pm-sum div { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); }
.pm-sum span { display: block; font-size: 0.74rem; color: var(--muted); }
.pm-sum b { font-size: 1.05rem; color: var(--text); }
.pm-plans { border: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.pm-plans legend { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pm-plans label {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg);
  font-size: 0.85rem; color: var(--muted); white-space: nowrap;
}
.pm-plans label b { color: var(--text); }
.pm-plans label:has(input:checked) { border-color: var(--amber-l); box-shadow: 0 0 0 3px rgba(212,160,23,0.15); }
.pm-plans input { accent-color: #C9A227; }
.pm-form .cf-field[data-co-budget] { margin-bottom: 14px; }
.pm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.pm-fine { font-size: 0.78rem; color: var(--muted); margin-top: 12px; line-height: 1.6; }
.pm-done { text-align: center; padding: 16px 0 6px; }
.pm-done-ico { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; color: #111; background: #3DBE6A; }
.pm-done .btn-primary { margin-top: 18px; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  .pm-box { padding: 24px 18px 20px; }
  .pm-opt { grid-template-columns: 1fr auto; }
  .pm-opt .pm-choose { grid-column: 1 / -1; justify-content: center; }
}

/* ── Contact form ── */
.cf {
  color-scheme: dark;
  max-width: 680px;
  margin: 0 auto 28px;
  text-align: left;
}
[data-theme="light"] .cf { color-scheme: light; }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-wide { grid-column: 1 / -1; }
.cf-field { display: flex; flex-direction: column; gap: 7px; }
.cf-field > span {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.cf-field > span em { font-style: normal; font-weight: 500; letter-spacing: 0.04em; text-transform: none; opacity: 0.8; margin-left: 4px; }
.cf input, .cf select, .cf textarea {
  width: 100%;
  font: inherit; font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.cf textarea { resize: vertical; min-height: 92px; line-height: 1.55; }
.cf select {
  appearance: none; -webkit-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA2AE' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.cf ::placeholder { color: var(--muted); opacity: 0.75; }
.cf input:focus, .cf select:focus, .cf textarea:focus {
  outline: none;
  border-color: var(--amber-l);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.18);
}
.cf.was-validated :invalid { border-color: #E0645A; }
.cf.was-validated :invalid:focus { box-shadow: 0 0 0 3px rgba(224,100,90,0.2); }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.cf-foot .btn-primary[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.cf-status { font-size: 0.875rem; color: var(--muted); margin: 0; }
.cf-status[data-kind="ok"] { color: #4FB286; }
.cf-status[data-kind="error"] { color: #E0645A; }
[data-theme="light"] .cf-status[data-kind="ok"] { color: #1E7A52; }
[data-theme="light"] .cf-status[data-kind="error"] { color: #B23A2E; }
.cf-note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; }
.cf-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cf-or {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin: 8px 0 16px;
}
@media (max-width: 600px) {
  .cf-grid { grid-template-columns: 1fr; }
}

/* ── Phone CTA ── */
#phone-cta {
  padding: 48px 0 40px;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.phone-label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.phone-label::before { content: ''; display: block; width: 16px; height: 1px; background: var(--muted); }
.text-disperse-wrap {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-size: clamp(1.6rem, 3.5vw, 3.2rem);
  font-family: 'DM Serif Display', serif;
  color: var(--muted);
  user-select: none;
  line-height: 1;
  transition: color 0.3s ease;
}
.text-disperse-wrap:hover { color: var(--amber-l); }
.text-disperse-wrap span {
  display: inline-block;
  transition: transform 0.75s cubic-bezier(0.33, 1, 0.68, 1);
}

/* ── Footer ── */
footer {
  padding: clamp(36px, 5vw, 56px) 0 22px;
  position: relative;
  z-index: 1;
}
.ft-cta {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px 40px; flex-wrap: wrap;
  padding-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--border);
}
.ft-kicker {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--amber-l); margin-bottom: 10px;
}
.ft-title {
  font-weight: 400; font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  line-height: 1.1; color: var(--text);
}
.ft-title em { font-style: italic; color: var(--amber-l); }
.ft-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.ft-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: 32px clamp(24px, 4vw, 48px);
  padding: clamp(28px, 4vw, 44px) 0;
}
.ft-logo {
  font-family: 'DM Serif Display', serif; font-size: 2.25rem; line-height: 1;
  color: var(--amber-l); text-decoration: none; letter-spacing: -0.02em;
}
.ft-brand p:not(.ft-status) {
  margin-top: 14px; max-width: 32ch;
  font-size: 0.9rem; line-height: 1.6; color: var(--muted);
}
.ft-status {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  padding: 6px 12px; border: 1px solid var(--border); border-radius: 100px;
  font-size: 0.78rem; font-weight: 500; color: var(--text);
}
.ft-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #3BC46A;
  animation: ft-pulse 2.4s ease-out infinite;
}
@keyframes ft-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(59,196,106,0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(59,196,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(59,196,106,0); }
}
@media (prefers-reduced-motion: reduce) { .ft-dot { animation: none; } }

.ft-col h3 {
  font-family: 'Inter', sans-serif; letter-spacing: 0.16em;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  color: var(--text); margin-bottom: 16px;
}
.ft-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ft-col a {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--muted); text-decoration: none;
  transition: color 0.2s ease; overflow-wrap: anywhere;
}
.ft-col a svg { flex-shrink: 0; opacity: 0.8; }
.ft-col a:hover { color: var(--amber-l); }

.ft-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 24px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid var(--border);
  font-size: 0.8125rem; color: var(--muted);
}
.ft-legal { display: flex; align-items: center; gap: 20px; }
.ft-legal a { color: var(--muted); text-decoration: none; transition: color 0.2s ease; }
.ft-legal a:hover { color: var(--amber-l); }
.ft-top {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--border); border-radius: 100px;
  background: none; color: var(--muted); font: inherit; cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.ft-top:hover { color: var(--amber-l); border-color: var(--amber-l); }
.ft-col a:focus-visible, .ft-legal a:focus-visible, .ft-top:focus-visible, .ft-logo:focus-visible {
  outline: 2px solid var(--amber-l); outline-offset: 3px; border-radius: 4px;
}

@media (max-width: 900px) {
  .ft-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ft-reach { grid-column: 1 / -1; }
  .ft-cta-btns { width: 100%; }
  .ft-cta-btns a { flex: 1 1 auto; justify-content: center; padding: 13px 18px; }
  .ft-bottom { flex-direction: column-reverse; align-items: flex-start; }
  footer { padding-bottom: 84px; }   /* clear the floating WhatsApp button */
}

/* ── Cursor glow ── */
#cursor-glow {
  position: fixed;
  width: 480px; height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(circle, rgba(212,160,23,0.18) 0%, transparent 65%);
  filter: blur(50px);
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  will-change: transform;
}

/* ── Scroll animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Keyframe animations ── */
@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}
nav { animation: nav-drop 0.7s cubic-bezier(0.34,1.56,0.64,1) both; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { opacity: 0; animation: hero-rise 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.25s forwards; }
h1.hero-name  { opacity: 0; animation: hero-rise 0.85s cubic-bezier(0.34,1.56,0.64,1) 0.42s forwards; }
.hero-sub     { opacity: 0; animation: hero-rise 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.62s forwards; }
.hero-price   { opacity: 0; animation: hero-rise 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.70s forwards; }
.hero-cta-row { opacity: 0; animation: hero-rise 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.80s forwards; }

/* ── Skill icon + tag hover ── */
.skill-icon {
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease;
}
.skill-card:hover .skill-icon { transform: translateY(-5px); box-shadow: 0 10px 24px -10px rgba(223,181,32,0.55); }
.skill-card .tag {
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
  opacity: 0.65;
}
.skill-card:hover .tag { opacity: 1; transform: translateY(-2px); }

/* ── Divider draw animation ── */
.divider {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.9s cubic-bezier(0.4,0,0.2,1);
}
.divider.visible { transform: scaleX(1); }

/* ── Contact chip entrance ── */
@keyframes chip-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.contact-chip {
  opacity: 0;
  animation: chip-in 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
.contact-chip:nth-child(1) { animation-delay: 0.1s; }
.contact-chip:nth-child(2) { animation-delay: 0.22s; }
.contact-chip:nth-child(3) { animation-delay: 0.34s; }
#contact:not(.contact-visible) .contact-chip { animation-play-state: paused; }
#contact.contact-visible .contact-chip { animation-play-state: running; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-center { display: none; }
  .hamburger { display: flex; }
  .nav-right .btn-primary { display: none; }
  #about .grid { grid-template-columns: 1fr; gap: 40px; }
  .about-stat-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .about-stat-row { grid-template-columns: 1fr; }
}

/* ── Site backdrop + glass panels (both themes) ──
   js/sky.js paints a fixed WebGL backdrop behind every page: drifting clouds
   in light mode, shooting stars over an amber nebula in dark mode. Sections
   float over it as glass panels; the cards inside are frostier tiles that
   carry the text. Key areas (projects / work / achievements) use denser glass.
   Each theme only sets the tints; the panel itself is shared. */
[data-theme="light"] body {
  background: linear-gradient(180deg, #0F3A8C 0%, #3370C4 100%) fixed;
}

section:not(#hero),
footer {
  /* Dark glass: surfaces inside become translucent smoked tiles */
  --bg:       rgba(10,10,14,0.55);
  --surface:  rgba(20,20,28,0.5);
  --surface2: rgba(30,30,40,0.55);
  --border:   rgba(255,255,255,0.09);
  --muted:    #9CA2AE;
  --glass-sheen: linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.015) 45%, rgba(255,255,255,0.035));
  --glass-base:  rgba(9,9,12,0.46);
  --glass-key:   rgba(9,9,12,0.6);
  --glass-edge:  rgba(255,255,255,0.1);
  --glass-hi:    rgba(255,255,255,0.08);
  --glass-lo:    rgba(255,255,255,0.02);
  --glass-drop:  rgba(0,0,0,0.7);
  position: relative;
  z-index: 1;
  margin: 0 clamp(10px, 2.5vw, 32px) clamp(14px, 2vw, 24px);
  background: var(--glass-sheen), var(--panel, var(--glass-base));
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid var(--glass-edge);
  border-radius: clamp(18px, 2.5vw, 28px);
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    inset 0 -1px 0 var(--glass-lo),
    0 24px 60px -28px var(--glass-drop);
}
[data-theme="light"] section:not(#hero),
[data-theme="light"] footer {
  --bg:       rgba(252,250,245,0.5);
  --surface:  rgba(248,244,236,0.44);
  --surface2: rgba(236,229,214,0.48);
  --border:   rgba(255,255,255,0.55);
  --text:     #15110B;
  --muted:    #4A4234;
  --amber:    #8F6606;
  --amber-l:  #8A6200;
  --glass-sheen: linear-gradient(135deg, rgba(255,255,255,0.375), rgba(255,255,255,0.2) 45%, rgba(255,255,255,0.255));
  --glass-base:  rgba(250,247,240,0.094);
  --glass-key:   rgba(250,247,240,0.21);
  --glass-edge:  rgba(255,255,255,0.65);
  --glass-hi:    rgba(255,255,255,0.8);
  --glass-lo:    rgba(255,255,255,0.2);
  --glass-drop:  rgba(8,28,70,0.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
}
#projects { --panel: var(--glass-key); }

.step-num { color: rgba(223,181,32,0.3); }
[data-theme="light"] .step-num { color: rgba(143,102,6,0.35); }

/* Hero sits directly on the sky: white type over a soft shade */
[data-theme="light"] #hero {
  --text:  #FFFFFF;
  --muted: rgba(255,255,255,0.86);
  --border: rgba(255,255,255,0.4);
  --ghost-hover-border: rgba(255,255,255,0.75);
  --ghost-hover-bg:     rgba(255,255,255,0.14);
  --nav-bg:  rgba(6,24,64,0.45);
  --surface: rgba(255,255,255,0.12);
  --amber-l: #FFD95E;
}
[data-theme="light"] #hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 75% 65% at 28% 55%, rgba(6,24,64,0.5), transparent 72%),
    linear-gradient(180deg, rgba(6,24,64,0.18), transparent 30%, transparent 75%, rgba(6,24,64,0.2));
}
[data-theme="light"] #hero .container { text-shadow: 0 2px 24px rgba(4,18,50,0.45); }
[data-theme="light"] #hero .btn-primary { text-shadow: none; box-shadow: 0 10px 30px -10px rgba(4,18,50,0.6); }
[data-theme="light"] #hero .hero-eyebrow { color: #FFFFFF; }
[data-theme="light"] #hero .hero-eyebrow::before { background: #FFFFFF; }
[data-theme="light"] #hero .btn-ghost {
  background: rgba(6,24,64,0.3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
[data-theme="light"] #hero .btn-ghost:hover { background: rgba(6,24,64,0.42); }
