:root {
  --scrub: #CEEAC6;
  --navy: #263850;
  --vital: #3E7C50;
  --coat: #8A96A0;
  --tan: #C0A070;
  --card: #EEFEE8;
  --pulse: #C85050;
  --clip: #A8B0B8;
  --rule: #A9B7A2;
  --ruledeep: #7F8E9B;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  background-color: #CEEAC6;
  color: #263850;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.18;
  margin: 0 0 0.5em;
  color: #263850;
}

p {
  margin: 0 0 1em;
}

a {
  color: #3E7C50;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-decoration-color: #A8B0B8;
  text-decoration-thickness: 2px;
}

img {
  max-width: 100%;
}

/* ============ CLINIC NOTE TABS NAV ============ */

.clinicnote {
  position: relative;
  background-color: #CEEAC6;
  padding: 34px 0 0;
}

.clinicnote-desk {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-end;
  gap: 0;
  background-color: #263850;
  border-radius: 0 8px 0 0;
  min-height: 62px;
  flex-wrap: wrap;
  position: relative;
}

.clinicnote-brand {
  flex: 1 1 280px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px 14px 22px;
  color: #CEEAC6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  align-self: stretch;
  border-right: 1px solid #3E7C50;
}

.clinicnote-clip {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #A8B0B8;
  box-shadow: 0 0 0 3px #263850, 0 0 0 4px #A8B0B8;
  flex: 0 0 auto;
}

.clinicnote-tabs {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 0 8px;
}

.clinicnote-tab {
  display: block;
  padding: 12px 18px 10px;
  border-radius: 9px 9px 0 0;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  position: relative;
  transition: transform 0.18s ease;
}

.clinicnote-tab:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.clinicnote-tab::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  background-color: #3E7C50;
}

.clinicnote-tab-a {
  background-color: #EEFEE8;
  color: #263850;
  width: 88px;
  text-align: center;
}

.clinicnote-tab-b {
  background-color: #8A96A0;
  color: #F7FBF4;
  width: 108px;
  text-align: center;
}

.clinicnote-tab-c {
  background-color: #EEFEE8;
  color: #263850;
  width: 96px;
  text-align: center;
}

.clinicnote-tab-d {
  background-color: #8A96A0;
  color: #F7FBF4;
  width: 100px;
  text-align: center;
}

.clinicnote-tab-e {
  background-color: #EEFEE8;
  color: #263850;
  width: 74px;
  text-align: center;
}

.clinicnote-tab.is-current::after {
  background-color: #C85050;
}

.clinicnote-toggle {
  display: none;
  background-color: #3E7C50;
  color: #EEFEE8;
  border: 0;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 6px;
  margin: 10px 16px 10px auto;
  cursor: pointer;
}

/* ============ STETHOSCOPE WELL HERO ============ */

.stethowell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 24px 46px;
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 40px;
  align-items: center;
}

.stethowell-copy h1 {
  font-size: 54px;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}

.stethowell-display {
  display: block;
  font-size: 92px;
  font-style: italic;
  font-weight: 700;
  color: #3E7C50;
  line-height: 1.02;
  margin-top: 6px;
  letter-spacing: -0.03em;
}

.stethowell-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3E7C50;
  font-weight: 700;
  border-bottom: 2px solid #C0A070;
  padding-bottom: 5px;
  margin-bottom: 18px;
}

.stethowell-lead {
  font-size: 17.5px;
  max-width: 560px;
  color: #263850;
}

.stethowell-link {
  display: inline-block;
  font-weight: 700;
  color: #3E7C50;
  border-bottom: 2px solid #A8B0B8;
  padding-bottom: 2px;
}

.stethowell-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 400px;
  background-color: #3E7C50;
  color: #EEFEE8;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
  padding: 17px 22px;
  border-radius: 4px;
  margin-top: 26px;
  text-decoration: none;
}

.stethowell-cta:hover {
  text-decoration: none;
  background-color: #336841;
}

.stethowell-cta-arrow {
  font-size: 22px;
  line-height: 1;
  color: #EEFEE8;
}

.stethowell-well {
  position: relative;
  background-color: #EEFEE8;
  border-radius: 10px;
  min-height: 400px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid #A9B7A2;
}

.stethowell-well-label {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3E7C50;
  font-weight: 700;
  border-bottom: 1px solid #A9B7A2;
  padding-bottom: 8px;
  display: block;
}

.stethowell-tube {
  position: absolute;
  left: 40px;
  top: 90px;
  width: 300px;
  height: 300px;
  border: 3px solid #3E7C50;
  border-radius: 50%;
  border-bottom-color: transparent;
  border-right-color: transparent;
  transform: rotate(-28deg);
}

.stethowell-tube2 {
  position: absolute;
  left: 90px;
  top: 130px;
  width: 210px;
  height: 220px;
  border: 3px solid #3E7C50;
  border-radius: 50%;
  border-top-color: transparent;
  border-left-color: transparent;
  transform: rotate(24deg);
}

.stethowell-chest {
  position: absolute;
  left: 74px;
  top: 300px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-color: #8A96A0;
  box-shadow: inset 0 0 0 9px #78838C;
  z-index: 2;
}

.stethowell-diaphragm {
  position: absolute;
  left: 106px;
  top: 332px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #C85050;
  z-index: 3;
}

.stethowell-bell {
  position: absolute;
  right: 44px;
  top: 250px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #263850;
  z-index: 2;
}

.stethowell-bell::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #CEEAC6;
}

.stethowell-grid {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: repeat(3, 30px);
  gap: 6px;
}

.stethowell-grid span {
  display: block;
  height: 30px;
  border: 1px solid #A9B7A2;
  border-radius: 3px;
  background-color: #F7FBF4;
}

.stethowell-grid span:nth-child(2n) {
  background-color: #8A96A0;
}

.stethowell-grid span:nth-child(5) {
  background-color: #C0A070;
}

/* ============ INTRO SPLIT ============ */

.clinicnote-intro {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 24px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
}

.clinicnote-intro h2 {
  font-size: 33px;
  margin-bottom: 14px;
}

.clinicnote-intro-side {
  border-left: 3px solid #C0A070;
  padding-left: 24px;
}

.clinicnote-intro-side h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.clinicnote-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.clinicnote-list li {
  padding: 9px 0 9px 26px;
  border-bottom: 1px solid #A9B7A2;
  position: relative;
}

.clinicnote-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #3E7C50;
}

/* ============ PULSE BAG RUN ============ */

.pulsebag {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px 60px;
}

.pulsebag-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 2px solid #263850;
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.pulsebag-head h2 {
  font-size: 34px;
  margin: 0;
}

.pulsebag-head span {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3E7C50;
  font-weight: 700;
}

.pulsebag-row {
  display: grid;
  grid-template-columns: 62px 1fr 46px;
  align-items: center;
  gap: 22px;
  padding: 22px 4px 22px 0;
  border-bottom: 1px solid #263850;
  background-color: #EEFEE8;
  border-left: 3px solid #C0A070;
  padding-left: 22px;
  margin-bottom: 0;
}

.pulsebag-row h3 {
  font-size: 22px;
  margin: 0 0 6px;
}

.pulsebag-row p {
  margin: 0;
  max-width: 740px;
}

.pulsebag-num {
  font-family: Georgia, serif;
  font-size: 26px;
  font-style: italic;
  color: #3E7C50;
  font-weight: 700;
}

.pulsebag-glyph {
  width: 26px;
  height: 40px;
  border-radius: 13px;
  border: 2px solid #C85050;
  position: relative;
  justify-self: end;
}

.pulsebag-glyph::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 22px;
  width: 4px;
  height: 3px;
  background-color: #C85050;
  border-radius: 50%;
}

.pulsebag-noglyph {
  width: 26px;
  height: 40px;
  justify-self: end;
}

.pulsebag-more {
  margin-top: 26px;
  font-size: 15.5px;
}

/* ============ CHART LINE BAND ============ */

.chartline {
  position: relative;
  background-color: #3E7C50;
  margin-top: 10px;
  padding: 46px 24px 42px;
}

.chartline-trace {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
  background-color: #CEEAC6;
  clip-path: polygon(0 55%, 6% 55%, 9% 20%, 12% 88%, 15% 55%, 24% 55%, 36% 55%, 39% 34%, 42% 72%, 45% 55%, 58% 55%, 66% 55%, 69% 6%, 72% 96%, 75% 55%, 88% 55%, 91% 40%, 94% 68%, 97% 55%, 100% 55%, 100% 100%, 0 100%);
}

.chartline-spike {
  position: absolute;
  top: 0;
  left: 68%;
  width: 24px;
  height: 22px;
  background-color: #C85050;
  clip-path: polygon(46% 0, 100% 100%, 0 100%);
}

.chartline-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.chartline-inner p {
  color: #EEFEE8;
  font-size: 21px;
  font-family: Georgia, serif;
  line-height: 1.45;
  margin: 0;
}

.chartline-inner a {
  color: #EEFEE8;
  border-bottom: 2px solid #C0A070;
  font-weight: 700;
}

/* ============ DETAILED CONTENT SECTIONS ============ */

.clinicnote-detail {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 24px 40px;
}

.clinicnote-detail h2 {
  font-size: 34px;
  margin-bottom: 18px;
  max-width: 760px;
}

.clinicnote-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.clinicnote-panel {
  background-color: #EEFEE8;
  border-top: 4px solid #8A96A0;
  padding: 26px 28px;
  border-radius: 0 0 6px 6px;
}

.clinicnote-panel h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.clinicnote-panel-pulse {
  border-top-color: #C85050;
}

.clinicnote-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 26px;
  border-top: 2px solid #263850;
}

.clinicnote-step {
  padding: 20px 20px 22px 0;
  border-right: 1px solid #A9B7A2;
}

.clinicnote-step:last-child {
  border-right: 0;
}

.clinicnote-step b {
  display: block;
  color: #3E7C50;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.clinicnote-step h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.clinicnote-step p {
  font-size: 14.5px;
  margin: 0;
}

/* ============ WHITE COAT FOOTER ============ */

.whitecoat {
  background-color: #CEEAC6;
  margin-top: 40px;
  padding: 0 24px 34px;
}

.whitecoat-rule {
  max-width: 1180px;
  margin: 0 auto;
  height: 4px;
  background-color: #263850;
  position: relative;
}

.whitecoat-lapel-l {
  position: absolute;
  left: 24px;
  top: 4px;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 0 solid transparent;
  border-top: 20px solid #263850;
}

.whitecoat-lapel-r {
  position: absolute;
  left: 56px;
  top: 4px;
  width: 0;
  height: 0;
  border-left: 0 solid transparent;
  border-right: 16px solid transparent;
  border-top: 20px solid #8A96A0;
}

.whitecoat-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 26px;
}

.whitecoat-links {
  font-size: 15px;
  margin-bottom: 22px;
}

.whitecoat-links a {
  color: #263850;
  font-weight: 600;
  text-decoration: none;
}

.whitecoat-links a:hover {
  text-decoration: underline;
  text-decoration-color: #A8B0B8;
  text-decoration-thickness: 2px;
}

.whitecoat-sep {
  color: #8A96A0;
  padding: 0 9px;
}

.whitecoat-brand {
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  color: #263850;
  margin-bottom: 8px;
}

.whitecoat-blurb {
  max-width: 620px;
  font-size: 15px;
  margin-bottom: 18px;
}

.whitecoat-meta {
  border-top: 1px solid #A9B7A2;
  padding-top: 16px;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  align-items: baseline;
}

.whitecoat-meta a {
  color: #263850;
}

.whitecoat-year {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.whitecoat-year-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #A8B0B8;
  display: inline-block;
}

/* ============ REVEAL ANIMATION ============ */

.js-ready .reveal {
  transform: translateY(18px);
  visibility: hidden;
}

.js-ready .reveal.is-visible {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.55s ease;
}

.reveal {
  visibility: visible;
}

/* ============ SERVICES PAGE ============ */

.services-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 30px;
  border-bottom: 2px solid #263850;
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 30px;
  align-items: end;
}

.services-hero h1 {
  font-size: 46px;
  margin-bottom: 12px;
}

.services-hero p {
  font-size: 17px;
  max-width: 720px;
  margin: 0;
}

.services-hero-side {
  text-align: right;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3E7C50;
  font-weight: 700;
}

.services-list {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px 55px;
}

.services-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 34px;
  padding: 30px 0;
  border-bottom: 1px solid #263850;
}

.services-item h2 {
  font-size: 24px;
  margin: 0;
  color: #263850;
}

.services-item-body p {
  max-width: 800px;
}

.services-item-tag {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3E7C50;
  font-weight: 700;
  margin-top: 8px;
}

.services-process {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 24px 40px;
}

.services-process h2 {
  font-size: 32px;
  margin-bottom: 18px;
}

.services-cta {
  max-width: 1180px;
  margin: 20px auto 0;
  padding: 0 24px 50px;
}

.services-cta-box {
  background-color: #263850;
  padding: 34px 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.services-cta-box h2 {
  color: #EEFEE8;
  font-size: 28px;
  margin: 0 0 6px;
}

.services-cta-box p {
  color: #CEEAC6;
  margin: 0;
  max-width: 560px;
}

.services-cta-btn {
  background-color: #3E7C50;
  color: #EEFEE8;
  font-weight: 700;
  padding: 15px 24px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
}

.services-cta-btn:hover {
  text-decoration: none;
  background-color: #336841;
}

/* ============ CONTACT PAGE ============ */

.contact-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 26px;
}

.contact-hero h1 {
  font-size: 46px;
  margin-bottom: 10px;
}

.contact-hero p {
  max-width: 700px;
  font-size: 17px;
  margin: 0;
}

.contact-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 24px 50px;
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 42px;
  align-items: start;
}

.contact-form {
  background-color: #EEFEE8;
  border-top: 4px solid #3E7C50;
  padding: 28px 30px 30px;
  border-radius: 0 0 6px 6px;
}

.contact-form h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.contact-form p.contact-note {
  font-size: 14px;
  margin-bottom: 18px;
}

.contact-field {
  margin-bottom: 16px;
}

.contact-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #263850;
  margin-bottom: 6px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #8A96A0;
  border-radius: 4px;
  background-color: #F7FBF4;
  color: #263850;
  font-family: inherit;
  font-size: 15px;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: 2px solid #3E7C50;
  outline-offset: 1px;
}

.contact-field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-submit {
  background-color: #3E7C50;
  color: #EEFEE8;
  border: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: 15.5px;
  padding: 14px 26px;
  border-radius: 4px;
  cursor: pointer;
}

.contact-submit:hover {
  background-color: #336841;
}

.contact-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #3E7C50;
}

.contact-side h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.contact-block {
  border-left: 3px solid #C0A070;
  padding: 4px 0 4px 18px;
  margin-bottom: 22px;
}

.contact-block h3 {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3E7C50;
  margin-bottom: 6px;
}

.contact-block p {
  margin: 0;
  font-size: 15px;
}

.contact-faq {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px 50px;
}

.contact-faq h2 {
  font-size: 30px;
  margin-bottom: 16px;
}

.contact-faq-item {
  border-bottom: 1px solid #A9B7A2;
  padding: 16px 0;
}

.contact-faq-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.contact-faq-item p {
  margin: 0;
  max-width: 820px;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 960px) {
  .stethowell {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .stethowell-well {
    min-height: 340px;
  }
  .clinicnote-intro,
  .clinicnote-two {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .clinicnote-steps {
    grid-template-columns: 1fr 1fr;
  }
  .services-hero {
    grid-template-columns: 1fr;
  }
  .services-hero-side {
    text-align: left;
  }
  .services-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .clinicnote-desk {
    min-height: 0;
    padding-bottom: 0;
    flex-wrap: wrap;
  }
  .clinicnote-brand {
    border-right: 0;
    padding: 12px 18px;
  }
  .clinicnote-toggle {
    display: block;
  }
  .clinicnote-tabs {
    display: none;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 8px 8px;
  }
  .clinicnote-tabs.is-open {
    display: flex;
  }
  .clinicnote-tab {
    width: auto !important;
    flex: 1 1 30%;
    text-align: center;
    font-size: 13.5px;
    padding: 10px 8px;
  }
  .stethowell {
    padding-top: 34px;
  }
  .stethowell-copy h1 {
    font-size: 38px;
  }
  .stethowell-display {
    font-size: 62px;
  }
  .pulsebag-row {
    grid-template-columns: 1fr 34px;
    gap: 10px;
  }
  .pulsebag-num {
    display: none;
  }
  .clinicnote-steps {
    grid-template-columns: 1fr;
  }
  .clinicnote-step {
    border-right: 0;
    border-bottom: 1px solid #A9B7A2;
  }
  .services-hero h1,
  .contact-hero h1 {
    font-size: 34px;
  }
}
