:root {
  --bg: #f7f2ee;
  --bg2: #efe7f1;
  --card: #ffffff;
  --ink: #2f2440;
  --muted: #7c7189;
  --lilac: #cfc3ec;
  --lilac-d: #8f7cc9;
  --peach: #eeac93;
  --line: #e6dde6;
  --glow: radial-gradient(circle at 30% 30%, #fff6dc, #f4c99b 45%, #ec9f86 100%);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Commissioner", system-ui, sans-serif;
  --r: 28px;
  --max: 1260px;
  color-scheme: light;
}
[data-theme=night] {
  --bg: #17142a;
  --bg2: #221d3b;
  --card: #241f3d;
  --ink: #efe9f8;
  --muted: #a69dbd;
  --lilac: #4a3f7d;
  --lilac-d: #b6a6f0;
  --peach: #f1b59f;
  --line: #352f55;
  --glow: radial-gradient(circle at 35% 35%, #fffbea, #e9e2c8 50%, #b9b3a3 100%);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.locked, html.locked body { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); transition: background .5s, color .5s; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -.01em; }
h1 { font-size: clamp(44px, 7.5vw, 104px); }
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: 28px; }
h1 em, h2 em { font-style: italic; color: var(--lilac-d); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--lilac-d); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.link { background: none; border: 0; padding: 0; color: var(--lilac-d); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.hint { font-size: 13px; color: var(--muted); margin: 0; }

/* buttons, pills */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .2s, background .3s; }
.btn:hover { transform: translateY(-2px); background: var(--lilac-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { box-shadow: none; }
.btn--full { width: 100%; }
.btn--grow { flex: 1; }
.pill { padding: 9px 18px; border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 500; transition: .2s; }
.pill:hover { border-color: var(--lilac-d); }
.pill.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); }
.stepper button { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; font-size: 17px; }
.stepper span { min-width: 22px; text-align: center; font-weight: 600; font-size: 14px; }
.stepper--lg button { width: 46px; height: 52px; font-size: 20px; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); flex: none; }

/* topline + header */
.topline { background: var(--ink); color: var(--bg); text-align: center; font-size: 13px; padding: 8px 16px; letter-spacing: .02em; }
.hdr { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: background .5s; }
.hdr-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 78px; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 4px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a.on { border-color: var(--lilac-d); }
.logo { font: italic 500 40px/1 var(--serif); text-decoration: none; text-align: center; letter-spacing: .01em; }
.logo span { display: block; font: 500 10px var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: 2px; font-style: normal; }
.logo--big { font-size: 64px; }
.hdr-act { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 7px; padding: 10px; }
.menu-btn span { height: 1.5px; background: var(--ink); display: block; }
.theme { position: relative; width: 62px; height: 34px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; overflow: hidden; }
.theme .sun, .theme .moon { position: absolute; top: 5px; width: 21px; height: 21px; border-radius: 50%; transition: transform .5s cubic-bezier(.5, 0, .2, 1), opacity .4s; }
.theme .sun { left: 6px; background: radial-gradient(circle at 35% 35%, #ffe9a8, #f2a96f); box-shadow: 0 0 10px #f6c28a; }
.theme .moon { right: 6px; background: radial-gradient(circle at 40% 40%, #fffbea, #cfc8b2); box-shadow: inset -5px -2px 0 rgba(0, 0, 0, .12); transform: translateX(40px); opacity: 0; }
[data-theme=night] .theme .sun { transform: translateX(-40px); opacity: 0; }
[data-theme=night] .theme .moon { transform: none; opacity: 1; }
.bag { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; display: grid; place-items: center; }
.bag svg { width: 22px; height: 22px; }
.bag b { position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--peach); color: #2f2440; font-size: 11px; display: grid; place-items: center; }
.bag.bump { animation: bump .5s; }
@keyframes bump { 40% { transform: scale(1.18) rotate(-6deg); } }

/* drawer */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(23, 20, 42, .45); opacity: 0; transition: opacity .3s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; width: min(440px, 100%); background: var(--bg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.3, .8, .3, 1); border-radius: var(--r) 0 0 var(--r); }
.drawer-on .scrim { opacity: 1; }
.drawer-on .drawer { transform: none; }
.drawer-on { overflow: hidden; }
.drawer-hd { display: flex; justify-content: space-between; align-items: center; padding: 24px 26px 16px; border-bottom: 1px solid var(--line); }
.drawer-hd h3 { font-size: 34px; font-style: italic; }
.x { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: none; font-size: 22px; cursor: pointer; }
.drawer-bd { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.drawer-bd .lines { flex: 1; overflow-y: auto; padding: 8px 26px; }
.drawer-ft { padding: 18px 26px 26px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-empty { margin: auto; text-align: center; padding: 30px; }
.drawer-empty p { font: italic 28px var(--serif); margin: 20px 0; }
.moon-big { width: 90px; height: 90px; margin: 0 auto; border-radius: 50%; background: var(--glow); box-shadow: 0 0 60px rgba(238, 172, 147, .45); }

/* lines */
.lines { list-style: none; margin: 0; padding: 0; }
.ln { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ln-pic { border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; }
.ln-pic img { width: 100%; height: 100%; object-fit: cover; }
.ln-info { display: grid; gap: 3px; }
.ln-name { font-weight: 600; font-size: 14px; text-decoration: none; line-height: 1.35; }
.ln-meta { font-size: 13px; color: var(--muted); }
.ln-row { display: flex; gap: 14px; align-items: center; margin-top: 6px; }
.ln-del { background: none; border: 0; padding: 0; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.ln-sum { font-size: 15px; white-space: nowrap; }
.tot { display: flex; justify-content: space-between; align-items: baseline; }
.tot b { font: 600 34px var(--serif); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 70px 0 90px; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero h1 { max-width: 640px; }
.hero-lead { font-size: 18px; color: var(--muted); max-width: 460px; margin: 26px 0 34px; }
.hero-acts { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: relative; height: 620px; }
.orb { position: absolute; width: 230px; height: 230px; border-radius: 50%; background: var(--glow); top: -10px; right: -20px; filter: blur(.3px); box-shadow: 0 0 90px rgba(238, 172, 147, .5); animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(18px); } }
.hero-arch { position: absolute; overflow: hidden; border-radius: 999px 999px 26px 26px; box-shadow: 0 30px 60px -30px rgba(47, 36, 64, .45); }
.hero-arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-arch--a { width: 62%; height: 88%; left: 4%; bottom: 0; }
.hero-arch--b { width: 42%; height: 54%; right: 0; bottom: 6%; border: 8px solid var(--bg); }
.stars i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--lilac-d); opacity: .5; animation: twinkle 3s infinite; }
@keyframes twinkle { 50% { opacity: .1; } }
.hero-note { position: absolute; left: 0; top: 12%; background: var(--card); border-radius: 18px; padding: 12px 16px; font-size: 13px; box-shadow: 0 14px 30px -18px rgba(47, 36, 64, .5); max-width: 190px; z-index: 2; }
.hero-note b { display: block; font: italic 600 22px var(--serif); }

/* sections */
.sect { padding: 90px 0; }
.sect-hd { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 44px; }
.sect-hd p { color: var(--muted); max-width: 420px; margin: 0; }
.soft-bg { background: var(--bg2); border-radius: 48px; transition: background .5s; }

.arches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.arch { text-decoration: none; text-align: center; }
.arch-pic { display: block; aspect-ratio: 3 / 4.3; border-radius: 999px 999px 22px 22px; overflow: hidden; margin-bottom: 14px; background: var(--card); }
.arch-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.arch:hover .arch-pic img { transform: scale(1.06); }
.arch-name { display: block; font: italic 500 26px var(--serif); }
.arch-note { font-size: 13px; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 20px; }
.card-pic { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; background: var(--card); margin-bottom: 14px; }
.card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card-pic img { transform: scale(1.05); }
.badge { position: absolute; top: 14px; left: 14px; background: var(--card); color: var(--ink); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 600; }
.badge--sale { left: auto; right: 14px; background: var(--peach); color: #2f2440; }
.quick { position: absolute; left: 10px; right: 10px; bottom: 10px; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(6px); border-radius: 20px; padding: 10px 12px; transform: translateY(130%); transition: transform .35s cubic-bezier(.3, .8, .3, 1); }
.quick span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.quick div { display: flex; flex-wrap: wrap; gap: 5px; }
.quick button { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; cursor: pointer; }
.quick button:hover { background: var(--ink); color: var(--bg); }
.card:hover .quick, .card:focus-within .quick { transform: none; }
.card-name { display: block; text-decoration: none; font-weight: 500; font-size: 15px; line-height: 1.35; }
.card-row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.price { font-weight: 600; }
.price s, .pd-price s { color: var(--muted); font-weight: 400; font-size: .85em; margin-left: 4px; }

/* ritual */
.ritual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rit { background: var(--card); border-radius: var(--r); padding: 34px 28px; transition: background .5s; }
.rit-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg2); font: italic 600 26px var(--serif); margin-bottom: 22px; color: var(--lilac-d); }
.rit h3 { margin-bottom: 10px; }
.rit p { color: var(--muted); margin: 0; }

/* fabrics */
.fabrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fab { border-radius: var(--r); padding: 28px 24px 24px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; background: var(--card); border: 1px solid var(--line); transition: transform .3s; }
.fab:hover { transform: translateY(-4px); }
.fab-sw { width: 64px; height: 64px; border-radius: 50%; }
.fab h3 { font-size: 30px; font-style: italic; }
.fab p { color: var(--muted); font-size: 14px; margin: 6px 0 0; }

.quote { text-align: center; max-width: 900px; margin: 0 auto; }
.quote p { font: italic 500 clamp(28px, 4vw, 48px)/1.2 var(--serif); margin: 22px 0; }

.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary, .acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-weight: 600; }
.faq summary::after, .acc summary::after { content: "+"; font-size: 22px; line-height: 1; transition: transform .3s; color: var(--lilac-d); }
.faq details[open] summary::after, .acc details[open] summary::after { transform: rotate(45deg); }
.faq summary::-webkit-details-marker, .acc summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); margin: 12px 0 0; max-width: 760px; }

/* catalog */
.cat-hd { padding: 60px 0 30px; text-align: center; }
.cat-hd h1 { font-size: clamp(44px, 6vw, 80px); font-style: italic; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 26px 0; }
.bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 14px 0; margin-bottom: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bar-l { display: flex; gap: 10px; flex-wrap: wrap; }
.bar select { padding: 10px 36px 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(-45deg, transparent 50%, var(--muted) 50%); background-position: right 18px center, right 13px center; background-size: 5px 5px; background-repeat: no-repeat; font-size: 14px; cursor: pointer; }
#found { color: var(--muted); font-size: 14px; }
.nothing { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted); }
.nothing--big { padding: 100px 20px; }
.nothing--big p { font: italic 30px var(--serif); color: var(--ink); margin: 22px 0; }

/* product */
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted); padding: 30px 0 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; padding-bottom: 60px; }
.pd-pic { position: sticky; top: 100px; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; aspect-ratio: 3 / 4; background: var(--card); }
.pd-pic img { width: 100%; height: 100%; object-fit: cover; }
.pd-pic .badge { top: auto; bottom: 18px; left: 18px; }
.pd-info h1 { font-size: clamp(38px, 4.4vw, 60px); }
.pd-price { font: 600 34px var(--serif); margin: 16px 0 20px; }
.soft { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.soft div { display: flex; gap: 5px; }
.soft i { width: 26px; height: 8px; border-radius: 999px; background: var(--line); }
.soft i.on { background: var(--lilac-d); }
.pd-color { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-bottom: 22px; }
.lbl { font-weight: 600; margin-bottom: 10px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.err { color: #c4566a; font-weight: 600; margin: 10px 0 0; }
.buy { display: flex; gap: 12px; margin: 26px 0 30px; }
.acc details { border-top: 1px solid var(--line); padding: 18px 0; }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc p { color: var(--muted); margin: 12px 0 0; font-size: 15px; }
.stable { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.stable th, .stable td { padding: 9px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.stable thead th { color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

/* checkout */
.co { display: grid; grid-template-columns: 1fr 420px; gap: 50px; align-items: start; padding-bottom: 90px; }
.co-hd { padding: 50px 0 30px; }
.co-hd h1 { font-size: clamp(42px, 5.5vw, 72px); font-style: italic; }
.box { background: var(--card); border-radius: var(--r); padding: 30px; margin-bottom: 18px; transition: background .5s; }
.box h3 { font-size: 30px; font-style: italic; margin-bottom: 18px; }
.flds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 6px; }
.fld--w { grid-column: 1 / -1; }
.fld label { font-size: 14px; font-weight: 500; }
.fld input, .fld textarea { padding: 14px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg); transition: border-color .2s; }
.fld input:focus, .fld textarea:focus { border-color: var(--lilac-d); outline: none; }
.fld textarea { min-height: 90px; resize: vertical; }
.fld .e { display: none; font-size: 13px; color: #c4566a; }
.fld.bad input, .fld.bad textarea { border-color: #c4566a; }
.fld.bad .e { display: block; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 500; }
.choice input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--lilac-d); outline-offset: 2px; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.agree input { width: 20px; height: 20px; accent-color: var(--lilac-d); flex: none; margin-top: 2px; }
.co-side { position: sticky; top: 100px; }
.co-side .lines { max-height: 360px; overflow-y: auto; margin-bottom: 14px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(23, 20, 42, .55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; overflow-y: auto; }
.modal.on { opacity: 1; }
.modal-card { width: 100%; max-width: 500px; background: var(--bg); border-radius: 36px; padding: 44px 36px 32px; text-align: center; transform: translateY(40px) scale(.97); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.modal.on .modal-card { transform: none; }
.modal-moon { position: relative; width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 70px rgba(238, 172, 147, .55); }
.modal-moon span { position: absolute; font: italic 600 18px var(--serif); color: var(--lilac-d); animation: zz 2.4s infinite; opacity: 0; }
.modal-moon span::before { content: "z"; }
.modal-moon span:nth-child(1) { right: -14px; top: 4px; }
.modal-moon span:nth-child(2) { right: -28px; top: -14px; font-size: 22px; animation-delay: .5s; }
.modal-moon span:nth-child(3) { right: -44px; top: -34px; font-size: 26px; animation-delay: 1s; }
@keyframes zz { 30% { opacity: 1; } 100% { opacity: 0; transform: translate(6px, -10px); } }
.modal-card h2 { font-size: clamp(36px, 6vw, 48px); font-style: italic; margin-bottom: 14px; }
.modal-lead { color: var(--muted); font-size: 16px; }
.lines--mini { text-align: left; margin: 18px 0 12px; border-top: 1px solid var(--line); max-height: 220px; overflow-y: auto; }
.lines--mini .ln { grid-template-columns: 54px 1fr auto; padding: 10px 0; }
.modal-card .hint { margin: 10px 0 20px; }

/* payment */
.pay-hd { padding: 60px 0 36px; text-align: center; }
.pay-hd h1 { font-style: italic; font-size: clamp(42px, 6vw, 80px); }
.pay-hd p { color: var(--muted); max-width: 560px; margin: 18px auto 0; }
.pay { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; padding-bottom: 90px; }
.req { background: var(--card); border-radius: 36px; padding: 16px 32px; }
.req-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center; }
.req-row:last-child { border: 0; }
.req-k { grid-column: 1 / -1; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.req-v { font-size: 18px; font-weight: 600; word-break: break-word; }
.req-v--mono { font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.cp { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.cp:hover { border-color: var(--lilac-d); }
.cp.ok { background: var(--lilac-d); color: #fff; border-color: var(--lilac-d); }
.pay-side { display: grid; gap: 18px; }
.warn { background: var(--peach); color: #2f2440; border-radius: 28px; padding: 26px 28px; font-weight: 500; }
.warn b { font: italic 600 24px var(--serif); display: block; margin-bottom: 8px; }
.warn p { margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 16px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps li::before { counter-increment: s; content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--bg2); display: grid; place-items: center; font: italic 600 22px var(--serif); color: var(--lilac-d); }

/* text pages */
.page-hd { padding: 60px 0 30px; }
.page-hd h1 { font-size: clamp(44px, 6vw, 80px); font-style: italic; }
.doc { max-width: 820px; padding-bottom: 90px; }
.doc h2 { font-size: 36px; font-style: italic; margin: 44px 0 14px; }
.doc p, .doc li { color: var(--muted); }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--ink); }
.offer h2 { font-size: 26px; margin-top: 34px; }
.offer p { font-size: 15px; }
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.contacts div { background: var(--card); border-radius: 24px; padding: 22px 24px; }
.contacts span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contacts b, .contacts a { font-weight: 600; text-decoration: none; word-break: break-word; }

/* footer */
.ftr { margin-top: 40px; background: var(--ink); color: var(--bg); border-radius: 48px 48px 0 0; padding: 70px 0 30px; transition: background .5s; }
[data-theme=night] .ftr { background: #0f0d1d; color: #efe9f8; }
.ftr-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.ftr-brand p { opacity: .7; max-width: 280px; margin-top: 14px; }
.ftr h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .55; font-weight: 500; }
.ftr a, .ftr span { display: block; text-decoration: none; font-size: 14px; margin-bottom: 8px; opacity: .85; }
.ftr a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.ftr-req { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.ftr-req span { font-size: 13px; opacity: .6; margin: 0; }
.ftr-copy { margin: 18px 0 0; font-size: 13px; opacity: .5; }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 95; transform: translate(-50%, 160%); background: var(--ink); color: var(--bg); padding: 14px 24px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: transform .35s; max-width: calc(100% - 32px); text-align: center; }
.toast.on { transform: translate(-50%, 0); }

.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.nf h1 { font-size: clamp(110px, 22vw, 240px); font-style: italic; color: var(--lilac-d); }
.nf p { color: var(--muted); margin: 10px 0 26px; }

/* responsive */
@media (max-width: 1100px) {
  .arches { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .fabrics { grid-template-columns: 1fr 1fr; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hdr-in { grid-template-columns: auto 1fr auto; height: 66px; }
  .menu-btn { display: flex; }
  .logo { font-size: 32px; }
  .logo span { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 22px 16px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); }
  .hero { padding: 40px 0 60px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { height: 480px; }
  .ritual { grid-template-columns: 1fr; }
  .pd, .co, .pay { grid-template-columns: 1fr; gap: 30px; }
  .pd-pic, .co-side { position: static; }
  .pd-pic { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .sect { padding: 64px 0; }
  .soft-bg { border-radius: 32px; }
  .arches { grid-template-columns: 1fr 1fr; gap: 14px; }
  .arch:last-child { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
  .arch-name { font-size: 22px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .card-pic { border-radius: 20px; }
  .card-name { font-size: 14px; }
  .quick { display: none; }
  .hero-art { height: 400px; }
  .hero-note { display: none; }
  .orb { width: 140px; height: 140px; }
  .fabrics { grid-template-columns: 1fr; }
  .fab { min-height: 0; flex-direction: row; align-items: center; gap: 18px; justify-content: flex-start; }
  .flds { grid-template-columns: 1fr; }
  .box { padding: 22px 18px; }
  .req { padding: 8px 20px; }
  .contacts { grid-template-columns: 1fr; }
  .ftr-top { grid-template-columns: 1fr; }
  .ftr { border-radius: 32px 32px 0 0; }
  .theme { width: 54px; }
  .modal-card { padding: 36px 22px 24px; border-radius: 28px; }
}
