/* Tula Functional — public site
   Palette taken from the logo: deep teal ground, sand ink. */
:root {
  --teal: #154C57;
  --teal-deep: #0F3B44;
  --teal-soft: #1E5B67;
  --sand: #DACCB3;
  --sand-soft: #EAE0CE;
  --paper: #F5EFE4;
  --white: #FFFDF9;
  --ink: #17343B;
  --muted: #56706F;
  --line: rgba(21, 76, 87, .18);
  --line-sand: rgba(218, 204, 179, .35);
  --ok: #2F6B4F;
  --err: #9A3B2E;
  --display: "Belleza", "Optima", "Candara", "Segoe UI", sans-serif;
  --body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
:root { padding-top: env(safe-area-inset-top, 0px); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 4px; }
main :focus-visible, .site-foot :focus-visible { outline-color: var(--teal); }
.teal :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .site-foot :focus-visible { outline-color: var(--sand); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 680px; }
.sr, .hp { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sand); color: var(--teal); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.lede { font-size: 1.2rem; max-width: 60ch; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 .98rem/1 var(--body); padding: .95em 1.6em; border-radius: 999px;
  border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-sand { background: var(--sand); color: var(--teal); }
.btn-sand:hover { background: var(--white); }
.btn-teal { background: var(--teal); color: var(--sand); }
.btn-teal:hover { background: var(--teal-deep); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: rgba(218, 204, 179, .14); }
.btn-small { padding: .7em 1.15em; font-size: .9rem; }
.btn[disabled], .btn.is-disabled { opacity: 1; background: #DEDAD2; border-color: #DEDAD2; color: #77756F; cursor: not-allowed; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 600; text-decoration: underline; }

/* ---------- Announcement & header ---------- */
.announce { position: relative; background: var(--sand); color: var(--teal); text-align: center; font-size: .86rem; padding: 9px 44px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; overflow: hidden; }
.announce a { text-decoration: none; color: inherit; }
.announce a:hover { text-decoration: underline; }
.announce-track { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce-close { position: absolute; z-index: 1; right: 0; top: 0; bottom: 0; background: var(--sand); box-shadow: -12px 0 12px var(--sand); border: 0; color: inherit; font-size: 1rem; line-height: 1; padding: 0 14px; cursor: pointer; }
.announce.is-hidden { display: none; }
.announce-scroll { text-align: left; }
.announce-scroll .announce-track { display: flex; width: max-content; overflow: visible; animation: announce-ticker 30s linear infinite; }
.announce-scroll .announce-text { padding-right: 4rem; }
.announce-scroll:hover .announce-track { animation-play-state: paused; }
@keyframes announce-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announce-scroll { text-align: center; } .announce-scroll .announce-track { animation: none; width: auto; overflow: hidden; } .announce-scroll .announce-text[aria-hidden] { display: none; } }
.site-head { background: var(--teal); color: var(--sand); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line-sand); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand img { height: 54px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.site-nav a { text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav ul a[aria-current="page"], .nav-account[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.site-nav ul a:hover, .nav-account:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-account { font-size: .95rem; font-weight: 500; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--sand); width: 44px; height: 44px; position: relative; cursor: pointer; }
.nav-toggle span:not(.sr) { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .25s; }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 78px 0 0 0; background: var(--teal); flex-direction: column; align-items: stretch;
    padding: 24px 20px calc(32px + env(safe-area-inset-bottom, 0px)); gap: 24px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s;
  }
  .site-nav.open { transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; font: 1.8rem/1.2 var(--display); padding: 12px 0; border-bottom: 1px solid var(--line-sand); }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-account { padding: 8px 0; font-size: 1.05rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Flash messages ---------- */
.flashes { padding-top: 20px; display: grid; gap: 10px; }
.flash { padding: 14px 18px; border-radius: 10px; background: var(--white); border-left: 4px solid var(--teal); font-weight: 500; }
.flash-success { border-color: var(--ok); }
.flash-error { border-color: var(--err); color: var(--err); }

/* ---------- Hero: headline above the ground line, roots below ---------- */
.hero { background: var(--teal); color: var(--sand); padding: clamp(40px, 7vw, 90px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-grid {
  --c: min(40vw, 500px);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  grid-template-rows: minmax(calc(var(--c) / 2 + 12px), auto) auto; column-gap: 48px;
}
.hero-text { grid-column: 1; grid-row: 1; align-self: end; padding-bottom: 30px; }
.hero h1 { margin: 0; max-width: 13ch; font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: 1.02; }
.hero-line { grid-column: 1 / -1; grid-row: 2; align-self: start; height: 3px; background: var(--sand); border-radius: 2px; position: relative; z-index: 1; }
.hero-sub { grid-column: 1; grid-row: 2; padding-top: 34px; max-width: 520px; }
.hero-sub p { font-size: 1.15rem; margin-bottom: 28px; }
.hero-circle {
  grid-column: 2; grid-row: 2; margin-top: calc(var(--c) / -2); justify-self: center;
  width: var(--c); aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative; z-index: 2;
  box-shadow: 0 0 0 10px var(--teal), 0 0 0 12px var(--sand);
  background: var(--teal-soft);
}
.hero-circle img { width: 100%; height: 100%; object-fit: cover; }
.hero-circle .ph { width: 100%; height: 100%; }
@media (max-width: 860px) {
  .hero-grid { --c: min(68vw, 360px); grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero-circle { grid-column: 1; grid-row: 1; margin: 0 auto 36px; }
  .hero-text { grid-row: 2; padding-bottom: 24px; }
  .hero-line { grid-row: 3; }
  .hero-sub { grid-row: 4; padding-top: 26px; }
}

/* Branded placeholder when no photo is uploaded */
.ph { background: var(--teal-soft); display: grid; place-items: center; min-height: 220px; }
.ph img { width: 46%; max-width: 260px; opacity: .9; }
.hero-circle .ph { background: radial-gradient(circle at 50% 45%, #22606d, var(--teal-soft) 70%); }

/* ---------- Marquee band ---------- */
.band { background: var(--sand); color: var(--teal); overflow: hidden; padding: 22px 0; border-block: 1px solid rgba(21, 76, 87, .2); }
.band-track { display: flex; width: max-content; animation: drift 38s linear infinite; }
.band-set { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.band-word { font: 400 clamp(1.8rem, 3.6vw, 3rem)/1 var(--display); white-space: nowrap; }
.band-mark { width: 34px; height: 34px; opacity: .85; }
.band:hover .band-track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .band-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .band-set + .band-set { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(44px, 6vw, 72px) 0; }
.teal { background: var(--teal); color: var(--sand); }
.deep { background: var(--teal-deep); color: var(--sand); }
.sandbg { background: var(--sand-soft); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { font-size: 1.1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* Arch frames — the canopy of the tree */
.arch { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--teal-soft); }
.arch img, .arch .ph { width: 100%; height: 100%; object-fit: cover; }
.prose p { max-width: 62ch; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }

/* ---------- Offers (ways to train) ---------- */
.offer-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-sand); }
.offer-list li { border-bottom: 1px solid var(--line-sand); }
.offer-list a { display: grid; grid-template-columns: 70px 1fr minmax(0, 1.1fr); gap: 28px; align-items: center; padding: 28px 4px; text-decoration: none; transition: background-color .2s; }
.offer-list a:hover { background: rgba(218, 204, 179, .07); }
.offer-list img { width: 56px; height: 48px; object-fit: contain; }
.offer-name { font: 400 clamp(1.6rem, 3vw, 2.3rem)/1.1 var(--display); }
.offer-text { opacity: .88; }
@media (max-width: 720px) { .offer-list a { grid-template-columns: 52px 1fr; gap: 6px 18px; } .offer-text { grid-column: 2; } }

/* ---------- Class cards ---------- */
.class-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.class-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.class-card .ic { width: 48px; height: 40px; object-fit: contain; object-position: left; }
.class-card h3 { margin: 6px 0 0; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; color: var(--muted); }
.class-card .more { margin-top: auto; padding-top: 8px; font-weight: 600; }

.class-row { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(32px, 4vw, 52px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.class-row:first-child { border-top: 1px solid var(--line); }
.class-row .arch { aspect-ratio: 1; border-radius: 50%; max-width: 300px; }
.class-row h2 { display: flex; align-items: center; gap: 16px; }
.class-row h2 img { width: 46px; height: 38px; object-fit: contain; }
@media (max-width: 760px) { .class-row { grid-template-columns: 1fr; } .class-row .arch { max-width: 200px; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(28px, 4vw, 52px); }
.quote blockquote { margin: 0 0 16px; font: 400 1.45rem/1.35 var(--display); }
.quote figcaption { font-size: .95rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); font-weight: 600; }

/* ---------- Gallery ---------- */
.gallery-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 30%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.gallery-strip figure { margin: 0; scroll-snap-align: start; }
.gallery-strip img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--radius); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 10px; }

/* ---------- Motto ---------- */
.motto { background: var(--sand); color: var(--teal); text-align: center; padding: clamp(70px, 10vw, 140px) 0; }
.motto p { font: 400 clamp(2.4rem, 7.5vw, 6.4rem)/1 var(--display); margin: 0 0 40px; }
.motto .ground { width: min(560px, 80%); height: 3px; background: var(--teal); margin: 0 auto 36px; border-radius: 2px; }
.motto img { width: 64px; margin: 0 auto; }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--teal); color: var(--sand); padding: clamp(52px, 8vw, 100px) 0 0; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { margin-bottom: clamp(40px, 6vw, 70px); }
.horizon { height: 3px; background: var(--sand); width: min(var(--wrap), 100% - 40px); margin: 0 auto; border-radius: 2px; transform: translateY(1.5px); }
.page-hero + * { position: relative; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.values > div { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.values h3 { font-size: 1.45rem; }
.values p { margin: 0; color: var(--muted); }

/* ---------- Coaches ---------- */
.coaches { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px; }
.coach .photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 18px; max-width: 240px; }
.coach .photo img, .coach .photo .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.coach h3 { margin-bottom: 2px; }
.coach .role { color: var(--muted); font-size: .95rem; margin-bottom: 10px; }

/* ---------- Schedule ---------- */
.days { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; }
.day {
  flex: 0 0 auto; scroll-snap-align: start; min-width: 92px; text-align: center; text-decoration: none;
  border: 1px solid var(--line); background: var(--white); border-radius: 14px; padding: 12px 14px; line-height: 1.25;
}
.day b { display: block; font: 400 1.6rem/1.1 var(--display); }
.day small { font-size: .82rem; color: var(--muted); }
.day[aria-current="date"] { background: var(--teal); color: var(--sand); border-color: var(--teal); }
.day[aria-current="date"] small { color: var(--sand); }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 18px 0 28px; }
.filters label { font-size: .85rem; font-weight: 600; display: grid; gap: 4px; }
.slots { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.slot { display: grid; grid-template-columns: 120px 1fr auto auto; gap: 14px 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.slot-time { font: 400 1.5rem/1.1 var(--display); }
.slot-time small { display: block; font: .85rem var(--body); color: var(--muted); margin-top: 4px; }
.slot-class { display: flex; gap: 16px; align-items: center; }
.slot-class img { width: 42px; height: 36px; object-fit: contain; flex: none; }
.slot-class h3 { font-size: 1.35rem; margin: 0; }
.spots { font-size: .9rem; color: var(--muted); white-space: nowrap; }
.spots.low { color: var(--err); font-weight: 600; }
.slot form { margin: 0; }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--sand-soft); color: var(--teal); }
@media (max-width: 720px) {
  .slot { grid-template-columns: 84px 1fr; }
  .slot .spots { grid-column: 2; }
  .slot form, .slot .slot-action { grid-column: 1 / -1; }
  .slot .btn { width: 100%; }
}
.empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--white); }

/* ---------- Pricing ---------- */
.plan-group { margin-bottom: clamp(48px, 6vw, 80px); scroll-margin-top: 110px; }
.plan-group > h2 { margin-bottom: 24px; }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.plan.hl { background: var(--teal); color: var(--sand); border-color: var(--teal); }
.plan .badge { align-self: flex-start; font-size: .8rem; font-weight: 600; background: var(--sand); color: var(--teal); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.plan h3 { margin-bottom: 4px; }
.plan .price { font: 400 2.6rem/1.1 var(--display); margin: 14px 0 0; }
.plan .per { font-size: .92rem; opacity: .8; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 2px; background: currentColor; opacity: .6; }
.plan .btn { margin-top: auto; }
.plan.hl .btn-teal { background: var(--sand); color: var(--teal); }

/* ---------- Events ---------- */
.event-list { display: grid; gap: 28px; }
.event { display: grid; grid-template-columns: 120px 1fr; gap: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.event-date { text-align: center; border-right: 1px solid var(--line); padding-right: 24px; }
.event-date b { display: block; font: 400 3rem/1 var(--display); color: var(--teal); }
.event-date span { font-size: .9rem; color: var(--muted); }
.event h2 { font-size: 1.9rem; }
@media (max-width: 640px) { .event { grid-template-columns: 1fr; } .event-date { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 14px; text-align: left; } }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-size: 1.7rem; margin-bottom: 12px; }
details.qa { border-bottom: 1px solid var(--line); }
details.qa:first-of-type { border-top: 1px solid var(--line); }
details.qa summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 1.08rem; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details.qa .answer { padding: 0 0 20px; max-width: 64ch; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, label.lbl { font-weight: 600; font-size: .92rem; }
.field small { color: var(--muted); }
input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid rgba(21, 76, 87, .32); border-radius: 10px; padding: 12px 14px;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { margin-top: 5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 70px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-block { padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-block:first-child { padding-top: 0; }
.info-block h2 { font-size: 1.4rem; margin-bottom: 6px; }
.map { margin-top: 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Account ---------- */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .auth-grid { grid-template-columns: 1fr; } }
.acct-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.table-wrap { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.list th, table.list td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.list th { font-weight: 600; color: var(--muted); font-size: .85rem; }
.status { display: inline-block; font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--sand-soft); color: var(--teal); text-transform: capitalize; }
.status-cancelled, .status-late-cancelled, .status-failed { background: #f3dcd6; color: var(--err); }
.status-paid, .status-confirmed, .status-active, .status-attended { background: #d9eadf; color: var(--ok); }
.dash-grid { display: grid; gap: 28px; }

/* ---------- Checkout ---------- */
.summary { display: grid; gap: 6px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.summary .price { font: 400 2.4rem/1.1 var(--display); color: var(--teal); }

/* ---------- Footer ---------- */
.site-foot { background: var(--teal-deep); color: var(--sand); padding: clamp(56px, 7vw, 90px) 0 calc(24px + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1.2fr; gap: 40px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand img { width: 190px; margin-bottom: 18px; }
.foot-brand p { max-width: 34ch; opacity: .85; }
.foot-h { font: 400 1.35rem/1.2 var(--display); margin-bottom: 14px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-links a, .foot-base a, .site-foot p a { text-decoration: none; }
.foot-links a:hover, .foot-base a:hover, .site-foot p a:hover { text-decoration: underline; }
.foot-hours { opacity: .85; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line-sand); border-radius: 50%; display: grid; place-items: center; }
.socials a:hover { background: var(--sand); color: var(--teal); }
.news-form label { display: block; margin-bottom: 8px; opacity: .9; }
.news-row { display: flex; gap: 8px; }
.news-row input { background: transparent; color: var(--sand); border-color: var(--line-sand); border-radius: 999px; padding: 11px 16px; min-width: 0; }
.news-row input::placeholder { color: rgba(218, 204, 179, .6); }
.news-row input:focus { outline-color: var(--sand); }
.news-row .btn { padding: .8em 1.2em; flex: none; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-sand); font-size: .88rem; opacity: .85; }
.foot-base p { margin: 0; }
.foot-base ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }

.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); z-index: 40; }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(80px, 12vw, 160px) 0; }
.notfound img { width: 120px; margin: 0 auto 28px; }

@media print { .site-head, .site-foot, .wa-float, .band { display: none; } }

/* ---------- Founder section (About page; short version on Home) ---------- */
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 600; margin: 0 0 14px; opacity: .85; }
.founder-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.founder-photo { max-width: 460px; width: 100%; }
.founder-role { margin: -6px 0 22px; font-size: 1.05rem; opacity: .85; }
.founder-quote { margin: 0 0 24px; font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.3 var(--display); }
.founder-sign { margin-top: 18px; font: 400 1.3rem var(--display); }
.founder-short .founder-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.founder-short .founder-photo { max-width: 340px; }
@media (max-width: 860px) {
  .founder-grid, .founder-short .founder-grid { grid-template-columns: 1fr; }
  .founder-photo, .founder-short .founder-photo { max-width: 300px; }
}

/* ---------- Social icons & WhatsApp ---------- */
.socials { flex-wrap: wrap; }
.socials svg { width: 18px; height: 18px; }
.socials a.is-whatsapp:hover { background: #25D366; border-color: #25D366; color: #fff; }
.socials-ink a { border-color: var(--line); color: var(--teal); }
.socials-ink a:hover { background: var(--teal); color: var(--sand); }
/* Header icons: wide screens and the phone menu only (in between, the header has no room). */
.head-socials { gap: 6px; display: none; }
@media (min-width: 1360px) { .head-socials { display: flex; } }
.site-nav ul a, .nav-account, .nav-actions .btn { white-space: nowrap; }
.head-socials a { width: 34px; height: 34px; }
.head-socials svg { width: 16px; height: 16px; }
@media (max-width: 1080px) { .head-socials { display: flex; gap: 10px; } .head-socials a { width: 44px; height: 44px; } }
.btn-whatsapp { background: #1FAF55; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.btn-whatsapp:hover { background: #178F45; color: #fff; }
.btn-whatsapp svg { width: 18px; height: 18px; }

/* ---------- Coming soon page ---------- */
.coming-soon { min-height: 100vh; display: flex; flex-direction: column; background: var(--teal); color: var(--sand); }
.cs-main { flex: 1; display: flex; align-items: center; padding: clamp(32px, 6vw, 80px) clamp(16px, 5vw, 72px); }
.cs-grid { width: 100%; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cs-logo { width: 200px; height: auto; margin-bottom: clamp(28px, 5vw, 48px); }
.cs-heading { font-size: clamp(3rem, 8vw, 6rem); margin: 0 0 .15em; color: var(--sand); }
.cs-date { text-transform: uppercase; letter-spacing: .2em; font-size: .85rem; font-weight: 600; margin: 0 0 22px; opacity: .9; }
.cs-message { font-size: 1.15rem; line-height: 1.6; max-width: 52ch; margin: 0 0 28px; opacity: .92; }
.cs-flash { background: var(--sand); color: var(--teal-deep); padding: 12px 16px; border-radius: 10px; font-weight: 500; max-width: 520px; }
.cs-flash-error { background: #F6D3D0; color: #7A1E14; }
.cs-form { max-width: 520px; margin-bottom: 28px; }
.cs-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.cs-form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cs-form-row input { flex: 1 1 240px; min-width: 0; height: 52px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-sand); background: rgba(255, 253, 249, .08); color: var(--sand); font: inherit; }
.cs-form-row input::placeholder { color: rgba(218, 204, 179, .65); }
.cs-form-row .btn { height: 52px; }
.cs-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-bottom: 24px; }
.cs-link { color: var(--sand); text-decoration: underline; text-underline-offset: 3px; }
.cs-photo { max-width: 440px; width: 100%; justify-self: end; background: var(--teal-deep); }
.cs-photo .ph { display: grid; place-items: center; }
.cs-photo .ph img { width: 46%; height: auto; opacity: .9; }
.cs-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px clamp(16px, 5vw, 72px); border-top: 1px solid var(--line-sand); font-size: .9rem; opacity: .8; }
.cs-foot p { margin: 0; }
@media (max-width: 860px) {
  .cs-grid { grid-template-columns: 1fr; }
  .cs-photo { max-width: 280px; justify-self: start; order: -1; display: none; }
}

/* Empty photo slot: keep the tree mark small and centred (the photo rules above would stretch it). */
.ph > img { width: 38% !important; height: auto !important; max-width: 200px; object-fit: contain !important; opacity: .85; }
.coach .photo .ph > img { width: 44% !important; }

/* ---------- Blog ---------- */
.wrap.narrow { max-width: 760px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(24px, 3vw, 36px); }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-card-cover { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--teal-soft); }
.post-card-cover img, .post-card-cover .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; transition: transform .4s; }
.post-card:hover .post-card-cover img { transform: scale(1.03); }
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card-body h3 { font-size: 1.45rem; margin: 0; }
.post-card-body h3 a { text-decoration: none; }
.post-card-body h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-card-body p { margin: 0; color: var(--muted); }
.post-card-body .more { margin-top: auto; padding-top: 8px; font-weight: 600; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0; color: var(--muted); }
.post-hero .post-meta { color: var(--sand); opacity: .85; margin-bottom: 14px; }
.post-hero h1 { max-width: none; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.post-cover { width: 100%; border-radius: var(--radius); margin-bottom: 32px; aspect-ratio: 16 / 9; object-fit: cover; }
.post-body { font-size: 1.08rem; line-height: 1.75; }
.post-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.post-body h2 { font-size: 2rem; margin-top: 1.4em; }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-share span { font-weight: 600; margin-right: 6px; }
.post-share .btn-line { color: var(--teal); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chips a { padding: 8px 16px; min-height: 40px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; }
.chips a[aria-current="page"], .chips a:hover { background: var(--teal); color: var(--sand); border-color: var(--teal); }

/* My account → My packages cards */
.pkg-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pkg { background: #fff; border: 1px solid #E5DECF; border-left: 6px solid #2E9C73; border-radius: 10px; padding: 16px 18px; }
.pkg h3 { font-size: 1.35rem; margin: 4px 0 12px; }
.pkg-state { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #2E7D5F; }
.pkg-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px 16px; margin: 0; }
.pkg-facts dt { font-size: .82rem; color: #5F6F73; }
.pkg-facts dd { margin: 2px 0 0; font-size: 1.1rem; font-weight: 600; color: #17343B; }
.pkg-used-up, .pkg-expired { border-left-color: #B9B4AA; }
.pkg-used-up .pkg-state, .pkg-expired .pkg-state { color: #8A5A44; }
.pkg-upcoming { border-left-color: #C7A86A; }
.pkg-upcoming .pkg-state { color: #8A6A2A; }
.pkg-note { background: #fff; border: 1px solid #E5DECF; border-left: 6px solid #2E9C73; border-radius: 10px; padding: 10px 14px; margin: 0 0 16px; }

/* My account tabs */
.acct-nav { margin-bottom: 0; }
.acct-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 2px solid #E5DECF; }
.acct-tab { padding: 10px 16px; border-radius: 10px 10px 0 0; font-weight: 600; color: #17343B; text-decoration: none; background: #fff; border: 1px solid #E5DECF; border-bottom: 0; margin-bottom: -2px; }
.acct-tab:hover { background: #F5EFE4; }
.acct-tab.is-active { background: #154C57; color: #fff; border-color: #154C57; }
@media (max-width: 600px) { .acct-tab { flex: 1 1 45%; text-align: center; border-radius: 8px; border-bottom: 1px solid #E5DECF; margin-bottom: 4px; } .acct-tabs { border-bottom: 0; } }
