/* styles.css (modified) */
:root {
  /* Steel grey + indigo, with a non-white “warm fog” background */
  --bg: #0D0F14;                 /* deep ink (dark mode base) */
  --bg-glow-1: rgba(99, 115, 255, 0.08); /* indigo glow */
  --bg-glow-2: rgba(255, 255, 255, 0.05);

  --panel: rgba(255, 255, 255, 0.06);
  --panel-border: rgba(255, 255, 255, 0.10);

  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);
  --faint: rgba(255, 255, 255, 0.55);

  /* Accent system */
  --accent: #5E6BFF;            /* indigo accent (links/hover) */
  --accent-soft: rgba(94, 107, 255, 0.22);

  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-sm: 14px;
  --maxw: 1040px;

  /* Typography scale */
  --text-body: clamp(16px, 1.15vw, 17.5px);
  --text-lede: clamp(17px, 1.3vw, 18.5px);
  --text-h1: clamp(32px, 4.6vw, 48px);
  --text-h2: 13px;
}

/* Light mode (NOT white; warm fog) */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #F1F2F4;               /* warm fog background */
    --bg-glow-1: rgba(63, 76, 122, 0.10); /* quiet indigo glow */
    --bg-glow-2: rgba(42, 47, 54, 0.06);  /* steel tint */

    --panel: rgba(42, 47, 54, 0.035);
    --panel-border: rgba(42, 47, 54, 0.10);

    --text: rgba(42, 47, 54, 0.92);       /* deep steel charcoal */
    --muted: rgba(107, 114, 128, 0.95);   /* steel grey */
    --faint: rgba(107, 114, 128, 0.75);

    --accent: #3F4C7A;           /* quiet indigo */
    --accent-soft: rgba(63, 76, 122, 0.18);

    --shadow: 0 20px 50px rgba(17, 24, 39, 0.10);
  }
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 700px at 15% -20%, var(--bg-glow-1), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, var(--bg-glow-2), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.62;
  letter-spacing: 0.2px;
}

p, li { font-size: var(--text-body); }

a {
  color: color-mix(in srgb, var(--text) 70%, var(--accent));
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a:hover {
  color: var(--accent);
  border-bottom-color: color-mix(in srgb, var(--accent) 45%, var(--panel-border));
}

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
  background: var(--bg);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--panel-border);
}
.skip-link:focus { left: 12px; top: 12px; z-index: 10; }

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  border-bottom: 1px solid var(--panel-border);
  z-index: 5;
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  font-weight: 650;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a { padding: 6px 2px; position: relative; }

/* subtle underline on hover (more “finished”) */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity .2s ease, transform .2s ease;
}
.nav-links a:hover::after {
  opacity: 0.35;
  transform: scaleX(1);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 18px 64px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 22px 0 6px;
  align-items: stretch;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.hero-inner {
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  opacity: 0.7;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-size: var(--text-h1);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: var(--text-lede);
  line-height: 1.6;
  max-width: 60ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.hero-aside {
  padding: 20px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--panel) 80%, transparent),
    color-mix(in srgb, var(--panel) 55%, transparent)
  );
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}

/* Sections: more intentional rhythm + subtle chapter dividers */
.section {
  padding: 32px 0 12px;
  margin-top: 22px;
}
.section + .section {
  border-top: 1px solid color-mix(in srgb, var(--panel-border) 55%, transparent);
}

/* headings */
h2 {
  margin: 0 0 10px;
  font-size: var(--text-h2);
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h3 {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  background: var(--panel);
  padding: 20px 20px;
}

/* grid wrapper (real grid now) */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Qualification list with icons (no bullets) */
.qual-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.qual-item {
  display: grid;
  grid-template-columns: 1.2em 1fr;
  align-items: center;
  column-gap: 0.6rem;
}

.qual-item span {
  color: color-mix(in srgb, var(--text) 92%, var(--muted));
}

/* Small, uniform logo size */
.qual-icon {
  width: 1.2em;
  height: 1.2em;
  object-fit: contain;
  display: block;
  opacity: 0.95;
}

.qualifications-disclaimer{
  width: 100%;
  max-width: none;
  margin-top: 0.75rem;
}

/* divider within the UL */
.qual-divider {
  list-style: none;
  margin: 0.6rem 0 0.4rem;
  border-top: 1px solid color-mix(in srgb, var(--panel-border) 60%, transparent);
  height: 0;
  padding: 0;
}

/* “Non-medical” subhead as a list item (valid HTML) */
.qual-subhead {
  margin: 0.7rem 0 0.35rem;
  padding-left: calc(1.2em + 0.6rem);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  list-style: none;
}

/* Professional list: keep bullets, but consistent */
.pro-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.pro-list li { margin: 8px 0; }

ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
li { margin: 8px 0; }

.muted { color: var(--muted); }
.tiny { font-size: 12px; }

.links { margin-top: 10px; }
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  border-bottom-color: transparent;
}
.inline-link:hover { border-bottom-color: var(--panel-border); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--panel-border) 70%, var(--accent-soft));
  background: color-mix(in srgb, var(--panel) 80%, var(--accent-soft));
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.button:hover {
  transform: translateY(-0.5px);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--panel-border));
}
.button:active { transform: translateY(0px); }

.button.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--panel-border);
}
.button.ghost:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--panel-border));
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--panel-border);
  font-size: 13px;
  color: var(--faint);
}

/* Responsive */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .nav-links { gap: 12px; }
}

.info-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.info-icon {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--panel-border) 70%, transparent);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;

  /* ultra-minimal behaviour */
  opacity: 0;
  transition: opacity 0.2s ease 0.1s;
}
.info-note:hover .info-icon {
  opacity: 0.85;
}