/* ==========================================================================
   Inductech — Design Tokens — "Refined Heritage" (Onyx & Platinum)
   ========================================================================== */
:root {
  --bg: #0A0A0C;
  --bg-elevated: #131316;
  --surface: #18181B;
  --surface-2: #1F1F23;
  --text: #F2F2F2;
  --text-muted: #A3A3A8;
  --text-faint: #6B6B70;
  --accent: #C7CBD1;
  --accent-2: #E8E9EB;
  --accent-rgb: 199, 203, 209;
  --steel: #3B4552;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --danger: #C97064;
  --success: #8FB89A;
  --maxw: 1180px;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 0px;
  --radius: 1px;
  --radius-lg: 1px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 72px;
  --space-7: 112px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 220ms;
  --dur-med: 520ms;
  --dur-slow: 900ms;
  color-scheme: dark;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
/* Very faint film-grain — luxury atmosphere, not texture-heavy */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 300; pointer-events: none;
  opacity: 0.025; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.005em; line-height: 1.14; margin: 0 0 var(--space-2); }
h1 { font-size: clamp(2.1rem, 5.2vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
h3 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 var(--space-2); color: var(--text-muted); }
.lede { font-size: 1.15rem; color: var(--text-muted); max-width: 62ch; font-weight: 300; }
strong { color: var(--text); font-weight: 600; }
em.accent-italic { font-family: var(--font-display); font-style: italic; color: var(--accent); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
button { font: inherit; cursor: pointer; }

/* ==========================================================================
   Layout
   ========================================================================== */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-3); }
.section { padding: var(--space-7) 0; }
.section--tight { padding: var(--space-6) 0; }
@media (max-width: 640px) {
  .section { padding: var(--space-6) 0; }
  .section--tight { padding: var(--space-5) 0; }
}
.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: var(--space-3);
}
.section-label::before { content: ''; width: 28px; height: 1px; background: var(--accent); display: inline-block; }
.grid { display: grid; gap: var(--space-3); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-med) var(--ease-out), background var(--dur-med) var(--ease-out);
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(10, 10, 12, 0.92); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: 0.01em; }
.brand__mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand__name { color: var(--text); }
.brand__name em { color: var(--accent); font-style: normal; }
.nav__links { display: flex; align-items: center; gap: var(--space-5); }
.nav__link { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); padding: 8px 2px; position: relative; transition: color var(--dur-med) var(--ease-out); }
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent); }
.nav__cta { padding: 12px 24px; }
.nav__toggle { display: none; }
.nav__dropdown-wrap { position: relative; }
.nav__dropdown {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%);
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 0;
  padding: 8px; min-width: 300px; display: grid; gap: 1px;
  opacity: 0; visibility: hidden; translate: 0 8px;
  transition: opacity var(--dur-med) var(--ease-out), translate var(--dur-med) var(--ease-out), visibility var(--dur-med);
  box-shadow: 0 30px 60px -16px rgba(0,0,0,0.7);
}
.nav__dropdown-wrap:hover .nav__dropdown,
.nav__dropdown-wrap:focus-within .nav__dropdown { opacity: 1; visibility: visible; translate: 0 0; }
.nav__dropdown a { display: block; padding: 12px 16px; font-size: 0.82rem; letter-spacing: 0.03em; color: var(--text-muted); transition: background var(--dur-fast), color var(--dur-fast); }
.nav__dropdown a:hover { background: var(--surface); color: var(--text); }

@media (max-width: 900px) {
  .nav__links { position: fixed; top: 84px; left: 0; right: 0; height: calc(100dvh - 84px); background: var(--bg); flex-direction: column; justify-content: flex-start; align-items: stretch; padding: var(--space-3); gap: 0; transform: translateX(100%); transition: transform var(--dur-med) var(--ease-out); overflow-y: auto; }
  .nav__links.is-open { transform: translateX(0); }
  .nav__link { padding: 18px 4px; border-bottom: 1px solid var(--border); }
  .nav__dropdown { position: static; transform: none; opacity: 1; visibility: visible; translate: 0; display: none; box-shadow: none; border: none; background: transparent; padding: 0 0 0 12px; }
  .nav__dropdown-wrap.is-open .nav__dropdown { display: grid; }
  .nav__cta { margin-top: var(--space-2); text-align: center; }
  .nav__toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1px solid var(--border); color: var(--text); }
}

/* ==========================================================================
   Buttons — one solid, one quiet text-link (no double boxed CTAs)
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--radius-sm); font-weight: 500; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid transparent; transition: background var(--dur-med) var(--ease-out), border-color var(--dur-med), color var(--dur-med), opacity var(--dur-med);
  white-space: nowrap;
}
.btn:active { opacity: 0.85; }
.btn--primary { background: var(--accent); color: #0A0A0C; border-color: var(--accent); position: relative; box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.35); animation: ctaGlow 3.2s ease-in-out infinite; }
.btn--primary:hover { background: var(--accent-2); border-color: var(--accent-2); animation-play-state: paused; }
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.28); }
  50% { box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0); }
}
@media (prefers-reduced-motion: reduce) { .btn--primary { animation: none; } }
.btn--ghost {
  background: transparent; color: var(--text-muted); border: none; padding: 15px 2px;
  position: relative;
}
.btn--ghost::after { content: ''; position: absolute; left: 2px; right: 2px; bottom: 10px; height: 1px; background: var(--border-strong); transition: background var(--dur-med) var(--ease-out); }
.btn--ghost:hover { color: var(--text); }
.btn--ghost:hover::after { background: var(--accent); }
.btn--sm { padding: 11px 20px; font-size: 0.72rem; }
.btn-row { display: flex; gap: var(--space-4); flex-wrap: wrap; align-items: center; }

/* ==========================================================================
   Hero — slow, deliberate, quiet luxury (no loud outline numerals/blobs)
   ========================================================================== */
.hero { position: relative; padding: var(--space-7) 0 var(--space-6); overflow: hidden; }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 70% 60% at 75% 10%, rgba(var(--accent-rgb), 0.06), transparent 60%);
}
.hero__glow { display: none; }
.hero__inner { position: relative; z-index: 1; }

.hero-editorial {
  display: grid; grid-template-columns: 1fr auto 220px; gap: var(--space-6); align-items: end;
  position: relative;
}
.hero-editorial__main { max-width: 660px; }
.hero-editorial__rule { width: 1px; align-self: stretch; background: var(--border); min-height: 180px; }
.hero-editorial__aside { display: flex; flex-direction: column; gap: var(--space-4); padding-bottom: 6px; }
@media (max-width: 900px) {
  .hero-editorial { grid-template-columns: 1fr; gap: var(--space-4); }
  .hero-editorial__rule { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: var(--space-6) 0 var(--space-4); }
  .hero-editorial__aside { flex-direction: row; flex-wrap: wrap; gap: var(--space-3); }
  .hero-editorial__aside .stat { flex: 1 1 40%; }
}

.hero--page { padding: calc(var(--space-6) + 8px) 0 var(--space-5); position: relative; }
@media (max-width: 640px) { .hero--page { padding: var(--space-5) 0 var(--space-4); } }
.hero--page[data-num]::before { content: none; }
.hero--page__eyebrow {
  display: block; font-family: var(--font-display); font-style: italic; font-size: 1rem;
  color: var(--accent); margin-bottom: var(--space-2);
}
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--space-4); flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-hidden] { color: var(--text-faint); }

.stat-row { display: flex; gap: var(--space-6); margin-top: var(--space-5); flex-wrap: wrap; }
.stat { border-left: 1px solid var(--border-strong); padding-left: 16px; }
.stat__value { font-family: var(--font-display); font-size: 2.4rem; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; line-height: 1; }
.stat__value .accent { color: var(--accent); }
.stat__label { font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); margin-top: 8px; }

/* ==========================================================================
   Process Index — quiet, text-forward rows (no bold outline numerals)
   ========================================================================== */
.process-index { border-top: 1px solid var(--border); }
.process-row {
  display: grid; grid-template-columns: 64px 1fr auto 48px; align-items: center; gap: var(--space-4);
  padding: var(--space-5) 4px; border-bottom: 1px solid var(--border);
  transition: background var(--dur-med) var(--ease-out);
  position: relative;
}
.process-row:hover { background: var(--bg-elevated); }
.process-row__num {
  font-family: var(--font-display); font-style: italic; font-size: 1.4rem; font-weight: 500; line-height: 1;
  color: var(--text-faint);
  transition: color var(--dur-med) var(--ease-out);
}
.process-row:hover .process-row__num { color: var(--accent); }
.process-row__body h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; margin-bottom: 6px; }
.process-row__body p { margin: 0; font-size: 0.94rem; max-width: 60ch; font-weight: 300; }
.process-row__icon {
  width: 38px; height: 38px; color: var(--accent); opacity: 0; translate: 10px 0;
  transition: opacity var(--dur-slow) var(--ease-out), translate var(--dur-slow) var(--ease-out);
}
.process-row:hover .process-row__icon { opacity: 0.85; translate: 0 0; }
.process-row__arrow {
  width: 38px; height: 38px; border: 1px solid var(--border-strong); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
  transition: background var(--dur-med) var(--ease-out), border-color var(--dur-med), color var(--dur-med), translate var(--dur-med) var(--ease-out);
}
.process-row__arrow svg { width: 14px; height: 14px; }
.process-row:hover .process-row__arrow { background: var(--accent); border-color: var(--accent); color: #0A0A0C; translate: 4px 0; }
@media (max-width: 700px) {
  .process-row { grid-template-columns: 40px 1fr auto; padding: var(--space-4) 4px; }
  .process-row__icon { display: none; }
  .process-row__num { font-size: 1.1rem; }
  .process-row__arrow { width: 44px; height: 44px; }
}

/* ==========================================================================
   Cards (About "how we work")
   ========================================================================== */
.card {
  background: transparent; border: 1px solid var(--border); border-radius: 0;
  padding: var(--space-4); border-top: 1px solid var(--border-strong);
  transition: border-top-color var(--dur-med) var(--ease-out), background var(--dur-med) var(--ease-out);
}
.card:hover { border-top-color: var(--accent); background: var(--bg-elevated); }
.card__icon { width: 40px; height: 40px; margin-bottom: var(--space-2); color: var(--accent); }
.card__title { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; margin-bottom: 8px; }
.card__desc { font-size: 0.92rem; margin-bottom: var(--space-2); font-weight: 300; }
.card__link { font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.card__link svg { width: 13px; height: 13px; transition: translate var(--dur-med) var(--ease-out); }
.card:hover .card__link svg { translate: 4px 0; }

/* ==========================================================================
   Process icon badge (page heroes) — delicate frame, no brackets
   ========================================================================== */
.icon-badge {
  width: 68px; height: 68px; border-radius: 0; background: transparent;
  border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: var(--space-4); position: relative;
}
.icon-badge::before, .icon-badge::after { content: none; }
.icon-badge svg { width: 32px; height: 32px; }

/* ==========================================================================
   Split section — clean single hairline frame, no blueprint brackets
   ========================================================================== */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-6); align-items: center; }
.split--reverse { grid-template-columns: 0.9fr 1.1fr; }
.split--reverse .split__media { order: 2; }
@media (max-width: 900px) { .split, .split--reverse { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media {
  aspect-ratio: 4 / 3; background: var(--bg-elevated); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.split__media svg { width: 34%; height: 34%; color: var(--accent); opacity: 0.9; }
.split__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15) contrast(1.05); }
.media-ph::before, .media-ph::after { content: none; }

.advantage-list { display: grid; gap: 0; margin: var(--space-4) 0; counter-reset: adv; }
.advantage-list li {
  counter-increment: adv;
  display: flex; gap: 20px; align-items: baseline; color: var(--text); font-size: 0.96rem; font-weight: 300;
  padding: 16px 0; border-top: 1px solid var(--border);
}
.advantage-list li:last-child { border-bottom: 1px solid var(--border); }
.advantage-list li::before {
  content: counter(adv, decimal-leading-zero);
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 0.95rem; color: var(--accent);
  flex-shrink: 0;
}
.advantage-list svg { display: none; }

/* ==========================================================================
   FAQ — direct-answer Q&A blocks (AEO-friendly: question + immediate answer)
   ========================================================================== */
.faq { margin-top: var(--space-3); }
.faq-item { border-top: 1px solid var(--border); padding: var(--space-4) 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.faq-item p { margin: 0; font-size: 0.94rem; font-weight: 300; max-width: 68ch; }

/* ==========================================================================
   Blog / resources — index list + article typography
   ========================================================================== */
.post-index { border-top: 1px solid var(--border); }
.post-row { display: block; padding: var(--space-4) 4px; border-bottom: 1px solid var(--border); transition: background var(--dur-med) var(--ease-out); }
.post-row:hover { background: var(--bg-elevated); }
.post-row__kicker { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; display: block; }
.post-row h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; margin-bottom: 8px; }
.post-row p { margin: 0; max-width: 70ch; font-weight: 300; }

.article { max-width: 74ch; margin: 0 auto; }
.article h2 { margin-top: var(--space-5); }
.article h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin-top: var(--space-4); }
.article p { font-size: 1.02rem; font-weight: 300; }
.article ul { margin: var(--space-2) 0 var(--space-3); }
.article ul li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 0.98rem; color: var(--text-muted); font-weight: 300; }
.article ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }
.article table { width: 100%; border-collapse: collapse; margin: var(--space-3) 0 var(--space-4); font-size: 0.92rem; }
.article table caption { text-align: left; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 10px; }
.article th, .article td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.article th { font-weight: 600; color: var(--text); background: var(--bg-elevated); }
.article td { color: var(--text-muted); font-weight: 300; }
.article blockquote { border-left: 2px solid var(--accent); margin: var(--space-4) 0; padding: 4px 0 4px var(--space-3); font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--text); }
.byline { display: flex; gap: 12px; align-items: center; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--space-4); }
.byline span { display: inline-flex; align-items: center; gap: 12px; }
.byline span:not(:last-child)::after { content: '·'; margin-left: 12px; color: var(--border-strong); }

/* ==========================================================================
   Calculator tool — case depth → frequency estimator
   ========================================================================== */
.calc-tool { border: 1px solid var(--border-strong); background: var(--bg-elevated); padding: var(--space-4); margin: var(--space-4) 0; }
.calc-tool h3 { margin-top: 0; }
.calc-tool > p { font-size: 0.88rem; }
.calc-tool__row { display: flex; flex-direction: column; gap: 10px; margin: var(--space-3) 0; }
.calc-tool__row label { font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.calc-tool__row input[type="range"] { width: 100%; accent-color: var(--accent); }
.calc-tool__row output { font-family: var(--font-display); font-size: 1.4rem; color: var(--accent); }
.calc-tool__result { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); border-top: 1px solid var(--border); padding-top: var(--space-3); }
@media (max-width: 560px) { .calc-tool__result { grid-template-columns: 1fr; } }
.calc-tool__result > div { }
.calc-tool__label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.calc-tool__freq-value { font-family: var(--font-display); font-size: 1.3rem; color: var(--text); }
.calc-tool__parts-value { font-size: 0.92rem; color: var(--text-muted); font-weight: 300; }

/* ==========================================================================
   CTA band — quiet, centered, single accent, no giant background glyph
   ========================================================================== */
.cta-band {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong);
  padding: var(--space-7) var(--space-2); position: relative; overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 640px; height: 320px; translate: -50% -50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.05), transparent 70%); pointer-events: none;
}
.cta-band h2, .cta-band p { position: relative; z-index: 1; margin: 0 auto; }
.cta-band p { margin-top: 14px; max-width: 52ch; }
.cta-band .btn-row { position: relative; z-index: 1; justify-content: center; margin-top: var(--space-4); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--border); padding: var(--space-6) 0 var(--space-4); background: var(--bg-elevated); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--space-4); margin-bottom: var(--space-5); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }
.footer .brand { font-family: var(--font-display); }
.footer__heading { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--space-3); }
.footer__links { display: grid; gap: 12px; }
.footer__links a { font-size: 0.88rem; color: var(--text-muted); transition: color var(--dur-med); }
.footer__links a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-4); border-top: 1px solid var(--border); font-size: 0.78rem; letter-spacing: 0.02em; color: var(--text-faint); flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Contact / Forms
   ========================================================================== */
.field { display: grid; gap: 8px; margin-bottom: var(--space-3); }
.field label { font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 500; color: var(--text-muted); }
.field input, .field textarea, .field select {
  background: var(--bg-elevated); border: 1px solid var(--border-strong); border-radius: 0;
  padding: 13px 14px; color: var(--text); font: inherit; min-height: 48px; transition: border-color var(--dur-med);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.contact-card { background: transparent; border-top: 1px solid var(--border-strong); border-radius: 0; padding: var(--space-4) 0; display: flex; gap: var(--space-3); align-items: flex-start; }
.contact-card svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-card__label { font-size: 0.72rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.1em; }
.contact-card__value { color: var(--text); font-weight: 500; margin-top: 4px; }

/* ==========================================================================
   Reveal (JS-driven; no-JS users just see content, no hidden state)
   ========================================================================== */
.reveal { opacity: 1; }

/* ==========================================================================
   Client logo grid — light cards (logos carry their own white backgrounds)
   ========================================================================== */
.client-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: var(--space-5); }
.client-logo {
  background: #EDEDED; aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center;
  padding: var(--space-3); transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.client-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.client-logo:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(0,0,0,0.5); position: relative; z-index: 1; }
@media (max-width: 900px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Intro loader
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 500; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 700ms var(--ease-out), visibility 700ms;
}
.loader__mark { width: 44px; height: 44px; animation: loaderPulse 1.4s var(--ease-out) infinite; }
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loaderPulse { 0%, 100% { opacity: 0.5; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } }

/* ==========================================================================
   Aurora — slow ambient glow, quiet luxury atmosphere
   ========================================================================== */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora span {
  position: absolute; width: 46vw; height: 46vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.05), transparent 70%);
  filter: blur(20px);
  animation: auroraDrift 34s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { top: -12%; left: -8%; }
.aurora span:nth-child(2) { bottom: -18%; right: -10%; animation-duration: 40s; animation-delay: -8s; }
@keyframes auroraDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(6vw, 4vw) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) { .aurora span { animation: none; } }

/* ==========================================================================
   Custom cursor — desktop, fine-pointer only
   ========================================================================== */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 400; pointer-events: none; border-radius: 50%; display: none; }
.cursor-dot { width: 5px; height: 5px; background: var(--accent); }
.cursor-ring { width: 32px; height: 32px; border: 1px solid var(--border-strong); transition: width 200ms var(--ease-out), height 200ms var(--ease-out), border-color 200ms; }
.cursor-ring.is-active { width: 46px; height: 46px; border-color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor-dot, .has-cursor .cursor-ring { display: block; }
  .has-cursor { cursor: none; }
  .has-cursor a, .has-cursor button { cursor: none; }
}
@media (prefers-reduced-motion: reduce) { .cursor-dot, .cursor-ring { display: none !important; } }

/* ==========================================================================
   404
   ========================================================================== */
.error-page { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--space-7) var(--space-3); }
.error-page h1 { font-family: var(--font-display); font-style: italic; font-size: 6rem; color: var(--accent); margin-bottom: 8px; }
