/* ============ Ori + Aisha Wellness — design tokens ============ */
:root {
  /* palette: soft neutral + saffron */
  --cream:      #F8F3EA;
  --cream-deep: #F1E9DA;
  --sand:       #E6DAC6;
  --sand-line:  #D8C9B0;
  --ink:        #1E1B17;
  --ink-soft:   #4A443C;
  --ink-mute:   #6E665B;
  --saffron:    #C97A16;
  --saffron-dp: #A5620F;
  --clay:       #9E4E33;
  --clay-dp:    #7E3D27;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Satoshi", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-xs:   clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm:   clamp(0.875rem, 0.84rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg:   clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem);
  --text-xl:   clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  --text-2xl:  clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);
  --text-3xl:  clamp(2.5rem, 1.3rem + 4.4vw, 4.75rem);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --gutter: clamp(20px, 5vw, 88px);
  --maxw: 1240px;
  --section-y: clamp(72px, 10vw, 152px);
}

/* ============ base ============ */
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-base);
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
/* warm paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
}
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.skip-link {
  position: absolute; left: var(--s4); top: var(--s4); z-index: 200;
  background: var(--ink); color: var(--cream); padding: var(--s3) var(--s5);
  border-radius: 999px; font-size: var(--text-sm); transform: translateY(-200%);
  transition: transform .2s ease; text-decoration: none;
}
.skip-link:focus { transform: none; }

/* ============ type ============ */
.h2 {
  font-family: var(--serif);
  font-size: var(--text-2xl);
  font-weight: 400;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  letter-spacing: -0.025em;
  line-height: 1.04;
  max-width: 22ch;
}
.h3 {
  font-family: var(--serif);
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.eyebrow {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 500;
  color: var(--clay);
  margin-bottom: var(--s5);
}
.eyebrow--light { color: #E7C08A; }
.lede { font-size: var(--text-lg); line-height: 1.55; color: var(--ink-soft); max-width: 46ch; }
p { color: var(--ink-soft); }
.section__head { margin-bottom: clamp(40px, 6vw, 80px); }
.section__head .h2 { max-width: 20ch; }

/* ============ buttons / links ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s2);
  background: var(--ink); color: var(--cream);
  font-size: var(--text-sm); font-weight: 500; letter-spacing: .01em;
  padding: 15px 28px; border: 1px solid var(--ink); border-radius: 999px;
  text-decoration: none;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.btn:hover { background: var(--clay); border-color: var(--clay); transform: translateY(-1px); }
.btn--sm { padding: 10px 20px; }
.link-arrow {
  font-size: var(--text-sm); font-weight: 500; text-decoration: none;
  color: var(--ink); border-bottom: 1px solid var(--sand-line);
  padding-bottom: 3px; transition: border-color .25s ease, color .25s ease;
}
.link-arrow:hover { color: var(--clay); border-color: var(--clay); }
.link-arrow span { display: inline-block; transition: transform .25s ease; }
.link-arrow:hover span { transform: translateX(4px); }

/* ============ nav ============ */
.nav {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-stuck { border-color: var(--sand-line); }
.nav__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: var(--s4) var(--gutter);
  display: flex; align-items: center; gap: var(--s6);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink); flex: none;
}
.brand__mark { width: 26px; height: 26px; color: var(--ink); flex: none; }
.brand__text {
  font-family: var(--serif); font-size: 1.0625rem; font-weight: 500;
  letter-spacing: -0.02em; white-space: nowrap;
}
.brand__plus { color: var(--saffron); }
.nav__links { margin-left: auto; display: flex; gap: clamp(16px, 2vw, 32px); }
.nav__links a {
  font-size: var(--text-sm); text-decoration: none; color: var(--ink-mute);
  padding-block: 4px; border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav__links a:hover { color: var(--ink); border-color: var(--saffron); }
.nav .btn--sm { flex: none; }
@media (max-width: 900px) { .nav__links { display: none; } .nav .btn--sm { margin-left: auto; } }

/* ============ hero ============ */
.hero { padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(56px, 8vw, 120px); }
.hero__grid {
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; gap: clamp(40px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: end;
}
.hero__title {
  font-family: var(--serif);
  font-size: var(--text-3xl);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: var(--s6);
  max-width: 18ch;
}
.hero__title em { font-style: italic; color: var(--saffron-dp); font-weight: 400; }
.hero__actions { margin-top: var(--s7); display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); flex-wrap: wrap; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; height: clamp(320px, 46vw, 560px); object-fit: cover;
  border-radius: 2px 2px 120px 2px;
  filter: saturate(1.02);
}
.hero__media figcaption {
  font-size: var(--text-xs); color: var(--ink-mute); margin-top: var(--s3);
  letter-spacing: .08em; text-transform: uppercase;
}
.hero__media::before {
  content: ""; position: absolute; left: -14px; top: -14px; width: 90px; height: 90px;
  border-left: 1px solid var(--saffron); border-top: 1px solid var(--saffron);
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { max-width: none; }
  .hero__media::before { display: none; }
}

/* ============ roots ============ */
.roots { background: var(--cream-deep); border-block: 1px solid var(--sand-line); }
.roots__grid {
  display: grid; gap: clamp(32px, 4vw, 64px);
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: start;
}
.roots__head { grid-column: 1; }
.roots__pair { grid-column: 1; display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.roots__media { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; }
.roots__media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: 140px 2px 2px 2px; }
.pair__name {
  font-family: var(--serif); font-size: var(--text-xl); font-weight: 400;
  font-style: italic; letter-spacing: -0.02em; color: var(--ink);
  padding-bottom: var(--s4); margin-bottom: var(--s4);
  border-bottom: 1px solid var(--sand-line);
}
.pair p { font-size: var(--text-base); }
.pair__plus {
  font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--saffron); line-height: 1; padding-top: 4px;
}
.roots__note {
  grid-column: 1; max-width: 60ch; font-size: var(--text-base);
  padding-top: var(--s5); border-top: 1px solid var(--sand-line); color: var(--ink-soft);
}
@media (max-width: 900px) {
  .roots__grid { grid-template-columns: 1fr; }
  .roots__media { grid-column: 1; grid-row: auto; order: 3; }
  .roots__media img { min-height: 260px; max-height: 340px; }
  .roots__note { order: 4; }
  .roots__pair { grid-template-columns: 1fr; }
  .pair__plus { display: none; }
  .pair + .pair { margin-top: var(--s2); }
}

/* ============ services ============ */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--sand-line); border: 1px solid var(--sand-line); }
.card {
  background: var(--cream); padding: clamp(28px, 3.5vw, 52px);
  display: flex; flex-direction: column; gap: var(--s3);
  transition: background .3s ease;
}
.card:hover { background: #FCF8F1; }
.card__num {
  font-family: var(--serif); font-style: italic; font-size: var(--text-sm);
  color: var(--saffron); letter-spacing: .04em; margin-bottom: var(--s5);
}
.card .h3 { max-width: 20ch; }
.card__sub {
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-mute); margin-top: -4px;
}
.card p:last-child { font-size: var(--text-sm); line-height: 1.65; margin-top: auto; padding-top: var(--s2); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* ============ cultural band ============ */
.band {
  background: var(--ink); color: var(--cream);
  padding-block: clamp(64px, 8vw, 120px);
  position: relative; overflow: hidden;
}
.band::after {
  content: "+"; position: absolute; right: -2%; bottom: -34%;
  font-family: var(--serif); font-size: clamp(18rem, 34vw, 30rem);
  color: rgba(201, 122, 22, .13); line-height: .8; pointer-events: none;
}
.band__grid { position: relative; z-index: 1; max-width: 940px; }
.band__quote {
  font-family: var(--serif); font-size: var(--text-xl); font-weight: 300;
  line-height: 1.25; letter-spacing: -0.02em; color: #FBF6EC; max-width: 34ch;
  margin-bottom: var(--s6);
}
.band__body { color: #CBBFAE; max-width: 62ch; font-size: var(--text-base); }

/* ============ approach ============ */
.approach__grid { display: grid; gap: clamp(40px, 5vw, 80px); grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: start; }
.approach__head { position: sticky; top: 104px; }
.approach__head .h2 { max-width: 16ch; }
.approach__media { margin-top: var(--s7); }
.approach__media img { width: 100%; height: clamp(220px, 24vw, 300px); object-fit: cover; border-radius: 2px 2px 2px 100px; }
.values { display: grid; gap: 0; }
.value { padding-block: clamp(24px, 3vw, 36px); border-top: 1px solid var(--sand-line); }
.value:first-child { border-top: none; padding-top: 0; }
.value:last-child { padding-bottom: 0; }
.value .h3 { margin-bottom: var(--s3); }
.value .h3::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--saffron); margin-right: 12px; vertical-align: middle;
}
.value p { font-size: var(--text-sm); line-height: 1.7; max-width: 52ch; }
@media (max-width: 900px) {
  .approach__grid { grid-template-columns: 1fr; }
  .approach__head { position: static; }
}

/* ============ founders ============ */
.founders { background: var(--cream-deep); border-block: 1px solid var(--sand-line); }
.founders__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.founder { padding-top: var(--s5); border-top: 2px solid var(--ink); max-width: 44ch; }
.founder__name { font-family: var(--serif); font-size: var(--text-lg); color: var(--ink); letter-spacing: -0.015em; }
.founder__role {
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .14em;
  color: var(--clay); margin: var(--s2) 0 var(--s4);
}
.founder p:last-child { font-size: var(--text-sm); line-height: 1.7; }
@media (max-width: 760px) { .founders__grid { grid-template-columns: 1fr; } }

/* ============ practical ============ */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 clamp(32px, 5vw, 72px); }
.fact { padding-block: var(--s6); border-top: 1px solid var(--sand-line); }
.fact dt {
  font-family: var(--serif); font-size: var(--text-base); font-weight: 500;
  color: var(--ink); margin-bottom: var(--s3);
}
.fact dd { margin: 0; font-size: var(--text-sm); line-height: 1.7; color: var(--ink-soft); }

/* ============ contact ============ */
.contact { background: var(--sand); border-top: 1px solid var(--sand-line); }
.contact__grid { display: grid; gap: clamp(40px, 5vw, 88px); grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
.contact .h2 { margin-bottom: var(--s5); }
.contact__meta { margin-top: var(--s7); display: grid; gap: var(--s4); }
.contact__meta li { font-size: var(--text-sm); color: var(--ink-soft); display: grid; grid-template-columns: 72px 1fr; gap: var(--s4); align-items: baseline; }
.contact__meta span { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--ink-mute); }
.contact__meta a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--sand-line); }
.contact__meta a:hover { border-color: var(--clay); color: var(--clay); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.field { display: grid; gap: var(--s2); }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); font-weight: 500; }
.req { color: var(--clay); }
.opt { text-transform: none; letter-spacing: .02em; color: var(--ink-mute); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; background: var(--cream); border: 1px solid var(--sand-line);
  border-radius: 2px; padding: 13px 14px; font-size: var(--text-sm);
  color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; font-family: var(--sans); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(158, 78, 51, .16);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--clay); outline-offset: 1px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #A3311F; background: #FDF2EE; }
.field .err { font-size: var(--text-xs); color: #8E2A19; text-transform: none; letter-spacing: 0; font-weight: 400; }
.check { grid-template-columns: auto 1fr; align-items: start; gap: var(--s3); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--clay); }
.check label { text-transform: none; letter-spacing: .01em; font-size: var(--text-sm); font-weight: 400; color: var(--ink-soft); line-height: 1.5; }
.check.has-error label { color: #8E2A19; }
.form__foot { display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; margin-top: var(--s2); }
.form__privacy { font-size: var(--text-xs); color: var(--ink-mute); max-width: 42ch; line-height: 1.5; }
.form__status { grid-column: 1 / -1; font-size: var(--text-sm); min-height: 0; }
.form__status.is-error { color: #8E2A19; }
.form button[disabled] { opacity: .6; cursor: progress; }
.form__success {
  grid-column: 2; align-self: start; background: var(--cream);
  border: 1px solid var(--sand-line); border-left: 3px solid var(--saffron);
  padding: clamp(28px, 4vw, 48px); display: grid; gap: var(--s4); justify-items: start;
}
.success__mark { width: 34px; height: 34px; color: var(--saffron-dp); }
.form__success p { font-size: var(--text-sm); }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .form__success { grid-column: 1; }
}
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ============ footer ============ */
.footer { background: var(--ink); color: #CBBFAE; padding-top: clamp(56px, 7vw, 96px); }
.footer__grid { display: grid; gap: clamp(32px, 4vw, 64px); grid-template-columns: 1.3fr 0.6fr 1.1fr; align-items: start; }
.brand--footer { color: var(--cream); }
.brand--footer .brand__mark { color: var(--cream); }
.footer__tag { margin-top: var(--s5); font-size: var(--text-sm); color: #B4A897; max-width: 38ch; }
.footer__email { margin-top: var(--s4); font-size: var(--text-sm); }
.footer__email a { color: #E7C08A; text-decoration: none; border-bottom: 1px solid rgba(231,192,138,.4); }
.footer__nav { display: grid; gap: var(--s3); }
.footer__nav a { font-size: var(--text-sm); color: #CBBFAE; text-decoration: none; }
.footer__nav a:hover { color: var(--cream); }
.footer__crisis { border-left: 1px solid rgba(203,191,174,.25); padding-left: clamp(20px, 3vw, 40px); }
.footer__crisis-h { font-family: var(--serif); font-size: var(--text-base); color: var(--cream); margin-bottom: var(--s3); }
.footer__crisis p { font-size: var(--text-sm); color: #B4A897; line-height: 1.65; }
.footer__crisis strong { color: #E7C08A; }
.footer__disclaimer { margin-top: var(--s4); font-size: var(--text-xs) !important; color: #948A7B !important; }
.footer__base {
  margin-top: clamp(48px, 6vw, 80px); padding-block: var(--s5);
  border-top: 1px solid rgba(203,191,174,.2);
  display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap;
}
.footer__base p { font-size: var(--text-xs); color: #8E8677; }
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__crisis { border-left: none; padding-left: 0; border-top: 1px solid rgba(203,191,174,.25); padding-top: var(--s5); }
}

/* ============ reveal motion ============ */
.js .reveal, .js .section__head, .js .card, .js .pair, .js .value, .js .fact, .js .founder,
.js .roots__media, .js .approach__media, .js .band__grid > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}
.is-in, .js .is-in { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .card, .js .pair, .js .value, .js .fact, .js .founder,
  .js .section__head, .js .roots__media, .js .approach__media, .js .band__grid > * { opacity: 1; transform: none; }
}
