/* ============================================================
   Fynix Media Website — Shared Styles
   Modern agency: clean ivory base, crimson CTAs, generous whitespace
   ============================================================ */

@import url('./colors_and_type.css');

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ivory-100);
  color: var(--fg1);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ============================================================
   Layout primitives
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container--tight { max-width: 960px; margin: 0 auto; padding: 0 32px; }

.section { padding: 120px 0; }
.section--tight { padding: 80px 0; }
.section--dark { background: var(--obsidian); color: var(--ivory-100); }
.section--crimson { background: var(--crimson-700); color: var(--ivory-100); }
.section--ivory-soft { background: var(--ivory-50); }
.section--ivory-warm { background: var(--ivory-200); }

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .container, .container--tight { padding: 0 20px; }
}

/* ============================================================
   Type helpers
   ============================================================ */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
  display: inline-block;
}
.gold-rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold-700);
  margin: 16px 0 24px;
  border: 0;
}
.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7.5vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
}
.h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
}
.lede {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.55;
  color: var(--stone-600);
  max-width: 62ch;
  text-wrap: pretty;
}
.section--dark .lede,
.section--crimson .lede { color: rgba(248, 240, 227, 0.82); }
.muted { color: var(--stone-500); }
.gold { color: var(--gold-700); }
.crimson { color: var(--crimson-700); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  white-space: nowrap;
  transition:
    transform 200ms var(--ease-soar),
    background 200ms var(--ease-rise),
    color 200ms var(--ease-rise),
    border-color 200ms var(--ease-rise),
    box-shadow 200ms var(--ease-rise);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--gold-700); outline-offset: 3px; }
.btn--primary {
  background: var(--crimson-700);
  color: var(--ivory-100);
}
.btn--primary:hover { background: var(--crimson-800); }
.btn--gold {
  background: var(--gold-700);
  color: var(--obsidian);
  box-shadow: 0 12px 28px -10px rgba(201, 150, 63, 0.5);
}
.btn--gold:hover {
  background: var(--obsidian);
  color: var(--gold-700);
}
.btn--ghost {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
}
.btn--ghost:hover {
  background: var(--obsidian);
  color: var(--ivory-100);
  border-color: var(--obsidian);
}
.section--crimson .btn--ghost:hover,
.section--dark .btn--ghost:hover {
  background: var(--ivory-100);
  color: var(--obsidian);
  border-color: var(--ivory-100);
}
.btn--lg { padding: 18px 32px; font-size: 14px; }
.btn--sm { padding: 11px 18px; font-size: 11px; }
.btn .arrow { font-size: 14px; display: inline-block; transition: transform 200ms var(--ease-soar); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 240, 227, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 32px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__brand img { width: 60px; height: 60px; }
.nav__wm {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.38em;
  font-size: 16px;
  color: var(--obsidian);
  line-height: 1;
  white-space: nowrap;
}
.nav__wm small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.42em;
  color: var(--stone-500);
  margin-top: 5px;
  font-weight: 600;
  white-space: nowrap;
}
.nav__links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--obsidian);
  padding: 8px 0;
  position: relative;
  transition: color 160ms var(--ease-rise);
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--crimson-700);
}
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--gold-700);
}
.nav__cta { display: flex; }
.nav__burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0;
  cursor: pointer;
  align-items: center; justify-content: center;
  color: var(--obsidian);
  transition: background 160ms var(--ease-rise), border-color 160ms var(--ease-rise);
  margin-left: 8px;
}
.nav__burger:hover { background: var(--ivory-200); border-color: var(--border-strong); }
.nav__burger-icon {
  position: relative;
  width: 18px; height: 12px;
  display: block;
}
.nav__burger-icon::before,
.nav__burger-icon::after,
.nav__burger-icon span {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 240ms var(--ease-rise), opacity 200ms var(--ease-rise), top 240ms var(--ease-rise);
}
.nav__burger-icon::before { top: 0; }
.nav__burger-icon span { top: 5px; }
.nav__burger-icon::after { top: 10px; }

.nav__burger.is-open .nav__burger-icon::before { top: 5px; transform: rotate(45deg); }
.nav__burger.is-open .nav__burger-icon span { opacity: 0; }
.nav__burger.is-open .nav__burger-icon::after { top: 5px; transform: rotate(-45deg); }

.nav__mobile-panel {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--ivory-100);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 32px -16px rgba(26,26,26,0.16);
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 90;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 220ms var(--ease-rise), transform 220ms var(--ease-rise);
}
.nav__mobile-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav__mobile-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--obsidian);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color 160ms var(--ease-rise);
}
.nav__mobile-link:last-of-type { border-bottom: none; }
.nav__mobile-link:hover,
.nav__mobile-link.is-active { color: var(--crimson-700); }
.nav__mobile-link.is-active { font-weight: 800; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__cta .btn { padding: 10px 14px; font-size: 10px; letter-spacing: 0.06em; }
}

@media (max-width: 560px) {
  .nav__row { gap: 12px; }
  .nav__brand { gap: 8px; }
  .nav__brand img { width: 44px; height: 44px; }
  .nav__wm { font-size: 13px; letter-spacing: 0.32em; }
  .nav__wm small { display: none; }
  .nav__cta .btn { padding: 8px 12px; font-size: 9px; letter-spacing: 0.05em; }
  .nav__cta .btn .arrow { display: none; }
  .nav__burger { width: 38px; height: 38px; margin-left: 6px; }
}

/* ============================================================
   Hero (Home)
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 120px;
  background: var(--ivory-100);
  color: var(--obsidian);
  transition: background 300ms var(--ease-rise), color 300ms var(--ease-rise);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__copy { max-width: 720px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-top: 8px;
  text-wrap: balance;
}
.hero__title-accent { color: var(--crimson-700); }
.hero__lede {
  margin-top: 32px;
  font-size: 20px;
  line-height: 1.5;
  max-width: 56ch;
  color: var(--stone-600);
}
.hero__ctas {
  display: flex;
  gap: 14px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero__art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}
.hero__phoenix {
  width: 100%;
  max-width: 480px;
  opacity: 1;
  filter: none;
  transition: filter 300ms, opacity 300ms;
}
.hero__illo {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(26, 26, 26, 0.12));
}
.hero__art::before {
  content: "";
  position: absolute;
  inset: 8% 12%;
  background: radial-gradient(circle at center, rgba(201, 150, 63, 0.10), transparent 70%);
  z-index: -1;
}
.hero__caption {
  display: block;
  margin-top: 24px;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13px;
  color: var(--stone-500);
  letter-spacing: 0.02em;
  max-width: 360px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Hero — dark variant */
.hero.is-dark { background: var(--obsidian); color: var(--ivory-100); }
.hero.is-dark .hero__title-accent { color: var(--gold-700); }
.hero.is-dark .hero__lede { color: rgba(248, 240, 227, 0.78); }
.hero.is-dark .hero__caption { color: rgba(248, 240, 227, 0.55); }
.hero.is-dark .hero__phoenix { filter: brightness(0) invert(1); opacity: 0.92; }
.hero.is-dark .hero__illo { filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.5)); }

/* Hero — crimson variant */
.hero.is-crimson { background: var(--crimson-700); color: var(--ivory-100); }
.hero.is-crimson .hero__title-accent { color: var(--gold-700); }
.hero.is-crimson .hero__lede { color: rgba(248, 240, 227, 0.85); }
.hero.is-crimson .hero__caption { color: rgba(248, 240, 227, 0.65); }
.hero.is-crimson .hero__phoenix { filter: brightness(0) invert(1); opacity: 0.95; }
.hero.is-crimson .hero__illo { filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45)); }
.hero.is-crimson .btn--primary { background: var(--obsidian); color: var(--ivory-100); }
.hero.is-crimson .btn--primary:hover { background: var(--obsidian-deep); }

/* Hero layout variants */
.hero.is-layout-split .hero__inner { grid-template-columns: 1.25fr 1fr; }
.hero.is-layout-centered .hero__inner { grid-template-columns: 1fr; text-align: center; }
.hero.is-layout-centered .hero__copy { max-width: 920px; margin: 0 auto; }
.hero.is-layout-centered .hero__lede { margin-left: auto; margin-right: auto; }
.hero.is-layout-centered .hero__ctas { justify-content: center; }
.hero.is-layout-centered .hero__art {
  margin-top: 56px;
  min-height: 300px;
}
.hero.is-layout-centered .hero__phoenix { max-width: 280px; opacity: 0.85; }
.hero.is-layout-centered .hero__caption { display: none; }

.hero.is-layout-bleed .hero__inner { grid-template-columns: 1fr; }
.hero.is-layout-bleed .hero__art {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 70%;
  min-height: unset;
  opacity: 0.16;
  pointer-events: none;
}
.hero.is-layout-bleed .hero__phoenix { max-width: 900px; }
.hero.is-layout-bleed .hero__illo { max-width: 900px; }
.hero.is-layout-bleed .hero__caption { display: none; }
.hero.is-layout-bleed .hero__copy { max-width: 880px; position: relative; z-index: 3; }

@media (max-width: 900px) {
  .hero { padding: 60px 0 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { min-height: 280px; }
  .hero__phoenix { max-width: 240px; }
  .hero__caption { display: none; }
}

/* ============================================================
   Services preview (Home page)
   ============================================================ */
.svc-preview__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}
.svc-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.svc-tile {
  display: block;
  background: var(--ivory-50);
  padding: 36px 32px;
  position: relative;
  min-height: 220px;
  transition: background 240ms var(--ease-rise);
}
.svc-tile:hover { background: var(--crimson-700); color: var(--ivory-100); }
.svc-tile:hover .svc-tile__name { color: var(--ivory-100); }
.svc-tile:hover .svc-tile__tag { color: rgba(248, 240, 227, 0.75); }
.svc-tile:hover .svc-tile__arrow { color: var(--gold-700); transform: translateX(4px); }
.svc-tile__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-500);
  letter-spacing: 0.05em;
}
.svc-tile:hover .svc-tile__num { color: rgba(248, 240, 227, 0.55); }
.svc-tile__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  margin-top: 40px;
  letter-spacing: -0.01em;
  color: var(--obsidian);
  transition: color 200ms;
}
.svc-tile__tag {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--stone-600);
  margin-top: 8px;
  transition: color 200ms;
}
.svc-tile__arrow {
  position: absolute;
  right: 32px;
  bottom: 32px;
  font-size: 22px;
  color: var(--crimson-700);
  transition: all 220ms var(--ease-soar);
}

@media (max-width: 900px) {
  .svc-preview__head { grid-template-columns: 1fr; gap: 24px; }
  .svc-preview__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Process (Home page)
   ============================================================ */
.process { background: var(--ivory-50); }
.process__head { max-width: 720px; margin-bottom: 64px; }
.process__rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process__step {
  padding: 32px 24px 28px;
  background: var(--ivory-100);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 240ms var(--ease-soar), box-shadow 240ms var(--ease-rise);
}
.process__step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.process__step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--gold-700);
}
.process__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-700);
  letter-spacing: 0.08em;
}
.process__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.015em;
  margin-top: 20px;
}
.process__body {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--stone-600);
  margin-top: 12px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .process__rail { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .process__rail { grid-template-columns: 1fr; }
}

/* ============================================================
   Stats strip (Home page)
   ============================================================ */
.stats {
  background: var(--obsidian);
  color: var(--ivory-100);
  padding: 96px 0;
}
.stats__head { margin-bottom: 56px; max-width: 680px; }
.stats__head .h2 { color: var(--ivory-100); }
.stats__head .lede { color: rgba(248, 240, 227, 0.75); margin-top: 14px; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid rgba(248, 240, 227, 0.16);
  padding-top: 48px;
}
.stat__n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 4.5vw, 64px);
  letter-spacing: -0.03em;
  color: var(--gold-700);
  line-height: 1;
}
.stat__l {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(248, 240, 227, 0.72);
  margin-top: 12px;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}

/* ============================================================
   Closing CTA band
   ============================================================ */
.cta-band {
  background: var(--crimson-700);
  color: var(--ivory-100);
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}
.cta-band__bg {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  opacity: 0.08;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.cta-band__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ivory-100);
}
.cta-band__title .gold { color: var(--gold-700); }
.cta-band__lede {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(248, 240, 227, 0.85);
  max-width: 52ch;
}
.cta-band__ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  justify-self: end;
}
.cta-band__ctas .btn { min-width: 240px; justify-content: space-between; }
.cta-band__fine {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13px;
  color: rgba(248, 240, 227, 0.7);
  margin-top: 8px;
}
@media (max-width: 900px) {
  .cta-band__inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-band__ctas { justify-self: start; }
}

/* ============================================================
   Services page — header
   ============================================================ */
.page-head {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--border);
}
.page-head__row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.page-head__copy { max-width: 600px; }
.page-head__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.page-head__lede {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--stone-600);
  max-width: 50ch;
}
.page-head__art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-head__art .hero__illo {
  max-width: 480px;
}
@media (max-width: 900px) {
  .page-head__row { grid-template-columns: 1fr; gap: 48px; align-items: start; }
  .page-head__art { max-width: 480px; margin: 0 auto; }
}

/* ============================================================
   Services page — Accordion (default)
   ============================================================ */
.svc-section { padding: 96px 0 120px; }

.svc-list { border-top: 1px solid var(--border); }
.svc-row {
  border-bottom: 1px solid var(--border);
  transition: background 240ms var(--ease-rise);
}
.svc-row.is-open { background: var(--ivory-50); }
.svc-row__head {
  display: grid;
  grid-template-columns: 64px 1fr auto 56px;
  gap: 24px;
  align-items: center;
  padding: 32px 16px 32px 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  position: relative;
}
.svc-row__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold-700);
  letter-spacing: 0.08em;
  padding-left: 16px;
}
.svc-row__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.015em;
  color: var(--obsidian);
  transition: color 200ms;
}
.svc-row:hover .svc-row__name { color: var(--crimson-700); }
.svc-row.is-open .svc-row__name { color: var(--crimson-700); }
.svc-row__tag {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--stone-500);
  text-align: right;
  max-width: 320px;
}
@media (max-width: 760px) {
  .svc-row__tag { display: none; }
}
.svc-row__toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 200ms var(--ease-rise);
  justify-self: end;
  margin-right: 16px;
}
.svc-row__toggle::before,
.svc-row__toggle::after {
  content: "";
  position: absolute;
  background: var(--obsidian);
  transition: transform 240ms var(--ease-soar), background 200ms;
}
.svc-row__toggle::before { width: 14px; height: 1.5px; }
.svc-row__toggle::after { width: 1.5px; height: 14px; }
.svc-row:hover .svc-row__toggle {
  border-color: var(--crimson-700);
  background: var(--crimson-700);
}
.svc-row:hover .svc-row__toggle::before,
.svc-row:hover .svc-row__toggle::after { background: var(--ivory-100); }
.svc-row.is-open .svc-row__toggle {
  border-color: var(--crimson-700);
  background: var(--crimson-700);
}
.svc-row.is-open .svc-row__toggle::before { background: var(--ivory-100); }
.svc-row.is-open .svc-row__toggle::after { transform: rotate(90deg); background: var(--ivory-100); opacity: 0; }

.svc-row__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 420ms var(--ease-soar);
}
.svc-row.is-open .svc-row__panel { max-height: 800px; }
.svc-row__panel-inner {
  display: grid;
  grid-template-columns: 64px 1fr 1fr;
  gap: 24px;
  padding: 8px 16px 56px 16px;
}
.svc-row__panel-side { padding-left: 0; }
.svc-row__panel-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.svc-row__panel-body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--stone-700);
  max-width: 56ch;
}
.svc-row__panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc-row__panel-list li {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--stone-600);
  padding-left: 22px;
  position: relative;
}
.svc-row__panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 1.5px;
  background: var(--gold-700);
}
.svc-row__panel-list-h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 18px;
}
.svc-row__panel-cta {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crimson-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.svc-row__panel-cta:hover { color: var(--obsidian); }
.svc-row__panel-cta::after {
  content: "→";
  transition: transform 200ms var(--ease-soar);
}
.svc-row__panel-cta:hover::after { transform: translateX(4px); }

@media (max-width: 760px) {
  .svc-row__head { grid-template-columns: 1fr auto; padding: 24px 0; }
  .svc-row__num { display: none; }
  .svc-row__panel-inner { grid-template-columns: 1fr; padding: 0 0 40px; }
}

/* ============================================================
   Services page — GRID variation
   ============================================================ */
.svc-section.is-grid .svc-list { display: none; }
.svc-section.is-list .svc-list { display: block; }
.svc-section.is-editorial .svc-list { display: none; }

.svc-section.is-list .svc-grid,
.svc-section.is-list .svc-editorial { display: none; }

.svc-grid {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.svc-section.is-grid .svc-grid { display: grid; }
.svc-card {
  background: var(--ivory-50);
  padding: 48px 40px;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  transition: background 240ms var(--ease-rise);
}
.svc-card:hover { background: var(--obsidian); color: var(--ivory-100); }
.svc-card:hover .svc-card__name { color: var(--gold-700); }
.svc-card:hover .svc-card__body { color: rgba(248, 240, 227, 0.75); }
.svc-card:hover .svc-card__num { color: rgba(248, 240, 227, 0.55); }
.svc-card:hover .svc-card__arrow { color: var(--gold-700); transform: translateX(4px); }
.svc-card:hover .svc-card__chips span { background: rgba(248, 240, 227, 0.08); color: rgba(248, 240, 227, 0.8); border-color: rgba(248, 240, 227, 0.18); }
.svc-card__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--stone-500);
  letter-spacing: 0.08em;
}
.svc-card__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  margin-top: 36px;
  letter-spacing: -0.015em;
  color: var(--obsidian);
  transition: color 200ms;
}
.svc-card__body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--stone-600);
  margin-top: 12px;
  line-height: 1.55;
  max-width: 46ch;
  transition: color 200ms;
}
.svc-card__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.svc-card__chips span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  color: var(--stone-600);
  border-radius: 999px;
  transition: all 200ms;
}
.svc-card__arrow {
  position: absolute;
  right: 40px;
  bottom: 40px;
  font-size: 24px;
  color: var(--crimson-700);
  transition: all 220ms var(--ease-soar);
}
@media (max-width: 760px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { padding: 32px 24px; min-height: unset; }
}

/* ============================================================
   Services page — EDITORIAL variation
   ============================================================ */
.svc-editorial { display: none; }
.svc-section.is-editorial .svc-editorial { display: block; }

.svc-ed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.svc-ed:last-child { border-bottom: 0; }
.svc-ed.is-flip { direction: rtl; }
.svc-ed.is-flip > * { direction: ltr; }

.svc-ed__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-700);
  letter-spacing: 0.1em;
}
.svc-ed__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-top: 18px;
  text-wrap: balance;
}
.svc-ed__body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--stone-600);
  margin-top: 24px;
  max-width: 50ch;
}
.svc-ed__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-top: 28px;
}
.svc-ed__list li {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--stone-600);
  padding-left: 20px;
  position: relative;
}
.svc-ed__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 1.5px;
  background: var(--gold-700);
}
.svc-ed__cta { margin-top: 32px; }
.svc-ed__visual {
  background: var(--ivory-50);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.svc-ed__visual-stat {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(60px, 8vw, 120px);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--crimson-700);
}
.svc-ed__visual-label {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--stone-600);
  line-height: 1.5;
  max-width: 30ch;
}
.svc-ed__visual-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.svc-ed__visual::after {
  content: "";
  position: absolute;
  inset: auto -10% -20% auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle at center, rgba(126, 3, 32, 0.06), transparent 70%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .svc-ed { grid-template-columns: 1fr; gap: 40px; padding: 64px 0; }
  .svc-ed.is-flip { direction: ltr; }
  .svc-ed__list { grid-template-columns: 1fr; }
}

/* ============================================================
   Services page — layout switcher (visible always)
   ============================================================ */
.svc-switch {
  display: inline-flex;
  border: 1px solid var(--border-strong);
  padding: 4px;
  border-radius: 999px;
  background: var(--ivory-50);
  margin-bottom: 56px;
}
.svc-switch button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--stone-600);
  transition: all 200ms var(--ease-rise);
}
.svc-switch button.is-on {
  background: var(--obsidian);
  color: var(--ivory-100);
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-hero {
  padding: 96px 0 64px;
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  padding: 32px 0 120px;
  align-items: start;
}
.contact-left {}
.contact-left__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-top: 8px;
  text-wrap: balance;
}
.contact-left__title .crimson { color: var(--crimson-700); }
.contact-left__lede {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--stone-600);
  max-width: 46ch;
}

.contact-value {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.contact-value__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.contact-value__k {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.contact-value__v {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--obsidian);
  line-height: 1.5;
}
.contact-value__v a:hover { color: var(--crimson-700); }
.contact-value__v small {
  display: block;
  font-size: 13px;
  color: var(--stone-500);
  margin-top: 4px;
}

.contact-form {
  background: var(--ivory-50);
  border: 1px solid var(--border);
  padding: 56px 48px;
  border-radius: 2px;
  position: sticky;
  top: 110px;
  box-shadow: var(--shadow-sm);
}
.contact-form__eb {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.contact-form__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.015em;
  margin-top: 14px;
  line-height: 1.15;
}
.contact-form__sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--stone-600);
  margin-top: 12px;
  line-height: 1.55;
}
.contact-form__placeholder {
  margin-top: 36px;
  padding: 36px 28px;
  border: 1.5px dashed var(--border-strong);
  background: var(--ivory-100);
  border-radius: 2px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-form__placeholder::before {
  content: "GHL form embeds here";
  position: absolute;
  top: 8px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--stone-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-form__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  pointer-events: none;
  opacity: 0.92;
}
.contact-form__field {
  text-align: left;
}
.contact-form__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-600);
  display: block;
  margin-bottom: 6px;
}
.contact-form__input {
  width: 100%;
  background: var(--ivory-50);
  border: 1px solid var(--border-strong);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--obsidian);
  border-radius: 2px;
  outline: none;
}
.contact-form__row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form__btn {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--crimson-700);
  color: var(--ivory-100);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px;
  border-radius: 2px;
}
.contact-form__fine {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 12.5px;
  color: var(--stone-500);
  margin-top: 24px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .contact-row { grid-template-columns: 1fr; gap: 64px; padding-bottom: 80px; }
  .contact-form { position: static; padding: 40px 28px; }
  .contact-value__row { grid-template-columns: 140px 1fr; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--obsidian);
  color: var(--ivory-100);
  padding: 96px 0 32px;
  border-top: 1px solid var(--border);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(248, 240, 227, 0.14);
}
.footer__brand .nav__wm { color: var(--ivory-100); font-size: 16px; }
.footer__brand .nav__wm small { color: rgba(248, 240, 227, 0.55); }
.footer__brand-mark {
  width: 56px;
  height: 56px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.footer__brand-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--gold-700);
  letter-spacing: 0.04em;
  margin-top: 18px;
}
.footer__brand-blurb {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(248, 240, 227, 0.7);
  margin-top: 18px;
  max-width: 36ch;
  line-height: 1.55;
}
.footer__col-h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(248, 240, 227, 0.78);
  transition: color 160ms;
}
.footer__col a:hover { color: var(--gold-700); }
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__contact-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer__contact-k {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 240, 227, 0.5);
}
.footer__contact-v {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ivory-100);
}
.footer__contact-v:hover { color: var(--gold-700); }
.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer__social {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(248, 240, 227, 0.2);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms var(--ease-rise);
}
.footer__social:hover {
  background: var(--gold-700);
  border-color: var(--gold-700);
  color: var(--obsidian);
}
.footer__social svg { width: 16px; height: 16px; }
.footer__bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(248, 240, 227, 0.55);
  letter-spacing: 0.04em;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__bot-r { display: flex; gap: 24px; }
.footer__bot-r a:hover { color: var(--gold-700); }

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bot { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Legal pages (privacy, terms)
   ============================================================ */
.legal { padding: 96px 0 120px; max-width: 760px; margin: 0 auto; }
.legal__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.025em;
  line-height: 1;
}
.legal__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--stone-500);
  margin-top: 16px;
  letter-spacing: 0.04em;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  margin-top: 56px;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.legal p, .legal li {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--stone-700);
  margin-bottom: 14px;
}
.legal ul { padding-left: 22px; }
.legal__placeholder {
  margin-top: 40px;
  padding: 32px;
  background: var(--ivory-50);
  border: 1.5px dashed var(--border-strong);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--stone-600);
  font-style: italic;
}

/* ============================================================
   Accent intensity modifiers
   ============================================================ */
.accent-restrained .eyebrow,
.accent-restrained .footer__col-h,
.accent-restrained .svc-row__num,
.accent-restrained .svc-row__panel-eyebrow,
.accent-restrained .process__num,
.accent-restrained .stat__n {
  color: var(--stone-500) !important;
}
.accent-restrained .gold-rule,
.accent-restrained .process__step::before {
  background: var(--stone-400) !important;
}
.accent-restrained .stat__n { color: var(--ivory-100) !important; }
.accent-restrained .btn--gold {
  background: var(--obsidian);
  color: var(--ivory-100);
  box-shadow: none;
}
.accent-restrained .btn--gold:hover {
  background: var(--obsidian-deep);
  color: var(--ivory-100);
}

.accent-bold .hero__title-accent { color: var(--gold-700); }
.accent-bold .gold-rule { width: 72px; height: 3px; }
.accent-bold .eyebrow { font-size: 12px; }
.accent-bold .svc-card__name,
.accent-bold .svc-row.is-open .svc-row__name { color: var(--gold-800); }
.accent-bold .stat__n { color: var(--gold-500); }
.accent-bold .process__step::before { width: 80px; height: 3px; }

/* ============================================================
   Density modifiers
   ============================================================ */
.density-cozy .section { padding: 80px 0; }
.density-cozy .hero { padding: 64px 0 80px; }
.density-cozy .svc-section { padding: 64px 0 80px; }
.density-cozy .cta-band { padding: 80px 0; }
.density-cozy .stats { padding: 72px 0; }
.density-cozy .page-head { padding: 72px 0 56px; }

.density-roomy .section { padding: 160px 0; }
.density-roomy .hero { padding: 140px 0 160px; }
.density-roomy .svc-section { padding: 128px 0 160px; }
.density-roomy .cta-band { padding: 144px 0; }
.density-roomy .stats { padding: 128px 0; }
.density-roomy .page-head { padding: 128px 0 96px; }

/* ============================================================
   Tweaks panel
   ============================================================ */
.tweaks-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 340px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--ivory-50);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  box-shadow: 0 24px 48px -16px rgba(26, 26, 26, 0.32);
  font-family: var(--font-body);
  animation: tweaks-rise 280ms var(--ease-soar);
}
@keyframes tweaks-rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tweaks-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--ivory-100);
}
.tweaks-panel__eb {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.tweaks-panel__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-top: 4px;
  color: var(--obsidian);
}
.tweaks-panel__close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 18px;
  color: var(--stone-600);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: all 200ms;
}
.tweaks-panel__close:hover {
  background: var(--obsidian);
  color: var(--ivory-100);
  border-color: var(--obsidian);
}
.tweaks-panel__body { padding: 8px 20px 20px; }
.tweaks-section { padding: 16px 0; border-bottom: 1px solid var(--border); }
.tweaks-section:last-child { border-bottom: 0; }
.tweaks-section__h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-600);
  margin-bottom: 12px;
}
.tweaks-section__note {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 12px;
  color: var(--stone-500);
  margin-top: 10px;
  line-height: 1.4;
}
.tweaks-radio {
  display: flex;
  gap: 6px;
  background: var(--ivory-100);
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.tweaks-radio button {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 4px;
  border-radius: 3px;
  color: var(--stone-600);
  transition: all 180ms;
}
.tweaks-radio button:hover { color: var(--obsidian); }
.tweaks-radio button.is-on {
  background: var(--obsidian);
  color: var(--ivory-100);
}
.tweaks-radio--stack {
  flex-direction: column;
}
.tweaks-radio--stack button {
  text-align: left;
  font-size: 12px;
  padding: 12px 14px;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 600;
}
.tweaks-radio--stack button em {
  font-style: italic;
  color: var(--stone-500);
  font-weight: 400;
}
.tweaks-radio--stack button.is-on em { color: rgba(248, 240, 227, 0.7); }

/* Subtle entry animations */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(8px);
    animation: rise-in 600ms var(--ease-soar) forwards;
  }
  .reveal:nth-child(2) { animation-delay: 80ms; }
  .reveal:nth-child(3) { animation-delay: 160ms; }
  .reveal:nth-child(4) { animation-delay: 240ms; }
  @keyframes rise-in {
    to { opacity: 1; transform: translateY(0); }
  }
}
