/* Vanya Ovcharova, analytic psychotherapist: linen and dusk violet.
   Colours from the original site (cream page, violet masthead, olive frame, teal footer).
   Bona Nova (display) with Alegreya Sans (text). One light theme. */

@font-face { font-family: "Bona Nova"; src: url("/fonts/bona-nova.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bona Nova"; src: url("/fonts/bona-nova-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/fonts/alegreya-sans.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/fonts/alegreya-sans-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/fonts/alegreya-sans-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/fonts/alegreya-sans-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
    --linen: #fbf3e6;
    --linen-2: #f4e6cf;
    --peach: #f6dcb8;
    --paper: #fffaf2;
    --ink: #2b2540;
    --ink-soft: #4f4767;
    --dusk-deep: #211b33;
    --dusk: #3a3158;
    --dusk-2: #4d4470;
    --violet: #6d6592;
    --olive: #50601a;
    --olive-light: #c3d46e;
    --teal: #276e72;
    --teal-light: #93d6d8;
    --on-dark: #f8f0e2;
    --on-dark-soft: #d6cde6;
    --line: rgba(43, 37, 64, .14);
    --radius: 28px;
    --radius-s: 16px;
    --display: "Bona Nova", "Georgia", serif;
    --text: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;
    --ease: cubic-bezier(.22, .8, .2, 1);
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0;
    background: var(--linen);
    color: var(--ink);
    font: 400 1.19rem/1.62 var(--text);
    overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--dusk); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -.012em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
h3 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.8rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 700; }
address { font-style: normal; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--on-dark); padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.narrow { max-width: 48rem; }
.eyebrow { font: 500 .95rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; }
.lead { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.5; color: var(--ink-soft); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: .55rem; min-height: 3.1rem;
    padding: .75rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
    background: var(--dusk); color: var(--on-dark); font: 500 1.1rem/1.2 var(--text);
    text-decoration: none; transition: transform .25s var(--ease), background-color .25s, box-shadow .25s;
}
.btn:hover { background: var(--dusk-deep); color: var(--on-dark); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(33, 27, 51, .6); }
.btn-light { background: var(--peach); color: var(--dusk-deep); }
.btn-light:hover { background: var(--on-dark); color: var(--dusk-deep); }
.btn-ghost { background: transparent; border-color: currentColor; color: var(--on-dark); }
.btn-ghost:hover { background: rgba(248, 240, 226, .12); color: var(--on-dark); }
.btn svg { flex: none; }

/* Header */
.top {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251, 243, 230, .86);
    -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid var(--line);
}
.top-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; padding-block: .7rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); margin-right: auto; line-height: 1.05; }
.brand-name { font: 400 clamp(1.45rem, 1.2rem + .8vw, 1.8rem)/1 var(--display); letter-spacing: -.01em; }
.brand-role { font: 500 .8rem/1.2 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-top: .3rem; }
.brand:hover { color: var(--dusk); }
.call {
    display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px;
    background: var(--dusk); color: var(--on-dark); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.call:hover { background: var(--dusk-deep); color: var(--on-dark); }
.lang { display: flex; gap: .15rem; font-weight: 700; font-size: .95rem; }
.lang a, .lang span { padding: .35rem .5rem; border-radius: 8px; text-decoration: none; }
.lang a { color: var(--ink-soft); }
.lang a:hover { background: var(--linen-2); color: var(--ink); }
.lang span { color: var(--ink); background: var(--linen-2); }
.nav { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: .1rem .3rem; border-top: 1px solid var(--line); padding-top: .45rem; }
.nav a { padding: .4rem .7rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--linen-2); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--on-dark); }
.menu-toggle {
    display: none; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 999px;
    border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 700 1rem/1 var(--text); cursor: pointer;
}
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.js-menu .menu-toggle { display: inline-flex; }
@media (max-width: 899px) {
    .js-menu .nav { display: none; }
    .js-menu .top.is-open .nav { display: flex; flex-direction: column; padding-bottom: .5rem; }
    .js-menu .top.is-open .nav a { padding: .7rem .9rem; font-size: 1.15rem; }
    .top.is-open .menu-bars { background: transparent; }
    .top.is-open .menu-bars::before { transform: translateY(6px) rotate(45deg); }
    .top.is-open .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }
}
@media (min-width: 900px) {
    .js-menu .menu-toggle { display: none; }
}
@media (max-width: 560px) {
    .brand-role { letter-spacing: .1em; font-size: .72rem; }
    .call { padding: .5rem .8rem; }
    .call svg { display: none; }
}

/* Sections */
.band { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.band-tight { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.band-alt { background: var(--linen-2); }
.band-dark { background: var(--dusk); color: var(--on-dark); }
.band-dark a { color: var(--teal-light); }
.band-dark a:hover { color: var(--on-dark); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head p { color: var(--ink-soft); font-size: 1.25rem; }

/* Home: hero, her card in front of the loosening rings */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    background:
        radial-gradient(60rem 40rem at 85% 30%, rgba(109, 101, 146, .55), transparent 60%),
        radial-gradient(40rem 30rem at 10% 100%, rgba(39, 110, 114, .35), transparent 60%),
        linear-gradient(160deg, var(--dusk) 0%, var(--dusk-deep) 100%);
    color: var(--on-dark);
    padding-block: clamp(2.5rem, 1rem + 5vw, 5rem) clamp(3rem, 1rem + 6vw, 6rem);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero .eyebrow { color: var(--olive-light); }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem); line-height: 1; letter-spacing: -.02em; margin-bottom: .45em; }
.hero h1 em { display: block; font-style: italic; color: var(--peach); }
.hero-lead { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); color: var(--on-dark-soft); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-side { position: relative; justify-self: center; width: min(100%, 470px); padding-block: 2rem; }
.rings-art {
    position: absolute; z-index: -1; left: 58%; top: 42%; width: 165%; height: auto; aspect-ratio: 600 / 640;
    transform: translate(-50%, -50%); overflow: visible; pointer-events: none; opacity: .6;
}
.ring { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.r1 { stroke: var(--peach); stroke-width: 2.5; }
.r2 { stroke: var(--olive-light); stroke-width: 2; opacity: .9; }
.r3 { stroke: var(--teal-light); stroke-width: 1.8; opacity: .85; }
.r4 { stroke: var(--peach); stroke-width: 1.5; opacity: .6; }
.r5 { stroke: #a99fcf; stroke-width: 1.4; opacity: .7; }
.r6 { stroke: var(--teal-light); stroke-width: 1.2; opacity: .45; }
.r7 { stroke: var(--olive-light); stroke-width: 1; opacity: .35; stroke-dasharray: 2 7; }
.ring-g { transform-origin: 300px 320px; transform-box: view-box; }
.practitioner {
    margin: 0; display: flex; align-items: flex-end; gap: clamp(1rem, .6rem + 1.5vw, 1.6rem);
    background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: .9rem clamp(1rem, .6rem + 1.5vw, 1.6rem) .9rem .9rem;
    box-shadow: 0 34px 70px -28px rgba(0, 0, 0, .7);
}
.portrait { display: block; flex: none; width: 146px; height: auto; border-radius: var(--radius-s); }
.practitioner figcaption { padding-bottom: .4rem; min-width: 0; }
.practitioner-name { display: block; font: 400 clamp(1.7rem, 1.4rem + 1vw, 2.2rem)/1.05 var(--display); color: var(--dusk); letter-spacing: -.01em; }
.practitioner-role { display: block; margin-top: .4rem; color: var(--ink-soft); line-height: 1.35; }
.practitioner-facts { margin: 1.1rem 0 0; display: grid; gap: .7rem; }
.practitioner-facts div { border-top: 1px solid var(--line); padding-top: .6rem; }
.practitioner-facts dt { font: 500 .8rem/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--olive); }
.practitioner-facts dd { margin: .15rem 0 0; font-size: 1.1rem; line-height: 1.3; }
@media (prefers-reduced-motion: no-preference) {
    .ring-g { animation: loosen 2.6s var(--ease) both; animation-delay: calc(.25s + var(--i) * .12s); }
    .ring { transform-origin: 300px 320px; transform-box: view-box; animation: breathe 10s ease-in-out infinite; animation-delay: calc(3s + var(--i) * .35s); }
    .hero h1, .hero .eyebrow, .hero-lead, .hero-actions { animation: rise 1s var(--ease) both; }
    .hero h1 { animation-delay: .15s; }
    .hero-lead { animation-delay: .35s; }
    .hero-actions { animation-delay: .5s; }
}
@keyframes loosen {
    0% { transform: scale(.42) rotate(-14deg); opacity: 0; }
    35% { opacity: 1; }
    100% { transform: none; opacity: 1; }
}
@keyframes breathe {
    0%, 100% { transform: scale(1); }
    40% { transform: scale(1.035); }
}
@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
    .practitioner { animation: rise 1.1s var(--ease) both .6s; }
}
@media (max-width: 820px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-side { justify-self: start; padding-block: .5rem 0; }
    .rings-art { left: 85%; top: 30%; width: 130%; opacity: .45; }
}
@media (max-width: 480px) {
    .portrait { width: 112px; }
    .practitioner-facts dd { font-size: 1rem; }
}

/* Welcome with the signature */
.welcome-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.welcome-grid h2 { font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); color: var(--dusk); }
.welcome-text p:first-child { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); line-height: 1.5; }
.signature { display: block; margin-top: 1.4rem; }
.signature-name { margin-top: .2rem; color: var(--ink-soft); font-weight: 500; }
@media (max-width: 760px) { .welcome-grid { grid-template-columns: 1fr; } }

/* Bento of the ways of working */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.tile {
    position: relative; display: flex; flex-direction: column; gap: .6rem; padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem);
    border-radius: var(--radius); text-decoration: none; color: var(--ink); overflow: hidden; min-height: 15rem;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tile:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(43, 37, 64, .45); }
.tile h3 { margin: 0; }
.tile p { margin: 0; }
.tile .more { margin-top: auto; font-weight: 700; display: inline-flex; gap: .4rem; align-items: center; }
.tile .more::after { content: "→"; transition: transform .25s var(--ease); }
.tile:hover .more::after { transform: translateX(4px); }
.tile-icon { width: 64px; height: 64px; margin-bottom: .4rem; }
.tile-icon * { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tile-idv { grid-column: span 3; grid-row: span 2; background: var(--dusk); color: var(--on-dark); }
.tile-idv:hover { color: var(--on-dark); }
.tile-idv .tile-icon { color: var(--peach); }
.tile-idv ul { list-style: none; padding: 0; margin: .6rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.tile-idv li { padding: .3rem .8rem; border-radius: 999px; background: rgba(248, 240, 226, .12); font-size: 1.02rem; }
.tile-idv .more { color: var(--peach); }
.tile-grp { grid-column: span 3; background: var(--peach); }
.tile-sem { grid-column: span 3; background: #d7ecea; }
.tile-oln { grid-column: span 6; background: var(--paper); border: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; min-height: 0; }
.tile-oln .tile-icon { margin: 0; color: var(--teal); }
.tile-oln .facts { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin: 0; }
.tile-oln .facts div { display: flex; flex-direction: column; }
.tile-oln dt { font-size: .9rem; color: var(--ink-soft); letter-spacing: .06em; text-transform: uppercase; }
.tile-oln dd { margin: 0; font: 400 1.6rem/1.2 var(--display); }
.tile-oln .more { margin-top: 0; margin-left: auto; }
.tile-grp .tile-icon { color: var(--dusk); }
.tile-sem .tile-icon { color: var(--teal); }
@media (max-width: 860px) {
    .bento { grid-template-columns: 1fr; }
    .tile-idv, .tile-grp, .tile-sem, .tile-oln { grid-column: auto; grid-row: auto; }
    .tile-oln .more { margin-left: 0; }
}

/* What individual therapy helps with: a cloud of words */
.cloud { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem .7rem; align-items: baseline; }
.cloud li { font-family: var(--display); line-height: 1.15; padding: .2rem .1rem; color: var(--dusk); }
.cloud li:nth-child(3n+1) { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); }
.cloud li:nth-child(3n+2) { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem); font-style: italic; color: var(--teal); }
.cloud li:nth-child(3n) { font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); color: var(--olive); }
.cloud li:not(:last-child)::after { content: "·"; margin-left: .7rem; color: var(--violet); font-style: normal; }

/* Big quote band */
.quote-band { position: relative; overflow: hidden; }
.quote-band::before {
    content: ""; position: absolute; width: 46rem; height: 46rem; right: -14rem; top: -18rem; border-radius: 50%;
    border: 1px solid rgba(246, 220, 184, .18); box-shadow: 0 0 0 3rem rgba(246, 220, 184, .04), 0 0 0 6rem rgba(246, 220, 184, .03);
}
.big-quote { position: relative; margin: 0; max-width: 60rem; }
.big-quote p { font: italic 400 clamp(1.7rem, 1.2rem + 2.2vw, 3rem)/1.25 var(--display); margin: 0; text-wrap: pretty; }
.big-quote p::before { content: "„"; color: var(--peach); }
.big-quote p::after { content: "“"; color: var(--peach); }
.big-quote footer { margin-top: 1.4rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-light); font-size: 1rem; }
[lang="en"] .big-quote p::before { content: "“"; }
[lang="en"] .big-quote p::after { content: "”"; }

/* Large figures */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; }
.figures div { padding: 1.4rem 1.4rem 1.4rem 0; border-top: 2px solid var(--ink); margin-right: 1.4rem; }
.figures dt { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.4; }
.figures dd { margin: 0 0 .6rem; font: 400 clamp(3rem, 2rem + 3.6vw, 5.2rem)/1 var(--display); color: var(--dusk); letter-spacing: -.02em; }
.figures div { display: flex; flex-direction: column; }
.figures dd { order: -1; }
@media (max-width: 860px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .figures { grid-template-columns: 1fr; } }

/* Numbered trail */
.trail { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; counter-reset: step; }
.trail li { position: relative; padding: 4.8rem 1.6rem 1.8rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); counter-increment: step; }
.trail li::before {
    content: counter(step); position: absolute; top: 1.2rem; left: 1.4rem; width: 2.8rem; height: 2.8rem; border-radius: 50%;
    display: grid; place-items: center; background: var(--dusk); color: var(--on-dark); font: 400 1.5rem/1 var(--display);
}
.trail li:not(:last-child)::after {
    content: ""; position: absolute; top: 2.6rem; left: 4.6rem; right: -1.2rem; height: 2px;
    background: repeating-linear-gradient(90deg, var(--violet) 0 6px, transparent 6px 12px); opacity: .5;
}
.trail h3 { font-size: 1.6rem; }
.trail p { margin: 0; color: var(--ink-soft); }
.trail .big-phone { font: 400 clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem)/1.2 var(--display); color: var(--dusk); text-decoration: none; display: inline-block; margin: .2rem 0 .5rem; }
.trail .big-phone:hover { color: var(--teal); }
@media (max-width: 860px) {
    .trail { grid-template-columns: 1fr; }
    .trail li:not(:last-child)::after { display: none; }
}

/* Reading lists (articles, tests) */
.two-lists { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4.5rem); }
.two-lists h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); }
.link-list { list-style: none; padding: 0; margin: 0 0 1.4rem; border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem .2rem; color: var(--ink); text-decoration: none; font: 400 1.3rem/1.3 var(--display); transition: padding .25s var(--ease), color .2s; }
.link-list a::after { content: "→"; font-family: var(--text); color: var(--teal); }
.link-list a:hover { color: var(--teal); padding-left: .7rem; }
.link-list small { font: 500 .95rem/1.2 var(--text); color: var(--ink-soft); white-space: nowrap; margin-left: auto; }
@media (max-width: 860px) { .two-lists { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--teal) 0%, #1f5a5d 100%); color: var(--on-dark); padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.cta-row h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); margin-bottom: .25em; }
.cta-row p { margin: 0; max-width: 40rem; color: #e3f2f1; }
.cta-band .btn-light { font: 400 clamp(1.4rem, 1.1rem + 1vw, 1.8rem)/1 var(--display); padding: .9rem 1.7rem; }

/* Inner pages: page hero */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate; color: var(--on-dark);
    background:
        radial-gradient(40rem 26rem at 95% 0%, rgba(109, 101, 146, .55), transparent 60%),
        linear-gradient(160deg, var(--dusk) 0%, var(--dusk-deep) 100%);
    padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}
.page-hero::after {
    content: ""; position: absolute; z-index: -1; right: -8rem; top: 50%; width: 30rem; height: 30rem; transform: translateY(-50%); border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%;
    border: 1.5px solid rgba(246, 220, 184, .35);
    box-shadow: 0 0 0 2.2rem rgba(147, 214, 216, .08), 0 0 0 4.4rem rgba(195, 212, 110, .06), 0 0 0 6.6rem rgba(246, 220, 184, .04);
}
.page-hero h1 { max-width: 20ch; }
.page-hero .eyebrow { color: var(--olive-light); }
.page-hero .lead { color: var(--on-dark-soft); max-width: 40rem; margin: 0; }
.page-hero a { color: var(--teal-light); }

/* Side quote of a page (each page of the original had its own quote) */
.side-quote { margin: 0; padding: 1.6rem 1.8rem; border-radius: var(--radius); background: var(--peach); color: var(--dusk-deep); }
.side-quote p { font: italic 400 1.45rem/1.35 var(--display); margin: 0 0 .7rem; }
.side-quote footer { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .9rem; color: var(--olive); }

/* Therapy: the essay with a table of contents */
.essay { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.toc { position: sticky; top: 8rem; }
.toc h2 { font: 700 .95rem/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.toc ol { list-style: none; padding: 0; margin: 0 0 1.6rem; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: .7rem; padding: .35rem 0; color: var(--ink); text-decoration: none; font-weight: 500; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--violet); font: 400 1rem/1.5 var(--display); }
.toc a:hover { color: var(--teal); }
.essay-part { position: relative; padding: 0 0 2.4rem 0; margin-bottom: 2.4rem; border-bottom: 1px solid var(--line); }
.essay-part:last-child { border-bottom: 0; }
.essay-part h2 { display: flex; align-items: baseline; gap: 1rem; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); }
.essay-part h2 span { font-size: .5em; color: var(--violet); font-style: italic; }
.essay-part p { max-width: 42rem; }
@media (max-width: 900px) {
    .essay { grid-template-columns: 1fr; }
    .toc { position: static; }
}

/* Services */
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.service + .service { margin-top: clamp(3rem, 2rem + 4vw, 6rem); padding-top: clamp(3rem, 2rem + 4vw, 6rem); border-top: 1px solid var(--line); }
.service h2 { color: var(--dusk); }
.service aside { display: grid; gap: 1rem; }
.columns-list { columns: 2 14rem; column-gap: 2rem; list-style: none; padding: 0; margin: 0 0 1.4rem; }
.columns-list li { break-inside: avoid; padding: .45rem 0 .45rem 1.6rem; position: relative; border-bottom: 1px dashed var(--line); }
.columns-list li::before { content: ""; position: absolute; left: 0; top: 1rem; width: .7rem; height: .7rem; border-radius: 50%; border: 2px solid var(--teal); }
.marks { list-style: none; padding: 0; }
.marks li { padding-left: 1.6rem; position: relative; margin-bottom: .5rem; }
.marks li::before { content: ""; position: absolute; left: 0; top: .62em; width: .9rem; height: 2px; background: var(--olive); }
.facts-card { padding: 1.6rem 1.8rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.facts-card dl { margin: 0; display: grid; gap: .9rem; }
.facts-card dt { font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.facts-card dd { margin: .1rem 0 0; font-weight: 500; overflow-wrap: anywhere; }
.facts-card .price { font: 400 2.4rem/1 var(--display); color: var(--dusk); }
.service-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.service-nav a { padding: .45rem 1rem; border-radius: 999px; border: 1.5px solid rgba(248, 240, 226, .5); color: var(--on-dark); text-decoration: none; font-weight: 500; }
.service-nav a:hover { background: rgba(248, 240, 226, .12); color: var(--on-dark); }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 19rem); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about-photo { margin: 0; }
.about-photo img { border-radius: var(--radius-s); display: block; }
.about-photo figcaption { font-size: .95rem; color: var(--ink-soft); margin-top: .6rem; }
.timeline { list-style: none; padding: 0; margin: 0 0 2rem; border-left: 2px solid var(--violet); }
.timeline li { position: relative; padding: 0 0 1.8rem 1.8rem; }
.timeline li::before { content: ""; position: absolute; left: -.55rem; top: .35rem; width: .9rem; height: .9rem; border-radius: 50%; background: var(--linen); border: 2.5px solid var(--dusk); }
.timeline .year { display: block; font: 400 1.9rem/1 var(--display); color: var(--dusk); margin-bottom: .35rem; }
.timeline h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.timeline p { margin: 0 0 .4rem; color: var(--ink-soft); }
.about-grid h2 { margin-top: 1.2em; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.4rem); color: var(--dusk); }
.about-grid h2:first-child { margin-top: 0; }
.data-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.data-table th, .data-table td { text-align: left; padding: .6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { font-weight: 500; color: var(--ink-soft); padding-right: 1rem; white-space: nowrap; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-grid aside { order: -1; } }

/* Articles */
.article-head { background: linear-gradient(180deg, var(--linen-2), var(--linen)); padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) 1.5rem; }
.article-head h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.8rem); color: var(--dusk); }
.crumb { margin-bottom: 1.2rem; font-weight: 500; }
.crumb a { text-decoration: none; }
.crumb a::before { content: "← "; }
.byline { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); font-size: .95rem; }
.prose { padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); font-size: 1.24rem; line-height: 1.7; }
.prose > p:first-child { font-size: 1.42rem; line-height: 1.55; color: var(--ink); }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-top: 1.6em; color: var(--dusk); }
.prose h3 { font-size: 1.45rem; margin-top: 1.4em; }
.prose ol { padding-left: 0; list-style: none; counter-reset: idea; }
.prose ol li { counter-increment: idea; position: relative; padding: 0 0 0 3.4rem; margin-bottom: 1.1rem; min-height: 2.4rem; }
.prose ol li::before { content: counter(idea); position: absolute; left: 0; top: -.15rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--peach); color: var(--dusk-deep); font: 400 1.3rem/1 var(--display); }
.prose ul li { margin-bottom: .45rem; }
.prose blockquote { margin: 1.6rem 0; padding: .4rem 0 .4rem 1.4rem; border-left: 3px solid var(--violet); font: italic 400 1.4rem/1.45 var(--display); color: var(--dusk); }
.prose .published { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-style: italic; color: var(--ink-soft); }
.article-strip { list-style: none; padding: 0; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(16rem, 22rem); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; overscroll-behavior-x: contain; }
.article-strip li { scroll-snap-align: start; }
.article-strip a { display: flex; flex-direction: column; gap: .6rem; height: 100%; padding: 1.5rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), border-color .3s; }
.article-strip a:hover { transform: translateY(-3px); border-color: var(--violet); color: var(--ink); }
.strip-title { font: 400 1.35rem/1.2 var(--display); color: var(--dusk); }
.strip-sum { color: var(--ink-soft); font-size: 1.02rem; }
.more-articles h2 { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.4rem); }

/* Articles index */
.article-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.article-list a { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1.2rem; height: 100%; padding: 1.6rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.article-list a:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -24px rgba(43, 37, 64, .5); color: var(--ink); }
.article-list .num { grid-row: span 2; font: italic 400 2.6rem/1 var(--display); color: var(--violet); }
.article-list .t { font: 400 1.5rem/1.2 var(--display); color: var(--dusk); }
.article-list .s { color: var(--ink-soft); font-size: 1.05rem; }
.article-list li:first-child { grid-column: span 2; }
.article-list li:first-child a { background: var(--dusk); border-color: var(--dusk); }
.article-list li:first-child .t { color: var(--on-dark); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.article-list li:first-child .s { color: var(--on-dark-soft); }
.article-list li:first-child .num { color: var(--peach); }
@media (max-width: 760px) { .article-list { grid-template-columns: 1fr; } .article-list li:first-child { grid-column: auto; } }

/* Tests */
.test-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 1rem; }
.test-cards a { position: relative; display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.7rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.test-cards a:hover { transform: translateY(-3px); border-color: var(--teal); color: var(--ink); }
.test-cards .items { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; color: var(--teal); }
.test-cards .t { font: 400 1.55rem/1.15 var(--display); color: var(--dusk); }
.test-cards .s { color: var(--ink-soft); font-size: 1.05rem; }
.test-cards .go { margin-top: auto; font-weight: 700; color: var(--teal); }
.note { padding: 1.2rem 1.4rem; border-radius: var(--radius-s); background: var(--linen-2); border-left: 4px solid var(--olive); }

.quiz { max-width: 46rem; }
.quiz-progress { display: none; }
.quiz fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem 1.6rem; margin: 0 0 1rem; background: var(--paper); min-width: 0; }
.quiz legend { float: left; width: 100%; padding: 0; margin-bottom: 1rem; font: 400 clamp(1.35rem, 1.15rem + .8vw, 1.8rem)/1.3 var(--display); color: var(--dusk); }
.quiz legend .qn { display: block; font: 700 .85rem/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .5rem; }
.quiz .options { clear: both; display: flex; flex-wrap: wrap; gap: .5rem; }
.quiz label { position: relative; display: inline-flex; align-items: center; min-height: 2.9rem; padding: .55rem 1.15rem; border-radius: 999px; border: 1.5px solid var(--violet); color: var(--ink); cursor: pointer; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.quiz label:hover { background: var(--linen-2); }
.quiz input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.quiz input[type="radio"]:checked + span { color: var(--on-dark); }
.quiz label:has(input:checked) { background: var(--dusk); border-color: var(--dusk); color: var(--on-dark); }
.quiz label:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 3px; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.2rem; }
.quiz-back { background: transparent; border: 0; color: var(--teal); font: 700 1.05rem/1 var(--text); cursor: pointer; padding: .6rem .2rem; }
.quiz-back:hover { color: var(--dusk); text-decoration: underline; }
.quiz-back[disabled] { display: none; }
.quiz-result { border-radius: var(--radius); padding: clamp(1.6rem, 1rem + 2vw, 2.6rem); background: var(--dusk); color: var(--on-dark); margin-top: 1rem; }
.quiz-result h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.quiz-result .score { font: 400 1.2rem/1.2 var(--text); color: var(--on-dark-soft); }
.quiz-result p.verdict { font: italic 400 clamp(1.35rem, 1.15rem + .8vw, 1.8rem)/1.35 var(--display); }
.quiz-result a { color: var(--teal-light); }
.quiz-result .btn-light { color: var(--dusk-deep); }
.quiz-result [hidden] { display: none; }
.js-quiz .quiz-progress { display: block; height: 8px; border-radius: 999px; background: var(--linen-2); overflow: hidden; margin-bottom: .6rem; }
.js-quiz .quiz-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--olive)); border-radius: inherit; transition: width .4s var(--ease); }
.js-quiz .quiz-count { font-weight: 700; color: var(--ink-soft); margin-bottom: 1rem; }
.js-quiz .quiz fieldset:not(.is-current) { display: none; }
.js-quiz .quiz fieldset.is-current { animation: rise .45s var(--ease) both; }
.js-quiz .quiz-nojs { display: none; }
.quiz-count { display: none; }
.js-quiz .quiz-count { display: block; }
.quiz-actions-js { display: none; }
.js-quiz .quiz-actions-js { display: flex; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.card h2 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); color: var(--dusk); }
.big-phone { display: inline-block; font: 400 clamp(2.2rem, 1.5rem + 3vw, 3.6rem)/1.05 var(--display); color: var(--dusk); text-decoration: none; letter-spacing: -.01em; }
.big-phone:hover { color: var(--teal); }
.contact-list { margin: 1.4rem 0 0; display: grid; gap: 1.1rem; }
.contact-list dt { font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.contact-list dd { margin: .2rem 0 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* The platform contact form */
.contact-form { display: grid; gap: 1rem; }
.contact-form > div { display: grid; gap: .35rem; }
.contact-form label { font-weight: 500; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
    width: 100%; padding: .8rem 1rem; border-radius: 14px; border: 1.5px solid rgba(43, 37, 64, .3); background: #fff;
    font: 400 1.1rem/1.4 var(--text); color: var(--ink);
}
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.contact-form ul { list-style: none; padding: 0; margin: 0; color: #9b1c1c; font-weight: 500; }
.contact-form .btn { justify-self: start; cursor: pointer; }
.form-hint { font-size: .98rem; color: var(--ink-soft); margin: 0; }
.contact-sent { padding: 1rem 1.2rem; border-radius: var(--radius-s); background: #dff0e4; border-left: 4px solid var(--olive); margin-bottom: 1rem; }
.contact-sent strong { display: block; }

/* Reveal on scroll */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
        .cloud li { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
        .figures dd { animation: grow linear both; animation-timeline: view(); animation-range: entry 10% entry 70%; }
    }
}
@keyframes reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { opacity: .2; letter-spacing: .08em; } to { opacity: 1; letter-spacing: -.02em; } }

/* Footer */
.foot { background: var(--dusk-deep); color: var(--on-dark-soft); padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.foot a { color: var(--on-dark); }
.foot a:hover { color: var(--teal-light); }
.foot h2 { font: 700 .9rem/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--olive-light); margin-bottom: 1rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.foot-name { font: 400 2rem/1 var(--display); color: var(--on-dark); margin-bottom: .4rem; }
.foot-role { letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: var(--teal-light); }
.foot-motto { font: italic 400 1.3rem/1.35 var(--display); color: var(--peach); max-width: 18rem; }
.foot-phone { font: 400 1.6rem/1.1 var(--display); text-decoration: none; white-space: nowrap; }
.foot-small { font-size: .98rem; }
.foot-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(214, 205, 230, .2); padding-block: 1.3rem; font-size: .98rem; }
.foot-bottom p { margin: 0; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* 404 */
.not-found { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; background: linear-gradient(160deg, var(--dusk) 0%, var(--dusk-deep) 100%); color: var(--on-dark); text-align: center; }
.not-found > div { max-width: 36rem; }
.not-found .nf-name { font: 400 clamp(2rem, 1.5rem + 2vw, 2.8rem)/1 var(--display); margin: 0 0 .3rem; }
.not-found .nf-role { letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: var(--teal-light); margin-bottom: 2rem; }
.not-found h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.not-found h2 { font-size: 1.8rem; margin-top: 2rem; }
.not-found a { color: var(--teal-light); }
.not-found .btn { color: var(--dusk-deep); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* ---- lightbox: /js/lightbox.js opens a linked image enlarged over the page, in a <dialog> ----
   Paste this block into the site's css/site.css. The overlay is dark in every theme and brings its own
   colours and box sizing, so it does not depend on the rest of the stylesheet. To recolour it to the
   site, set these on .lightbox (or on :root): --lb-bg, --lb-text, --lb-accent (focus ring),
   --lb-accent-soft (hover). */

[data-lightbox] {
    cursor: zoom-in;
}

.lightbox,
.lightbox * {
    box-sizing: border-box;
}

html:has(.lightbox[open]) {
    overflow: hidden;
    scrollbar-gutter: stable;
}

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 68px 12px 14px;
    border: 0;
    background: var(--lb-bg, rgba(12, 14, 16, 0.95));
    color: var(--lb-text, #f2f2f2);
    color-scheme: dark;
    overscroll-behavior: contain;
}

.lightbox[open] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
}

.lightbox::backdrop {
    background: none;
}

.lightbox-stage {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.lightbox-stage img {
    display: block;
    max-width: none;
    border-radius: 4px;
    background: #fff;
}

.lightbox-caption {
    display: grid;
    place-items: center;
    min-height: 44px;
    max-width: none;
    margin: 0;
    padding: 0 56px;
    color: var(--lb-text, #f2f2f2);
    font-size: 0.92rem;
    line-height: 1.35;
    text-align: center;
}

.lightbox-button {
    position: absolute;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lightbox-button:hover {
    border-color: #ffffff;
    background-color: var(--lb-accent-soft, rgba(255, 255, 255, 0.16));
}

.lightbox-button:focus-visible {
    outline: 3px solid var(--lb-accent, #ffffff);
    outline-offset: 3px;
    border-radius: 50%;
}

.lightbox-button[hidden] {
    display: none;
}

.lightbox-close {
    top: 12px;
    right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}

.lightbox-prev,
.lightbox-next {
    bottom: 14px;
}

.lightbox-prev {
    left: 12px;
    rotate: 180deg;
}

.lightbox-next {
    right: 12px;
}

@media (min-width: 760px) {
    .lightbox {
        padding: 24px 84px 18px;
    }

    .lightbox-caption {
        padding: 0;
    }

    .lightbox-prev,
    .lightbox-next {
        top: calc(50% - 22px);
        bottom: auto;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next,
    .lightbox-close {
        right: 20px;
    }

    .lightbox-close {
        top: 20px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .lightbox[open] {
        animation: lightbox-in 0.2s ease;
    }
}

@keyframes lightbox-in {
    from {
        opacity: 0;
    }
}

.lightbox { --lb-bg: rgba(24, 19, 38, .94); --lb-text: #f8f0e2; --lb-accent: #93d6d8; --lb-accent-soft: rgba(147, 214, 216, .18); }

.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
