/* ============================================================
   PNW Digital Co — styles.css
   Dark luxury · sharp modern sans · gold accents
   ============================================================ */

:root {
  --bg: #05070d;
  --bg-raised: #090d17;
  --surface: #0c1120;
  --surface-2: #101729;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --ink: #f4f4f1;
  --muted: #97a0b5;
  --muted-2: #7a839a;
  --gold: #c9a962;
  --gold-bright: #e6c987;
  --gold-dim: rgba(201, 169, 98, 0.35);
  --gold-faint: rgba(201, 169, 98, 0.1);
  --blue: #5d8bf4;
  --blue-faint: rgba(93, 139, 244, 0.09);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 88px;
  --radius: 16px;
  --radius-lg: 24px;
}

/* ---------- Reset / base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* cinematic grain over everything */
body::after {
  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='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

h1 { font-size: clamp(2.75rem, 7vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); letter-spacing: -0.02em; }
h4 { font-size: 1.1rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.25rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

/* ---------- Skip to content ---------- */
.skip-to-main {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--gold);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}
.skip-to-main:focus {
  position: fixed;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  overflow: visible;
}

/* ---------- Focus styles ---------- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.lede {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 46ch;
}

.muted { color: var(--muted); }

::selection { background: var(--gold); color: #0a0a08; }

/* ---------- Layout utilities ---------- */

.container {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}

.container--narrow { width: min(860px, 100% - 3rem); }

.section {
  padding-block: clamp(6rem, 11vw, 10rem);
  position: relative;
}

.section--tight { padding-block: clamp(4rem, 7vw, 6.5rem); }

.section--raised { background: var(--bg-raised); }

.section--line-top { border-top: 1px solid var(--line); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .lede { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-dim);
}

.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-dim);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 1rem 2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), background 0.35s, border-color 0.35s, color 0.35s, box-shadow 0.35s;
  white-space: nowrap;
}

.btn svg { transition: transform 0.35s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn--solid {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #0d0b06;
  box-shadow: 0 0 0 0 rgba(201, 169, 98, 0);
}

.btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -8px rgba(201, 169, 98, 0.45);
}

.btn--outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}

.btn--outline:hover {
  transform: translateY(-2px);
  border-color: var(--gold-dim);
  color: var(--gold-bright);
}

.btn--lg { padding: 1.15rem 2.5rem; font-size: 1rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold);
  transition: gap 0.3s var(--ease-out), color 0.3s;
}

.text-link:hover { gap: 0.85rem; color: var(--gold-bright); }

/* ---------- Navigation ---------- */

.site-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 10000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
  background: var(--bg);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.site-nav.is-scrolled {
  background: var(--bg);
  border-bottom-color: var(--line);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand__mark {
  height: 52px;
  width: auto;
  flex: none;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.brand:hover .brand__mark { transform: scale(1.06); }

.brand__co { color: var(--muted); font-weight: 500; }

.site-footer .brand__mark { height: 72px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s;
  position: relative;
  padding-block: 0.4rem;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
}

.nav-cta { flex: none; }

.nav-cta .btn { padding: 0.7rem 1.5rem; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(4.5rem, 10vw, 9rem));
  padding-bottom: clamp(6rem, 10vw, 9rem);
  overflow: clip;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 18% 8%, rgba(201, 169, 98, 0.09), transparent 65%),
    radial-gradient(ellipse 50% 55% at 85% 25%, var(--blue-faint), transparent 65%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,0,0,0.5), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,0,0,0.5), transparent 75%);
}

.hero .container { position: relative; }

.hero h1 { max-width: 17ch; }

.hero h1 em {
  font-style: normal;
  color: var(--gold-bright);
}

.hero__sub {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 2.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.9rem;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

.hero__trust::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold-dim);
  flex: none;
}

/* Page hero (interior pages) */

.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(4rem, 8vw, 7rem));
  padding-bottom: clamp(4rem, 7vw, 6rem);
  overflow: clip;
}

.page-hero h1 { max-width: 16ch; }

/* ---------- Cards ---------- */

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  transition: transform 0.5s var(--ease-out), border-color 0.5s, background 0.5s, box-shadow 0.5s;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: var(--surface-2);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
}

.card:hover::before { transform: scaleX(1); }

.card h3, .card h4 { margin-bottom: 0.75rem; }

.card p { color: var(--muted); font-size: 0.98rem; margin: 0; }

.card__num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.9rem;
}

.card__num::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-dim);
}

.card__index {
  position: absolute;
  top: 1.6rem;
  right: 1.9rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  transition: color 0.4s;
}

.card:hover .card__index { color: var(--gold); }

/* ---------- Statement (Why Custom) ---------- */

.statement {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.statement__rule {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 2rem;
}

.statement__points {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.statement__point {
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.5rem 0.25rem;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease-out), background 0.4s;
}

.statement__point:hover { padding-left: 1rem; background: rgba(255,255,255,0.015); }

.statement__point strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  flex: none;
  width: 11.5rem;
}

.statement__point span { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* ---------- Process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.process__step {
  position: relative;
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.5s var(--ease-out), border-color 0.5s;
}

.process__step:hover { transform: translateY(-4px); border-color: var(--gold-dim); }

.process__step .num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.process__step h3 {
  font-size: 1.25rem;
  margin: 0.9rem 0 0.5rem;
}

.process__step p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ---------- Work / project cards ---------- */

.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.5s, transform 0.5s var(--ease-out), box-shadow 0.5s;
  max-width: 100%;
}

.project:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}

.project + .project { margin-top: 2rem; }

.project:nth-child(even) .project__visual { order: 2; }

.project__visual {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.project__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(5, 7, 13, 0.55));
}

.project__visual .frame {
  position: relative;
  z-index: 1;
  width: min(84%, 340px);
  aspect-ratio: 4 / 3;
  border-radius: 10px 10px 6px 6px;
  background: rgba(9, 13, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.7s var(--ease-out), box-shadow 0.7s;
}

.project:hover .project__visual .frame {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
}

.project__visual .frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
}

.project__visual .frame__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.project__visual .frame__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project__visual .frame__title {
  height: 12px;
  width: 68%;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(230, 201, 135, 0.9), rgba(201, 169, 98, 0.4));
}

.project__visual .frame__line {
  height: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.09);
}

.project__visual .frame__line--short { width: 62%; }
.project__visual .frame__line--tiny  { width: 40%; }

.project__visual .frame__btn {
  margin-top: 6px;
  height: 22px;
  width: 92px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

.project__visual .frame__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 4px;
}

.project__visual .frame__grid > span {
  height: 26px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
}

.project__visual .plate-num {
  position: absolute;
  bottom: 1.2rem;
  right: 1.4rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.35);
}

.project__visual .tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(5, 7, 13, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  padding: 0.45rem 1rem;
}

.visual--contractor { background: linear-gradient(150deg, #1a2436, #0c1120 55%, #16233c); }
.visual--automotive { background: linear-gradient(150deg, #201d16, #0c1120 55%, #2a2415); }
.visual--detailing  { background: linear-gradient(150deg, #101d2e, #0c1120 55%, #0f2a38); }
.visual--artist     { background: linear-gradient(150deg, #21182b, #0c1120 55%, #191228); }

.project__body { padding: clamp(2rem, 4vw, 3.25rem); }

.project__body h3 { margin-bottom: 1.75rem; }

.project__facts { display: grid; gap: 1.35rem; }

.project__fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.project__fact p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ---------- Pricing ---------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.tier {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.55s var(--ease-out), border-color 0.55s, box-shadow 0.55s;
  display: flex;
  flex-direction: column;
}

.tier:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}

.tier--authority {
  border-color: var(--gold-dim);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.tier--authority:hover { border-color: var(--gold); box-shadow: 0 30px 90px -30px rgba(201, 169, 98, 0.25); }

.tier--signature {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, #0e1322, #0a0e18) padding-box,
    linear-gradient(165deg, var(--gold), rgba(201, 169, 98, 0.12) 45%, rgba(201, 169, 98, 0.45)) border-box;
}

.tier--signature::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(201, 169, 98, 0.12), transparent 70%);
  pointer-events: none;
}

.tier--signature:hover { box-shadow: 0 34px 100px -30px rgba(201, 169, 98, 0.35); }

.tier__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.42rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.tier__badge--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #0d0b06;
  box-shadow: 0 8px 24px -8px rgba(201, 169, 98, 0.6);
}

.tier__badge--ghost {
  background: var(--bg);
  color: var(--gold-bright);
  border: 1px solid var(--gold-dim);
}

.tier__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.tier__price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 1rem 0 1.4rem;
}

.tier__price .from {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.tier__price .amount {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.tier--signature .tier__price .amount {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tier__desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.6rem;
}

.tier__plus {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.tier__group { margin-bottom: 1.5rem; }

.tier__group-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.7rem;
}

.tier ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.tier li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.tier li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  transform: rotate(45deg) translateY(-1px);
  background: var(--gold-dim);
}

.tier--signature li::before { background: var(--gold); }

.tier .btn { margin-top: auto; width: 100%; }

.tier__cta-wrap { margin-top: 2rem; }

/* Enterprise band */

.enterprise {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding: 2.25rem 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 40% 100% at 100% 50%, var(--blue-faint), transparent 70%),
    var(--surface);
}

.enterprise h3 { margin-bottom: 0.4rem; }
.enterprise p { color: var(--muted); font-size: 0.95rem; margin: 0; max-width: 52ch; }

.enterprise__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--gold-bright);
  white-space: nowrap;
}

/* Investing-in section */

.invest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.invest-item {
  padding: 2.5rem 2.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s;
  background: var(--surface);
}

.invest-item:nth-child(3n) { border-right: 0; }
.invest-item:nth-child(n+4) { border-bottom: 0; }

.invest-item:hover { background: var(--surface-2); }

.invest-item .num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  display: block;
  margin-bottom: 1.1rem;
}

.invest-item h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.invest-item p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ---------- Industries ---------- */

.industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.industry {
  position: relative;
  padding: 2.5rem 2rem 2.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: background 0.5s;
}

.industry:nth-child(3n) { border-right: 0; }
.industry:nth-child(n+4) { border-bottom: 0; }

.industry:hover { background: var(--surface-2); }

.industry__mark {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.industry__mark::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-dim);
}

.industry h3 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.industry p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0;
}

/* ---------- Testimonials ---------- */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out), border-color 0.5s;
}

.testimonial:hover { transform: translateY(-5px); border-color: var(--gold-dim); }

.testimonial__quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.5;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.testimonial blockquote {
  margin: 0 0 2rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink);
  flex: 1;
}

.testimonial figcaption {
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.testimonial figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.testimonial figcaption span { font-size: 0.85rem; color: var(--muted-2); }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 0.85rem; }

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.4s, background 0.4s;
  overflow: hidden;
}

.faq details[open] { border-color: var(--gold-dim); background: var(--surface-2); }

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 1.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.4s var(--ease-out);
}

.faq details[open] summary::after { transform: rotate(225deg); }

.faq .faq__body {
  padding: 0 1.9rem 1.75rem;
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 65ch;
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: clip;
  text-align: center;
  padding-block: clamp(6rem, 12vw, 11rem);
  border-top: 1px solid var(--line);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 110%, rgba(201, 169, 98, 0.13), transparent 65%),
    radial-gradient(ellipse 45% 45% at 15% 0%, var(--blue-faint), transparent 70%);
  pointer-events: none;
}

.cta-band .container { position: relative; }

.cta-band h2 { max-width: 18ch; margin-inline: auto; }

.cta-band .lede { margin: 0 auto 2.75rem; }

/* ---------- Forms ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: start;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
}

.field { margin-bottom: 1.4rem; }

.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 0.55rem;
  color: var(--ink);
}

.field label .optional {
  color: var(--muted-2);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.95rem 1.15rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.field textarea { min-height: 140px; resize: vertical; }

.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-faint);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.form-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted-2);
}

.form-status {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
}

.form-status.is-success {
  display: block;
  background: var(--gold-faint);
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
}

.form-status.is-error {
  display: block;
  background: rgba(244, 93, 93, 0.08);
  border: 1px solid rgba(244, 93, 93, 0.35);
  color: #f0a0a0;
}

.contact-aside__item {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-aside__item:first-of-type { border-top: 1px solid var(--line); margin-top: 2.5rem; }

.contact-aside__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.contact-aside__item p, .contact-aside__item a { color: var(--muted); font-size: 0.97rem; margin: 0; }
.contact-aside__item a:hover { color: var(--gold-bright); }

/* ---------- About ---------- */

.about-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 68ch;
}

.about-story p {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

.about-story p strong { color: var(--ink); font-weight: 600; }

.about-story .drop {
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  line-height: 1.55;
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}

.principles { counter-reset: principle; }

.principle {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 2rem;
  padding: 2.25rem 0.5rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s, padding-left 0.4s var(--ease-out);
}

.principle:first-child { border-top: 1px solid var(--line); }

.principle:hover { background: rgba(255, 255, 255, 0.015); padding-left: 1.25rem; }

.principle .num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  padding-top: 0.4rem;
}

.principle h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.principle p { color: var(--muted); font-size: 0.97rem; margin: 0; max-width: 58ch; }

/* ---------- Service detail rows ---------- */

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.service-row:first-child { border-top: 1px solid var(--line); }

.service-row__head .num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.service-row__head h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.service-row__body p { color: var(--muted); }

.service-row__body ul {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.service-row__body li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-row__body li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  transform: rotate(45deg) translateY(-1px);
  background: var(--gold);
}

/* ---------- Case study ---------- */

.case-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(3.5rem, 7vw, 6rem));
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  overflow: clip;
  border-bottom: 1px solid var(--line);
}

.case-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  max-width: 20ch;
  margin-bottom: 1.5rem;
}

.case-hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 58ch; }

.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.5rem;
}

.crumbs a { color: var(--gold); transition: color 0.3s; }
.crumbs a:hover { color: var(--gold-bright); }
.crumbs span { color: var(--muted-2); }

.case-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(3rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-meta__item {
  padding: 1.6rem 1.5rem 1.6rem 0;
  border-right: 1px solid var(--line);
}

.case-meta__item:last-child { border-right: 0; }

.case-meta__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.case-meta__item span { color: var(--ink); font-size: 0.95rem; line-height: 1.45; }

.case-body { max-width: 780px; margin-inline: auto; }
.case-body p { color: var(--muted); font-size: 1.02rem; line-height: 1.8; }
.case-body p strong { color: var(--ink); font-weight: 600; }
.case-body h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 4rem; margin-bottom: 1.4rem; }
.case-body h3 { font-size: 1.25rem; margin-top: 2.5rem; margin-bottom: 0.75rem; }
.case-body ol, .case-body ul { padding-left: 1.4rem; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.case-body ol li, .case-body ul li { margin-bottom: 0.7rem; }
.case-body ol li::marker { color: var(--gold); font-family: var(--font-display); font-weight: 600; }
.case-body ul { list-style: none; padding-left: 0; }
.case-body ul li { position: relative; padding-left: 1.5rem; }
.case-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.pull-quote {
  margin: 3.5rem 0;
  padding: 2.25rem 0;
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.pull-quote::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

/* Wireframe mockups (extending .frame vocabulary) */

.wireframes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.wf {
  background: linear-gradient(160deg, #12182a, #0a0e18);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.75rem;
  position: relative;
}

.wf__label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: block;
}

.wf .frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(9, 13, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px 8px 4px 4px;
  overflow: hidden;
}

.wf .frame__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
}

.wf .frame__bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.wf .frame__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wf .frame__title {
  height: 10px;
  width: 68%;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(230, 201, 135, 0.9), rgba(201, 169, 98, 0.4));
}

.wf .frame__line { height: 5px; border-radius: 2px; background: rgba(255, 255, 255, 0.09); }
.wf .frame__line--short { width: 62%; }
.wf .frame__line--tiny  { width: 40%; }

.wf .frame__btn {
  margin-top: 4px;
  height: 18px;
  width: 78px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

.wf .frame__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 2px;
}

.wf .frame__grid > span {
  height: 22px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
}

.wf .frame__grid--3 { grid-template-columns: 1fr 1fr 1fr; }

.wf__caption {
  margin-top: 1.25rem;
  color: var(--muted-2);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* Compare panels: problem vs solution */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.compare-card {
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.compare-card__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.compare-card--problem .compare-card__label { color: #d68686; }
.compare-card--solution .compare-card__label { color: var(--gold); }

.compare-card--problem .compare-card__label::before,
.compare-card--solution .compare-card__label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.compare-card h4 { font-size: 1.1rem; margin-bottom: 0.7rem; }
.compare-card p { color: var(--muted); font-size: 0.94rem; line-height: 1.65; margin: 0; }

/* Impact projection */

.impact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 3rem 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.impact-cell {
  padding: 2.25rem 1.75rem;
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.impact-cell:last-child { border-right: 0; }

.impact-cell__label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.impact-cell h4 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.impact-cell p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; margin: 0; }

/* Related case studies at bottom */

.related-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.related-case {
  display: block;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color 0.4s, transform 0.4s var(--ease-out), background 0.4s;
}

.related-case:hover {
  transform: translateY(-3px);
  border-color: var(--gold-dim);
  background: var(--surface-2);
}

.related-case span {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}

.related-case h4 { font-size: 1.1rem; margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .case-meta { grid-template-columns: 1fr 1fr; }
  .case-meta__item:nth-child(2) { border-right: 0; }
  .wireframes { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .impact { grid-template-columns: 1fr; }
  .impact-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .impact-cell:last-child { border-bottom: 0; }
  .related-cases { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2.5rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1fr 1.1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

.site-footer__brand p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 34ch;
  margin: 1rem 0 0;
}

.site-footer h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.25rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }

.site-footer ul a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.3s;
}

.site-footer ul a:hover { color: var(--gold-bright); }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.85rem;
}

.site-footer__bottom .loc {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.site-footer__bottom .loc::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Reveal animations ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Animated gradient mesh (hero backgrounds) ---------- */

@keyframes meshDrift {
  0%   { background-position: 0% 0%, 100% 100%, 50% 50%; }
  33%  { background-position: 100% 20%, 0% 80%, 80% 20%; }
  66%  { background-position: 20% 100%, 80% 0%, 20% 80%; }
  100% { background-position: 0% 0%, 100% 100%, 50% 50%; }
}

.hero__bg, .page-hero .hero__bg {
  background:
    radial-gradient(ellipse 55% 45% at 18% 8%, rgba(201, 169, 98, 0.09), transparent 65%),
    radial-gradient(ellipse 50% 55% at 85% 25%, var(--blue-faint), transparent 65%),
    radial-gradient(ellipse 40% 50% at 50% 60%, rgba(201, 169, 98, 0.04), transparent 60%);
  background-size: 200% 200%, 200% 200%, 200% 200%;
  animation: meshDrift 18s ease-in-out infinite;
}

/* ---------- Floating particles ---------- */

.particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Magnetic button hover ---------- */

.btn--magnetic {
  transition: transform 0.25s var(--ease-out), background 0.35s, border-color 0.35s, color 0.35s, box-shadow 0.35s;
}

/* ---------- Card glow trail ---------- */

.card, .project, .process__step, .tier {
  --glow-x: 50%;
  --glow-y: 50%;
}

.card::after, .project::after, .process__step::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(400px circle at var(--glow-x) var(--glow-y),
    rgba(201, 169, 98, 0.08), transparent 60%);
  transition: opacity 0.5s;
  pointer-events: none;
}

.card:hover::after, .project:hover::after, .process__step:hover::after {
  opacity: 1;
}

/* ---------- Counter animation ---------- */

.counter[data-counting] {
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
  .hero__bg, .page-hero .hero__bg { animation: none; }
  .particles-canvas { display: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .grid--3, .process, .invest-grid, .testimonials, .industries { grid-template-columns: repeat(2, 1fr); }
  .industry:nth-child(3n) { border-right: 1px solid var(--line); }
  .industry:nth-child(2n) { border-right: 0; }
  .industry:nth-child(n+4) { border-bottom: 1px solid var(--line); }
  .industry:nth-child(n+5) { border-bottom: 0; }
  .tiers { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .tier--authority { order: -1; }
  .invest-item:nth-child(3n) { border-right: 1px solid var(--line); }
  .invest-item:nth-child(2n) { border-right: 0; }
  .invest-item:nth-child(n+4) { border-bottom: 1px solid var(--line); }
  .invest-item:nth-child(n+5) { border-bottom: 0; }
  .statement { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .site-nav.is-open {
    background: rgba(5, 7, 13, 0.92);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--line);
  }

  .site-nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    position: fixed;
    top: var(--nav-h);
    inset-inline: 0;
    bottom: 0;
    z-index: 99;
    background: rgba(5, 7, 13, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0.4s;
    overflow-y: auto;
  }

  .mobile-menu.is-open { transform: none; opacity: 1; visibility: visible; }

  .mobile-menu a {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu a[aria-current="page"] { color: var(--gold-bright); }

  .mobile-menu .btn { margin-top: 2rem; }

  .project { grid-template-columns: minmax(0, 1fr); width: 100% !important; max-width: 100% !important; }
  .project:nth-child(even) .project__visual { order: 0; }
  .project__visual { min-height: 240px; max-width: 100%; }
  .project__body { max-width: 100%; overflow-wrap: break-word; }

  .service-row, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .enterprise { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .grid--3, .grid--2, .process, .invest-grid, .testimonials, .industries { grid-template-columns: minmax(0, 1fr); }
  .invest-item, .industry { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .invest-item:last-child, .industry:last-child { border-bottom: 0 !important; }
  .field-row { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .statement__point { flex-direction: column; gap: 0.35rem; }
  .statement__point strong { width: auto; }
  .principle { grid-template-columns: 1fr; gap: 0.75rem; }
  .project { max-width: 100%; }
  .project__visual { max-width: 100%; }
  .project__body { max-width: 100%; }
}

/* Desktop-only: hide mobile menu container */
@media (min-width: 821px) {
  .mobile-menu { display: none; }
}
