/* Adriene Monroe, PharmD — built from handoff/README.md (Nocturne tokens, light usage). */
:root {
  --neutral-100: #f3f5fe;
  --neutral-300: #cfd3e5;
  --neutral-400: #b2b6ca;
  --neutral-600: #75798c;
  --neutral-700: #595d6c;
  --neutral-800: #3f424d;
  --neutral-900: #292b31;

  --accent-100: #f5f4ff;
  --accent-200: #e7e5fe;
  --accent-300: #d2cefd;
  --accent-400: #b5abfc;
  --accent-500: #968ae0;
  --accent-700: #5d5294;
  --accent-800: #423a6a;

  --section: #262a60;
  --section-glow: #353b80;
  --section-ghost: #4c5397;

  --bg: var(--neutral-100);
  --surface: #ffffff;
  --text: var(--neutral-900);
  --ring: 0 0 0 1px var(--neutral-300);
  --lift: 0 24px 48px -24px rgba(66, 58, 106, 0.3);
  --gutter: clamp(20px, 5vw, 72px);
  --font: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
}
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
a { color: var(--accent-700); }
a:hover { color: var(--accent-800); }
img { display: block; max-width: 100%; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent-700); outline-offset: 2px; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-6%, 5%) scale(1.08); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.page { position: relative; min-height: 100vh; overflow: hidden; }
.wrap { position: relative; max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.ambient {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120vh;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 22%, var(--accent-300), transparent 70%),
    radial-gradient(45% 40% at 10% 10%, var(--accent-200), transparent 70%);
  opacity: 0.9;
  filter: blur(20px);
  animation: drift 22s ease-in-out infinite;
}

/* — shared bits — */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  color: var(--accent-700);
  font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 36px; height: 2px; border-radius: 2px; background: currentColor;
}
.eyebrow-light { color: var(--accent-300); }
.accent { color: var(--accent-700); }
.muted { color: var(--neutral-700); }
h2 {
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance;
}
.stack-14 { display: flex; flex-direction: column; gap: 14px; }
.stack-18 { display: flex; flex-direction: column; gap: 18px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 26px;
  font: 500 17px/1.2 var(--font);
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn i { font-size: 18px; }
.btn-solid { background: var(--accent-700); border-color: var(--accent-700); color: var(--accent-100); }
.btn-solid:hover { background: var(--accent-800); border-color: var(--accent-800); color: var(--accent-100); }
.btn-solid:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-ghost { color: var(--neutral-900); border-color: var(--neutral-400); background: transparent; }
.btn-ghost:hover { color: var(--neutral-900); background: color-mix(in srgb, var(--neutral-900) 6%, transparent); }
.btn-outline { color: var(--accent-700); border-color: var(--accent-700); background: transparent; }
.btn-outline:hover { color: var(--accent-700); background: color-mix(in srgb, var(--accent-700) 10%, transparent); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* — nav — */
.nav {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px;
  padding-top: 20px; padding-bottom: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--neutral-900); text-decoration: none; }
.brand:hover { color: var(--neutral-900); }
.monogram {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-700); color: var(--accent-100);
  font-size: 15px; font-weight: 600; letter-spacing: 0.04em;
}
.brand-name { font-size: 17px; font-weight: 500; }
.brand-name span { color: var(--neutral-600); }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 22px; }
.nav-links a:not(.btn) { font-size: 16px; padding: 10px 0; color: var(--neutral-800); text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--accent-700); }

/* — hero — */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding-top: clamp(40px, 7vw, 96px);
  padding-bottom: clamp(56px, 8vw, 120px);
}
.hero-copy { display: flex; flex-direction: column; gap: 26px; animation: rise .8s ease-out both; }
.hero h1 {
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance;
}
.lead { max-width: 46ch; font-size: clamp(18px, 2vw, 21px); color: var(--neutral-700); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-actions .btn { flex: 1 1 auto; }
.hero-actions .btn-solid { max-width: 280px; }
.hero-actions .btn-ghost { max-width: 220px; }
.trust {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  margin-top: 12px; padding-top: 24px;
  border-top: 1px solid var(--neutral-300);
  font-size: 15px; color: var(--neutral-700);
}
.trust span { display: flex; align-items: center; gap: 8px; }
.trust i { font-size: 20px; color: var(--accent-700); }

.portrait { position: relative; justify-self: center; width: min(100%, 440px); animation: rise 1s .15s ease-out both; }
.portrait-backdrop {
  position: absolute; inset: 8% -6% -4% -6%;
  border-radius: 999px 999px 28px 28px;
  background: linear-gradient(160deg, var(--accent-300), var(--accent-500));
  opacity: 0.55; filter: blur(2px); transform: rotate(-4deg);
}
.portrait-frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 220px 220px 24px 24px;
  background: var(--surface);
  box-shadow: var(--ring), 0 30px 60px -20px rgba(66, 58, 106, 0.45);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-placeholder {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(180deg, var(--accent-100), var(--accent-200));
  color: var(--neutral-600); font-size: 15px;
}
.portrait-placeholder i { font-size: 72px; color: var(--accent-400); }
.portrait-card {
  position: absolute; left: -8px; bottom: 28px; max-width: 260px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 14px; background: var(--surface);
  box-shadow: var(--ring), 0 16px 32px -12px rgba(41, 43, 49, 0.25);
  font-size: 14px; line-height: 1.4; color: var(--neutral-800);
}
.portrait-card strong { font-weight: 600; color: var(--neutral-900); }
.portrait-card-icon {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-200); color: var(--accent-700); font-size: 22px;
}

/* — services — */
.services { display: flex; flex-direction: column; gap: 36px; padding-top: clamp(48px, 8vw, 112px); padding-bottom: clamp(48px, 8vw, 112px); }
.section-head {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px 64px; align-items: end;
}
.intro { max-width: 44ch; line-height: 1.65; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 18px;
  padding: 32px 28px; border-radius: 20px;
  background: var(--surface); box-shadow: var(--ring);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--accent-400), 0 24px 40px -20px rgba(66, 58, 106, 0.35); }
.card > * { position: relative; }
.card .card-num {
  position: absolute; right: 16px; top: 8px;
  font-size: 96px; line-height: 1; font-weight: 500; letter-spacing: -0.05em;
  color: var(--accent-200);
}
.card-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-200); color: var(--accent-700); font-size: 28px;
}
.card h3 { font-size: 22px; line-height: 1.2; }
.card p { font-size: 17px; color: var(--neutral-700); }

/* — process band — */
.process { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--section), var(--section-glow)); color: var(--neutral-100); }
.process-glow {
  position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, var(--section-ghost), transparent 70%);
  opacity: 0.7; pointer-events: none;
}
.process-inner {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(40px, 6vw, 80px);
  padding-top: clamp(56px, 9vw, 128px); padding-bottom: clamp(56px, 9vw, 128px);
}
.process-intro { max-width: 40ch; color: var(--neutral-300); line-height: 1.65; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0;
  border-top: 1px solid color-mix(in srgb, var(--neutral-100) 18%, transparent);
}
.steps li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--neutral-100) 18%, transparent); }
.step-num { font-size: 15px; letter-spacing: 0.1em; color: var(--accent-300); padding-top: 4px; }
.steps h3 { font-size: 21px; margin-bottom: 6px; }
.steps p { font-size: 17px; color: var(--neutral-300); }

/* — about — */
.about {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(32px, 6vw, 72px); align-items: center;
  padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(56px, 8vw, 120px);
}
.about-copy { display: flex; flex-direction: column; gap: 22px; max-width: 60ch; }
.about-copy p { line-height: 1.7; color: var(--neutral-800); text-wrap: pretty; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tag { font-size: 14px; padding: 6px 14px; border-radius: 999px; background: var(--accent-200); color: var(--accent-800); }
.quote {
  margin: 0; padding: clamp(28px, 4vw, 44px); border-radius: 24px;
  background: var(--surface); box-shadow: var(--ring), var(--lift);
}
.quote i { display: block; margin-bottom: 12px; font-size: 40px; color: var(--accent-300); }
.quote p { margin-bottom: 18px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; letter-spacing: -0.01em; text-wrap: pretty; }
.quote footer { font-size: 15px; color: var(--neutral-600); }

/* — contact — */
.contact { padding-bottom: clamp(64px, 9vw, 128px); }
.contact-panel {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(32px, 6vw, 64px); align-items: start;
  padding: clamp(28px, 5vw, 64px); border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, var(--accent-200), var(--accent-100) 60%, #ffffff);
  box-shadow: 0 0 0 1px var(--accent-300);
}
.contact-copy { display: flex; flex-direction: column; gap: 20px; max-width: 42ch; }
.contact-copy > p { line-height: 1.65; color: var(--neutral-800); }
.note {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px; border-radius: 12px;
  background: color-mix(in srgb, #ffffff 60%, transparent);
  font-size: 15px; line-height: 1.5; color: var(--neutral-700);
}
.note i { flex: none; font-size: 20px; color: var(--accent-700); }
.form {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: clamp(20px, 4vw, 32px); border-radius: 20px;
  background: var(--surface); box-shadow: var(--ring), var(--lift);
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: 16px; color: var(--neutral-800); }
.input {
  width: 100%; min-height: 52px; padding: 10px 14px;
  font: 400 17px/1.4 var(--font); color: var(--text);
  background: var(--surface); caret-color: var(--accent-700);
  border: 1px solid var(--neutral-400); border-radius: 12px;
}
.input:hover { border-color: var(--neutral-600); }
.input:focus, .input:focus-visible { border-color: var(--accent-700); outline: 2px solid var(--accent-700); outline-offset: 0; }
textarea.input { min-height: 140px; padding-top: 12px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.status { font-size: 16px; color: var(--accent-700); }
.status.is-error { color: var(--neutral-900); }

/* — footer — */
.site-footer {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  padding-top: 28px; padding-bottom: 40px;
  border-top: 1px solid var(--neutral-300);
  font-size: 15px; color: var(--neutral-700);
}
.footer-note { margin-left: auto; }

@media (max-width: 640px) {
  .footer-note { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambient, .hero-copy, .portrait { animation: none; }
  .card { transition: none; }
  .card:hover { transform: none; }
}
