/* ChicagoMH — Dr. Anandbhai Patel
   Design intent: quiet authority, medical restraint, editorial polish.
   Palette references Northwestern Medicine purple + warm neutrals. */

:root {
  --bg: #fdfcfa;
  --bg-alt: #f6f4ee;
  --card: #ffffff;
  --line: #e6e2d8;
  --line-soft: #efece3;
  --ink: #14161f;
  --body: #3a3f4a;
  --muted: #6b7280;
  --dim: #9ca3af;
  --brand: #4b2e83;
  --brand-2: #6b4bab;
  --brand-soft: rgba(75, 46, 131, 0.08);
  --gold: #a37e2a;
  --star: #d4a418;
  --serif: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Text', 'Segoe UI',
    system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(20, 22, 31, 0.04);
  --shadow-md: 0 6px 24px rgba(20, 22, 31, 0.06);
  --radius: 4px;
  --radius-lg: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── Type ────────────────────────────────────────────────── */
h1, h2, h3, .display {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}
h1 { font-size: clamp(38px, 5.5vw, 60px); line-height: 1.05; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; margin-bottom: 12px; }
h3 { font-size: 20px; line-height: 1.3; }
p { margin: 0 0 14px; }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ── Container ───────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(253, 252, 250, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  font-weight: 500;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--body);
  font-size: 14.5px;
}
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-cta {
  padding: 10px 20px;
  background: var(--brand);
  color: #fff !important;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.18s;
}
.nav-cta:hover { background: var(--brand-2); text-decoration: none; }

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(to bottom, var(--bg), var(--bg-alt) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0 40px; }
}
.hero-copy .eyebrow { color: var(--brand); }
.hero-lede {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 24px);
  color: var(--muted);
  line-height: 1.45;
  margin: 22px 0 32px;
  font-style: italic;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.18s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff !important; }
.btn-primary:hover { background: var(--brand-2); text-decoration: none; }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink) !important;
}
.btn-ghost:hover { border-color: var(--ink); text-decoration: none; }

.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-md);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  background: linear-gradient(135deg, #e6e2d8, #f6f4ee);
}

.credentials-strip {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
}
.cred {
  display: flex;
  flex-direction: column;
}
.cred .val {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  font-weight: 500;
}
.cred .lbl {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* ── Sections ────────────────────────────────────────────── */
section { padding: 80px 0; }
section:nth-child(even) { background: var(--bg-alt); }
.section-head {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 12px;
  font-style: italic;
}

/* ── About ────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
@media (max-width: 720px) { .about-grid { grid-template-columns: 1fr; gap: 24px; } }
.about-grid p { font-size: 16px; }

/* ── Locations ───────────────────────────────────────────── */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 720px) { .locations-grid { grid-template-columns: 1fr; } }
.location {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.location:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.location h3 {
  font-size: 17px;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.location .addr {
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.55;
}
.location .city {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 8px;
}
.location a.directions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--brand);
  font-weight: 500;
}

/* ── Reviews ─────────────────────────────────────────────── */
.reviews-wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 720px) { .reviews-wrap { grid-template-columns: 1fr; } }
.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.review .stars {
  display: inline-flex;
  gap: 2px;
  color: var(--star);
  font-size: 15px;
  margin-bottom: 16px;
}
.review .quote {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  line-height: 1.5;
  font-style: italic;
  margin: 0 0 22px;
}
.review .quote::before { content: '\201C'; margin-right: 2px; }
.review .quote::after { content: '\201D'; margin-left: 2px; }
.review .attrib {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto 32px;
  padding: 10px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.rating-summary .num {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
  line-height: 1;
}
.rating-summary .lbl { font-size: 13.5px; color: var(--muted); }

/* ── Concierge ───────────────────────────────────────────── */
.concierge {
  background: var(--ink);
  color: #f6f4ee;
  position: relative;
  overflow: hidden;
}
.concierge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 400px at 80% 0%, rgba(163, 126, 42, 0.16), transparent 60%);
  pointer-events: none;
}
.concierge .container { position: relative; z-index: 1; }
.concierge .eyebrow { color: var(--gold); }
.concierge h2 { color: #f6f4ee; }
.concierge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .concierge-grid { grid-template-columns: 1fr; gap: 30px; } }
.concierge-lede {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.5;
  color: #f0ede4;
  font-style: italic;
  margin-bottom: 22px;
}
.concierge ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 32px;
  display: grid;
  gap: 12px;
}
.concierge li {
  padding-left: 28px;
  position: relative;
  color: #d4d1c6;
  font-size: 15.5px;
  line-height: 1.5;
}
.concierge li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 1px;
  background: var(--gold);
}
.concierge .btn-primary { background: var(--gold); color: var(--ink) !important; }
.concierge .btn-primary:hover { background: #c69a3d; }

/* ── Products preview on home ────────────────────────────── */
.products-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 12px;
}
@media (max-width: 720px) { .products-preview { grid-template-columns: 1fr; } }

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}
.product-card .tag {
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 12px;
}
.product-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 8px;
}
.product-card p {
  color: var(--body);
  font-size: 15px;
  flex: 1;
  margin-bottom: 20px;
}
.product-card .arrow {
  color: var(--brand);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.product-card .icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--brand-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 20px;
}

/* ── Contact ─────────────────────────────────────────────── */
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.contact-card .email {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ink);
  margin: 16px 0 24px;
  display: inline-block;
}
.contact-card .email:hover { color: var(--brand); text-decoration: none; }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line-soft);
  padding: 40px 0 60px;
  background: var(--bg);
  font-size: 13.5px;
  color: var(--muted);
}
.foot-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.foot-inner a { color: var(--muted); }
.foot-inner a:hover { color: var(--ink); }
.foot-links { display: flex; gap: 24px; }

/* ── Products page-specific ──────────────────────────────── */
.product-hero {
  padding: 90px 0 60px;
  background: linear-gradient(to bottom, var(--bg), var(--bg-alt));
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.product-hero .eyebrow { color: var(--brand); }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--line-soft);
}
.product-detail:last-child { border-bottom: 0; }
@media (max-width: 900px) { .product-detail { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; } }
.product-detail:nth-child(odd) .visual { order: -1; }
@media (max-width: 900px) { .product-detail:nth-child(odd) .visual { order: 0; } }

.product-detail h2 { font-size: 40px; }
.product-detail .visual {
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.product-detail .visual .placeholder {
  color: var(--dim);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  text-align: center;
  padding: 20px;
}
.product-detail .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
}
.spec-block {
  margin-top: 24px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.spec-block h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}
.spec-block ol {
  margin: 0;
  padding-left: 20px;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.65;
}
.spec-block ul {
  margin: 0;
  padding-left: 20px;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.65;
}
.spec-block p { margin: 0; font-size: 14.5px; }
.spec-block + .spec-block { margin-top: 12px; }

/* ── Waitlist form ──────────────────────────────────────── */
.waitlist-form {
  max-width: 520px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.wl-row { display: flex; flex-direction: column; margin-bottom: 16px; }
.wl-row label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 6px;
}
.wl-row input {
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.wl-row input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.wl-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0 20px;
  padding: 12px 14px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--body);
  line-height: 1.5;
}
.wl-consent input[type=checkbox] { margin-top: 3px; flex-shrink: 0; accent-color: var(--brand); }
.wl-consent label { cursor: pointer; }
.waitlist-form .btn {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 15px 20px;
}
.wl-note {
  text-align: center;
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  font-style: italic;
}
.wl-msg {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 13.5px;
  text-align: center;
}
.wl-msg-ok {
  background: rgba(76, 175, 80, 0.08);
  color: #2d6a2d;
  border: 1px solid rgba(76, 175, 80, 0.3);
}
.wl-msg-err {
  background: rgba(220, 53, 69, 0.06);
  color: #a12028;
  border: 1px solid rgba(220, 53, 69, 0.25);
}
@media (max-width: 640px) {
  .waitlist-form { padding: 24px 20px; }
  .wl-consent { font-size: 12px; }
}

/* ── Mobile hardening ─────────────────────────────────── */

@media (max-width: 900px) {
  section { padding: 56px 0; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 14px 20px; }
  .credentials-strip { gap: 20px; margin-top: 32px; padding-top: 24px; }
  .cred .val { font-size: 20px; }
  .about-grid p { font-size: 15px; }
}

@media (max-width: 640px) {
  section { padding: 44px 0; }
  .container { padding: 0 16px; }
  .nav-inner { padding: 12px 16px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand-mark { width: 28px; height: 28px; font-size: 12px; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .nav-links a:not(.nav-cta) { display: none; }

  .hero { padding: 36px 0 32px !important; }
  .hero-grid { gap: 28px; }
  .hero-copy .eyebrow { font-size: 10.5px; }
  .hero-lede { font-size: 17px; margin: 18px 0 24px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; width: 100%; }
  .hero-photo { max-width: 320px; margin: 0 auto; aspect-ratio: 1 / 1.15; }
  .credentials-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
    margin-top: 28px;
    padding-top: 22px;
  }
  .cred .val { font-size: 17px; }
  .cred .lbl { font-size: 11px; }

  .section-head { margin-bottom: 32px; }
  .section-head p { font-size: 16px; }

  .review { padding: 24px 20px; }
  .review .quote { font-size: 17px; margin-bottom: 18px; }
  .review .attrib { font-size: 12.5px; }

  .concierge-lede { font-size: 18px; }
  .concierge li { font-size: 15px; }
  .concierge .btn { width: 100%; justify-content: center; }

  .product-card { padding: 22px; }
  .product-card h3 { font-size: 22px; }
  .product-card .icon-badge { width: 52px; height: 52px; }

  .product-hero { padding: 60px 0 44px; }
  .product-detail { padding: 44px 0; gap: 28px; }
  .product-detail h2 { font-size: 30px; }
  .product-detail .lede { font-size: 18px; }
  .product-detail .visual { aspect-ratio: 4 / 3; }
  .spec-block { padding: 16px; }

  .foot-inner { flex-direction: column; text-align: center; gap: 12px; }
  .foot-links { justify-content: center; }

  .btn { padding: 14px 22px; min-height: 44px; }
  .nav a { min-height: 32px; display: inline-flex; align-items: center; }
}

@media (max-width: 380px) {
  .container { padding: 0 14px; }
  h1 { font-size: 32px; }
  .credentials-strip { grid-template-columns: 1fr 1fr; gap: 12px; }
  .brand span:not(.brand-mark) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ─────────────────────────────────────────────────────────
   Mobile hardening
   ───────────────────────────────────────────────────────── */

/* Tablet-ish (≤900px) */
@media (max-width: 900px) {
  section { padding: 56px 0; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 14px 20px; }
  .credentials-strip { gap: 20px; margin-top: 32px; padding-top: 24px; }
  .cred .val { font-size: 20px; }
  .about-grid p { font-size: 15px; }
}

/* Phone (≤640px) */
@media (max-width: 640px) {
  section { padding: 44px 0; }
  .container { padding: 0 16px; }

  /* Nav — replace desktop links with a bigger CTA */
  .nav-inner { padding: 12px 16px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand-mark { width: 28px; height: 28px; font-size: 12px; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }

  /* Hero */
  .hero { padding: 36px 0 32px !important; }
  .hero-grid { gap: 28px; }
  .hero-copy .eyebrow { font-size: 10.5px; }
  .hero-lede { font-size: 17px; margin: 18px 0 24px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; width: 100%; }
  .hero-photo { max-width: 320px; margin: 0 auto; aspect-ratio: 1 / 1.15; }
  .credentials-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
    margin-top: 28px;
    padding-top: 22px;
  }
  .cred .val { font-size: 18px; }
  .cred .lbl { font-size: 11px; }

  /* Section head — tighter */
  .section-head { margin-bottom: 32px; }
  .section-head p { font-size: 16px; }

  /* Reviews — bigger quote type on phone reads better */
  .review { padding: 24px 20px; }
  .review .quote { font-size: 17px; margin-bottom: 18px; }
  .review .attrib { font-size: 12.5px; }

  /* Concierge — center + stack */
  .concierge-lede { font-size: 18px; }
  .concierge li { font-size: 15px; }
  .concierge .btn { width: 100%; justify-content: center; }

  /* Location cards */
  .location { padding: 20px; }
  .location h3 { font-size: 16px; }

  /* Product cards on home */
  .product-card { padding: 22px; }
  .product-card h3 { font-size: 22px; }
  .product-card .icon-badge { width: 52px; height: 52px; }

  /* Products page detail sections */
  .product-hero { padding: 60px 0 44px; }
  .product-detail { padding: 44px 0; gap: 28px; }
  .product-detail h2 { font-size: 30px; }
  .product-detail .lede { font-size: 18px; }
  .product-detail .visual { aspect-ratio: 4 / 3; }
  .spec-block { padding: 16px; }

  /* Contact + footer */
  .contact-card { padding: 32px 24px; }
  .contact-card .email { font-size: 20px; word-break: break-all; }
  .foot-inner { flex-direction: column; text-align: center; gap: 12px; }
  .foot-links { justify-content: center; }

  /* Touch targets — min 44×44 per Apple HIG */
  .btn { padding: 14px 22px; min-height: 44px; }
  .nav a { min-height: 32px; display: inline-flex; align-items: center; }
}

/* Very small phones (iPhone SE etc, ≤380px) */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  h1 { font-size: 32px; }
  .credentials-strip { grid-template-columns: 1fr 1fr; gap: 12px; }
  .brand span:not(.brand-mark) { display: none; } /* just show the AP mark */
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
