/* Casa del Arte guest guide
   Palette taken from the Casa del Arte welcome guide: cream paper, olive,
   terracotta and deep brown ink. Signature motif: the arch, echoing the
   doorways and windows of old Nicaraguan houses. */

:root {
  --mist: #F7F3EA;          /* page background: cream paper */
  --surface: #FFFDF8;       /* cards */
  --surface-2: #EDE6D6;     /* quiet fills */
  --ink: #3A2E27;           /* main text: deep brown */
  --ink-soft: #75685F;
  --line: #E3DACA;
  --olive: #5F5A37;         /* headings and structure */
  --terracotta: #AE5B4E;    /* main accent and buttons */
  --terracotta-ink: #FFFFFF;
  --gold: #C9A45C;          /* focus rings */
  --wa: #3F7A4E;            /* WhatsApp, muted to sit with the palette */
  --vault: #3A2E27;
  --tint-clay: #EFD8CC;
  --tint-olive: #E2DFC6;
  --tint-sand: #EDE3CF;
  --tint-rose: #EBD3CC;
  --tint-stone: #E4DDD1;

  --display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Karla", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --pad: clamp(20px, 5vw, 32px);
  --tabbar-h: 64px;

  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --mist: #1E1915; --surface: #28211C; --surface-2: #332A24; --ink: #F1EADD; --ink-soft: #B9AC9F; --line: #3D332C;
    --olive: #BDB585; --terracotta: #D9806F; --terracotta-ink: #22140F; --wa: #5DAA70; --vault: #2F2621;
    --tint-clay: #44302A; --tint-olive: #37352A; --tint-sand: #3C3328; --tint-rose: #44302E; --tint-stone: #37302A;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --mist: #1E1915; --surface: #28211C; --surface-2: #332A24; --ink: #F1EADD; --ink-soft: #B9AC9F; --line: #3D332C;
  --olive: #BDB585; --terracotta: #D9806F; --terracotta-ink: #22140F; --wa: #5DAA70; --vault: #2F2621;
  --tint-clay: #44302A; --tint-olive: #37352A; --tint-sand: #3C3328; --tint-rose: #44302E; --tint-stone: #37302A;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--mist); color: var(--ink);
  font: 400 17px/1.6 var(--body);
  padding-bottom: calc(var(--tabbar-h) + 24px);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--mist); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.noscript { padding: 24px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Boot ---------- */
.boot { min-height: 80vh; display: grid; place-items: center; }
.boot__name { font: 600 26px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; opacity: .55; }
.boot__error { max-width: 32ch; text-align: center; color: var(--ink-soft); }

/* ---------- Photos & placeholders ---------- */
.photo { position: relative; overflow: hidden; background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--missing { display: grid; place-items: center; text-align: center; }
.photo__ph { padding: 16px; color: var(--ink-soft); font-size: 13px; line-height: 1.4; }
.photo__ph strong { display: block; font-weight: 700; color: var(--ink); font-size: 14px; }
.photo__ph code { font-family: inherit; opacity: .8; word-break: break-all; }
.photo__emoji { font-size: 44px; line-height: 1; }
.tint-clay { background: var(--tint-clay); }
.tint-olive { background: var(--tint-olive); }
.tint-sand { background: var(--tint-sand); }
.tint-rose { background: var(--tint-rose); }
.tint-stone { background: var(--tint-stone); }

/* ---------- Language switch ---------- */
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgb(0 0 0 / .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lang button { border: 0; background: none; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; padding: 6px 11px; border-radius: 999px; cursor: pointer; min-width: 40px; }
.lang button[aria-pressed="true"] { background: #fff; color: #3A2E27; }
.lang--plain { background: var(--surface-2); backdrop-filter: none; }
.lang--plain button { color: var(--ink-soft); }
.lang--plain button[aria-pressed="true"] { background: var(--ink); color: var(--mist); }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: min(76vh, 700px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate; }
.hero > .photo { position: absolute; inset: 0; z-index: -2; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.hero > .photo.photo--missing { background: linear-gradient(165deg, #7A6F4A 0%, #5F5A37 40%, #3A2E27 100%); }
.hero > .photo.photo--missing .photo__ph { color: rgb(255 255 255 / .6); align-self: start; margin-top: 90px; }
.hero > .photo.photo--missing .photo__ph strong { color: rgb(255 255 255 / .85); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 0 0 var(--r-lg) var(--r-lg);
  background: linear-gradient(to top, rgb(40 30 24 / .78) 0%, rgb(40 30 24 / .25) 45%, rgb(40 30 24 / 0) 70%, rgb(40 30 24 / .3) 100%); }
.hero__top { position: absolute; top: 16px; right: var(--pad); left: var(--pad); display: flex; justify-content: flex-end; }
.hero__text { padding: 0 var(--pad) clamp(28px, 7vw, 48px); max-width: 760px; width: 100%; margin: 0 auto; }
.hero__pre { font: italic 500 24px/1.2 var(--display); margin: 0 0 6px; opacity: .95; }
.hero__name { font: 600 clamp(44px, 13vw, 84px)/1 var(--display); margin: 0; text-transform: uppercase; letter-spacing: .14em; margin-right: -.14em; }
.hero__rule { width: 120px; height: 1px; background: rgb(255 255 255 / .7); margin: 18px 0 0; position: relative; }
.hero__rule::after { content: ""; position: absolute; left: 50%; top: -2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #fff; }
.hero__loc { margin: 14px 0 0; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; opacity: .9; }

@media (prefers-reduced-motion: no-preference) {
  .hero__pre, .hero__name, .hero__rule, .hero__loc { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero__name { animation-delay: .08s; }
  .hero__loc, .hero__rule { animation-delay: .22s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

.welcome { font-size: 19px; line-height: 1.65; margin: 32px 0 0; max-width: 36em; }

/* ---------- Quick actions ---------- */

/* ---------- Groups & tiles ---------- */
.group { margin-top: 44px; }
.group h2 { font: 700 21px/1.2 var(--display); text-transform: uppercase; letter-spacing: .22em; color: var(--olive); margin: 0 0 20px; padding-bottom: 10px; position: relative; }
.group h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 1.5px; background: var(--terracotta); }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { text-decoration: none; display: block; }
.tile .photo { aspect-ratio: 4 / 5; border-radius: 50% 50% var(--r-md) var(--r-md) / 34% 34% var(--r-md) var(--r-md); }
.tile__label { display: flex; gap: 7px; align-items: baseline; margin-top: 10px; font-weight: 700; font-size: 16px; line-height: 1.25; }
.tile__label span { font-size: 15px; }
.tile:active .photo { transform: scale(.985); }
.tile .photo { transition: transform .2s ease; }
.tiles--solo { grid-template-columns: 1fr; }
.tiles--solo .photo { aspect-ratio: 16 / 10; border-radius: 50% 50% var(--r-md) var(--r-md) / 22% 22% var(--r-md) var(--r-md); }

.home-foot { margin: 64px 0 0; text-align: center; color: var(--ink-soft); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.home-foot p { margin: 0; }
.home-foot__msg { font: italic 500 22px/1.4 var(--display); letter-spacing: 0; text-transform: none; color: var(--ink); max-width: 30ch; margin: 0 auto 28px !important; }
.home-foot__name { font: 700 18px/1.3 var(--display); letter-spacing: .24em; color: var(--olive); margin-bottom: 4px !important; }

/* ---------- Section page ---------- */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--mist) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 58px; }
.backlink { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 12px 8px 6px; margin-left: -6px; border-radius: 999px; }
.backlink svg { width: 20px; height: 20px; }

.sec-hero { margin-top: 6px; }
.sec-hero .photo { aspect-ratio: 5 / 4; border-radius: 50% 50% var(--r-lg) var(--r-lg) / 30% 30% var(--r-lg) var(--r-lg); }
@media (min-width: 640px) { .sec-hero .photo { aspect-ratio: 16 / 9; } }
.sec-title { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 0; }
.sec-hero + .sec-title { margin-top: 26px; }
.sec-title h1 { font: 600 clamp(40px, 11vw, 60px)/1 var(--display); color: var(--ink); margin: 0; }
.sec-title span { font-size: 28px; }
.sec-intro { font-size: 18px; margin: 16px 0 0; max-width: 36em; color: var(--ink); }
.sec-intro p { margin: 0 0 12px; }

.block { margin-top: 30px; }
.block h3 { font: 700 18px/1.2 var(--display); text-transform: uppercase; letter-spacing: .2em; color: var(--olive); margin: 0 0 16px; padding-bottom: 8px; position: relative; }
.block h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 52px; height: 1.5px; background: var(--terracotta); }
.rich p { margin: 0 0 12px; }
.rich p:last-child { margin-bottom: 0; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: transparent; text-decoration: none; font-weight: 700; font-size: 15px; cursor: pointer; line-height: 1.2; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--terracotta); border-color: var(--terracotta); color: var(--terracotta-ink); }
.btn--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn--sm { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn:active { transform: scale(.98); }
.btns--primary .btn--primary { flex: 1 1 100%; min-height: 54px; font-size: 16px; }

/* Notice */
.notice { padding: 16px 18px; border-radius: var(--r-md); background: var(--tint-olive); border-left: 3px solid var(--olive); }
.notice--warn { background: var(--tint-clay); border-left-color: var(--terracotta); }

/* Steps (a real sequence, so numbered) */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 0 18px 46px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--olive); color: var(--mist); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 14.5px; top: 34px; bottom: 4px; width: 1px; background: var(--line); }

/* Accordion */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 17px 36px 17px 0; position: relative; font-weight: 700; font-size: 17px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: rotate(45deg); transition: transform .2s ease; }
.acc details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.acc .acc__body { padding: 0 0 20px; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .acc details[open] .acc__body { animation: open .25s ease; }
  @keyframes open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}

/* Facts */
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.fact { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.fact + .fact { border-top: 1px solid var(--line); }
.fact__text { flex: 1; min-width: 0; }
.fact__label { font-size: 13px; color: var(--ink-soft); }
.fact__value { font-weight: 700; font-size: 18px; overflow-wrap: anywhere; }

/* Place cards */
.cards { display: grid; gap: 18px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.card .photo { aspect-ratio: 16 / 10; }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__name { font: 600 26px/1.1 var(--display); margin: 0; }
.card__dist { font-size: 14px; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.card__dist svg { width: 15px; height: 15px; }
.card__desc { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); }
.card .btns { margin-top: auto; padding-top: 6px; }

/* Contacts */
.contacts { display: grid; gap: 12px; }
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; }
.contact__name { font-weight: 700; font-size: 17px; }
.contact__role { color: var(--ink-soft); font-size: 15px; }
.contact__note { font-size: 15px; margin-top: 6px; }
.contact .btns { margin-top: 12px; }
.contact--compact { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.contact--compact .btns { margin-top: 0; }

/* Services */
.services { border-top: 1px solid var(--line); }
.service { padding: 16px 0; border-bottom: 1px solid var(--line); }
.service__row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.service__name { font: 600 23px/1.2 var(--display); }
.service__price { font-weight: 700; white-space: nowrap; }
.service__meta { color: var(--ink-soft); font-size: 14px; }
.service__desc { margin: 6px 0 0; }

/* Gallery */
.gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 8px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: 0 0 78%; scroll-snap-align: start; }
@media (min-width: 640px) { .gallery figure { flex-basis: 46%; } }
.gallery .photo { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
.gallery figcaption { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }

.help-foot { margin-top: 48px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.help-foot p { margin: 0 0 14px; font: 600 24px/1.2 var(--display); }

/* ---------- Check-in ---------- */
.vault { background: var(--vault); color: #F7F3EA; border-radius: var(--r-lg); padding: 26px 22px; position: relative; overflow: hidden; }
.vault h2 { font: 600 32px/1.1 var(--display); margin: 0 0 8px; }
.vault p { margin: 0; }
.vault .muted { opacity: .75; font-size: 15px; }
.pin-form { margin-top: 22px; display: grid; gap: 12px; }
.pin-form label { font-size: 14px; opacity: .8; }
.pin-input { width: 100%; font: 700 30px/1 var(--body); letter-spacing: .5em; text-align: center; padding: 16px 0 16px .5em;
  border-radius: var(--r-md); border: 1.5px solid rgb(255 255 255 / .25); background: rgb(255 255 255 / .08); color: inherit; }
.pin-input::placeholder { color: rgb(255 255 255 / .3); }
.pin-input:focus { outline: none; border-color: var(--gold); }
.vault .btn--primary { background: #AE5B4E; border-color: #AE5B4E; color: #fff; min-height: 54px; font-size: 16px; }
.vault-msg { font-size: 15px; padding: 12px 14px; border-radius: var(--r-sm); background: rgb(255 255 255 / .1); }
.vault-msg:empty { display: none; }
.vault-msg--bad { background: rgb(174 91 78 / .45); }
.vault__tip { margin-top: 14px !important; font-size: 14px; opacity: .7; }

.access-list { margin-top: 20px; display: grid; gap: 10px; }
.access-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid rgb(255 255 255 / .14); font-size: 15px; }
.access-row b { text-align: right; }
.code-card { background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .16); border-radius: var(--r-md); padding: 16px; }
.code-card__label { font-size: 14px; opacity: .8; }
.code-card__value { font: 700 36px/1.2 var(--body); letter-spacing: .14em; margin: 6px 0 12px; font-variant-numeric: tabular-nums; }
.code-card__wait { font-size: 16px; margin: 6px 0 0; }
.code-card__wait small { display: block; opacity: .7; font-size: 14px; margin-top: 2px; }
.code-card .btns .btn { border-color: rgb(255 255 255 / .6); color: inherit; }
.notes { margin-top: 18px; }
.notes h3 { font: 600 24px/1.2 var(--display); margin: 0 0 8px; }
.vault .lock-btn { margin-top: 20px; background: none; border: 0; color: inherit; opacity: .7; text-decoration: underline; cursor: pointer; padding: 6px 0; font-size: 14px; }
.demo-flag { display: inline-block; margin-bottom: 14px; background: #C9A45C; color: #3A2E27; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }

/* ---------- Tab bar ---------- */
.tabbar { position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 20; max-width: 520px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); height: var(--tabbar-h); border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); box-shadow: 0 10px 30px -12px rgb(58 46 39 / .35); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--ink); }
.tabbar a[aria-current="page"] svg { color: var(--terracotta); }
.tabbar a.is-wa svg { color: var(--wa); }

.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 26px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px);
  background: var(--ink); color: var(--mist); padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; opacity: 0; pointer-events: none; transition: .2s ease; z-index: 30; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* An odd tile out at the end of a group spans the full row, as a wide arch. */
@media (max-width: 639px) {
  .tiles > .tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .tiles > .tile:last-child:nth-child(odd) .photo { aspect-ratio: 16 / 9; border-radius: 50% 50% var(--r-md) var(--r-md) / 26% 26% var(--r-md) var(--r-md); }
}
.sec-hero--short .photo { aspect-ratio: 16 / 7; border-radius: 50% 50% var(--r-lg) var(--r-lg) / 40% 40% var(--r-lg) var(--r-lg); }

/* Diamond list, borrowed from the printed welcome guide */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.list li { position: relative; padding-left: 26px; }
.list li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 8px; height: 8px; background: var(--terracotta); transform: rotate(45deg); }
.list__title { display: block; font-weight: 700; margin-bottom: 2px; }
.fact__value--missing { color: var(--ink-soft); font-weight: 400; font-style: italic; }
.tile__label { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.15; }
.tile__label span { font-family: var(--body); }
.hero__name span { display: block; white-space: nowrap; }
@media (min-width: 720px) { .hero__name span { display: inline; } .hero__name span + span::before { content: " "; } }
.vault .notes h3 { font: 600 24px/1.2 var(--display); text-transform: none; letter-spacing: 0; color: #F7F3EA; padding: 0; margin: 0 0 8px; }
.vault .notes h3::after { content: none; }
.hero__sub { font: italic 500 clamp(22px, 6vw, 30px)/1.2 var(--display); margin: 10px 0 0; opacity: .95; }
.home-foot__sub { font: italic 500 18px/1.3 var(--display); letter-spacing: 0; text-transform: none; color: var(--ink); margin-bottom: 6px !important; }
@media (prefers-reduced-motion: no-preference) { .hero__sub { animation: rise .9s cubic-bezier(.2,.7,.2,1) .16s both; } }

/* Home: a single "message your host" button under the welcome text */
.quick { display: block; margin: 24px 0 8px; }
.quick .quick__host { width: 100%; min-height: 52px; font-size: 16px; }

/* ---------- Section icons: one colour per group, cream line icons ---------- */
:root {
  --icon-ink: #F7F3EA;
  --g-clay: #A9574A;      /* Arriving */
  --g-olive: #5F5A37;     /* The apartment */
  --g-sand: #3D6460;      /* Explore: deep sea green */
  --g-rose: #92585E;      /* Wellness */
  --g-stone: #A57A3A;     /* Help: ochre */
}
.tile--clay { --g: var(--g-clay); } .tile--olive { --g: var(--g-olive); } .tile--sand { --g: var(--g-sand); }
.tile--rose { --g: var(--g-rose); } .tile--stone { --g: var(--g-stone); }
.sec-title--clay { --g: var(--g-clay); } .sec-title--olive { --g: var(--g-olive); } .sec-title--sand { --g: var(--g-sand); }
.sec-title--rose { --g: var(--g-rose); } .sec-title--stone { --g: var(--g-stone); }

.tile__art { aspect-ratio: 4 / 5; border-radius: 50% 50% var(--r-md) var(--r-md) / 34% 34% var(--r-md) var(--r-md);
  background: var(--g); display: grid; place-items: center; position: relative; overflow: hidden; transition: transform .2s ease; }
.tile__art::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgb(247 243 234 / .28);
  border-radius: 50% 50% calc(var(--r-md) - 6px) calc(var(--r-md) - 6px) / 34% 34% calc(var(--r-md) - 6px) calc(var(--r-md) - 6px); }
.tile:active .tile__art { transform: scale(.985); }
.tile__icon { color: var(--icon-ink); width: 40%; max-width: 72px; display: block; }
.tile__icon svg { width: 100%; height: auto; display: block; }
.tile__icon .emoji { font-size: 40px; }
.tile__label { display: block; text-align: center; }
.tiles--solo .tile__art, .tiles > .tile:last-child:nth-child(odd) .tile__art { aspect-ratio: 16 / 9;
  border-radius: 50% 50% var(--r-md) var(--r-md) / 26% 26% var(--r-md) var(--r-md); }
.tiles--solo .tile__art::after, .tiles > .tile:last-child:nth-child(odd) .tile__art::after {
  border-radius: 50% 50% calc(var(--r-md) - 6px) calc(var(--r-md) - 6px) / 26% 26% calc(var(--r-md) - 6px) calc(var(--r-md) - 6px); }
.tiles--solo .tile__icon, .tiles > .tile:last-child:nth-child(odd) .tile__icon { width: 21%; }

.sec-title { align-items: center; }
.sec-title__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--g); color: var(--icon-ink);
  display: grid; place-items: center; }
.sec-title__icon svg { width: 24px; height: 24px; }
.sec-title__icon .emoji { font-size: 22px; }

/* ---------- Compact tiles: three per row ---------- */
.tiles, .tiles--solo { grid-template-columns: repeat(3, 1fr); gap: 18px 12px; }
.tiles .tile__art, .tiles--solo .tile__art, .tiles > .tile:last-child:nth-child(odd) .tile__art {
  aspect-ratio: 5 / 6; border-radius: 50% 50% var(--r-sm) var(--r-sm) / 36% 36% var(--r-sm) var(--r-sm); }
.tiles .tile__art::after, .tiles--solo .tile__art::after, .tiles > .tile:last-child:nth-child(odd) .tile__art::after {
  inset: 6px; border-radius: 50% 50% 6px 6px / 36% 36% 6px 6px; }
.tiles .tile__icon, .tiles--solo .tile__icon, .tiles > .tile:last-child:nth-child(odd) .tile__icon { width: 34%; max-width: 44px; }
.tiles > .tile:last-child:nth-child(odd) { grid-column: auto; }
.tile__label { font-size: 16px; margin-top: 8px; }
.group { margin-top: 38px; }
@media (min-width: 640px) { .tiles, .tiles--solo { grid-template-columns: repeat(4, 1fr); gap: 22px 16px; } }
