/* Shared editorial theme for the static OK Homeo site. */
:root {
  --ink: #112f2a;
  --navy: #112f2a;
  --deep: #103b34;
  --jade: #136353;
  --teal: #136353;
  --muted: #45615a;
  --cream: #f4f8f2;
  --frost: #e7f2e9;
  --sage: #e7f2e9;
  --paper: #fffefa;
  --lime: #ccebb9;
  --line: #d0dfd3;
  --heading: "Instrument Serif", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
}

body { background: var(--cream); color: var(--ink); font-family: var(--body); }
.hero h1, .page-hero h1, .section h2, .contact h2 {
  font-family: var(--heading);
  font-weight: 400;
  letter-spacing: -.035em;
}
html[lang="hi"] :is(.hero h1, .page-hero h1, .section h2) {
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: normal;
}
.site-header.shared-header {
  min-height: 80px;
  background: #fffefaf5;
  padding-inline: clamp(16px, 3vw, 48px);
}
.site-brand { gap: 10px; white-space: normal; }
.site-brand > svg { width: 43px; height: 43px; }
.site-brand > .brand-lockup { display: grid; gap: 4px; text-align: left; }
.brand-lockup .brand-wordmark {
  font: 800 28px/.95 var(--body);
  letter-spacing: -.075em;
}
.brand-lockup small {
  color: var(--muted);
  font: 650 .65rem/1.25 var(--body);
  letter-spacing: 0;
}
.shared-header nav a { padding-inline: 5px; }
.shared-header nav a[aria-current="page"] { color: var(--jade); }
.button { border-radius: 999px; }
.button-dark, .home-page .button:not(.ghost):not(.light) {
  background: var(--deep);
  color: white;
  border-color: var(--deep);
}
.button-dark:hover, .home-page .button:not(.ghost):not(.light):hover { background: var(--jade); }
.language-switcher, .language-switcher button { border-radius: 999px; }
.shared-footer { background: var(--paper); }

.home-page .hero {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  padding-block: clamp(36px, 6vw, 92px);
  gap: clamp(26px, 6vw, 90px);
}
.home-page .hero h1 {
  font-size: clamp(60px, 7.45vw, 116px);
  line-height: .91;
  max-width: 9ch;
  text-wrap: initial;
}
.home-page .hero h1 span { display: block; color: var(--jade); font-style: italic; }
html[lang="hi"] .home-page .hero h1 { font-size: clamp(38px, 5vw, 76px); line-height: 1.08; max-width: none; }
html[lang="hi"] .home-page .hero h1 span { font-style: normal; }
.home-page .eyebrow { color: var(--jade); }
.home-page .hero .hero-summary { font-size: clamp(16px, 1.6vw, 20px); }
.teal-art {
  min-height: 0;
  aspect-ratio: 1.07;
  place-items: end stretch;
  padding: clamp(12px, 2vw, 28px);
  border-radius: clamp(20px, 4vw, 46px);
  background: var(--deep);
  box-shadow: 0 25px 50px #103b3421;
}
.teal-art::before, .teal-art::after { content: none; }
.consultation-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.teal-art-stack { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.teal-art-stack .teal-art-card {
  transform: none;
  align-items: start;
  flex-direction: column;
  gap: 7px;
  padding: clamp(8px, 1.2vw, 15px);
  font-size: clamp(.7rem, 1vw, .88rem);
  line-height: 1.2;
  background: #fffefaf5;
  color: var(--ink);
  border-radius: 13px;
}
.teal-art-icon { flex: none; width: 31px; border-radius: 8px; background: var(--frost); color: var(--jade); }
.teal-art-icon svg { width: 18px; height: 18px; }
.services { background: var(--frost); }
.service, main .plan-card, main .care-card {
  border-color: var(--line);
  border-radius: 22px;
  background-color: var(--paper);
}
.service { padding: clamp(22px, 3vw, 40px); min-height: 230px; }
.home-page .service h3, .home-page .step h3 { font: 700 clamp(19px, 2vw, 26px)/1.1 var(--body); letter-spacing: -.04em; }
.glyph { border-radius: 50%; background: var(--frost); }
.home-page .steps { background: transparent; }
.home-page .step { padding-block: 18px; }
.home-page .step::before { background: var(--lime); }

.home-page .stories { background: var(--deep); color: white; }
.story-feature {
  display: grid;
  grid-template-columns: 1.1fr minmax(0, .9fr);
  align-items: center;
  gap: clamp(20px, 5vw, 75px);
}
.story-feature .section-intro { color: #d3e8dc; }
.story-feature .button.ghost { color: white; border-color: #b1d5c2; }
.story-feature .button.ghost:hover { background: #ffffff1a; }
.story-formats { display: grid; gap: 9px; }
.story-formats a {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 10px 18px 10px 12px;
  border: 1px solid #ffffff4d;
  background: #ffffff0d;
  border-radius: 16px;
}
.story-formats a:hover { background: #ffffff21; }
.story-formats a span:first-child {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-size: 20px;
}
.page-hero.care-hero, .page-hero {
  background: radial-gradient(ellipse at 85% 0%, #d4eacb, transparent 62%), var(--frost);
}
.page-hero h1 { font-size: clamp(46px, 6.8vw, 92px); line-height: 1; }
.story-controls {
  padding: 12px;
  margin-block-end: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.filter-chip { border-radius: 999px; }
dialog { border-radius: 22px; }

@media (max-width: 900px) {
  .site-header.shared-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .site-header.shared-header nav { grid-row: 2; grid-column: 1 / -1; justify-content: start; }
}
@media (max-width: 690px) {
  .home-page .hero, .story-feature { grid-template-columns: 1fr; }
  .teal-art { aspect-ratio: 1.2; }
  .site-brand > svg { width: 33px; height: 33px; }
  .brand-lockup .brand-wordmark { font-size: 24px; }
  .site-header.shared-header { padding-inline: 10px; }
  .shared-header nav a { padding-inline: 2px; }
}
@media (max-width: 400px) {
  .brand-lockup small { font-size: .59rem; }
  .site-brand { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .story-formats a { transition: none; }
}

.homepage-comparisons {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  color: var(--ink);
}
.story-card .comparison-photos { border-radius: 13px; }
@media (max-width: 690px) {
  .homepage-comparisons { grid-template-columns: 1fr; }
}