/* Sai da Rotina
   Two worlds on one page: the routine (grey, rigid, the visitor's own system
   font, like the calendar on their phone) and the space (greens from the
   logo and the bamboo wall, Newsreader, Caveat for handwritten names and
   notes, as on the team's own cards). */

@font-face { font-family: 'Newsreader'; src: url('/fonts/newsreader.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/fonts/newsreader-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('/fonts/caveat.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

@property --gl { syntax: '<color>'; inherits: true; initial-value: rgb(255 255 255 / .09); }

:root {
  --forest: #163a2c;
  --forest-2: #1d4636;
  --leaf: #2e6b34;
  --leaf-2: #24572a;
  --sage: #c4dfb4;
  --sage-2: #e3efdb;
  --mist: #f3f6f0;
  --paper: #fff;
  --ink: #17251e;
  --ink-2: #4b5b52;
  --line: #d4ddd0;
  --routine: #eceef1;
  --routine-block: #d3d7dc;
  --routine-ink: #545b63;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
  --ui: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --wrap: 74rem;
  --focus: #7fb069;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 1.125rem/1.6 var(--serif); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.08; letter-spacing: -0.012em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1rem; text-wrap: pretty; }
a { color: var(--leaf); text-underline-offset: .18em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -999px; top: .75rem; z-index: 100; background: #fff; color: var(--forest); padding: .6rem 1rem; border-radius: 8px; font-family: var(--ui); }
.skip:focus { left: .75rem; }

/* ---- buttons --------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.9rem; padding: .7rem 1.35rem; border-radius: 99px; border: 1.5px solid transparent; background: var(--leaf); color: #fff; font: 600 1rem/1.1 var(--ui); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, transform .1s; -webkit-tap-highlight-color: transparent; }
.btn:hover { background: var(--forest); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; background: var(--ink-2); }
.btn-light { background: #fff; color: var(--forest); }
.btn-light:hover { background: var(--sage); }
.btn-sage { background: var(--sage); color: var(--forest); }
.btn-sage:hover { background: #d7ebcb; }
.btn-line { background: transparent; color: var(--leaf); border-color: currentColor; }
.btn-line:hover { background: var(--sage-2); }
.btn-sm { min-height: 2.4rem; padding: .45rem 1rem; font-size: .92rem; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--leaf); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.link-light { color: #fff; font-family: var(--ui); font-weight: 600; font-size: 1rem; }

/* ---- header ---------------------------------------------------------- */
.top { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 1.5rem; padding: .85rem var(--pad); color: #fff; transition: background-color .3s, color .3s, box-shadow .3s, opacity .6s; }
.top.solid { background: rgb(243 246 240 / .92); color: var(--forest); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.brand { display: block; color: inherit; line-height: 0; }
.logo { height: 2.7rem; width: auto; fill: currentColor; }
.top .logo { height: 2.5rem; }
.top.solid .brand { color: var(--leaf); }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { color: inherit; text-decoration: none; font-size: 1.05rem; padding: .3rem 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .25s; }
.nav a:hover { background-size: 100% 1.5px; }
.top-cta { margin-left: 0; }
.top:not(.solid) .top-cta { background: #fff; color: var(--forest); }
.top:not(.solid) .top-cta:hover { background: var(--sage); }
.menu-btn { display: none; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-btn span { display: block; width: 1.3rem; height: 2px; background: currentColor; border-radius: 2px; }

/* ---- hero ------------------------------------------------------------ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--forest); overflow: hidden; isolation: isolate; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgb(10 30 22 / .55) 0%, rgb(10 30 22 / 0) 20%, rgb(10 30 22 / 0) 42%, rgb(10 30 22 / .82) 100%),
              linear-gradient(90deg, rgb(10 30 22 / .45) 0%, rgb(10 30 22 / 0) 60%); }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 80rem; margin: 0 auto; padding: 8rem var(--pad) clamp(2rem, 5vh, 3.5rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem 3.5rem; transition: opacity .9s ease, transform .9s ease; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.9rem); line-height: 1.0; letter-spacing: -0.022em; font-weight: 450; margin-bottom: 1.1rem; text-wrap: initial; }
.hero h1 span { display: block; text-wrap: balance; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; max-width: 36ch; color: rgb(255 255 255 / .92); margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin: 0; }

.next { width: min(23rem, 100%); }
.next-hand { font: 600 1.7rem/1 var(--hand); color: var(--sage); margin: 0 0 .45rem .3rem; transform: rotate(-3deg); transform-origin: left; }
.next-block { position: relative; background: rgb(46 107 52 / .96); border-left: 5px solid var(--sage); border-radius: 12px; padding: 1.05rem 1.2rem 1.2rem 1.25rem; box-shadow: 0 24px 60px -24px rgb(0 0 0 / .6); }
.next-when { font: 600 .92rem/1.2 var(--ui); color: rgb(255 255 255 / .85); margin: 0 0 .35rem; }
.next-title { font-size: 1.75rem; line-height: 1.08; margin-bottom: .45rem; }
.next-meta { font-size: 1.02rem; line-height: 1.4; color: rgb(255 255 255 / .9); margin-bottom: 1rem; }

/* The week. Final state (and without JavaScript): empty, only faint lines. */
.week { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; padding: 4.9rem clamp(.4rem, 2vw, 2rem) 1.25rem; font-family: var(--ui); color: rgb(255 255 255 / .55); pointer-events: none; --gut: 2.6rem; transition: background-color 1.1s ease, color 1.1s ease, --gl 1.1s ease; }
.wk-top { display: none; }
.wk-head { display: grid; grid-template-columns: var(--gut) repeat(7, 1fr); padding-bottom: .5rem; }
.wk-day { display: flex; flex-direction: column; align-items: center; gap: .1rem; font-size: .72rem; }
.wk-day b { font-size: 1.05rem; font-weight: 600; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; }
.wk-grid { flex: 1; display: grid; grid-template-columns: var(--gut) 1fr; min-height: 0; }
.wk-hours { position: relative; }
.wk-hours { opacity: .7; }
.intro .wk-hours { opacity: 1; }
.wk-hours span { position: absolute; top: calc(var(--h) * 100% / 14); right: .5rem; transform: translateY(-50%); font-size: .68rem; }
.wk-body { position: relative;
  background: repeating-linear-gradient(to bottom, var(--gl) 0 1px, transparent 1px calc(100% / 14)),
              repeating-linear-gradient(to right, var(--gl) 0 1px, transparent 1px calc(100% / 7)); }
.rb { position: absolute; left: calc(var(--d) * 100% / 7 + 3px); width: calc(100% / 7 - 6px); top: calc(var(--s) * 100% / 14 + 2px); height: calc(var(--l) * 100% / 14 - 4px);
  display: none; overflow: hidden; padding: .3rem .45rem; border-radius: 6px; border-left: 3px solid #9aa2aa; background: var(--routine-block); color: #3c434a; font-size: .76rem; line-height: 1.2; }
.rb b { font-weight: 600; }
.rb .g-to { display: none; }

/* Intro: html.intro is set by boot.js before first paint, app.mjs plays it. */
.intro .top { opacity: 0; }
.intro .hero-inner { opacity: 0; transform: translateY(14px); }
.intro .week { background-color: var(--routine); color: var(--routine-ink); --gl: rgb(0 0 0 / .07); }
.intro .wk-top { display: flex; align-items: center; justify-content: space-between; padding: 0 0 .9rem calc(var(--gut) + .4rem); font-size: 1.35rem; font-weight: 700; color: #2f353b; margin-top: -2.6rem; }
.wk-view { font-size: .8rem; font-weight: 600; border: 1px solid #c3c8ce; border-radius: 6px; padding: .2rem .6rem; color: var(--routine-ink); }
.intro .wk-day.is-today b { background: #3c434a; color: #fff; }
.intro .rb { display: block; }
.hero.clearing .week { background-color: transparent; color: rgb(255 255 255 / .55); --gl: rgb(255 255 255 / .09); }
.hero.clearing .wk-top { opacity: 0; transition: opacity .4s; }
.hero.clearing .wk-day.is-today b { background: transparent; color: inherit; transition: background-color .6s, color .6s; }
.hero.falling .rb:not(.rb-ghost) { transform: translate(var(--dx, 0), 118vh) rotate(var(--rot, 0deg)); opacity: 0;
  transition: transform 1.3s cubic-bezier(.5, .02, .82, .4) var(--delay, 0s), opacity .45s ease-in calc(var(--delay, 0s) + .8s); }
.rb-ghost { transition: background-color .5s ease, color .5s ease, border-color .5s ease; }
.hero.landed .rb-ghost { background: var(--leaf); color: #fff; border-left-color: var(--sage); }
.hero.landed .rb-ghost .g-from { display: none; }
.hero.landed .rb-ghost .g-to { display: inline; }
.flyer { position: fixed; z-index: 45; background: var(--leaf); border-left: 5px solid var(--sage); border-radius: 12px; transform-origin: 0 0; pointer-events: none; box-shadow: 0 24px 60px -24px rgb(0 0 0 / .6); }

/* ---- sections -------------------------------------------------------- */
.sec { padding-block: clamp(4.5rem, 9vw, 8rem); }
.sec-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); margin-bottom: .9rem; }
.sec-head > p { font-size: 1.18rem; color: var(--ink-2); max-width: 46ch; }
.who { display: flex; align-items: center; gap: .55rem; margin: 0; }
.who-faces { display: flex; padding-left: 8px; }
.av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; margin-left: -8px; border: 2px solid var(--mist); background: var(--sage-2); }
.av-mono { display: inline-grid; place-items: center; background: var(--sage); color: var(--forest); font: 700 .78rem/1 var(--ui); }
.who-names { font: 600 1.35rem/1 var(--hand); color: var(--leaf); }

/* Por onde começar */
.sec-needs { background: var(--mist); }
.needs-wrap { display: grid; grid-template-columns: minmax(0, 23rem) minmax(0, 1fr); gap: 2rem 5rem; align-items: start; }
.needs-wrap .sec-head { position: sticky; top: 6rem; }
.needs { display: flex; flex-direction: column; gap: .3rem; margin-top: 2rem; }
.needs button { display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; padding: .8rem 1rem; border: 0; border-radius: 12px; background: transparent; font: 500 1.16rem/1.25 var(--serif); color: var(--ink); cursor: pointer; transition: background-color .2s; }
.needs button:hover { background: var(--sage-2); }
.needs button[aria-selected='true'] { background: var(--sage); color: var(--forest); }
.needs small { font: 600 .8rem var(--ui); color: var(--ink-2); }
.therapies { list-style: none; margin: 0; padding: 0; }
.therapy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem 2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.therapy:first-child { border-top: 0; padding-top: .4rem; }
.therapy h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.therapy p { color: var(--ink-2); max-width: 54ch; margin-bottom: .7rem; }
.t-act { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: .5rem; }
.t-meta { font: .88rem var(--ui); color: var(--ink-2); margin: 0; }
.needs-help { margin: 1.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-2); }
.needs-panel.swap .therapy { animation: rise .35s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* Agenda */
.sec-agenda { background: var(--paper); }
.agenda { margin-top: 2.5rem; }
.month { font-size: 1.7rem; font-style: italic; color: var(--leaf); margin: 0 0 .5rem; }
.events { list-style: none; margin: 0 0 3rem; padding: 0; }
.ev { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) 15rem; gap: 1rem 2rem; padding: 1.7rem 0; border-top: 1px solid var(--line); }
.ev:target { background: linear-gradient(90deg, var(--sage-2), transparent 70%); }
.ev-date { display: flex; flex-direction: column; align-items: center; margin: 0; font-family: var(--ui); line-height: 1; color: var(--ink-2); font-size: .9rem; }
.ev-date b { font: 500 2.6rem/1 var(--serif); color: var(--forest); margin-top: .25rem; }
.ev-time { font: 600 .92rem var(--ui); color: var(--ink-2); margin: 0 0 .3rem; }
.ev h4 { font-size: 1.6rem; margin-bottom: .5rem; }
.tag { display: inline-block; font: 600 .8rem var(--ui); background: var(--sage-2); color: var(--forest); padding: .2rem .65rem; border-radius: 99px; }
.ev-about { color: var(--ink-2); max-width: 58ch; }
.ev-side { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.ev-price { font-weight: 600; margin: 0; }
.ev-places { display: flex; flex-direction: column; gap: .35rem; }
.dots { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--leaf); }
.dots i.on { background: var(--leaf); }
.slots { display: flex; flex-direction: column; gap: .3rem; }
.slot { display: grid; grid-template-columns: 2.9rem auto 1fr; gap: .55rem; align-items: center; margin: 0; font: .85rem var(--ui); }
.slot-left { color: var(--ink-2); }
.ev-left { font: .88rem var(--ui); color: var(--ink-2); margin: 0; }
.empty { color: var(--ink-2); }
.js .agenda:not(.open) .extra { display: none; }
.more-dates { margin-top: -1rem; }

/* Equipa */
.sec-team { background: var(--mist); }
.team { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 2.4rem 1.2rem; }
.member { width: 100%; display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .5rem; border: 0; background: none; text-align: center; cursor: pointer; border-radius: 16px; }
.m-photo { width: 8.6rem; height: 8.6rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--mist), 0 0 0 7px #64a058; margin-bottom: .7rem; transition: transform .3s ease; background: var(--sage-2); }
.m-photo.av-mono { font: 500 2.4rem/1 var(--serif); }
.member:hover .m-photo { transform: rotate(-4deg) scale(1.02); }
.m-name { font: 700 1.7rem/1 var(--hand); color: var(--leaf); }
.m-role { font-size: .98rem; line-height: 1.3; color: var(--ink-2); max-width: 17ch; }

/* Words */
.sec-words { background: var(--sage-2); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.words { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 3rem; }
.words blockquote { margin: 0; }
.words blockquote p { font-size: 1.25rem; line-height: 1.45; font-style: italic; color: var(--forest); margin-bottom: .7rem; }
.cite { font: 600 .85rem var(--ui); color: var(--ink-2); margin: 0; }

/* O espaço */
.sec-space { background: var(--paper); }
.space { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem 5rem; align-items: center; }
.founder { margin: 0; position: relative; }
.founder img { border-radius: 18px; width: 100%; max-height: 40rem; object-fit: cover; object-position: 50% 20%; background: var(--sage-2); }
.founder figcaption { position: absolute; left: 1.2rem; bottom: 1rem; font: 700 1.7rem/1 var(--hand); color: var(--forest); background: rgb(255 255 255 / .85); padding: .35rem .8rem .45rem; border-radius: 10px; transform: rotate(-2deg); }
.space-text h2 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); margin-bottom: 1.6rem; }
.pull { margin: 0 0 1.6rem; padding-left: 1.3rem; border-left: 3px solid var(--sage); }
.pull p { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; font-style: italic; color: var(--forest); }
.space-text > p { color: var(--ink-2); max-width: 54ch; }
.gallery { --edge: max(var(--pad), calc((100% - var(--wrap)) / 2 + var(--pad))); display: flex; gap: 1rem; overflow-x: auto; padding: 3.5rem var(--edge) .5rem; scroll-padding-inline: var(--edge); scroll-snap-type: x proximity; scrollbar-width: thin; }
.gallery figure { margin: 0; flex: 0 0 auto; scroll-snap-align: start; }
.gallery img { height: clamp(15rem, 30vw, 23rem); width: auto; border-radius: 14px; object-fit: cover; background: var(--sage-2); }
.gallery figcaption { font: 600 1.3rem/1.2 var(--hand); color: var(--ink-2); margin-top: .45rem; }
.gallery:focus-visible { outline-offset: -3px; }

/* Oferecer */
.sec-gift { background: var(--forest); color: #edf3e8; }
.gift { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'intro card' 'form card'; gap: 0 5rem; align-items: center; }
.gift-intro { grid-area: intro; align-self: end; }
.gift-form, .gift-done { grid-area: form; align-self: start; }
.voucher-wrap { grid-area: card; }
.gift-intro h2 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); margin-bottom: .9rem; }
.gift-intro > p { color: rgb(237 243 232 / .85); max-width: 44ch; font-size: 1.15rem; }
.gift-story { font: 600 1.45rem/1.25 var(--hand); color: var(--sage) !important; margin: 1.4rem 0 2rem; transform: rotate(-1deg); }
.gift-form { max-width: 32rem; }
.sec-gift .field label, .sec-gift .field legend { color: #edf3e8; }
.sec-gift .field small { color: rgb(237 243 232 / .65); }
.sec-gift input:not([type='radio']), .sec-gift select, .sec-gift textarea { background: rgb(255 255 255 / .07); border-color: rgb(255 255 255 / .28); color: #fff; }
.sec-gift select option { color: var(--ink); }
.sec-gift input::placeholder, .sec-gift textarea::placeholder { color: rgb(255 255 255 / .45); }
.sec-gift .chips span, .sec-gift .seg span { background: transparent; border-color: rgb(255 255 255 / .35); color: #fff; }
.sec-gift .chips input:checked + span, .sec-gift .seg input:checked + span { background: var(--sage); border-color: var(--sage); color: var(--forest); }
.sec-gift .fine { color: rgb(237 243 232 / .7); }
.sec-gift .field select, .sec-gift .g-values { margin-top: .6rem; }
.g-other { width: 6rem !important; }
.gift-done { max-width: 32rem; }
.gift-done p { color: rgb(237 243 232 / .88); }
.gift-done .gift-story { font-size: 2.2rem; margin: 0 0 .6rem; }
.voucher-wrap { display: grid; place-items: center; padding: 1rem; }
.voucher { position: relative; width: min(25rem, 100%); aspect-ratio: 4 / 5; background: #eaf3e3; color: var(--forest); border-radius: 14px; padding: 2rem 1.9rem 1.6rem; transform: rotate(-2.5deg); box-shadow: 0 40px 70px -30px rgb(0 0 0 / .65); display: flex; flex-direction: column; }
.voucher::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgb(46 107 52 / .45); border-radius: 9px; pointer-events: none; }
.v-logo { color: var(--leaf); }
.v-logo .logo { height: 2.6rem; }
.v-kind { font: 600 .85rem var(--ui); color: var(--ink-2); margin: 1.6rem 0 .2rem; }
.v-to { font: 700 2.5rem/1.05 var(--hand); margin: 0 0 .7rem; overflow-wrap: anywhere; }
.v-what { font-size: 1.55rem; line-height: 1.15; margin: 0 0 .9rem; }
.v-msg { font: 600 1.45rem/1.2 var(--hand); color: var(--leaf); margin: 0 0 .5rem; overflow-wrap: anywhere; }
.v-from { font: 600 1.3rem/1.2 var(--hand); color: var(--ink-2); margin: 0; }
.v-foot { margin: auto 0 0; font: .78rem/1.3 var(--ui); color: var(--ink-2); }
.voucher.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: rotate(-1.5deg) scale(1.015); } }

/* Como chegar */
.sec-visit { background: var(--mist); }
.visit { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: end; }
.visit h2 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); margin-bottom: 1.2rem; }
address { font-style: normal; font-size: 1.35rem; line-height: 1.35; margin-bottom: 1rem; }
address p { margin: 0; }
.hours { color: var(--ink-2); }
.visit-actions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: stretch; gap: .6rem; min-width: 17rem; }
.visit-actions .btn { width: 100%; }
.visit-actions .link { text-align: center; margin-top: .4rem; font-family: var(--ui); font-size: .95rem; }

/* Footer */
.foot { background: var(--forest-2); color: rgb(237 243 232 / .8); padding-block: 3rem 6rem; font-family: var(--ui); font-size: .92rem; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.foot .brand { color: var(--sage); }
.foot .logo { height: 2.3rem; }
.foot p { margin: 0; }
.foot a { color: #edf3e8; }
.foot-links { display: flex; gap: 1.5rem; }

/* Mobile action dock */
.dock { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: none; gap: .6rem; padding: .7rem var(--pad) calc(.7rem + env(safe-area-inset-bottom)); background: rgb(243 246 240 / .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--line); transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
.dock .btn { flex: 1; }
.dock .dock-wa { flex: 0 0 auto; }
.dock.on { transform: none; visibility: visible; }

/* ---- forms & sheets -------------------------------------------------- */
.field { margin: 0 0 1.05rem; padding: 0; border: 0; min-width: 0; }
.field label, .field legend, .field .label { display: block; padding: 0; font: 600 .93rem/1.3 var(--ui); margin-bottom: .45rem; color: var(--ink); }
.field small { font-weight: 400; color: var(--ink-2); }
input, select, textarea { width: 100%; font: 1rem/1.35 var(--ui); padding: .72rem .85rem; border: 1.5px solid #c5d0c1; border-radius: 10px; background: #fff; color: var(--ink); appearance: none; -webkit-appearance: none; }
select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 1.2rem) 55%, calc(100% - .85rem) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
textarea { resize: vertical; min-height: 3.2rem; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgb(127 176 105 / .55); outline-offset: 0; border-color: var(--leaf); }
input[aria-invalid='true'] { border-color: #b3261e; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.chips, .seg { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips label, .seg label { position: relative; margin: 0; }
.chips input, .seg input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chips span, .seg span { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .5rem 1rem; border-radius: 99px; border: 1.5px solid #c5d0c1; background: #fff; font: 500 .95rem/1 var(--ui); white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s; }
.chips input:checked + span, .seg input:checked + span { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.chips input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.chips input:disabled + span { opacity: .4; text-decoration: line-through; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid #c5d0c1; border-radius: 99px; overflow: hidden; }
.stepper button { width: 2.8rem; height: 2.6rem; border: 0; background: #fff; font: 600 1.3rem var(--ui); cursor: pointer; }
.stepper button:hover { background: var(--sage-2); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 2.4rem; text-align: center; font: 700 1.05rem var(--ui); }
.form-error { color: #8f1f17; font: 600 .95rem/1.35 var(--ui); background: #fbe9e7; padding: .65rem .85rem; border-radius: 10px; }
.fine { font: .86rem/1.4 var(--ui); color: var(--ink-2); margin: .65rem 0 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

dialog.sheet { border: 0; padding: 0; width: min(35rem, calc(100% - 2rem)); max-height: min(92vh, 54rem); background: var(--paper); color: var(--ink); border-radius: 20px; box-shadow: 0 40px 90px -30px rgb(0 0 0 / .5); overflow: hidden; }
dialog.sheet[open] { animation: sheet-in .28s ease-out; display: flex; }
dialog.sheet::backdrop { background: rgb(10 30 22 / .55); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px); } }
.sheet-in { display: flex; flex-direction: column; width: 100%; max-height: inherit; min-height: 0; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.35rem 1.4rem .5rem; }
.sheet-head h2 { font-size: 1.75rem; }
.sheet-kicker { font: 600 .9rem var(--ui); color: var(--leaf); margin: 0 0 .3rem; }
.x { flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; background: var(--mist); font: 400 1.6rem/1 var(--ui); cursor: pointer; }
.x:hover { background: var(--sage-2); }
.sheet-body { padding: .4rem 1.4rem 1rem; overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.sheet-sub { color: var(--ink-2); font-size: 1.02rem; }
.sheet-foot { padding: 1rem 1.4rem calc(1.2rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-foot .btn { width: 100%; }
.sheet-done { padding: 2.2rem 1.6rem calc(1.6rem + env(safe-area-inset-bottom)); text-align: center; align-items: center; }
.done-mark { width: 4.2rem; height: 4.2rem; border-radius: 50%; background: var(--sage); color: var(--forest); display: grid; place-items: center; margin: 0 auto 1rem; }
.sheet-done h2 { font-size: 1.9rem; margin-bottom: .7rem; }
.sheet-done p { color: var(--ink-2); max-width: 32ch; margin-inline: auto; }
.done-actions { display: flex; flex-direction: column; gap: .6rem; width: 100%; max-width: 20rem; margin: 1.4rem auto 0; }

.sheet-member { width: min(44rem, calc(100% - 2rem)); }
.member-card { text-align: center; padding-bottom: 1.8rem; }
.mc-stage { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem; margin: 0 auto 1.4rem; max-width: 36rem; }
.mc-photo { width: 10.5rem; height: 10.5rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px #fff, 0 0 0 9px #64a058; margin: .8rem 1.2rem; order: 3; }
.mc-photo.av-mono { font: 500 3rem/1 var(--serif); }
.note { font: 400 .92rem/1.3 var(--serif); border: 1.5px dotted #6b6b6b; border-radius: 6px; padding: .35rem .6rem; background: #fff; max-width: 13rem; transform: rotate(var(--t, 0deg)); }
.mc-name { font: 700 2.6rem/1 var(--hand); color: var(--leaf); margin: 0 0 .2rem; }
.mc-role { font: 600 .85rem var(--ui); color: var(--ink-2); margin-bottom: 1rem; }
.mc-about { max-width: 46ch; margin: 0 auto 1.2rem; }
.mc-therapies { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-bottom: 1.4rem; }
.mc-therapies button { border: 1.5px solid var(--line); background: var(--mist); border-radius: 99px; padding: .45rem .9rem; font: 500 .9rem var(--ui); cursor: pointer; }
.mc-therapies button:hover { border-color: var(--leaf); }
.mc-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .8rem 1.4rem; }
.mc-actions .link { font-family: var(--ui); font-size: .95rem; }

.sheet-menu { width: min(24rem, calc(100% - 2rem)); }
.menu-links { display: flex; flex-direction: column; padding: .5rem 1.4rem 2rem; }
.menu-links a { font-size: 1.7rem; color: var(--forest); text-decoration: none; padding: .55rem 0; border-bottom: 1px solid var(--line); }

.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: 2.4rem; margin-bottom: 1.5rem; }

/* ---- responsive ------------------------------------------------------ */
@media (max-width: 1060px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .top-cta { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-top: 7rem; }
  .next { width: min(26rem, 100%); }
  .needs-wrap, .space, .gift, .visit { grid-template-columns: minmax(0, 1fr); }
  .needs-wrap .sec-head { position: static; }
  .needs { flex-direction: row; overflow-x: auto; scroll-snap-type: x proximity; margin: 1.6rem calc(var(--pad) * -1) 0; padding: 0 var(--pad) .4rem; scrollbar-width: none; }
  .needs::-webkit-scrollbar { display: none; }
  .needs button { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; border: 1.5px solid var(--line); border-radius: 99px; padding: .6rem 1rem; font-size: 1.02rem; }
  .needs button[aria-selected='true'] { border-color: var(--sage); }
  .words { grid-template-columns: 1fr; }
  .founder { max-width: 28rem; }
  .gift { grid-template-areas: 'intro' 'card' 'form'; }
  .voucher-wrap { margin: 0 0 1.5rem; }
  .visit-actions { min-width: 0; }
}
@media (max-width: 760px) {
  body { font-size: 1.07rem; }
  .dock { display: flex; }
  .top { padding-block: .7rem; gap: .8rem; }
  .top .logo { height: 2.15rem; }
  .ev { grid-template-columns: 3.3rem minmax(0, 1fr); gap: .8rem 1rem; }
  .ev-side { grid-column: 2; }
  .ev-date b { font-size: 2.1rem; }
  .therapy { grid-template-columns: 1fr; }
  .t-act { flex-direction: row; justify-content: space-between; align-items: center; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem .6rem; }
  .m-photo { width: 7.4rem; height: 7.4rem; }
  .gallery img { height: 15rem; }
  .field-row { grid-template-columns: 1fr; }
  dialog.sheet { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 20px 20px 0 0; max-height: 94vh; max-height: 94dvh; }
  .sheet-member, .sheet-menu { width: 100%; }
  .week { --gut: 1.6rem; padding-inline: .25rem; }
  .wk-hours span { font-size: .58rem; right: .2rem; }
  .rb { font-size: .58rem; padding: .2rem .25rem; border-left-width: 2px; left: calc(var(--d) * 100% / 7 + 1.5px); width: calc(100% / 7 - 3px); }
  .rb b { display: none; }
  .wk-day b { font-size: .9rem; width: 1.6rem; height: 1.6rem; }
  .intro .wk-top { font-size: 1.1rem; }
  .mc-stage .note:nth-child(n + 5) { display: none; }
  .foot { padding-bottom: 7rem; }
}
@media (max-width: 400px) {
  .top-cta { padding-inline: .8rem; font-size: .85rem; }
  .hero h1 { font-size: 2.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
