/* =========================================================
   RUBY ARTWORKS — STYLES (Jewel Box rebrand)
   Brand colors live in :root. Change one there and it
   updates across the whole site.
   ========================================================= */

/* ---------- Fonts (self-hosted, open licence) ---------- */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* Base */
  --paper: #FFF4F6;
  --white: #FFFFFF;
  --ink: #26102B;
  --ink-2: #3A1D40;
  --muted: #6E5A72;

  /* Jewel box */
  --ruby: #E5145E;
  --pink: #FF4F8B;
  --tangerine: #FF7B3A;
  --citrine: #FFC93C;
  --amethyst: #A98BFF;
  --violet: #6A3CE0;
  --teal: #13A89E;

  /* Soft tints */
  --ruby-t: #FFE0EA;
  --tangerine-t: #FFE7DA;
  --citrine-t: #FFF0C7;
  --amethyst-t: #EEE7FF;
  --teal-t: #D5F2EE;

  --line: rgba(38, 16, 43, .12);
  --line-dark: rgba(255, 244, 246, .18);

  --f: "Bricolage", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;

  --wrap: 1220px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(84px, 10vw, 140px);
  --r-lg: 32px;
  --r-md: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 30px 60px -28px rgba(38, 16, 43, .45);

  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(84px + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--citrine); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Section color themes */
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-amethyst { background: var(--amethyst-t); }
.bg-citrine { background: var(--citrine); }
.bg-tangerine { background: var(--tangerine-t); }
.bg-ruby { background: var(--ruby); color: var(--white); }

/* ---------- Type ---------- */
.h-display {
  font-weight: 800; font-stretch: 86%; letter-spacing: -.035em; line-height: .95;
  font-variation-settings: "opsz" 96; margin: 0; text-wrap: balance;
}
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 28px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 17ch; }
.section-head .intro { color: var(--muted); max-width: 36ch; margin: 0; font-size: 1.05rem; }
.bg-ink .section-head .intro { color: rgba(255, 244, 246, .72); }
.bg-citrine .section-head .intro { color: var(--ink); }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .95rem; margin-bottom: 18px;
  padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--white); color: var(--ink);
}
.kicker::before { content: ""; width: 18px; height: 18px; background: url("../img/brand/mark.svg") center / contain no-repeat; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; min-height: 54px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--ruby { background: var(--ruby); color: var(--white); box-shadow: 0 5px 0 #A80B43; }
.btn--ruby:hover { box-shadow: 0 7px 0 #A80B43; }
.btn--ruby:active { transform: translateY(3px); box-shadow: 0 2px 0 #A80B43; }
.btn--citrine { background: var(--citrine); color: var(--ink); box-shadow: 0 5px 0 #C98F00; }
.btn--citrine:hover { box-shadow: 0 7px 0 #C98F00; }
.btn--citrine:active { transform: translateY(3px); box-shadow: 0 2px 0 #C98F00; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.bg-ink .btn--outline, .bg-ruby .btn--outline { border-color: currentColor; color: inherit; }
.bg-ink .btn--outline:hover { background: var(--paper); color: var(--ink); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark { width: 42px; height: 42px; flex: 0 0 auto; }
.logo__text { display: flex; flex-direction: column; line-height: .78; }
.logo__ruby { font-weight: 800; font-stretch: 86%; letter-spacing: -.045em; font-size: 1.95rem; font-variation-settings: "opsz" 96; }
.logo__art { font-weight: 700; font-size: .74rem; letter-spacing: .01em; color: var(--violet); margin: 4px 0 0 2px; }
.footer .logo { color: var(--paper); }
.footer .logo__art { color: var(--citrine); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; transition: background .3s, box-shadow .3s; }
.nav.is-scrolled, .nav.is-open { background: rgba(255, 244, 246, .9); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .98rem; position: relative; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px; background: var(--ruby); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav__links a:not(.btn):hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links .btn { min-height: 46px; padding: 10px 22px; }
.nav__toggle { display: none; background: var(--ink); border: 0; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--paper); border-radius: 2px; transition: transform .3s var(--ease); }
.nav__toggle span:nth-child(1) { top: 18px; } .nav__toggle span:nth-child(2) { top: 26px; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 920px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: calc(84px + env(safe-area-inset-top, 0px)) 12px auto 12px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow);
    padding: 10px 22px 22px;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .25s var(--ease);
  }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a:not(.btn) { display: block; padding: 15px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: 18px; width: 100%; }
}

/* ---------- Announcement bar ---------- */
.announce { background: var(--citrine); color: var(--ink); text-align: center; font-weight: 700; font-size: .92rem; padding: 10px 16px; }
.announce a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero: full-bleed wall of work ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(88svh, 860px); display: grid; place-items: center;
  background: var(--ink); color: var(--white); text-align: center;
}
.wall {
  position: absolute; inset: -30% -12%; z-index: -2;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  transform: rotate(-7deg);
}
.wall__col { display: flex; flex-direction: column; gap: 16px; animation: wall-up 70s linear infinite; will-change: transform; }
.wall__col:nth-child(even) { animation-name: wall-down; animation-duration: 85s; }
.wall img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(38, 16, 43, .78), rgba(38, 16, 43, .5) 60%, rgba(38, 16, 43, .72)),
    linear-gradient(120deg, rgba(229, 20, 94, .35), rgba(106, 60, 224, .3));
}
.hero__content { max-width: 980px; padding: clamp(70px, 10vw, 120px) var(--gutter); }
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-weight: 700; font-size: .95rem; margin-bottom: 26px;
}
.hero__tag img { width: 22px; height: 22px; }
.hero h1 { font-size: clamp(3.3rem, 9.4vw, 8.2rem); line-height: .9; margin: 0 auto 26px; text-shadow: 0 6px 40px rgba(38, 16, 43, .5); }
.hero__sub { font-size: clamp(1.1rem, 1.7vw, 1.35rem); max-width: 42ch; margin: 0 auto 36px; opacity: .92; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero .btn--outline { border-color: var(--white); color: var(--white); }
.hero .btn--outline:hover { background: var(--white); color: var(--ink); }
.hero__trust { display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: center; margin-top: 38px; font-weight: 600; font-size: .95rem; opacity: .9; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust span::before { content: ""; width: 9px; height: 9px; border-radius: 3px; transform: rotate(45deg); background: var(--c); }
.hero__trust span:nth-child(1) { --c: var(--citrine); }
.hero__trust span:nth-child(2) { --c: var(--pink); }
.hero__trust span:nth-child(3) { --c: var(--amethyst); }
@media (max-width: 760px) {
  .wall { grid-template-columns: repeat(3, 1fr); gap: 10px; inset: -30% -30%; }
  .wall__col { gap: 10px; }
  .wall img { border-radius: 12px; }
}

/* ---------- Payments ---------- */
.pay-note { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-weight: 600; }
.pay-note a { color: var(--ruby); }
.methods { display: flex; flex-wrap: wrap; gap: 8px; }
.methods span { font-size: .82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pay-card { background: var(--white); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.pay-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--c, var(--ruby)); }
.pay-card:nth-child(1) { --c: var(--tangerine); } .pay-card:nth-child(2) { --c: var(--ruby); } .pay-card:nth-child(3) { --c: var(--violet); }
.pay-card h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.pay-card .amt { font-size: 2.6rem; font-weight: 800; font-stretch: 86%; letter-spacing: -.03em; line-height: 1; }
.pay-card p { color: var(--muted); margin: 0 0 12px; flex: 1; }
.pay-alt { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 18px; }
.pay-alt > div { background: var(--white); border-radius: var(--r-md); padding: 26px; }
.pay-alt h3 { font-size: 1.15rem; margin: 0 0 6px; }
.pay-alt p { color: var(--muted); margin: 0 0 14px; font-size: .97rem; }
@media (max-width: 900px) { .pay-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .announce { font-size: .82rem; padding: 9px 12px; } }

/* ---------- Marquee ---------- */
.marquee-wrap { overflow: hidden; padding: 30px 0 40px; }
.marquee { background: var(--ink); color: var(--paper); transform: rotate(-2deg); margin: 0 -40px; padding: 20px 0; overflow: hidden; }
.marquee__track { display: flex; gap: 36px; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 36px; font-weight: 800; font-stretch: 86%; font-size: clamp(1.4rem, 2.6vw, 2.1rem); letter-spacing: -.02em; white-space: nowrap; font-variation-settings: "opsz" 96; }
.marquee__item::after { content: ""; width: 30px; height: 30px; background: url("../img/brand/mark.svg") center / contain no-repeat; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { border-radius: var(--r-lg); padding: 32px 30px 30px; display: flex; flex-direction: column; gap: 12px; transition: transform .35s var(--ease); }
.service:hover { transform: translateY(-4px) rotate(-.4deg); }
.service:nth-child(1) { background: var(--ruby-t); --c: var(--ruby); }
.service:nth-child(2) { background: var(--citrine-t); --c: #E0A100; }
.service:nth-child(3) { background: var(--tangerine-t); --c: var(--tangerine); }
.service:nth-child(4) { background: var(--amethyst-t); --c: var(--violet); }
.service:nth-child(5) { background: var(--teal-t); --c: var(--teal); }
.service:nth-child(6) { background: var(--ink); color: var(--paper); --c: var(--citrine); }
.service__icon { width: 58px; height: 58px; border-radius: 18px; background: var(--c); color: var(--white); display: grid; place-items: center; margin-bottom: 8px; }
.service:nth-child(6) .service__icon { color: var(--ink); }
.service__icon svg { width: 30px; height: 30px; }
.service h3 { font-size: 1.6rem; font-weight: 800; font-stretch: 88%; letter-spacing: -.02em; line-height: 1.05; margin: 0; }
.service p { margin: 0; color: var(--muted); flex: 1; }
.service:nth-child(6) p { color: rgba(255, 244, 246, .72); }
.service ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service li { font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--white); color: var(--ink); }
@media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

/* ---------- Work ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter {
  background: transparent; border: 2px solid var(--line-dark); border-radius: 999px;
  padding: 10px 18px; font-size: .95rem; font-weight: 700; cursor: pointer; color: var(--paper);
  transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--paper); }
.filter[aria-pressed="true"] { background: var(--citrine); border-color: var(--citrine); color: var(--ink); }
.filter sup { font-size: .7em; margin-left: 4px; opacity: .7; }
.work-grid { columns: 3 300px; column-gap: 18px; }
.work {
  break-inside: avoid; margin: 0 0 18px; position: relative; border-radius: var(--r-md); overflow: hidden;
  background: var(--ink-2); cursor: zoom-in; display: block; width: 100%; padding: 0; border: 0; text-align: left;
  transition: transform .4s var(--ease);
}
.work:hover { transform: translateY(-4px); }
.work img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.work:hover img, .work:focus-visible img { transform: scale(1.04); }
.work__cat { position: absolute; top: 14px; left: 14px; z-index: 1; font-size: .78rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: var(--white); color: var(--ink); }
.work--logo .work__cat { background: var(--citrine); }
.work--flyer .work__cat { background: var(--pink); color: var(--white); }
.work--apparel .work__cat { background: var(--amethyst); }
.work--web .work__cat { background: var(--teal); color: var(--white); }
.work--motion .work__cat { background: var(--tangerine); }
.work__meta {
  position: absolute; inset: auto 12px 12px 12px; padding: 14px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .96); color: var(--ink);
  opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .35s var(--ease);
}
.work:hover .work__meta, .work:focus-visible .work__meta { opacity: 1; transform: none; }
.work__meta strong { display: block; font-size: 1.02rem; line-height: 1.2; }
.work__meta span { font-size: .86rem; color: var(--muted); }
.work__play { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; background: var(--ruby); display: grid; place-items: center; }
@media (hover: none) { .work__meta { opacity: 1; transform: none; } }
.work-empty { color: rgba(255, 244, 246, .7); padding: 40px 0; }

/* ---------- Reel ---------- */
.reel { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); box-shadow: var(--shadow); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel__fallback {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; color: var(--paper);
  background: conic-gradient(from 200deg at 68% 40%, var(--ruby), var(--tangerine), var(--citrine), var(--amethyst), var(--violet), var(--ruby));
}
.reel__fallback::before { content: ""; position: absolute; inset: 0; background: rgba(38, 16, 43, .5); }
.reel__fallback > div { position: relative; }
.reel__play { width: 84px; height: 84px; border-radius: 50%; background: var(--white); display: grid; place-items: center; margin: 0 auto 20px; box-shadow: var(--shadow); }
.reel__fallback h3 { font-size: clamp(2rem, 5vw, 3.6rem); margin: 0; }
.reel__fallback p { max-width: 40ch; margin: 10px auto 0; opacity: .9; }
.reel__points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.reel__points > div { background: var(--white); border-radius: var(--r-md); padding: 24px 24px 26px; }
.reel__points h3 { font-size: 1.15rem; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.reel__points h3::before { content: ""; width: 12px; height: 12px; border-radius: 3px; transform: rotate(45deg); background: var(--c, var(--ruby)); }
.reel__points > div:nth-child(2) { --c: var(--tangerine); }
.reel__points > div:nth-child(3) { --c: var(--violet); }
.reel__points p { color: var(--muted); margin: 0; font-size: .96rem; }
@media (max-width: 760px) { .reel__points { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--r-md); padding: 28px 24px 30px; counter-increment: step; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  font-weight: 800; font-size: 1.4rem; margin-bottom: 18px; background: var(--c); color: var(--white);
}
.step:nth-child(1) { --c: var(--ruby); } .step:nth-child(2) { --c: var(--tangerine); }
.step:nth-child(3) { --c: var(--violet); } .step:nth-child(4) { --c: var(--teal); }
.step h3 { font-size: 1.2rem; margin: 0 0 8px; line-height: 1.2; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--white); border-radius: var(--r-lg); padding: 36px 30px 30px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.plan::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--c); }
.plan:nth-child(1) { --c: var(--tangerine); }
.plan:nth-child(3) { --c: var(--violet); }
.plan--hot { --c: var(--citrine); background: var(--ruby); color: var(--white); transform: translateY(-12px); box-shadow: 0 30px 60px -24px rgba(229, 20, 94, .6); }
.plan__flag { align-self: flex-start; background: var(--citrine); color: var(--ink); font-size: .8rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.plan h3 { font-size: 1.7rem; font-weight: 800; font-stretch: 88%; letter-spacing: -.02em; margin: 0; }
.plan__for { color: var(--muted); font-size: .96rem; margin: 6px 0 22px; min-height: 3.2em; }
.plan--hot .plan__for { color: rgba(255, 255, 255, .85); }
.plan__price { font-size: 3.6rem; font-weight: 800; font-stretch: 86%; letter-spacing: -.04em; line-height: 1; margin: 0 0 6px; font-variation-settings: "opsz" 96; }
.plan__price small { font-size: .95rem; font-weight: 600; letter-spacing: 0; margin-right: 6px; vertical-align: middle; opacity: .7; }
.plan__time { font-size: .9rem; font-weight: 800; margin-bottom: 22px; color: var(--c); }
.plan:nth-child(1) .plan__time { color: #D9581A; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 10px 0 10px 30px; border-top: 1px solid var(--line); font-size: .97rem; position: relative; }
.plan--hot li { border-top-color: rgba(255, 255, 255, .22); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 18px; height: 18px; border-radius: 50%; background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.plan--hot li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2326102B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan .btn { width: 100%; }
.addons { margin-top: 22px; padding: 22px 28px; border-radius: var(--r-md); background: var(--white); display: flex; flex-wrap: wrap; gap: 12px 34px; align-items: center; }
.addons span { color: var(--muted); }
.addons b { color: var(--ink); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; } .plan--hot { transform: none; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.quote { margin: 0; padding: 34px 32px; border-radius: var(--r-lg); background: var(--white); display: flex; flex-direction: column; justify-content: space-between; min-height: 240px; position: relative; }
.quote::before { content: "\201C"; position: absolute; top: 4px; right: 26px; font-family: var(--f-serif); font-style: italic; font-size: 7rem; line-height: 1; color: var(--ruby); }
.quote blockquote { margin: 0 0 24px; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.15; max-width: 16ch; }
.quote figcaption { font-size: .92rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); display: block; font-size: 1rem; }
.quotes-note { margin-top: 24px; font-weight: 600; max-width: 60ch; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq-side h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); margin-bottom: 18px; }
.faq-side p { color: var(--muted); max-width: 32ch; margin: 0 0 24px; }
.faq details { background: var(--white); border-radius: var(--r-md); margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 70px 22px 26px; position: relative; font-size: 1.1rem; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%;
  background: var(--ruby-t); color: var(--ruby); display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; line-height: 1;
  transition: transform .3s var(--ease), background .2s, color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ruby); color: var(--white); }
.faq details p { color: var(--muted); margin: -6px 26px 24px; max-width: 64ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Journal ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; background: var(--white); border-radius: var(--r-lg); padding: 30px; min-height: 280px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card time { align-self: flex-start; font-size: .82rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: var(--c, var(--ruby-t)); }
.posts .post-card:nth-child(3n+1) { --c: var(--ruby-t); }
.posts .post-card:nth-child(3n+2) { --c: var(--amethyst-t); }
.posts .post-card:nth-child(3n+3) { --c: var(--teal-t); }
.post-card h3 { font-size: 1.4rem; font-weight: 800; font-stretch: 92%; letter-spacing: -.015em; line-height: 1.15; margin: 0; }
.post-card p { color: var(--muted); margin: 0; flex: 1; }
.post-card .more { font-weight: 800; color: var(--ruby); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.contact h2 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin-bottom: 22px; }
.contact__lede { font-size: 1.15rem; opacity: .92; max-width: 38ch; margin: 0 0 30px; }
.contact__direct { display: grid; gap: 12px; justify-items: start; }
.contact__direct a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; background: rgba(255, 255, 255, .16); padding: 14px 18px; border-radius: 16px; word-break: break-all; transition: background .2s; }
.contact__direct a:hover { background: rgba(255, 255, 255, .26); }
.contact__direct svg { flex: 0 0 22px; }
.contact__reply { margin-top: 24px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.contact__reply i { width: 10px; height: 10px; border-radius: 50%; background: var(--citrine); box-shadow: 0 0 0 4px rgba(255, 201, 60, .3); }

.form { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; box-shadow: 0 40px 80px -40px rgba(38, 16, 43, .6); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: .92rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--paper); color: var(--ink); border: 2px solid transparent; border-radius: 14px;
  padding: 14px 16px; font: inherit; font-size: 1rem; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: var(--white); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { position: relative; }
.chip input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--paper); font-size: .9rem; font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: all .2s; }
.chip span:hover { border-color: var(--line); }
.chip input:checked + span { background: var(--violet); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form__status { font-weight: 700; margin: 0; }
.form__status.ok { color: #0E9F62; } .form__status.err { color: var(--ruby); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 70px 0 40px; overflow: hidden; }
.footer__big { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); margin: 0 0 50px; }
.footer__big img { width: clamp(64px, 12vw, 170px); height: auto; }
.footer__big span { font-weight: 800; font-stretch: 84%; letter-spacing: -.05em; line-height: .8; font-size: clamp(4rem, 14vw, 12rem); font-variation-settings: "opsz" 96; }
.footer__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; color: rgba(255, 244, 246, .72); font-size: .95rem; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.footer__row nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--citrine); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(38, 16, 43, .96);
  display: grid; grid-template-rows: auto 1fr auto; color: var(--paper);
  padding: calc(16px + env(safe-area-inset-top, 0px)) 16px calc(16px + env(safe-area-inset-bottom, 0px));
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1100px; width: 100%; margin: 0 auto; }
.lightbox__title strong { display: block; font-size: 1.1rem; } .lightbox__title span { opacity: .7; font-size: .92rem; }
.lightbox__stage { display: grid; place-items: center; min-height: 0; padding: 16px 0; }
.lightbox__stage img, .lightbox__stage video { max-height: 100%; max-width: min(1100px, 100%); object-fit: contain; border-radius: 16px; }
.lightbox__nav { display: flex; justify-content: center; gap: 12px; }
.icon-btn { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s; }
.icon-btn:hover { background: var(--citrine); transform: scale(1.06); }

/* ---------- Blog / article ---------- */
.page-hero { padding: clamp(40px, 7vw, 90px) 0 clamp(30px, 4vw, 50px); }
.page-hero h1 { font-size: clamp(3rem, 9vw, 7rem); }
.page-hero p { color: var(--muted); max-width: 46ch; margin: 18px 0 0; font-size: 1.15rem; }
.article { max-width: 740px; margin: 0 auto; padding: 20px var(--gutter) var(--section); }
.article__meta { display: inline-block; font-weight: 800; font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: var(--amethyst-t); margin-bottom: 20px; }
.article h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 0 0 30px; }
.article h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.015em; margin: 48px 0 12px; line-height: 1.2; }
.article p, .article li { font-size: 1.12rem; line-height: 1.75; color: #3E2A43; }
.article ul { padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--ruby); }
.article blockquote { margin: 38px 0; padding: 26px 30px; border-radius: var(--r-md); background: var(--citrine-t); font-family: var(--f-serif); font-style: italic; font-size: 1.9rem; line-height: 1.25; }
.article__cta { margin-top: 60px; padding: 36px; border-radius: var(--r-lg); background: var(--ruby); color: var(--white); }
.article__cta h2 { margin-top: 0; }
.article__cta p { color: rgba(255, 255, 255, .9); }
.back { display: flex; width: max-content; align-items: center; gap: 8px; margin-bottom: 20px; font-weight: 700; text-decoration: none; }
.back:hover { color: var(--ruby); }

/* ---------- 404 ---------- */
.lost { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 60px var(--gutter); }
.lost img { width: 140px; margin: 0 auto 20px; }
.lost h1 { font-size: clamp(5rem, 20vw, 12rem); }
.lost p { color: var(--muted); font-size: 1.15rem; margin: 10px 0 30px; }

/* ---------- Reveal on scroll (subtle, once) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 12px; }
  .wall__col { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
