/* ============================================================
   MICHAL URSINY, MD — DESIGN SYSTEM
   Aesthetic: Maine coastal / White Mountains
   Tone: simple, elegant, modern, professional
   ============================================================ */

/* ----- Reset & base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sea);
  text-decoration: none;
  transition: color 200ms ease;
}

a:hover {
  color: var(--ink);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ----- Tokens ----- */
:root {
  /* Maine palette */
  --ink: #0c1e2e;          /* deep navy — Atlantic at dusk */
  --ink-soft: #1a3148;
  --sea: #2f4d6b;          /* Casco Bay slate */
  --pine: #3d5a4f;         /* White Mountains conifer */
  --sand: #f5efe5;         /* warm cream */
  --fog: #ecead8;          /* soft fog */
  --paper: #fbfaf6;        /* off-white base */
  --charcoal: #1a1a1a;
  --slate: #4a5560;
  --slate-soft: #6b7480;
  --gold: #b89968;         /* sunrise accent */
  --line: #d8d2c5;         /* warm border */
  --line-soft: #ebe6da;

  /* Type */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Rhythm */
  --container: 1200px;
  --container-narrow: 760px;
  --container-prose: 680px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(12, 30, 46, 0.06);
  --shadow-md: 0 4px 16px rgba(12, 30, 46, 0.08);
  --shadow-lg: 0 20px 50px rgba(12, 30, 46, 0.12);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 350;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 500;
}

h4 {
  font-size: 1.15rem;
  font-weight: 500;
}

p {
  margin-bottom: 1.15rem;
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--slate);
  font-weight: 400;
}

strong, b {
  font-weight: 600;
  color: var(--ink);
}

em, i {
  font-style: italic;
}

blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
  margin: 2rem 0;
}

blockquote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-soft);
}

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 3rem; }
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.container-prose {
  max-width: var(--container-prose);
  margin: 0 auto;
}

section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.section-tight {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

/* ----- Header / Nav ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-brand span {
  color: var(--slate-soft);
  font-weight: 400;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
}

.nav-links a {
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-block;
}

/* CTA button in nav must keep its own button colors (override .nav-links a) */
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover {
  color: var(--paper);
}

.nav-links a.nav-cta::after { display: none; }

/* Mobile menu */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 250ms var(--ease), opacity 200ms;
}

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

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 2rem;
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  gap: 0.5rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  padding: 0.85rem 0;
  color: var(--charcoal);
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-menu a:last-child { border-bottom: none; }

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  transition: all 250ms var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--ink-soft);
  color: var(--paper);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-gold {
  background: var(--gold);
  color: var(--paper);
}

.btn-gold:hover {
  background: #a3855a;
  color: var(--paper);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  color: var(--ink);
  padding: 0.5rem 0;
  position: relative;
}

.btn-ghost::after {
  content: " →";
  transition: margin 250ms var(--ease);
  display: inline-block;
}

.btn-ghost:hover::after {
  margin-left: 4px;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.hero > .container {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-grid { width: 100%; }

.hero-stats { flex: 0 0 auto; }

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(12, 30, 46, 0.85) 0%, rgba(12, 30, 46, 0.55) 45%, rgba(12, 30, 46, 0.30) 100%),
    url("../images/hero-maine-coast.jpg");
  background-size: cover;
  background-position: center 60%;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 5rem 0 3.5rem;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    padding: 6.5rem 0 4.5rem;
  }
}

.hero-content {
  max-width: 680px;
}

.hero-portrait {
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .hero-portrait { justify-content: flex-end; }
}

.hero-portrait figure {
  margin: 0;
  max-width: 360px;
  width: 100%;
}

.hero-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 10px;
  border: 5px solid rgba(251, 250, 246, 0.92);
  box-shadow: var(--shadow-lg);
  background: var(--fog);
}

.hero-portrait figcaption {
  margin-top: 1rem;
  text-align: center;
  color: rgba(251, 250, 246, 0.85);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.hero-portrait figcaption strong {
  color: var(--paper);
  font-weight: 600;
}

.hero h1 {
  color: var(--paper);
  font-weight: 350;
  margin-bottom: 1.5rem;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero .lead {
  color: rgba(251, 250, 246, 0.88);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero .btn-secondary {
  color: var(--paper);
  border-color: rgba(251, 250, 246, 0.7);
}

.hero .btn-secondary:hover {
  background: var(--paper);
  color: var(--ink);
}

/* Hero stats strip */
.hero-stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(251, 250, 246, 0.15);
  background: rgba(12, 30, 46, 0.5);
}

.hero-stats-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 700px) {
  .hero-stats-inner { grid-template-columns: repeat(3, 1fr); }
}

.hero-stat {
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(251, 250, 246, 0.1);
}

@media (min-width: 700px) {
  .hero-stat {
    border-bottom: none;
    border-right: 1px solid rgba(251, 250, 246, 0.12);
  }
  .hero-stat:last-child { border-right: none; }
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--paper);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.hero-stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 250, 246, 0.75);
}

/* ----- Section heading ----- */
.section-head {
  margin-bottom: 3rem;
  max-width: 720px;
}

.section-head h2 {
  margin-bottom: 1rem;
}

.section-head .lead {
  color: var(--slate);
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ----- Procedure cards (home grid) ----- */
.proc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .proc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .proc-grid { grid-template-columns: repeat(3, 1fr); }
}

.proc-card {
  display: block;
  padding: 2rem 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  transition: all 300ms var(--ease);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.proc-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.proc-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 350ms var(--ease);
}

.proc-card:hover::before { transform: scaleX(1); }

.proc-card h3 {
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.proc-card p {
  color: var(--slate);
  font-size: 0.96rem;
  margin-bottom: 1rem;
}

.proc-card .arrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ----- About / two column ----- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 6fr; gap: 4rem; }
  .split.reverse { grid-template-columns: 6fr 5fr; }
}

.split-image {
  border-radius: 4px;
  overflow: hidden;
  background: var(--fog);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split.reverse .split-image { order: 2; }
@media (max-width: 899px) {
  .split.reverse .split-image { order: 0; }
}

/* ----- Credentials strip ----- */
.creds {
  background: var(--sand);
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.creds-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .creds-inner {
    grid-template-columns: repeat(4, 1fr);
    text-align: left;
  }
}

.cred {
  padding: 0 1rem;
}

.cred-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin-bottom: 0.5rem;
  display: block;
}

.cred-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.3;
}

/* ----- Procedure detail page ----- */
.page-header {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
}

.page-header h1 {
  color: var(--paper);
  max-width: 800px;
  margin-bottom: 1rem;
}

.page-header .eyebrow { color: var(--gold); }

.page-header .lead {
  color: rgba(251, 250, 246, 0.85);
  max-width: 720px;
}

.breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: rgba(251, 250, 246, 0.7);
}

.breadcrumb a {
  color: rgba(251, 250, 246, 0.85);
}

.breadcrumb a:hover { color: var(--gold); }

.breadcrumb span { margin: 0 0.5rem; opacity: 0.5; }

/* ----- Key facts quick-reference box ----- */
.keyfacts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 1.5rem;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.75rem;
  margin: 0 auto 2.5rem;
  max-width: 720px;
}

@media (min-width: 600px) {
  .keyfacts { grid-template-columns: repeat(3, 1fr); }
}

.keyfact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin-bottom: 0.35rem;
}

.keyfact-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--ink);
}

/* ----- Diagram / illustration figure ----- */
.diagram {
  margin: 2.5rem auto;
  max-width: 720px;
  text-align: center;
}

.diagram-frame {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 1.5rem;
}

.diagram img {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: block;
}

.diagram figcaption {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--slate-soft);
}

/* ----- Prose / article ----- */
.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--charcoal);
}

.prose h2 {
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.prose h3 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.prose h2:first-child,
.prose h3:first-child { margin-top: 0; }

.prose p { margin-bottom: 1.25rem; }

.prose ul, .prose ol {
  margin: 0 0 1.5rem 1.25rem;
}

.prose ul li, .prose ol li {
  margin-bottom: 0.6rem;
  padding-left: 0.3rem;
  position: relative;
}

.prose ul li {
  list-style: none;
  padding-left: 1.4rem;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.prose ol {
  list-style: decimal;
  padding-left: 0.5rem;
}

.prose ol li::marker {
  color: var(--gold);
  font-weight: 600;
}

.prose a {
  color: var(--sea);
  border-bottom: 1px solid rgba(47, 77, 107, 0.3);
  transition: all 200ms ease;
}

.prose a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.prose hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

/* Callout box */
.callout {
  background: var(--sand);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
}

.callout h4 {
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.callout p:last-child { margin-bottom: 0; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 500;
  padding-right: 2rem;
  position: relative;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 250ms var(--ease);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-body {
  margin-top: 1rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ----- Testimonials ----- */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

.testimonial {
  background: var(--paper);
  padding: 2rem;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  position: relative;
}

.testimonial::before {
  content: "“";
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.4;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.25rem;
  position: relative;
  padding-top: 1.5rem;
  font-style: italic;
}

.testimonial-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-soft);
}

.testimonial-stars {
  color: var(--gold);
  letter-spacing: 1px;
}

/* ----- Resource cards ----- */
.resource-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
}

.resource-card {
  display: block;
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  transition: all 250ms var(--ease);
  color: inherit;
  text-decoration: none;
}

.resource-card:hover {
  border-color: var(--sea);
  background: var(--fog);
  color: inherit;
}

.resource-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.resource-card p {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ----- CTA band ----- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(12, 30, 46, 0.70) 0%, rgba(12, 30, 46, 0.85) 100%),
    url("../images/cta-coast.jpg");
  background-size: cover;
  background-position: center 55%;
  opacity: 1;
}

.cta-band > * { position: relative; z-index: 1; }

.cta-band h2 {
  color: var(--paper);
  margin-bottom: 1rem;
}

.cta-band p {
  color: rgba(251, 250, 246, 0.85);
  max-width: 580px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ----- Contact form ----- */
.form-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 620px;
  margin: 0 auto;
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--charcoal);
  transition: border-color 200ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--font-body);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

/* ----- Footer ----- */
.footer {
  background: var(--ink);
  color: rgba(251, 250, 246, 0.75);
  padding: 4rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.footer h4 {
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer ul li { margin-bottom: 0.65rem; }

.footer a {
  color: rgba(251, 250, 246, 0.75);
}

.footer a:hover {
  color: var(--gold);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--paper);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.footer-brand-sub {
  color: rgba(251, 250, 246, 0.55);
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.55;
}

.footer-bottom {
  border-top: 1px solid rgba(251, 250, 246, 0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(251, 250, 246, 0.5);
}

.footer-bottom a { color: rgba(251, 250, 246, 0.6); }

/* ----- Affiliations (text-only — pending logo approval) ----- */
.affiliations {
  text-align: center;
  padding: 3rem 0 1rem;
}

.affiliations-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin-bottom: 1.5rem;
}

.affiliations-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 3rem;
}

.affiliation {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--slate);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ----- Utilities ----- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

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

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  z-index: 200;
  border-radius: 2px;
}

.skip-link:focus {
  top: 1rem;
  color: var(--paper);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* Print */
@media print {
  .site-header, .footer, .nav-toggle, .mobile-menu, .cta-band, .hero-bg { display: none; }
  .hero { min-height: auto; background: white; color: black; }
  .hero h1, .hero .lead { color: black; }
}
