/* Layout: o singură coloană de lectură (~65ch) încadrată de benzi „lac adânc"; cercul de respirație e singurul gest vizual puternic. */
:root {
  --stone: #EEF0EC; --paper: #F8F9F6; --ink: #1C2A2E; --muted: #56676A; --lake: #17323A; --lake-ink: #E4ECE9;
  --plum: #874C67; --plum-soft: #E9DCE2; --line: #CDD6D3; --todo-bg: #FFF4D6; --todo-ink: #6B4E00;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --measure: 66ch; --wide: 1120px;
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem; --s6: 6rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --stone: #0F1A1D; --paper: #152328; --ink: #E3EAE7; --muted: #9AABAA;
    --lake: #0A1416; --lake-ink: #DDE7E3; --plum: #D29AB4; --plum-soft: #3A2530;
    --line: #26383D; --todo-bg: #3A3010; --todo-ink: #F2D98A; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --stone: #0F1A1D; --paper: #152328; --ink: #E3EAE7; --muted: #9AABAA;
  --lake: #0A1416; --lake-ink: #DDE7E3; --plum: #D29AB4; --plum-soft: #3A2530;
  --line: #26383D; --todo-bg: #3A3010; --todo-ink: #F2D98A; color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--stone); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--wide); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.read { max-width: var(--measure); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; text-wrap: balance; margin: 0; font-variation-settings: "SOFT" 100, "opsz" 96; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.35rem; font-variation-settings: "SOFT" 100, "opsz" 24; }
p { margin: 0; }
.stack > * + * { margin-top: var(--s2); }
.stack-lg > * + * { margin-top: var(--s3); }
.label { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 52ch; }
.site-head { border-bottom: 1px solid var(--line); background: var(--stone); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--stone); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding-block: .9rem; flex-wrap: wrap; }
.brand { font-family: var(--display); font-size: 1.35rem; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .6rem; font-variation-settings: "SOFT" 100; }
.brand-dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--plum); position: relative; }
.brand-dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--plum); }
.nav { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; font-size: .95rem; }
.nav a { color: var(--ink); text-decoration: none; padding-block: .2rem; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--plum); }
.nav-toggle { display: none; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; font: inherit; font-size: .9rem; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: .35rem .9rem; cursor: pointer; }
  .nav { display: none; width: 100%; flex-direction: column; gap: .2rem; padding-top: .5rem; }
  .nav.open { display: flex; }
  .nav a { padding-block: .5rem; border-bottom: 1px solid var(--line); }
}
.btn { display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-weight: 600; font-size: .98rem; padding: .8rem 1.4rem; border-radius: 999px; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--plum); color: var(--paper); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: currentColor; color: inherit; }
.on-lake .btn-primary { background: var(--lake-ink); color: var(--lake); }
section { padding-block: var(--s5); }
.band { background: var(--lake); color: var(--lake-ink); }
.band .label, .band .lede { color: color-mix(in srgb, var(--lake-ink) 70%, transparent); }
.band a:not(.btn) { color: var(--lake-ink); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.hero { padding-block: var(--s5) var(--s5); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: var(--s4); align-items: center; }
.hero-grid > * { min-width: 0; }
.breath { position: relative; aspect-ratio: 1; width: min(100%, 360px); justify-self: center; display: grid; place-items: center; }
.breath .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); }
.breath .ring:nth-child(2) { inset: 12%; }
.breath .ring:nth-child(3) { inset: 24%; }
.breath .core { position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--plum-soft), color-mix(in srgb, var(--plum) 55%, var(--plum-soft))); animation: breathe 10s ease-in-out infinite; }
.breath .cue { position: relative; font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.breath .cue span { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; animation: cue-in 10s infinite; }
.breath .cue span + span { animation-name: cue-out; opacity: 0; }
@keyframes breathe { 0%,100% { transform: scale(.72); } 40% { transform: scale(1.38); } }
@keyframes cue-in { 0%,38% { opacity: 1; } 42%,96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes cue-out { 0%,38% { opacity: 0; } 42%,96% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .breath .core { animation: none; transform: scale(1); } .breath .cue span { animation: none; } .breath .cue span + span { display: none; } }
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; } .breath { width: min(70%, 260px); order: -1; } }
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.door { background: var(--paper); padding: var(--s3); display: flex; flex-direction: column; gap: var(--s2); text-decoration: none; color: var(--ink); min-width: 0; }
.door:hover { background: var(--plum-soft); }
.door .meta { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.door .go { margin-top: auto; color: var(--plum); font-weight: 600; }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }
.situations { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3) var(--s4); }
.situations > * { min-width: 0; }
.situation { padding-top: var(--s2); border-top: 1px solid var(--line); }
.situation h3 { margin-bottom: .4rem; }
.situation p { color: var(--muted); }
.situation .where { margin-top: .6rem; font-size: .92rem; }
@media (max-width: 700px) { .situations { grid-template-columns: 1fr; } }
.page-head { padding-block: var(--s5) var(--s4); }
.page-head .stack > .label { margin-bottom: -.25rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s5); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--s4); } }
.aside-card { background: var(--paper); border: 1px solid var(--line); padding: var(--s3); position: sticky; top: 90px; }
@media (max-width: 900px) { .aside-card { position: static; } }
.facts { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1rem; margin: var(--s2) 0 var(--s3); font-size: .95rem; }
.facts dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.facts dd { margin: 0; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: var(--s3); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3rem 1fr; gap: var(--s2); }
.steps li > * { min-width: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: .85rem; color: var(--plum); padding-top: .35rem; }
.steps h3 { margin-bottom: .3rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.checks li { padding-left: 1.6rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7rem; height: .7rem; border-radius: 50%; border: 1.5px solid var(--plum); }
.quote { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.3; font-style: italic; font-variation-settings: "SOFT" 100, "opsz" 72; max-width: 30ch; }
details { border-top: 1px solid var(--line); padding-block: var(--s2); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: var(--s2); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--plum); }
details[open] summary::after { content: "−"; }
details > div { padding-top: .7rem; color: var(--muted); }
details ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.todo { background: var(--todo-bg); color: var(--todo-ink); font-family: var(--mono); font-size: .8em; padding: .05rem .4rem; border-radius: 3px; border: 1px dashed currentColor; white-space: normal; }
.photo-slot { aspect-ratio: 4 / 5; width: 100%; max-width: 380px; justify-self: center; border: 1px dashed var(--line); background: var(--paper); display: grid; place-items: center; text-align: center; padding: var(--s3); color: var(--muted); font-size: .9rem; }
.note { font-size: .9rem; color: var(--muted); border-left: 2px solid var(--plum); padding-left: var(--s2); }
.site-foot { background: var(--lake); color: var(--lake-ink); font-size: .92rem; }
.site-foot .wrap { padding-block: var(--s4); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s4); }
.site-foot .wrap > * { min-width: 0; }
.site-foot a { color: var(--lake-ink); }
.site-foot ul { list-style: none; padding: 0; margin: .6rem 0 0; display: grid; gap: .35rem; }
.site-foot .fine { grid-column: 1 / -1; border-top: 1px solid color-mix(in srgb, var(--lake-ink) 20%, transparent); padding-top: var(--s2); color: color-mix(in srgb, var(--lake-ink) 65%, transparent); font-size: .82rem; }
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: 1fr; gap: var(--s3); } }
