/* Sunlit Infusion Centers
   Palette: white, daylight, sun, amber, tangerine, ember (links), bark (text)
   Type: Bricolage Grotesque (display), Atkinson Hyperlegible Next (text) */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2");
}

:root {
  --white: #ffffff;
  --daylight: #fff6dc;
  --butter: #ffe9a8;
  --sun: #ffc629;
  --amber: #ffa51f;
  --tangerine: #ff7a1a;
  --ember: #b43a00;
  --bark: #2e1a0a;
  --bark-soft: #6a5140;
  --line: #f0dfb6;

  --display: "Bricolage Grotesque", "Trebuchet MS", "Segoe UI", sans-serif;
  --text: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", Verdana, "Segoe UI", sans-serif;

  --r-panel: 28px;
  --r-field: 14px;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--bark);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.15; letter-spacing: -0.01em; }
h4 { font-size: 1.125rem; line-height: 1.25; letter-spacing: 0; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
a { color: var(--ember); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--bark); }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
strong { font-weight: 700; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.lede { font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.5; color: var(--bark); max-width: 56ch; }
.muted { color: var(--bark-soft); }
.small { font-size: 0.95rem; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--bark); color: var(--white); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; color: var(--white); }

/* Phone and fax appear only when site-config.js has them */
html:not(.has-phone) [data-needs="phone"], html:not(.has-fax) [data-needs="fax"] { display: none !important; }
html.has-phone [data-without="phone"], html.has-fax [data-without="fax"] { display: none !important; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  border: 2px solid var(--bark);
  background: var(--sun);
  color: var(--bark);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--amber); color: var(--bark); }
.btn:active { transform: translateY(1px); }
.btn.quiet { background: var(--white); }
.btn.quiet:hover { background: var(--daylight); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }

/* Header */
.site-head { background: var(--white); position: relative; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; gap: 20px; padding-block: 18px; max-width: 1340px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bark); margin-right: auto; }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.035em; line-height: 0.9; display: block; }
.brand-sub { white-space: nowrap; font-family: var(--text); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--bark-soft); display: block; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-weight: 600; font-size: 1rem; color: var(--bark); text-decoration: none;
  padding: 8px 12px; border-radius: 999px; white-space: nowrap;
}
.nav a:hover { background: var(--daylight); }
.nav a[aria-current="page"] { background: var(--butter); }
.head-actions { display: flex; align-items: center; gap: 16px; }
.head-phone { font-weight: 700; color: var(--bark); text-decoration: none; white-space: nowrap; }
.head-phone:hover { color: var(--ember); }
.head-actions .btn { padding: 0.65em 1.15em; font-size: 0.98rem; white-space: nowrap; }
.menu-btn {
  display: none; font-family: var(--display); font-weight: 700; font-size: 1rem;
  background: var(--white); color: var(--bark); border: 2px solid var(--bark);
  border-radius: 999px; padding: 0.55em 1.1em; cursor: pointer;
}

@media (max-width: 1280px) { .head-phone { display: none; } }
@media (max-width: 1120px) {
  .menu-btn { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px; border-bottom: 3px solid var(--sun);
    box-shadow: 0 24px 40px -24px rgba(46, 26, 10, 0.35);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .nav a[aria-current="page"] { background: none; color: var(--ember); }
}
@media (max-width: 560px) {
  .head-actions .btn { display: none; }
  .brand svg { width: 40px; height: 40px; }
  .brand-name { font-size: 1.45rem; }
}

/* Hero */
.hero { padding-block: clamp(28px, 5vw, 64px) var(--section); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 0.35em; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 520px; }
}

/* The one moment of motion: the sun comes up when the page opens */
.sun-rise { animation: sunrise 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.beam-in { animation: beam 1.8s 0.5s ease-out both; }
@keyframes sunrise { from { transform: translateY(90px); } to { transform: translateY(0); } }
@keyframes beam { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .sun-rise, .beam-in { animation: none; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Page hero for inner pages */
.page-hero { background: var(--daylight); padding-block: clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -8%; top: -60%; width: 46%; height: 240%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(18deg); pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); max-width: 16ch; }
.page-hero .lede { max-width: 58ch; }

/* Sections */
.section { padding-block: var(--section); }
.section.day { background: var(--daylight); }
.section.sun { background: var(--sun); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.split.wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
@media (max-width: 880px) { .split, .split.wide-left { grid-template-columns: 1fr; } }

/* Four doors: a sunrise from left to right */
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: var(--r-panel); overflow: hidden; margin-top: calc(var(--section) * -0.45); position: relative; z-index: 2; }
.door {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: clamp(22px, 2.6vw, 34px); min-height: 220px;
  color: var(--bark); text-decoration: none;
}
.door:nth-child(1) { background: #fff1c2; }
.door:nth-child(2) { background: #ffdf70; }
.door:nth-child(3) { background: #ffc03d; }
.door:nth-child(4) { background: #ff9a3a; }
.door h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.7rem); }
.door p { margin: 0; font-size: 1rem; line-height: 1.45; }
.door .go { font-family: var(--display); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.door:hover { color: var(--bark); filter: saturate(1.15) brightness(1.03); }
.door:focus-visible { outline-offset: -6px; }
@media (max-width: 980px) { .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } .door { min-height: 180px; } }
@media (max-width: 520px) { .doors { grid-template-columns: 1fr; } .door { min-height: 0; gap: 14px; } }

/* Sun-dot lists */
.sunlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.sunlist li { position: relative; padding-left: 38px; max-width: 60ch; }
.sunlist li::before {
  content: ""; position: absolute; left: 0; top: 0.28em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 0 5px rgba(255, 198, 41, 0.3);
}
.section.sun .sunlist li::before, .section.day .sunlist li::before { background: var(--tangerine); box-shadow: 0 0 0 5px rgba(255, 122, 26, 0.22); }
.sunlist h4 { margin: 0 0 2px; font-family: var(--display); font-size: 1.2rem; }
.sunlist p { margin: 0; }

/* Steps (real sequences only) */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px 20px;
  padding-block: 26px; border-top: 2px solid var(--line);
}
.steps li:last-child { border-bottom: 2px solid var(--line); }
.steps li::before {
  content: counter(step); font-family: var(--display); font-weight: 800; font-size: 3.4rem; line-height: 0.9;
  color: var(--tangerine); letter-spacing: -0.04em;
}
.steps h3 { margin: 0 0 6px; }
.steps p { margin: 0; }
.section.day .steps li, .section.day .steps li:last-child { border-color: #f1d99a; }
@media (max-width: 520px) { .steps li { grid-template-columns: 52px minmax(0, 1fr); } .steps li::before { font-size: 2.5rem; } }

/* Therapy areas */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 72px); margin: 0; padding: 0; list-style: none; }
.areas li { padding-block: 20px; border-top: 2px solid var(--line); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px; align-items: baseline; }
.areas h3 { margin: 0; font-size: 1.25rem; }
.areas p { margin: 0; color: var(--bark-soft); font-size: 1.02rem; }
@media (max-width: 880px) { .areas { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .areas li { grid-template-columns: 1fr; gap: 4px; } }

/* Panels */
.panel { background: var(--white); border-radius: var(--r-panel); padding: clamp(24px, 3.4vw, 44px); }
.panel.outline { border: 2px solid var(--bark); }
.panel.butter { background: var(--butter); }
.panel h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.panel > :last-child { margin-bottom: 0; }

.figure-quote { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -0.02em; max-width: 22ch; margin: 0 0 0.6em; }
.source { font-size: 0.92rem; color: var(--bark-soft); max-width: 60ch; }

/* Contact strip */
.contact-lines { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.contact-lines li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.contact-lines .k { color: var(--bark-soft); font-weight: 600; }
.contact-lines a, .contact-lines .v { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--bark); text-decoration: none; overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--ember); text-decoration: underline; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 2px solid var(--line); }
.faq details:last-child { border-bottom: 2px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; background: var(--sun); color: var(--bark);
  display: grid; place-items: center; font-size: 1.4rem; line-height: 1; font-weight: 700;
}
.faq details[open] summary::after { content: "\2212"; background: var(--tangerine); }
.faq .answer { padding: 0 0 24px; }
.faq .answer > :last-child { margin-bottom: 0; }

/* Forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 1rem; }
.field .hint { display: block; font-weight: 400; color: var(--bark-soft); font-size: 0.93rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--bark); background: var(--white);
  border: 2px solid #cdb98f; border-radius: var(--r-field); padding: 12px 14px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--sun); outline-offset: 0; border-color: var(--bark); }
.gotcha { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.no-phi {
  background: var(--white); border: 2px solid var(--tangerine); border-radius: var(--r-field);
  padding: 12px 16px; font-size: 0.98rem; margin: 0;
}
.form-status { margin: 0; font-weight: 700; min-height: 1.6em; }
.form-status.err { color: var(--ember); }

/* Closing call band */
.close-band { background: var(--tangerine); color: var(--bark); padding-block: clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.close-band::before {
  content: ""; position: absolute; left: 50%; bottom: -340px; width: 680px; height: 680px; border-radius: 50%;
  transform: translateX(-50%); background: var(--sun); box-shadow: 0 0 0 60px rgba(255, 198, 41, 0.45), 0 0 0 130px rgba(255, 198, 41, 0.22);
}
.close-band .wrap { position: relative; z-index: 1; text-align: center; }
.close-band h2 { max-width: 18ch; margin-inline: auto; }
.close-band p { margin-inline: auto; }
.close-band .btn-row { justify-content: center; }
.close-band a:not(.btn) { color: var(--bark); }

/* Footer */
.site-foot { background: var(--sun); color: var(--bark); padding-block: 56px 28px; }
.site-foot a { color: var(--bark); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 36px; }
.foot-grid h2 { font-size: 1.05rem; letter-spacing: 0; margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-brand .brand-name { font-size: 2rem; }
.site-foot .brand svg circle { fill: #ffffff; }
.site-foot .brand svg path[fill="#fff"] { fill: #ff7a1a; }
.foot-brand .brand-sub { color: var(--bark); }
.foot-brand p { margin-top: 16px; max-width: 34ch; font-size: 1rem; }
.foot-legal { margin-top: 44px; padding-top: 20px; border-top: 2px solid rgba(46, 26, 10, 0.25); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 0.92rem; }
.foot-legal p { margin: 0; max-width: none; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 440px) { .foot-grid { grid-template-columns: 1fr; } }

/* Printable order form */
.sheet { max-width: 8.5in; margin: 32px auto; background: var(--white); border: 2px solid var(--line); border-radius: 12px; padding: 0.5in; font-size: 0.86rem; line-height: 1.35; }
.sheet h1 { font-size: 1.5rem; letter-spacing: -0.02em; margin: 0; }
.sheet h2 { font-size: 0.95rem; letter-spacing: 0; background: var(--butter); padding: 4px 8px; margin: 12px 0 6px; border-radius: 4px; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 3px solid var(--sun); padding-bottom: 8px; }
.sheet-head .brand svg { width: 38px; height: 38px; }
.sheet-head .brand-name { font-size: 1.35rem; }
.sheet-head .to { text-align: right; font-size: 0.86rem; }
.sheet-head .to strong { font-size: 1rem; }
.lines { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px 12px; }
.ln { border-bottom: 1px solid var(--bark); min-height: 26px; display: flex; align-items: flex-end; font-size: 0.74rem; color: var(--bark-soft); padding-bottom: 1px; }
.ln.s2 { grid-column: span 2; } .ln.s3 { grid-column: span 3; } .ln.s4 { grid-column: span 4; } .ln.s6 { grid-column: span 6; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 4px 0; padding: 0; list-style: none; }
.checks li::before { content: ""; display: inline-block; width: 11px; height: 11px; border: 1.5px solid var(--bark); margin-right: 6px; vertical-align: -1px; }
.sheet .fine { font-size: 0.74rem; color: var(--bark-soft); margin: 8px 0 0; max-width: none; }
.print-bar { max-width: 8.5in; margin: 28px auto 0; padding-inline: 16px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
@media print {
  @page { size: letter; margin: 0.4in; }
  .site-head, .site-foot, .print-bar, .skip { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .sheet { border: 0; margin: 0; padding: 0; max-width: none; border-radius: 0; }
  .sheet h1 { font-size: 15pt; margin-top: 6px !important; }
  .sheet h2 { -webkit-print-color-adjust: exact; print-color-adjust: exact; margin: 7px 0 3px; font-size: 9.5pt; padding: 2px 8px; }
  .lines { gap: 5px 12px; }
  .ln { min-height: 21px; font-size: 7.5pt; }
  .checks { font-size: 9pt; margin: 3px 0; }
  .sheet .fine { font-size: 7pt; margin-top: 5px; }
  .sheet-head { padding-bottom: 5px; }
}
