/* =========================================================
   SurgicalEd VR — brand stylesheet
   Palette extracted from captured site (Jun 2026):
     accent  #396BF7   (h2 brand blue)
     muted   #8097AB   (h1 steel blue)
     ink     #161616   (h4, buttons, links)
     paper   #DBDBDB   (button text on dark)
     body    #5E5E5E   (paragraph gray)
   Font: Lato (Google Fonts).
   ========================================================= */

:root {
  --c-accent: #396BF7;
  --c-accent-dark: #1e4ed1;
  --c-muted: #8097AB;
  --c-ink: #161616;
  --c-body: #5E5E5E;
  --c-paper: #DBDBDB;
  --c-bg: #ffffff;
  --c-bg-alt: #f5f7fa;
  --c-bg-dark: #0f1216;
  --c-border: #e3e7ec;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(15, 18, 22, 0.06);
  --shadow-md: 0 6px 18px rgba(15, 18, 22, 0.08);
  --shadow-lg: 0 18px 40px rgba(15, 18, 22, 0.12);

  --container-max: 1180px;
  --section-pad: clamp(3.5rem, 7vw, 6rem);

  --font-body: 'Lato', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-ink); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--c-accent); }
h1, h2, h3, h4 { color: var(--c-ink); font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }

.sr-only {
  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 {
  position: absolute; top: -40px; left: 0; background: var(--c-ink); color: #fff;
  padding: 0.6rem 1rem; z-index: 1000;
}
.skip-link:focus { top: 0; color: #fff; }

.container {
  width: 100%; max-width: var(--container-max);
  margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem);
}

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem;
  font-weight: 700; color: var(--c-accent); margin: 0 0 0.6rem;
}
.eyebrow.center { text-align: center; }
.section-heading {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 2.5rem;
}
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.6rem; font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: var(--radius-sm); border: 2px solid transparent;
  cursor: pointer; transition: all 0.18s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--c-ink); color: var(--c-paper);
}
.btn-primary:hover { background: var(--c-accent); color: #fff; }
.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover { background: #fff; color: var(--c-ink); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--c-ink); font-weight: 900; font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand img { width: 40px; height: 40px; }
.brand-accent { color: var(--c-accent); }
.nav-list {
  display: flex; align-items: center; gap: 1.75rem;
}
.nav-list a {
  font-size: 0.95rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--c-ink);
}
.nav-list a:hover { color: var(--c-accent); }
.nav-cta {
  background: var(--c-ink); color: var(--c-paper) !important;
  padding: 0.55rem 1.1rem; border-radius: var(--radius-sm);
}
.nav-cta:hover { background: var(--c-accent); color: #fff !important; }

.nav-toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle-bar {
  display: block; width: 24px; height: 2px; background: var(--c-ink); border-radius: 2px;
}

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .nav-list {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
  }
  .nav-list.is-open { display: flex; }
  .nav-list li { width: 100%; border-top: 1px solid var(--c-border); }
  .nav-list a {
    display: block; padding: 1rem 2rem;
  }
  .nav-cta { border-radius: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center;
  background:
    linear-gradient(135deg, rgba(15, 18, 22, 0.78) 0%, rgba(57, 107, 247, 0.55) 100%),
    url('assets/hero-fellow.png') center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(57, 107, 247, 0.35), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  padding: clamp(5rem, 10vh, 8rem) 0 clamp(5rem, 10vh, 8rem);
  max-width: 880px;
}
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.85rem;
  font-weight: 700; color: #fff; opacity: 0.85; margin: 0 0 1.2rem;
}
.hero-heading {
  color: #fff; font-size: clamp(2.4rem, 6vw, 4.25rem);
  line-height: 1.05; margin-bottom: 1.5rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 640px;
  color: rgba(255, 255, 255, 0.92); margin-bottom: 2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scroll {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff; border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%; animation: bounce 2.5s infinite;
}
.hero-scroll:hover { color: var(--c-accent); background: #fff; }
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ---------- Quote bands ---------- */
.quote-band {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.quote-band.dark {
  background: var(--c-bg-dark);
  border-color: rgba(255, 255, 255, 0.08);
}
.pull-quote {
  margin: 0 auto; max-width: 880px; text-align: center;
  font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.4;
  color: var(--c-ink); font-weight: 300; font-style: italic;
}
.quote-band.dark .pull-quote { color: #fff; }
.pull-quote-attribution {
  display: block; margin-top: 1rem; font-size: 1rem;
  font-style: normal; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--c-accent);
}

/* ---------- Sections ---------- */
.section { padding: var(--section-pad) 0; }

/* About */
.about-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  align-items: start;
}
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-head h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0;
}
.about-body.prose p { font-size: 1.08rem; }
.about-body.prose strong { color: var(--c-ink); }

/* Value cards */
.value-grid {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.value-card {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-md); padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(57, 107, 247, 0.1); color: var(--c-accent);
  font-size: 1.6rem; margin-bottom: 1rem;
}
.value-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.value-card p { margin: 0; font-size: 1rem; }

/* Showcase ("platform in use" image band) */
.showcase {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.showcase-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
}
@media (max-width: 800px) {
  .showcase-grid { grid-template-columns: 1fr; }
}
.showcase-image {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  isolation: isolate;
}
.showcase-image::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 35%;
  background: linear-gradient(to top, rgba(15, 18, 22, 0.18), transparent);
  pointer-events: none;
}
.showcase-image img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3;
}
.showcase-body h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}
.showcase-body p {
  font-size: 1.05rem; margin-bottom: 1.5rem;
}

/* Team */
.team { background: var(--c-bg-alt); }
.team-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.team-card {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-md); overflow: hidden;
  text-align: center; padding-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top;
  background: var(--c-bg-alt);
}
.team-name {
  font-size: 1.15rem; margin: 1.2rem 1rem 0.2rem;
  color: var(--c-ink);
}
.team-role {
  font-size: 0.9rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--c-accent);
  margin: 0 1rem 0.6rem;
}
.team-bio {
  font-size: 0.92rem; margin: 0 1rem;
  color: var(--c-body);
}

/* Testimonials */
.testimonial-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.testimonial-card {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-md); padding: 2rem;
  position: relative; box-shadow: var(--shadow-sm);
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: -10px; left: 16px;
  font-size: 4.5rem; color: var(--c-accent); font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-tag {
  font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--c-accent);
  margin-bottom: 1rem; padding-top: 0.5rem;
}
.testimonial-card blockquote {
  margin: 0; font-size: 1rem; font-style: italic;
  color: var(--c-ink); line-height: 1.55;
}

/* FAQ */
.faq-help { text-align: center; margin-bottom: 2.5rem; }
.faq-help a { color: var(--c-accent); text-decoration: underline; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-md); margin-bottom: 0.75rem;
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 1.25rem 1.5rem; font-weight: 700; color: var(--c-ink);
  font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.5rem; color: var(--c-accent);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: '\2013'; }
.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--c-body);
  border-top: 1px solid var(--c-border);
  padding-top: 1.25rem;
}
.faq-answer a { color: var(--c-accent); text-decoration: underline; }
.faq-bullets { list-style: disc outside; padding-left: 1.25rem; margin: 0; }
.faq-bullets li { margin-bottom: 0.5rem; }
.faq-bullets li:last-child { margin-bottom: 0; }

/* Contact */
.contact { background: var(--c-bg-alt); }
.contact-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: start;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.contact-blurb { font-size: 1.05rem; max-width: 36ch; }
.contact-address {
  margin-top: 2rem; font-style: normal; line-height: 1.7;
  color: var(--c-ink);
}
.contact-address a { color: var(--c-accent); }

.social-links {
  margin-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem;
}
.social-links a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1rem; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--c-border);
  color: var(--c-ink); font-weight: 700; font-size: 0.92rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  transition: all 0.15s ease;
}
.social-links a:hover {
  background: var(--c-accent); color: #fff; border-color: var(--c-accent);
}
.social-icon {
  width: 18px; height: 18px; display: block;
}

.contact-form {
  background: #fff; padding: 2.25rem;
  border-radius: var(--radius-md); border: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
}
.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block; font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--c-ink); margin-bottom: 0.4rem;
}
.form-row label span { color: var(--c-accent); }
.form-row input,
.form-row textarea {
  width: 100%; padding: 0.7rem 0.9rem; font-size: 1rem;
  font-family: inherit; color: var(--c-ink);
  border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 0; border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(57, 107, 247, 0.15);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-note {
  margin: 1rem 0 0; font-size: 0.85rem; color: var(--c-body);
}

/* Footer */
.site-footer {
  background: var(--c-bg-dark); color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
}
.footer-row {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  align-items: center; justify-content: space-between;
}
.footer-brand {
  display: flex; align-items: center; gap: 0.6rem;
  color: #fff; font-weight: 700;
}
.footer-copy { margin: 0; font-size: 0.9rem; }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a {
  color: rgba(255, 255, 255, 0.75); font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.footer-nav a:hover { color: #fff; }
.footer-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%;
  transition: all 0.15s ease;
}
.footer-social:hover { color: #fff; border-color: #fff; background: var(--c-accent); }
.footer-social .social-icon { width: 16px; height: 16px; }

/* ---------- Print + reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
