/* Azepher Creatives — palette drawn from the logo */
:root {
  --ink: #0d0c11;
  --ink-2: #17151d;
  --ink-3: #221f2b;
  --paper: #faf6f2;
  --paper-2: #f2ebe6;
  --lav: #c8c7f3;
  --orchid: #f285e6;
  --rose: #f2949f;
  --peach: #f7cfa6;
  --mist: #d7d3d7;
  --grad: linear-gradient(120deg, var(--lav) 0%, var(--orchid) 38%, var(--rose) 66%, var(--peach) 100%);
  --grad-soft: linear-gradient(135deg, #dcdaf7 0%, #f6b6ec 40%, #f5bcc2 68%, #f9dcbf 100%);
  --muted-dark: rgba(250, 246, 242, .62);
  --muted-light: rgba(13, 12, 17, .58);
  --line-dark: rgba(250, 246, 242, .14);
  --line-light: rgba(13, 12, 17, .12);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", "Inter", system-ui, sans-serif;
  --gutter: clamp(18px, 4.5vw, 72px);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--orchid); color: var(--ink); }

/* type */
.display { font-family: var(--serif); font-weight: 400; line-height: .95; letter-spacing: -.02em; }
.h-xl { font-size: clamp(58px, 11vw, 200px); }
.h-lg { font-size: clamp(46px, 7.4vw, 128px); }
.h-md { font-size: clamp(36px, 4.8vw, 80px); }
.hl, .hl-y, .grad-text {
  font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; padding-right: .06em;
}
.hero .grad-text, .cta .hl, .cta em, .block:not(.dark):not(.green) .grad-text, .wheel-center .grad-text, .services-head .grad-text, .float-sec .grad-text {
  background-image: linear-gradient(120deg, #8d89e8 0%, #d94fcb 42%, #e0606f 72%, #e39a5c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic;
}
.soft { color: rgba(250, 246, 242, .42); }
.soft-dark { color: rgba(13, 12, 17, .34); }
.kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(13, 12, 17, .08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pill .spark { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.on-dark .pill, .pill.dark { background: rgba(255, 255, 255, .06); border-color: var(--line-dark); color: var(--paper); }

/* buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; border-radius: 999px; will-change: transform;
  padding: 14px 16px 14px 24px; font-size: 15px; isolation: isolate; overflow: hidden;
  transition: color .35s;
}
.btn .arrow { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 13px; transition: transform .35s; }
.btn:hover .arrow { transform: rotate(45deg); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink .arrow { background: var(--grad); color: var(--ink); }
.btn-ink::before, .btn-light::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad);
  transform: translateY(101%); transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.btn-ink:hover { color: var(--ink); }
.btn-ink:hover .arrow { background: var(--ink); color: var(--paper); }
.btn-ink:hover::before, .btn-light:hover::before { transform: translateY(0); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light .arrow { background: var(--ink); color: var(--paper); }
.btn-line { border: 1px solid currentColor; padding: 14px 24px; }
.btn-big { padding: 20px 20px 20px 34px; font-size: clamp(16px, 1.5vw, 19px); }
.btn-big .arrow { width: 34px; height: 34px; }
/* legacy alias used in subpages */
.btn-y { background: var(--ink); color: var(--paper); }
.btn-y .arrow { background: var(--grad); color: var(--ink); }

/* chrome */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 80; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
.cursor {
  position: fixed; top: 0; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%; background: var(--orchid); pointer-events: none; z-index: 90;
  opacity: 0; transition: width .3s, height .3s, margin .3s, opacity .3s, background .3s;
  mix-blend-mode: multiply;
}
.cursor.on { opacity: 1; }
.cursor.big { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(242, 133, 230, .35); }
@media (hover: none) { .cursor { display: none; } }

.piece { fill: currentColor; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 26px; letter-spacing: -.01em; line-height: 1; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 16px; height: 19px; transform: rotate(-8deg); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.brand:hover .brand-mark svg { transform: rotate(32deg) scale(1.08); }

/* nav */
.nav {
  position: fixed; top: 14px; left: var(--gutter); right: var(--gutter); z-index: 70;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 16px; border-radius: 999px; color: var(--ink);
  border: 1px solid transparent;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), background .35s, border-color .35s, color .35s;
}
.nav.scrolled { background: rgba(250, 246, 242, .72); border-color: rgba(13, 12, 17, .07); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.nav.on-dark { color: var(--paper); }
.nav.on-dark.scrolled { background: rgba(13, 12, 17, .6); border-color: var(--line-dark); }
.nav.hide { transform: translateY(-150%); }
.nav-links { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
.nav-links a { opacity: .66; transition: opacity .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav .btn { padding: 9px 10px 9px 18px; font-size: 14px; }
.nav .btn .arrow { width: 24px; height: 24px; }
.nav.on-dark .btn-ink { background: var(--paper); color: var(--ink); }
.nav.on-dark .btn-ink .arrow { background: var(--ink); color: var(--paper); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav { top: 10px; }
  .nav .btn-label-long { display: none; }
}

/* ---------- mesh gradient background ---------- */
.mesh { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .85; will-change: transform; }
.mesh .m1 { width: 52vmax; height: 52vmax; background: var(--lav); left: -16vmax; top: -18vmax; animation: drift1 18s ease-in-out infinite alternate; }
.mesh .m2 { width: 44vmax; height: 44vmax; background: var(--peach); right: -14vmax; top: -12vmax; animation: drift2 22s ease-in-out infinite alternate; }
.mesh .m3 { width: 46vmax; height: 46vmax; background: var(--orchid); left: -10vmax; bottom: -22vmax; opacity: .7; animation: drift3 20s ease-in-out infinite alternate; }
.mesh .m4 { width: 34vmax; height: 34vmax; background: var(--rose); left: 38%; top: 30%; opacity: .75; animation: drift1 16s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(8vmax, 6vmax) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-10vmax, 8vmax) scale(.9); } }
@keyframes drift3 { to { transform: translate(12vmax, -6vmax) scale(1.1); } }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (max-width: 700px) { .mesh i { filter: blur(48px); } }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 110px var(--gutter) clamp(28px, 5vh, 56px);
  background: var(--paper);
}
.hero .mesh { z-index: -1; }
.hero-piece {
  position: absolute; z-index: 0; right: 6vw; top: 12%;
  width: clamp(220px, 28vw, 440px); color: var(--ink);
  will-change: transform;
  filter: drop-shadow(0 40px 60px rgba(13, 12, 17, .25));
}
.hero-piece svg { width: 100%; height: auto; overflow: visible; }
.hero-copy { position: relative; z-index: 1; }
.hero-title { max-width: 11ch; }
.hero:not(.page-hero) .hero-title { font-size: clamp(58px, 9.2vw, 168px); }
@media (min-width: 861px) { .hero:not(.page-hero) .hero-piece { top: 8%; right: 3vw; width: clamp(220px, 25vw, 400px); } }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-style: italic; }
.hero-foot {
  position: relative; z-index: 1; margin-top: clamp(24px, 4vh, 44px);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px;
  padding-top: 22px; border-top: 1px solid var(--line-light);
}
.hero-sub { max-width: 440px; color: var(--muted-light); font-size: clamp(15px, 1.25vw, 18px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-tag { position: absolute; top: 96px; left: var(--gutter); z-index: 1; }
@media (max-width: 860px) {
  .hero { justify-content: flex-end; padding-top: 96px; }
  .hero-piece { right: -8vw; top: 11%; width: 54vw; opacity: .95; }
  .page-hero .hero-title { font-size: clamp(44px, 12.4vw, 120px); }
  .hero-tag { top: 78px; }
}

/* ---------- STORY (Content Date) ---------- */
.story { position: relative; background: var(--ink); color: var(--paper); }
.story-pin { position: relative; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; padding: 0 var(--gutter); }
.story-glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.story-glow .mesh i { opacity: .38; }
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars span { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: .5; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .1; } }
.story-head { position: absolute; top: clamp(84px, 13vh, 120px); left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; z-index: 3; }
.story-head .kicker { color: var(--muted-dark); }
.chapter-dots { display: flex; gap: 6px; }
.chapter-dots i { width: 18px; height: 3px; border-radius: 3px; background: rgba(250, 246, 242, .18); transition: background .4s, width .4s; }
.chapter-dots i.on { background: var(--orchid); width: 30px; }
.story-text { position: relative; height: 46vh; z-index: 2; }
.chap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; opacity: 0; pointer-events: none; }
.chap .btn { pointer-events: auto; }
.chap:first-child { opacity: 1; }
.chap .num { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 18px; font-weight: 600; }
.chap p { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 74px); line-height: 1.02; letter-spacing: -.02em; max-width: 13ch; }
.chap p em { font-style: italic; }
.chap .note { margin-top: 18px; font-family: var(--sans); font-size: clamp(14px, 1.15vw, 17px); color: var(--muted-dark); max-width: 380px; line-height: 1.55; letter-spacing: 0; }
.chap .btn { margin-top: 26px; }

.stage { position: relative; height: 72vh; z-index: 1; }
.stage > * { position: absolute; left: 50%; top: 50%; }
.s-slots, .s-five, .s-grid, .s-sparks { width: 0; height: 0; }
.s-slots > *, .s-five > *, .s-grid > *, .s-sparks > * { position: absolute; left: 0; top: 0; }
.s-card {
  width: var(--w, 120px); aspect-ratio: 9 / 14; margin: calc(var(--w, 120px) * -0.778) 0 0 calc(var(--w, 120px) * -0.5);
  border-radius: 14px; overflow: hidden; background: var(--g, var(--ink-3));
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45); will-change: transform, opacity;
}
.s-card.grey { --g: linear-gradient(170deg, #4a4752 0%, #2b2931 100%); }
.s-card .sil { position: absolute; inset: auto 0 0 0; height: 78%; color: rgba(13, 12, 17, .85); }
.s-card .sil svg { width: 100%; height: 100%; }
.s-card .lbl { position: absolute; left: 8px; bottom: 8px; font-size: 10px; font-weight: 600; padding: 3px 7px; border-radius: 6px; background: rgba(13, 12, 17, .6); color: #fff; z-index: 2; }
.s-slot { width: var(--w, 70px); aspect-ratio: 9 / 14; margin: calc(var(--w, 70px) * -0.778) 0 0 calc(var(--w, 70px) * -0.5); border-radius: 10px; border: 1.5px dashed rgba(250, 246, 242, .2); }
.s-chip { transform: translate(-50%, -50%); white-space: nowrap; font-size: clamp(13px, 1.1vw, 16px); padding: 10px 16px; border-radius: 999px; background: rgba(250, 246, 242, .07); border: 1px solid var(--line-dark); display: flex; gap: 10px; align-items: center; }
.s-chip b { font-weight: 600; }
.s-price { transform: translate(-50%, -50%); font-family: var(--serif); font-size: clamp(64px, 9vw, 150px); color: #ff8f8f; line-height: 1; letter-spacing: -.02em; }
.s-piece { width: clamp(150px, 20vw, 290px); margin-left: calc(clamp(150px, 20vw, 290px) / -2); margin-top: calc(clamp(150px, 20vw, 290px) * -0.61); color: var(--paper); filter: drop-shadow(0 0 60px rgba(242, 133, 230, .55)); }
.s-piece svg { width: 100%; height: auto; overflow: visible; }
.s-piece .piece { fill: url(#pieceGrad); }
.s-rec { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: .1em; color: #fff; }
.s-rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff4d6d; animation: twinkle 1.2s infinite; }
.s-day .cap { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); white-space: nowrap; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1; padding: 7px 14px 8px; border-radius: 999px; background: var(--paper); color: var(--ink); z-index: 2; }
.s-spark { transform: translate(-50%, -50%); font-size: 26px; color: var(--peach); }
.story-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px; height: 2px; background: rgba(250, 246, 242, .1); border-radius: 2px; overflow: hidden; z-index: 3; }
.story-progress span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
.scroll-hint { position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--muted-dark); letter-spacing: .14em; text-transform: uppercase; z-index: 3; }
@media (max-width: 860px) {
  .story-pin { grid-template-columns: 1fr; grid-template-rows: 1fr auto; align-items: stretch; padding-top: 120px; padding-bottom: 60px; }
  .stage { height: auto; min-height: 0; order: 1; }
  .story-text { order: 2; height: 34svh; }
  .chap { justify-content: flex-start; }
  .story-head { top: 74px; }
  .story-head .kicker { display: none; }
  .chapter-dots { width: 100%; }
  .chapter-dots i { flex: 1; }
  .chapter-dots i.on { width: auto; }
  .chap p { font-size: clamp(30px, 8.6vw, 44px); max-width: none; }
  .chap .num { margin-bottom: 10px; }
  .chap .note { margin-top: 10px; }
  .scroll-hint { display: none; }
}

.story.static .story-pin { height: auto; display: block; padding: 16vh var(--gutter); }
.story.static .story-text { height: auto; }
.story.static .chap { position: relative; opacity: 1; margin-bottom: 56px; }
.story.static .stage, .story.static .story-progress, .story.static .scroll-hint, .story.static .story-head { display: none; }

/* ---------- WHEEL ---------- */
.wheel-sec { background: var(--paper); position: relative; }
.wheel-pin { height: 100svh; display: grid; place-items: center; overflow: hidden; position: relative; }
.wheel { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.wheel .vcard { position: absolute; left: 0; top: 0; transform-origin: 50% 50%; --vw: clamp(92px, 11vw, 170px); }
.wheel-center { position: relative; z-index: 2; text-align: center; border-radius: 50%; width: clamp(210px, 24vw, 340px); aspect-ratio: 1; display: grid; place-content: center; gap: 12px; background: var(--paper); box-shadow: 0 0 0 1px var(--line-light), 0 30px 80px rgba(13, 12, 17, .08); padding: 24px; }
.wheel-center .brand-mark { margin: 0 auto; width: 40px; height: 40px; }
.wheel-center .brand-mark svg { width: 20px; height: 24px; }
.wheel-center p { font-size: 14px; color: var(--muted-light); max-width: 22ch; margin: 0 auto; }

/* video card (generic) */
.vcard {
  --vw: clamp(140px, 16vw, 240px);
  width: var(--vw); aspect-ratio: 9 / 13;
  margin: calc(var(--vw) * -0.722) 0 0 calc(var(--vw) * -0.5);
  border-radius: var(--radius); border: 4px solid #fff;
  background: var(--g, var(--grad));
  box-shadow: 0 24px 60px rgba(13, 12, 17, .18);
  overflow: hidden; position: relative; transform-origin: 50% 110%; will-change: transform;
}
.vcard .sil { position: absolute; inset: auto 0 0 0; height: 80%; color: rgba(13, 12, 17, .9); }
.vcard .sil svg { width: 100%; height: 100%; }
.vcard .tag { position: absolute; left: 9px; bottom: 9px; z-index: 2; background: rgba(13, 12, 17, .55); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 11px; font-weight: 600; padding: 5px 9px; border-radius: 8px; line-height: 1.2; }
.vcard .tag small { display: block; font-weight: 400; opacity: .7; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.vcard .play { position: absolute; top: 9px; right: 9px; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .85); display: grid; place-items: center; font-size: 8px; color: var(--ink); z-index: 2; }
.g1 { --g: linear-gradient(160deg, var(--lav) 0%, var(--orchid) 100%); }
.g2 { --g: linear-gradient(160deg, var(--rose) 0%, var(--peach) 100%); }
.g3 { --g: linear-gradient(170deg, #3a3542 0%, var(--ink) 100%); }
.g4 { --g: linear-gradient(160deg, var(--orchid) 0%, var(--rose) 100%); }
.g5 { --g: linear-gradient(160deg, var(--peach) 0%, var(--mist) 100%); }
.g6 { --g: linear-gradient(160deg, var(--lav) 0%, var(--peach) 100%); }
.g7 { --g: radial-gradient(120% 90% at 30% 10%, #5b3f6a 0%, var(--ink) 70%); }
.g8 { --g: linear-gradient(160deg, var(--mist) 0%, var(--lav) 100%); }
.g3 .sil, .g7 .sil { color: rgba(0, 0, 0, .6); }
.vcard.g3, .vcard.g7 { border-color: #2a2731; }

/* ---------- SERVICES ---------- */
.services { background: var(--paper); position: relative; }
.services-pin { min-height: 100svh; display: flex; align-items: center; gap: 5vw; padding: 12vh var(--gutter); overflow: hidden; }
.services-head { flex: none; width: min(32vw, 440px); }
.services-head p { margin-top: 20px; color: var(--muted-light); max-width: 360px; }
.services-track { display: flex; gap: 20px; will-change: transform; }
.tier {
  position: relative; flex: none; width: min(84vw, 430px); min-height: 64vh;
  display: flex; flex-direction: column; padding: 28px; border-radius: 26px; overflow: hidden; isolation: isolate;
  background: #fff; border: 1px solid var(--line-light);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s;
}
.tier:hover { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(13, 12, 17, .1); }
.tier.flag { background: var(--grad-soft); border-color: transparent; }
.tier.dark { background: var(--ink); color: var(--paper); border-color: transparent; }
.tier.dark::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -20%; top: -20%; border-radius: 50%; background: var(--orchid); filter: blur(80px); opacity: .35; z-index: -1; }
.tier-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }
.tier-top .pill { text-transform: none; letter-spacing: 0; }
.tier.dark .pill { background: rgba(255, 255, 255, .08); border-color: var(--line-dark); }
.tier h3 { margin-top: auto; padding-top: 64px; font-size: clamp(44px, 4.2vw, 66px); }
.tier p { margin-top: 12px; opacity: .74; }
.tier ul { list-style: none; margin-top: 18px; display: grid; gap: 8px; font-size: 14px; }
.tier li { display: flex; gap: 10px; align-items: baseline; }
.tier li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); transform: translateY(-2px); }
.tier.dark li::before { background: var(--orchid); }
.tier .more { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; border-bottom: 1px solid currentColor; align-self: flex-start; padding-bottom: 2px; }
@media (max-width: 900px) {
  .services-pin { flex-direction: column; align-items: stretch; padding: 12vh var(--gutter); }
  .services-head { width: auto; }
  .services-track { flex-direction: column; }
  .tier { width: 100%; min-height: 0; }
  .tier h3 { padding-top: 48px; }
}

/* ---------- COMPARE ---------- */
.compare { background: var(--paper); padding: 6vh var(--gutter) 14vh; }
.compare-box { background: var(--ink); color: var(--paper); border-radius: 30px; display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; position: relative; isolation: isolate; }
.compare-art { position: relative; display: grid; place-items: center; min-height: 540px; overflow: hidden; perspective: 900px; }
.compare-art .mesh i { opacity: .55; }
.compare-piece { position: relative; width: clamp(160px, 18vw, 250px); color: var(--ink); filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .45)); will-change: transform; }
.compare-piece svg { width: 100%; height: auto; }
.compare-body { padding: clamp(28px, 4vw, 60px); }
.ctable { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 14px; }
.ctable th { text-align: left; font-weight: 500; font-size: 12px; color: var(--muted-dark); padding: 0 0 12px; }
.ctable th:not(:first-child), .ctable td:not(:first-child) { text-align: center; width: 104px; }
.ctable th.us { color: var(--paper); font-weight: 700; }
.ctable td { padding: 15px 0; border-top: 1px solid var(--line-dark); }
.ctable .yes, .ctable .no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-size: 13px; transition: background .4s, color .4s; }
.ctable .yes { background: rgba(242, 133, 230, .14); color: var(--orchid); }
.ctable .no { color: rgba(250, 246, 242, .3); }
.ctable tr.row.active td:nth-child(2) .yes { background: var(--grad); color: var(--ink); }
@media (max-width: 900px) {
  .compare-box { grid-template-columns: 1fr; }
  .compare-art { min-height: 300px; }
  .ctable { font-size: 13px; }
  .ctable th:not(:first-child), .ctable td:not(:first-child) { width: 64px; }
}

/* ---------- FLOAT ---------- */
.float-sec { position: relative; background: var(--paper); min-height: 120vh; display: grid; place-items: center; overflow: hidden; padding: 20vh var(--gutter); }
.float-sec .center { position: relative; z-index: 2; text-align: center; max-width: 920px; padding: 40px 20px; background: radial-gradient(closest-side, var(--paper) 72%, rgba(250, 246, 242, 0)); }
.float-sec .center .display { margin-top: 18px; }
.float-sec .center p { margin: 22px auto 0; max-width: 500px; color: var(--muted-light); }
.floater { position: absolute; z-index: 1; }
.floater .vcard { margin: 0; --vw: clamp(92px, 11vw, 170px); }
.floater.blur { filter: blur(4px); opacity: .5; z-index: 0; }
@media (max-width: 700px) { .floater.hide-sm { display: none; } }

/* ---------- CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: 20vh var(--gutter) 16vh; background: var(--paper); }
.cta .mesh { z-index: -1; }
.cta-piece { width: clamp(70px, 8vw, 110px); margin: 0 auto 26px; color: var(--ink); }
.cta-piece svg { width: 100%; height: auto; }
.cta .display { margin-top: 18px; }
.cta p { margin: 24px auto 0; max-width: 500px; color: var(--muted-light); }
.cta .btn { margin-top: 36px; }
.cta-mail { display: block; margin-top: 18px; color: var(--muted-light); font-size: 14px; }
.cta-mail a { color: var(--ink); border-bottom: 1px solid var(--line-light); font-weight: 600; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 10vh var(--gutter) 26px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 7vh; }
.footer-top h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted-dark); font-weight: 600; margin-bottom: 16px; }
.footer-top a, .footer-top span { display: block; margin-bottom: 8px; }
.footer-top a:hover { color: var(--orchid); }
.footer-word { font-family: var(--serif); font-style: italic; font-size: clamp(90px, 22vw, 380px); line-height: .8; letter-spacing: -.03em; white-space: nowrap; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--muted-dark); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- SUBPAGES ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 160px var(--gutter) 90px; background: var(--paper); min-height: 88svh; display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero .mesh { z-index: -1; opacity: .9; }
.page-hero .crumbs { font-size: 13px; color: var(--muted-light); margin-bottom: 22px; }
.page-hero .crumbs a:hover { color: var(--ink); }
.page-hero .display { max-width: 11ch; }
.page-hero .lede { margin-top: 26px; max-width: 540px; font-size: clamp(16px, 1.35vw, 19px); color: var(--muted-light); }
.page-hero .hero-ctas { margin-top: 32px; }
.page-hero .fan-mini { position: absolute; right: 8vw; top: 52%; width: 30vw; height: 50%; transform: translateY(-50%); }
.page-hero .fan-mini .vcard { position: absolute; left: 50%; top: 50%; }
.page-hero .btn-line { color: var(--ink); border-color: var(--line-light); }
@media (max-width: 900px) { .page-hero .fan-mini { display: none; } .page-hero { min-height: 80svh; padding-top: 130px; } }

.block { padding: 14vh var(--gutter); }
.block.dark, .block.green { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; isolation: isolate; }
.block.green::before { content: ""; position: absolute; width: 50vw; aspect-ratio: 1; right: -15vw; top: -20vw; border-radius: 50%; background: var(--orchid); filter: blur(120px); opacity: .25; z-index: -1; }
.block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 7vh; }
.block-head p { max-width: 420px; opacity: .7; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { border-radius: 24px; padding: 28px; background: #fff; border: 1px solid var(--line-light); min-height: 270px; display: flex; flex-direction: column; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.feature:hover { transform: translateY(-6px); }
.feature:nth-child(2) { background: var(--grad-soft); border-color: transparent; }
.feature .n { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; }
.feature h3 { margin-top: auto; padding-top: 40px; font-size: clamp(28px, 2.6vw, 40px); }
.feature p { margin-top: 10px; opacity: .72; font-size: 15px; }
.included { list-style: none; columns: 2; column-gap: 48px; }
.included li { break-inside: avoid; padding: 18px 0; border-top: 1px solid var(--line-light); display: flex; gap: 14px; align-items: baseline; font-size: clamp(16px, 1.4vw, 19px); }
.dark .included li, .green .included li { border-color: var(--line-dark); }
.included li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); transform: translateY(-2px); }
.faq details { border-top: 1px solid var(--line-light); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 28px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; max-width: 720px; color: var(--muted-light); }
.next-page { position: relative; isolation: isolate; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12vh var(--gutter); background: var(--ink); color: var(--paper); }
.next-page .mesh { z-index: -1; opacity: 0; transition: opacity .6s; }
.next-page:hover .mesh { opacity: .45; }
.next-page .display { font-size: clamp(42px, 7vw, 120px); margin-top: 10px; }
.next-page .kicker { color: var(--muted-dark); }
.next-page .arrow-big { font-family: var(--serif); font-size: clamp(60px, 10vw, 160px); line-height: 1; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.next-page:hover .arrow-big { transform: translateX(18px); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .included { columns: 1; } .feature { min-height: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
