:root {
  --bg: #0b0918;
  --bg-2: #120f27;
  --card: rgba(26, 21, 54, .55);
  --line: rgba(214, 179, 106, .18);
  --line-2: rgba(214, 179, 106, .35);
  --text: #ede7da;
  --muted: #a79fc2;
  --gold: #d6b36a;
  --gold-hi: #f3dea6;
  --violet: #7b5cff;
  --ok: #8fd6a8;
  --err: #ef8a93;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(123, 92, 255, .22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 60%, rgba(214, 179, 106, .07), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 90%, rgba(123, 92, 255, .12), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 300 16px/1.7 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(34px, 5vw, 56px); }
h2 em, .title { font-style: normal; }
h2 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-hi), var(--gold) 50%, var(--gold-hi));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h3 { font-size: 26px; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; margin: 28px 0 0; }
.eyebrow {
  font: 500 12px/1 var(--sans);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before, .eyebrow::after { content: "✦"; margin: 0 .8em; opacity: .6; font-size: 9px; vertical-align: 2px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px;
  font: 500 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: #1a1207; text-decoration: none;
  background: linear-gradient(120deg, var(--gold-hi), var(--gold) 55%, #b8893d);
  border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 10px 40px -10px rgba(214, 179, 106, .55);
  transition: transform .25s, box-shadow .25s, opacity .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 50px -10px rgba(214, 179, 106, .75); }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }
.btn-ghost { background: transparent; color: var(--gold-hi); border: 1px solid var(--line-2); box-shadow: none; }
.btn-ghost:hover { background: rgba(214, 179, 106, .08); box-shadow: none; }
.btn-sm { padding: 11px 20px; font-size: 11px; }
.link { color: var(--gold); text-decoration: none; font-size: 14px; white-space: nowrap; }
.link:hover { color: var(--gold-hi); }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 16px max(24px, calc((100% - var(--max)) / 2));
  transition: background .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(11, 9, 24, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); padding-block: 10px; }
.logo { font: 500 22px/1 var(--serif); letter-spacing: .3em; text-decoration: none; color: var(--gold-hi); white-space: nowrap; }
.logo-mark { font-size: 1.2em; letter-spacing: 0; margin-right: 4px; }
.menu { display: flex; gap: 26px; margin-left: auto; }
.menu a { text-decoration: none; font-size: 14px; color: var(--muted); transition: color .2s; }
.menu a:hover { color: var(--gold-hi); }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 10px 8px; }
.burger span { display: block; height: 1px; background: var(--gold-hi); margin: 7px 0; transition: transform .3s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* hero */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 110px 20px 80px; overflow: hidden;
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(11, 9, 24, .78), rgba(11, 9, 24, .35) 70%, rgba(11, 9, 24, .6)); }
.sigil { position: absolute; width: min(760px, 120vw); aspect-ratio: 1; opacity: .3; filter: drop-shadow(0 0 30px rgba(214, 179, 106, .15)); }
.sigil svg { width: 100%; height: 100%; overflow: visible; }
.sigil text { font-family: var(--serif); }
.spin-slow { transform-origin: 200px 200px; animation: spin 140s linear infinite; }
.spin-rev  { transform-origin: 200px 200px; animation: spin 220s linear infinite reverse; }
.pulse     { transform-origin: 200px 200px; animation: pulse 7s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.06); opacity: .7; } }
.hero-text { position: relative; z-index: 1; max-width: 860px; }
.title {
  font-size: clamp(46px, 12vw, 148px); font-weight: 400;
  letter-spacing: .16em; margin-right: -.16em; padding: 0 .06em; line-height: 1;
  background: linear-gradient(180deg, #fff6dc 10%, var(--gold) 60%, #a77a33);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 80px rgba(214, 179, 106, .25);
}
.motto {
  font: italic 500 clamp(22px, 3vw, 34px)/1.35 var(--serif);
  color: var(--gold-hi); max-width: 640px; margin: 22px auto 40px;
}
.motto.small { font-size: 20px; margin-bottom: 10px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-hint { position: absolute; z-index: 1; bottom: 28px; left: 50%; translate: -50% 0; width: 24px; height: 40px; border: 1px solid var(--line-2); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; translate: -50% 0; background: var(--gold); animation: drop 2.2s infinite; }
@keyframes drop { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(18, 15, 39, .6); padding: 18px 0; }
.marquee div { display: flex; width: max-content; gap: 34px; animation: marquee 50s linear infinite; }
.marquee span { font: italic 400 22px/1 var(--serif); color: var(--gold-hi); white-space: nowrap; }
.marquee i { color: var(--gold); font-style: normal; font-size: 12px; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { max-width: var(--max); margin: 0 auto; padding: 120px 24px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { margin-bottom: 16px; }
.card, .skill, .service, .review, .area, .contact-card, .step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* about */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.about-portrait { position: relative; aspect-ratio: 4 / 5; }
.portrait-placeholder {
  width: 100%; height: 100%; object-fit: cover; border-radius: 240px 240px var(--radius) var(--radius);
}
.portrait-placeholder {
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, rgba(123, 92, 255, .4), transparent 60%), linear-gradient(180deg, #1d1840, #0f0c22);
}
.portrait-placeholder span { font: 400 160px/1 var(--serif); color: var(--gold); opacity: .7; }
.portrait-frame { position: absolute; inset: -14px; border: 1px solid var(--line-2); border-radius: 254px 254px 28px 28px; pointer-events: none; }
.about-text .eyebrow::before { display: none; }
.lead { font: italic 400 24px/1.4 var(--serif); color: var(--gold-hi); margin: 8px 0 22px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.facts div { border-top: 1px solid var(--line-2); padding-top: 14px; }
.facts strong { display: block; font: 500 38px/1 var(--serif); color: var(--gold-hi); }
.facts span { font-size: 13px; color: var(--muted); }

/* skills */
.skills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.skill { position: relative; padding: 34px 26px 28px; transition: transform .4s, border-color .4s, background .4s; overflow: hidden; }
.skill::after { content: ""; position: absolute; inset: auto -40% -60% -40%; height: 70%; background: radial-gradient(closest-side, rgba(123, 92, 255, .35), transparent); opacity: 0; transition: opacity .4s; }
.skill:hover { transform: translateY(-6px); border-color: var(--line-2); }
.skill:hover::after { opacity: 1; }
.skill-icon { width: 58px; height: 58px; color: var(--gold); margin-bottom: 24px; }
.skill-num { position: absolute; top: 22px; right: 24px; font: italic 400 18px var(--serif); color: var(--muted); opacity: .6; }
.skill h3 { margin-bottom: 12px; }
.skill p { color: var(--muted); font-size: 15px; margin: 0; }

/* areas */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.area { display: flex; gap: 16px; padding: 24px; transition: border-color .3s; }
.area:hover { border-color: var(--line-2); }
.area-dot { color: var(--gold); font-size: 14px; line-height: 2; }
.area h3 { font-size: 22px; margin-bottom: 6px; }
.area p { color: var(--muted); font-size: 15px; margin: 0; }

/* services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service { position: relative; display: flex; flex-direction: column; padding: 28px 24px 22px; transition: transform .35s, border-color .35s; }
.service:hover { transform: translateY(-4px); border-color: var(--line-2); }
.service.featured { border-color: var(--line-2); background: linear-gradient(180deg, rgba(214, 179, 106, .09), var(--card) 60%); }
.badge { position: absolute; top: -11px; left: 24px; padding: 4px 12px; font: 500 10px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #1a1207; background: var(--gold); border-radius: 999px; }
.service h3 { font-size: 24px; margin-bottom: 4px; }
.service-duration { font-size: 13px; color: var(--gold); letter-spacing: .06em; margin-bottom: 14px; }
.service-text { color: var(--muted); font-size: 15px; flex: 1; }
.service-foot { display: flex; align-items: baseline; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 6px; flex-wrap: wrap; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; counter-reset: s; }
.step { padding: 24px; background: transparent; border-style: dashed; }
.step-num { font: italic 400 40px/1 var(--serif); color: var(--gold); opacity: .8; }
.step h3 { font-size: 22px; margin: 10px 0 6px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* reviews */
.rating-summary { display: inline-flex; gap: 12px; align-items: center; color: var(--muted); font-size: 14px; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 16px; }
.stars i { font-style: normal; opacity: .22; }
.reviews { columns: 3 300px; column-gap: 18px; }
.review { break-inside: avoid; padding: 26px; margin-bottom: 18px; animation: appear .6s both; }
.review-text { font: italic 400 20px/1.5 var(--serif); margin: 14px 0 18px; word-break: break-word; }
.review footer { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: 13px; color: var(--muted); }
.review footer strong { color: var(--text); font-weight: 500; font-size: 15px; }
.review time { margin-left: auto; }
.empty { text-align: center; column-span: all; padding: 20px; }
@keyframes appear { from { opacity: 0; transform: translateY(12px); } }

/* forms */
.form { padding: 34px; display: grid; gap: 16px; }
#review-form { max-width: 760px; margin: 48px auto 0; }
.form h3 { font-size: 30px; }
.form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.form input:not([type="radio"]), .form select, .form textarea {
  width: 100%; padding: 13px 16px; font: 400 16px/1.4 var(--sans); color: var(--text);
  background: rgba(11, 9, 24, .6); border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form select option { background: var(--bg-2); }
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 179, 106, .15); }
.form .btn { justify-self: start; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.5em; margin: 0; font-size: 14px; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.rating-input { border: 0; padding: 0; margin: -10px 0 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-label { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { font-size: 32px; line-height: 1; color: var(--gold); opacity: .25; cursor: pointer; transition: opacity .15s, transform .15s; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { opacity: 1; }
.rating-input label:hover { transform: scale(1.15); }
.rating-input input:focus-visible + label { outline: 1px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 20px 22px; text-decoration: none; transition: transform .3s, border-color .3s; }
.contact-card:hover { transform: translateX(6px); border-color: var(--line-2); }
.contact-card strong { display: block; font-weight: 500; }
.contact-card span:not(.ci) { font-size: 13px; color: var(--muted); }
.contact-card svg, .ci { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--gold); display: grid; place-items: center; font-size: 20px; }
.contact-card.tg { background: linear-gradient(120deg, rgba(123, 92, 255, .25), var(--card)); }

/* footer */
.footer { text-align: center; padding: 120px 24px 48px; margin-top: 120px; border-top: 1px solid var(--line); }
.footer-logo { font: 500 30px/1 var(--serif); letter-spacing: .3em; color: var(--gold-hi); margin-bottom: 16px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .skills, .services { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about { gap: 48px; }
}
@media (max-width: 860px) {
  .menu {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: center; gap: 28px;
    background: rgba(11, 9, 24, .97); opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .menu.open { opacity: 1; pointer-events: auto; }
  .menu a { font: 400 30px var(--serif); color: var(--text); }
  .burger { display: block; position: relative; z-index: 2; }
  .nav .btn-sm { margin-left: auto; }
  .about, .contact-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 360px; margin: 0 auto; width: 100%; }
  .section { padding-top: 90px; }
}
@media (max-width: 600px) {
  .nav { padding-inline: 16px; gap: 12px; }
  .logo { font-size: 18px; letter-spacing: .2em; }
  .nav .btn-sm { display: none; }
  .burger { margin-left: auto; }
  .section { padding-inline: 16px; }
  .skills, .services, .areas, .steps, .grid2, .facts { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts strong { font-size: 30px; }
  .form { padding: 24px 18px; }
  .form .btn { justify-self: stretch; }
  .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

.rise { animation: rise 1.2s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }

/* pricing note, mentorship, certificates */
.price-note { display: inline-block; margin-top: 6px; padding: 8px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--gold-hi); }
.services { grid-template-columns: repeat(3, 1fr); }

.mentor-card {
  display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center;
  padding: 56px; border: 1px solid var(--line-2); border-radius: 28px;
  background: radial-gradient(ellipse 70% 90% at 0% 0%, rgba(123, 92, 255, .28), transparent 60%), var(--card);
}
.mentor-intro .eyebrow::before { display: none; }
.mentor-intro h2 { margin-bottom: 18px; }
.mentor-intro .btn { margin-top: 12px; }
.mentor-path { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mentor-path li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mentor-path li:last-child { border-bottom: 0; }
.mentor-path span { flex: none; width: 44px; font: italic 400 26px/1.2 var(--serif); color: var(--gold); }
.mentor-path h3 { font-size: 22px; margin-bottom: 4px; }
.mentor-path p { color: var(--muted); font-size: 15px; margin: 0; }

.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert {
  margin: 0; padding: 30px 26px; text-align: center; position: relative;
  border: 1px solid var(--line); border-radius: 6px;
  background: linear-gradient(180deg, rgba(243, 222, 166, .06), transparent 50%), var(--card);
  outline: 1px solid var(--line); outline-offset: -8px;
  transition: transform .35s, border-color .35s;
}
.cert:hover { transform: translateY(-4px); border-color: var(--line-2); }
.cert img { width: 100%; aspect-ratio: 1600 / 1132; object-fit: cover; border-radius: 4px; margin-bottom: 18px; }
.seal { width: 64px; height: 64px; color: var(--gold); margin: 0 auto 16px; display: block; }
.cert-org { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.cert h3 { font-size: 24px; margin-bottom: 6px; }
.cert p { color: var(--muted); font-size: 14px; margin: 0; }

@media (max-width: 1024px) {
  .services, .certs { grid-template-columns: repeat(2, 1fr); }
  .mentor-card { grid-template-columns: 1fr; gap: 28px; padding: 40px 32px; }
}
@media (max-width: 600px) {
  .services, .certs { grid-template-columns: 1fr; }
  .mentor-card { padding: 30px 20px; }
}
.certs:has(> .cert:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.cert img { transition: transform .4s; }
.cert a { display: block; overflow: hidden; border-radius: 4px; margin-bottom: 18px; }
.cert a img { margin-bottom: 0; }
.cert a:hover img { transform: scale(1.04); }
@media (max-width: 600px) { .certs:has(> .cert:nth-child(2):last-child) { grid-template-columns: 1fr; } }

/* about with background photo */
.about--bg { position: relative; display: block; max-width: none; min-height: 780px; padding: 150px max(24px, calc((100% - var(--max)) / 2)) 110px; margin-top: 40px; overflow: hidden; }
.about-bg {
  position: absolute; inset: 0 0 0 36%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%), linear-gradient(0deg, transparent, #000 16%, #000 84%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 45%), linear-gradient(0deg, transparent, #000 16%, #000 84%, transparent);
  mask-composite: intersect;
}
.about-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.82); }
.about--bg .about-text { position: relative; z-index: 1; max-width: 560px; }
@media (max-width: 860px) {
  .about--bg { padding: 0 16px 40px; min-height: 0; margin-top: 0; }
  .about-bg {
    inset: 0 0 auto 0; height: 560px;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
    mask-image: linear-gradient(180deg, #000 55%, transparent);
  }
  .about--bg .about-text { padding-top: 440px; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .about-bg { left: 46%; }
  .about--bg .about-text { max-width: 50%; }
}

/* service groups */
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.group {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  padding: 30px 28px 24px; font: inherit; color: inherit; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .35s, border-color .35s, background .35s;
}
.group:hover, .group:focus-visible { transform: translateY(-4px); border-color: var(--line-2); background: linear-gradient(180deg, rgba(214, 179, 106, .1), var(--card) 70%); }
.group h3 { font-size: 28px; margin: 6px 0 10px; }
.group p { color: var(--muted); font-size: 15px; }
.group ul { list-style: none; padding: 0; margin: 4px 0 20px; display: flex; flex-wrap: wrap; gap: 8px; flex: 1; align-content: flex-start; }
.group li { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--gold-hi); }
.groups[hidden], .group-detail[hidden] { display: none; }
.group-detail + .group-detail { margin-top: 48px; }
.group-detail.open { animation: detail-in .45s ease both; }
@keyframes detail-in { from { opacity: 0; transform: translateY(12px); } }
.group-detail-head { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 30px; }
.group-back { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.group-detail-title { font-size: 30px; color: var(--gold-hi); }
@media (max-width: 860px) { .groups { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .title { font-size: 15vw; } }
