@font-face {
  font-family: Montserrat;
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f8f7f4;
  --white: #fff;
  --ink: #2d2f30;
  --muted: #4e5555;
  --line: #deded9;
  --gray: #e4e8e8;
  --mint: #05f3af;
  --lilac: #c9b6f1;
  --purple: #4e27a2;
  --plum: #241b34;
  --teal: #06545a;
  --sky: #85cbd0;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 15px/1.68 Montserrat, Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #754dd0; outline-offset: 5px; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { line-height: 1.04; letter-spacing: -.059em; font-weight: 720; }
h2 { font-size: clamp(2.18rem, 4.4vw, 3.85rem); }
h3 { font-size: 1.24rem; letter-spacing: -.037em; line-height: 1.22; font-weight: 720; }
em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
.wrap { width: min(100% - 88px, 1168px); margin-inline: auto; }
.skip { position: fixed; top: 6px; left: 8px; z-index: 8; background: var(--white); padding: 6px 10px; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

.top { border-bottom: 1px solid var(--line); position: sticky; inset: 0 0 auto; z-index: 3; background: var(--paper); }
.top-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; white-space: nowrap; line-height: 1.12; }
.brand img { object-fit: contain; }
.brand strong { display: block; letter-spacing: -.044em; font-size: 1.14rem; font-weight: 780; }
.brand small { display: block; margin-top: 4px; color: var(--teal); font-size: .68rem; letter-spacing: .012em; font-weight: 620; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 36px); }
.nav > a:not(.button) { font-size: .8rem; font-weight: 700; text-decoration: none; }
.nav > a:not(.button):hover { color: var(--purple); }
.nav-toggle { color: var(--plum); background: transparent; border: 1px solid var(--line); border-radius: 99px; padding: 7px 13px; font-size: .79rem; font-weight: 730; cursor: pointer; }
.nav-toggle span::before { content: "+"; color: var(--purple); margin-left: 4px; }
.nav-toggle[aria-expanded="true"] span::before { content: "−"; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 13px 20px; min-height: 48px; background: var(--purple); color: var(--white); border: 1px solid transparent; border-radius: 99px; text-decoration: none; font-size: .79rem; line-height: 1.35; font-weight: 730; cursor: pointer; transition: background .18s ease, color .18s ease; }

.button:hover { background: #382170; }
.button-small { min-height: 41px; padding: 9px 15px; }
.button-mint { color: var(--plum); background: var(--mint); }
.button-mint:hover { background: #83f9d7; }
.button-outline { background: var(--paper); color: var(--teal); border-color: #83b8b8; }
.button-outline:hover { background: var(--white); color: var(--teal); border-color: var(--teal); }
.text-link { width: fit-content; display: inline-flex; align-items: center; gap: 8px; font-size: .79rem; font-weight: 760; color: var(--purple); text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.arrow { display: inline-block; position: relative; flex: 0 0 13px; width: 13px; height: 13px; }
.arrow::before, .arrow::after { content: ""; position: absolute; }
.arrow::before { width: 7px; height: 7px; top: 3px; right: 2px; border-top: 1.5px solid; border-right: 1.5px solid; }
.arrow::after { top: 6.5px; left: 1px; width: 11px; height: 1.5px; background: currentColor; transform: rotate(-45deg); }
.arrow-down { transform: rotate(135deg); }
.arrow-up { transform: rotate(-45deg); }

.hero { padding: clamp(40px, 6vw, 82px) 0 clamp(52px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.31fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 5.3vw, 83px); }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--teal); font-size: clamp(.59rem, 1vw, .7rem); line-height: 1.45; font-weight: 780; letter-spacing: .093em; text-transform: uppercase; }
.dot { flex: 0 0 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: inset 0 0 0 1px #06545a40; }
.hero h1 { margin-top: 21px; font-size: clamp(2.65rem, 5.9vw, 5.63rem); }
.hero h1 em { display: block; font-size: 1.27em; letter-spacing: -.044em; line-height: .86; color: var(--purple); margin-top: .08em; }
.intro { margin-top: clamp(20px, 2.8vw, 33px); max-width: 460px; color: var(--muted); font-size: clamp(.94rem, 1.33vw, 1.12rem); }
.actions { display: flex; flex-wrap: wrap; gap: 15px 22px; align-items: center; margin-top: 29px; }
.portrait { background: var(--lilac); padding: clamp(9px, 1.5vw, 16px); border-radius: 105px 12px 30px 12px; }
.portrait-window { border-radius: 92px 7px 23px 7px; overflow: hidden; background: #c8beb6; }
.portrait-window img { width: 100%; aspect-ratio: 1/1.04; height: auto; object-fit: cover; object-position: center 46%; }
.portrait figcaption { display: flex; justify-content: space-between; align-items: center; padding: 12px 9px 1px; gap: 9px; line-height: 1.4; color: var(--plum); }
.portrait figcaption strong { display: block; font-size: .9rem; font-weight: 760; letter-spacing: -.022em; }
.portrait figcaption span { display: block; font-size: .68rem; font-weight: 650; }
.portrait figcaption img { object-fit: contain; }

.section { padding: clamp(51px, 7.1vw, 93px) 0; }
.section-heading { margin-bottom: 31px; }
.section-heading h2, .about-copy h2 { margin-top: 10px; }
.section-heading-split { display: grid; grid-template-columns: 1.1fr .65fr; align-items: end; gap: 20px 48px; }
.section-heading-split > p { color: var(--muted); max-width: 410px; }
.focus { background: var(--gray); }
.focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.focus-item { display: flex; align-items: flex-start; flex-direction: column; padding: 23px 6px 4px 0; border-top: 1px solid #bfc9c6; }
.icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 16px 8px 16px 8px; margin-bottom: 15px; }
.icon svg, .map-pin svg { width: 25px; height: 25px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.icon-digestive { background: var(--lilac); color: var(--purple); }
.icon-metabolic { background: #a8e6d6; color: var(--teal); }
.icon-strength { background: #b7dbe0; color: var(--teal); }
.focus-item p { color: var(--muted); font-size: .86rem; margin-top: 10px; max-width: 34ch; }

.services-grid { display: grid; grid-template-columns: 1.22fr 1fr; gap: 14px; align-items: start; }
.service-card { padding: clamp(19px, 3vw, 34px); border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); }
.service-meta { color: var(--teal); font-weight: 750; font-size: .68rem; line-height: 1.45; letter-spacing: .045em; text-transform: uppercase; }
.service-card h3 { margin: 7px 0 8px; font-size: clamp(1.3rem, 2.54vw, 2.16rem); }
.service-card > p:not(.service-meta) { font-size: .87rem; max-width: 45ch; }
.flagship { grid-row: span 2; align-self: stretch; background: var(--plum); color: var(--white); border-color: transparent; }
.flagship h3 { font-size: clamp(1.75rem, 3.25vw, 2.75rem); }
.flagship p, .flagship li { color: #eee8f6; }
.flagship .service-meta { color: var(--mint); }
.included { font-size: .81rem; margin: 17px 0 0; padding: 0 0 0 18px; }
.included li + li { margin-top: 3px; }
.included li::marker { color: var(--mint); }
.flagship .button { margin-top: 20px; }
.service-detail { margin-top: 12px; }
.service-detail summary { color: var(--purple); font-size: .79rem; font-weight: 760; cursor: pointer; }
.flagship .service-detail summary { color: var(--lilac); }
.service-detail p { font-size: .79rem; margin-top: 7px; }

.about { background: #efeaf7; }
.about-grid { display: grid; grid-template-columns: 1fr 1.13fr; align-items: center; gap: clamp(24px, 6.3vw, 96px); }
.about-panel { min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 3vw, 40px); color: var(--white); background: var(--purple); border-radius: 42px 14px 85px 14px; }
.about-panel img { object-fit: contain; object-position: left top; width: 43px; height: 61px; }
.about-panel-quote { width: min(100%, 430px); font-size: clamp(1.55rem, 3.2vw, 3rem); line-height: 1.05; font-weight: 740; letter-spacing: -.045em; }
.about-panel em {display: block; color: var(--lilac); font-size: 1.34em; line-height: .94; margin-top: 7px; }
.about-copy > p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: .89rem; }
.credentials { list-style: none; padding: 0; margin: 18px 0 0; font-size: .75rem; font-weight: 700; }
.credentials li { border-top: 1px solid #d7cce6; padding: 7px 0; }
.credentials li:last-child { border-bottom: 1px solid #d7cce6; }

.location-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; gap: 16px; }
.map-card, .reviews { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 17px; }
.map-content { background: #e3eeee; display: grid; align-items: stretch; min-height: 186px; border-radius: 12px; overflow: hidden; margin-bottom: 10px; }
.map-content iframe { border: 0; width: 100%; height: 100%; min-height: 186px; }
.map-visual { display: grid; justify-items: center; align-content: center; gap: 9px; color: var(--teal); }
.map-pin { display: grid; place-items: center; width: 39px; height: 39px; background: var(--sky); border-radius: 50%; }
.map-visual p { font-size: .9rem; font-weight: 750; }
.reviews { padding: 23px clamp(16px, 2.75vw, 31px); }
.reviews figure { margin: 10px 0 0; padding: 9px 0; border-top: 1px solid var(--line); }
.reviews blockquote { font-size: .91rem; font-weight: 650; }
.reviews figcaption { color: var(--muted); font-size: .7rem; }
.reviews .text-link { margin-top: 5px; }

.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 17px clamp(30px, 6vw, 95px); }
.faq details { border-top: 1px solid #cbd0cb; }
.faq details:last-child { border-bottom: 1px solid #cbd0cb; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 1px; font-size: .9rem; font-weight: 740; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--purple); font-size: 1.32rem; font-weight: 580; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 19px 14px 1px; font-size: .84rem; }

.closing { color: var(--white); background: var(--plum); padding: clamp(42px, 6vw, 75px) 0; }
.closing-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.closing h2 em { color: var(--lilac); font-size: 1.28em; line-height: .8; }
.closing p { color: #eee8f6; font-size: .88rem; margin-top: 15px; }
.footer { padding: 23px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 22px; flex-wrap: wrap; }
.footer-inner p { color: var(--muted); font-size: .68rem; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
}

@media (max-width: 820px) {
  .top-inner { min-height: 68px; flex-wrap: wrap; padding: 10px 0; }
  .nav { width: 100%; flex-wrap: wrap; padding: 8px 0; }
  .section-heading-split { grid-template-columns: 1fr; }
  .focus-grid { gap: 15px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 77px; }
  .wrap { width: calc(100% - 44px); }
  .hero-grid, .focus-grid, .services-grid, .about-grid, .location-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 34px; }
  .hero h1 { font-size: clamp(2.68rem, 9vw, 4.5rem); }
  .portrait { width: min(100%, 485px); }
  .focus-item { padding-top: 18px; }
  .focus-item p { max-width: 55ch; }
  .flagship { grid-row: auto; }
  .about-panel { min-height: 210px; }
  .about-panel img { width: 35px; height: 49px; }
  .faq .section-heading { margin-bottom: 8px; }
  .closing-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 370px) {
  .wrap { width: calc(100% - 32px); }
  .top-inner { gap: 8px; }
  .hero h1 { font-size: clamp(2.25rem, 11.2vw, 2.65rem); }
  h2 { font-size: 1.94rem; }
  .actions .button { padding-inline: 13px; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* About presentation */
button.about-panel { width: 100%; border: 0; text-align: left; cursor: pointer; gap: 24px; transition: background .18s ease; }
button.about-panel:hover { background: #382170; }
.about-panel-link { display: flex; align-items: center; justify-content: space-between; width: 100%; border-top: 1px solid #c9b6f160; padding-top: 15px; color: var(--lilac); font-size: .8rem; font-weight: 700; }
.about-panel-link > span { font-size: 1.4rem; }
body.about-is-open { overflow: hidden; }
.about-dialog { padding: 0; width: min(860px, calc(100% - 32px)); max-height: 90vh; max-height: 90dvh; border: 0; border-radius: 24px; background: var(--paper); color: var(--ink); overscroll-behavior: contain; }
.about-dialog::backdrop { background: #241b34b8; backdrop-filter: blur(4px); }
.about-dialog-bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 13px 26px; }
.about-dialog-bar > span { font-size: .6rem; letter-spacing: .1em; font-weight: 750; color: var(--teal); }
.about-close { border: 1px solid var(--line); background: white; border-radius: 99px; padding: 8px 15px; color: var(--purple); font-size: .8rem; font-weight: 700; cursor: pointer; }
.about-dialog-content { padding: clamp(22px, 4vw, 44px); }
.about-dialog-intro { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 28px; }
.about-dialog-intro img { width: 150px; height: 180px; object-fit: cover; border-radius: 45px 8px 35px 8px; }
.about-dialog h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 10px 0 15px; }
.about-dialog h2 em { color: var(--purple); }
.about-dialog-intro div > p:last-child { font-size: .75rem; }
.about-story { margin-top: 30px; }
.about-story h3 { color: var(--purple); margin-bottom: 12px; }
.about-story p { font-size: .9rem; color: var(--muted); }
.about-story p + p { margin-top: 12px; }
.about-training { padding: 0; list-style: none; margin: 0; }
.about-training li { border-top: 1px solid var(--line); padding: 13px 0; font-size: .87rem; }
.about-training span { display: block; color: var(--muted); font-size: .8rem; margin-top: 3px; }
.about-current { padding: 24px; background: #efeaf7; border-radius: 16px; margin-bottom: 26px; }
.about-current h3 { margin-top: 8px; }
@media (max-width: 540px) {
 .about-dialog { width: calc(100% - 20px); border-radius: 18px; }
 .about-dialog-bar { padding: 12px 18px; }
 .about-dialog-intro { grid-template-columns: 1fr; gap: 20px; }
 .about-dialog-intro img { width: 100px; height: 115px; }
}

.portrait-open { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; text-align: left; }
.portrait-cta { position: absolute; bottom: 18px; left: 18px; right: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 99px; background: var(--purple); color: white; font-size: .8rem; font-weight: 750; box-shadow: 0 3px 16px #241b3430; transition: background .18s ease; }
.portrait-open:hover .portrait-cta { background: #382170; }
.portrait-cta > span { font-size: 1.2rem; }

.portrait-socials { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 13px 9px 3px; padding-top: 12px; border-top: 1px solid #4e27a230; }
.portrait-socials a { color: var(--plum); font-size: .7rem; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 3px; padding-block: 5px; }
.portrait-socials a:hover { color: var(--purple); }
.genetics-detail { margin-top: 17px; }
.genetics-detail summary { list-style: none; width: fit-content; }
.genetics-detail summary::-webkit-details-marker { display: none; }
.genetics-detail summary::after { content: '+'; font-size: 1.2rem; }
.genetics-detail[open] summary::after { content: '−'; }
.genetics-explanation h4 { font-size: .9rem; margin: 21px 0 7px; color: var(--purple); }
.genetics-explanation ol { padding-left: 21px; font-size: .8rem; color: var(--muted); }
.genetics-explanation li + li { margin-top: 10px; }
.genetics-explanation .genetics-note { padding: 14px; background: #efeaf7; border-radius: 12px; font-size: .74rem; }
.genetics-explanation .text-link, .genetics-source { margin-top: 15px; }

.about-socials { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.about-socials .actions { margin-top: 14px; gap: 10px; }
.genetics-page-link { margin-top: 20px; }
.gene-hero { background: #efeaf7; padding: 65px 0; }
.gene-hero h1 { font-size: clamp(2.6rem, 5.7vw, 5rem); margin: 24px 0; max-width: 1000px; }
.gene-hero em, .gene-bottom em { color: var(--purple); }
.gene-lead { max-width: 770px; margin-top: 22px; color: var(--muted); font-size: 1rem; }
.gene-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.gene-nav a { border: 1px solid #b9a7d7; border-radius: 99px; padding: 10px 16px; font-size: .78rem; color: var(--purple); text-decoration: none; font-weight: 700; }
.gene-nav a:hover { background: white; }
.gene-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.gene-area { border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: white; }
.gene-number { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--lilac); color: var(--purple); font-weight: 750; font-size: .85rem; margin-bottom: 16px; }
.gene-area h3 { font-size: 1.45rem; margin-bottom: 15px; }
.gene-topics { font-size: .91rem; }
.gene-context { margin-top: 23px; padding-top: 16px; border-top: 1px solid var(--line); }
.gene-context strong { font-size: .7rem; color: var(--teal); }
.gene-context p { margin-top: 6px; font-size: .79rem; color: var(--muted); }
.gene-health { background: var(--plum); color: white; border-radius: 24px; padding: clamp(24px,4vw,44px); margin-top: 28px; }
.gene-health .eyebrow { color: var(--mint); }
.gene-health h2 { font-size: clamp(2rem,4vw,3rem); margin: 15px 0 20px; }
.gene-health > p:not(.eyebrow) { max-width: 850px; font-size: .87rem; color: #eee8f6; }
.gene-health-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; margin-top: 30px; }
.gene-health-grid h3 { color: var(--lilac); font-size: 1rem; }
.gene-health-grid p { font-size: .8rem; margin-top: 7px; }
.gene-process { background: var(--gray); }
.gene-process h2 { margin-top: 15px; }
.gene-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; margin-top: 32px; }
.gene-steps p { font-size: .84rem; margin-top: 12px; color: var(--muted); }
.gene-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; }
.gene-bottom h2 { margin-top: 15px; }
.gene-bottom p + p { margin-top: 15px; }
.gene-bottom .button { margin-top: 24px; }
.gene-source { font-size: .7rem; color: var(--muted); margin-bottom: 12px; }
@media(max-width:700px) { .gene-grid,.gene-bottom { grid-template-columns:1fr; } .gene-health-grid,.gene-steps { grid-template-columns:repeat(2,minmax(0,1fr)); } .gene-hero { padding:42px 0; } .gene-area { padding:24px; } }
@media(max-width:420px) { .gene-health-grid,.gene-steps { grid-template-columns:1fr; } .gene-page .top-inner { align-items:flex-start; } .about-socials .button { width:100%; font-size:.7rem; } }

.plan-preview { margin-top: 20px; }
.plan-preview > summary { list-style: none; width: fit-content; background: transparent; border: 1px solid var(--lilac); color: var(--lilac); }
.plan-preview > summary::-webkit-details-marker { display: none; }
.plan-preview > summary:hover { background: #3b2b51; }
.plan-preview-sign::after { content: '+'; font-size: 1.25rem; line-height: 1; }
.plan-preview[open] .plan-preview-sign::after { content: '−'; }
.plan-preview-content { display: grid; gap: 20px; margin-top: 22px; }
.plan-preview figure { overflow: hidden; border: 1px solid #c9b6f135; border-radius: 16px; background: #30263e; }
.plan-preview img { width: 100%; height: auto; display: block; }
.plan-preview figcaption { padding: 17px 18px 20px; }
.plan-preview h4 { margin: 0 0 8px; font-size: 1rem; line-height: 1.3; color: white; }
.plan-preview figcaption p { font-size: .8rem; }
.flagship .plan-preview-note { font-size: .68rem; color: #d8cbe8; line-height: 1.6; }

.about-quote-only { padding-block: 42px; }
.about-quote-only .about-panel { min-height: 0; flex-direction: row; align-items: center; justify-content: center; gap: clamp(22px,5vw,70px); padding: clamp(28px,5vw,60px); }
.about-quote-only .about-panel-quote { width: auto; max-width: 780px; }
.about-quote-only .about-panel img { flex-shrink: 0; }
@media (max-width: 540px) { .about-quote-only .about-panel { flex-direction: column; align-items: flex-start; } }
