/* Self-hosted fonts (no third-party requests) */
@font-face { font-family: "Dancing Script"; font-weight: 700; font-display: swap; src: url("fonts/DancingScript-Bold.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 600 700; font-display: swap; src: url("fonts/PlayfairDisplay-Bold.woff2") format("woff2"); }

/* Satori Yoga Coach — legal & landing pages (Mandala design system) */
:root {
  --teal: #0F6068;
  --teal-deep: #123F46;
  --orange: #F27A16;
  --orange-deep: #C77413;
  --ivory: #FBF8F1;
  --white: #FFFFFF;
  --border: #F0E7D6;
  --ink: #16393E;
  --muted: #64797C;
  --faint: #8A9797;
  --wash: #E9F2F2;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Nunito Sans", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
/* The text caret belongs only in fields you type into. */
body { caret-color: transparent; }
input, textarea, select, [contenteditable] { caret-color: auto; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--orange); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 22px; }

header.site {
  padding: 22px 0 8px;
}
/* The logo drops until its drawing rests on the bottom of "YOGA COACH".
   logo.png carries ~17% transparent padding under the drawing, so the box
   has to hang lower than the text; nav.site keeps the same clearance. */
/* Pulled left by the logo's own transparent margin (52/220 of the file), so
   the drawing starts on the same line as "Home" below it. */
.brand { display: flex; align-items: flex-end; gap: 12px; margin-left: -28px; }
.brand img { width: 120px; height: 120px; object-fit: contain; margin-bottom: -18px; }
.brand .script { font-family: "Dancing Script", "Brush Script MT", cursive; font-weight: 700; font-size: 49px; color: var(--teal-deep); line-height: 1; }
.brand .caps { display: inline-block; font-size: 16px; font-weight: 700; letter-spacing: .34em; color: var(--teal); margin-top: 6px; }
nav.site { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 34px; font-size: 13px; font-weight: 700; }
nav.site a.active { color: var(--orange-deep); }

main { padding: 26px 0 40px; }
h1 { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 700; font-size: 34px; line-height: 1.15; color: var(--teal-deep); margin: 0 0 6px; }
h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 21px; color: var(--teal-deep); margin: 34px 0 10px; }
h3 { font-size: 15px; font-weight: 700; color: var(--teal-deep); margin: 22px 0 6px; }
.updated { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: 0 0 20px; }
p, li { color: var(--ink); }
ul { padding-left: 22px; }
li { margin: 4px 0; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: 18px;
  padding: 18px 20px; margin: 16px 0; box-shadow: 0 2px 6px rgba(38,66,70,.05);
}
.card.health { border-style: dashed; }
.card.health .label { color: var(--orange-deep); }
.label { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.toc a { font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--border); color: var(--teal-deep); }
.toc a:hover { background: var(--wash); border-color: #CFE3E4; }
table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0 16px; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--border); }
th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.fill { background: #FFF1DE; color: var(--orange-deep); padding: 0 5px; border-radius: 5px; font-weight: 700; }

.hero { padding: 26px 0 8px; }
.hero h1 { font-size: 40px; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 54ch; }
.cta { display: inline-block; background: var(--orange); color: #fff; font-weight: 700; padding: 13px 26px; border-radius: 999px; box-shadow: 0 10px 22px -8px rgba(242,122,22,.55); }
.cta:hover { background: #E06F10; color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 22px 0; }
.grid .card { margin: 0; }
.grid .card h3 { margin-top: 0; }
/* Bottom-centre, bleeding off the bottom edge — the app's Practice screen
   (Mandalas.practice: height 380/844 of the screen, offset -160/380 of itself). */
.mandala {
  position: fixed;
  left: 50%;
  --size: min(644px, calc((100vw - 44px) * 0.9)); /* 90% of the text column */
  width: var(--size);
  height: var(--size);
  bottom: calc(var(--size) * -0.47);
  transform: translateX(-50%);
  opacity: .5; /* the line art is hairline-thin now, so it needs a touch more */
  pointer-events: none;
  z-index: 0;
}
.wrap, header.site, main, footer.site { position: relative; z-index: 1; }

/* ---------- My Philosophy ---------- */
.wrap.wide { max-width: 980px; }
h1.solo { margin: 8px 0 26px; font-size: 38px; }

.philosophy {
  display: grid;
  grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 12px;
}
.portrait { margin: 0; position: sticky; top: 24px; }
.portrait img {
  display: block; width: 100%; height: auto;
  border-radius: 22px;
  box-shadow: 0 18px 40px -22px rgba(18,63,70,.45);
}

/* Semi-transparent slab so the text stays readable over the mandala. */
.panel {
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(240,231,214,.9);
  border-radius: 24px;
  padding: 30px 34px 26px;
}
.panel p { margin: 0 0 16px; }
.panel p:last-child { margin-bottom: 0; }
.panel .lead { font-size: 17.5px; color: var(--teal-deep); }

.signature { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.signature .above { display: block; font-size: 13px; color: var(--muted); }
.signature .script {
  display: block; margin-top: 2px;
  font-family: "Dancing Script", "Brush Script MT", cursive; font-weight: 700;
  font-size: 38px; line-height: 1.1; color: var(--teal-deep);
}
.signature .role {
  display: block; margin-top: 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint);
}

/* ---------- Maldives retreat (sales page) ---------- */
.hero-shot { position: relative; margin: 10px 0 0; }
.hero-shot img {
  display: block; width: 100%; height: clamp(340px, 58vh, 560px);
  object-fit: cover; object-position: center 42%;
}
.hero-shot::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(14,50,56,.62) 0%, rgba(14,50,56,.24) 42%, rgba(14,50,56,0) 68%),
    linear-gradient(180deg, rgba(18,63,70,.30) 0%, rgba(18,63,70,0) 34%, rgba(18,63,70,.52) 100%);
}
.hero-shot-inner {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  max-width: 980px; margin: 0 auto; padding: 0 22px 34px;
}
.hero-shot .eyebrow {
  margin: 0 0 8px; font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: #CFE3E4;
}
.hero-shot h1 {
  margin: 0 0 12px; color: #fff; font-size: clamp(32px, 5.2vw, 52px); line-height: 1.05;
  text-shadow: 0 2px 18px rgba(10,35,40,.35);
}
.hero-lead { margin: 0 0 18px; max-width: 46ch; color: #EAF3F3; font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0; }
.price-pill {
  background: rgba(255,255,255,.92); color: var(--teal-deep);
  border-radius: 999px; padding: 9px 18px; font-size: 14px;
}
.price-pill strong { font-size: 18px; }

.facts {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px; margin: 22px 0 30px; padding: 0; text-align: center;
}
.facts li {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 14px 8px; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--faint);
}
.facts li span {
  display: block; margin-bottom: 3px;
  font-family: "Playfair Display", Georgia, serif; font-size: 26px;
  letter-spacing: 0; text-transform: none; color: var(--teal-deep);
}
.facts li span.fill { font-size: 15px; padding: 2px 8px; }
.facts li span.fit { font-size: 19px; }

.block { margin: 0 0 46px; }
.block h2 { margin-top: 0; font-size: 27px; }
.block .sub { margin: -4px 0 18px; color: var(--muted); }
.block .note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.intro { margin-bottom: 40px; }
.intro .lead { font-size: 17.5px; color: var(--teal-deep); }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
  position: relative; padding: 9px 0 9px 30px;
  border-bottom: 1px solid var(--border); font-size: 16px;
}
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
  content: ""; position: absolute; left: 6px; top: 17px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--orange);
}

.incl, .split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 26px; align-items: center; }
.split.reverse .ticks { order: 2; }
.incl figure, .split figure, .gallery figure { margin: 0; }
.incl img, .split img, .gallery img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  border-radius: 18px; box-shadow: 0 14px 32px -22px rgba(18,63,70,.5);
}

.gallery { display: grid; gap: 12px; }
.gallery figure { position: relative; }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 11px; z-index: 2;
  background: rgba(255,255,255,.9); color: var(--teal-deep);
  border-radius: 999px; padding: 5px 13px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
}
.g-stay { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 158px; }
.g-stay .tall { grid-column: span 2; grid-row: span 2; }
.g-stay figure:nth-child(5) { grid-column: span 2; }
.g-two { grid-template-columns: 1fr; }
.g-two figure { aspect-ratio: 1.7; }  /* matches the crop, so nothing is trimmed */
.g-ocean { grid-template-columns: repeat(2, 1fr); }
.g-ocean figure { aspect-ratio: 1 / 1; }
.g-ocean .wide-cell { grid-column: span 2; aspect-ratio: 3 / 1; }
.split figure.one { height: 340px; }

.tagline {
  margin: 40px 0 4px; text-align: center;
  font-family: "Playfair Display", Georgia, serif; font-size: 22px; color: var(--teal-deep);
}

.teacher { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 22px; align-items: center; }
.teacher img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; }
.teacher p { margin: 0 0 8px; }
.teacher p:last-child { margin-bottom: 0; }

.pricebox {
  margin: 34px 0; padding: 30px 26px; text-align: center;
  background: var(--wash); border: 1px solid #CFE3E4; border-radius: 24px;
}
.pricebox .amount .from { font-family: inherit; font-size: 17px; color: var(--muted); vertical-align: 14px; }
.pricebox .amount {
  margin: 4px 0 10px;
  font-family: "Playfair Display", Georgia, serif; font-size: 46px; color: var(--teal-deep);
}
.pricebox .small { max-width: 52ch; margin: 0 auto 20px; font-size: 14px; color: var(--muted); }

.form-panel { margin: 34px 0 10px; }
.form-panel h2 { margin-top: 0; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form label {
  display: block; margin-bottom: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint);
}
form .opt { font-weight: 400; letter-spacing: 0; text-transform: none; color: #A9B5B5; }
form input, form select, form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 13px;
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
}
form textarea { resize: vertical; }
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,96,104,.12);
}
form button.cta { border: 0; cursor: pointer; font-size: 15px; }
/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { font-size: 12.5px; color: var(--muted); margin: 2px 0 16px; }
.form-status { margin: 12px 0 0; font-size: 14px; min-height: 1.2em; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: var(--orange-deep); }
.alt-contact { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }

/* Certificates — documents are shown whole, never cropped. */
.certs { margin: 34px 0 10px; }
.certs h2 { margin-bottom: 14px; }
.cert-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cert-grid figure { margin: 0; }
.cert-grid img {
  display: block; width: 100%; height: 250px; object-fit: contain;
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 12px; box-shadow: 0 2px 6px rgba(38,66,70,.05);
}
.cert-grid figcaption { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.cert-grid figcaption b { display: block; color: var(--teal-deep); font-size: 13.5px; margin-bottom: 2px; }

footer.site { border-top: 1px solid var(--border); padding: 20px 0 40px; font-size: 13px; color: var(--muted); }
footer.site .links { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; font-weight: 700; }
@media (max-width: 480px) {
  h1 { font-size: 28px; }
  .hero h1 { font-size: 32px; }
  .brand { gap: 8px; margin-left: -21px; }
  .brand img { width: 88px; height: 88px; margin-bottom: -13px; }
  nav.site { margin-top: 29px; }
  .brand .script { font-size: 36px; }
  .brand .caps { font-size: 12px; letter-spacing: .3em; }
  .philosophy { grid-template-columns: 1fr; gap: 18px; }
  .portrait { position: static; max-width: 320px; }
  .panel { padding: 22px 20px 20px; border-radius: 20px; }
  h1.solo { font-size: 30px; }
  .signature .script { font-size: 32px; }
  .cert-grid { grid-template-columns: 1fr; }
  .cert-grid img { height: 210px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .incl, .split { grid-template-columns: 1fr; gap: 18px; }
  .split.reverse .ticks { order: 0; }
  .split figure.one { height: 260px; }
  .g-stay { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .g-ocean .wide-cell { aspect-ratio: 2 / 1; }
  form .row { grid-template-columns: 1fr; gap: 0; }
  .teacher { grid-template-columns: 1fr; text-align: left; }
  .block h2 { font-size: 23px; }
  .pricebox .amount { font-size: 38px; }
}
