/* ==========================================================================
   360 Degree M — site stylesheet
   Structure: tokens · base · layout · type · actions · header · hero ·
   sections · pages · forms · footer · motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --marigold: #E9B949; /* champagne gold */
  --aubergine: #2A1040;
  --plum: #5A2A82;
  --lilac: #CDBAE8;
  --mist: #150A22;
  --paper: #0E0616; /* night */
  --white: #1A0D29;
  --error: #FF8F85;

  --serif: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --sans: 'Hanken Grotesk', 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;

  --max: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --col-gap: clamp(16px, 2vw, 32px);
  --section-y: clamp(72px, 10vw, 150px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Surfaces set the foreground, secondary text, rule and focus colours for
   everything inside them, so components never hard-code a palette. */
.on-paper     { --fg: #F4EEF8; --fg-soft: #B9A9CC; --line: rgba(244,238,248,.14); --focus: #E9B949; background: var(--paper); color: var(--fg); }
.on-mist      { --fg: #F4EEF8; --fg-soft: #B9A9CC; --line: rgba(244,238,248,.14); --focus: #E9B949; background: #150A22; color: var(--fg); }
.on-aubergine { --fg: #F4EEF8; --fg-soft: #B9A9CC; --line: rgba(244,238,248,.16); --focus: #E9B949; background: #170A27; color: var(--fg); }
.on-night     { --fg: #F4EEF8; --fg-soft: #B9A9CC; --line: rgba(244,238,248,.14); --focus: #E9B949; background: #08030F; color: var(--fg); }
.on-violet    { --fg: #F4EEF8; --fg-soft: #D9CBEA; --line: rgba(244,238,248,.24); --focus: #E9B949; background: #3B1F63; color: var(--fg); }
.on-plum      { --fg: #F4EEF8; --fg-soft: #E4D9F1; --line: rgba(244,238,248,.28); --focus: #E9B949; background: var(--plum); color: var(--fg); }
.on-white     { --fg: #1A0B2A; --fg-soft: #5E5070; --line: rgba(26,11,42,.2); --focus: #5A2A82; background: #F4EEF8; color: var(--fg); }
.on-lilac     { --fg: #1A0B2A; --fg-soft: #46375A; --line: rgba(26,11,42,.28); --focus: #1A0B2A; background: var(--lilac); color: var(--fg); }
.on-marigold  { --fg: #1A0B2A; --fg-soft: #3F2A55; --line: rgba(26,11,42,.28); --focus: #1A0B2A; background: var(--marigold); color: var(--fg); }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #F4EEF8;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; letter-spacing: -.02em; line-height: 1.06; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--focus, #5A2A82); outline-offset: 3px; }
::selection { background: var(--marigold); color: var(--aubergine); }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  padding: .7rem 1.1rem; background: var(--marigold); color: #1A0B2A;
  border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 3. Layout ---------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }

/* 4. Type ------------------------------------------------------------------ */
.h2 { font-size: clamp(2.1rem, 4.4vw, 3.9rem); letter-spacing: -.028em; }
.h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); letter-spacing: -.015em; line-height: 1.15; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--fg-soft); max-width: 36rem; }
.soft { color: var(--fg-soft); }
.small { font-size: .9375rem; }
.measure { max-width: 38rem; }

/* 5. Actions --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem; border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--ink { position: relative; overflow: hidden; background: var(--marigold); color: #1A0B2A; }
.btn--ink:hover { background: #F3CB6B; }
.btn--paper { background: #F4EEF8; color: #1A0B2A; }
.btn--paper:hover { background: #fff; }
.btn--marigold { background: var(--marigold); color: #1A0B2A; }
.btn--marigold:hover { background: #F7BB3D; }
.btn--line { border-color: currentColor; color: var(--fg); background: transparent; }
.btn--line:hover { background: var(--fg); color: var(--paper); border-color: var(--fg); }
.on-aubergine .btn--line:hover, .on-plum .btn--line:hover { color: var(--aubergine); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; font-weight: 600; transition: text-decoration-thickness .15s var(--ease); }
.link:hover { text-decoration-thickness: 2.5px; }

/* 6. Header & navigation --------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  --fg: #F4EEF8; --focus: #E9B949;
  background: var(--header-bg, transparent); color: var(--fg);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .45s var(--ease);
}
.site-header.is-scrolled {
  --header-bg: rgba(14,6,22,.78); border-bottom-color: rgba(244,238,248,.1);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.site-header.is-hidden:not(.is-open) { transform: translateY(-100%); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: block; line-height: 0; border-radius: 50%; }
.brand img { width: 58px; height: 58px; }
.brand__paper { display: none; }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); list-style: none; }
.nav__link { display: inline-block; padding-block: 6px; font-weight: 500; font-size: .98rem; text-decoration: none; border-bottom: 2px solid transparent; }
.nav__link:hover { border-bottom-color: currentColor; }
.nav__link[aria-current="page"] { border-bottom-color: currentColor; font-weight: 600; }
.nav__cta { padding: .75rem 1.35rem; }

.menu-toggle {
  display: none; align-items: center; gap: 10px; padding: 10px 4px; border: 0; background: none; font-weight: 600; font-size: .98rem;
}
.menu-toggle__icon { position: relative; width: 24px; height: 10px; }
.menu-toggle__icon::before, .menu-toggle__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { top: 8px; }
.site-header.is-open .menu-toggle__icon::before { top: 4px; transform: rotate(45deg); }
.site-header.is-open .menu-toggle__icon::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 1040px) {
  .menu-toggle { display: inline-flex; position: relative; z-index: 2; }
  .brand { position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 36px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background: #0A0412; color: #F4EEF8;
    --focus: #E9B949;
    visibility: hidden; opacity: 0; transition: opacity .25s var(--ease), visibility .25s;
  }
  .site-header.is-open { --header-bg: #0A0412; --fg: #F4EEF8; --focus: #E9B949; border-bottom-color: transparent; }
  .site-header.is-open .nav { visibility: visible; opacity: 1; }
  .site-header.is-open .brand__ink { display: none; }
  .site-header.is-open .brand__paper { display: block; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 6px; }
  .nav__link { font-family: var(--serif); font-size: clamp(2rem, 8vw, 3rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.2; }
  .nav__link[aria-current="page"] { font-weight: 400; }
  .nav__cta { padding: 1rem 1.7rem; }
}

/* 7. Home hero ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding-block: calc(var(--header-h) + clamp(36px, 5vw, 80px)) clamp(64px, 8vw, 120px); }
.hero__grid { align-items: center; min-height: min(calc(100svh - var(--header-h) - 120px), 700px); }
.page-head { margin-top: 0; }
.hero__copy { grid-column: 1 / span 8; grid-row: 1; position: relative; z-index: 1; }
.hero__title { font-size: clamp(2.85rem, 6.5vw, 6.6rem); line-height: .98; letter-spacing: -.032em; margin-bottom: clamp(24px, 3vw, 40px); max-width: 11.5em; }
.hero__lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--fg-soft); max-width: 35rem; margin-bottom: 0; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: clamp(28px, 3vw, 40px); }
.hero__art { grid-column: 7 / -1; grid-row: 1; justify-self: end; width: min(100%, 780px); margin-right: calc(var(--gutter) * -.9); pointer-events: none; }
.hero__mark { width: 100%; height: auto; }

@property --sweep { syntax: '<angle>'; inherits: false; initial-value: 360deg; }
.hero__mark {
  -webkit-mask-image: conic-gradient(from 0deg, #000 var(--sweep), transparent calc(var(--sweep) + .4deg));
          mask-image: conic-gradient(from 0deg, #000 var(--sweep), transparent calc(var(--sweep) + .4deg));
  animation: sweep 2.4s cubic-bezier(.65, .05, .25, 1) .15s both;
}
@keyframes sweep { from { --sweep: 0deg; } to { --sweep: 360deg; } }

@media (max-width: 900px) {
  .hero__grid { min-height: 0; row-gap: 40px; }
  .hero__copy { grid-column: 1 / -1; grid-row: auto; }
  .hero__art { grid-column: 1 / -1; grid-row: auto; justify-self: start; width: min(78%, 420px); margin-right: 0; }
}

/* 8. Interior page header -------------------------------------------------- */
.page-head { padding-block: clamp(56px, 8vw, 120px) clamp(40px, 5vw, 72px); }
.page-head__grid { row-gap: 28px; align-items: end; }
.page-head__title { grid-column: 1 / span 8; font-size: clamp(2.7rem, 6.6vw, 6.2rem); letter-spacing: -.036em; line-height: .99; }
.page-head__intro { grid-column: 9 / -1; margin: 0; color: var(--fg-soft); font-size: 1.12rem; line-height: 1.55; }
@media (max-width: 900px) {
  .page-head__title, .page-head__intro { grid-column: 1 / -1; }
}

/* 9. Services: profile-grid tiles ------------------------------------------ */
.split { align-items: start; row-gap: 32px; }
.split__head { grid-column: 1 / span 5; }
.split__body { grid-column: 7 / -1; }
.split__head--sticky { position: sticky; top: calc(var(--header-h) + 40px); }
@media (max-width: 900px) {
  .split__head, .split__body { grid-column: 1 / -1; }
  .split__head--sticky { position: static; }
}

.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 20px; align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head__title { grid-column: 1 / span 7; }
.section-head__intro { grid-column: 9 / -1; margin: 0; color: var(--fg-soft); }
@media (max-width: 900px) { .section-head__title, .section-head__intro { grid-column: 1 / -1; } }

.tiles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  aspect-ratio: 4 / 5; padding: clamp(22px, 2.4vw, 36px);
  color: var(--fg); text-decoration: none;
}
.tile__title { font-size: clamp(1.75rem, 2.7vw, 2.5rem); line-height: 1.04; letter-spacing: -.025em; max-width: 9.5em; }
.tile__body { display: grid; gap: 16px; }
.tile__desc { margin: 0; font-size: .98rem; line-height: 1.5; color: var(--fg-soft); }
.tile__list { list-style: none; display: grid; gap: 5px; font-size: .94rem; }
.tile__list li { display: flex; align-items: center; gap: 10px; }
.tile__list li::before { content: ""; flex: none; width: 12px; height: 2px; background: currentColor; opacity: .75; }
.tile__more { font-weight: 600; font-size: .94rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.tile:hover .tile__more { text-decoration-thickness: 2.5px; }
.tile__ring {
  position: absolute; z-index: -1; height: auto; fill: none; stroke: currentColor; opacity: .3;
  transform: translate(var(--rx, 0), var(--ry, 0)) rotate(var(--rot, 0deg));
  transition: transform .9s var(--ease);
}
.tile:hover .tile__ring { --rot: 22deg; }
.tile__ring path { vector-effect: non-scaling-stroke; stroke-width: 1.5px; }
.tile__ring--tr { top: 0; right: 0; width: 105%; --rx: 36%; --ry: -34%; }
.tile__ring--bl { bottom: 0; left: 0; width: 100%; --rx: -36%; --ry: 36%; }
.tile__ring--br { bottom: 0; right: 0; width: 95%; --rx: 30%; --ry: 32%; }
.tile__ring--tl { top: 0; left: 0; width: 100%; --rx: -34%; --ry: -30%; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* 10. Process (a true sequence) -------------------------------------------- */
.steps { position: relative; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--col-gap); counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 24px; height: 1px; background: var(--line); }
.step { position: relative; padding-right: 8px; }
.step__n {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 28px;
  border: 1.5px solid var(--fg); border-radius: 50%; background: #170A27;
  font-family: var(--serif); font-size: 1.35rem; line-height: 1;
}
.step__title { font-size: 1.6rem; margin-bottom: 10px; }
.step__text { margin: 0; color: var(--fg-soft); font-size: .98rem; line-height: 1.55; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .steps::before { left: 24px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .step { padding: 0 0 0 76px; min-height: 48px; }
  .step__n { position: absolute; left: 0; top: 0; margin: 0; }
  .step__title { padding-top: 8px; }
}

/* 11. Results -------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: clamp(24px, 3vw, 44px) clamp(16px, 2vw, 32px) 0 0; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: clamp(16px, 2vw, 32px); }
.stat__value { margin: 0 0 18px; font-family: var(--serif); font-weight: 300; font-size: clamp(3.4rem, 7.2vw, 6.8rem); line-height: .95; letter-spacing: -.045em; }
.stat__label { margin: 0 0 4px; font-weight: 600; line-height: 1.35; }
.stat__note { margin: 0; color: var(--fg-soft); font-size: .95rem; line-height: 1.45; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: clamp(24px, 3vw, 44px); }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { border-left: 0; padding-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); margin-top: 28px; }
}

/* 12. Reasons / values (definition lists, not cards) ------------------------ */
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) var(--col-gap); list-style: none; }
.reason { padding-top: 20px; border-top: 1px solid var(--line); }
.reason__title { font-size: 1.55rem; margin-bottom: 10px; }
.reason__text { margin: 0; color: var(--fg-soft); }
@media (max-width: 640px) { .reasons { grid-template-columns: 1fr; } }

/* 13. Logo wall & directory controls --------------------------------------- */
.logo-wall { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.logo-wall__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  aspect-ratio: 4 / 3; padding: 22px; text-align: center;
  background: #F4EEF8; color: #1A0B2A; --fg-soft: #5E5070;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.logo-wall__item:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(233,185,73,.55); }
.logo-wall__logo { display: grid; place-items: center; width: 100%; height: 72px; }
.logo-wall__logo img { max-width: 84%; max-height: 72px; object-fit: contain; }
.logo-wall__initial { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--plum); }
.logo-wall__name { margin: 0; font-size: .9rem; color: var(--fg-soft); line-height: 1.3; }
.logo-wall--compact .logo-wall__item { aspect-ratio: 3 / 2; }
.logo-wall--compact .logo-wall__name { display: none; }

.toolbar { display: grid; gap: 22px; margin-bottom: clamp(28px, 4vw, 48px); }
.search { position: relative; }
.search__input {
  width: 100%; padding: 14px 0; border: 0; border-bottom: 1.5px solid var(--fg); border-radius: 0; background: transparent;
  font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.01em;
}
.search__input::placeholder { color: var(--fg-soft); opacity: .8; }
.search__input:focus-visible { outline: none; border-bottom-width: 3px; padding-bottom: 12.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: .5rem 1.05rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: .92rem; font-weight: 500; transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--paper); }
.result-count { margin: 0 0 14px; color: var(--fg-soft); font-size: .95rem; }

.state { padding: clamp(40px, 6vw, 80px) 0; max-width: 34rem; }
.state__title { font-size: 1.8rem; margin-bottom: 10px; }
.state p { color: var(--fg-soft); }
.skeleton { display: grid; gap: 14px; padding: 8px 0; }
.skeleton span { display: block; height: 64px; background: linear-gradient(90deg, var(--mist) 0%, #2A1740 50%, var(--mist) 100%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Portfolio index + detail sheet */
.index { list-style: none; border-top: 1px solid var(--line); }
.index__row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: clamp(16px, 3vw, 40px);
  width: 100%; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left;
}
.index__logo { display: grid; place-items: center; width: 64px; height: 64px; background: #F4EEF8; border: 1px solid var(--line); }
.index__logo img { max-width: 80%; max-height: 80%; object-fit: contain; }
.index__initial { font-family: var(--serif); font-size: 1.6rem; color: var(--plum); }
.index__name { font-family: var(--serif); font-size: clamp(1.5rem, 3.2vw, 2.5rem); letter-spacing: -.022em; line-height: 1.1; }
.index__cat { color: var(--fg-soft); font-size: .95rem; text-align: right; }
.index__row:hover .index__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
@media (max-width: 560px) { .index__row { grid-template-columns: 52px minmax(0, 1fr); } .index__logo { width: 52px; height: 52px; } .index__cat { grid-column: 2; text-align: left; margin-top: -10px; } }

.sheet {
  --fg: #F4EEF8; --fg-soft: #B9A9CC; --line: rgba(244,238,248,.16); --focus: #E9B949;
  width: min(560px, 100%); max-width: 100%; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0;
  background: #130920; color: var(--fg); overflow-y: auto;
}
.sheet::backdrop { background: rgba(42,16,64,.6); }
.sheet[open] { animation: sheet-in .32s var(--ease); }
@keyframes sheet-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet__inner { display: grid; gap: 28px; padding: clamp(24px, 4vw, 48px); min-height: 100%; align-content: start; }
.sheet__close { justify-self: end; padding: .55rem 1.1rem; border: 1.5px solid var(--fg); border-radius: 999px; background: none; font-weight: 600; font-size: .92rem; }
.sheet__close:hover { background: var(--fg); color: var(--paper); }
.sheet__logo { display: grid; place-items: center; width: 140px; height: 140px; background: #F4EEF8; border: 1px solid var(--line); }
.sheet__logo img { max-width: 82%; max-height: 82%; object-fit: contain; }
.sheet__name { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -.03em; }
.sheet__cat { margin: -16px 0 0; color: var(--fg-soft); }
.sheet__text { margin: 0; white-space: pre-line; }
.sheet__links { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding-top: 22px; border-top: 1px solid var(--line); }

/* 14. FAQ ------------------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 24px 0; list-style: none; cursor: pointer;
  font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -.015em; line-height: 1.25;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: .45em;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform .25s var(--ease);
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { max-width: 40rem; padding: 0 40px 28px 0; color: var(--fg-soft); }
.faq__a p { margin: 0; }

/* 15. Closing call to action ------------------------------------------------ */
.cta__grid { align-items: end; row-gap: 32px; }
.cta__title { grid-column: 1 / span 8; font-size: clamp(2.6rem, 6vw, 5.6rem); letter-spacing: -.035em; line-height: 1; }
.cta__side { grid-column: 9 / -1; }
.cta__side p { color: var(--fg-soft); font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 24px; }
@media (max-width: 900px) { .cta__title, .cta__side { grid-column: 1 / -1; } }

/* 16. Footer --------------------------------------------------------------- */
.footer { padding-block: clamp(56px, 7vw, 104px) 32px; }
.footer__grid { row-gap: 48px; }
.footer__brand { grid-column: 1 / span 4; }
.footer__brand img { width: 104px; height: 104px; margin-bottom: 22px; }
.footer__brand p { max-width: 24rem; color: var(--fg-soft); }
.footer__col--a { grid-column: 6 / span 2; }
.footer__col--b { grid-column: 8 / span 2; }
.footer__col--c { grid-column: 10 / span 3; }
.footer__heading { margin: 0 0 14px; font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--fg-soft); }
.footer__list { list-style: none; display: grid; gap: 8px; }
.footer__list a { text-decoration: none; overflow-wrap: anywhere; }
.footer__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(48px, 6vw, 88px); padding-top: 22px; border-top: 1px solid var(--line); color: var(--fg-soft); font-size: .92rem; }
.footer__base p { margin: 0; }
@media (max-width: 960px) {
  .footer__brand { grid-column: 1 / -1; }
  .footer__col--a, .footer__col--b { grid-column: span 6; }
  .footer__col--c { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer__col--a, .footer__col--b { grid-column: 1 / -1; } }

/* 17. Services page -------------------------------------------------------- */
.svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 28px; padding-block: clamp(40px, 6vw, 88px); border-top: 1px solid var(--line); }
.svc__head { grid-column: 1 / span 5; }
.svc__body { grid-column: 7 / -1; }
.svc__swatch { position: relative; overflow: hidden; outline: 1px solid rgba(42,16,64,.2); outline-offset: -1px; width: 48px; aspect-ratio: 4 / 5; margin-bottom: 22px; }
.svc__swatch svg { position: absolute; top: -30%; right: -45%; width: 130%; fill: none; stroke: currentColor; opacity: .55; }
.svc__swatch path { vector-effect: non-scaling-stroke; stroke-width: 1.5px; }
.svc__title { font-size: clamp(2.1rem, 4.2vw, 3.6rem); letter-spacing: -.03em; }
.svc__desc { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; margin-bottom: 28px; }
.svc__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px var(--col-gap); }
.svc__list li { display: flex; align-items: baseline; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .svc__head, .svc__body { grid-column: 1 / -1; } }
@media (max-width: 520px) { .svc__list { grid-template-columns: 1fr; } }

/* 18. About ---------------------------------------------------------------- */
.story__lead { grid-column: 1 / span 7; font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.2; letter-spacing: -.02em; margin: 0; text-wrap: pretty; }
.story__text { grid-column: 9 / -1; align-self: end; color: var(--fg-soft); }
.story__text p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .story__lead, .story__text { grid-column: 1 / -1; } .story { row-gap: 28px; } }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--col-gap); list-style: none; }
@media (max-width: 960px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }
.discipline { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 8px; padding-block: 28px; border-top: 1px solid var(--line); }
.discipline:last-child { border-bottom: 1px solid var(--line); }
.discipline__name { grid-column: 1 / span 5; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.discipline__text { grid-column: 7 / -1; margin: 0; color: var(--fg-soft); }
@media (max-width: 900px) { .discipline__name, .discipline__text { grid-column: 1 / -1; } }

/* 19. Events --------------------------------------------------------------- */
.events { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) var(--col-gap); }
.event { display: grid; gap: 16px; text-decoration: none; align-content: start; }
.event__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.event__media img { width: 100%; height: 100%; object-fit: cover; }
.event__fallback { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--serif); font-size: 2.6rem; color: var(--marigold); }
.event__meta { margin: 0; color: var(--fg-soft); font-size: .93rem; }
.event__title { font-size: clamp(1.45rem, 2.2vw, 1.9rem); letter-spacing: -.02em; }
.event:hover .event__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.event__summary { margin: 0; color: var(--fg-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 960px) { .events { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .events { grid-template-columns: 1fr; } }

.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(40px, 5vw, 72px); }
.pager__btn { min-width: 44px; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: none; font-weight: 500; }
.pager__btn:hover:not([disabled]) { border-color: var(--fg); }
.pager__btn[aria-current="page"] { background: var(--fg); border-color: var(--fg); color: var(--paper); }
.pager__btn[disabled] { opacity: .4; cursor: not-allowed; }

.detail__back { display: inline-block; margin-bottom: clamp(28px, 4vw, 48px); font-weight: 600; }
.detail__title { font-size: clamp(2.5rem, 5.6vw, 5rem); letter-spacing: -.034em; line-height: 1; margin-bottom: 24px; }
.detail__meta { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0 0 clamp(32px, 4vw, 56px); padding: 0; list-style: none; color: var(--fg-soft); }
.detail__grid { row-gap: 40px; align-items: start; }
.detail__text { grid-column: 1 / span 5; white-space: pre-line; font-size: 1.1rem; line-height: 1.65; }
.detail__media { grid-column: 7 / -1; display: grid; gap: 18px; }
.detail__hero { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.detail__hero img, .detail__hero video, .detail__hero iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--mist); aspect-ratio: 1; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s var(--ease); }
.gallery button:hover img { opacity: .85; }
@media (max-width: 900px) { .detail__text, .detail__media { grid-column: 1 / -1; } }

.lightbox { width: min(1100px, 94vw); max-height: 92dvh; padding: 0; border: 0; background: #130920; color: #F4EEF8; --focus: #E9B949; }
.lightbox::backdrop { background: rgba(20,8,32,.85); }
.lightbox__img { width: 100%; max-height: 78dvh; object-fit: contain; background: #1B0A2B; }
.lightbox__bar { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.lightbox__bar button { padding: .5rem 1.1rem; border: 1.5px solid currentColor; border-radius: 999px; background: none; font-weight: 600; font-size: .92rem; }
.lightbox__bar button:hover { background: #F4EEF8; color: #1A0B2A; }

/* 20. Pricing -------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.plan { display: flex; flex-direction: column; gap: 26px; padding: clamp(26px, 3.2vw, 48px); }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.on-aubergine { border-left-color: transparent; }
.plan__flag { margin: 0 0 -14px; color: var(--marigold); font-weight: 600; font-size: .92rem; }
.plan__name { font-size: clamp(2rem, 3.2vw, 2.8rem); letter-spacing: -.03em; }
.plan__desc { margin: 8px 0 0; color: var(--fg-soft); }
.plan__price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.plan__amount { font-family: var(--serif); font-size: clamp(2.6rem, 4.4vw, 4rem); letter-spacing: -.04em; line-height: 1; }
.plan__period { color: var(--fg-soft); font-size: .95rem; }
.plan__features { list-style: none; display: grid; gap: 0; flex: 1; align-content: start; }
.plan__features li { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.plan__features li::before { content: ""; flex: none; width: 11px; height: 6px; border-left: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: translateY(-.2em) rotate(-45deg); }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
}

.calc { align-items: start; row-gap: 40px; }
.calc__controls { grid-column: 1 / span 6; display: grid; gap: clamp(26px, 3vw, 40px); }
.calc__result { grid-column: 8 / -1; position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(26px, 3vw, 44px); }
@media (max-width: 960px) { .calc__controls, .calc__result { grid-column: 1 / -1; } .calc__result { position: static; } }

.control { display: grid; gap: 8px; }
.control__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.control__label { font-weight: 600; }
.control__value { font-family: var(--serif); font-size: 1.8rem; line-height: 1; letter-spacing: -.02em; }
.control__hint { margin: 0; color: var(--fg-soft); font-size: .9rem; }
.range { --p: 0%; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--fg) var(--p), var(--line) var(--p)); }
.range::-moz-range-track { height: 2px; background: linear-gradient(to right, var(--fg) var(--p), var(--line) var(--p)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -11px; border-radius: 50%; background: var(--marigold); border: 2px solid var(--aubergine); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--marigold); border: 2px solid var(--aubergine); }

.switch { display: inline-flex; align-items: center; gap: 14px; cursor: pointer; }
.switch__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { position: relative; width: 52px; height: 30px; border: 1.5px solid var(--fg); border-radius: 999px; transition: background-color .2s var(--ease); }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%; background: var(--fg); transition: transform .2s var(--ease), background-color .2s var(--ease); }
.switch__input:checked + .switch__track { background: var(--marigold); border-color: var(--marigold); }
.switch__input:checked + .switch__track::after { transform: translateX(22px); background: #1A0B2A; }
.switch__input:focus-visible + .switch__track { outline: 3px solid var(--focus); outline-offset: 3px; }

.quote__label { margin: 0 0 6px; color: var(--fg-soft); }
.quote__amount { margin: 0 0 4px; font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 5.4vw, 4.8rem); letter-spacing: -.04em; line-height: 1; }
.quote__per { margin: 0 0 24px; color: var(--fg-soft); }
.quote__lines { display: grid; gap: 0; margin: 0 0 24px; }
.quote__line { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .96rem; }
.quote__line dt { color: var(--fg-soft); }
.quote__line dd { margin: 0; font-weight: 600; white-space: nowrap; }
.quote__note { color: var(--fg-soft); font-size: .88rem; margin: 18px 0 0; }

/* 21. Contact & forms ------------------------------------------------------- */
.contact { row-gap: 56px; align-items: start; }
.contact__info { grid-column: 1 / span 4; display: grid; gap: 34px; }
.contact__form { grid-column: 6 / -1; }
@media (max-width: 900px) { .contact__info, .contact__form { grid-column: 1 / -1; } }
.info-block h2 { font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--fg-soft); margin-bottom: 8px; }
.info-block p, .info-block ul { margin: 0; list-style: none; }
.info-block a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.info-block a:hover { text-decoration-thickness: 2.5px; }
.info-block__big { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -.015em; line-height: 1.25; overflow-wrap: anywhere; }

.form { display: grid; gap: 24px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field__label { font-weight: 600; font-size: .94rem; }
.field__opt { font-weight: 400; color: var(--fg-soft); }
.field__control {
  width: 100%; padding: .95rem 1rem; border: 1px solid rgba(244,238,248,.28); border-radius: 4px; background: var(--white); color: #F4EEF8; font-size: 1.02rem;
  transition: border-color .15s var(--ease);
}
.field__control:hover { border-color: #E9B949; }
.field__control:focus-visible { outline: 3px solid var(--focus, #5A2A82); outline-offset: 1px; border-color: #E9B949; }
.field__control[aria-invalid="true"] { border-color: var(--error); }
textarea.field__control { min-height: 170px; resize: vertical; line-height: 1.55; }
.field__error { margin: 0; min-height: 0; color: var(--error); font-size: .9rem; font-weight: 500; }
.field__error:empty { display: none; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; font-weight: 500; }
.form__status:empty { display: none; }
.form__status--error { color: var(--error); }
.form__done { padding: clamp(28px, 4vw, 48px); }
.form__done h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 14px; }
.form__done p { color: var(--fg-soft); max-width: 30rem; }

/* 22. Login ---------------------------------------------------------------- */
.auth { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 100dvh; }
.auth__aside { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: clamp(28px, 4vw, 56px); }
.auth__aside img { width: clamp(96px, 12vw, 150px); height: auto; }
.auth__aside h1 { font-size: clamp(2.4rem, 4.4vw, 4.2rem); letter-spacing: -.034em; line-height: 1; margin-bottom: 18px; }
.auth__aside p { color: var(--fg-soft); max-width: 24rem; margin: 0; }
.auth__main { display: grid; align-content: center; padding: clamp(28px, 6vw, 96px); }
.auth__card { width: min(440px, 100%); display: grid; gap: 22px; }
.auth__title { font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: -.028em; }
.auth__divider { display: flex; align-items: center; gap: 14px; margin: 0; color: var(--fg-soft); font-size: .92rem; }
.auth__divider::before, .auth__divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-input { width: 100%; padding: .95rem 1rem; border: 1px solid rgba(244,238,248,.28); border-radius: 4px; background: var(--white); font-size: 1.02rem; }
.auth-input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: #E9B949; }
.auth-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.auth-button { cursor: pointer; }
.auth-otp { display: none; gap: 14px; padding-top: 6px; }
.auth-otp.active { display: grid; }
.otp-inputs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.otp-inputs input { width: 100%; aspect-ratio: 1 / 1.15; padding: 0; border: 1px solid rgba(244,238,248,.28); border-radius: 4px; background: var(--white); text-align: center; font-family: var(--serif); font-size: 1.7rem; color: #F4EEF8; }
.otp-inputs input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: #E9B949; }
.auth-message { min-height: 1.5em; margin: 0; font-weight: 500; }
.auth-message--error { color: var(--error); }
.auth-message--success { color: var(--plum); }
.auth__help { margin: 0; color: var(--fg-soft); font-size: .94rem; }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; min-height: 0; }
  .auth__aside { gap: 28px; }
}

/* 23. 404 ------------------------------------------------------------------ */
.lost { min-height: calc(100dvh - var(--header-h)); display: grid; align-content: center; padding-block: 64px; }
.lost__title { font-size: clamp(3rem, 9vw, 8rem); letter-spacing: -.04em; line-height: .96; margin-bottom: 24px; }
.lost__links { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 28px; }

/* 24. Motion preferences --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__mark { -webkit-mask-image: none; mask-image: none; }
}

/* 25. Premium dark layer: atmosphere, motion, scroll effects ---------------- */
:root { interpolate-size: allow-keywords; }
body { animation: page-in .8s var(--ease) both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

.progress { position: fixed; top: 0; left: 0; z-index: 80; width: 100%; height: 2px; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, #E9B949, #F6DB93); pointer-events: none; }

/* Buttons: a slow sheen on hover */
.btn--ink::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.6) 50%, transparent 65%);
  transform: translateX(-130%); transition: transform .8s var(--ease);
}
.btn--ink:hover::after { transform: translateX(130%); }

/* Hero */
.hero {
  background:
    radial-gradient(55% 75% at 80% 42%, rgba(107,63,160,.42), transparent 70%),
    radial-gradient(38% 46% at 96% 96%, rgba(233,185,73,.12), transparent 70%),
    radial-gradient(40% 50% at 0% 0%, rgba(90,42,130,.28), transparent 70%),
    #0E0616;
}
.hero__title { --base: 350ms; }
.hero__art { position: relative; }
.hero__ring { position: absolute; left: 50%; top: 50%; width: 128%; max-width: none; margin: -64% 0 0 -64%; fill: none; stroke: #E9B949; opacity: .32; animation: spin 140s linear infinite; }
.hero__ring path, .cta__ring path { vector-effect: non-scaling-stroke; stroke-width: 1.3px; }
.hero__mark { position: relative; animation: sweep 2.6s cubic-bezier(.65,.05,.25,1) .2s both, float 9s ease-in-out 2.9s infinite alternate; filter: drop-shadow(0 30px 60px rgba(233,185,73,.18)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { from { transform: translateY(-8px); } to { transform: translateY(10px); } }
.hero__art, .cta__ring { will-change: transform; }

/* Marquee */
.marquee { overflow: hidden; background: #0A0412; border-block: 1px solid rgba(244,238,248,.1); padding-block: clamp(20px, 2.6vw, 34px); }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 3.6vw, 3.2rem); letter-spacing: -.02em; white-space: nowrap; color: #F4EEF8; }
.marquee__item svg { flex: none; width: 36px; height: 36px; fill: none; stroke: #E9B949; }
.marquee__item path { vector-effect: non-scaling-stroke; stroke-width: 2.4px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Services tiles: depth and cursor spotlight */
.tile.on-aubergine { background: linear-gradient(155deg, #3A1A66, #1A0B2C); }
.tile.on-plum      { background: linear-gradient(155deg, #6B34A3, #401C66); }
.tile.on-mist      { background: linear-gradient(155deg, #26143B, #150A24); }
.tile.on-violet    { background: linear-gradient(155deg, #4A2A7A, #2C1650); }
.tile.on-marigold  { background: linear-gradient(155deg, #F4CF74, #D6A02B); }
.tile.on-white     { background: linear-gradient(155deg, #FBF7FD, #E6DDF0); }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.2), transparent 60%);
}
.tile:hover::after { opacity: 1; }
.svc__swatch.on-violet { background: #3B1F63; }

/* Stats */
.stat__value { background: linear-gradient(180deg, #F8E3A6 0%, #E9B949 55%, #B98420 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .06em; }
.stat__label { color: #F4EEF8; }

/* Process: line draws, markers light up */
.js .steps::before { transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .15s; background: linear-gradient(90deg, #E9B949, rgba(233,185,73,.15)); }
.js .steps.is-in::before { transform: none; }
.js .step__n { transition: border-color .6s var(--ease) .5s, color .6s var(--ease) .5s, background-color .6s var(--ease) .5s; }
.js .step.is-in .step__n { border-color: var(--marigold); color: #1A0B2A; background: var(--marigold); }
@media (max-width: 960px) { .js .steps::before { transform: scaleY(0); transform-origin: top; background: linear-gradient(180deg, #E9B949, rgba(233,185,73,.15)); } .js .steps.is-in::before { transform: none; } }

/* Closing call to action */
.section--cta { position: relative; overflow: hidden; background: radial-gradient(55% 90% at 88% 105%, rgba(233,185,73,.24), transparent 70%), radial-gradient(60% 80% at 8% 0%, rgba(107,63,160,.4), transparent 70%), #170A27; }
.cta__ring { position: absolute; right: -8%; top: -45%; width: min(72vw, 820px); max-width: none; fill: none; stroke: #E9B949; opacity: .26; animation: spin 160s linear infinite; pointer-events: none; }
.cta__grid { position: relative; }

/* Pricing & calculator */
.plan.on-aubergine { background: linear-gradient(160deg, #3A1A66, #1A0B2C); outline: 1px solid rgba(233,185,73,.55); outline-offset: -1px; border-left-color: transparent; }
.calc__result.on-aubergine { background: linear-gradient(160deg, #2C1450, #170A27); outline: 1px solid rgba(233,185,73,.4); outline-offset: -1px; }

/* Rows & media: motion that answers the pointer */
.index__name { transition: transform .5s var(--ease); }
.index__row:hover .index__name { transform: translateX(12px); }
.event__media img { transition: transform 1s var(--ease); }
.event:hover .event__media img { transform: scale(1.06); }

/* FAQ: smooth open */
.faq__item::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }

/* Scroll reveals (only when JavaScript is running) */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .tile[data-reveal] { transform: translateY(46px) scale(.97); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(115%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--base, 0ms) + var(--i, 0) * 60ms); }
.js [data-split].is-in .w > span { transform: none; }
.reveal-fallback [data-reveal], .reveal-fallback [data-split] .w > span { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .progress { display: none; }
  .js [data-reveal], .js [data-split] .w > span { opacity: 1; transform: none; }
  .marquee__track, .hero__ring, .cta__ring, .hero__mark { animation: none; }
}
