/* ==========================================================
   Infinite Enterprises — Landing Page
   Palette drawn from the brand logo: deep forest green → sage,
   with burnished gold and white-hot highlights.
   ========================================================== */

:root {
  /* Greens (background) */
  --green-950: #142a13;
  --green-900: #1d3a1b;
  --green-800: #2a4824;
  --green-700: #3b5e33;
  --green-500: #5c7f50;
  --sage-300:  #8aa877;

  /* Golds (logo) */
  --gold-700: #b8a01c;
  --gold-500: #e3cc2a;
  --gold-400: #f0dc3c;
  --gold-300: #f7ea6e;
  --gold-100: #fffbe0;

  --text:       #f4f1dc;
  --text-muted: rgba(244, 241, 220, 0.78);

  --font: "Century Gothic", CenturyGothic, "URW Gothic L", "URW Gothic",
          AppleGothic, "Questrial", "Futura", sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--green-950);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

/* ---------- Animated gradient ---------- */
.hero__gradient {
  position: absolute;
  inset: -20%;
  z-index: -3;
  background:
    radial-gradient(40% 45% at 72% 38%, rgba(227, 204, 42, 0.18), transparent 70%),
    radial-gradient(45% 50% at 20% 80%, rgba(138, 168, 119, 0.35), transparent 70%),
    radial-gradient(55% 55% at 85% 95%, rgba(92, 127, 80, 0.45), transparent 70%),
    radial-gradient(50% 45% at 15% 15%, rgba(42, 72, 36, 0.9), transparent 70%),
    linear-gradient(170deg, var(--green-900) 0%, var(--green-800) 45%, var(--green-700) 80%, var(--green-500) 100%);
  background-size: 140% 140%, 150% 150%, 160% 160%, 130% 130%, 100% 100%;
  animation: gradientDrift 22s ease-in-out infinite alternate;
}

@keyframes gradientDrift {
  0%   { background-position: 0% 0%,    0% 100%, 100% 100%, 0% 0%,    0 0; transform: rotate(0deg) scale(1); }
  50%  { background-position: 60% 30%,  40% 60%, 50% 70%,   30% 40%,  0 0; transform: rotate(4deg) scale(1.05); }
  100% { background-position: 100% 60%, 80% 20%, 10% 40%,   70% 80%,  0 0; transform: rotate(-3deg) scale(1.02); }
}

/* ---------- Particle canvas ---------- */
.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  display: block;
}

/* ---------- Edge vignette for depth & legibility ---------- */
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(10, 22, 9, 0.65) 100%),
    linear-gradient(90deg, rgba(14, 30, 13, 0.55) 0%, transparent 55%);
}

/* ---------- Layout ---------- */
.hero__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 3rem;
}

.hero__content { max-width: 680px; }

/* ---------- Typography ---------- */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 1.5rem;
}

.hero__eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400));
}

.hero__title {
  font-weight: 700;
  font-size: clamp(2.3rem, 5.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.hero__title-line {
  display: block;
  width: fit-content;
  white-space: nowrap;
  padding-right: 0.06em;
  background: linear-gradient(100deg,
    var(--gold-700) 0%, var(--gold-400) 25%, var(--gold-100) 45%,
    var(--gold-400) 60%, var(--gold-500) 80%, var(--gold-700) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldSheen 7s linear infinite;
  filter: drop-shadow(0 4px 24px rgba(227, 204, 42, 0.18));
}

.hero__title-line + .hero__title-line { animation-delay: -0.6s; }

@keyframes goldSheen {
  from { background-position: 100% 0; }
  to   { background-position: -150% 0; }
}

.hero__tagline {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 40ch;
  margin-bottom: 2.6rem;
}

/* ---------- Buttons ---------- */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              background-color 0.35s, color 0.35s, border-color 0.35s;
}

.btn:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
}

.btn--primary {
  color: var(--green-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500) 55%, var(--gold-700));
  box-shadow: 0 10px 30px -8px rgba(227, 204, 42, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* light sweep on hover */
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease-out);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -8px rgba(227, 204, 42, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn--primary:hover::after { left: 130%; }

.btn__icon {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease-out);
}

.btn--primary:hover .btn__icon { transform: translateX(4px); }

.btn--ghost {
  color: var(--gold-300);
  border: 1.5px solid rgba(240, 220, 60, 0.55);
  background: rgba(20, 42, 19, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  transform: translateY(-3px);
  color: var(--gold-100);
  border-color: var(--gold-300);
  background: rgba(240, 220, 60, 0.1);
}

/* ---------- Spinning logo ---------- */
.hero__logo {
  display: flex;
  justify-content: center;
}

.logo-stage {
  position: relative;
  width: min(440px, 80vw);
  aspect-ratio: 1;
  perspective: 1200px;
}

.logo-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 234, 110, 0.38) 0%, rgba(227, 204, 42, 0.12) 40%, transparent 70%);
  filter: blur(18px);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.75; }
  50%      { transform: scale(1.08); opacity: 1; }
}

.logo-spin {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: logoSpin 9s linear infinite;
  will-change: transform;
}

@keyframes logoSpin {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}

.logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 0 22px rgba(247, 234, 110, 0.35));
}

/* mirrored "floor" reflection, echoing the original artwork */
.logo-img--reflection {
  top: 88%;
  transform: scaleY(-1);
  opacity: 0.28;
  filter: blur(1.5px);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 45%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 45%);
}

/* ---------- Scroll cue ---------- */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1.5px solid rgba(240, 220, 60, 0.5);
  border-radius: 14px;
  opacity: 0;
  animation: fadeIn 1s 1.4s forwards;
}

.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--gold-400);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Entrance reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: revealUp 1s var(--ease-out) var(--d, 0s) forwards;
}

@keyframes revealUp {
  to { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 5rem 1.25rem 6rem;
    gap: 1rem;
  }

  .hero__logo { order: -1; }

  .logo-stage { width: min(260px, 62vw); }

  .hero__content { margin: 0 auto; }
  .hero__title-line { margin: 0 auto; }

  .hero__eyebrow { justify-content: center; }
  .hero__eyebrow::before { display: none; }

  .hero__tagline { margin-left: auto; margin-right: auto; }

  .hero__actions { justify-content: center; }

  .hero__vignette {
    background: radial-gradient(120% 90% at 50% 40%, transparent 50%, rgba(10, 22, 9, 0.7) 100%);
  }
}

@media (max-width: 480px) {
  .hero__eyebrow { font-size: 0.7rem; letter-spacing: 0.2em; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; }
}

/* ==========================================================
   ACCESSIBILITY — respect reduced-motion preferences
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  .hero__gradient,
  .hero__title-line,
  .logo-glow,
  .logo-spin,
  .hero__scroll span { animation: none; }

  .reveal,
  .hero__scroll { animation: none; opacity: 1; transform: none; }
}

/* ==========================================================
   SHARED SECTION STYLES
   ========================================================== */
.section {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
  overflow: hidden;
  overflow: clip; /* clips like hidden, but lets sticky sidebars work */
  isolation: isolate;
}

/* thin gold hairline between sections */
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 220, 60, 0.45), transparent);
}

.section__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.section__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 1.1rem;
}

.section__eyebrow::before,
.section__eyebrow--center::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400));
}

.section__eyebrow--center::after {
  background: linear-gradient(90deg, var(--gold-400), transparent);
}

.section__title {
  width: fit-content;
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding-right: 0.06em;
  background: linear-gradient(100deg,
    var(--gold-700) 0%, var(--gold-400) 25%, var(--gold-100) 45%,
    var(--gold-400) 60%, var(--gold-500) 80%, var(--gold-700) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldSheen 9s linear infinite;
  margin-bottom: 1.6rem;
}

.section__header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.section__header .section__title { margin-left: auto; margin-right: auto; }

.section__lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 54ch;
  margin: 0 auto;
}

/* ---------- Scroll reveal (only hidden when JS is running) ---------- */
.js .fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.js .fade-up.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================
   ABOUT
   ========================================================== */
.about__bg {
  background:
    radial-gradient(40% 50% at 12% 30%, rgba(227, 204, 42, 0.08), transparent 70%),
    radial-gradient(45% 55% at 95% 85%, rgba(92, 127, 80, 0.3), transparent 70%),
    linear-gradient(180deg, var(--green-950) 0%, var(--green-900) 100%);
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) 1.25fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

/* ---------- Profile card ---------- */
.profile-card {
  position: sticky;
  top: 2.5rem;
  padding: 2.75rem 2.25rem 2.25rem;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(59, 94, 51, 0.5), rgba(29, 58, 27, 0.65));
  border: 1px solid rgba(240, 220, 60, 0.22);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 251, 224, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.profile-card__monogram {
  position: relative;
  width: 124px;
  height: 124px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 210deg, var(--gold-700), var(--gold-100), var(--gold-400), var(--gold-700), var(--gold-300), var(--gold-700));
  box-shadow: 0 0 40px rgba(247, 234, 110, 0.25);
}

.profile-card__monogram span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--green-700), var(--green-950));
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-300);
  text-shadow: 0 0 18px rgba(247, 234, 110, 0.35);
}

.profile-card__name {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.profile-card__role {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 2rem;
}

.profile-card__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(240, 220, 60, 0.18);
}

.stat {
  display: flex;
  flex-direction: column-reverse; /* value above label, while dt stays first in the markup */
  justify-content: flex-end;    /* keeps values aligned at the top */
  gap: 0.3rem;
  padding: 1.25rem 0.5rem;
  border-bottom: 1px solid rgba(240, 220, 60, 0.18);
}

.stat:nth-child(odd) { border-right: 1px solid rgba(240, 220, 60, 0.18); }
.stat:nth-last-child(-n + 2) { border-bottom: none; }

.stat__value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, var(--gold-100), var(--gold-400) 60%, var(--gold-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__sep { margin: 0 0.15em; }

.stat__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Bio ---------- */
.about__bio p {
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 64ch;
  margin-bottom: 1.4rem;
}

.about__bio p:first-child {
  font-size: clamp(1.08rem, 1.45vw, 1.24rem);
  color: var(--text);
}

.about__cta { margin-top: 2.4rem; }

/* ==========================================================
   SKILLS — sticky-note board
   ========================================================== */
.skills__bg {
  background:
    radial-gradient(rgba(247, 234, 110, 0.07) 1px, transparent 1.6px) 0 0 / 22px 22px,
    radial-gradient(50% 45% at 85% 10%, rgba(227, 204, 42, 0.1), transparent 70%),
    radial-gradient(55% 50% at 10% 90%, rgba(138, 168, 119, 0.22), transparent 70%),
    linear-gradient(180deg, var(--green-900) 0%, var(--green-800) 100%);
}

.notes {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 2.4rem 2rem;
  padding: 0.5rem;
}

.note {
  /* JS replaces these with random values on load */
  --rot: -2deg;
  --dx: 0px;
  --dy: 0px;
  --paper: #f3e05a;
  --paper-edge: #dcc63a;
  --ink: var(--green-950);

  position: relative;
  min-height: 215px;
  padding: 2.1rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: var(--ink);
  background: linear-gradient(165deg, var(--paper) 0%, var(--paper) 62%, var(--paper-edge) 100%);
  border-radius: 2px 2px 3px 18px / 2px 2px 3px 6px; /* slight curl at the bottom-left */
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.12),
    0 14px 24px -12px rgba(0, 0, 0, 0.6),
    10px 18px 22px -16px rgba(0, 0, 0, 0.45);
  transform: translate(var(--dx), var(--dy)) rotate(var(--rot));
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
  will-change: transform;
}

.note:hover {
  z-index: 2;
  transform: translate(var(--dx), calc(var(--dy) - 8px)) rotate(0deg) scale(1.05);
  box-shadow:
    0 2px 2px rgba(0, 0, 0, 0.12),
    0 28px 40px -16px rgba(0, 0, 0, 0.65),
    14px 26px 30px -18px rgba(0, 0, 0, 0.45);
}

/* ---------- Paper colours, all from the logo palette ---------- */
.note--gold  { --paper: #f3e05a; --paper-edge: #dcc63a; }
.note--cream { --paper: #fbf3c4; --paper-edge: #ece0a0; }
.note--sage  { --paper: #c4d8ad; --paper-edge: #a9c18e; }
.note--lime  { --paper: #e2ea8f; --paper-edge: #cad46e; }

/* ---------- Tape ---------- */
.note--tape::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 92px;
  height: 26px;
  margin-left: -46px;
  transform: rotate(var(--tape-rot, -3deg));
  background: linear-gradient(180deg, rgba(255, 251, 224, 0.55), rgba(255, 251, 224, 0.38));
  border-left: 1px dashed rgba(255, 255, 255, 0.4);
  border-right: 1px dashed rgba(255, 255, 255, 0.4);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* ---------- Push pin ---------- */
.note--pin::before {
  content: "";
  position: absolute;
  top: 10px;
  left: calc(50% + var(--pin-x, 0px));
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-100) 0%, var(--gold-400) 35%, var(--gold-700) 80%);
  box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.4), inset -1px -2px 2px rgba(0, 0, 0, 0.25);
}

.note__label {
  align-self: flex-start;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(20, 42, 19, 0.35);
  border-radius: 999px;
  color: var(--green-800);
  background: rgba(255, 255, 255, 0.25);
}

.note__title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--green-950);
}

.note__text {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(20, 42, 19, 0.8);
  margin-top: auto;
}

/* ---------- Fallback scatter when JS is off ---------- */
.note:nth-child(4n + 1) { --rot: -2.5deg; }
.note:nth-child(4n + 2) { --rot: 1.8deg; --dy: 6px; }
.note:nth-child(4n + 3) { --rot: -1deg; --dy: -4px; }
.note:nth-child(4n + 4) { --rot: 3deg; --dy: 3px; }

/* ---------- "Slapped onto the board" entrance ---------- */
.js .note {
  opacity: 0;
  transform: translate(var(--dx), calc(var(--dy) - 40px)) rotate(calc(var(--rot) * 3)) scale(1.12);
}

.js .note.is-placed {
  opacity: 1;
  transform: translate(var(--dx), var(--dy)) rotate(var(--rot));
  transition:
    opacity 0.4s ease-out var(--delay, 0s),
    transform 0.7s cubic-bezier(0.34, 1.45, 0.64, 1) var(--delay, 0s),
    box-shadow 0.45s var(--ease-out);
}

.js .note.is-placed:hover {
  transform: translate(var(--dx), calc(var(--dy) - 8px)) rotate(0deg) scale(1.05);
  transition-delay: 0s;
}

/* ==========================================================
   ABOUT / SKILLS — RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
  .section__inner { padding: 0 1.25rem; }

  .about__inner { grid-template-columns: 1fr; }

  .profile-card {
    position: relative;
    top: 0;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }

  .about__content { text-align: center; }
  .about__content .section__title { margin-left: auto; margin-right: auto; }
  .about__content .section__eyebrow::before { display: none; }
  .about__bio p { margin-left: auto; margin-right: auto; text-align: left; }
}

@media (max-width: 520px) {
  .notes {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem 1rem;
  }

  .note {
    min-height: 0;
    padding: 1.8rem 0.9rem 1.1rem;
  }

  .note__title { font-size: 0.92rem; }
  .note__text { display: none; }
  .note__label { font-size: 0.56rem; letter-spacing: 0.12em; }
}

/* ==========================================================
   ABOUT / SKILLS — reduced motion
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  .section__title { animation: none; }

  .js .fade-up,
  .js .note {
    opacity: 1;
    transition: none;
  }

  .js .fade-up { transform: none; }
  .js .note { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); }
}

/* ==========================================================
   AREAS OF SERVICE — business plan covers
   ========================================================== */
.services__bg {
  background:
    repeating-linear-gradient(135deg, rgba(247, 234, 110, 0.025) 0 1px, transparent 1px 26px),
    radial-gradient(45% 50% at 50% 0%, rgba(227, 204, 42, 0.1), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(92, 127, 80, 0.3), transparent 70%),
    linear-gradient(180deg, var(--green-900) 0%, var(--green-950) 100%);
}

.plans {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem 2.6rem;
}

.plan {
  flex: 0 1 250px;
  text-align: center;
}

/* ---------- The document (cover + page stack) ---------- */
.plan__doc {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  margin: 0 12px 1.8rem 0; /* room for the pages peeking out */
  perspective: 1000px;
  transition: transform 0.5s var(--ease-out);
}

.plan__doc::before,
.plan__doc::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 2px 6px 6px 2px;
  background: linear-gradient(90deg, #e9e2c4, #f8f3df);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.5s var(--ease-out);
}

.plan__doc::before { transform: translate(5px, 4px); }
.plan__doc::after  { transform: translate(10px, 8px); background: linear-gradient(90deg, #ddd5b4, #efe8cf); }

.cover {
  position: relative;
  aspect-ratio: 8.5 / 11;
  display: flex;
  flex-direction: column;
  padding: 10cqi 9cqi 9cqi 12cqi;
  overflow: hidden;
  border-radius: 2px 6px 6px 2px;
  transform-origin: left center;
  box-shadow:
    0 24px 40px -18px rgba(0, 0, 0, 0.7),
    0 2px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

/* binding / spine shading */
.cover::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7cqi;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.08) 45%, rgba(255, 255, 255, 0.18) 60%, transparent);
}

/* soft gloss */
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0%, transparent 38%, transparent 70%, rgba(0, 0, 0, 0.08) 100%);
}

.plan:hover .plan__doc { transform: translateY(-8px); }
.plan:hover .plan__doc::before { transform: translate(7px, 5px) rotate(1deg); }
.plan:hover .plan__doc::after  { transform: translate(14px, 9px) rotate(2deg); }

.plan:hover .cover {
  transform: rotateY(-16deg);
  box-shadow:
    18px 30px 46px -18px rgba(0, 0, 0, 0.75),
    0 2px 4px rgba(0, 0, 0, 0.25);
}

/* ---------- Shared cover type ---------- */
.cover__kicker {
  position: relative;
  z-index: 1;
  font-size: 4.2cqi;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.cover__code {
  position: relative;
  z-index: 1;
  font-size: 22cqi;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.cover__title {
  position: relative;
  z-index: 1;
  font-size: 5.2cqi;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.cover__foot {
  position: relative;
  z-index: 1;
  font-size: 3.5cqi;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

.cover__art {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- E-1: cream paper, framed, globe & trade route ---------- */
.cover--e1 {
  color: var(--green-900);
  background: linear-gradient(160deg, #fbf6df, #efe5bf);
  box-shadow:
    inset 0 0 0 4.5cqi #f6efd2,
    inset 0 0 0 calc(4.5cqi + 1.5px) rgba(42, 72, 36, 0.7),
    0 24px 40px -18px rgba(0, 0, 0, 0.7),
    0 2px 4px rgba(0, 0, 0, 0.25);
}

.cover--e1 .cover__kicker { color: var(--gold-700); }
.cover--e1 .cover__art    { margin: 6cqi 0 auto; }
.cover--e1 .cover__title  { color: var(--green-700); margin-bottom: 3cqi; }

/* ---------- E-2: forest green, outlined code, rising bars ---------- */
.cover--e2 {
  color: var(--gold-300);
  background:
    radial-gradient(90% 60% at 80% 20%, rgba(227, 204, 42, 0.14), transparent 70%),
    linear-gradient(160deg, var(--green-800), var(--green-950));
  padding-bottom: 0;
}

.cover--e2 .cover__code {
  font-size: 34cqi;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold-300);
  margin-left: -1cqi;
}

.cover--e2 .cover__kicker { margin: 1cqi 0 0; }
.cover--e2 .cover__art    { margin: auto 0 4cqi; }
.cover--e2 .cover__title  { color: var(--gold-100); margin-bottom: 6cqi; }

.cover--e2 .cover__foot {
  margin: 0 -9cqi 0 -12cqi;
  padding: 3.5cqi 9cqi 3.5cqi 12cqi;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-400));
  color: var(--green-950);
  font-weight: 700;
  opacity: 1;
}

/* ---------- EB-1C: gold cover, org chart, green band ---------- */
.cover--eb1c {
  color: var(--green-950);
  background: linear-gradient(150deg, #f7ea6e 0%, #e3cc2a 55%, #c4ab1e 100%);
  text-align: center;
  padding-bottom: 0;
}

.cover--eb1c .cover__kicker { margin-bottom: 4cqi; }
.cover--eb1c .cover__code   { font-size: 24cqi; color: var(--green-900); }
.cover--eb1c .cover__art    { margin: auto 0 7cqi; }

.cover--eb1c .cover__band {
  position: relative;
  z-index: 1;
  margin: 0 -9cqi 0 -12cqi;
  padding: 6cqi 8cqi 7cqi 11cqi;
  background: var(--green-900);
  border-top: 2px solid rgba(255, 251, 224, 0.5);
}

.cover--eb1c .cover__title { color: var(--gold-300); }

/* ---------- EB-5: radial green, gold coin, ten jobs ---------- */
.cover--eb5 {
  color: var(--gold-300);
  text-align: center;
  background: radial-gradient(circle at 50% 36%, var(--green-700) 0%, var(--green-900) 45%, var(--green-950) 80%);
}

.cover--eb5 .cover__art    { margin: 4cqi 0 3cqi; }
.cover--eb5 .cover__people { position: relative; z-index: 1; display: block; width: 100%; height: auto; margin-bottom: auto; }
.cover--eb5 .cover__title  { color: var(--gold-100); margin-bottom: 2cqi; }
.cover--eb5 .cover__foot   { color: var(--gold-400); }

.cover__coin-text {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 700;
  fill: var(--green-900);
}

/* ---------- H-1B: sage with circuitry, label box ---------- */
.cover--h1b {
  color: var(--green-950);
  background: linear-gradient(165deg, #cfe0b9, #a9c18e);
  justify-content: flex-end;
}

.cover__circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cover--h1b .cover__label {
  position: relative;
  z-index: 1;
  margin: 0 -2cqi 2cqi -3cqi;
  padding: 5cqi 6cqi 5.5cqi;
  background: #fffbe0;
  border-left: 2.5cqi solid var(--green-900);
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.35);
}

.cover--h1b .cover__kicker { color: var(--green-700); margin-bottom: 2cqi; }
.cover--h1b .cover__code   { font-size: 20cqi; color: var(--green-900); margin-bottom: 2cqi; }

/* ---------- L-1A: two-tone split, parent office → new U.S. office ---------- */
.cover--l1a {
  color: var(--green-900);
  background: linear-gradient(172deg, var(--green-700) 0%, var(--green-800) 55%, #f6efd2 55.3%, #ece2bb 100%);
}

.cover--l1a .cover__kicker { color: var(--gold-300); }
.cover--l1a .cover__art    { margin: 5cqi 0 auto; }
.cover--l1a .cover__code   { font-size: 20cqi; }
.cover--l1a .cover__title  { font-size: 4.8cqi; margin: 1cqi 0 3cqi; }
.cover--l1a .cover__foot   { color: var(--gold-700); font-weight: 700; opacity: 1; }

/* ---------- O-1: certificate style, double gold frame, star ---------- */
.cover--o1 {
  color: var(--green-900);
  background: radial-gradient(circle at 50% 40%, #fffbea, #f1e7c2);
  padding: 6cqi 6cqi 6cqi 9cqi;
}

.cover--o1 .cover__frame {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6cqi;
  border: 4px double var(--gold-700);
}

.cover--o1 .cover__kicker { color: var(--green-700); }
.cover--o1 .cover__art    { margin: 5cqi 0 3cqi; }

.cover--o1 .cover__code {
  font-size: 22cqi;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cover--o1 .cover__title { font-size: 4.8cqi; margin-top: 2cqi; }

/* ---------- Labels under each cover ---------- */
.plan__name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: 0.02em;
  margin-bottom: 0.55rem;
}

.plan__desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 30ch;
  margin: 0 auto;
}

/* ---------- Closing call to action ---------- */
.services__cta {
  margin-top: clamp(3.5rem, 7vw, 5rem);
  text-align: center;
}

.services__cta p {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text);
  margin-bottom: 1.4rem;
}

@media (max-width: 600px) {
  .plans { gap: 2.8rem 1.25rem; }
  .plan  { flex-basis: calc(50% - 0.65rem); }
  .plan__doc { margin-right: 8px; }
  .plan__name { font-size: 0.92rem; }
  .plan__desc { font-size: 0.8rem; }
}

/* ==========================================================
   CLIENT INTAKE
   ========================================================== */
.intake__bg {
  background:
    radial-gradient(40% 40% at 90% 15%, rgba(227, 204, 42, 0.09), transparent 70%),
    radial-gradient(50% 45% at 5% 70%, rgba(92, 127, 80, 0.32), transparent 70%),
    linear-gradient(180deg, var(--green-800) 0%, var(--green-950) 100%);
}

.intake__layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

/* ---------- Glass panel base ---------- */
.intake__aside > *,
.intake-step,
.intake-submit {
  background: linear-gradient(160deg, rgba(59, 94, 51, 0.42), rgba(20, 42, 19, 0.6));
  border: 1px solid rgba(240, 220, 60, 0.16);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 251, 224, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---------- Sidebar ---------- */
.intake__aside {
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.intake__aside > * {
  border-radius: 18px;
  padding: 1.5rem;
}

.intake-progress__pct {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, var(--gold-100), var(--gold-400) 60%, var(--gold-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.intake-progress__pct small { font-size: 0.5em; margin-left: 0.1em; }

.intake-progress__track {
  height: 8px;
  border-radius: 4px;
  background: rgba(14, 30, 13, 0.7);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.intake-progress__fill {
  width: 0;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-300));
  box-shadow: 0 0 12px rgba(247, 234, 110, 0.5);
  transition: width 0.5s var(--ease-out);
}

.intake-progress__count {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.intake-index { padding: 0.75rem !important; }

.intake-index ol { list-style: none; }

.intake-index a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
}

.intake-index a:hover,
.intake-index a.is-current {
  background: rgba(240, 220, 60, 0.1);
  color: var(--text);
}

.intake-index a:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 1px;
}

.intake-index__num {
  flex: none;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 0.08em;
}

.intake-index__title { flex: 1; }

.intake-index a.is-done::after {
  content: "✓";
  color: var(--gold-300);
  font-weight: 700;
}

.intake-contact {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.intake-contact__title {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.intake-contact a {
  font-size: 0.88rem;
  color: var(--gold-300);
  text-decoration: none;
}

.intake-contact a:hover { color: var(--gold-100); text-decoration: underline; }

/* ---------- Accordion steps ---------- */
.intake-step {
  border-radius: 18px;
  margin-bottom: 1rem;
  scroll-margin-top: 1.5rem;
  transition: border-color 0.3s, background-color 0.3s;
}

.intake-step[open] { border-color: rgba(240, 220, 60, 0.38); }

.intake-step__summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  border-radius: 18px;
}

.intake-step__summary::-webkit-details-marker { display: none; }

.intake-step__summary:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 2px;
}

.intake-step__num {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 220, 60, 0.5);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-300);
  transition: background-color 0.3s, color 0.3s;
}

.intake-step[open] .intake-step__num {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600, var(--gold-500)));
  color: var(--green-950);
  border-color: transparent;
}

.intake-step__titles { display: flex; flex-direction: column; gap: 0.15rem; }

.intake-step__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.intake-step__sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.intake-step__badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 220, 60, 0.3);
  color: var(--gold-300);
}

.intake-step__badge.is-done {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--green-950);
}

.intake-step__chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gold-300);
  border-bottom: 2px solid var(--gold-300);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.3s var(--ease-out);
}

.intake-step[open] .intake-step__chev { transform: rotate(-135deg) translateY(-2px); }

.intake-step__body {
  padding: 1.75rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(240, 220, 60, 0.14);
  animation: stepIn 0.45s var(--ease-out);
}

@keyframes stepIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.intake-step__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.intake-next {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--gold-300);
  background: transparent;
  border: 1px solid rgba(240, 220, 60, 0.45);
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.intake-next:hover { background: rgba(240, 220, 60, 0.12); color: var(--gold-100); border-color: var(--gold-300); }
.intake-next:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; }

/* ---------- Questions & fields ---------- */
.intake-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
}

.intake-q { margin-bottom: 1.5rem; }

.intake-label {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 0.55rem;
}

.intake-qnum {
  display: inline-block;
  min-width: 2.1em;
  color: var(--gold-400);
}

.intake-req { color: var(--gold-300); }

.intake-hint {
  margin: 0 0 0.65rem;
  padding: 0.6rem 0.85rem;
  border-left: 3px solid var(--gold-400);
  border-radius: 0 8px 8px 0;
  background: rgba(240, 220, 60, 0.09);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--gold-100);
}

.intake-input {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(14, 30, 13, 0.6);
  border: 1.5px solid rgba(240, 220, 60, 0.18);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  min-height: 46px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.intake-input:hover { border-color: rgba(240, 220, 60, 0.32); }

.intake-input:focus {
  outline: none;
  border-color: var(--gold-400);
  background: rgba(14, 30, 13, 0.8);
  box-shadow: 0 0 0 4px rgba(240, 220, 60, 0.14);
}

.intake-input[aria-invalid="true"] {
  border-color: #e8907a;
  box-shadow: 0 0 0 4px rgba(232, 144, 122, 0.15);
}

textarea.intake-input {
  min-height: 112px;
  resize: vertical;
  line-height: 1.55;
}

select.intake-input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold-300) 50%),
    linear-gradient(135deg, var(--gold-300) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

select.intake-input option { background: var(--green-900); color: var(--text); }

/* ---------- Financial blocks ---------- */
.intake-block { margin-bottom: 2rem; }

.intake-block__title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--gold-300);
  margin-bottom: 0.2rem;
}

.intake-block__sub {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.intake-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(240, 220, 60, 0.14);
  -webkit-overflow-scrolling: touch;
}

.intake-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.intake-table th {
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-300);
  background: rgba(240, 220, 60, 0.08);
  padding: 0.7rem 0.6rem;
  white-space: nowrap;
}

.intake-table td { padding: 0.3rem; }

.intake-table .intake-input {
  min-height: 40px;
  padding: 0.55rem 0.65rem;
  font-size: 0.92rem;
  border-radius: 8px;
  min-width: 96px;
}

/* the pay/hiring table has seven columns */
.intake-table:has(th:nth-child(7)) { min-width: 860px; }

.intake-addrow {
  margin-top: 0.7rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-300);
  background: transparent;
  border: 1px dashed rgba(240, 220, 60, 0.4);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.intake-addrow:hover { background: rgba(240, 220, 60, 0.08); border-color: var(--gold-300); }
.intake-addrow:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 2px; }

.intake-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 220px);
  gap: 0.6rem 1.25rem;
  align-items: center;
}

.intake-list__label {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.intake-money { position: relative; }

.intake-money span {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-400);
  font-weight: 700;
  pointer-events: none;
}

.intake-money .intake-input { padding-left: 1.85rem; }

/* ---------- Submit panel ---------- */
.intake-submit {
  margin-top: 2rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 20px;
  border-color: rgba(240, 220, 60, 0.38);
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(240, 220, 60, 0.14), transparent 70%),
    linear-gradient(160deg, rgba(59, 94, 51, 0.55), rgba(20, 42, 19, 0.7));
}

.intake-submit__title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-100);
  margin-bottom: 0.5rem;
}

.intake-submit__text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 62ch;
}

.intake-submit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.6rem 0 1.2rem;
}

.intake-submit .btn { cursor: pointer; }
.intake-submit .btn--primary { border: none; }

.intake-submit__btn:disabled { cursor: default; }

.intake-submit__btn.is-loading {
  cursor: progress;
  opacity: 0.85;
}

.intake-submit__btn.is-loading .btn__icon {
  animation: nudge 0.8s ease-in-out infinite alternate;
}

@keyframes nudge {
  from { transform: translateX(0); }
  to   { transform: translateX(5px); }
}

.intake-submit__btn.is-sent .btn__icon { display: none; }

.intake-submit__btn.is-sent {
  background: linear-gradient(135deg, #cfe0b9, var(--sage-300));
  box-shadow: none;
}

.intake-status {
  font-size: 0.93rem;
  line-height: 1.6;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.2rem;
}

.intake-status:empty { display: none; }

.intake-status.is-info    { background: rgba(240, 220, 60, 0.1);  border: 1px solid rgba(240, 220, 60, 0.3);  color: var(--gold-100); }
.intake-status.is-success { background: rgba(138, 168, 119, 0.2); border: 1px solid rgba(196, 216, 173, 0.5); color: #e8f2dc; }
.intake-status.is-error   { background: rgba(232, 144, 122, 0.12); border: 1px solid rgba(232, 144, 122, 0.45); color: #fbe3dc; }

.intake-status a,
.intake-status__link {
  font: inherit;
  color: var(--gold-300);
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}

.intake-submit__files {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.intake-submit__files a { color: var(--gold-300); }

.intake-noscript {
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(240, 220, 60, 0.1);
  color: var(--gold-100);
}

.intake-noscript a { color: var(--gold-300); }

.intake-honey {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Intake responsive ---------- */
@media (max-width: 960px) {
  .intake__layout { grid-template-columns: minmax(0, 1fr); }

  .intake__aside {
    position: relative;
    top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .intake-index { display: none; }
}

@media (max-width: 600px) {
  .intake__aside { grid-template-columns: 1fr; }
  .intake-grid { grid-template-columns: 1fr; }

  .intake-step__summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
  }

  .intake-step__sub,
  .intake-step__chev { display: none; }

  .intake-step__num { width: 2.2rem; height: 2.2rem; font-size: 0.78rem; }
  .intake-step__title { font-size: 1rem; }
  .intake-step__body { padding: 1.4rem 1.1rem 1.2rem; }

  .intake-list { grid-template-columns: 1fr; gap: 0.35rem; }
  .intake-list__label { margin-top: 0.6rem; }

  .intake-submit__actions { flex-direction: column; }
  .intake-submit__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .intake-step__body { animation: none; }
  .intake-progress__fill { transition: none; }
}

.intake__form,
.intake-step,
.intake-step__body { min-width: 0; }

/* ==========================================================
   CONTACT
   (form fields and status messages reuse the intake styles)
   ========================================================== */
.contact__bg {
  background:
    radial-gradient(45% 55% at 85% 40%, rgba(227, 204, 42, 0.12), transparent 70%),
    radial-gradient(50% 50% at 0% 0%, rgba(92, 127, 80, 0.3), transparent 70%),
    linear-gradient(180deg, var(--green-950) 0%, var(--green-900) 100%);
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.contact__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 42ch;
  margin-bottom: 2.2rem;
}

.contact-details {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(240, 220, 60, 0.18);
  border-bottom: 1px solid rgba(240, 220, 60, 0.18);
  margin-bottom: 1.8rem;
}

.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-details__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 0.2rem;
}

.contact-details a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

.contact-details a:hover { color: var(--gold-300); }

.contact__intake {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border-radius: 14px;
  border: 1px dashed rgba(240, 220, 60, 0.4);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.5;
  transition: background-color 0.25s, border-color 0.25s;
}

.contact__intake strong {
  display: block;
  color: var(--gold-300);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.contact__intake svg {
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: var(--gold-300);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-left: auto;
  transition: transform 0.3s var(--ease-out);
}

.contact__intake:hover {
  background: rgba(240, 220, 60, 0.07);
  border-color: var(--gold-300);
}

.contact__intake:hover svg { transform: translateX(4px); }

.contact__intake:focus-visible,
.contact-details a:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
}

/* ---------- Form card ---------- */
.contact-form {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: 22px;
  border: 1px solid rgba(240, 220, 60, 0.3);
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(240, 220, 60, 0.1), transparent 70%),
    linear-gradient(160deg, rgba(59, 94, 51, 0.5), rgba(20, 42, 19, 0.7));
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 251, 224, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-form__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-100);
  margin-bottom: 1.6rem;
}

.contact-form__field { margin-bottom: 1.25rem; }

.contact-form__message { min-height: 150px; }

.contact-form .intake-input::placeholder { color: rgba(244, 241, 220, 0.38); }

.contact-form__btn {
  border: none;
  cursor: pointer;
  margin: 0.5rem 0 1.2rem;
}

.contact-form__btn:disabled { cursor: progress; opacity: 0.85; }

.contact-form__btn.is-loading .btn__icon {
  animation: nudge 0.8s ease-in-out infinite alternate;
}

.contact-form .intake-status { margin-bottom: 0; }

/* ---------- Contact responsive ---------- */
@media (max-width: 900px) {
  .contact__inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
  .contact-details { grid-template-columns: 1fr; }
  .contact-form__btn { width: 100%; }
}

/* ==========================================================
   GLOBAL REFINEMENTS — typography, spacing, focus, selection
   ========================================================== */
:root { --nav-h: 72px; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
}

body {
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}

::selection {
  background: rgba(240, 220, 60, 0.85);
  color: var(--green-950);
}

/* Balanced headings, no orphaned last words in body copy */
.section__title,
.plan__name,
.note__title,
.intake-step__title,
.contact-form__title,
.intake-submit__title { text-wrap: balance; }

.section__lead,
.about__bio p,
.plan__desc,
.note__text,
.contact__lead,
.intake-label,
.intake-submit__text { text-wrap: pretty; }

/* Consistent vertical rhythm between sections */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section__title { margin-bottom: 1.25rem; }
.section__lead { line-height: 1.75; }

/* Visible, on-brand keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Sticky elements and in-page jumps clear the fixed nav */
.profile-card,
.intake__aside { top: calc(var(--nav-h) + 1.5rem); }
.intake-step { scroll-margin-top: calc(var(--nav-h) + 1rem); }

/* Skip link for keyboard and screen-reader users */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.2rem;
  border-radius: 10px;
  background: var(--gold-400);
  color: var(--green-950);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus { top: 1rem; }

/* ==========================================================
   STICKY NAVIGATION
   ========================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(14, 30, 13, 0.55), rgba(14, 30, 13, 0));
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s, border-color 0.4s, box-shadow 0.4s;
  animation: fadeIn 0.8s 0.2s both;
}

.site-nav.is-scrolled,
.site-nav.is-open {
  background: rgba(16, 34, 15, 0.82);
  border-bottom-color: rgba(240, 220, 60, 0.14);
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

.site-nav__inner {
  max-width: 1240px;
  height: var(--nav-h);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  flex: none;
}

.site-nav__brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(247, 234, 110, 0.35));
  transition: transform 0.6s var(--ease-out);
}

.site-nav__brand:hover img { transform: rotateY(180deg); }

.site-nav__brand span {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav__brand b { color: var(--gold-300); }

.site-nav__menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav__link {
  position: relative;
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.25rem;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.site-nav__link:hover { color: var(--text); }
.site-nav__link:hover::after { transform: scaleX(1); }

.site-nav__link.is-active { color: var(--gold-300); }
.site-nav__link.is-active::after { transform: scaleX(1); }

.site-nav__cta {
  padding: 0.7rem 1.35rem;
  font-size: 0.85rem;
}

.site-nav__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-300));
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: opacity 0.4s;
}

.site-nav.is-scrolled .site-nav__progress { opacity: 1; }

/* ---------- Hamburger ---------- */
.site-nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(240, 220, 60, 0.35);
  border-radius: 12px;
  background: rgba(20, 42, 19, 0.4);
  cursor: pointer;
}

.site-nav__toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 1px;
  background: var(--gold-300);
  transition: transform 0.35s var(--ease-out), opacity 0.2s;
}

.site-nav__toggle span:nth-child(1) { top: 14px; }
.site-nav__toggle span:nth-child(2) { top: 21px; }
.site-nav__toggle span:nth-child(3) { top: 28px; }

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

/* ---------- Mobile / tablet menu ---------- */
@media (max-width: 1024px) {
  :root { --nav-h: 64px; }

  .site-nav__inner { padding: 0 1.25rem; }
  .site-nav__brand img { width: 34px; height: 34px; }
  .site-nav__brand span { font-size: 0.88rem; }

  .site-nav__toggle { display: block; }

  .site-nav__menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    margin: 0;
    padding: 0.75rem 1.25rem 1.75rem;
    background: rgba(16, 34, 15, 0.97);
    border-bottom: 1px solid rgba(240, 220, 60, 0.18);
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.35s var(--ease-out), visibility 0s 0.35s;
  }

  .site-nav.is-open .site-nav__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s, transform 0.35s var(--ease-out), visibility 0s;
  }

  .site-nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__link {
    padding: 1rem 0.25rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(240, 220, 60, 0.1);
  }

  .site-nav__link::after { display: none; }

  .site-nav__link.is-active {
    padding-left: 0.85rem;
    border-left: 2px solid var(--gold-300);
  }

  .site-nav__cta {
    width: 100%;
    padding: 1rem;
    font-size: 0.95rem;
  }

  body.nav-open { overflow: hidden; }
}

@media (max-width: 380px) {
  .site-nav__brand span { font-size: 0.8rem; letter-spacing: 0.06em; }
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  position: relative;
  background:
    radial-gradient(50% 80% at 85% 0%, rgba(227, 204, 42, 0.06), transparent 70%),
    linear-gradient(180deg, #11240f 0%, #0b180a 100%);
  border-top: 1px solid rgba(240, 220, 60, 0.18);
  padding-top: clamp(3.5rem, 7vw, 5rem);
}

.site-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--text);
}

.site-footer__logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(247, 234, 110, 0.3));
}

.site-footer__logo span {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__logo b { color: var(--gold-300); }

.site-footer__brand p {
  margin-top: 1.1rem;
  max-width: 34ch;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.site-footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 1.1rem;
}

.site-footer__col ul { list-style: none; }
.site-footer__col li { margin-bottom: 0.7rem; }

.site-footer__col a,
.site-footer__top {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.25s, transform 0.25s var(--ease-out);
}

.site-footer__col a:hover {
  color: var(--gold-100);
  transform: translateX(3px);
}

.site-footer__bottom {
  max-width: 1240px;
  margin: clamp(3rem, 6vw, 4rem) auto 0;
  padding: 1.5rem 2rem 1.75rem;
  border-top: 1px solid rgba(240, 220, 60, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  font-size: 0.85rem;
  color: rgba(244, 241, 220, 0.6);
}

.site-footer__top { font-size: 0.85rem; color: var(--gold-300); }
.site-footer__top:hover { color: var(--gold-100); transform: translateY(-2px); }

@media (max-width: 900px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; padding: 0 1.25rem; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__bottom { padding: 1.5rem 1.25rem 1.75rem; }
}

@media (max-width: 560px) {
  .site-footer__inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .site-footer__bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}

/* ==========================================================
   HOVER & INTERACTION POLISH
   (lifts only on devices that truly hover, so phones don't
   get "stuck" hover states)
   ========================================================== */
.btn:active {
  transform: translateY(-1px) scale(0.98);
  transition-duration: 0.1s;
}

.btn--ghost:hover { box-shadow: 0 12px 28px -14px rgba(240, 220, 60, 0.45); }

.profile-card,
.intake__aside > *,
.intake-step,
.contact-form,
.contact__intake {
  transition: transform 0.45s var(--ease-out), border-color 0.35s, box-shadow 0.45s var(--ease-out), background-color 0.35s;
}

.plan__name { transition: color 0.3s; }

.contact-form:focus-within {
  border-color: rgba(240, 220, 60, 0.5);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(240, 220, 60, 0.12), 0 0 40px -10px rgba(240, 220, 60, 0.18);
}

@media (hover: hover) {
  .profile-card:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 220, 60, 0.42);
    box-shadow: 0 36px 60px -30px rgba(0, 0, 0, 0.7), 0 0 50px -16px rgba(247, 234, 110, 0.25);
  }

  .intake__aside > *:hover { border-color: rgba(240, 220, 60, 0.32); }

  .intake-step:not([open]):hover {
    transform: translateY(-2px);
    border-color: rgba(240, 220, 60, 0.36);
    box-shadow: 0 24px 40px -26px rgba(0, 0, 0, 0.7), 0 0 30px -14px rgba(247, 234, 110, 0.2);
  }

  .intake-step:not([open]) .intake-step__summary:hover .intake-step__num {
    background: rgba(240, 220, 60, 0.14);
  }

  .contact-form:hover { border-color: rgba(240, 220, 60, 0.42); }
  .contact__intake:hover { transform: translateY(-2px); }

  .plan:hover .plan__name { color: var(--gold-100); }

  .contact-details a { background: linear-gradient(var(--gold-300), var(--gold-300)) 0 100% / 0 1px no-repeat; transition: color 0.2s, background-size 0.35s var(--ease-out); }
  .contact-details a:hover { background-size: 100% 1px; }
}

/* ==========================================================
   RESPONSIVE REFINEMENTS
   ========================================================== */
@media (max-width: 1024px) {
  .section__inner { padding: 0 1.5rem; }
}

@media (max-width: 900px) {
  .section__inner { padding: 0 1.25rem; }
  .section__header { margin-bottom: 2.75rem; }
  .about__inner { gap: 2.5rem; }
}

@media (max-width: 600px) {
  .section { padding: 4rem 0; }
  .section__eyebrow { font-size: 0.72rem; letter-spacing: 0.22em; }
  .section__title { font-size: clamp(1.75rem, 8vw, 2.2rem); }
  .section__lead { font-size: 1rem; }

  .about__bio p { font-size: 1rem; line-height: 1.8; }
  .about__bio p:first-child { font-size: 1.06rem; }
  .about__cta .btn,
  .services__cta .btn { width: 100%; }

  .profile-card { padding: 2.25rem 1.5rem 1.75rem; }
  .stat__value { font-size: 1.7rem; }

  .contact-form { padding: 1.5rem 1.25rem; border-radius: 18px; }
}

@media (max-width: 380px) {
  .notes { grid-template-columns: 1fr; }
  .plans { gap: 2.5rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav { animation: none; }
  .site-nav__menu,
  .site-nav__toggle span,
  .site-nav__link::after { transition: none; }
}

/* Revealed cards keep their hover lift (the scroll-reveal rule is more specific) */
.js .is-visible.profile-card,
.js .is-visible.contact-form,
.js .is-visible.contact__intake {
  transition: opacity 0.9s var(--ease-out), transform 0.45s var(--ease-out), border-color 0.35s, box-shadow 0.45s var(--ease-out), background-color 0.35s;
}

@media (hover: hover) {
  .js .is-visible.profile-card:hover { transform: translateY(-4px); }
  .js .is-visible.contact__intake:hover { transform: translateY(-2px); }
}

/* footer divider aligned with the content edges */
.site-footer__bottom { position: relative; border-top: none; }
.site-footer__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: rgba(240, 220, 60, 0.12);
}
@media (max-width: 900px) {
  .site-footer__bottom::before { left: 1.25rem; right: 1.25rem; }
}

/* ---------- About: two calls to action, LinkedIn ---------- */
.about__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn--ghost .btn__icon--external { transition: transform 0.35s var(--ease-out); }
.btn--ghost:hover .btn__icon--external { transform: translate(2px, -2px); }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Contact: one person, details side by side ---------- */
.contact-details { grid-template-columns: 1fr; }
.contact-details li {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 1.75rem;
}
.contact-details__label { flex-basis: 100%; }

/* ==========================================================
   SEO / MOBILE-USABILITY FIXES
   (Google's mobile checks: text of 12px or more, tap targets of 24px or more)
   ========================================================== */
.intake-step__badge,
.stat__label { font-size: 0.75rem; }

.intake-contact a,
.site-footer__top {
  display: inline-block;
  padding: 0.2rem 0;
  min-height: 24px;
}

@media (max-width: 600px) {
  .section__eyebrow { font-size: 0.75rem; }
}

@media (max-width: 520px) {
  .note__label { font-size: 0.66rem; letter-spacing: 0.08em; padding: 0.3rem 0.55rem; }
}

/* ==========================================================
   LIGHT THEME — everything from Areas of Service down
   Background #f5f5dc. The hero above is untouched; the top of
   Areas of Service starts in the hero's own bottom-edge colors
   and fades into the light background so there is no seam.
   ========================================================== */
:root {
  --lz-bg:        #f5f5dc;
  --lz-surface:   #ffffff;
  --lz-ink:       #1b3319;   /* headings & body text */
  --lz-muted:     #4a6346;   /* secondary text (6.4:1 on the bg) */
  --lz-gold-ink:  #7a6a0c;   /* gold used for text (5.2:1 on the bg) */
  --lz-gold:      #c9b12a;   /* gold used for lines & decoration */
  --lz-line:        rgba(29, 58, 27, 0.12);
  --lz-line-strong: rgba(29, 58, 27, 0.24);
  --lz-gold-line:   rgba(184, 160, 28, 0.45);
  --lz-shadow:     0 24px 48px -30px rgba(29, 58, 27, 0.35), 0 2px 8px rgba(29, 58, 27, 0.06);
  --lz-shadow-lg:  0 34px 60px -30px rgba(29, 58, 27, 0.42), 0 4px 12px rgba(29, 58, 27, 0.08);
  --blend-h: clamp(190px, 20vw, 300px);
}

/* Text colors flip automatically wherever --text / --text-muted are used */
.section,
.site-footer {
  --text: var(--lz-ink);
  --text-muted: var(--lz-muted);
  color: var(--lz-ink);
}

/* ---------- Section backgrounds ---------- */
.section::before { background: linear-gradient(90deg, transparent, rgba(184, 160, 28, 0.35), transparent); }
.services::before { display: none; } /* the blend replaces the divider here */

.services { padding-top: calc(var(--blend-h) * 0.82 + 1.5rem); }

.services__bg {
  background:
    /* eased fade from the hero colors into the light background */
    linear-gradient(180deg,
      rgba(245, 245, 220, 0) 0%,
      rgba(245, 245, 220, 0.05) 8%,
      rgba(245, 245, 220, 0.16) 18%,
      rgba(245, 245, 220, 0.33) 30%,
      rgba(245, 245, 220, 0.53) 42%,
      rgba(245, 245, 220, 0.71) 54%,
      rgba(245, 245, 220, 0.85) 66%,
      rgba(245, 245, 220, 0.94) 78%,
      rgba(245, 245, 220, 0.985) 89%,
      #f5f5dc 100%) top / 100% var(--blend-h) no-repeat,
    /* the hero's bottom-edge colors, sampled left to right */
    linear-gradient(90deg,
      #21351d 0%, #253b21 10%, #2d4627 25%, #324e2b 40%, #35532e 50%,
      #35542e 60%, #35532d 75%, #35512b 90%, #344e2a 100%) top / 100% var(--blend-h) no-repeat,
    repeating-linear-gradient(135deg, rgba(29, 58, 27, 0.035) 0 1px, transparent 1px 26px),
    radial-gradient(45% 40% at 50% 18%, rgba(227, 204, 42, 0.1), transparent 70%),
    var(--lz-bg);
}

@media (max-width: 900px) {
  .services__bg {
    background:
      linear-gradient(180deg,
        rgba(245, 245, 220, 0) 0%,
        rgba(245, 245, 220, 0.05) 8%,
        rgba(245, 245, 220, 0.16) 18%,
        rgba(245, 245, 220, 0.33) 30%,
        rgba(245, 245, 220, 0.53) 42%,
        rgba(245, 245, 220, 0.71) 54%,
        rgba(245, 245, 220, 0.85) 66%,
        rgba(245, 245, 220, 0.94) 78%,
        rgba(245, 245, 220, 0.985) 89%,
        #f5f5dc 100%) top / 100% var(--blend-h) no-repeat,
      linear-gradient(90deg,
        #344e2d 0%, #375130 10%, #385430 25%, #375430 40%, #36542f 50%,
        #35522e 60%, #35522d 75%, #334e2b 90%, #314a29 100%) top / 100% var(--blend-h) no-repeat,
      repeating-linear-gradient(135deg, rgba(29, 58, 27, 0.035) 0 1px, transparent 1px 26px),
      var(--lz-bg);
  }
}

.about__bg {
  background:
    radial-gradient(40% 50% at 12% 30%, rgba(227, 204, 42, 0.1), transparent 70%),
    radial-gradient(45% 55% at 95% 85%, rgba(138, 168, 119, 0.16), transparent 70%),
    var(--lz-bg);
}

.skills__bg {
  background:
    radial-gradient(rgba(29, 58, 27, 0.1) 1px, transparent 1.6px) 0 0 / 22px 22px,
    radial-gradient(50% 45% at 85% 10%, rgba(227, 204, 42, 0.1), transparent 70%),
    radial-gradient(55% 50% at 10% 90%, rgba(138, 168, 119, 0.14), transparent 70%),
    var(--lz-bg);
}

.intake__bg {
  background:
    radial-gradient(40% 40% at 90% 15%, rgba(227, 204, 42, 0.09), transparent 70%),
    radial-gradient(50% 45% at 5% 70%, rgba(138, 168, 119, 0.14), transparent 70%),
    var(--lz-bg);
}

.contact__bg {
  background:
    radial-gradient(45% 55% at 85% 40%, rgba(227, 204, 42, 0.1), transparent 70%),
    radial-gradient(50% 50% at 0% 0%, rgba(138, 168, 119, 0.14), transparent 70%),
    var(--lz-bg);
}

/* ---------- Shared type ---------- */
.section .section__eyebrow { color: var(--lz-gold-ink); }
.section .section__eyebrow::before { background: linear-gradient(90deg, transparent, var(--lz-gold)); }
.section .section__eyebrow--center::after { background: linear-gradient(90deg, var(--lz-gold), transparent); }

/* forest-green headings with a slow gold glint, matching the hero's sheen */
.section .section__title {
  background: linear-gradient(100deg,
    var(--green-900) 0%, var(--green-800) 32%, #6e600c 44%, #a08d14 50%,
    #6e600c 56%, var(--green-800) 68%, var(--green-900) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
}

/* ---------- Buttons on light ---------- */
.section .btn--primary {
  box-shadow: 0 12px 26px -12px rgba(184, 160, 28, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.section .btn--primary:hover {
  box-shadow: 0 18px 34px -12px rgba(184, 160, 28, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.section .btn--ghost {
  color: var(--green-800);
  border-color: var(--lz-line-strong);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.section .btn--ghost:hover {
  color: var(--green-950);
  border-color: var(--green-700);
  background: #fff;
  box-shadow: 0 14px 28px -16px rgba(29, 58, 27, 0.45);
}

.section a:focus-visible,
.section button:focus-visible,
.section summary:focus-visible,
.section .btn:focus-visible,
.site-footer a:focus-visible { outline-color: var(--green-700); }

/* ---------- Areas of Service ---------- */
.section .cover:not(.cover--e1) {
  box-shadow: 0 22px 36px -18px rgba(29, 58, 27, 0.5), 0 2px 4px rgba(29, 58, 27, 0.15);
}
.section .cover--e1 {
  box-shadow:
    inset 0 0 0 4.5cqi #f6efd2,
    inset 0 0 0 calc(4.5cqi + 1.5px) rgba(42, 72, 36, 0.7),
    0 22px 36px -18px rgba(29, 58, 27, 0.5),
    0 2px 4px rgba(29, 58, 27, 0.15);
}
.section .plan:hover .cover:not(.cover--e1) {
  box-shadow: 18px 28px 42px -18px rgba(29, 58, 27, 0.55), 0 2px 4px rgba(29, 58, 27, 0.15);
}
.section .plan:hover .cover--e1 {
  box-shadow:
    inset 0 0 0 4.5cqi #f6efd2,
    inset 0 0 0 calc(4.5cqi + 1.5px) rgba(42, 72, 36, 0.7),
    18px 28px 42px -18px rgba(29, 58, 27, 0.55),
    0 2px 4px rgba(29, 58, 27, 0.15);
}
.section .plan__doc::before,
.section .plan__doc::after { box-shadow: 0 1px 3px rgba(29, 58, 27, 0.22); }

.section .plan__name { color: var(--green-900); }
.section .plan:hover .plan__name { color: var(--lz-gold-ink); }

/* ---------- About ---------- */
.section .profile-card {
  background: linear-gradient(170deg, #ffffff 0%, #fffdf4 100%);
  border-color: var(--lz-line);
  box-shadow: var(--lz-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.section .profile-card__role { color: var(--lz-gold-ink); }
.section .profile-card__stats,
.section .stat { border-color: var(--lz-line); }
.section .stat:nth-child(odd) { border-right-color: var(--lz-line); }
.section .stat__value {
  background: linear-gradient(180deg, #9a8812 0%, #7a6a0c 55%, #5c4f08 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

@media (hover: hover) {
  .section .profile-card:hover {
    border-color: var(--lz-gold-line);
    box-shadow: var(--lz-shadow-lg), 0 0 0 1px rgba(227, 204, 42, 0.12);
  }
}

/* ---------- Skills (sticky notes) ---------- */
.section .note {
  box-shadow:
    0 0 0 1px rgba(29, 58, 27, 0.05),
    0 12px 20px -12px rgba(29, 58, 27, 0.45),
    8px 16px 20px -16px rgba(29, 58, 27, 0.3);
}
.section .note:hover,
.js .section .note.is-placed:hover {
  box-shadow:
    0 0 0 1px rgba(29, 58, 27, 0.05),
    0 26px 36px -16px rgba(29, 58, 27, 0.45),
    12px 22px 28px -18px rgba(29, 58, 27, 0.3);
}
.section .note--tape::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.62));
  border-left-color: rgba(29, 58, 27, 0.08);
  border-right-color: rgba(29, 58, 27, 0.08);
  box-shadow: 0 1px 3px rgba(29, 58, 27, 0.18);
}
.section .note--pin::before {
  box-shadow: 2px 4px 5px rgba(29, 58, 27, 0.35), inset -1px -2px 2px rgba(0, 0, 0, 0.2);
}

/* ---------- Client Intake ---------- */
.section .intake__aside > *,
.section .intake-step {
  background: var(--lz-surface);
  border-color: var(--lz-line);
  box-shadow: var(--lz-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.section .intake-step[open] { border-color: var(--lz-gold-line); }

.section .intake-progress__pct {
  background: linear-gradient(180deg, #9a8812 0%, #7a6a0c 55%, #5c4f08 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.section .intake-progress__track { background: rgba(29, 58, 27, 0.1); }
.section .intake-progress__fill {
  background: linear-gradient(90deg, var(--gold-700), var(--gold-500));
  box-shadow: 0 0 10px rgba(227, 204, 42, 0.45);
}

.section .intake-index a:hover,
.section .intake-index a.is-current { background: rgba(227, 204, 42, 0.16); color: var(--lz-ink); }
.section .intake-index__num,
.section .intake-index a.is-done::after { color: var(--lz-gold-ink); }

.section .intake-contact a { color: var(--lz-gold-ink); }
.section .intake-contact a:hover { color: var(--green-900); }

.section .intake-step__num { border-color: var(--lz-gold-line); color: var(--lz-gold-ink); }
.section .intake-step[open] .intake-step__num { color: var(--green-950); border-color: transparent; }
.section .intake-step__badge { border-color: var(--lz-gold-line); color: var(--lz-gold-ink); }
.section .intake-step__badge.is-done { background: var(--gold-400); border-color: var(--gold-400); color: var(--green-950); }
.section .intake-step__chev { border-color: var(--green-700); }
.section .intake-step__body { border-top-color: var(--lz-line); }

.section .intake-next { color: var(--green-800); border-color: var(--lz-line-strong); }
.section .intake-next:hover { color: var(--green-950); border-color: var(--green-700); background: rgba(227, 204, 42, 0.14); }

.section .intake-qnum,
.section .intake-req,
.section .intake-money span { color: var(--lz-gold-ink); }

.section .intake-hint {
  border-left-color: var(--lz-gold);
  background: rgba(227, 204, 42, 0.14);
  color: var(--lz-ink);
}

.section .intake-input {
  color: var(--lz-ink);
  background-color: #ffffff;
  border-color: var(--lz-line-strong);
}
.section .intake-input:hover { border-color: rgba(29, 58, 27, 0.4); }
.section .intake-input:focus {
  background-color: #ffffff;
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(227, 204, 42, 0.25);
}
.section .intake-input[aria-invalid="true"] {
  border-color: #c4553a;
  box-shadow: 0 0 0 4px rgba(196, 85, 58, 0.14);
}
.section .intake-input::placeholder { color: rgba(74, 99, 70, 0.6); }

.section select.intake-input,
.section select.intake-input:focus {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--green-800) 50%),
    linear-gradient(135deg, var(--green-800) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.section select.intake-input option { background: #ffffff; color: var(--lz-ink); }

.section .intake-block__title { color: var(--lz-gold-ink); }
.section .intake-table-wrap { border-color: var(--lz-line); background: #fffdf4; }
.section .intake-table th { color: var(--lz-gold-ink); background: rgba(227, 204, 42, 0.14); }
.section .intake-addrow { color: var(--green-800); border-color: var(--lz-line-strong); }
.section .intake-addrow:hover { background: rgba(227, 204, 42, 0.12); border-color: var(--green-700); }

.section .intake-submit {
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(227, 204, 42, 0.14), transparent 70%),
    var(--lz-surface);
  border-color: var(--lz-gold-line);
  box-shadow: var(--lz-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.section .intake-submit__title { color: var(--lz-ink); }
.section .intake-submit__files a,
.section .intake-noscript a,
.section .intake-status a,
.section .intake-status__link { color: var(--green-800); }
.section .intake-noscript { background: rgba(227, 204, 42, 0.14); color: var(--lz-ink); }

.section .intake-status.is-info    { background: rgba(227, 204, 42, 0.14); border-color: rgba(184, 160, 28, 0.4);  color: var(--lz-ink); }
.section .intake-status.is-success { background: rgba(138, 168, 119, 0.18); border-color: rgba(92, 127, 80, 0.4);  color: #1f3d1c; }
.section .intake-status.is-error   { background: #fdf1ed; border-color: rgba(196, 85, 58, 0.4); color: #7a2a14; }

@media (hover: hover) {
  .section .intake__aside > *:hover { border-color: var(--lz-line-strong); }
  .section .intake-step:not([open]):hover {
    border-color: var(--lz-gold-line);
    box-shadow: var(--lz-shadow-lg);
  }
  .section .intake-step:not([open]) .intake-step__summary:hover .intake-step__num {
    background: rgba(227, 204, 42, 0.18);
  }
}

/* ---------- Contact ---------- */
.section .contact-details { border-color: var(--lz-line); }
.section .contact-details__label { color: var(--lz-gold-ink); }
.section .contact-details a:hover { color: var(--lz-gold-ink); }

.section .contact__intake { border-color: var(--lz-gold-line); background: rgba(255, 255, 255, 0.6); }
.section .contact__intake strong { color: var(--lz-gold-ink); }
.section .contact__intake svg { stroke: var(--lz-gold-ink); }
.section .contact__intake:hover { background: #ffffff; border-color: var(--lz-gold); }

.section .contact-form {
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(227, 204, 42, 0.1), transparent 70%),
    var(--lz-surface);
  border-color: var(--lz-line);
  box-shadow: var(--lz-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.section .contact-form__title { color: var(--lz-ink); }
.section .contact-form:focus-within {
  border-color: var(--lz-gold-line);
  box-shadow: var(--lz-shadow-lg), 0 0 0 1px rgba(227, 204, 42, 0.15);
}

@media (hover: hover) {
  .section .contact-form:hover { border-color: var(--lz-gold-line); }
  .section .contact-details a { background-image: linear-gradient(var(--lz-gold-ink), var(--lz-gold-ink)); }
}

/* ---------- Footer ---------- */
.site-footer {
  background:
    radial-gradient(50% 80% at 85% 0%, rgba(227, 204, 42, 0.08), transparent 70%),
    var(--lz-bg);
  border-top-color: var(--lz-line);
}
.site-footer .site-footer__logo b,
.site-footer .site-footer__heading,
.site-footer .site-footer__top { color: var(--lz-gold-ink); }
.site-footer .site-footer__col a:hover,
.site-footer .site-footer__top:hover { color: var(--green-950); }
.site-footer .site-footer__bottom { color: var(--lz-muted); }
.site-footer .site-footer__bottom::before { background: var(--lz-line); }
.site-footer .site-footer__logo img { filter: drop-shadow(0 2px 6px rgba(29, 58, 27, 0.25)); }

/* Areas of Service: texture and glow fade in under the blend instead of starting on a hard line */
.services__bg {
  background:
    linear-gradient(180deg,
      rgba(92, 127, 80, 0) 0%,
      rgba(92, 127, 80, 0.16) 12%,
      rgba(116, 141, 92, 0.4) 26%,
      rgba(150, 165, 118, 0.6) 40%,
      rgba(188, 194, 152, 0.79) 54%,
      rgba(216, 218, 182, 0.91) 68%,
      rgba(236, 236, 208, 0.97) 82%,
      rgba(243, 243, 218, 0.995) 92%,
      #f5f5dc 100%) top / 100% var(--blend-h) no-repeat,
    linear-gradient(90deg,
      #21351d 0%, #253b21 10%, #2d4627 25%, #324e2b 40%, #35532e 50%,
      #35542e 60%, #35532d 75%, #35512b 90%, #344e2a 100%) top / 100% var(--blend-h) no-repeat,
    var(--lz-bg);
}

@media (max-width: 900px) {
  .services__bg {
    background:
      linear-gradient(180deg,
        rgba(92, 127, 80, 0) 0%,
        rgba(92, 127, 80, 0.16) 12%,
        rgba(116, 141, 92, 0.4) 26%,
        rgba(150, 165, 118, 0.6) 40%,
        rgba(188, 194, 152, 0.79) 54%,
        rgba(216, 218, 182, 0.91) 68%,
        rgba(236, 236, 208, 0.97) 82%,
        rgba(243, 243, 218, 0.995) 92%,
        #f5f5dc 100%) top / 100% var(--blend-h) no-repeat,
      linear-gradient(90deg,
        #344e2d 0%, #375130 10%, #385430 25%, #375430 40%, #36542f 50%,
        #35522e 60%, #35522d 75%, #334e2b 90%, #314a29 100%) top / 100% var(--blend-h) no-repeat,
      var(--lz-bg);
  }
}

.services__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 380px at 50% calc(var(--blend-h) + 160px), rgba(227, 204, 42, 0.11), transparent 70%),
    repeating-linear-gradient(135deg, rgba(29, 58, 27, 0.035) 0 1px, transparent 1px 26px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent calc(var(--blend-h) * 0.7), #000 calc(var(--blend-h) + 220px));
  mask-image: linear-gradient(180deg, transparent 0, transparent calc(var(--blend-h) * 0.7), #000 calc(var(--blend-h) + 220px));
}

/* Nav stays deep forest green over the light sections (it read gray-olive when see-through) */
.site-nav.is-scrolled,
.site-nav.is-open { background: rgba(18, 38, 17, 0.95); }

/* Small screens: the profile card and intake sidebar are not sticky, so they must not be offset */
@media (max-width: 960px) { .intake__aside { top: 0; } }
@media (max-width: 900px) { .profile-card { top: 0; } }
