/* Elkaiva public site chrome — preserves Dawn/Clarity brand direction */
:root {
  --ek-navy: #122140;
  --ek-ink: #1a1a1a;
  --ek-muted: #6b7280;
  --ek-line: #e5e9ef;
  --ek-paper: #ffffff;
  --ek-soft: #ffffff;
}

html { scroll-behavior: smooth; }
body.ek-body {
  margin: 0;
  color: var(--ek-ink);
  background: var(--ek-paper);
  font-family: "Instrument Sans", "Jost", "Assistant", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
}
body.ek-body h1,
body.ek-body h2,
body.ek-body .ek-pos-hero-title,
body.ek-body .title {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}
/* Geometric hyphens: Cormorant hyphen glyph can look tilted in page titles */
body.ek-body h1.page-title {
  font-family: "Instrument Sans", "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}
body.ek-body .ek-hyphen {
  display: inline-block !important;
  width: 0.55rem !important;
  height: 0.11rem !important;
  margin: 0 0.08rem !important;
  background: currentColor !important;
  border: 0 !important;
  border-radius: 0 !important;
  vertical-align: 0.35em !important;
  line-height: 0 !important;
  overflow: hidden !important;
  transform: none !important;
  text-indent: 0 !important;
  font-size: inherit !important;
}
.ek-skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.ek-skip:focus { left: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

.ek-header {
  border-bottom: 1px solid var(--ek-line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
}
/* Script wordmark — PNG has large right transparent pad; keep exclusive flex space */
.ek-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
  margin-right: 20px !important;
}
.ek-header .ek-logo img {
  display: block;
  width: 176px !important;
  max-width: min(176px, 48vw) !important;
  height: auto !important;
}
@media (max-width: 749px) {
  .ek-header .ek-logo img {
    width: 132px !important;
    max-width: 48vw !important;
  }
  .ek-logo {
    margin-right: 8px !important;
  }
}
.ek-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ek-nav {
  display: flex;
  flex-wrap: nowrap;
  flex: 1 1 auto;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
.ek-header .ek-nav a {
  color: var(--ek-navy) !important;
  text-decoration: none !important;
  font-size: 11px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.ek-header .ek-nav a:hover {
  text-decoration: none !important;
  border-bottom-color: var(--ek-navy);
}
.ek-header .ek-nav a.is-active {
  border-bottom-color: var(--ek-navy);
}
.ek-header .ek-nav a.ek-nav-start {
  background: var(--ek-navy) !important;
  color: #fff !important;
  padding: 9px 18px !important;
  border-bottom: none !important;
  font-size: 10px !important;
  letter-spacing: 0.22em !important;
  font-family: Georgia, "Times New Roman", serif !important;
  white-space: nowrap;
  transition: background 0.2s !important;
}
.ek-header .ek-nav a.ek-nav-start:hover {
  background: #1b2a4a !important;
  color: #fff !important;
  border-bottom: none !important;
}
/* Kept for 404 / legacy CTAs */
.ek-book-btn {
  display: inline-block;
  background: var(--ek-navy);
  color: #fff;
  padding: 12px 22px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: Georgia, "Times New Roman", serif;
}
.ek-book-btn:hover { background: #1b2a4a; color: #fff; text-decoration: none; }
.ek-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ek-line);
  padding: 8px 10px;
  color: var(--ek-navy);
}
.ek-main {
  min-height: 55vh;
}
.ek-main .page-width,
.ek-main .shopify-policy__container,
.ek-main .rte {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.ek-footer {
  margin-top: 64px;
  background: var(--ek-navy);
  color: #f5f5f5;
  padding: 48px 20px 28px;
}
.ek-footer a { color: #f5f5f5; text-decoration: none; }
.ek-footer a:hover { text-decoration: underline; }
.ek-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}
.ek-footer h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 18px;
  margin: 0 0 14px;
  letter-spacing: 0.04em;
}
.ek-footer ul { list-style: none; margin: 0; padding: 0; }
.ek-footer li { margin: 0 0 8px; font-size: 14px; }
.ek-footer-note {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,.7);
}
.ek-footer-bottom {
  max-width: 1200px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.18);
  text-align: left;
}

/* Navy backgrounds must use light text. Dawn sets h1–h5 to
   rgb(var(--color-foreground)), which is navy — navy type on a navy band
   is unreadable. !important wins that heading color. */
.syp-header,
.syp-header .syp-header-label,
.syp-header h1,
.syp-header h2,
.syp-header p,
.eab-hero,
.eab-hero-content,
.eab-hero h1,
.eab-hero h2,
.eab-hero p,
.eab-closing,
.eab-closing h1,
.eab-closing h2,
.eab-closing p,
.ek-about-hero,
.ek-about-hero h1,
.ek-about-hero h2,
.ek-about-hero p,
.ek-about-cta,
.ek-about-cta p,
.ek-ent2-hero,
.ek-ent2-hero h1,
.ek-ent2-hero h2,
.ek-ent2-hero p,
.ek-ent2-cta,
.ek-ent2-cta p,
.ek-art-hero,
.ek-art-hero h1,
.ek-art-hero .ek-art-kicker,
.ek-art-hero .ek-art-hero-lead,
.ek-art-hero p,
.ek-art-cta,
.ek-art-cta p,
.ek-art-cta .ek-art-more,
.ek-art-cta .ek-art-more a,
.ek-ath-cta,
.ek-ath-cta p,
.ek-col-section--navy,
.ek-col-section--navy h1,
.ek-col-section--navy h2,
.ek-col-section--navy h3,
.ek-col-section--navy p,
.ek-col-section--navy .ek-col-desc,
.ek-col-section--navy .ek-col-label,
.ek-col-section--navy .ek-col-links,
.ek-col-section--navy .ek-col-links a,
.ek-col-hero,
.ek-col-hero h1,
.ek-col-hero h2,
.ek-col-hero p,
.ek-col-hero .ek-col-hero-desc,
.ek-col .ek-col-hero-desc,
.pls-hero,
.pls-hero h1,
.pls-hero h2,
.pls-hero p,
.pls-hero a,
.pls-hero-title,
.pls-hero-desc {
  color: #ffffff !important;
}
/* Category expert copy is dark. Keep it on white even if a navy
   hero still wraps the insertion point. */
.ek-cat-expert,
.ek-cat-expert p,
.ek-cat-expert li,
.ek-cat-expert a {
  color: #3a3a3a !important;
  background: #ffffff;
}
.ek-cat-expert h2 {
  color: #122140 !important;
  background: #ffffff;
}
/* Article title uses the same navy hero as PDM: white type, centered.
   Long body copy stays on white. */
.ek-art-hero {
  background: #122140 !important;
  text-align: center !important;
}
.ek-art-hero h1 {
  color: #ffffff !important;
  text-align: center !important;
}
.ek-art-hero .ek-art-hero-lead,
.ek-art-hero p.ek-art-hero-lead {
  color: #ffffff !important;
}
.ek-art-section h2,
.ek-art-section h3,
.ek-art-prose h3 {
  color: #122140 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}
.ek-art-section h2 {
  font-size: 28px !important;
  line-height: 1.25 !important;
}
.ek-art-section h3,
.ek-art-prose h3 {
  font-size: 22px !important;
  line-height: 1.3 !important;
}
.ek-art-section p,
.ek-art-prose p,
.ek-art-prose li,
.ek-art-prose a {
  color: #2c3548 !important;
}
.ek-art-prose a {
  color: #122140 !important;
  text-decoration: underline;
}
.pls-hero {
  overflow: visible;
}
.pls-hero-title {
  line-height: 1.25 !important;
  overflow: visible;
}
.syp-header .syp-header-label {
  color: rgba(255, 255, 255, 0.72) !important;
}
.syp-header p {
  color: rgba(255, 255, 255, 0.88) !important;
}
.ek-ent2-hero .k,
.ek-art-kicker {
  color: #c9b48a !important;
}
.ek-footer,
.ek-footer h3,
.ek-footer a,
.ek-footer p,
.ek-footer li,
.ek-footer address {
  color: #f5f5f5;
}
.ek-footer a { color: #f5f5f5; }

/* Contact form */
.ek-contact {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}
.ek-contact h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--ek-navy);
  font-size: 34px;
  margin: 0 0 10px;
}
.ek-contact .lead { color: var(--ek-muted); margin: 0 0 28px; }
.ek-field { margin: 0 0 16px; }
.ek-field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ek-muted);
  margin: 0 0 8px;
}
.ek-field input,
.ek-field textarea,
.ek-field select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d8dee8;
  padding: 12px 14px;
  font: inherit;
  color: var(--ek-navy);
  background: #fff;
}
.ek-field textarea { min-height: 140px; resize: vertical; }
.ek-honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.ek-error { color: #b42318; font-size: 13px; margin: 0 0 12px; }
.ek-ok { color: #1a7f4b; font-size: 13px; margin: 0 0 12px; }
.ek-btn {
  display: inline-block;
  background: var(--ek-navy);
  color: #fff;
  border: 0;
  padding: 14px 22px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.ek-btn:disabled { opacity: .6; cursor: wait; }

/* Contact mailing address — bottom-left above footer (matches footer left edge) */
.ek-contact-meta {
  max-width: 1200px;
  margin: 64px auto 28px;
  padding: 0 24px 8px;
  text-align: left;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.ek-contact-meta-label {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ek-muted);
  font-weight: 600;
}
.ek-contact-meta address {
  margin: 0;
  font-style: normal;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ek-muted);
  max-width: 16rem;
}

/* Dawn leftover: slide-in starts at opacity 0.01. Theme JS is not on this
   static build, so a missed animation leaves the whole article looking empty. */
.scroll-trigger.animate--slide-in,
.scroll-trigger.animate--fade-in {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

@media (max-width: 900px) {
  .ek-nav-toggle { display: inline-block; }
  .ek-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; flex-wrap: wrap; gap: 0; }
  .ek-nav.open { display: flex; }
  .ek-nav a {
    padding: 15px 0;
    width: 100%;
    border-bottom: none;
    letter-spacing: 0.18em;
  }
  .ek-nav-start {
    margin-top: 8px;
    width: 100%;
    text-align: center;
    padding: 14px 20px !important;
    box-sizing: border-box;
  }
  .ek-header-inner { flex-wrap: wrap; }
  .ek-footer-grid { grid-template-columns: 1fr; }
}
