/* Camila Araya | Psicología · Pro
   Visual grammar (one system for all 3 pages):
   - Controlled type scale: every heading uses one of 4 tokens (--fs-hero, --fs-1, --fs-2, --fs-3).
   - One section marker: short olive rule + small label, always above the section title.
   - Numbering (serif olive numerals) anchors lists; hairlines connect items into one block.
   - 12-column grid: section head on the left (cols 1-5), content on the right (cols 6-12).
   - Images: 4px radius, revealed by a clip; one olive block per page for contrast.
   Brief palette: olive #68766C, ivory #F3F1EA, graphite #2B302D. --olive-ink = AA-safe olive text. */

:root {
  --ivory: #F3F1EA;
  --paper: #F8F7F2;
  --sage: #E3E7DF;
  --olive: #68766C;
  --olive-ink: #525E55;
  --olive-deep: #3F4A42;
  --graphite: #2B302D;
  --muted: #555B57;
  --line: rgba(43, 48, 45, 0.14);
  --line-strong: rgba(43, 48, 45, 0.28);
  --error: #933A2E;

  --serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;

  /* Type scale */
  --fs-hero: clamp(2.35rem, 1.55rem + 2.5vw, 3.75rem);
  --fs-1: clamp(2.05rem, 1.5rem + 1.7vw, 3rem);
  --fs-2: clamp(1.7rem, 1.35rem + 1.1vw, 2.35rem);
  --fs-3: clamp(1.3rem, 1.18rem + .45vw, 1.55rem);
  --fs-lead: clamp(1.08rem, 1rem + .3vw, 1.22rem);
  --fs-body: 1.0625rem;
  --fs-small: .9rem;

  --measure-title: 20ch;
  --measure-text: 58ch;

  --r-pill: 999px;
  --r: 4px;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --section: clamp(4.5rem, 8vw, 7rem);
  --header-h: 72px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ivory); color: var(--graphite); font-family: var(--sans); font-size: var(--fs-body); line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--olive); color: var(--ivory); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -0.012em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--olive-deep); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--graphite); color: var(--ivory); padding: .6rem 1rem; border-radius: var(--r); }
.skip:focus { top: 1rem; }
.mask { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.mask > span { display: block; }

/* ---------- Type roles ---------- */
.t-1 { font-size: var(--fs-1); max-width: var(--measure-title); }
.t-2 { font-size: var(--fs-2); max-width: var(--measure-title); }
.t-3 { font-size: var(--fs-3); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 46ch; }
.body { color: var(--muted); max-width: var(--measure-text); }
.stack > * + * { margin-top: 1rem; }
em { font-style: italic; }

/* Section marker: the single graphic label used above every section title. */
.marker { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--olive-ink); }
.marker::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; }

/* ---------- Layout primitives ---------- */
.section { padding-block: var(--section); }
.split { display: grid; gap: 2.5rem; }
@media (min-width: 960px) {
  .split { grid-template-columns: repeat(12, 1fr); gap: 0 2rem; }
  .split > .split__head { grid-column: 1 / span 5; }
  .split > .split__body { grid-column: 7 / span 6; }
  .split--sticky > .split__head { position: sticky; top: calc(var(--header-h) + 2.5rem); align-self: start; }
}
.section-head { max-width: 40rem; }
.section-head .lead, .section-head .body { margin-top: 1.25rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 241, 234, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s ease; view-transition-name: site-header; }
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.wordmark { display: inline-flex; align-items: baseline; gap: .55rem; text-decoration: none; white-space: nowrap; }
.wordmark__name { font-family: var(--serif); font-size: 1.3rem; }
.wordmark__rule { width: 1px; height: 1rem; background: var(--olive); align-self: center; }
.wordmark__area { font-size: .76rem; letter-spacing: .08em; color: var(--olive-ink); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: 1.75rem; }
.nav__list a { position: relative; text-decoration: none; font-size: .95rem; color: var(--muted); padding-block: .4rem; transition: color .2s ease; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--olive); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav__list a[aria-current="page"] { color: var(--graphite); }
.nav__list a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav__list a:hover { color: var(--graphite); } .nav__list a:hover::after { transform: scaleX(1); transform-origin: left; } }
.nav-toggle { display: none; }

/* ---------- Buttons & links ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 48px; padding: .8rem 1.5rem; border-radius: var(--r-pill); font: 500 .96rem/1.2 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; border: 1px solid transparent; transition: color .25s ease, border-color .25s ease, transform .14s var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--graphite); color: var(--ivory); }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--olive-deep); transform: translateY(101%); transition: transform .4s var(--ease-out); }
.btn--light { background: var(--ivory); color: var(--graphite); }
.btn--light::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: translateY(101%); transition: transform .4s var(--ease-out); }
.btn--small { min-height: 42px; padding: .6rem 1.15rem; font-size: .9rem; }
.btn .arrow { display: inline-block; transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn:hover::before { transform: translateY(0); } .btn:hover .arrow { transform: translateX(4px); } }
.text-link { font-weight: 500; color: var(--graphite); text-decoration: none; padding-bottom: 2px; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px; transition: background-size .35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .text-link:hover { background-size: 0% 1px; background-position: 100% 100%; } }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }

/* ---------- Numbered list: the shared anchor for situations, steps and principles ---------- */
.numbered { counter-reset: n; border-top: 1px solid var(--line-strong); }
.numbered > li { counter-increment: n; position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: .3rem 1rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.numbered > li::before { content: counter(n, decimal-leading-zero); grid-row: 1 / span 2; font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; color: var(--olive-ink); }
.numbered h3 { font-size: var(--fs-3); }
.numbered p { color: var(--muted); max-width: 48ch; }
@media (hover: hover) and (pointer: fine) { .numbered > li > * { transition: transform .45s var(--ease-out); } .numbered > li:hover > h3 { transform: translateX(.35rem); } }

/* Quote: one component for every editorial quote on the site. */
.quote { margin: 0; padding-left: 1.25rem; border-left: 2px solid var(--olive); font-family: var(--serif); font-style: italic; font-size: var(--fs-3); line-height: 1.4; color: var(--olive-deep); max-width: 34ch; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--paper); overflow: hidden; }
.hero__media { position: relative; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__content { position: relative; z-index: 1; }
.hero h1 { font-size: var(--fs-hero); line-height: 1.06; letter-spacing: -0.02em; max-width: 13ch; }
.hero h1 em { color: var(--olive-deep); }
.hero__sub { margin-top: 1.4rem; font-size: var(--fs-lead); color: var(--muted); max-width: 34ch; }
@media (min-width: 1024px) {
  .hero { min-height: clamp(560px, calc(86dvh - var(--header-h)), 700px); display: grid; align-items: center; }
  .hero__media { position: absolute; inset: 0; }
  .hero__media img { object-position: 100% 32%; }
  .hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(248,247,242,.95) 0%, rgba(248,247,242,.86) 30%, rgba(248,247,242,0) 50%); }
  .hero__content { padding-block: 3.5rem 4.5rem; }
}
@media (max-width: 1023.98px) {
  .hero__media { aspect-ratio: 5 / 4; width: 100%; }
  .hero__media img { object-position: 80% 30%; }
  .hero__content { width: auto; margin: -2.75rem var(--gutter) 0 0; padding: 2rem 1.25rem 3rem var(--gutter); background: var(--paper); border-radius: 0 var(--r) 0 0; }
}
@media (max-width: 1023.98px) and (min-width: 640px) { .hero__media { aspect-ratio: 16 / 9; } .hero__content { margin-right: 22%; } }

/* ---------- Home · Sobre Camila ---------- */
.about__grid { display: grid; gap: 2.5rem; }
.about__media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.about__role { margin-top: .9rem; color: var(--olive-ink); font-weight: 500; max-width: 40ch; }
.about__text { margin-top: 1.75rem; display: grid; gap: 1rem; }
.about__text p { color: var(--muted); max-width: 54ch; }
.about__text p:first-child { font-size: var(--fs-lead); color: var(--graphite); line-height: 1.55; }
.about .quote { margin-top: 2rem; }
.principles { margin-top: 2rem; }
.principles li { display: flex; gap: 1rem; padding-block: .95rem; border-top: 1px solid var(--line); }
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles li::before { content: ""; flex: none; width: 1.1rem; height: 1px; margin-top: .85em; background: var(--olive); }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: repeat(12, 1fr); gap: 0 2rem; align-items: start; }
  .about__media { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 2rem); }
  .about__body { grid-column: 7 / span 6; }
}
@media (max-width: 899.98px) { .about__media { aspect-ratio: 5 / 4; } .about__media img { object-position: 40% 55%; } }

/* Availability band: the early CTA, right after understanding who she is. */
.availability { margin-top: clamp(4rem, 7vw, 6rem); display: grid; gap: 2rem; padding: clamp(1.75rem, 4vw, 2.75rem); background: var(--olive-deep); color: var(--ivory); border-radius: var(--r); }
.availability h2 { font-size: var(--fs-2); max-width: 16ch; }
.availability p { color: #E1E6DF; max-width: 44ch; }
.availability .text-link { color: var(--ivory); }
.availability .marker { color: #CDD5CB; margin-bottom: .9rem; }
.availability ol { display: grid; gap: .75rem; counter-reset: a; }
.availability li { counter-increment: a; display: grid; grid-template-columns: 2rem 1fr; color: #E1E6DF; }
.availability li::before { content: counter(a); font-family: var(--serif); color: #CDD5CB; }
@media (min-width: 960px) { .availability { grid-template-columns: 1.1fr 1fr auto; align-items: center; gap: 3rem; } }

/* ---------- Page opener (interior pages) ---------- */
.opener { padding-block: clamp(3.5rem, 7vw, 5.5rem) 0; }
.opener .lead { margin-top: 1.25rem; }

/* ---------- Atención ---------- */
.reasons-note { margin-top: 1.75rem; color: var(--muted); max-width: 48ch; }
.modes { display: grid; gap: 2.5rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.modes__media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.modes__media img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 70%; }
.modes__list { display: grid; align-content: center; }
.mode { display: grid; grid-template-columns: 2.25rem 1fr; gap: .3rem 1rem; padding-block: 1.5rem; border-top: 1px solid var(--line-strong); }
.mode:last-child { border-bottom: 1px solid var(--line-strong); }
.mode__icon { grid-row: 1 / span 2; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--olive); display: grid; place-items: center; color: var(--olive-deep); }
.mode__icon svg { width: 1.1rem; height: 1.1rem; }
.mode h3 { font-size: var(--fs-3); }
.mode p { color: var(--muted); max-width: 44ch; }
@media (min-width: 960px) { .modes { grid-template-columns: repeat(12, 1fr); gap: 0 2rem; } .modes__media { grid-column: 1 / span 6; } .modes__list { grid-column: 8 / span 5; } }

.option { margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; gap: 1rem 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--graphite); }
.option h3 { font-size: var(--fs-3); }
.option p { color: var(--muted); max-width: 48ch; }
.option .btn { justify-self: start; }
@media (min-width: 960px) { .option { grid-template-columns: 5fr 5fr auto; align-items: center; } }

/* Cómo trabajo: olive block, structured (statement + numbered principles). */
.approach { background: var(--olive-deep); color: var(--ivory); }
.approach .marker { color: #CDD5CB; }
.approach h2 { font-size: var(--fs-1); max-width: 16ch; }
.approach h2 em { color: #CBD4C8; }
.approach .body { color: #E1E6DF; margin-top: 1.25rem; }
.approach .numbered { border-top-color: rgba(243,241,234,.3); }
.approach .numbered > li { border-bottom-color: rgba(243,241,234,.16); }
.approach .numbered > li::before { color: #CDD5CB; }
.approach .numbered p { color: #E1E6DF; }
.approach .actions { margin-top: 2.5rem; }

/* ---------- Cómo empezar ---------- */
.journey { background: var(--paper); }
.steps { position: relative; padding-left: 3.5rem; }
.steps__track, .steps__fill { position: absolute; left: calc(1.125rem - .5px); top: .6rem; bottom: .6rem; width: 1px; }
.steps__track { background: var(--line-strong); }
.steps__fill { background: var(--olive-deep); transform-origin: top; }
.step { position: relative; padding-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.step:last-child { padding-bottom: 0; }
.step__mark { position: absolute; left: -3.5rem; top: .1rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--olive); background: var(--paper); font-family: var(--serif); font-size: 1.05rem; color: var(--olive-deep); }
.step h2 { font-size: var(--fs-2); }
.step p { margin-top: .6rem; color: var(--muted); max-width: 40ch; }
.journey .quote { margin-top: 2rem; }
.expect { margin-top: clamp(4rem, 8vw, 6rem); }
.expect__grid { display: grid; gap: 0; border-top: 1px solid var(--line-strong); margin-top: 2rem; }
.expect__item { padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.expect__item h3 { font-size: var(--fs-3); font-style: italic; color: var(--olive-deep); }
.expect__item p { margin-top: .5rem; color: var(--muted); max-width: 40ch; }
@media (min-width: 960px) { .expect__grid { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); } .expect__item { border-bottom: 0; padding-right: 2rem; } .expect__item + .expect__item { border-left: 1px solid var(--line); padding-left: 2rem; } }

/* FAQ */
.faq__item { border-top: 1px solid var(--line-strong); }
.faq__item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1.5rem; font-family: var(--serif); font-size: var(--fs-3); line-height: 1.25; }
.faq__q > span:first-child { transition: transform .45s var(--ease-out); }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: border-color .25s ease, background-color .25s ease; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: var(--graphite); transition: transform .3s var(--ease-out), background-color .25s ease; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--graphite); border-color: var(--graphite); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--ivory); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
@media (hover: hover) and (pointer: fine) { .faq__q:hover > span:first-child { transform: translateX(.4rem); } .faq__q:hover .faq__icon { border-color: var(--graphite); } }
.faq__a { overflow: hidden; }
.faq__a p { padding-bottom: 1.6rem; color: var(--muted); max-width: 54ch; }

/* Contacto */
.contact { background: var(--paper); border-top: 1px solid var(--line); }
.contact__facts { margin: 2rem 0 0; }
.contact__facts div { padding-block: 1rem; border-top: 1px solid var(--line); }
.contact__facts dt { font-weight: 600; font-size: .95rem; }
.contact__facts dd { margin: .25rem 0 0; color: var(--muted); }
.form { display: grid; gap: 1.4rem; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: 0 30px 60px -45px rgba(43, 48, 45, .35); }
.demo-flag { font-size: .92rem; color: var(--olive-deep); background: var(--sage); border-radius: var(--r); padding: .85rem 1rem; }
.field { display: grid; gap: .45rem; }
.field label, .field legend { font-weight: 500; font-size: .96rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--graphite); background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r); padding: .8rem 1rem; min-height: 48px; transition: border-color .2s ease, box-shadow .25s var(--ease-out), background-color .2s ease; }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232B302D' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
@media (hover: hover) and (pointer: fine) { .field input:hover, .field select:hover, .field textarea:hover { border-color: var(--graphite); } }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--olive-deep); background-color: #FDFDFB; box-shadow: 0 0 0 4px rgba(82, 94, 85, .2); }
.field .help { font-size: .88rem; color: var(--muted); }
.field .err { font-size: .88rem; color: var(--error); }
.field .err:empty { display: none; }
.field [aria-invalid="true"] { border-color: var(--error); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .2rem; }
.choice { position: relative; display: inline-flex; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; left: 1rem; top: 50%; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1.1rem; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--paper); font-size: .95rem; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .14s var(--ease-out); }
.choice:active span { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .choice:hover span { border-color: var(--graphite); } }
.choice input:checked + span { background: var(--graphite); border-color: var(--graphite); color: var(--ivory); }
.choice input:focus-visible + span { outline: 2px solid var(--olive-deep); outline-offset: 2px; }
.form__submit { justify-self: start; }
.form__status { font-size: .95rem; color: var(--olive-deep); border-left: 2px solid var(--olive); padding: .2rem 0 .2rem .9rem; }
.form__status:empty { display: none; }

/* ---------- Footer: quiet close ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); padding-block: 2.5rem 2rem; font-size: var(--fs-small); color: var(--muted); }
.footer__top { display: grid; gap: 1.25rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer__nav a { text-decoration: none; color: var(--graphite); background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; padding-bottom: 2px; transition: background-size .35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .footer__nav a:hover { background-size: 100% 1px; } }
.footer__base { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .84rem; }
@media (min-width: 900px) { .footer__top { grid-template-columns: auto 1fr auto; align-items: center; gap: 2.5rem; } .footer__top .footer__meta { max-width: 42ch; } }

/* ---------- Mobile nav (collapsed menu only once JS is ready) ---------- */
@media (max-width: 899.98px) {
  :root { --header-h: 64px; }
  .wordmark__area, .wordmark__rule { display: none; }
  html:not(.js) .site-header .wrap { flex-wrap: wrap; height: auto; padding-block: .75rem; }
  html:not(.js) .nav { width: 100%; flex-wrap: wrap; gap: 1rem; }
  html:not(.js) .nav__list { gap: 1.25rem; }
  .js .nav-toggle { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .5rem .95rem; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: transparent; font: 500 .95rem var(--sans); color: var(--graphite); cursor: pointer; transition: transform .14s var(--ease-out); }
  .nav-toggle:active { transform: scale(0.97); }
  .nav-toggle__bars { width: 16px; height: 10px; position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s var(--ease-out), top .25s var(--ease-out); }
  .nav-toggle__bars::before { top: 1px; }
  .nav-toggle__bars::after { top: 7.5px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 4.25px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 4.25px; transform: rotate(-45deg); }
  .js .nav { position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49; height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 2rem; background: var(--ivory); padding: 1.5rem var(--gutter) 2.5rem; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .45s var(--ease-drawer), visibility 0s linear .45s; }
  .js .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s var(--ease-drawer), visibility 0s; }
  .js .nav__list { flex-direction: column; gap: 0; }
  .js .nav__list li { opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .4s var(--ease-out); }
  .js .nav.is-open .nav__list li { opacity: 1; transform: none; transition-delay: 80ms; }
  .js .nav.is-open .nav__list li:nth-child(2) { transition-delay: 130ms; }
  .js .nav.is-open .nav__list li:nth-child(3) { transition-delay: 180ms; }
  .js .nav__list a { display: block; padding-block: 1rem; font-family: var(--serif); font-size: var(--fs-2); line-height: 1.15; color: var(--graphite); border-bottom: 1px solid var(--line); }
  .js .nav__list a::after { display: none; }
  .js .nav__list a[aria-current="page"] { color: var(--olive-ink); font-style: italic; }
  .js .nav .btn { width: 100%; }
}
body.menu-open { overflow: hidden; }
@media (max-width: 380px) { .wordmark__name { font-size: 1.2rem; } }

/* ---------- Motion ----------
   headings: masked rise · images: clip reveal + settle · rows: lift in sequence ·
   scroll-linked (CSS only, where supported): image drift, olive block widening, steps progress. */
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: settle 1.6s var(--ease-out) both; }
  .hero [data-enter] { animation: lift .8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 400ms); }
  .hero .mask > span { animation: rise 1s var(--ease-out) both; animation-delay: .25s; }
  .opener [data-enter] { animation: lift .7s var(--ease-out) both; animation-delay: .1s; }

  .js [data-reveal="text"] { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal="text"].is-in { opacity: 1; transform: none; }
  .js [data-reveal="mask"] .mask > span { transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal="mask"].is-in .mask > span { transform: none; }
  .js [data-reveal="image"] img { clip-path: inset(100% 0 0 0); scale: 1.06; transition: clip-path 1.2s var(--ease-drawer), scale 1.6s var(--ease-out); }
  .js [data-reveal="image"].is-in img { clip-path: inset(0 0 0 0); scale: 1; }
  .js [data-reveal="rows"] > li { opacity: 0; translate: 0 12px; transition: opacity .6s var(--ease-out), translate .6s var(--ease-out); }
  .js [data-reveal="rows"].is-in > li { opacity: 1; translate: 0 0; }
  .js [data-reveal="rows"].is-in > li:nth-child(2) { transition-delay: 90ms; }
  .js [data-reveal="rows"].is-in > li:nth-child(3) { transition-delay: 180ms; }
  .js [data-reveal="rows"].is-in > li:nth-child(4) { transition-delay: 270ms; }

  @supports (animation-timeline: view()) {
    .modes__media img, .about__media img { animation: drift linear both; animation-timeline: view(); }
    .approach { animation: widen linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    .steps__fill { animation: fill linear both; animation-timeline: view(); animation-range: entry 70% cover 65%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  /* Reduced motion: content is visible immediately, no scroll-gated reveals. */
  .js [data-reveal], .js [data-reveal] > li, .js [data-reveal] img, .js [data-reveal] .mask > span { opacity: 1; transform: none; translate: none; clip-path: none; scale: none; transition: none; }
  .btn:active, .choice:active span, .nav-toggle:active { transform: none; }
  .js .nav, .js .nav.is-open { transition: none; }
  .js .nav__list li { opacity: 1; transform: none; transition: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
@keyframes lift { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes settle { from { scale: 1.06; } to { scale: 1; } }
@keyframes drift { from { transform: scale(1.1) translateY(-3%); } to { transform: scale(1.1) translateY(3%); } }
@keyframes widen { from { clip-path: inset(0 var(--gutter) round 12px); } to { clip-path: inset(0 0 round 0); } }
@keyframes fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.site-footer :focus-visible, .approach :focus-visible, .availability :focus-visible { outline-color: var(--ivory); }
.site-footer :focus-visible { outline-color: var(--olive-deep); }
/* Modality symbols: restrained geometric marks (a point = the room in Santiago; a ring = at a distance). */
.mode__icon i { display: block; border-radius: 50%; }
.mode__icon .dot { width: .5rem; height: .5rem; background: var(--olive-deep); }
.mode__icon .ring { width: .8rem; height: .8rem; border: 1.5px solid var(--olive-deep); }
.split__head .lead, .split__head .body { margin-top: 1.25rem; }
@media (min-width: 1024px) { .hero h1 { max-width: 15.5ch; } }
.availability h2 { max-width: 18ch; }
@media (min-width: 960px) { .availability { grid-template-columns: 1.15fr 1fr; } .availability > .actions { grid-column: 2; } }
