/* ReHuman Lab, public site v2
   Editorial system shared with the social media identity: Instrument Serif for voice, Inter for information,
   hairline frames, one warm accent. Text colours were checked against WCAG 2.1 AA on the paper backgrounds. */

@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/instrument-serif-regular.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/instrument-serif-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../fonts/inter-variable.woff2') format('woff2'); }

:root {
  --paper: #f4f2ed;
  --paper-2: #ebe8e0;
  --paper-3: #e3dfd5;
  --ink: #2d3136;
  --ink-soft: #454a50;
  --muted: #62594d;          /* 6.1:1 on paper */
  --terra: #a0695b;          /* large text and shapes only (4.1:1) */
  --terra-deep: #8a5548;     /* small text (5.4:1) */
  --terra-light: #e59480;    /* on ink backgrounds */
  --sage: #8b9b6b;
  --sage-deep: #566640;
  --line: rgba(45, 49, 54, .18);
  --line-strong: rgba(45, 49, 54, .42);
  --max: 1240px;
  --gut: clamp(20px, 4.2vw, 60px);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 14px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terra-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--terra-deep); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--terra); color: var(--paper); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 200; border-radius: 8px; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 780px; }

/* ── Type ───────────────────────────────────────────────────────── */
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(46px, 7.4vw, 108px); line-height: .98; }
h2 { font-size: clamp(34px, 4.6vw, 66px); line-height: 1.02; }
h3 { font-size: clamp(25px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -.012em; }
h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .13em; text-transform: uppercase; font-weight: 600; margin: 0 0 10px; color: var(--ink); }
em, .it { font-style: italic; }
h1 em, h2 em, h3 em, .display em { color: var(--terra); }
.on-ink h1 em, .on-ink h2 em, .on-ink h3 em, .on-ink .display em { color: var(--terra-light); }
.lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.55; color: var(--ink-soft); max-width: 36em; }
.small { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
p:where(:not(.rhl-t)) { margin: 0 0 1.1em; }
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px;
}
.eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--line-strong); }
.on-ink .eyebrow { color: #cfc8bc; }
.on-ink .eyebrow::before { background: rgba(244, 242, 237, .4); }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); text-decoration: none;
  font-size: 15.5px; font-weight: 500; letter-spacing: .005em; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--terra-deep); border-color: var(--terra-deep); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--terra-light); border-color: var(--terra-light); color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--paper); border-color: rgba(244, 242, 237, .6); }
.btn-outline-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.link-arrow { display: inline-flex; gap: 8px; align-items: baseline; font-weight: 500; font-size: 15.5px; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--terra-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ── Header ─────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(244, 242, 237, .92); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 36px; }
.brand { display: block; width: 138px; flex: none; }
.brand img { width: 100%; height: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.nav a { white-space: nowrap; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-soft); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-color: var(--ink); }
.header-tools { display: flex; align-items: center; gap: 18px; }
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; }
.lang a { padding: 4px 11px; border-radius: 999px; text-decoration: none; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.client-link { font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--ink-soft); display: inline-flex; gap: 7px; align-items: center; }
.client-link:hover { color: var(--terra-deep); }
.header-cta { white-space: nowrap; min-height: 44px; padding: 10px 20px; font-size: 14.5px; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: .2s; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: .2s; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 90; background: var(--paper); padding: 24px var(--gut) 120px;
  display: none; overflow-y: auto; flex-direction: column;
}
.menu-open .mobile-menu { display: flex; }
.menu-open { overflow: hidden; }
.mobile-menu a.m-link { font-family: var(--serif); font-size: 38px; letter-spacing: -.02em; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.mobile-menu .m-meta { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--paper) 62%, rgba(244, 242, 237, 0)); display: none;
  transform: translateY(110%); transition: transform .35s;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; box-shadow: 0 10px 30px -12px rgba(45, 49, 54, .5); }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 8vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.hero h1 { margin-bottom: 30px; }
.hero .lead { margin-bottom: 36px; }
.hero-meta { margin-top: 22px; font-size: 14px; color: var(--muted); letter-spacing: .02em; }
.framed { position: relative; }
.framed img { border-radius: 4px; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.framed::after { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--line-strong); border-radius: 4px; z-index: -1; }
.caption { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); margin-top: 22px; }

.page-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(44px, 6.4vw, 92px); margin-bottom: 26px; max-width: 14em; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 36px; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }

/* ── Strip of credentials ───────────────────────────────────────── */
.creds { border-block: 1px solid var(--line); padding: 22px 0; }
.creds ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 38px; align-items: center; justify-content: space-between; }
.creds li { font-size: 13.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; }
.creds li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }
.creds a { text-decoration: none; }

/* ── Sections ───────────────────────────────────────────────────── */
section { position: relative; }
.sec { padding: clamp(72px, 9.5vw, 148px) 0; }
.sec-tight { padding: clamp(48px, 6vw, 88px) 0; }
.bg-2 { background: var(--paper-2); }
.on-ink { background: var(--ink); color: var(--paper); }
.on-ink .lead, .on-ink .small, .on-ink p:where(:not(.rhl-t)) { color: #d8d3c9; }
.on-terra { background: var(--terra); color: var(--paper); }
.on-terra h2 { color: var(--paper); }
.on-terra .eyebrow { color: #f1e3dd; } .on-terra .eyebrow::before { background: rgba(244, 242, 237, .5); }
.on-terra p:where(:not(.rhl-t)) { color: #f6ece8; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head h2 { max-width: 12em; }
.sec-head .lead { margin: 0; }

/* ways in */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.way { padding: 34px 34px 40px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; text-decoration: none; transition: background .25s; position: relative; }
.way:not(:first-child) { padding-left: 34px; }
.way:last-child { border-right: 0; }
.way .num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--terra); }
.way h3 { font-size: clamp(30px, 3.2vw, 44px); }
.way p:where(:not(.rhl-t)) { color: var(--ink-soft); margin: 0; max-width: 24em; }
.way .go { margin-top: auto; padding-top: 26px; font-weight: 500; font-size: 15px; display: inline-flex; gap: 8px; }
.way:hover { color: inherit; }
.way:hover .go { color: var(--terra-deep); }
.way:hover .go .arr { transform: translateX(4px); }
.way .go .arr { transition: transform .2s; }

/* manifesto */
.manifesto p:where(:not(.rhl-t)) { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 60px); line-height: 1.12; letter-spacing: -.02em; color: var(--paper); max-width: 22em; margin: 0 0 .5em; }
.manifesto p:where(:not(.rhl-t)).dim { color: #b9b2a6; }
.manifesto em { color: var(--terra-light); }

/* video */
.video-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(36px, 7vw, 120px); align-items: center; }
.phone { position: relative; width: 100%; max-width: 360px; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: var(--ink); box-shadow: 0 40px 80px -40px rgba(45, 49, 54, .55); }
.phone video, .phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone .play { position: absolute; inset: 0; border: 0; background: linear-gradient(to top, rgba(45, 49, 54, .5), rgba(45, 49, 54, 0) 45%); cursor: pointer; display: flex; align-items: flex-end; justify-content: flex-start; padding: 22px; color: var(--paper); }
.phone .play span.circle { width: 64px; height: 64px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; }
.phone .play span.circle svg { width: 22px; height: 22px; margin-left: 3px; fill: var(--ink); }
.phone .play span.label { margin-left: 16px; align-self: center; font-size: 14px; font-weight: 500; }
.phone.playing .play { display: none; }
.video-copy h2 { margin-bottom: 26px; }
.quote-line { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; color: var(--terra); margin: 28px 0; padding-left: 22px; border-left: 2px solid var(--terra); }

/* method */
.cycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.step { padding: 30px 28px 10px 0; border-right: 1px solid var(--line); }
.step:not(:first-child) { padding-left: 28px; }
.step:last-child { border-right: 0; }
.step .n { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 1; color: var(--terra); margin-bottom: 18px; display: block; }
.step h3 { margin-bottom: 8px; }
.step .sub { font-weight: 500; font-size: 15px; color: var(--ink); margin-bottom: 12px; }
.step p:where(:not(.rhl-t)) { font-size: 15.5px; color: var(--ink-soft); }

/* themes */
.themes { border-top: 1px solid var(--line-strong); }
.theme { display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1.2fr) 40px; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .25s, background .25s; }
.theme .n { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--terra); }
.theme .t { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.02em; }
.theme .d { color: var(--ink-soft); font-size: 16px; }
.theme .a { text-align: right; font-size: 22px; transition: transform .2s; }
.theme:hover { padding-left: 14px; background: var(--paper-2); color: inherit; }
.theme:hover .a { transform: translateX(-6px); color: var(--terra-deep); }

/* trust */
.trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); }
.badges { display: flex; gap: 22px; align-items: center; margin: 34px 0 28px; flex-wrap: wrap; }
.badges img { width: 104px; height: 104px; object-fit: contain; }
.cert-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.cert-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; display: flex; justify-content: space-between; gap: 18px; }
.cert-list li span { color: var(--muted); font-size: 14px; text-align: right; }
.localista { border: 1px solid var(--line-strong); border-radius: var(--r); padding: 26px; background: var(--paper); }
.localista .seal-row { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.localista .seal-row .ico { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 20px; color: var(--sage-deep); }
.reviews { display: grid; gap: 14px; margin: 18px 0 18px; }
.review { padding: 18px 20px; background: var(--paper-2); border-radius: 10px; font-size: 15.5px; }
.review p:where(:not(.rhl-t)) { margin: 0; }
.localista blockquote.review { margin: 0; }
.review .who { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.review.ph { border: 1px dashed var(--line-strong); background: transparent; color: var(--muted); font-style: italic; }
.tag-note { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: #efe1c5; color: #5c4710; padding: 3px 9px; border-radius: 99px; margin-left: 8px; vertical-align: middle; }

/* cards & lists */
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.card { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.card h3 { margin-bottom: 10px; }
.card p:where(:not(.rhl-t)) { color: var(--ink-soft); font-size: 16px; }
.card .meta { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.box { background: var(--paper-2); border-radius: var(--r); padding: 28px; }
.ticklist { list-style: none; margin: 0 0 1.2em; padding: 0; }
.ticklist li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.ticklist li::before { content: ''; position: absolute; left: 0; top: 20px; width: 12px; height: 1px; background: var(--terra); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.tag { font-size: 12.5px; font-weight: 500; padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 99px; color: var(--ink-soft); }

/* images */
.img-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.img-wide img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mosaic figure { margin: 0; } .mosaic img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; width: 100%; }
.mosaic figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }

/* pricing */
.price-table { width: 100%; border-collapse: collapse; font-size: 16.5px; }
.price-table th, .price-table td { text-align: left; padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.price-table thead th { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line-strong); }
.price-table td.name { font-family: var(--serif); font-size: 26px; letter-spacing: -.01em; }
.price-table td.name small { display: block; font-family: var(--sans); font-size: 14px; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.price-table td.pr { white-space: nowrap; font-weight: 500; }
.price-table td.act { text-align: right; padding-right: 0; }
.price-table .pack { color: var(--muted); font-size: 14.5px; }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 56px 24px 0; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.012em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 20px; font-family: var(--sans); font-weight: 300; font-size: 32px; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 56px 26px 0; color: var(--ink-soft); max-width: 46em; }

/* journal */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip { border: 1px solid var(--line-strong); background: transparent; border-radius: 99px; padding: 8px 16px; font-size: 14px; font-weight: 500; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.post { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line-strong); padding: 22px 0 8px; text-decoration: none; }
.post .cat { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--terra-deep); }
.post h3 { font-size: clamp(26px, 2.6vw, 34px); }
.post p:where(:not(.rhl-t)) { color: var(--ink-soft); font-size: 15.5px; margin: 0; }
.post:hover h3 { color: var(--terra-deep); }
.post[hidden] { display: none; }

/* team */
.person { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.person .framed img { aspect-ratio: 3 / 4; }
.person .role { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.soon { border: 1px dashed var(--line-strong); border-radius: var(--r); padding: 26px; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.soon .ph { width: 54px; height: 54px; border-radius: 50%; background: var(--paper-3); }
.soon h3 { font-size: 24px; }

/* forms */
.form { display: grid; gap: 20px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 600; letter-spacing: .02em; }
.field input, .field select, .field textarea { background: var(--paper); border: 1px solid var(--line-strong); border-radius: 10px; padding: 14px 16px; min-height: 50px; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--terra-deep); outline-offset: 1px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--ink); }
.form-ok { display: none; padding: 20px 22px; background: #e4ead8; border-radius: 10px; color: #2f3d1f; }
.form.sent .form-ok { display: block; }
.hp { position: absolute; left: -9999px; }

/* Amelia slots (booking, client area, team cards) */
.slot { position: relative; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--paper); padding: clamp(22px, 3vw, 38px); }
.slot-tag { position: absolute; top: -12px; left: 22px; background: var(--ink); color: var(--paper); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; padding: 4px 12px; border-radius: 99px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tab { border: 1px solid var(--line-strong); background: transparent; border-radius: 99px; padding: 9px 16px; font-size: 14.5px; font-weight: 500; cursor: pointer; text-align: left; }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tab small { display: block; font-weight: 400; opacity: .75; font-size: 12.5px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 20px 0 24px; max-width: 420px; }
.cal b { font-size: 11px; text-align: center; color: var(--muted); letter-spacing: .08em; font-weight: 600; }
.cal button { aspect-ratio: 1; border: 1px solid transparent; border-radius: 50%; background: transparent; cursor: pointer; font-size: 14px; }
.cal button:hover:not(:disabled) { border-color: var(--line-strong); }
.cal button[aria-pressed="true"] { background: var(--terra-deep); color: var(--paper); }
.cal button:disabled { opacity: .3; cursor: default; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.slots button { border: 1px solid var(--line-strong); border-radius: 8px; padding: 9px 15px; background: transparent; cursor: pointer; font-size: 14.5px; }
.slots button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.summary { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 22px; }

/* prose */
.prose p:where(:not(.rhl-t)), .prose li { font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.prose h2 { font-size: clamp(30px, 3.4vw, 46px); margin: 1.6em 0 .6em; }
.prose h3 { margin: 1.4em 0 .5em; }
.prose blockquote { margin: 1.6em 0; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 38px); line-height: 1.18; color: var(--terra); padding-left: 24px; border-left: 2px solid var(--terra); }
.re-line { font-family: var(--serif); font-size: clamp(30px, 4vw, 54px); line-height: 1.2; }
.re-line b { font-weight: 400; font-style: italic; color: var(--terra); }

/* final CTA + footer */
.final { padding: clamp(80px, 10vw, 160px) 0; text-align: left; }
.final h2 { font-size: clamp(42px, 6.4vw, 96px); max-width: 11em; margin-bottom: 28px; }
.site-footer { background: var(--ink); color: #d8d3c9; padding: clamp(56px, 7vw, 100px) 0 40px; font-size: 15px; }
.site-footer a { text-decoration: none; color: #d8d3c9; } .site-footer a:hover { color: var(--terra-light); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.foot-grid h4 { color: #f4f2ed; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-brand img { width: 170px; margin-bottom: 22px; }
.foot-brand p:where(:not(.rhl-t)) { color: #b9b2a6; max-width: 26em; }
.foot-legal { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(244, 242, 237, .16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; color: #a59e92; font-size: 13.5px; }
.foot-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; }
.foot-badges { display: flex; gap: 12px; margin-top: 22px; }
.foot-badges img { width: 62px; height: 62px; object-fit: contain; background: #f4f2ed; border-radius: 50%; padding: 4px; }

/* cookie banner (same logic as the landing) */
.cookie-banner { position: fixed; z-index: 120; left: 16px; right: 16px; bottom: 16px; max-width: 440px; background: var(--ink); color: var(--paper); border-radius: 16px; padding: 20px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55); transform: translateY(calc(100% + 32px)); opacity: 0; transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
.cookie-banner.visible { transform: translateY(0); opacity: 1; }
.cookie-banner p:where(:not(.rhl-t)) { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: #e4dfd5; }
.cookie-banner a { color: var(--terra-light); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions button { flex: 1; min-height: 44px; border-radius: 99px; border: 1px solid rgba(244, 242, 237, .5); background: transparent; color: var(--paper); font-weight: 500; cursor: pointer; }
.cookie-actions button.accept { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s, transform .8s; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .rv { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav { gap: 20px; } .nav a { font-size: 14px; }
  .client-link { display: none; }
  .cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(3) { padding-left: 0; } .step:nth-child(3), .step:nth-child(4) { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 34px; }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1040px) {
  .nav, .header-tools .client-link, .header-cta { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .header-tools { margin-left: auto; } .header-tools .menu-btn { margin-left: 0; }
}
@media (max-width: 900px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 78px; }
  .hero-grid, .sec-head, .trust-grid, .video-grid, .person, .cols-2 { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { align-items: start; }
  .hero figure { max-width: 420px; margin-right: 14px; }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .way, .way:not(:first-child) { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .way:last-child { border-bottom: 0; }
  .theme { grid-template-columns: 44px minmax(0, 1fr) 28px; gap: 12px; }
  .theme .d { grid-column: 2 / 3; font-size: 15px; }
  .theme .a { grid-column: 3; grid-row: 1; }
  .cols-3 { grid-template-columns: minmax(0, 1fr); }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form .row { grid-template-columns: minmax(0, 1fr); }
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; }
  .price-table thead { display: none; }
  .price-table tr { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .price-table td { border: 0; padding: 4px 0; }
  .price-table td.act { text-align: left; padding-top: 12px; }
  .cookie-banner { bottom: 94px; }
  .phone { margin-inline: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .cycle { grid-template-columns: minmax(0, 1fr); }
  .step, .step:not(:first-child), .step:nth-child(3) { padding: 26px 0; border-right: 0; border-top: 1px solid var(--line); margin-top: 0; }
  .cols-4 { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .creds ul { justify-content: flex-start; }
}

/* booking mock: day buttons are wider than the 7-column month grid */
[data-booking] .cal { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); max-width: none; }
.sum-go:disabled { cursor: not-allowed; }
.person .framed { max-width: 460px; }
@media (max-width: 900px) { .cols-2[style*="grid-template-columns"], .video-grid[style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; } .cycle[style*="repeat(3"] { grid-template-columns: minmax(0, 1fr) !important; } }

.manifesto-link { margin-top: 2.4em; }
.manifesto-link .link-arrow { color: var(--paper); border-color: rgba(244, 242, 237, .5); font-family: var(--sans); letter-spacing: 0; }
.manifesto-link .link-arrow:hover { color: var(--terra-light); border-color: var(--terra-light); }
.phone .play span.label { align-self: flex-end; margin-bottom: 22px; }
.hero figure .caption { margin-top: 30px; }
[data-booking] .cal button { border-color: var(--line); }
[data-booking] .cal button:hover { border-color: var(--ink); }
.menu-open .sticky-cta { display: none; }
@media (max-width: 640px) { .mobile-menu a.m-link { font-size: 32px; padding: 10px 0; } }

/* ════════════════════════════════════════════════════════════════════
   v2.1  personality layer: illustrations, icons, motion, long-form
   ════════════════════════════════════════════════════════════════════ */
:root { --ease: cubic-bezier(.2, .7, .2, 1); --ink-2: #3b4046; }
.ic { width: 22px; height: 22px; flex: none; display: inline-block; vertical-align: -5px; }
.btn > span { display: inline-block; }
.btn .ic { width: 18px; height: 18px; vertical-align: -3px; }

/* progress bar + header states */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--terra); transform: scaleX(0); transform-origin: 0 50%; }
.site-header { transition: height .3s var(--ease), box-shadow .3s; }
.is-scrolled .site-header { --header-h: 64px; height: 64px; box-shadow: 0 10px 30px -22px rgba(45, 49, 54, .55); }
.is-scrolled .brand { width: 120px; }
.brand { transition: width .3s var(--ease); }
.client-link .ic { width: 20px; height: 20px; }
.nav a { position: relative; border-bottom: 0; }
.nav a::after, .dd-b::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after, .dd-b.is-cur::after, .dd:hover .dd-b::after { transform: scaleX(1); }
.nav { gap: 24px; }
.dd { position: relative; }
.dd-b { background: none; border: 0; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--ink-soft); padding: 6px 0; display: inline-flex; align-items: center; gap: 7px; position: relative; }
.dd-b i { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.dd:hover .dd-b i, .dd-b[aria-expanded="true"] i { transform: rotate(225deg) translate(-2px, 0); }
.dd-m { position: absolute; top: calc(100% + 14px); right: -18px; min-width: 190px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: 0 24px 50px -24px rgba(45, 49, 54, .45); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease); }
.dd:hover .dd-m, .dd:focus-within .dd-m, .dd-b[aria-expanded="true"] + .dd-m { opacity: 1; visibility: visible; transform: none; }
.dd-m a { display: block; padding: 10px 14px; border-radius: 8px; white-space: nowrap; }
.dd-m a::after { display: none; }
.dd-m a:hover { background: var(--paper-2); }
.dd-m::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.mobile-menu a.m-link { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.menu-open .mobile-menu a.m-link { opacity: 1; transform: none; }
.menu-open .sticky-cta { display: none; }
@media (max-width: 1180px) { .nav { gap: 18px; } .nav a, .dd-b { font-size: 14px; } .client-link span { display: none; } }
@media (max-width: 1100px) { .nav, .header-tools .client-link, .header-cta { display: none; } .menu-btn { display: inline-flex; margin-left: auto; } .header-tools { margin-left: auto; } .header-tools .menu-btn { margin-left: 0; } }

/* word-by-word headline reveal */
.wr { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .16em; margin: 0 -.06em -.16em; }
.wr > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 65ms + 120ms); will-change: transform; }
.ready .wr > span { transform: none; }
h1 em .wr > span { color: var(--terra); }
.hero h1, .page-hero h1 { text-wrap: balance; }

/* reveal with stagger */
.rv { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }

/* buttons: micro motion */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ''; position: absolute; inset: 0; background: var(--terra-deep); transform: translateY(101%); transition: transform .4s var(--ease); z-index: -1; }
.btn:hover::before { transform: none; }
.btn-ghost::before { background: var(--ink); }
.btn-light::before { background: var(--terra-light); }
.btn-outline-light::before { background: var(--paper); }
.btn:hover { background: var(--ink); }
.btn-ghost:hover { background: transparent; color: var(--paper); }
.btn-light:hover { background: var(--paper); color: var(--ink); }
.btn-outline-light:hover { background: transparent; color: var(--ink); }
.btn .arr { transition: transform .3s var(--ease); }
.link-arrow { position: relative; border-bottom: 0; padding-bottom: 3px; }
.link-arrow::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-strong); transform-origin: 0 50%; transition: transform .4s var(--ease), background .3s; }
.link-arrow:hover::after { background: var(--terra-deep); transform: scaleX(1.0); }
.link-arrow .arr { transition: transform .3s var(--ease); }
.link-arrow:hover .arr { transform: translateX(4px); }

/* ── Home hero ────────────────────────────────────────────────── */
.hero-home .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.hero-fig { margin: 0; position: relative; }
.hero-frame { transform: rotate(0deg); animation: floaty 9s ease-in-out infinite; }
.hero-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.hero-fig .seal { position: absolute; width: 92px; height: 92px; border-radius: 50%; background: var(--paper); box-shadow: 0 18px 34px -16px rgba(45, 49, 54, .55); display: grid; place-items: center; animation: floaty 7s ease-in-out infinite; }
.hero-fig .seal img { width: 78px; height: 78px; object-fit: contain; }
.seal-a { left: -34px; bottom: 96px; }
.seal-b { right: -22px; top: 38px; animation-delay: -3s !important; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero-home .hero-meta { display: flex; align-items: center; gap: 10px; }
.hero-home .hero-meta::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 0 rgba(139, 155, 107, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(139, 155, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(139, 155, 107, 0); } }

/* inner-page hero with illustration */
.hero-art { padding-bottom: clamp(48px, 6vw, 90px); }
.hero-art .hero-grid, .hub-hero .hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero-art h1, .hub-hero h1 { margin-bottom: 26px; max-width: 12em; }
.hero-copy .crumbs { margin-bottom: 30px; }
.art-frame { margin: 0; position: relative; max-width: 560px; justify-self: end; width: 100%; }
.art-in { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 1; background: var(--paper-3); box-shadow: 0 40px 80px -46px rgba(45, 49, 54, .6); transition: transform .8s var(--ease); }
.art-in img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.art-frame::after { content: ''; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--line-strong); border-radius: 6px; z-index: -1; transition: inset .6s var(--ease); }
.art-frame:hover::after { inset: 10px -10px -10px 10px; }
.art-frame:hover .art-in img { transform: scale(1.09); }
.ready .art-in img { animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.12) translate(-1.2%, -1%); } }
.lotus-art { display: grid; place-items: center; background: var(--terra); color: var(--paper); }
.lotus-art svg { width: 46%; height: auto; }
.sub-line { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); color: var(--terra); margin: 0 0 22px; }
.page-hero.hero-art .lead p:where(:not(.rhl-t)) { margin: 0 0 .9em; }

/* credential strip stays, add column variant */
.creds-col ul { justify-content: flex-start; gap: 12px 34px; }
.creds li::before { animation: pulse-t 3.4s infinite; }
@keyframes pulse-t { 50% { transform: scale(1.6); opacity: .6; } }

/* doors (home) */
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.door { display: flex; flex-direction: column; gap: 14px; text-decoration: none; padding: 0 0 26px; border-bottom: 1px solid var(--line-strong); position: relative; }
.door-art { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 4px; background: var(--paper-3); margin-bottom: 8px; }
.door-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.door:hover .door-art img { transform: scale(1.08) rotate(.6deg); }
.door-t { display: flex; align-items: center; gap: 12px; color: var(--terra); }
.door-t h3 { color: var(--ink); font-size: clamp(28px, 2.5vw, 36px); }
.door p:where(:not(.rhl-t)) { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.door .go { margin-top: auto; padding-top: 10px; font-weight: 500; font-size: 15px; display: inline-flex; gap: 8px; }
.door:hover .go { color: var(--terra-deep); }
.door:hover .go .arr { transform: translateX(5px); }
.door .go .arr { transition: transform .3s var(--ease); }
.door-hub .hub-art { background: var(--terra); display: grid; place-items: center; color: var(--paper); }
.door-hub .hub-art svg { width: 38%; transition: transform 1s var(--ease); }
.door-hub:hover .hub-art svg { transform: scale(1.12) rotate(-4deg); }

/* manifesto: lines light up on scroll + marquee */
.manifesto-sec { padding-bottom: 0; overflow: hidden; }
.manifesto .mf { transition: opacity .7s, color .7s; }
.manifesto .mf { opacity: .28; }
.manifesto .mf.lit { opacity: 1; }
.manifesto .mf.dim.lit { opacity: .78; }
.manifesto-sec .manifesto-link { margin: 2.4em 0 clamp(64px, 8vw, 110px); }
.marquee { border-top: 1px solid rgba(244, 242, 237, .16); padding: 22px 0; overflow: hidden; white-space: nowrap; }
.marquee-in { display: inline-flex; align-items: center; gap: 36px; animation: marquee 48s linear infinite; font-family: var(--serif); font-size: clamp(26px, 3.2vw, 44px); color: transparent; -webkit-text-stroke: 1px rgba(244, 242, 237, .5); letter-spacing: -.01em; }
.marquee-in i { font-style: normal; font-size: .5em; color: var(--terra-light); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-25%); } }
.marquee:hover .marquee-in { animation-play-state: paused; }

/* video preview */
.phone { transition: transform .6s var(--ease), box-shadow .6s; }
.phone:hover { transform: translateY(-6px) rotate(-.6deg); }
.phone video { background: var(--ink); }
.phone .play { transition: background .4s; }
.phone .play:hover { background: linear-gradient(to top, rgba(45, 49, 54, .65), rgba(45, 49, 54, .05) 55%); }
.phone .play span.circle { position: relative; transition: transform .4s var(--ease); }
.phone .play span.circle::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(244, 242, 237, .75); animation: ring 2.2s infinite; }
.phone .play:hover span.circle { transform: scale(1.08); }
@keyframes ring { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.live-chip { position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: rgba(45, 49, 54, .6); backdrop-filter: blur(8px); color: var(--paper); font-size: 12px; font-weight: 500; letter-spacing: .04em; padding: 7px 13px; border-radius: 99px; }
.live-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--terra-light); animation: pulse-t 1.6s infinite; }
.phone.playing .live-chip { display: none; }
.phone .play span.label { color: var(--paper); text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }

/* archetype tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.tile { text-decoration: none; display: flex; flex-direction: column; gap: 14px; position: relative; }
.tile-art { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--paper-3); position: relative; }
.tile-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile-art::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(45, 49, 54, .12); border-radius: 4px; pointer-events: none; }
.tile:hover .tile-art img { transform: scale(1.08) rotate(.8deg); }
.tile-t { display: flex; flex-direction: column; gap: 4px; }
.tile-t .n { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--terra); display: flex; align-items: center; gap: 8px; }
.tile-t h3 { font-size: clamp(24px, 2.1vw, 30px); transition: color .3s; }
.tile:hover h3 { color: var(--terra-deep); }
.tile-sub { font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.tile-p { font-size: 15px; color: var(--ink-soft); line-height: 1.5; margin-top: 8px; }
.tile .go { margin-top: 10px; font-weight: 500; font-size: 15px; display: inline-flex; gap: 8px; }
.tile-cta { background: var(--terra); color: var(--paper); border-radius: 4px; padding: 26px; justify-content: space-between; min-height: 100%; transition: background .4s; }
.tile-cta:hover { background: var(--terra-deep); color: var(--paper); }
.tile-cta-in { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.tile-cta h3 { font-size: clamp(28px, 2.6vw, 38px); color: var(--paper); }
.tile-cta p:where(:not(.rhl-t)) { margin: 0; color: #f6ece8; font-size: 15.5px; }
.tile-cta .ic { width: 38px; height: 38px; }
.tile-cta .go { margin-top: auto; }
.tiles-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.tile.mini h3 { font-size: 19px; }
.tiles-lg { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.tile-lg .tile-t h3 { font-size: clamp(30px, 3vw, 42px); }
.tile-lg:nth-child(3n+2) { margin-top: 56px; }

/* long-form story blocks */
.story { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.story-h { position: sticky; top: calc(var(--header-h) + 36px); }
.story-h h2 { margin-top: 0; }
.prose p:where(:not(.rhl-t)):first-child { margin-top: 0; }
.prose h3 { font-size: clamp(26px, 2.6vw, 36px); }
.pull { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--terra); font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 40px); line-height: 1.18; color: var(--terra); }
.pull p:where(:not(.rhl-t)) { margin: 0; font: inherit; color: inherit; }
.on-ink .pull { color: var(--terra-light); border-color: var(--terra-light); }
.photo { margin: 28px 0 0; }
.photo img { width: 100%; border-radius: 4px; }
.art-sm { max-width: 340px; }
.portrait { margin: 0; position: relative; }
.portrait img { width: 100%; border-radius: 4px; aspect-ratio: 3 / 4; object-fit: cover; filter: saturate(.96); transition: transform 1s var(--ease); }
.portrait figcaption { display: flex; flex-direction: column; margin-top: 14px; font-size: 14px; color: var(--muted); }
.portrait figcaption strong { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--ink); }
.portrait.small { max-width: 300px; margin-top: 26px; }
.portrait::after { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--line-strong); border-radius: 4px; z-index: -1; }
.expert .portrait { max-width: 430px; }
.tagline { padding: clamp(44px, 6vw, 88px) 0; border-bottom: 1px solid var(--line); }
.tag-big { font-family: var(--serif); font-size: clamp(32px, 4vw, 56px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 26px; }
.tag-big em { color: var(--terra); }

/* cycle + spiral */
.cycle-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.cycle-spiral { max-width: 520px; width: 100%; }
.spiral { width: 100%; height: auto; overflow: visible; }
.sp-line { fill: none; stroke: var(--terra); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 3.2s var(--ease); }
.in .sp-line { stroke-dashoffset: 0; }
.sp-node { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: opacity .6s, transform .6s var(--ease); transition-delay: var(--d, 1s); }
.in .sp-node { opacity: 1; transform: none; }
.sp-node circle { fill: var(--paper); stroke: var(--terra); stroke-width: 1.5; r: 15px; }
.sp-node text { font-family: var(--serif); font-style: italic; font-size: 17px; fill: var(--terra-deep); }
.cycle-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; }
.cycle-2 .step { border-top: 1px solid var(--line-strong); border-right: 0; padding: 26px 24px 18px 0; }
.cycle-2 .step:nth-child(even) { padding-left: 24px; }
.cycle-2 .step:nth-child(n+3) { margin-top: 0; }
.step-ic { width: 30px; height: 30px; color: var(--terra); margin: 0 0 12px; }
.step .n { font-size: 54px; }
.phases { display: grid; gap: 0; }
.phase { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid var(--line-strong); }
.phase:last-child { border-bottom: 1px solid var(--line-strong); }
.phase-n { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.phase-n span { font-family: var(--serif); font-style: italic; font-size: 56px; line-height: 1; color: var(--terra); }
.phase .sub { font-weight: 600; margin: 6px 0 14px; font-size: 15px; }
.phase p:where(:not(.rhl-t)) { color: var(--ink-soft); font-size: 16.5px; }

/* cards with icons */
.card { transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card-ic { width: 34px; height: 34px; color: var(--terra); margin: 0 0 14px; display: block; }
.way-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; border-top-width: 1px; }
.bg-2 .way-card { background: var(--paper); }
.way-card p:where(:not(.rhl-t)) { margin: 0 0 14px; }
.way-card .btn { margin-top: auto; }
.cols-4 .card { padding-right: 8px; }
.values { display: grid; gap: 0; }
.val { display: grid; grid-template-columns: 34px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); align-items: start; }
.val:last-child { border-bottom: 1px solid var(--line); }
.val .ic { width: 28px; height: 28px; color: var(--terra); margin-top: 2px; }
.val p:where(:not(.rhl-t)) { margin: 0; font-size: 18px; color: var(--ink-soft); }
.re-grid { display: grid; gap: 4px; margin-top: 10px; }
.re-line { margin: 0; font-size: clamp(26px, 3.3vw, 44px); line-height: 1.2; font-family: var(--serif); padding: 12px 0; border-top: 1px solid var(--line); }
.re-line b { font-weight: 400; font-style: italic; color: var(--terra); margin-right: .15em; }
.re-line:first-child { border-top: 0; }

/* ── Animated accordion (exclusive group) ───────────────────── */
.acc { border-top: 1px solid var(--line-strong); }
.acc-item { border-bottom: 1px solid var(--line); transition: background .4s; }
.acc-item.open { background: linear-gradient(to bottom, transparent, rgba(160, 105, 91, .05)); }
.acc-h { margin: 0; font: inherit; letter-spacing: 0; }
.acc-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; background: none; border: 0; cursor: pointer; padding: 24px 4px 24px 0; font-family: var(--serif); font-size: clamp(23px, 2.3vw, 31px); line-height: 1.16; letter-spacing: -.012em; color: var(--ink); }
.acc-q > span { display: flex; flex-direction: column; gap: 2px; }
.acc-q small { font-family: var(--sans); font-size: 13.5px; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.acc-q .acc-ic { width: 30px; height: 30px; color: var(--terra); margin-bottom: 6px; }
.acc-q:hover { color: var(--terra-deep); }
.acc-i { position: relative; width: 38px; height: 38px; flex: none; border: 1px solid var(--line-strong); border-radius: 50%; transition: background .35s, border-color .35s, transform .5s var(--ease); }
.acc-i::before, .acc-i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .5s var(--ease), background .3s; }
.acc-i::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-q:hover .acc-i { border-color: var(--terra-deep); }
.acc-item.open .acc-i { background: var(--ink); border-color: var(--ink); transform: rotate(180deg); }
.acc-item.open .acc-i::before, .acc-item.open .acc-i::after { background: var(--paper); }
.acc-item.open .acc-i::after { transform: translate(-50%, -50%) rotate(0); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); visibility: hidden; }
.acc-item.open .acc-a { grid-template-rows: 1fr; visibility: visible; }
.acc-w { overflow: hidden; min-height: 0; }
.acc-in { padding: 0 64px 28px 0; color: var(--ink-soft); max-width: 48em; opacity: 0; transform: translateY(-8px); transition: opacity .5s var(--ease) .1s, transform .5s var(--ease) .1s; }
.acc-item.open .acc-in { opacity: 1; transform: none; }
.acc-in p:where(:not(.rhl-t)):last-child { margin-bottom: 0; }
.acc-a { transition: grid-template-rows .55s var(--ease), visibility 0s linear .55s; }
.acc-item.open .acc-a { transition: grid-template-rows .55s var(--ease), visibility 0s; }
.no-js .acc-a { grid-template-rows: 1fr; visibility: visible; }
.no-js .acc-in { opacity: 1; transform: none; }
.acc .tags { margin: 0 0 14px; }
.edu .grp { font-size: 15px; font-family: var(--sans); letter-spacing: .13em; text-transform: uppercase; font-weight: 600; margin: 0 0 14px; color: var(--terra-deep); }
.edu .acc-q { font-size: clamp(21px, 2vw, 26px); }

/* ── Journal, posts, filters, article ───────────────────────── */
.posts { align-items: stretch; }
.post { border-top: 0; padding: 0; gap: 0; background: transparent; transition: transform .5s var(--ease); }
.post:hover { transform: translateY(-5px); }
.post-art { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: var(--paper-3); margin-bottom: 18px; }
.post-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .post-art img { transform: scale(1.07); }
.post-b { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line-strong); padding-top: 16px; flex: 1; }
.post h3 { font-size: clamp(24px, 2.2vw, 30px); }
.post-meta { font-size: 13px; color: var(--muted); margin-top: auto; }
.tag-note.en-tag { margin-left: 6px; background: var(--paper-3); color: var(--muted); }
.filters { display: grid; gap: 18px; margin-bottom: 44px; }
.fl { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.fl-l { font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); min-width: 120px; }
.fl .chips { margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); text-decoration: none; }
.chip:hover { border-color: var(--ink); transform: translateY(-2px); }
.chip .ic { width: 17px; height: 17px; vertical-align: 0; }
.chip.sm { padding: 6px 13px; font-size: 13px; }
.empty { color: var(--muted); font-style: italic; }
.art-hero { padding: clamp(40px, 5vw, 76px) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.art-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.art-hero h1 { font-size: clamp(40px, 5.4vw, 80px); margin: 14px 0 24px; }
.cat-chip { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--terra-deep); text-decoration: none; border: 1px solid var(--line-strong); padding: 6px 14px; border-radius: 99px; }
.dek { font-size: clamp(19px, 1.6vw, 22px); }
.dek p:where(:not(.rhl-t)) { margin: 0; }
.byline { display: flex; align-items: center; gap: 14px; font-size: 14.5px; color: var(--muted); margin-top: 26px; line-height: 1.4; }
.byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; }
.byline strong { color: var(--ink); font-weight: 600; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.art-cover { margin: 0; }
.art-cover img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; box-shadow: 0 40px 70px -44px rgba(45, 49, 54, .6); }
.art-grid { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(32px, 6vw, 96px); padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(48px, 6vw, 90px); justify-content: center; }
.art-grid:not(:has(.toc)) { grid-template-columns: minmax(0, 720px); }
.toc { position: relative; }
.toc-in { position: sticky; top: calc(var(--header-h) + 36px); }
.toc h4 { margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14.5px; line-height: 1.35; text-decoration: none; color: var(--muted); transition: color .3s, border-color .3s; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); border-color: var(--terra); font-weight: 500; }
.art-body > p:where(:not(.rhl-t)):first-child::first-letter { font-family: var(--serif); float: left; font-size: 4.4em; line-height: .82; padding: 8px 12px 0 0; color: var(--terra); }
.art-body h2 { font-size: clamp(30px, 3.2vw, 42px); scroll-margin-top: calc(var(--header-h) + 24px); }
.art-body p:where(:not(.rhl-t)) { font-size: 18.5px; line-height: 1.75; }
.art-body ul { margin: 0 0 1.4em; padding-left: 1.2em; } .art-body li { margin-bottom: .5em; }
.author { display: grid; grid-template-columns: 96px 1fr; gap: 22px; margin: 64px 0 28px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-2); }
.author img { width: 96px; height: 120px; object-fit: cover; object-position: 50% 15%; border-radius: 4px; }
.author p:where(:not(.rhl-t)) { font-size: 15.5px; line-height: 1.55; margin: 0 0 10px; }
.author .a-name { font-family: var(--serif); font-size: 28px; color: var(--ink); margin: 0 0 6px; }
.art-cta { background: var(--ink); color: var(--paper); border-radius: var(--r); padding: 34px; }
.art-cta h3 { color: var(--paper); margin-bottom: 8px; } .art-cta p:where(:not(.rhl-t)) { color: #d8d3c9; font-size: 17px; }

/* resources */
.res-group { margin-top: 64px; }
.res-head { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; }
.res-art { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; flex: none; }
.res-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.res-art:hover img { transform: scale(1.12); }
.res-head h2 { font-size: clamp(32px, 3.4vw, 46px); }
.res-card { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: var(--paper); transition: transform .5s var(--ease), border-color .3s; }
.res-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.res-card.avail { border-color: var(--line-strong); }
.res-card .meta { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.res-card h3 { font-size: 26px; }
.res-card p:where(:not(.rhl-t)) { font-size: 15.5px; color: var(--ink-soft); margin: 0 0 8px; }
.res-card > .btn, .res-card > .notify { margin-top: auto; }
.res-card .btn { min-height: 46px; padding: 10px 20px; font-size: 14.5px; }
.notify { display: flex; flex-wrap: wrap; gap: 8px; }
.notify input[type=email] { flex: 1 1 150px; min-width: 0; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--paper); min-height: 46px; }
.notify .form-ok { display: none; flex-basis: 100%; padding: 10px 14px; font-size: 14px; }
.notify.sent .form-ok { display: block; } .notify.sent > :not(.form-ok) { display: none; }

/* misc components */
.pager .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pg { display: flex; align-items: center; gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; font-family: var(--serif); font-size: 26px; transition: background .3s, transform .4s var(--ease); }
.pg:hover { background: var(--paper-2); transform: translateY(-3px); }
.pg img { width: 84px; height: 84px; object-fit: cover; border-radius: 4px; }
.pg small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.pg.next { justify-content: space-between; text-align: right; }
.contact-list { display: grid; gap: 26px; }
.ci { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.ci .ic { width: 28px; height: 28px; color: var(--terra); }
.ci h4 { margin: 0 0 4px; } .ci p:where(:not(.rhl-t)) { margin: 0; }
.form-card { background: var(--paper); color: var(--ink); border-radius: 18px; padding: clamp(22px, 3vw, 38px); }
.form-card.light { border: 1px solid var(--line-strong); }
.facts { display: grid; gap: 0; margin: 28px 0 0; }
.fact { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.fact:last-child { border-bottom: 1px solid var(--line); }
.fact dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 4px; } .fact dd { margin: 0; }
.final { position: relative; overflow: hidden; }
.final-lotus { position: absolute; right: clamp(-40px, 4vw, 90px); bottom: -20px; width: clamp(180px, 26vw, 380px); height: auto; color: rgba(244, 242, 237, .07); pointer-events: none; transition: transform 1.4s var(--ease); }
.final .wrap { position: relative; }
.foot-top { display: flex; align-items: center; gap: 22px; padding-bottom: 46px; margin-bottom: 46px; border-bottom: 1px solid rgba(244, 242, 237, .16); }
.foot-lotus { width: 38px; height: auto; filter: invert(1) opacity(.85); }
.foot-line { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3vw, 38px); margin: 0; color: #f4f2ed; }
.soon .ph { display: grid; place-items: center; color: var(--terra); }
.soon .ph .ic { width: 26px; height: 26px; }
.price-table .btn { min-height: 46px; padding: 10px 22px; }
.sec-head h2 { text-wrap: balance; }
.grp { }

/* ── responsive for the new layer ───────────────────────────── */
@media (max-width: 1080px) {
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles-7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tiles-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile-lg:nth-child(3n+2) { margin-top: 0; }
  .cycle-wrap { grid-template-columns: minmax(0, 1fr); } .cycle-spiral { margin: 0 auto 20px; max-width: 420px; }
  .art-grid { grid-template-columns: minmax(0, 720px); } .toc { display: none; }
}
@media (max-width: 900px) {
  .hero-art .hero-grid, .hub-hero .hero-grid, .art-head, .story { grid-template-columns: minmax(0, 1fr); }
  .art-frame { justify-self: start; max-width: 420px; }
  .story-h { position: static; }
  .seal-a { left: -10px; } .seal-b { right: -6px; }
  .hero-fig { max-width: 420px; margin-right: 14px; }
  .art-cover { max-width: 380px; }
  .phase { grid-template-columns: 64px minmax(0, 1fr); } .phase-n span { font-size: 44px; }
  .pager .wrap { grid-template-columns: 1fr; }
  .acc-in { padding-right: 0; }
  .fl-l { min-width: 0; flex-basis: 100%; }
}
@media (max-width: 640px) {
  .doors { grid-template-columns: minmax(0, 1fr); }
  .tiles { gap: 16px; } .tiles-7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles-lg { grid-template-columns: minmax(0, 1fr); }
  .cycle-2 { grid-template-columns: minmax(0, 1fr); } .cycle-2 .step, .cycle-2 .step:nth-child(even) { padding: 24px 0 12px; }
  .fact { grid-template-columns: 1fr; gap: 2px; }
  .author { grid-template-columns: 72px 1fr; padding: 20px; } .author img { width: 72px; height: 92px; }
  .acc-q { padding: 20px 0; } .acc-i { width: 34px; height: 34px; }
  .hero-fig .seal { width: 72px; height: 72px; } .hero-fig .seal img { width: 60px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .wr > span { transform: none !important; transition: none; }
  .marquee-in, .hero-frame, .hero-fig .seal, .ready .art-in img { animation: none !important; }
  .sp-line { stroke-dashoffset: 0; } .sp-node { opacity: 1; transform: none; }
  .manifesto .mf { opacity: 1; }
  .acc-a, .acc-in { transition: none; }
}
.seal-person { overflow: hidden; width: 104px !important; height: 104px !important; padding: 0; border: 3px solid var(--paper); text-decoration: none; }
.seal-person img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 14%; }
.seal-person span { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 11px; line-height: 1.15; font-weight: 600; letter-spacing: .04em; color: var(--paper); background: linear-gradient(to top, rgba(45, 49, 54, .85), transparent); padding: 14px 4px 6px; }
.photo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.photo-strip figure { margin: 0; overflow: hidden; border-radius: 4px; }
.photo-strip figure:nth-child(even) { margin-top: 36px; }
.photo-strip img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo-strip figure:hover img { transform: scale(1.05); }
@media (max-width: 640px) { .photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.no-js .wr > span { transform: none; }
.no-js .rv { opacity: 1; transform: none; }

.expert .portrait img { aspect-ratio: 4 / 5; object-position: 50% 10%; }
.spiral { max-width: 100%; }
.mf-intro { max-width: 40em; margin-bottom: clamp(36px, 5vw, 64px); }
.mf-intro p:where(:not(.rhl-t)) { font-family: var(--sans); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: #d8d3c9; margin: 0 0 1em; letter-spacing: 0; max-width: none; }
.sub-h { font-size: clamp(22px, 2vw, 28px); font-style: italic; color: var(--terra); margin: 0 0 14px; }
.grp-row td { padding: 38px 0 10px !important; border-bottom: 1px solid var(--line-strong) !important; }
.grp-t { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); }
.grp-s { color: var(--muted); font-size: 15px; margin-left: 12px; }
.re-to { font-size: .6em; color: var(--muted); font-family: var(--sans); margin-right: .5em; letter-spacing: .02em; }
@media (max-width: 900px) { .grp-row td { display: block; padding-top: 28px !important; } .grp-s { display: block; margin: 4px 0 0; } }
.lead-q { font-family: var(--serif); font-style: italic; color: var(--terra); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; border-left: 2px solid var(--terra); padding-left: 18px; margin: 18px 0; }
.cycle-spiral { position: sticky; top: calc(var(--header-h) + 40px); }
.cycle-wrap { align-items: start; }
@media (max-width: 1080px) { .cycle-spiral { position: static; } }
@media (max-width: 900px) {
  .hero-home .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-home .hero-fig { max-width: 380px; width: calc(100% - 16px); }
  .seal-person { width: 88px !important; height: 88px !important; }
  .seal-a { bottom: 70px; }
}
.art-cover img { aspect-ratio: 3 / 2; }
.credit { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.credit a { color: inherit; }

/* ── Conversion layer: modal, lead banner, chooser, how it works, reassurance ── */
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 14.5px; }
.micro { font-size: 13.5px; letter-spacing: .02em; color: var(--muted); margin: 10px 0 0; }
.micro::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); margin-right: 10px; vertical-align: middle; }
.on-ink .micro { color: #cfc8bc; }

.modal { border: 0; padding: 0; background: var(--paper); color: var(--ink); border-radius: 22px; width: min(480px, calc(100vw - 32px)); box-shadow: 0 50px 120px -30px rgba(20, 22, 26, .6); overflow: visible; }
.modal::backdrop { background: rgba(45, 49, 54, .55); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .45s var(--ease); }
.modal[open]::backdrop { animation: fade-in .4s; }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.lm-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.lm-x:hover { background: var(--ink); color: var(--paper); transform: rotate(90deg); }
.lm-body { padding: clamp(26px, 5vw, 40px); }
.lm-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; color: var(--terra); margin-bottom: 18px; }
.lm-ic.ok { background: #e4ead8; color: var(--sage-deep); }
.lm-body h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 10px; }
.lm-d, .lm-ok-d { color: var(--ink-soft); font-size: 16px; margin: 0 0 22px; }
.lm-form .btn { width: 100%; }
.lm-ok { display: none; }
.lm-body[data-state="ok"] .lm-form-wrap { display: none; }
.lm-body[data-state="ok"] .lm-ok { display: block; animation: modal-in .5s var(--ease); }
.lm-next { margin: 22px 0 0; font-size: 14.5px; } .lm-next a { color: var(--ink-soft); }
.lm-ok .btn { margin-top: 4px; }

.lead-banner-s { padding-top: 0; padding-bottom: clamp(32px, 4vw, 56px); }
.lead-banner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; border: 1px solid var(--line-strong); border-radius: var(--r); padding: 18px 22px; background: var(--paper); }
.lead-banner > div { flex: 1 1 260px; display: flex; flex-direction: column; }
.lb-k { font-size: 11.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--terra-deep); }
.lb-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; color: var(--terra); }
.lead-banner strong { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.res-card .btn svg { margin-right: 2px; }

.choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.choice { display: flex; flex-direction: column; gap: 14px; text-decoration: none; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); transition: transform .5s var(--ease), border-color .3s, background .3s; }
.bg-2 .choice { background: var(--paper); }
.choice:hover { transform: translateY(-5px); border-color: var(--terra); }
.choice-art { display: block; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; }
.choice-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.choice:hover .choice-art img { transform: scale(1.08); }
.choice-t { font-family: var(--serif); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; flex: 1; }
.choice-go { font-size: 13.5px; font-weight: 500; color: var(--terra-deep); }
@media (max-width: 1080px) { .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .choices { grid-template-columns: minmax(0, 1fr); } .choice { flex-direction: row; align-items: center; } .choice-art { flex: 0 0 96px; aspect-ratio: 1; } .choice-go { display: none; } }

.how { border-block: 1px solid var(--line); background: var(--paper); }
.how-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.how h2 { margin-bottom: 18px; }
.how-steps { display: grid; gap: 0; }
.how-s { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.how-s:last-child { border-bottom: 1px solid var(--line); }
.how-n { font-family: var(--serif); font-style: italic; font-size: 48px; line-height: 1; color: var(--terra); }
.how-s h3 { font-size: 26px; margin-bottom: 6px; } .how-s p:where(:not(.rhl-t)) { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.how .btn { margin-top: 22px; }
@media (max-width: 900px) { .how-grid { grid-template-columns: minmax(0, 1fr); } }

.reassure { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0 0 30px; color: #d8d3c9; font-size: 15px; }
.reassure li { display: inline-flex; align-items: center; gap: 8px; } .reassure .ic { width: 18px; height: 18px; color: var(--terra-light); vertical-align: 0; }
.trust-row { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.trust-row li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; }
.trust-row .ic { width: 20px; height: 20px; color: var(--sage-deep); flex: none; margin-top: 2px; vertical-align: 0; }
@media (max-width: 900px) { .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trust-row { grid-template-columns: minmax(0, 1fr); } }

.inline-cta { display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap; margin: 2.2em 0; padding: 20px 24px; border-radius: var(--r); background: var(--paper-2); border-left: 3px solid var(--terra); }
.inline-cta .ic-k { flex-basis: 100%; font-size: 11.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--terra-deep); }
.inline-cta strong { flex: 1 1 240px; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; color: var(--ink); }
.form-ok strong { display: block; margin-bottom: 6px; } .form-ok a { color: inherit; }
.form .field input:user-invalid, .form .field select:user-invalid, .form .field textarea:user-invalid { border-color: #b4534a; }

/* contrast: body text inside dark sections */
.on-ink .prose p:where(:not(.rhl-t)), .on-ink .prose li, .on-ink .prose ul li { color: #e4dfd5; }
.on-ink .prose a { color: var(--terra-light); }
.on-ink .prose h3, .on-ink .prose h4 { color: var(--paper); }
.on-ink .lead, .on-ink .story-h .lead { color: #e4dfd5; }

/* ── Button hover: hairline halo (replaces the rising fill) ── */
.btn { overflow: visible; }
.btn::before { content: none; display: none; }
.btn::after { content: ''; position: absolute; inset: -7px; border: 1px solid var(--terra); border-radius: inherit; opacity: 0; transform: scale(.9); transition: opacity .35s var(--ease), transform .55s var(--ease); pointer-events: none; }
.btn:hover::after, .btn:focus-visible::after { opacity: 1; transform: scale(1); }
.btn:hover { background: var(--terra-deep); border-color: var(--terra-deep); color: var(--paper); transform: translateY(-1px); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-ghost::after { border-color: var(--ink); }
.btn-light:hover { background: var(--terra-light); border-color: var(--terra-light); color: var(--ink); }
.btn-light::after, .btn-outline-light::after { border-color: rgba(244, 242, 237, .65); }
.btn-outline-light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn:active { transform: translateY(0) scale(.98); }
.sticky-cta .btn::after, .modal .btn::after { display: none; }

/* photos on cards that lead to content */
.res-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; margin: -8px -8px 6px; background: var(--paper-3); }
.res-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.res-card:hover .res-thumb img { transform: scale(1.07); }
.way-photo { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; margin: -8px -8px 12px; align-self: stretch; background: var(--paper-3); }
.way-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 1.2s var(--ease); }
.way-photo.wide img { object-position: 50% 30%; }
.way-card:hover .way-photo img, .card:hover .way-photo img { transform: scale(1.06); }
.card .way-photo { margin: 0 0 16px; }

/* "Not sure where you fit?" card: keep every element readable on hover */
.tile-cta:hover h3, .tile-cta:hover p:where(:not(.rhl-t)), .tile-cta:hover .go, .tile-cta:hover .ic { color: var(--paper); }
.tile-cta:hover { background: var(--ink); }
.tile-cta:hover .go .arr { transform: translateX(4px); }

/* portrait frame follows the photo only, never the caption */
.portrait::after { inset: auto; top: 14px; left: 14px; right: -14px; bottom: auto; height: auto; aspect-ratio: 3 / 4; }
.expert .portrait::after { aspect-ratio: 4 / 5; }
.portrait figcaption { margin-top: 30px; position: relative; }

/* ── Mobile menu: opaque, full height, one language switch, labelled client area ── */
@media (max-width: 1100px) {
  .header-tools .lang { display: inline-flex; }
}
.header-tools .client-link span { display: inline; }
@media (max-width: 1180px) { .header-tools .client-link span { display: none; } }
.mobile-menu { inset: 0; padding: calc(var(--header-h) + 18px) var(--gut) calc(40px + env(safe-area-inset-bottom)); background: var(--paper); height: 100vh; height: 100dvh; overscroll-behavior: contain; }
.menu-open .site-header { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .cookie-banner { z-index: 80; }
.menu-open .progress { display: none; }
.mobile-menu .m-meta { margin-top: 30px; display: grid; gap: 12px; }
.mobile-menu .m-meta .btn { width: 100%; justify-content: center; }
.mobile-menu .m-meta .btn svg { width: 20px; height: 20px; }
.menu-open .cookie-banner { visibility: hidden; }
.sec-head .head-link { margin: 0; justify-self: end; align-self: end; text-align: right; }
@media (max-width: 900px) { .sec-head .head-link { justify-self: start; text-align: left; } }

/* ── Client area ── */
.ca-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.ca-items { display: grid; gap: 0; }
.ca-item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.ca-item:last-child { border-bottom: 1px solid var(--line); }
.ca-item .ic { width: 28px; height: 28px; color: var(--terra); margin-top: 2px; }
.ca-item h3 { font-size: 24px; margin-bottom: 4px; } .ca-item p:where(:not(.rhl-t)) { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.ca-dash { background: var(--paper); border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(45, 49, 54, .5); }
.ca-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.ca-user { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 22px; }
.ca-user img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 14%; }
.ca-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.ca-tab { border: 0; background: transparent; padding: 9px 16px; border-radius: 99px; font-size: 14.5px; font-weight: 500; cursor: pointer; color: var(--ink-soft); transition: background .3s, color .3s; }
.ca-tab:hover { background: var(--paper-3); }
.ca-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.ca-panel { padding: clamp(20px, 3vw, 34px); animation: fade-in .5s; }
.ca-panel[hidden] { display: none; }
.ca-k { font-size: 11.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--terra-deep); }
.ca-next { background: var(--paper-2); border-radius: var(--r); padding: 24px; border-left: 3px solid var(--terra); }
.ca-next h3 { margin: 6px 0 10px; } .ca-next p:where(:not(.rhl-t)) { margin: 0 0 16px; color: var(--ink-soft); }
.ca-rows { display: grid; }
.ca-row { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--line); }
.ca-row:last-child { border-bottom: 1px solid var(--line); }
.ca-row > div { display: flex; flex-direction: column; gap: 2px; flex: 1 1 200px; } .ca-row span { color: var(--muted); font-size: 14.5px; }
.ca-chip { background: #e4ead8; color: #2f3d1f !important; padding: 4px 12px; border-radius: 99px; font-size: 13.5px !important; font-weight: 500; }
.ca-amt { font-weight: 600; color: var(--ink) !important; font-size: 16px !important; }
.ca-row .ca-k { flex: 0 0 140px; }
@media (max-width: 900px) { .ca-grid { grid-template-columns: minmax(0, 1fr); } .ca-tabs { margin-left: 0; } }

/* Prototype label for the Amelia slot: wraps on narrow screens without covering the card title */
@media (max-width: 600px) {
  .slot-tag { max-width: calc(100% - 28px); white-space: normal; line-height: 1.35; border-radius: 14px; word-break: break-word; }
  .slot { padding-top: 40px; }
}

/* Footer on phones: compact. Brand row, two link columns side by side, contact in one block */
@media (max-width: 600px) {
  .site-footer { padding: 38px 0 26px; font-size: 14.5px; }
  .foot-top { padding-bottom: 24px; margin-bottom: 26px; gap: 14px; }
  .foot-lotus { width: 28px; }
  .foot-line { font-size: 21px; line-height: 1.25; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 20px; }
  .foot-brand { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 16px; }
  .foot-brand > img { width: 128px; margin: 0; }
  .foot-brand p:where(:not(.rhl-t)) { grid-column: 1 / -1; grid-row: 2; margin: 0; max-width: none; font-size: 13.5px; line-height: 1.45; }
  .foot-badges { grid-column: 2; grid-row: 1; margin: 0; gap: 8px; }
  .foot-badges img { width: 44px; height: 44px; padding: 3px; flex: none; }
  .foot-grid > div:last-child { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(244, 242, 237, .12); }
  .foot-grid h4 { margin: 0 0 8px; font-size: 11.5px; }
  .foot-grid ul { gap: 0; }
  .foot-grid ul a { display: inline-block; padding: 4px 0; }
  .foot-grid > div:last-child ul { display: flex; flex-wrap: wrap; gap: 2px 18px; }
  .foot-grid > div:last-child li:nth-child(3) { flex-basis: 100%; padding: 4px 0; }
  .foot-legal { margin-top: 26px; padding-top: 18px; gap: 10px; font-size: 12.5px; }
  .foot-legal ul { gap: 2px 16px; }
}

/* ════════ Accessibility layer (Selo de Usabilidade e Acessibilidade) ════════
   Contrast AA on both paper tones, body text at 12pt (16px), secondary text at 10pt (13.5px) or more,
   interactive targets of 44px, errors tied to fields, menus as lists. */
:root { --terra: #8f5b4d; }
h2.h-label, h3.h-label { font-family: var(--sans); font-size: 13.5px; letter-spacing: .13em; text-transform: uppercase; font-weight: 600; margin: 0 0 10px; line-height: 1.4; color: var(--ink); }
.foot-grid h2.h-label { color: #f4f2ed; }
.toc h2.h-label { margin-bottom: 14px; }
.ci h2.h-label { margin: 0 0 4px; }
.nav-list { display: flex; gap: 24px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-list > li { margin: 0; }
.dd-m { list-style: none; margin: 0; }
.dd-m li { margin: 0; }
.m-list { list-style: none; margin: 0; padding: 0; }
@media (max-width: 1180px) { .nav-list { gap: 18px; } }

/* text sizes: body 16px, secondary never under 13.5px */
.step p:not(.rhl-t), .review, .post p:not(.rhl-t), .door p:not(.rhl-t), .tile-cta p:not(.rhl-t), .author p:where(:not(.rhl-t)), .res-card p:where(:not(.rhl-t)), .how-s p:not(.rhl-t), .ca-item p:where(:not(.rhl-t)), .tile-p, .tile-sub, .theme .d, .phase .sub, .grp-s, .reassure, .trust-row li, .cert-list li span, .creds li, .consent, .step .sub, .edu .grp, .person .role { font-size: 16px; }
.small { font-size: 15px; max-width: 68ch; }
.cal b, .seal-person span, .ca-k, .inline-cta .ic-k, .lb-k, .slot-tag, .tag-note, .card .meta, .cat-chip, .eyebrow, .fact dt, .fl-l, .live-chip, .pg small, .post .cat, .price-table thead th, .res-card .meta, .credit, .foot-legal, .lang, .tab small, .tag, .ca-chip, .chip.sm, .post-meta, .review .who, .foot-grid h2.h-label, .micro, .choice-go, .crumbs, .acc-q small, .mosaic figcaption, .portrait figcaption, .foot-brand p:where(:not(.rhl-t)), .field label { font-size: 13.5px; }
p:where(:not(.rhl-t)), li, dd { line-height: 1.55; }

/* interactive targets: 44px in both directions (links inside running text are exempt) */
.nav a, .dd-b, .client-link, .brand { min-height: 44px; display: inline-flex; align-items: center; padding-top: 0; padding-bottom: 0; }
.nav a::after, .dd-b::after { bottom: 6px; }
.dd-m a { min-height: 44px; display: flex; align-items: center; }
.btn, .btn-sm, .header-cta { min-height: 44px; }
.chip, .chip.sm, .cat-chip, .tab, .ca-tab, .tabs button, .filters button, .filter, .lang a, .slots button, .cal button, .choice-go, .acc-q, .menu-btn, .lm-x, .cookie-actions button { min-height: 44px; min-width: 44px; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; }
.site-footer ul a, .foot-legal a, .crumbs a, .toc a, .link-arrow, .mobile-menu a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .foot-grid ul { gap: 0; }
.foot-legal ul { gap: 0 18px; }
.site-footer p:where(:not(.rhl-t)) a, .foot-legal span a { display: inline; min-height: 0; }
@media (max-width: 600px) { .foot-grid ul a { padding: 0; } .foot-grid > div:last-child ul { gap: 0 18px; } }

/* links: never colour alone */
.link-arrow { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.toc a { text-decoration: none; }

/* forms: required note, inline errors and summary (not colour alone) */
.req-note { margin: 0; font-size: 14px; color: var(--muted); }
.field-err { display: flex; gap: 8px; align-items: flex-start; margin: 2px 0 0; color: #9b2c22; font-size: 14.5px; font-weight: 500; line-height: 1.45; }
.field-err::before { content: '⚠'; flex: none; }
.consent + .field-err, .field-err { grid-column: 1 / -1; }
.err-sum { border: 2px solid #9b2c22; border-radius: 12px; padding: 14px 18px; background: #fbefed; color: #5c1810; }
.err-sum:focus { outline: 3px solid #9b2c22; outline-offset: 2px; }
.err-sum p:where(:not(.rhl-t)) { margin: 0; font-weight: 600; }
.err-sum ul { margin: 8px 0 0; padding-left: 20px; }
.err-sum a { color: inherit; text-decoration: underline; min-height: 0; }
.form [aria-invalid="true"] { border-color: #9b2c22; border-width: 2px; }
.form .btn[aria-busy="true"] { opacity: .75; cursor: progress; }

/* breadcrumbs as a list, index of sections, update date, accessible checkbox with a 44px hit area */
:root { --terra: #8a5749; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: '/'; opacity: .5; margin: 0 9px; }
.crumbs a { min-width: 44px; justify-content: center; }
.site-footer ul a, .foot-legal a, .toc a { min-width: 44px; }
.page-toc { border-bottom: 1px solid var(--line); background: var(--paper); }
.page-toc details { padding: 6px 0; }
.page-toc summary { min-height: 44px; display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); list-style: none; }
.page-toc summary::-webkit-details-marker { display: none; }
.page-toc summary::after { content: ''; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.page-toc details[open] summary::after { transform: rotate(225deg); }
.page-toc .n { font-size: 12px; font-weight: 600; background: var(--paper-2); border-radius: 99px; padding: 2px 9px; letter-spacing: 0; }
.page-toc ol { list-style: none; margin: 4px 0 14px; padding: 0; columns: 2; column-gap: 40px; }
.page-toc li { break-inside: avoid; }
.page-toc a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); font-size: 15px; border-bottom: 1px solid var(--line); }
.page-toc a:hover { color: var(--terra-deep); text-decoration: underline; }
@media (max-width: 700px) { .page-toc ol { columns: 1; } }
:target, h2[id], h3[id], section[id] { scroll-margin-top: calc(var(--header-h, 76px) + 16px); }
.updated { margin: 0; padding: 18px 0 26px; font-size: 13.5px; color: var(--muted); }
.consent { position: relative; align-items: center; gap: 14px; }
.consent input { position: absolute; left: -11px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; margin: 0; opacity: 0; cursor: pointer; }
.consent .box { flex: none; width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 5px; background: var(--paper); transition: background .2s; }
.consent input:checked + .box { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23f4f2ed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.consent input:focus-visible + .box { outline: 2px solid var(--terra-deep); outline-offset: 3px; }
.consent[aria-invalid], .consent:has(input[aria-invalid="true"]) .box { border-color: #9b2c22; border-width: 2px; }
.consent .field-err { position: absolute; }
.creds a { display: inline-flex; align-items: center; min-height: 44px; }
.page-toc a { font-size: 16px; }
.small { font-size: 16px; }
.ca-chip { font-size: 13.5px; }
.tile-t .n { color: var(--terra-deep); }
.notify input[type=email] { min-height: 46px; }
.field input, .field select, .field textarea { min-height: 50px; }
.trust-row li, .slot li { line-height: 1.55; }
.nav a, .dd-b { min-width: 44px; justify-content: center; }

/* user control over motion (WCAG 2.2.2): same result as prefers-reduced-motion, chosen from the footer */
html.rm { scroll-behavior: auto; }
html.rm .rv { opacity: 1; transform: none; transition: none; }
html.rm *, html.rm *::before, html.rm *::after { animation: none !important; }
html.rm .wr > span { transform: none !important; transition: none; }
html.rm .sp-line { stroke-dashoffset: 0; } html.rm .sp-node { opacity: 1; transform: none; }
html.rm .manifesto .mf { opacity: 1; }
html.rm .acc-a, html.rm .acc-in { transition: none; }
.motion-toggle { background: none; border: 1px solid rgba(244, 242, 237, .3); color: #d8d3c9; border-radius: 99px; padding: 0 18px; min-height: 44px; font: inherit; font-size: 13.5px; cursor: pointer; }
.motion-toggle:hover { border-color: #f4f2ed; color: #fff; }
.motion-toggle[aria-pressed="true"] { background: #f4f2ed; color: var(--ink); }
.vid-pause { position: absolute; right: 12px; top: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(34, 36, 40, .72); color: #fff; display: grid; place-items: center; cursor: pointer; }
.vid-pause:hover { background: rgba(34, 36, 40, .9); }
.vid-pause svg { width: 18px; height: 18px; fill: currentColor; }
.vid-pause .i-play { display: none; } .vid-pause[aria-pressed="true"] .i-play { display: block; } .vid-pause[aria-pressed="true"] .i-pause { display: none; }
.phone.playing .vid-pause { display: none; }
.transcript { margin-top: 18px; border-top: 1px solid var(--line); }
.transcript summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; font-size: 15px; }
.transcript .tr-body { padding: 4px 0 8px; max-width: 62ch; }
.transcript .tr-body p:where(:not(.rhl-t)) { margin: 0 0 12px; }
.transcript .tr-note { font-size: 14px; color: var(--muted); }
.toc a { line-height: 1.5; }
.req-note, .on-ink .form .req-note { color: var(--muted); font-size: 16px; }

/* reflow down to 320px (WCAG 1.4.10): the header and long button labels shrink instead of overflowing */
@media (max-width: 380px) {
  .site-header .wrap { gap: 8px; }
  .brand { width: 104px; flex: none; }
  .header-tools { gap: 8px; }
  .lang a { min-width: 40px; padding-left: 8px; padding-right: 8px; }
  .menu-btn { width: 44px; height: 44px; }
  .btn { max-width: 100%; white-space: normal; text-align: center; justify-content: center; }
}
.transcript .tr-note { font-size: 16px; }

/* Locallista rating badge (Sónia's score, EN pages). Hidden until the widget answers, so a failed load leaves no gap. site.js sizes the frame. */
.locallista{height:0;overflow:hidden;visibility:hidden}
.locallista.is-ready{overflow:visible;visibility:visible;margin:22px 0 0}
.locallista iframe{display:block;border:0;overflow:hidden;max-width:none;margin:0}
.locallista--center iframe{margin-inline:auto}
