@font-face { font-family: "Marcellus"; font-weight: 400; font-display: swap; src: url("../fonts/marcellus-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }

:root {
  /* the night of the logo, the gold of its thread, the stones of her pieces */
  --night-0: #070d33;
  --night-1: #0b1547;
  --night-2: #111e5e;
  --night-3: #1a2a78;
  --moon: #f3efe6;
  --moon-soft: #c3c6de;
  --moon-faint: #8f95bd;
  --gold: #d9b36b;
  --gold-bright: #f2d394;
  --gold-deep: #9b7a3a;
  --gold-ink: #1a1306;
  --rose: #eaa9bb;
  --sage: #a7d9b4;
  --night-hover: #22348c;

  --stone-onix: #1b1b1f;      --stone-onix-hi: #6d6d78;
  --stone-agata: #6aa3d9;     --stone-agata-hi: #d5ecff;
  --stone-gato: #e79fb4;      --stone-gato-hi: #ffe3ec;
  --stone-cornalina: #c2462b; --stone-cornalina-hi: #ffb79c;
  --stone-quartzo: #f2c4d2;   --stone-quartzo-hi: #fff4f7;
  --stone-cianite: #2f5faf;   --stone-cianite-hi: #a9c8ff;
  --stone-tigre: #b07a1e;     --stone-tigre-hi: #ffd88a;
  --stone-ouro: #d9b36b;      --stone-ouro-hi: #fff0c8;

  --display: "Marcellus", "Trajan Pro", Georgia, serif;
  --text: "Figtree", "Segoe UI", system-ui, sans-serif;

  --fs-small: 0.9375rem;
  --fs-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --fs-lead: clamp(1.3rem, 1.05rem + 0.9vw, 1.875rem);
  --fs-h3: clamp(1.75rem, 1.2rem + 2vw, 3.125rem);
  --fs-h2: clamp(2.125rem, 1.3rem + 3.7vw, 4.75rem);
  --fs-display: clamp(1.9rem, 0.6rem + 4.9vw, 5.25rem);

  --thread-x: clamp(18px, 4.2vw, 72px);
  --content-x: calc(var(--thread-x) + clamp(26px, 4vw, 64px));
  --m: clamp(20px, 4vw, 64px);
  --space: clamp(112px, 14vw, 220px);
  --radius: 6px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms;
  --t-ui: 320ms;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; scrollbar-color: var(--gold-deep) var(--night-0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--night-0); color: var(--moon); font-family: var(--text); font-size: var(--fs-body); line-height: 1.65; font-feature-settings: "kern"; text-rendering: optimizeLegibility; caret-color: var(--gold); accent-color: var(--gold); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.24em; text-decoration-thickness: 1px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; border-radius: 2px; }
.tnum { font-variant-numeric: tabular-nums lining-nums; }
.num { font-family: var(--text); font-weight: 500; font-variant-numeric: lining-nums; font-size: 0.92em; letter-spacing: 0; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--content-x); top: -80px; z-index: 60; padding: 12px 18px; background: var(--gold); color: var(--gold-ink); text-decoration: none; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* ---------- beads: one material for every bead on the page ---------- */
.bead { --c: var(--stone-ouro); --hi: var(--stone-ouro-hi); display: inline-block; width: var(--s, 16px); height: var(--s, 16px); border-radius: 50%; flex: none;
  background: radial-gradient(circle at 34% 30%, var(--hi) 0 8%, color-mix(in srgb, var(--hi) 35%, var(--c)) 22%, var(--c) 52%, color-mix(in srgb, var(--c) 55%, #000) 100%);
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.45); }
.bead[data-stone="onix"] { --c: var(--stone-onix); --hi: var(--stone-onix-hi); }
.bead[data-stone="agata"] { --c: var(--stone-agata); --hi: var(--stone-agata-hi); }
.bead[data-stone="olho-de-gato"] { --c: var(--stone-gato); --hi: var(--stone-gato-hi); }
.bead[data-stone="cornalina"] { --c: var(--stone-cornalina); --hi: var(--stone-cornalina-hi); }
.bead[data-stone="quartzo-rosa"] { --c: var(--stone-quartzo); --hi: var(--stone-quartzo-hi); }
.bead[data-stone="cianite"] { --c: var(--stone-cianite); --hi: var(--stone-cianite-hi); }
.bead[data-stone="olho-de-tigre"] { --c: var(--stone-tigre); --hi: var(--stone-tigre-hi); }

/* ---------- the thread: one mala strung down the whole page ---------- */
.mala { position: relative; }
.thread { position: absolute; top: 0; bottom: 0; left: calc(var(--thread-x) - 6px); width: 12px; pointer-events: none; z-index: 1; }
.thread__line { position: absolute; left: 5.25px; top: 0; bottom: 0; width: 1.5px; background: color-mix(in srgb, var(--gold) 34%, transparent); }
.thread__beads { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--gold) 30%, var(--night-2)) 0 3.4px, transparent 4px) 0 0 / 12px 24px repeat-y; }
.thread__lit { position: absolute; inset: 0; clip-path: inset(0 0 calc(100% - var(--lit, 100%)) 0); }
.thread__lit .thread__line { background: var(--gold); }
.thread__lit .thread__beads { background-image: radial-gradient(circle at 42% 38%, var(--gold-bright) 0 1.4px, var(--gold) 2.6px, var(--gold-deep) 4.2px, transparent 4.6px); }
.knot { position: absolute; left: calc(var(--thread-x) - var(--s) / 2); z-index: 2; transition: transform 600ms var(--ease-out); }
.counter { position: fixed; left: max(4px, calc(var(--thread-x) - 34px)); bottom: 22px; writing-mode: vertical-rl; transform: rotate(180deg); z-index: 20; font-size: 0.8125rem; color: var(--moon-faint); letter-spacing: 0.02em; pointer-events: none; opacity: 0; transition: opacity var(--t-ui) ease; }
.counter b { color: var(--gold-bright); font-weight: 600; }
.counter.is-on { opacity: 1; }
@media (max-width: 720px) { .counter { display: none; } }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 40; background: var(--night-0); box-shadow: 0 1px 0 transparent; transition: box-shadow var(--t-ui) ease; }
.bar.is-scrolled { box-shadow: 0 1px 0 color-mix(in srgb, var(--gold) 28%, transparent); }
.bar__in { display: flex; align-items: center; gap: 28px; min-height: 76px; padding: 10px var(--m) 10px max(12px, calc(var(--thread-x) - 22px)); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-family: var(--display); font-size: 1.1875rem; line-height: 1.1; white-space: nowrap; }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--gold-deep); }
.nav { display: flex; align-items: center; gap: 30px; margin: 0 0 0 auto; padding: 0; list-style: none; font-size: 1rem; font-weight: 500; }
.nav > li > a, .shop > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; cursor: pointer; color: var(--moon-soft); transition: color var(--t-fast) ease; }
.nav > li > a:hover, .shop > summary:hover, .shop[open] > summary { color: var(--moon); }
.shop { position: relative; }
.shop > summary { list-style: none; }
.shop > summary::-webkit-details-marker { display: none; }
.shop > summary svg, .menu > summary svg { width: 12px; height: 12px; transition: transform var(--t-ui) var(--ease-out); }
.shop[open] > summary svg { transform: rotate(180deg); }
.shop:not([open]) .shop__panel, .menu:not([open]) .menu__panel { display: none; }
.shop__panel { position: absolute; top: calc(100% + 10px); right: -24px; width: min(620px, 80vw); padding: 22px 24px 24px; background: var(--night-2); border-radius: 10px; box-shadow: 0 24px 60px rgb(0 0 0 / 0.5), 0 2px 8px rgb(0 0 0 / 0.3); }
.shop__panel ul { columns: 2; column-gap: 28px; margin: 0; padding: 0; list-style: none; }
.shop__panel li { break-inside: avoid; }
.shop__panel a { display: block; padding: 7px 0; color: var(--moon-soft); text-decoration: none; font-weight: 400; line-height: 1.35; }
.shop__panel a:hover { color: var(--gold-bright); }
.shop__all { display: inline-flex; margin-bottom: 12px; font-family: var(--display); font-size: 1.375rem; color: var(--moon); text-decoration: none; }
.cart { color: var(--moon-soft); }
.cart svg { width: 21px; height: 21px; }
.menu { display: none; margin-left: auto; }
.menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--gold-deep); border-radius: 999px; cursor: pointer; font-weight: 500; }
.menu > summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100svh - 76px); overflow-y: auto; padding: 12px var(--m) 32px var(--content-x); background: var(--night-1); box-shadow: 0 30px 60px rgb(0 0 0 / 0.55); }
.menu__panel ul { margin: 0; padding: 0; list-style: none; }
.menu__panel > ul > li > a { display: block; padding: 10px 0; font-family: var(--display); font-size: 1.75rem; text-decoration: none; }
.menu__panel .sub { margin: 2px 0 12px; }
.menu__panel .sub a { display: block; padding: 8px 0; color: var(--moon-soft); text-decoration: none; }
.menu__panel .btn { margin-top: 18px; width: 100%; }
@media (max-width: 1080px) { .nav { display: none; } .menu { display: block; margin-left: 0; } .bar .btn--gold { margin-left: auto; } .bar__in { gap: 12px; } }
@media (max-width: 720px) { .brand span { display: none; } .bar .btn--gold { min-height: 44px; padding: 0 16px; font-size: 0.9375rem; } .menu > summary { padding: 0 14px; } }

/* ---------- buttons ---------- */
.btn { position: relative; background: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 26px; border-radius: 999px; font-family: var(--text); font-weight: 600; font-size: 1.0625rem; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out); }
.btn svg { width: 18px; height: 18px; transition: transform var(--t-ui) var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--gold { background: var(--gold); color: var(--gold-ink); }
.btn--line { border-color: var(--gold); color: var(--moon); }
.btn--moon { background: var(--night-3); border-color: var(--gold); color: var(--moon); }
.hero__actions .btn { min-width: 15.5rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover { background: var(--gold-bright); }
  .btn--line:hover { background: color-mix(in srgb, var(--gold) 14%, transparent); border-color: var(--gold-bright); }
  .btn--moon:hover { background: var(--night-hover); border-color: var(--gold-bright); }
  .btn:hover svg { transform: translateX(4px); }
}
.bar .btn--gold { min-height: 46px; padding: 0 20px; font-size: 1rem; }

/* ---------- section scaffold ---------- */
.sec { position: relative; padding: var(--space) var(--m) 0 var(--content-x); }
.sec > .knot { top: calc(var(--space) + 0.5em); }
.h2 { font-size: var(--fs-h2); line-height: 1.02; }
.lead { font-family: var(--display); font-size: var(--fs-lead); line-height: 1.32; }
.soft { color: var(--moon-soft); }
.gold { color: var(--gold-bright); }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; min-height: calc(100svh - 76px); padding: clamp(32px, 6vh, 80px) var(--m) clamp(48px, 8vh, 96px) var(--content-x); }
.hero > .knot { top: clamp(40px, 9vh, 104px); }
.hero h1 { font-size: var(--fs-display); line-height: 0.98; letter-spacing: -0.02em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero__titles { margin-top: clamp(24px, 4vh, 40px); max-width: 34em; font-size: var(--fs-lead); font-family: var(--display); line-height: 1.35; color: var(--moon-soft); }
.hero__actions { margin-top: clamp(32px, 5vh, 52px); display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { margin-top: 22px; font-size: var(--fs-small); color: var(--moon-faint); }
/* the living mala: the portrait inside a ring of 108 beads drawn on canvas, the logo as guru bead */
.stage { --open: 0; position: relative; justify-self: center; width: min(100%, 76vh, 640px); aspect-ratio: 1; margin-bottom: clamp(48px, 9vh, 120px); touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.stage.is-turning { cursor: grabbing; }
.stage::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; border: 2px dotted var(--gold); opacity: 0.7; }
.stage.has-mala::before { display: none; }
.stage__face { position: absolute; left: 50%; top: 50%; width: 74%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; transform: translate(-50%, -50%); background: var(--night-3); box-shadow: 0 0 0 1.5px var(--gold-deep), 0 0 0 12px var(--night-0), 0 0 0 13.5px color-mix(in srgb, var(--gold) 30%, transparent), 0 30px 80px rgb(0 0 0 / 0.55); }
.stage__face img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 22%; transform: scale(calc(1 + var(--open) * 0.06)); pointer-events: none; -webkit-user-drag: none; }
.stage__guru { position: absolute; z-index: 4; left: 50%; top: 93%; width: 19%; transform: translate(-50%, -50%) scale(calc(1 - var(--open) * 0.35)); opacity: calc(1.5 - var(--open) * 2.5); pointer-events: none; }
.stage__guru .guru__bead { box-shadow: 0 0 0 2px var(--gold), 0 0 0 7px var(--night-0), 0 16px 40px rgb(0 0 0 / 0.6); }
.stage__guru .tassel { width: 46%; margin-top: -4px; }
.mala-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 3; pointer-events: none; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 48px; padding-top: 28px; }
  .stage { width: min(100%, 440px); margin-bottom: 96px; }
  .hero__actions .btn { flex: 1 1 200px; min-width: 0; }
}
@media (max-width: 480px) { .hero h1 { font-size: min(2.35rem, 9.6vw); line-height: 1.04; } .hero__titles { font-size: 1.125rem; } }

/* ---------- intro ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.intro__statement { font-family: var(--display); font-size: clamp(1.6rem, 1.05rem + 1.7vw, 2.625rem); line-height: 1.3; max-width: 26ch; }
.intro__body { margin-top: 40px; max-width: 40em; color: var(--moon-soft); }
.intro__love { margin-top: 28px; font-family: var(--display); font-size: var(--fs-lead); color: var(--gold-bright); }
.round { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--night-2); box-shadow: 0 0 0 1.5px var(--gold-deep), 0 0 0 14px var(--night-0), 0 0 0 15.5px color-mix(in srgb, var(--gold) 35%, transparent); }
.round img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } .intro .round { width: min(78%, 360px); justify-self: center; } }

/* ---------- consultas ---------- */
.consultas__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.consultas__head p { max-width: 36em; color: var(--moon-soft); }
.modes { display: inline-flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.modes span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--night-2); color: var(--moon); font-size: var(--fs-small); font-weight: 500; }
.services { margin: clamp(48px, 6vw, 88px) 0 0; padding: 0; list-style: none; }
.service { position: relative; }
.service > a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 8px 40px; align-items: center; padding: clamp(22px, 2.6vw, 36px) 0; border-top: 1px solid color-mix(in srgb, var(--gold) 22%, transparent); text-decoration: none; }
.service:last-child > a { border-bottom: 1px solid color-mix(in srgb, var(--gold) 22%, transparent); }
.service > .knot { top: 50%; margin-top: calc(var(--s) / -2); left: calc(var(--thread-x) - var(--content-x) - var(--s) / 2); }
.service h3 { font-size: var(--fs-h3); line-height: 1.05; transition: transform 500ms var(--ease-out), color var(--t-fast) ease; }
.service__tag { font-family: var(--display); font-size: var(--fs-lead); color: var(--gold-bright); line-height: 1.25; }
.service__detail { grid-column: 1 / 3; max-width: 52em; color: var(--moon-soft); font-size: var(--fs-small); }
.service__go { grid-row: 1 / 3; grid-column: 3; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--gold-bright); white-space: nowrap; }
.service__go svg { width: 20px; height: 20px; transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .service > a:hover h3 { transform: translateX(10px); color: var(--gold-bright); }
  .service > a:hover .service__go svg { transform: translateX(6px); }
  .service:hover > .knot { transform: scale(1.35); }
}
@media (max-width: 860px) {
  .consultas__head { grid-template-columns: 1fr; }
  .service > a { grid-template-columns: 1fr; }
  .service__detail { grid-column: 1; }
  .service__go { grid-row: auto; grid-column: 1; margin-top: 6px; }
}

/* ---------- loja ---------- */
.loja__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.loja__head p { color: var(--moon-soft); max-width: 36em; }
.strand { position: relative; margin: clamp(48px, 6vw, 80px) 0 0; border: 0; padding: 0; min-width: 0; }
.strand legend { margin-bottom: 22px; font-family: var(--display); font-size: var(--fs-lead); }
.strand__beads { position: relative; display: flex; flex-wrap: wrap; gap: 22px clamp(18px, 2.6vw, 40px); }
.strand__beads::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1.5px; background: color-mix(in srgb, var(--gold) 40%, transparent); }
.pick { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 72px; cursor: pointer; text-align: center; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick .stone { width: var(--s); height: var(--s); border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 1.5px var(--gold-deep), 0 4px 12px rgb(0 0 0 / 0.5); }
.pick .stone img { width: 100%; height: 100%; object-fit: cover; }
.pick .bead, .pick .stone { --s: 46px; transition: transform 500ms var(--ease-out), box-shadow var(--t-ui) ease; }
.pick span:last-child { font-size: var(--fs-small); font-weight: 500; color: var(--moon-soft); line-height: 1.25; transition: color var(--t-fast) ease; }
.pick:hover .stone { transform: translateY(-3px) scale(1.06); }
.pick input:checked + .stone { transform: scale(1.18); box-shadow: 0 0 0 3px var(--night-0), 0 0 0 5px var(--gold-bright), 0 8px 20px rgb(0 0 0 / 0.5); }
.pick input:checked ~ span:last-child { color: var(--moon); }
.pick input:focus-visible + .stone { outline: 2px solid var(--gold-bright); outline-offset: 6px; }
@media (max-width: 720px) {
  .strand__beads { flex-wrap: nowrap; overflow-x: auto; gap: 18px; padding: 14px 8px 12px; margin-right: calc(var(--m) * -1); scroll-snap-type: x proximity; scrollbar-width: none; }
  .strand__beads::before { top: 35px; width: 980px; right: auto; }
  .pick { min-width: 68px; scroll-snap-align: start; }
  .pick .stone { --s: 42px; }
  .loja__head { grid-template-columns: 1fr; }
}
.shelf-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; margin-top: clamp(40px, 5vw, 64px); color: var(--moon-soft); font-size: var(--fs-small); }
.shelf-meta strong { color: var(--moon); font-weight: 600; }
.shelf { margin: 22px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: clamp(28px, 3vw, 44px) clamp(14px, 1.6vw, 24px); }
@media (max-width: 720px) { .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shelf .item__row { flex-direction: column; align-items: flex-start; gap: 4px; } .shelf .state { text-align: left; } .item__name { font-size: 0.9375rem; } }
.item[hidden] { display: none; }
.item a { display: block; text-decoration: none; }
.item__photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--night-2); }
.item__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.item__name { display: block; margin-top: 14px; font-weight: 500; font-size: 1rem; line-height: 1.4; color: var(--moon); }
.item__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.price { font-weight: 600; font-size: 1rem; color: var(--gold-bright); }
.state { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8125rem; font-weight: 500; color: var(--moon-soft); line-height: 1.2; text-align: right; }
.state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; background: currentColor; }
.state--ok { color: var(--sage); }
.state--order { color: var(--rose); }
.state--out { color: var(--moon-faint); }
.item--out .item__photo img { filter: saturate(0.55) brightness(0.8); }
@media (hover: hover) and (pointer: fine) { .item a:hover .item__photo img { transform: scale(1.05); } .item a:hover .item__name { text-decoration: underline; text-decoration-color: var(--gold); } }
.shelf-more { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.empty { margin-top: 24px; color: var(--moon-soft); }

/* ---------- como tudo começou ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.story__text p.lead { margin-top: 32px; max-width: 26em; color: var(--moon); }
.ages { position: relative; margin: 48px 0 0; padding: 0; list-style: none; }
.ages li { position: relative; padding: 18px 0; border-top: 1px solid color-mix(in srgb, var(--gold) 18%, transparent); display: grid; grid-template-columns: 9.5em 1fr; gap: 6px 24px; }
.ages li > .knot { top: 50%; margin-top: calc(var(--s) / -2); left: calc(var(--thread-x) - var(--content-x) - var(--s) / 2); }
.ages dt, .ages .when { font-size: var(--fs-small); color: var(--gold-bright); font-weight: 600; }
.ages .what { color: var(--moon); }
.story__side { position: sticky; top: 112px; }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--night-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.story__now { margin-top: 28px; color: var(--moon-soft); }
.words { margin-top: 28px; font-family: var(--display); font-size: var(--fs-h3); line-height: 1.12; color: var(--gold-bright); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story__side { position: static; } .ages li { grid-template-columns: 1fr; } .story__side .arch { width: min(80%, 380px); } }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 32px clamp(40px, 6vw, 112px); align-items: start; }
.faq__title { position: sticky; top: 112px; }
.faq__title p { margin-top: 12px; color: var(--moon-faint); }
.qa details { border-top: 1px solid color-mix(in srgb, var(--gold) 22%, transparent); }
.qa details:last-child { border-bottom: 1px solid color-mix(in srgb, var(--gold) 22%, transparent); }
.qa summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 24px 0; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa .q { font-family: var(--display); font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem); line-height: 1.3; }
.qa .q small { display: block; margin-top: 4px; font-family: var(--text); font-size: var(--fs-small); color: var(--moon-faint); }
.qa .bead { --s: 14px; transition: transform var(--t-ui) var(--ease-out); }
.qa details[open] .bead { transform: scale(1.4); }
.qa .sign { position: relative; width: 22px; height: 22px; }
.qa .sign::before, .qa .sign::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 1.5px; background: var(--gold); transition: transform var(--t-ui) var(--ease-out); }
.qa .sign::after { transform: rotate(90deg); }
.qa details[open] .sign::after { transform: rotate(0); }
.qa .a { padding: 0 0 28px 32px; max-width: 46em; }
.qa .a p + p { margin-top: 12px; }
.qa .a .en { color: var(--moon-faint); }
@media (hover: hover) and (pointer: fine) { .qa summary:hover .q { color: var(--gold-bright); } }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq__title { position: static; } .qa .a { padding-left: 0; } .qa summary .bead { display: none; } .qa summary { grid-template-columns: 1fr auto; } }

/* ---------- contactos: the guru bead and the tassel end the mala ---------- */
.end { --guru: clamp(200px, 22vw, 320px); padding-bottom: clamp(64px, 8vw, 120px); background: var(--night-0); z-index: 2; }
.end::before { content: ""; position: absolute; top: 0; left: calc(var(--thread-x) - 0.75px); width: calc(var(--content-x) - var(--thread-x) + var(--guru) / 2); height: 56px; border-top: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); border-top-right-radius: 56px; }
.end::after { content: ""; position: absolute; top: -1px; left: calc(var(--thread-x) - 0.75px); width: 1.5px; height: 2px; background: var(--gold); }
.end__in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.guru { position: relative; width: var(--guru); padding-top: 96px; }
.guru::before { content: ""; position: absolute; left: calc(50% - 0.75px); top: calc(var(--space) * -1 + 55px); height: calc(var(--space) + 42px); width: 1.5px; background: var(--gold); }
.guru__bead { position: relative; z-index: 2; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--gold), 0 0 0 10px var(--night-0), 0 24px 60px rgb(0 0 0 / 0.6); }
.guru__bead img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; transform: scale(1.06); }
.tassel { display: block; width: 46%; margin: -6px auto 0; color: var(--gold); }
.end h2 { font-size: var(--fs-h2); line-height: 1.02; }
.end__lead { margin-top: 22px; max-width: 24em; }
.lines { margin: 40px 0 0; padding: 0; list-style: none; }
.lines a { display: grid; grid-template-columns: 8.5em 1fr auto; gap: 20px; align-items: center; padding: 18px 0; border-top: 1px solid color-mix(in srgb, var(--gold) 22%, transparent); text-decoration: none; }
.lines li:last-child a { border-bottom: 1px solid color-mix(in srgb, var(--gold) 22%, transparent); }
.lines span { color: var(--moon-faint); font-size: var(--fs-small); }
.lines strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); overflow-wrap: anywhere; }
.lines strong .num { font-size: 0.92em; color: inherit; font-family: var(--text); }
.lines svg { width: 20px; height: 20px; color: var(--gold); transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .lines a:hover strong { color: var(--gold-bright); } .lines a:hover svg { transform: translate(3px, -3px); } }
.end__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.search { margin-top: 48px; max-width: 560px; }
.search label { display: block; margin-bottom: 10px; color: var(--moon-soft); font-size: var(--fs-small); }
.search__row { display: flex; gap: 10px; }
.search input { flex: 1; min-width: 0; min-height: 54px; padding: 0 22px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--gold) 45%, transparent); background: var(--night-1); color: var(--moon); font-size: 1rem; }
.search input::placeholder { color: var(--moon-faint); opacity: 1; }
.search input:focus { outline: none; border-color: var(--gold-bright); background: var(--night-2); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin: 48px 0 0; padding: 0; list-style: none; }
.socials a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--night-2); text-decoration: none; font-weight: 500; font-size: var(--fs-small); transition: background-color var(--t-fast) ease, color var(--t-fast) ease; }
.socials svg { width: 18px; height: 18px; color: var(--gold-bright); }
@media (hover: hover) and (pointer: fine) { .socials a:hover { background: var(--night-3); } }
@media (max-width: 860px) {
  .end__in { grid-template-columns: 1fr; }
  .end { --guru: 180px; }
  .guru { padding-top: 40px; }
  .guru::before { height: calc(var(--space) - 14px); }
  .lines a { grid-template-columns: 1fr auto; }
  .lines span { grid-column: 1 / -1; }
  .search__row { flex-direction: column; }
}
.foot { padding: 40px var(--m) 48px var(--content-x); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; color: var(--moon-faint); font-size: var(--fs-small); background: var(--night-0); position: relative; z-index: 2; }
.foot ul { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; list-style: none; }
.foot a { display: inline-flex; min-height: 44px; align-items: center; color: var(--moon-soft); text-decoration: none; }
.foot a:hover { color: var(--moon); text-decoration: underline; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 span { animation: rise 900ms var(--ease-out) both; animation-delay: calc(80ms + var(--i, 0) * 90ms); }
  .js .hero__titles, .js .hero__actions, .js .hero__note { animation: fade 700ms var(--ease-out) both; animation-delay: 380ms; }
  .js .stage__face { animation: face-in 1200ms var(--ease-out) both 100ms; }
  .js .stage__guru { animation: guru-in 900ms var(--ease-out) both 1200ms; }
  .guru__bead img { animation: turn 240s linear infinite; }
  .knot.is-lit { transform: scale(1.22); }
  .js .shelf.is-filtering .item { animation: fade 420ms var(--ease-out) both; }
}
@keyframes rise { from { transform: translateY(0.45em); opacity: 0; } }
@keyframes fade { from { transform: translateY(12px); opacity: 0; } }
@keyframes face-in { from { opacity: 0; transform: translate(-50%, -50%) scale(0.86); } }
@keyframes guru-in { from { opacity: 0; translate: 0 -24px; } }
@keyframes turn { from { transform: scale(1.06) rotate(0deg); } to { transform: scale(1.06) rotate(360deg); } }

/* ================= shared additions for the inner pages ================= */
.nav > li > a[aria-current="page"], .menu__panel a[aria-current="page"] { color: var(--gold-bright); }
.mala--page .thread { bottom: 0; }

/* page opening: name of the page at headline scale, one lead, optional picture */
.phero { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 96px); align-items: center; padding: clamp(40px, 8vh, 112px) var(--m) clamp(40px, 6vh, 80px) var(--content-x); }
.phero > .knot { top: calc(clamp(40px, 8vh, 112px) + 0.45em); }
.phero h1 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -0.015em; }
.phero__lead { margin-top: 22px; max-width: 30em; font-family: var(--display); font-size: var(--fs-lead); line-height: 1.35; color: var(--moon-soft); }
.phero__body { margin-top: 22px; max-width: 40em; color: var(--moon-soft); }
.phero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.phero__pic { justify-self: end; width: min(100%, 440px); }
.phero--solo { grid-template-columns: 1fr; }
@media (max-width: 860px) { .phero { grid-template-columns: 1fr; padding-top: 32px; } .phero__pic { justify-self: start; width: min(78%, 360px); } }

.crumbs { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: var(--fs-small); color: var(--moon-faint); }
.crumbs li + li::before { content: "·"; margin-right: 10px; color: var(--gold-deep); }
.crumbs a { color: var(--moon-soft); text-decoration: none; }
.crumbs a:hover { color: var(--gold-bright); text-decoration: underline; }

.sec--tight { padding-top: clamp(56px, 7vw, 112px); }

/* ---------- fields ---------- */
.form { display: grid; gap: 22px; max-width: 760px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 720px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: var(--fs-small); font-weight: 500; color: var(--moon); padding: 0; }
.field .hint { font-size: 0.875rem; color: var(--moon-faint); }
.field input, .field textarea, .field select { width: 100%; min-height: 54px; padding: 14px 18px; border-radius: var(--radius); border: 1.5px solid color-mix(in srgb, var(--gold) 38%, transparent); background: var(--night-1); color: var(--moon); font-size: 1rem; line-height: 1.5; transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease; }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--moon-faint); opacity: 1; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-bright); background: var(--night-2); }
.field [aria-invalid="true"] { border-color: var(--rose); }
.field .err { display: none; font-size: 0.875rem; color: var(--rose); }
.field .err.is-on { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--gold) 38%, transparent); background: var(--night-1); color: var(--moon-soft); font-weight: 500; cursor: pointer; transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease, color var(--t-fast) ease; }
.choice span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--gold-deep); transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease; }
.choice input:checked + span { border-color: var(--gold); background: var(--night-3); color: var(--moon); }
.choice input:checked + span::before { background: var(--gold-bright); border-color: var(--gold-bright); }
.choice input:focus-visible + span { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.choice:hover span { color: var(--moon); }
.form__send { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form__note { font-size: var(--fs-small); color: var(--moon-faint); max-width: 40em; }
.form__status { font-size: var(--fs-small); color: var(--sage); min-height: 1.5em; }

/* ---------- loja ---------- */
.tools { display: grid; gap: 28px; margin-top: 8px; }
.tools__row { display: flex; flex-wrap: wrap; gap: 10px; }
.tools__label { font-family: var(--display); font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); margin-bottom: 12px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--night-1); border: 1.5px solid color-mix(in srgb, var(--gold) 22%, transparent); color: var(--moon-soft); font-size: 0.9375rem; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease; }
.chip span small { margin-left: 8px; font-size: 0.8125rem; color: var(--moon-faint); font-variant-numeric: tabular-nums; }
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.chip input:checked + span small { color: color-mix(in srgb, var(--gold-ink) 70%, transparent); }
.chip input:focus-visible + span { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.chip:hover span { color: var(--moon); border-color: color-mix(in srgb, var(--gold) 50%, transparent); }
.chip input:checked:hover + span, .chip:hover input:checked + span { color: var(--gold-ink); }
@media (max-width: 720px) { .tools__row--scroll { flex-wrap: nowrap; overflow-x: auto; padding: 4px 4px 10px; margin-right: calc(var(--m) * -1); scrollbar-width: none; } }
.find { position: relative; max-width: 520px; }
.find svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--gold); pointer-events: none; }
.find input { width: 100%; min-height: 54px; padding: 0 20px 0 48px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--gold) 38%, transparent); background: var(--night-1); color: var(--moon); font-size: 1rem; }
.find input:focus { outline: none; border-color: var(--gold-bright); background: var(--night-2); }
.find input::placeholder { color: var(--moon-faint); opacity: 1; }
.item button.item__open { all: unset; display: block; width: 100%; cursor: pointer; }
.item a.item__open, .item button.item__open { -webkit-tap-highlight-color: transparent; }
.item__open:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 6px; border-radius: 8px; }
@media (hover: hover) and (pointer: fine) { .item .item__open:hover .item__photo img { transform: scale(1.05); } .item .item__open:hover .item__name { text-decoration: underline; text-decoration-color: var(--gold); } }

/* the piece, opened */
.piece-dialog { width: min(980px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: var(--radius); background: var(--night-1); color: var(--moon); box-shadow: 0 40px 100px rgb(0 0 0 / 0.65), 0 0 0 1px color-mix(in srgb, var(--gold) 25%, transparent); overflow: auto; }
.piece-dialog::backdrop { background: rgb(4 7 26 / 0.78); }
.piece-dialog[open] { animation: dlg 420ms var(--ease-out); }
@keyframes dlg { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
.piece-dialog__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.piece-dialog__photo { background: var(--night-2); aspect-ratio: 1; }
.piece-dialog__photo img { width: 100%; height: 100%; object-fit: cover; }
.piece-dialog__body { position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 4vw, 48px); }
.piece-dialog__body h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.15; padding-right: 40px; }
.piece-dialog .price { font-size: 1.375rem; }
.piece-dialog__cats { font-size: var(--fs-small); color: var(--moon-faint); }
.piece-dialog__acts { display: grid; gap: 10px; margin-top: auto; }
.piece-dialog__acts .btn { width: 100%; }
.piece-dialog__note { font-size: 0.875rem; color: var(--moon-faint); }
.dlg-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--gold) 40%, transparent); background: var(--night-2); color: var(--moon); cursor: pointer; display: grid; place-items: center; transition: background-color var(--t-fast) ease; }
.dlg-close:hover { background: var(--night-3); }
.dlg-close svg { width: 18px; height: 18px; }
@media (max-width: 720px) { .piece-dialog__in { grid-template-columns: 1fr; } .piece-dialog__photo { aspect-ratio: 4 / 3; } .dlg-close { top: 12px; right: 12px; background: color-mix(in srgb, var(--night-0) 80%, transparent); } .piece-dialog__body h2 { padding-right: 0; } }

/* ---------- agendamento ---------- */
.svcs { margin: 0; padding: 0; list-style: none; display: grid; gap: clamp(64px, 8vw, 120px); }
.svc { position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 88px); align-items: start; scroll-margin-top: 100px; }
.svc > .knot { top: 0.6em; left: calc(var(--thread-x) - var(--content-x) - var(--s) / 2); }
.svc:nth-child(even) .svc__pic { order: 2; }
.svc__pic { position: sticky; top: 112px; }
.svc__pic .arch { aspect-ratio: 1 / 1.1; }
.svc h2 { font-size: var(--fs-h3); line-height: 1.08; }
.svc__tag { margin-top: 10px; font-family: var(--display); font-size: var(--fs-lead); color: var(--gold-bright); line-height: 1.3; }
.facts-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.facts-row li { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: 999px; background: var(--night-2); font-size: var(--fs-small); font-weight: 500; }
.facts-row svg { width: 16px; height: 16px; color: var(--gold-bright); }
.facts-row .price-chip { background: var(--gold); color: var(--gold-ink); font-weight: 600; }
.svc__text { margin-top: 24px; color: var(--moon-soft); max-width: 40em; }
.svc__text p + p, .svc__text p + ul, .svc__text ul + p { margin-top: 14px; }
.svc__text ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.svc__text li { position: relative; padding-left: 26px; }
.svc__text li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--stone-ouro-hi) 0 12%, var(--gold) 55%, var(--gold-deep) 100%); }
.svc__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } .svc:nth-child(even) .svc__pic { order: 0; } .svc__pic { position: static; width: min(72%, 320px); } }

.booking { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.booking__aside { position: sticky; top: 112px; }
.booking__aside p { margin-top: 18px; color: var(--moon-soft); max-width: 28em; }
@media (max-width: 860px) { .booking { grid-template-columns: 1fr; } .booking__aside { position: static; } }

.policy { max-width: 46em; }
.policy h2 { font-size: var(--fs-h3); }
.policy p { margin-top: 18px; color: var(--moon-soft); }

/* ---------- curso ---------- */
.letter { max-width: 40em; }
.letter p { margin-top: 20px; font-family: var(--display); font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem); line-height: 1.5; color: var(--moon); }
.letter p:first-child { margin-top: 0; }
.letter .sign { color: var(--gold-bright); }
.course-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--night-1); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 26%, transparent); }
.course-card h2 { font-size: var(--fs-h3); }
.course-card .facts-row { margin-top: 18px; }
.course-card__acts { display: grid; gap: 10px; min-width: 260px; }
@media (max-width: 860px) { .course-card { grid-template-columns: 1fr; } .course-card__acts { min-width: 0; } }

/* ---------- sobre ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.about__text p { margin-top: 22px; color: var(--moon-soft); max-width: 36em; }
.about__text p.lead { color: var(--moon); }
.about__side { position: sticky; top: 112px; }
.quals { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.quals li { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--night-2); font-size: var(--fs-small); font-weight: 500; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__side { position: static; width: min(80%, 380px); } }

/* ---------- contactos ---------- */
.reach { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.reach__aside { position: sticky; top: 112px; }
.reach .lines { margin-top: 0; }
.place { margin-top: 28px; color: var(--moon-soft); }
.place strong { color: var(--moon); font-weight: 600; }
@media (max-width: 860px) { .reach { grid-template-columns: 1fr; } .reach__aside { position: static; } }

/* ---------- the small guru bead that closes every inner page ---------- */
.close { position: relative; z-index: 2; background: var(--night-0); padding: clamp(96px, 12vw, 180px) var(--m) clamp(56px, 7vw, 96px) var(--content-x); }
.close::before { content: ""; position: absolute; top: 0; left: calc(var(--thread-x) - 0.75px); width: calc(var(--content-x) - var(--thread-x) + 70px); height: 48px; border-top: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); border-top-right-radius: 48px; }
.close__in { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.close__guru { position: relative; width: 140px; margin-top: calc(clamp(96px, 12vw, 180px) * -1 + 47px); padding-top: calc(clamp(96px, 12vw, 180px) - 47px); }
.close__guru::before { content: ""; position: absolute; left: calc(50% - 0.75px); top: 0; height: calc(clamp(96px, 12vw, 180px) - 46px); width: 1.5px; background: var(--gold); }
.close__guru .guru__bead { box-shadow: 0 0 0 2px var(--gold), 0 0 0 8px var(--night-0), 0 18px 40px rgb(0 0 0 / 0.55); }
.close__guru .tassel { width: 52%; }
.close h2 { font-size: var(--fs-h3); line-height: 1.1; }
.close p { margin-top: 14px; color: var(--moon-soft); max-width: 32em; }
.close__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 720px) { .close__in { grid-template-columns: 1fr; } .close::before { width: calc(var(--content-x) - var(--thread-x) + 50px); } .close__guru { width: 100px; } }

.reach .lines strong { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); }
.reach .lines a { grid-template-columns: 7.5em 1fr auto; }
