/* TLM Site styles. Built by System Flow Labs. */
:root {
  --bg: #FAFBFA; --bg2: #E4F2F2; --surface: #FFFFFF; --ink: #2E3A3B; --muted: #5E6A6B;
  --sage: #03767B; --teal: #028085; --teal-ink: #FFFFFF; --line: #D5E6E6; --warm: #F1F8F8; --pale: #E2F2EA;
  --band: #028085; --band-ink: #FFFFFF; --band-btn: #FFFFFF; --band-btn-ink: #026E72;
  --shadow: 0 2px 6px rgba(20, 60, 62, .08), 0 18px 40px -28px rgba(20, 60, 62, .35);
  --ui: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--ui); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 28px; } }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; background: #fff; }
.brand b { font: 800 17px/1.1 var(--ui); display: block; }
.brand span { font: 600 13px/1.2 var(--ui); color: var(--muted); }
.nav { display: flex; gap: 4px; background: var(--bg2); padding: 5px; border-radius: 14px; }
.nav a { text-decoration: none; padding: 9px 14px; border-radius: 10px; font: 700 14px/1 var(--ui); color: var(--ink); white-space: nowrap; }
.nav a[aria-current="page"] { background: var(--surface); box-shadow: 0 2px 6px rgba(36, 51, 43, .12); }
.menu-btn { display: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 12px; padding: 10px 14px; font: 700 14px/1 var(--ui); cursor: pointer; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border: 0; cursor: pointer; background: var(--teal); color: var(--teal-ink); font: 800 16px/1 var(--ui); padding: 15px 22px; border-radius: 99px; box-shadow: var(--shadow); }
.btn:hover { filter: brightness(1.05); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: none; border: 2px solid var(--line); }
.top .btn { padding: 11px 16px; font-size: 14px; }
@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  .top .btn { display: none; }
  .nav { display: none; position: absolute; left: 16px; right: 16px; top: 76px; flex-direction: column; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px; font-size: 16px; }
}

/* Shared blocks */
section.blk { padding-block: clamp(48px, 8vw, 88px); }
.eyebrow { font: 800 12px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
.h1 { font: 500 clamp(36px, 6vw, 62px)/1.05 var(--serif); letter-spacing: -.01em; }
.h1 em { font-style: italic; color: var(--teal); }
.h2 { font: 500 clamp(28px, 4vw, 42px)/1.1 var(--serif); }
.lede { font-size: clamp(18px, 2vw, 20px); color: var(--muted); max-width: 56ch; }
.head { display: grid; gap: 12px; margin-bottom: 32px; max-width: 720px; }
.card { background: var(--surface); border-radius: 22px; padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 80px) clamp(48px, 8vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero__copy { display: grid; gap: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__note { font: 600 14px/1.4 var(--ui); color: var(--muted); }
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px 26px 26px; overflow: hidden; box-shadow: var(--shadow); background: var(--bg2); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.arch__tag { position: absolute; left: 14px; right: 14px; bottom: 14px; background: color-mix(in srgb, var(--surface) 94%, transparent); border-radius: 16px; padding: 12px 14px; display: grid; gap: 2px; }
.arch__tag b { font: 800 16px/1.2 var(--ui); }
.arch__tag span { font: 600 13px/1.3 var(--ui); color: var(--muted); }

.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
@media (max-width: 820px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust div { background: var(--pale); border-radius: 16px; padding: 14px 16px; display: grid; gap: 2px; }
.trust b { font: 800 15px/1.2 var(--ui); }
.trust span { font-size: 13px; color: var(--muted); line-height: 1.35; }

/* Is it right for me */
.check { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 820px) { .check { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { background: var(--pale); border-radius: 16px; padding: 14px 16px 14px 50px; position: relative; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; border: 2px solid var(--sage); }
.ticks li::after { content: ""; position: absolute; left: 23px; top: 20px; width: 5px; height: 9px; border: solid var(--sage); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* Resource library (style 8) */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; background: var(--bg2); padding: 5px; border-radius: 14px; margin-bottom: 18px; width: fit-content; max-width: 100%; }
.tabs button { border: 0; background: transparent; color: var(--ink); padding: 10px 14px; border-radius: 10px; font: 700 14px/1 var(--ui); cursor: pointer; }
.tabs button[aria-pressed="true"] { background: var(--surface); box-shadow: 0 2px 6px rgba(36, 51, 43, .12); }
.lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.res { background: var(--surface); border-radius: 18px; padding: 20px; display: grid; gap: 8px; align-content: start; }
.res[hidden] { display: none; }
.res .k { font: 800 11px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
.res .t { font: 800 19px/1.25 var(--ui); }
.res .d { font-size: 15px; color: var(--muted); line-height: 1.55; }
.res a { font: 800 14px/1 var(--ui); color: var(--teal); text-decoration: none; margin-top: 4px; }

/* Chapter player (style 21), as calm steps */
.chap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; background: var(--surface); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 820px) { .chap { grid-template-columns: 1fr; } }
.chap__list { list-style: none; margin: 0; padding: 10px; display: grid; gap: 4px; background: var(--warm); }
.chap__list button { width: 100%; text-align: left; border: 0; background: transparent; color: var(--ink); border-radius: 14px; padding: 14px 16px; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; cursor: pointer; font: inherit; }
.chap__list .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 14px/1 var(--ui); background: var(--bg2); color: var(--sage); }
.chap__list .l { font: 800 16px/1.25 var(--ui); }
.chap__list button[aria-pressed="true"] { background: var(--surface); box-shadow: 0 2px 6px rgba(36, 51, 43, .1); }
.chap__list button[aria-pressed="true"] .n { background: var(--teal); color: var(--teal-ink); }
.chap__body { padding: clamp(22px, 4vw, 40px); display: grid; gap: 14px; align-content: start; }
.chap__bar { height: 4px; background: var(--bg2); border-radius: 99px; overflow: hidden; }
.chap__bar i { display: block; height: 100%; width: 25%; background: var(--teal); transition: width .4s; }
.chap__body h3 { font: 500 28px/1.15 var(--serif); }
.chap__body p { color: var(--muted); }

/* Fees */
.fees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 820px) { .fees { grid-template-columns: 1fr; } }
.fee { background: var(--surface); border-radius: 22px; padding: 26px; display: grid; gap: 10px; align-content: start; border: 2px solid transparent; }
.fee--hi { border-color: var(--teal); }
.fee .k { font: 800 12px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
.fee .p { font: 500 46px/1 var(--serif); }
.fee .p small { font: 700 15px/1 var(--ui); color: var(--muted); margin-left: 4px; }
.fee p { color: var(--muted); font-size: 15px; }
.fee .pill { justify-self: start; background: var(--teal); color: var(--teal-ink); font: 800 11px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; }

/* Review marquee (style 18) in sage */
.marq { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marq__row { display: flex; gap: 14px; width: max-content; animation: slide 70s linear infinite; padding-block: 6px; }
.marq:hover .marq__row { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marq__row { animation: none; flex-wrap: wrap; width: auto; } .marq { mask-image: none; } .marq__row [aria-hidden] { display: none; } }
.q { flex: 0 0 300px; background: var(--surface); border-radius: 20px; padding: 22px; display: grid; gap: 12px; align-content: space-between; }
.q p { font: 500 19px/1.4 var(--serif); }
.q span { font: 800 13px/1 var(--ui); color: var(--sage); letter-spacing: .04em; }

/* About */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 16px; }
.prose p { color: var(--muted); }
.prose h3 { font: 500 26px/1.2 var(--serif); margin-top: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { background: var(--surface); border-radius: 99px; padding: 8px 14px; font: 700 14px/1 var(--ui); }
.room { border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.room img { width: 100%; height: 100%; object-fit: cover; }
.cap { font: 600 13px/1.4 var(--ui); color: var(--muted); margin-top: 10px; }

/* Contact */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font: 800 14px/1.2 var(--ui); }
.form input, .form select, .form textarea { font: 500 16px/1.4 var(--ui); color: var(--ink); background: var(--bg); border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--teal); outline: none; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
/* Form choices shown as tappable pills instead of drop downs */
.form .choices { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.form .choices legend { font: 800 14px/1.2 var(--ui); padding: 0; margin-bottom: 8px; width: 100%; }
.form label.pill { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1.2 var(--ui); background: var(--bg); border: 2px solid var(--line); border-radius: 99px; padding: 11px 16px; cursor: pointer; }
.form label.pill input { width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--teal); }
.form label.pill:has(input:checked) { border-color: var(--teal); background: var(--pale, #E2F2EA); }
.form label.pill:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.form .small { font: 600 13px/1.45 var(--ui); color: var(--muted); }
.done { display: none; background: var(--bg2); border-radius: 14px; padding: 14px 16px; font-weight: 700; }
.ways { display: grid; gap: 12px; }
.way { background: var(--surface); border-radius: 18px; padding: 18px 20px; display: grid; gap: 4px; }
.way .k { font: 800 11px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
.way a, .way b { font: 800 19px/1.3 var(--ui); text-decoration: none; }
.way p { font-size: 14px; color: var(--muted); }
.crisis { background: var(--warm); border: 2px solid var(--line); border-radius: 18px; padding: 18px 20px; font-size: 15px; color: var(--muted); }
.crisis b { color: var(--ink); }

/* Explainer film */
.film { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.film__frame { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: var(--bg2); aspect-ratio: 16 / 9; }
.film__frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film__meta { font: 700 13px/1.4 var(--ui); color: var(--muted); margin-top: 12px; }
@media (max-width: 860px) { .film { grid-template-columns: 1fr; } }

/* Band + footer */
.band { background: var(--band); color: var(--band-ink); border-radius: 28px; padding: clamp(28px, 5vw, 52px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.band .h2 { color: var(--band-ink); }
.band .btn { background: var(--band-btn); color: var(--band-btn-ink); }
.band p { color: color-mix(in srgb, var(--band-ink) 92%, transparent); margin-top: 8px; }
@media (max-width: 720px) { .band { grid-template-columns: 1fr; } }
footer { padding-block: 40px 56px; border-top: 1px solid var(--line); margin-top: 40px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; font-size: 15px; color: var(--muted); }
footer b { color: var(--ink); display: block; margin-bottom: 6px; }
footer a { text-decoration: none; display: block; }
@media (max-width: 720px) { footer .wrap { grid-template-columns: 1fr; } }

/* Live site additions */
body.tlm { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--ui); }
body.tlm a { color: inherit; }
body.tlm .btn, body.tlm .btn:visited { color: var(--teal-ink); }
body.tlm .btn--ghost, body.tlm .btn--ghost:visited { color: var(--ink); }
body.tlm .band .btn { color: var(--band-btn-ink); }
body.admin-bar .top { top: 32px; }
@media (max-width: 782px) { body.admin-bar .top { top: 0; } }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--surface); padding: 10px 14px; border-radius: 10px; font-weight: 800; }
.skip:focus { left: 16px; }
.chap__step[hidden] { display: none; }
.chap__step { display: grid; gap: 14px; }
.notice { border-radius: 14px; padding: 14px 16px; font-weight: 700; }
.notice--ok { background: var(--bg2); }
.notice--err { background: #FBE9E7; color: #7A2A1E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.legal { max-width: 760px; }
.legal h2 { font: 500 26px/1.2 var(--serif); margin-top: 18px; }
.legal ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
footer .credit { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; font-size: 13px; }
footer .credit a { display: inline; text-decoration: underline; text-underline-offset: 3px; }

/* Contact layout */
.split--form { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
@media (max-width: 820px) { .split--form { grid-template-columns: 1fr; } }
.way a { overflow-wrap: anywhere; }

/* Trust strip full width, even form fields */
.hero .wrap + .wrap { display: block; }
.form input, .form select { height: 50px; }

/* Small phones: keep the header on one line */
@media (max-width: 420px) { .brand { gap: 10px; } .brand img { width: 40px; height: 40px; } .brand b { font-size: 16px; } .brand span { font-size: 12px; white-space: nowrap; } .top .wrap { gap: 10px; } }

/* New photo of Toni: keep her face clear of the name tag */
.arch img { object-position: 50% 85%; }
