/* ============================================================
   SWAVE USA — clean professional stylesheet
   Light, photo-led, one accent color, no effects.
   ============================================================ */

/* ----- EDITABLE: BRAND COLORS ----- */
:root {
  --teal: #0e6f80;         /* brand accent */
  --teal-dark: #0a4c58;    /* headings, buttons */
  --ink: #1d2b31;          /* body text */
  --ink-soft: #51626a;     /* secondary text */
  --bg: #ffffff;           /* page background */
  --tint: #f2f7f7;         /* alternating section background */
  --line: #dfe7e8;         /* borders */
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 680px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; color: var(--teal-dark); }

h1 { font-size: clamp(1.9rem, 5.6vw, 2.8rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4.2vw, 2rem); font-weight: 800; margin-bottom: 1rem; }

p + p { margin-top: 1em; }
a { color: var(--teal); }

.section { padding: 56px 0; }
.section-tint { background: var(--tint); }

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.wordmark {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--teal-dark);
}
.topbar-call {
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: #fff;
  background: var(--teal-dark);
  padding: 9px 16px;
  border-radius: 8px;
  white-space: nowrap;
}
.topbar-call:hover { background: var(--teal); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-call {
  display: inline-block;
  background: var(--teal-dark);
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 8px;
}
.btn-call:hover { background: var(--teal); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 44px 0 56px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-sub {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 3.2vw, 1.2rem);
  margin: 1rem 0 1.5rem;
  max-width: 34em;
}
.hero-note { margin-top: 0.8rem; font-size: 0.9rem; color: var(--ink-soft); }
.hero-photo img { border-radius: var(--radius); }

/* ============================================================
   SYMPTOM LIST
   ============================================================ */
.symptom-list {
  list-style: none;
  margin: 1.3rem 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.symptom-list li {
  padding: 12px 2px 12px 30px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  position: relative;
}
.symptom-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 1.35em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.recognize-close { color: var(--ink-soft); max-width: 38em; }

/* ============================================================
   FACT LIST (what is SWAVE)
   ============================================================ */
.fact-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 1.3rem;
}
.fact-list li {
  font-weight: 700;
  color: var(--teal-dark);
  position: relative;
  padding-left: 22px;
}
.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}

/* ============================================================
   SPLIT SECTIONS & CARDS
   ============================================================ */
.split { display: grid; gap: 30px; align-items: center; }
.split-photo img { border-radius: var(--radius); }
.about-photo { max-width: 420px; }

.fine-point {
  border-left: 3px solid var(--teal);
  padding: 10px 14px;
  background: var(--bg);
  border-radius: 0 8px 8px 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.section .fine-point { background: var(--tint); }
.section-tint .fine-point { background: var(--bg); }

.who-grid { display: grid; gap: 16px; margin-top: 1.4rem; }
.who-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: var(--bg);
}
.who-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.who-card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ============================================================
   RESEARCH
   ============================================================ */
.research-topic { margin-top: 1.8rem; }
.research-topic h3 { font-size: 1.1rem; margin-bottom: 0.7rem; }
.paper-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  text-decoration: none;
  background: var(--bg);
}
.paper-card:hover { border-color: var(--teal); }
.paper-title {
  display: block;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.45;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.paper-meta { display: block; color: var(--ink-soft); font-size: 0.84rem; }
.paper-browse { display: inline-block; font-weight: 700; font-size: 0.9rem; margin-top: 2px; }

/* ============================================================
   STEPS
   ============================================================ */
.step-list { list-style: none; display: grid; gap: 20px; margin-top: 1.4rem; }
.step-list li { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-list h3 { font-size: 1.08rem; margin-bottom: 0.25rem; }
.step-list p { color: var(--ink-soft); }
.steps-cta { margin-top: 2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--teal-dark);
  color: #d8e6e6;
  padding: 48px 0 96px;  /* bottom room for the sticky call bar on phones */
  margin-top: 24px;
}
.footer-inner { display: grid; gap: 32px; margin-bottom: 32px; }
.wordmark-footer { color: #fff; display: inline-block; margin-bottom: 0.7rem; }
.footer-address { line-height: 1.5; }
.footer-phone {
  display: inline-block;
  margin-top: 0.8rem;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  text-decoration: none;
}
.footer-phone:hover { text-decoration: underline; }
.footer-phone-note { font-size: 0.88rem; margin-top: 0.2rem; color: #a7c4c4; }
.footer-heading { color: #fff; font-size: 1rem; margin-bottom: 0.8rem; }
.social-links { list-style: none; display: grid; gap: 10px; }
.social-links a { color: #d8e6e6; text-decoration: none; font-weight: 600; }
.social-links a:hover { color: #fff; text-decoration: underline; }
.disclaimer {
  font-size: 0.84rem;
  line-height: 1.6;
  color: #a7c4c4;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 20px;
}
.copyright { font-size: 0.84rem; margin-top: 12px; color: #a7c4c4; }

/* ============================================================
   STICKY MOBILE CALL BUTTON
   ============================================================ */
.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: block;
  text-align: center;
  background: var(--teal-dark);
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  transition: opacity 0.25s ease;
}

/* ============================================================
   LARGER SCREENS
   ============================================================ */
@media (min-width: 760px) {
  .sticky-call { display: none; }
  .footer { padding-bottom: 36px; }

  .section { padding: 76px 0; }
  .hero { padding: 64px 0 76px; }

  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .symptom-list { grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: none; }
  .symptom-list li:nth-child(-n+2) { border-top: 1px solid var(--line); }
  .who-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* keep anchored sections clear of the sticky header */
section { scroll-margin-top: 72px; }

/* ============================================================
   ILLUSTRATED HERO (layered wave art, static)
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 86svh;
  display: grid;
  place-items: center;
}
.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 72px 22px 84px;
  max-width: 720px;
}
.hero-mark {
  width: 110px;
  height: 110px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 4px 18px rgba(2, 20, 26, 0.45));
}
.hero-content h1 { color: #ffffff; }
.hero-content .hero-sub { color: #d6ece8; margin-left: auto; margin-right: auto; }
.hero-content .hero-note { color: #b7d9d4; }

/* header brand lockup */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; }

/* warm accent call buttons (hero + body) */
.btn-call { background: #e9a13b; color: #0b3540; }
.btn-call:hover { background: #d98f26; color: #0b3540; }

/* tie the footer to the hero's front wave */
.footer { background: #062f3a; }

/* sticky mobile bar matches the accent */
.sticky-call { background: #e9a13b; color: #0b3540; border-top: none; }

/* keep hero text readable where it crosses lighter wave bands */
.hero-content h1,
.hero-content .hero-sub,
.hero-content .hero-note { text-shadow: 0 1px 12px rgba(3, 25, 32, 0.55); }

/* ============================================================
   NAVIGATION (hamburger on mobile, inline row on desktop)
   ============================================================ */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--teal-dark);
  border-radius: 2px;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 8px 20px 14px;
}
.topbar { position: sticky; }
.topbar-inner { position: relative; }
.site-nav.open { display: block; }
.site-nav a {
  display: block;
  padding: 12px 2px;
  font-weight: 700;
  color: var(--teal-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav a:last-child { border-bottom: none; }
.site-nav .nav-call { color: #b07514; }

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    background: none;
    border: none;
    padding: 0;
    gap: 20px;
    align-items: center;
  }
  .site-nav a { border: none; padding: 4px 0; font-size: 0.93rem; font-weight: 600; }
  .site-nav .nav-call { display: none; }
}

/* ============================================================
   HERO CHIPS & QUOTE
   ============================================================ */
.hero-chips {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 4px;
  padding: 0;
}
.hero-chips li {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 7px 14px;
  border-radius: 999px;
}
.hero-quote {
  margin: 22px auto 20px;
  font-size: 1.35rem;
  font-weight: 700;
  font-style: italic;
  color: #ffe9c4;
}
.hero-quote-sub {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  font-style: normal;
  color: #bcdcd7;
  margin-top: 4px;
}

/* keep the header on one line on small screens */
.wordmark { white-space: nowrap; }
@media (max-width: 480px) {
  .wordmark { font-size: 1rem; }
  .brand { gap: 7px; }
  .brand-mark { width: 28px; height: 28px; }
  .topbar-call { font-size: 0.84rem; padding: 8px 12px; }
  .nav-toggle { width: 38px; height: 38px; padding: 9px; }
}
