/* ==========================================================
   Wellnessclimb — aubergine & gold "step up" theme
   ========================================================== */
:root {
    --plum: #34193f;
    --plum-2: #4d2a5c;
    --plum-3: #6b3f7d;
    --mist: #f5f0f8;
    --mist-2: #e9def0;
    --gold: #c89b3c;
    --gold-soft: #f6ecd6;
    --blush: #f7e7e1;
    --paper: #fffcfa;
    --ink: #221628;
    --muted: #6a5f70;
    --line: #eadfe8;
    --r: 14px;
    --r-lg: 28px;
    --shadow: 0 26px 50px -30px rgba(52, 25, 63, .55);
    --head: "Bricolage Grotesque", system-ui, sans-serif;
    --body: "Nunito Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--body); font-size: 16.5px; line-height: 1.75; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; transition: color .2s, background .2s, border-color .2s, transform .2s; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .55em; color: var(--plum); }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }

.shell { width: min(1220px, 100% - 48px); margin-inline: auto; }
.shell--sm { width: min(800px, 100% - 48px); margin-inline: auto; }
.block { padding: 120px 0; position: relative; }
.block--sm { padding: 80px 0; }
.tone-mist { background: var(--mist); }
.tone-plum { background: var(--plum); color: #d9c9e0; }
.tone-plum h2, .tone-plum h3 { color: #fff; }
.tone-gold { background: var(--gold-soft); }
.lede { font-size: 1.16rem; color: var(--muted); }
.tone-plum .lede { color: #cdb9d6; }

.tagline { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); margin-bottom: 16px; }
.tagline::before { content: ""; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }
.intro { max-width: 680px; margin-bottom: 60px; }
.intro--center { text-align: center; margin-inline: auto; }
.intro--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.intro--row > div { max-width: 640px; }
.intro h2 { margin-bottom: .3em; }

/* Buttons */
.button { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 999px; font-family: var(--head); font-weight: 600; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.button:hover { transform: translateY(-2px); }
.button i { font-size: 1.25rem; }
.button--gold { background: var(--gold); color: var(--plum); }
.button--gold:hover { background: #b78a2c; }
.button--plum { background: var(--plum); color: #fff; }
.button--plum:hover { background: var(--plum-3); }
.button--line { border-color: var(--plum); color: var(--plum); }
.button--line:hover { background: var(--plum); color: #fff; }
.button--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.button--ghost:hover { background: #fff; color: var(--plum); }
.more { font-family: var(--head); font-weight: 600; color: var(--plum-3); display: inline-flex; align-items: center; gap: 6px; }
.more:hover { color: var(--gold); gap: 10px; }
.badge { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--plum-3); background: var(--mist); padding: 6px 12px; border-radius: 999px; }

/* Header */
.masthead { position: sticky; top: 0; z-index: 70; background: rgba(255, 252, 250, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; height: 88px; }
.masthead__logo img { width: 175px; height: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-family: var(--head); font-weight: 500; color: var(--muted); position: relative; padding: 4px 0; }
.nav__links a::before { content: ""; position: absolute; left: 50%; bottom: -6px; width: 6px; height: 6px; background: var(--gold); transform: translateX(-50%) rotate(45deg) scale(0); transition: transform .25s; }
.nav__links a:hover, .nav__links a.on { color: var(--plum); }
.nav__links a:hover::before, .nav__links a.on::before { transform: translateX(-50%) rotate(45deg) scale(1); }
.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__cta .login { font-weight: 700; color: var(--plum); display: inline-flex; align-items: center; gap: 6px; }
.nav__cta .button { padding: 11px 22px; }
.nav__extra { display: none; }
.hamburger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--plum); font-size: 1.6rem; cursor: pointer; place-content: center; }

/* Hero */
.hero { background: var(--plum); color: #dccbe3; padding: 80px 0 0; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(200, 155, 60, .25), transparent 65%); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--gold); display: block; }
.hero__rotator { min-height: 3.4em; font-size: 1.2rem; }
.hero__rotator p { margin: 0; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 40px; }
.hero__deck { position: relative; aspect-ratio: 1 / .9; }
.hero__deck figure { position: absolute; margin: 0; inset: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; background: #fff; transition: transform .8s ease, opacity .8s ease; box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .5); }
.hero__deck img { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }
.hero__deck figure[data-pos="0"] { transform: translate(0, 0); z-index: 3; }
.hero__deck figure[data-pos="1"] { transform: translate(34px, -30px) scale(.95); z-index: 2; opacity: .75; }
.hero__deck figure[data-pos="2"] { transform: translate(68px, -60px) scale(.9); z-index: 1; opacity: .5; }
.hero__steps { display: flex; gap: 10px; margin-top: 8px; }
.hero__steps button { flex: 1; height: 4px; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .2); cursor: pointer; padding: 0; overflow: hidden; position: relative; }
.hero__steps button.on::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: fill 6s linear forwards; transform-origin: left; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Category shelf */
.shelf { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.shelf__item { text-align: center; padding: 18px 12px 24px; border-radius: var(--r-lg); transition: background .3s, transform .3s; }
.shelf__item:hover { background: var(--mist); transform: translateY(-6px); }
.shelf__img { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 18px; border: 5px solid #fff; box-shadow: 0 16px 30px -20px rgba(52, 25, 63, .6); }
.shelf__img img { width: 100%; height: 100%; object-fit: cover; }
.shelf__item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.shelf__item p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* Arch split */
.duo { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.duo--flip > :first-child { order: 2; }
.arch { position: relative; max-width: 440px; }
.arch img { border-radius: 240px 240px var(--r-lg) var(--r-lg); width: 100%; aspect-ratio: 470 / 580; object-fit: cover; }
.arch::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border-radius: 240px 240px var(--r-lg) var(--r-lg); border: 2px solid var(--gold); z-index: -1; }
.arch__chip { position: absolute; right: -30px; bottom: 50px; background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; font-weight: 700; color: var(--plum); max-width: 230px; line-height: 1.3; }
.arch__chip i { font-size: 1.8rem; color: var(--gold); }
.pair { display: grid; gap: 22px; margin: 30px 0 34px; }
.pair article { padding: 26px 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); position: relative; }
.pair article::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 4px; border-radius: 4px; background: var(--gold); }
.pair h3 { margin-bottom: 8px; }
.pair p { margin: 0; color: var(--muted); }

/* Stair steps (why choose) */
.stairs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: end; }
.stair { background: var(--plum-2); border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 34px 30px; color: #dccbe3; }
.stair:nth-child(1) { min-height: 250px; }
.stair:nth-child(2) { min-height: 300px; background: var(--plum-3); }
.stair:nth-child(3) { min-height: 350px; background: var(--gold); color: var(--plum); }
.stair:nth-child(3) h3 { color: var(--plum); }
.stair span { font-family: var(--head); font-weight: 700; font-size: 3rem; line-height: 1; display: block; margin-bottom: 18px; opacity: .6; }
.stair p { margin: 0; }

/* Wheel (holistic) */
.wheel-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.wheel { position: relative; width: min(440px, 100%); aspect-ratio: 1; margin: 0 auto; }
.wheel__core { position: absolute; inset: 30%; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-content: center; text-align: center; font-family: var(--head); font-weight: 700; font-size: 1.15rem; line-height: 1.2; box-shadow: 0 0 0 14px var(--mist-2); }
.wheel__core small { display: block; font-family: var(--body); font-weight: 600; font-size: .75rem; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.wheel__node { position: absolute; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%; background: #fff; border: 2px solid var(--mist-2); display: grid; place-content: center; text-align: center; font-weight: 800; font-size: .82rem; color: var(--plum); box-shadow: var(--shadow); }
.wheel__node i { font-size: 1.7rem; color: var(--gold); display: block; margin-bottom: 2px; }
.wheel::before { content: ""; position: absolute; inset: 11%; border-radius: 50%; border: 2px dashed var(--mist-2); }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: p; }
.process li { list-style: none; padding: 0 26px 0 0; position: relative; }
.process li::before { counter-increment: p; content: counter(p); width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: var(--plum); font-family: var(--head); font-weight: 700; font-size: 1.3rem; display: grid; place-content: center; margin-bottom: 22px; position: relative; z-index: 1; }
.process li::after { content: ""; position: absolute; top: 27px; left: 54px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 8px, transparent 8px 14px); }
.process li:last-child::after { display: none; }
.process p { color: #cdb9d6; margin: 0; font-size: .96rem; }
.process ol, ol.process { padding: 0; margin: 0; }

/* Trust cards */
.pillars3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pillars3 article { background: #fff; border-radius: var(--r-lg); padding: 38px 34px; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.pillars3 article:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillars3 i { width: 60px; height: 60px; border-radius: 18px; background: var(--mist); color: var(--plum-3); display: grid; place-content: center; font-size: 1.8rem; margin-bottom: 22px; }
.pillars3 p { color: var(--muted); margin: 0; }

/* Post cards */
.post { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post__img { display: block; aspect-ratio: 1 / .78; overflow: hidden; position: relative; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post:hover .post__img img { transform: scale(1.06); }
.post__img .badge { position: absolute; left: 16px; top: 16px; background: rgba(255, 255, 255, .92); }
.post__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; gap: 14px; }
.post__body h3 { font-size: 1.2rem; margin: 0; line-height: 1.25; }
.post__body h3 a:hover { color: var(--plum-3); }
.post__body .more { margin-top: auto; font-size: .95rem; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post.is-hidden { display: none; }

/* Page banner */
.banner { background: var(--mist); padding: 80px 0 90px; position: relative; overflow: hidden; }
.banner::before, .banner::after { content: ""; position: absolute; background: var(--mist-2); }
.banner::before { right: 0; bottom: 0; width: 34%; height: 40%; border-radius: var(--r-lg) 0 0 0; }
.banner::after { right: 0; bottom: 40%; width: 20%; height: 30%; border-radius: var(--r-lg) 0 0 0; opacity: .6; }
.banner .shell { position: relative; z-index: 1; }
.banner h1 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); max-width: 900px; }
.banner p { max-width: 620px; font-size: 1.12rem; color: var(--muted); margin: 0; }
.crumb { display: flex; gap: 8px; align-items: center; font-size: .88rem; font-weight: 700; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.crumb a:hover { color: var(--gold); }
.crumb i { color: var(--gold); }

/* Blogs listing */
.topics { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 46px; }
.topics button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 20px; font-family: var(--head); font-weight: 600; color: var(--muted); cursor: pointer; font-size: .93rem; }
.topics button:hover { border-color: var(--plum); color: var(--plum); }
.topics button.on { background: var(--plum); border-color: var(--plum); color: #fff; }
.pages { display: flex; justify-content: center; gap: 10px; margin-top: 56px; }
.pages button { width: 48px; height: 48px; border: 1.5px solid var(--line); background: #fff; border-radius: 50%; font-family: var(--head); font-weight: 700; color: var(--plum); cursor: pointer; }
.pages button.on, .pages button:hover { background: var(--gold); border-color: var(--gold); }

/* Article */
.post-head { background: var(--mist); padding: 70px 0 0; }
.post-head__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: end; }
.post-head h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.post-head .lede { margin-bottom: 26px; }
.post-facts { display: flex; flex-wrap: wrap; gap: 12px; padding-bottom: 60px; }
.post-facts span { display: inline-flex; align-items: center; gap: 7px; background: #fff; border-radius: 999px; padding: 8px 16px; font-size: .88rem; font-weight: 700; color: var(--plum); }
.post-facts i { color: var(--gold); font-size: 1.1rem; }
.post-head__img { border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; aspect-ratio: 972 / 640; }
.post-head__img img { width: 100%; height: 100%; object-fit: cover; }
.post-main { padding: 80px 0 100px; }
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 70px; align-items: start; }
.aside { position: sticky; top: 118px; display: grid; gap: 24px; }
.aside__box { border-radius: var(--r-lg); padding: 28px; background: var(--mist); }
.aside__box h4 { font-size: 1.05rem; margin-bottom: 14px; }
.aside__box ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: .92rem; }
.aside__box ol a { color: var(--muted); }
.aside__box ol a:hover, .aside__box ol a.on { color: var(--plum); font-weight: 700; }
.aside__box--plum { background: var(--plum); color: #d7c5df; }
.aside__box--plum h4 { color: #fff; }
.aside__box--plum p { font-size: .94rem; }
.essentials { border: 2px solid var(--gold); border-radius: var(--r-lg); padding: 30px 34px; margin-bottom: 44px; background: var(--gold-soft); }
.essentials h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; color: var(--plum-3); margin-bottom: 16px; }
.essentials ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.essentials li { padding-left: 30px; position: relative; }
.essentials li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }
.article { font-size: 1.07rem; }
.article h2, .article h3:not(.sub) { font-size: 1.7rem; margin: 1.8em 0 .55em; scroll-margin-top: 120px; }
.article > h2:first-child { margin-top: 0; }
.article h4 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.article p, .article li { color: #3b3141; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .5em; }
.article strong { color: var(--plum); }
.note { display: flex; gap: 14px; margin-top: 50px; padding: 22px 26px; border-radius: var(--r); background: var(--mist); font-size: .92rem; color: var(--muted); }
.note i { font-size: 1.5rem; color: var(--gold); }

/* Forms */
.formwrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: start; }
.formcard { background: #fff; border-radius: var(--r-lg); padding: 50px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.formcard h2 { font-size: 2.1rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fgrid--one { grid-template-columns: 1fr; }
.f { display: flex; flex-direction: column; gap: 7px; }
.f label { font-weight: 800; font-size: .86rem; color: var(--plum); }
.f input { font: inherit; width: 100%; padding: 15px 18px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--paper); transition: border-color .2s, box-shadow .2s; }
.f input:focus { outline: 0; border-color: var(--plum-3); box-shadow: 0 0 0 4px var(--mist); }
.opt { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: .83rem; line-height: 1.6; color: var(--muted); padding: 14px 16px; border-radius: var(--r); background: var(--mist); }
.opt input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--plum); }
.opt a { color: var(--plum-3); font-weight: 800; text-decoration: underline; }
#form-message { grid-column: 1 / -1; margin: 0; font-weight: 700; display: none; }
.fsubmit { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.infocards { display: grid; gap: 18px; }
.infocard { padding: 28px; border-radius: var(--r-lg); background: var(--plum); color: #d7c5df; }
.infocard i { font-size: 1.8rem; color: var(--gold); margin-bottom: 14px; display: block; }
.infocard h3 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.infocard a { color: #fff; font-weight: 700; word-break: break-word; }
.infocard a:hover { color: var(--gold); }
.infocard--light { background: var(--gold-soft); color: var(--muted); }
.infocard--light h3 { color: var(--plum); }
.authbox { display: grid; grid-template-columns: .9fr 1.1fr; max-width: 1000px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.authbox__art { background: var(--plum); color: #d7c5df; padding: 56px 46px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.authbox__art h2 { color: #fff; }
.authbox__art img { border-radius: 200px 200px 20px 20px; max-width: 220px; align-self: center; }
.authbox__form { padding: 56px 50px; }

/* Legal */
.legal h2 { font-size: 1.45rem; margin: 1.8em 0 .5em; }
.legal h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }
.legal p, .legal li { color: #3f3645; font-size: .98rem; }
.legal a { color: var(--plum-3); text-decoration: underline; }

/* CTA ribbon */
.ribbon { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 60px 64px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--plum) 0%, var(--plum-3) 100%); color: #e0d0e7; position: relative; overflow: hidden; }
.ribbon::after { content: ""; position: absolute; right: 180px; top: -60px; width: 200px; height: 200px; border: 3px solid rgba(200, 155, 60, .5); transform: rotate(45deg); }
.ribbon h2 { color: #fff; margin-bottom: .3em; }
.ribbon p { margin: 0; max-width: 560px; }
.ribbon .button { position: relative; z-index: 1; }

/* Footer */
.foot { background: var(--ink); color: #a896b0; padding: 90px 0 0; font-size: .95rem; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.foot__brand p { margin-top: 20px; max-width: 320px; }
.foot h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a:hover { color: var(--gold); }
.foot__contact li { display: flex; gap: 10px; align-items: center; word-break: break-word; }
.foot__contact i { color: var(--gold); font-size: 1.2rem; }
.foot__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0; font-size: .85rem; }
.foot__base p { margin: 0; }
.foot__base a { color: #fff; }
.up { position: fixed; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 14px; border: 0; background: var(--gold); color: var(--plum); font-size: 1.5rem; display: grid; place-content: center; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px) rotate(45deg); transition: .3s; z-index: 50; }
.up i { transform: rotate(-45deg); }
.up.show { opacity: 1; pointer-events: auto; transform: rotate(45deg); }

.rise { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.rise.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1150px) {
    .shelf { grid-template-columns: repeat(3, 1fr); }
    .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
    .process li:nth-child(2)::after { display: none; }
    .post-grid { grid-template-columns: 1fr; }
    .aside { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
    .block { padding: 84px 0; }
    .hamburger { display: grid; }
    .nav { position: fixed; inset: 88px 0 auto 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 20px; padding: 24px 24px 32px; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(52, 25, 63, .5); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .3s; }
    .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
    .nav__links { flex-direction: column; gap: 0; }
    .nav__links a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
    .nav__links a::before { display: none; }
    .nav__cta { justify-content: space-between; }
    .nav__extra { display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
    .hero__grid, .duo, .wheel-wrap, .formwrap, .authbox, .post-head__grid { grid-template-columns: 1fr; }
    .duo--flip > :first-child { order: 0; }
    .hero__deck { max-width: 560px; width: 100%; margin: 20px auto 0; }
    .arch { margin: 0 auto; }
    .arch__chip { right: 0; }
    .stairs, .pillars3, .posts { grid-template-columns: 1fr 1fr; }
    .stair { min-height: 0 !important; border-radius: var(--r-lg); }
    .foot__grid { grid-template-columns: 1fr 1fr; }
    .ribbon { grid-template-columns: 1fr; padding: 44px 32px; }
    .post-head__img { border-radius: var(--r-lg); margin-bottom: 40px; }
    .post-facts { padding-bottom: 10px; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .shell, .shell--sm { width: calc(100% - 32px); }
    .block { padding: 64px 0; }
    .masthead__inner { height: 74px; }
    .nav { top: 74px; }
    .masthead__logo img { width: 145px; }
    .shelf { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stairs, .pillars3, .posts, .fgrid, .foot__grid, .process, .aside { grid-template-columns: 1fr; }
    .process li::after { display: none; }
    .hero__deck figure[data-pos="1"] { transform: translate(16px, -16px) scale(.95); }
    .hero__deck figure[data-pos="2"] { transform: translate(32px, -32px) scale(.9); }
    .wheel__node { width: 84px; height: 84px; margin: -42px 0 0 -42px; font-size: .7rem; }
    .wheel__node i { font-size: 1.3rem; }
    .formcard, .authbox__form, .authbox__art { padding: 32px 22px; }
    .essentials { padding: 24px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .rise { opacity: 1; transform: none; }
}

/* Products */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; transition: transform .3s, box-shadow .3s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--mist); color: var(--plum-3); display: grid; place-items: center; font-size: 1.7rem; }
.pcard .badge { align-self: flex-start; }
.pcard h3 { font-size: 1.15rem; margin: 0; }
.pcard p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.55; }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pgrid { grid-template-columns: 1fr; } }
