/* DNK Health: shared warm editorial design. Load after style.css. */
:root {
  --glow: #faf8f5;
  --ink: #332d29;
  --cocoa: #4b4036;
  --oat: #e7ded5;
  --sage: #f0ebe5;
  --blush: #eee7df;
  --sand: #d7cbc0;
  --editorial-type: "Instrument Serif", Georgia, serif;
  --detail-type: "DM Sans", "Segoe UI", Arial, sans-serif;
  --body-editorial: var(--detail-type);
  --dnk-page: min(1208px, calc(100% - 100px));
  --dnk-muted: #6b6058;
}

body { background: var(--glow); color: var(--ink); font: 16px/1.65 var(--detail-type); }
main { font-family: var(--detail-type); }
h1, h2 { font-family: var(--editorial-type); font-weight: 400; letter-spacing: -.025em; line-height: 1.02; }
h1 { font-size: clamp(49px, 6.2vw, 89px); }
h2 { font-size: clamp(37px, 4.4vw, 64px); }
h3, h4, h5, h6 { font-family: var(--detail-type); }
p, li, a { overflow-wrap: break-word; }
.eyebrow { color: var(--dnk-muted); font-size: 10px; font-weight: 600; letter-spacing: .16em; }
.wrap { width: var(--dnk-page); }
main a:not(.care-card), main .card-link, main button, main summary, .skip { font-family: var(--detail-type); }

.utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px max(32px, calc((100% - 1208px) / 2));
  gap: 14px;
  background: var(--oat);
  color: var(--cocoa);
  font-size: 11px;
  line-height: 1.4;
}
.utility a { flex: none; text-decoration: none; font-weight: 500; }
.utility a:hover { text-decoration: underline; }
body > header, body > .mast {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--glow);
  border-bottom: 1px solid var(--sand);
}
.brand {
  display: inline-block;
  font: 400 35px/.96 var(--editorial-type);
  letter-spacing: -.025em;
  text-transform: lowercase;
}
.brand small {
  margin-top: 7px;
  font: 600 8px/1.2 var(--detail-type);
  letter-spacing: .19em;
  text-transform: uppercase;
}
.header-inner, .header-inner:has(> .home-masthead-call) {
  width: var(--dnk-page);
  min-height: 77px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: clamp(15px, 2.3vw, 32px);
  margin-inline: auto;
  padding: 0;
}
.header-inner > .brand, .header-inner:has(> .home-masthead-call) > .brand {
  grid-column: 1;
  grid-row: 1;
  width: auto;
  text-align: start;
  padding: 0;
  font-size: 35px;
}
.header-inner > .home-masthead-call {
  grid-column: 3;
  grid-row: 1;
  position: static;
  padding-inline: 14px;
  gap: 7px;
  border-radius: 5px;
  border-color: var(--sand);
  background: transparent;
  color: var(--cocoa);
  font: 500 13px/1.3 var(--detail-type);
  letter-spacing: 0;
}
.home-masthead-call svg { color: currentColor; }
.home-masthead-call:hover { background: var(--sage); border-color: var(--cocoa); }
.header-inner > .button { display: none; }
.header-inner #navigation {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 34px);
  width: 100%;
  margin: 0;
  border: 0;
}
.header-inner #navigation > a {
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  color: var(--dnk-muted);
  padding: 12px 0;
  font: 500 13px/1.35 var(--detail-type);
  letter-spacing: 0;
  text-transform: none;
}
.header-inner #navigation > a[aria-current="page"],
.header-inner #navigation > a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.header-inner .menu-toggle {
  background: transparent;
  color: var(--cocoa);
  border: 1px solid var(--sand);
  border-radius: 5px;
  font: 500 13px/1.4 var(--detail-type);
  min-height: 44px;
  letter-spacing: 0;
  text-transform: none;
}

.button, main .button {
  padding: 12px 22px;
  border: 1px solid var(--cocoa);
  border-radius: 5px;
  background: var(--cocoa);
  color: var(--glow);
  font: 500 13px/1.4 var(--detail-type);
  letter-spacing: 0;
}
.button:hover, main .button:hover { background: var(--ink); color: var(--glow); transform: none; }
.button.secondary, main .button.secondary { background: transparent; color: var(--cocoa); border-color: var(--sand); }
.button.secondary:hover, main .button.secondary:hover { background: var(--sage); color: var(--ink); border-color: var(--cocoa); }
main .text-link { font: 500 14px/1.4 var(--detail-type); letter-spacing: 0; }

main > .hero:not(.about-intro):not(.home-hero) {
  width: var(--dnk-page);
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  padding-block: clamp(46px, 7vw, 92px);
  align-items: center;
  gap: clamp(35px, 7vw, 94px);
}
main > .hero:not(.home-hero) > .hero-copy { grid-column: 1; grid-row: 1; padding: 0; }
main > .hero:not(.home-hero) > .photo {
  grid-row: 1;
  grid-column: 2;
  width: 100%;
  height: clamp(320px, 35vw, 500px);
  min-height: 0;
  border-radius: 8px;
}
main > .hero:not(.home-hero) h1 { font-size: clamp(49px, 6.2vw, 86px); line-height: .99; letter-spacing: -.026em; }
main > .hero:not(.home-hero) p:not(.eyebrow) { color: var(--dnk-muted); }
main > .hero .hero-copy > .lead, .about-introduction .lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.55; }
main > .hero:not(.home-hero) .actions { gap: 12px; margin-block: 25px 16px; }
.photo figcaption, .service-photo figcaption { border-radius: 3px; color: var(--cocoa); }
.service-photo, .founder-feature, .founder-photo, .about-founder-portrait { border-radius: 8px; }

.about-masthead .eyebrow, .about-founder .eyebrow, .about-approach .eyebrow { color: var(--dnk-muted); }
.about-founder-band, .contact-grid aside { background: var(--sage); }
.about-founder-title { color: var(--cocoa); }
.about-principles h3, .service h3, .card h3, .care-card h3 { font: 400 clamp(25px, 2.55vw, 34px)/1.12 var(--editorial-type); letter-spacing: -.012em; }
.about-masthead, .about-approach, main > .section { padding-block: clamp(47px, 6vw, 83px); }
.section-heading > p:last-child, .card p, .service p, .about-principles p, .founder-bio p { color: var(--dnk-muted); }
.section h2 { max-width: 24ch; }
.card:nth-child(n), .service:nth-child(n) { border-radius: 7px; background: var(--sage); }
.card:nth-child(even), .service:nth-child(even) { background: var(--blush); }
.card p, .service p { font-size: 15px; }
.service a { font-size: 14px; }
.care-detail .service-photo { margin-bottom: 30px; }
details { border-color: var(--sand); }
.timeline li { border-color: var(--sand); }
.timeline li > span { color: var(--dnk-muted); }
.timeline h2 { font-size: clamp(29px, 3vw, 43px); letter-spacing: -.01em; }
.timeline p { margin-bottom: 0; }
.contact-grid aside, .notice, .map-placeholder, .cta { border-radius: 8px; }
.contact-grid aside { border: 1px solid var(--sand); }
.contact-grid aside a { overflow-wrap: anywhere; }
input, select, textarea { color: var(--ink); background: var(--glow); border: 1px solid #b9ab9d; border-radius: 5px; }
.cta { background: var(--blush); padding: clamp(40px, 5.5vw, 75px) 28px; }
.cta h2 { font-size: clamp(38px, 4.6vw, 64px); }
.cta .actions { gap: 14px; }

footer { background: var(--oat); color: var(--ink); }
.footer-grid h2 { font: 400 27px/1.15 var(--editorial-type); letter-spacing: 0; }
.footer-grid p, .footer-grid a:not(.brand), .legal p,
.footer-grid > div:first-child > p:first-of-type {
  font-family: var(--detail-type);
  font-size: 13px;
  color: var(--cocoa);
}
.footer-grid > div:first-child > p:first-of-type { font-weight: 500; }
.footer-grid > div:last-child > a { letter-spacing: 0; }
.legal p { font-size: 11px; }
.cookie-notice { border-color: var(--sand); background: var(--glow); }
.cookie-actions button { font-family: var(--detail-type); border-color: var(--sand); border-radius: 5px; }
.cookie-actions button:hover { background: var(--blush); }

@media (max-width: 760px) {
  :root { --dnk-page: calc(100% - 36px); }
  .utility { padding-inline: 18px; font-size: 10px; }
  .header-inner, .header-inner:has(> .home-masthead-call) {
    min-height: 69px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    column-gap: 10px;
  }
  .header-inner .menu-toggle { display: block; grid-column: 3; grid-row: 1; margin: 0; padding-inline: 10px; }
  .header-inner > .home-masthead-call { grid-column: 2; padding-inline: 8px; }
  .header-inner > .brand, .header-inner:has(> .home-masthead-call) > .brand { font-size: 30px; }
  .brand small { font-size: 7px; letter-spacing: .12em; }
  .header-inner #navigation { display: none; grid-column: 1 / -1; grid-row: 2; align-items: stretch; flex-direction: column; gap: 0; margin: 0; }
  .header-inner #navigation.open { display: flex; margin-bottom: 8px; }
  .header-inner #navigation > a { text-align: left; min-height: 44px; border-top: 1px solid var(--sand); }
  main > .hero:not(.about-intro):not(.home-hero) { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  main > .hero:not(.home-hero) > .photo { grid-column: 1; grid-row: 2; height: clamp(240px, 58vw, 400px); }
  .cta { padding-inline: 20px; }
}
@media (max-width: 350px) {
  .header-inner > .home-masthead-call span { font-size: 11px; }
  .header-inner > .home-masthead-call svg { display: none; }
}

/* Reference's restrained asymmetric arch on secondary feature photography. */
main > .hero:not(.home-hero) > .photo {
  border-radius: 4px clamp(70px, 12vw, 160px) 4px 4px;
}
main > .hero:not(.home-hero) em { color: #78695e; }
@media (max-width: 760px) {
  main > .hero:not(.home-hero) > .photo {
    border-top-right-radius: clamp(60px, 16vw, 105px);
  }
}
/* Keep the reference masthead’s call-to-action on desktop and tap-to-call on mobile. */
.utility>span{text-transform:uppercase;letter-spacing:.14em}
.header-inner>.brand,.header-inner:has(>.home-masthead-call)>.brand{letter-spacing:-.025em}
main .button,.header-inner>.button{border-radius:999px}
@media(min-width:761px){
  .header-inner,.header-inner:has(>.home-masthead-call){min-height:96px;width:min(1208px,calc(100% - clamp(38px,9.4vw,126px)))}
  .header-inner>.brand,.header-inner:has(>.home-masthead-call)>.brand{font-size:42px}
  .header-inner>.home-masthead-call{display:none}
  .header-inner>.button{display:inline-flex;grid-area:1/3;min-width:128px;justify-content:center;align-items:center;min-height:44px}
}
