/* Kaya Lifestyle Medicine — v5 design (Claude Design, Sept 2026) */

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/instrument-serif-400.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/instrument-serif-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/public-sans.woff2") format("woff2");
}

:root {
  --cream: #f6f1e9;
  --sand: #ece4d7;
  --paper: #fffdf9;
  --blush: #f3e4da;
  --blush-line: #e2cbbb;
  --peach: #e8c9b6;
  --ink: #1c1917;
  --ink-2: #2a2521;
  --body: #3b3530;
  --muted: #57504a;
  --faint: #6b625a;
  --line: #d9cfbf;
  --line-soft: #e4dacb;
  --line-sand: #cfc3af;
  --outline: #9e9284;
  --rust: #8f4424;
  --rust-2: #a9532f;
  --apricot: #e9a07e;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Public Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 104px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}
em {
  font-style: italic;
  color: var(--rust-2);
}
a {
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--ink);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark a:focus-visible,
.on-dark summary:focus-visible {
  outline-color: var(--cream);
}
::selection {
  background: var(--peach);
}
a[href^="tel:"] {
  white-space: nowrap;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section);
}
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(40px, 6vw, 72px);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
}
.on-dark .eyebrow {
  color: var(--apricot);
}
.h2 {
  font-size: clamp(40px, 4.6vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  max-width: 52ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition:
    background 200ms ease,
    border-color 200ms ease;
}
.btn-dark {
  background: var(--ink);
  color: var(--cream);
}
.btn-dark:hover {
  background: var(--rust);
  color: var(--cream);
}
.btn-line {
  font-weight: 500;
  border: 1px solid var(--outline);
  color: var(--ink);
}
.btn-line:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-light {
  background: var(--cream);
  color: var(--ink);
}
.btn-light:hover {
  background: #fff;
  color: var(--ink);
}
.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 16px;
  color: var(--cream);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 241, 233, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}
.brand img {
  height: clamp(48px, 13vw, 60px);
  width: auto;
  display: block;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-phone {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.header-actions .btn {
  min-height: 44px;
  padding: 10px 20px;
}

/* Hero */
.hero {
  padding-block: clamp(48px, 8vw, 88px) 72px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(46px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero-text {
  font-size: 18px;
  line-height: 1.65;
  color: var(--body);
  max-width: 50ch;
}
.hero .stack {
  gap: 28px;
}
.portrait {
  position: relative;
  justify-self: center;
  width: min(440px, 100%);
}
.portrait::before {
  content: "";
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  left: -6%;
  top: -5%;
  border-radius: 9999px;
  background: var(--peach);
}
.portrait-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 9999px 9999px 12px 12px;
  overflow: hidden;
  background: var(--sand);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portrait figcaption {
  position: absolute;
  right: 12px;
  bottom: 24px;
  max-width: calc(100% - 24px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 16px 32px -16px rgba(28, 25, 23, 0.3);
}
.portrait figcaption strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.1;
}
.portrait figcaption span {
  color: var(--muted);
}

/* Board certifications */
.boards {
  background: var(--ink);
  color: var(--cream);
}
.boards .wrap {
  padding-block: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.boards ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px 32px;
}
.boards li {
  border-top: 1px solid #a89e93;
  padding-top: 12px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.1;
}

/* Our approach */
.approach {
  background: var(--sand);
}
.approach .split {
  align-items: center;
  gap: clamp(48px, 6vw, 72px);
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line-sand);
}
.steps li:last-child {
  border-bottom: 1px solid var(--line-sand);
}
.steps .n,
.steps strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.1;
}
.steps .n {
  color: var(--rust);
}
.steps strong {
  display: block;
}
.steps span:not(.n) {
  color: var(--muted);
}
.plan-card-wrap {
  justify-self: center;
  width: 100%;
  max-width: 440px;
  padding: 12px;
}
.plan-card {
  background: var(--paper);
  border-radius: 6px;
  padding: clamp(24px, 5vw, 36px) clamp(20px, 5vw, 32px);
  box-shadow:
    0 2px 0 #ddd2c1,
    0 30px 60px -24px rgba(28, 25, 23, 0.3);
  transform: rotate(-1.5deg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.plan-card .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 14px;
}
.plan-card .title {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  display: block;
}
.plan-card .small {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.plan-card .tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--faint);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 3px;
  white-space: nowrap;
}
.plan-card .group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.plan-card .label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
}
.plan-card .bar {
  height: 7px;
  border-radius: 4px;
  background: #e9e0d2;
}
.plan-card .bar.dark {
  background: var(--ink);
}
.plan-card .row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.plan-card .row.spread {
  justify-content: space-between;
  gap: 16px;
}
.plan-card .box {
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  flex-shrink: 0;
}
.plan-card .foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.plan-card .sig {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
}
.plan-card .foot .small {
  text-transform: none;
  letter-spacing: 0;
  text-align: right;
  line-height: 1.4;
}

/* Conditions */
.conditions .split {
  align-items: start;
}
.condition-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 16px;
}
.condition-grid li {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}
.condition-grid li:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -18px rgba(28, 25, 23, 0.35);
  border-color: var(--line-sand);
}
.condition-grid .num {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--rust);
}
.condition-grid .num::after {
  content: "";
  width: 40px;
  height: 4px;
  border-radius: 9999px;
  background: var(--peach);
}
.condition-grid h3 {
  font-size: 30px;
  line-height: 1.05;
  margin-top: 4px;
}
.condition-grid p {
  line-height: 1.55;
  color: var(--body);
}
.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--ink);
  color: var(--cream);
  border-radius: 14px;
  padding: 22px 24px;
  text-decoration: none;
  transition: background 200ms ease;
}
.cta-band:hover {
  background: var(--ink-2);
  color: var(--cream);
}
.cta-band .big {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
}
.cta-band .sub {
  color: #e6ddd1;
}
.cta-band .go {
  font-weight: 600;
  white-space: nowrap;
}

/* After your evaluation */
.after {
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
}
.after .wrap {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.after-intro {
  max-width: 68ch;
  gap: 22px;
}
.options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 24px;
}
.option {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.option.featured {
  background: var(--blush);
  border-color: var(--blush-line);
}
.option h3 {
  font-size: clamp(30px, 3vw, 36px);
  line-height: 1.05;
}
.option > p {
  line-height: 1.6;
  color: var(--body);
}
.dots {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.featured .dots,
.featured .price {
  border-color: var(--blush-line);
}
.dots li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  line-height: 1.55;
  color: var(--body);
}
.dots li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--rust-2);
  flex-shrink: 0;
  transform: translateY(-2px);
}
.dots strong {
  color: var(--ink);
  font-weight: 600;
}
.prp-note {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}
.price {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.price strong {
  font-size: 17px;
  font-weight: 600;
}
.price p {
  line-height: 1.55;
  color: var(--body);
}
.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  line-height: 1.25;
  color: var(--rust);
  border-top: 1px solid var(--line-soft);
  padding-top: 28px;
}

/* Care team */
.team {
  background: var(--sand);
}
.team .wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 24px;
}
.person {
  background: var(--paper);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 28px);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.person img {
  width: 128px;
  height: 160px;
  object-fit: cover;
  border-radius: 9999px 9999px 8px 8px;
  display: block;
  flex-shrink: 0;
}
.person > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 220px;
  min-width: 0;
}
.person h3 {
  font-size: 30px;
  line-height: 1.05;
}
.person .role {
  color: var(--muted);
  margin-top: 4px;
}
.person p {
  line-height: 1.6;
  color: var(--body);
}
.person .note {
  color: var(--ink);
  font-weight: 500;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}

/* The evaluation */
.evaluation {
  background: var(--ink);
  color: var(--cream);
}
.evaluation .wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.evaluation .center {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.evaluation h2 {
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.evaluation h2 em,
.closing h2 em {
  color: var(--apricot);
}
.ticket {
  background: var(--cream);
  color: var(--ink);
  border-radius: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  overflow: hidden;
}
.ticket-main {
  padding: clamp(24px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  border-right: 2px dashed var(--line);
  min-width: 0;
}
.ticket-price {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ticket-price .amount {
  font-family: var(--serif);
  font-size: clamp(80px, 9vw, 124px);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.ticket-price .len {
  font-weight: 500;
  color: var(--muted);
}
.ticket-main p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
}
.ticket dl {
  padding: clamp(24px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ticket dl > div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ticket dl > div:first-child {
  padding-top: 0;
  border-top: 0;
}
.ticket dl > div:last-child {
  padding-bottom: 0;
}
.ticket dt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
}
.ticket dd {
  line-height: 1.6;
}

/* Visiting the clinic */
.visit .split {
  align-items: center;
}
.visit address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--body);
}
.visit .street {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  color: var(--ink);
}
.visit .contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 17px;
}
.visit .contact a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* FAQ */
.faq {
  border-top: 1px solid var(--line);
}
.faq .split {
  align-items: start;
}
.faq-list {
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.2;
  transition: color 200ms ease;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:hover {
  color: var(--rust);
}
.faq-list summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 20px;
  flex-shrink: 0;
}
.faq-list details[open] summary::after {
  content: "–";
}
.faq-list details p {
  padding: 0 0 22px;
  line-height: 1.7;
  max-width: 60ch;
  color: var(--body);
}

/* Closing */
.closing {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background: var(--ink);
}
.closing > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(28, 25, 23, 0.8);
}
.closing .wrap {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding-block: clamp(80px, 11vw, 120px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  text-align: center;
}
.closing h2 {
  font-size: clamp(42px, 5.6vw, 80px);
  line-height: 1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.closing h2 em {
  color: #f0b598;
}
.closing p {
  font-size: 18px;
  max-width: 44ch;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #e6ddd1;
}
.site-footer .wrap {
  padding-block: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 32px;
  line-height: 1.7;
}
.site-footer .col {
  display: flex;
  flex-direction: column;
}
.site-footer .col .eyebrow {
  color: var(--apricot);
  margin-bottom: 8px;
}
.site-footer img {
  height: 60px;
  width: auto;
  align-self: flex-start;
}
.site-footer a {
  color: var(--cream);
  overflow-wrap: anywhere;
}
.site-footer .end {
  justify-content: flex-end;
}

/* Scroll fade (progressive enhancement; see scripts/main.js) */
.fade-pending {
  opacity: 0;
  translate: 0 16px;
}
.fade-in {
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    translate 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 700px) {
  .header-phone {
    display: none;
  }
  .header-actions .btn {
    padding: 10px 16px;
  }
  .ticket-main {
    border-right: 0;
    border-bottom: 2px dashed var(--line);
  }
}
@media (max-width: 380px) {
  .header-actions .btn {
    font-size: 15px;
    padding: 10px 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .fade-pending {
    opacity: 1;
    translate: none;
  }
}

/* Plan-card placeholder line widths */
.w12 {
  width: 12%;
}
.w14 {
  width: 14%;
}
.w42 {
  width: 42%;
}
.w54 {
  width: 54%;
}
.w56 {
  width: 56%;
}
.w62 {
  width: 62%;
}
.w68 {
  width: 68%;
}
.w76 {
  width: 76%;
}
.w84 {
  width: 84%;
}
.w92 {
  width: 92%;
}
.prp-note {
  display: block;
}
