/* ==========================================================================
   ARK WEAVE — shared design system
   Black x warm white x burnt orange. One stylesheet for every page.
   ========================================================================== */

@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --ink: #050505;
  --ink-2: #0c0a09;
  --ink-3: #14110f;
  --bone: #f3ede4;
  --bone-2: rgba(243, 237, 228, .68);
  --bone-3: rgba(243, 237, 228, .52);
  --line: rgba(243, 237, 228, .11);
  --line-2: rgba(243, 237, 228, .22);
  --orange: #f25a12;
  --orange-2: #ff7d33;
  --burnt: #b9430c;
  --glow: rgba(242, 90, 18, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --sans: 'Bricolage Grotesque', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', 'Times New Roman', serif;
  --pad: clamp(20px, 4.4vw, 68px);
  --max: 1400px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; background: var(--ink); color-scheme: dark; }
body {
  background: var(--ink); color: var(--bone);
  font-family: var(--sans); font-optical-sizing: auto;
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; min-height: 100vh;
}
body.menu-open { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--orange); color: #140700; }
:focus-visible { outline: 2px solid var(--orange-2); outline-offset: 4px; border-radius: 6px; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--orange); color: #140700; padding: 10px 16px; border-radius: 999px; font-weight: 600; transition: top .3s var(--ease); }
.skip:focus { top: 16px; }

/* grain + ambient light --------------------------------------------------- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .06; contain: strict; will-change: transform;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.glow {
  position: fixed; left: 0; top: 0; width: 720px; height: 720px; margin: -360px 0 0 -360px; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(242, 90, 18, .13), rgba(242, 90, 18, .04) 42%, transparent 68%);
  opacity: 0; transition: opacity 1s;
  will-change: transform;
}
.glow.on { opacity: 1; }
main, .foot { position: relative; z-index: 1; }
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--burnt), var(--orange-2)); }

/* type ---------------------------------------------------------------------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.035em; line-height: .98; font-stretch: 92%; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.012em; font-size: 1.1em; line-height: .9; font-stretch: 100%; }
.h-xl { font-size: clamp(2.9rem, 8.3vw, 8.6rem); letter-spacing: -.048em; line-height: .93; }
.h-lg { font-size: clamp(2.3rem, 5.6vw, 5.6rem); }
.h-md { font-size: clamp(1.7rem, 3vw, 3rem); }
.lede { color: var(--bone-2); max-width: 46ch; }
.small { font-size: .875rem; color: var(--bone-3); }
.orange { color: var(--orange); }

/* layout -------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; }
.sec { padding: clamp(84px, 13vw, 180px) var(--pad); position: relative; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(44px, 6vw, 90px); }
.sec-head .lede { justify-self: end; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 120px); align-items: start; }

/* buttons ------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 28px; border-radius: 999px; font-weight: 600; font-size: .98rem; letter-spacing: -.005em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .9s var(--ease), box-shadow .5s var(--ease), border-color .4s, color .4s, background-color .4s;
}
.btn > span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; transition: transform .9s var(--ease); }
.btn.mag { transition: transform .25s var(--ease), box-shadow .5s var(--ease), border-color .4s, color .4s, background-color .4s; }
.btn.mag > span { transition-duration: .25s; }
.btn-primary { background: var(--orange); color: #150800; box-shadow: 0 0 0 0 var(--glow); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--bone); transform: translateY(101%); border-radius: 50% 50% 0 0 / 100% 100% 0 0; transition: transform .6s var(--ease), border-radius .6s var(--ease); }
.btn-primary:hover { box-shadow: 0 18px 50px -12px var(--glow); }
.btn-primary:hover::before { transform: translateY(0); border-radius: 0; }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(243, 237, 228, .04); }
.btn-ghost:hover { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange) inset, 0 12px 40px -14px var(--glow); }
.btn-sm { padding: 12px 20px; font-size: .9rem; }
.ico-arrow { width: 14px; height: 14px; transition: transform .5s var(--ease); }
a:hover > .ico-arrow, .btn:hover .ico-arrow, .svc:hover .ico-arrow { transform: translate(3px, -3px); }

/* curtain (page entrance) --------------------------------------------------- */
.curtain { position: fixed; inset: 0; z-index: 250; background: var(--ink); display: none; place-items: center; pointer-events: none; }
.js .curtain { display: grid; }
.curtain-mark { opacity: 1; transition: opacity .4s, transform .8s var(--ease); }
.curtain-logo { width: min(260px, 62vw); height: auto; opacity: 0; transform: translateY(12px) scale(.97); animation: cin 1.1s var(--ease) .1s forwards; }
@keyframes cin { to { opacity: 1; transform: none; } }
.is-ready .curtain { transform: translateY(-101%); visibility: hidden; transition: transform 1.05s var(--ease-io) .1s, visibility 0s 1.3s; }
.is-ready .curtain-mark { opacity: 0; transform: translateY(-14px); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* navigation ---------------------------------------------------------------- */
.nav-wrap { position: fixed; inset: 0 0 auto 0; z-index: 90; display: flex; justify-content: center; padding-inline: var(--pad); pointer-events: none; }
.js .nav-wrap { opacity: 0; transform: translateY(-28px); }
.is-ready .nav-wrap { opacity: 1; transform: none; transition: opacity 1s var(--ease) .8s, transform 1.1s var(--ease) .8s; }
.nav {
  position: relative; isolation: isolate; pointer-events: auto; margin-top: 18px; width: min(1140px, 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 22px; border-radius: 999px; transform-origin: 50% 0;
  transition: transform .8s var(--ease);
}
.nav::before, .nav::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; }
.nav::before { background: rgba(14, 11, 9, .38); border: 1px solid rgba(243, 237, 228, .1); backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%); }
.nav::after { background: rgba(10, 8, 7, .74); border: 1px solid rgba(243, 237, 228, .15); box-shadow: 0 24px 60px -24px #000, 0 0 0 1px rgba(242, 90, 18, .07); opacity: 0; transition: opacity .6s var(--ease); }
.nav-wrap.is-scrolled .nav { transform: translateY(-8px) scale(.94); }
.nav-wrap.is-scrolled .nav::after { opacity: 1; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 34px; width: auto; transition: transform .8s var(--ease), filter .6s; }
.logo:hover img { transform: translateY(-1px) scale(1.03); filter: drop-shadow(0 0 14px rgba(242, 90, 18, .4)); }
.foot .logo img { height: 48px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { position: relative; padding: 9px 16px; border-radius: 999px; font-size: .95rem; color: var(--bone-2); transition: color .3s; overflow: hidden; }
.nav-links a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .35s; background: radial-gradient(90px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 90, 18, .42), rgba(242, 90, 18, .06) 70%, transparent); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--bone); }
.nav-links a:hover::before { opacity: 1; }
.nav-links a[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--bone); transition: transform .6s var(--ease), top .6s var(--ease); }
.burger i:nth-child(1) { top: 19px; } .burger i:nth-child(2) { top: 26px; }
.menu-open .burger i:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 85; display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--pad) 32px; visibility: hidden; pointer-events: none; background: radial-gradient(80% 50% at 90% 100%, rgba(242, 90, 18, .3), transparent 70%), rgba(5, 5, 5, .97); clip-path: circle(0% at calc(100% - 46px) 46px); transition: clip-path .9s var(--ease-io), visibility 0s .9s; }
.menu-open .menu { visibility: visible; pointer-events: auto; clip-path: circle(150% at calc(100% - 46px) 46px); transition: clip-path 1s var(--ease-io), visibility 0s; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { display: block; overflow: hidden; font-size: clamp(2.3rem, 11vw, 3.6rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.12; border-bottom: 1px solid var(--line); padding: 6px 0; }
.menu nav a span { display: block; transform: translateY(105%); transition: transform .8s var(--ease); }
.menu-open .menu nav a span { transform: none; transition-delay: calc(.25s + var(--i) * 60ms); }
.menu-foot { display: grid; gap: 18px; opacity: 0; transform: translateY(16px); transition: opacity .6s .1s, transform .7s var(--ease) .1s; }
.menu-open .menu-foot { opacity: 1; transform: none; transition-delay: .7s; }
.menu-foot .contact-lines { display: grid; gap: 4px; color: var(--bone-2); }
.menu-foot .btn { width: 100%; }

/* hero ---------------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 150px var(--pad) clamp(26px, 4.5vh, 48px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 78% 30%, rgba(242, 90, 18, .22), transparent 70%), radial-gradient(40% 40% at 8% 90%, rgba(185, 67, 12, .16), transparent 70%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 1%, rgba(5, 5, 5, .55) 26%, transparent 55%), radial-gradient(70% 60% at 20% 88%, rgba(5, 5, 5, .7), transparent 70%); }
.hero-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 2.2s var(--ease) .7s; }
.is-ready .hero-bg canvas, .no-js .hero-bg canvas { opacity: 1; }
.hero-inner { width: 100%; max-width: var(--max); margin-inline: auto; position: relative; }
.pill { display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px 9px 14px; border-radius: 999px; position: relative; border: 1px solid var(--line-2); background: rgba(243, 237, 228, .05); font-size: .9rem; color: var(--bone-2); margin-bottom: clamp(20px, 3.4vh, 36px); }
.pill::before, .pill::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.pill::after { position: absolute; left: 14px; top: 50%; margin-top: -3.5px; opacity: 0; animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(4); opacity: 0; } }
.hero h1 { max-width: 15ch; }
.hero h1 .serif { display: block; margin-top: .06em; max-width: 20ch; font-size: .78em; line-height: .96; color: var(--bone); }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(28px, 5vh, 56px); flex-wrap: wrap; }
.hero-foot .lede { font-size: clamp(1.02rem, 1.1vw + .6rem, 1.22rem); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: clamp(28px, 5vh, 52px); padding-top: 20px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--bone-3); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { width: 1px; height: 30px; background: linear-gradient(var(--orange), transparent); transform-origin: 0 0; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* hero entrance choreography */
.js [data-hero] { opacity: 0; transform: translateY(22px); }
.is-ready [data-hero] { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: calc(.85s + var(--h, 0) * 110ms); }

/* text reveal --------------------------------------------------------------- */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .05em .16em 0; margin: 0 -.05em -.16em 0; }
.js [data-split] .wi { display: inline-block; transform: translateY(115%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.15s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0ms)); }
.js [data-split].in .wi { transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.scrub .sw { opacity: .16; transition: opacity .5s; }
.scrub .sw.on { opacity: 1; }

/* services ------------------------------------------------------------------ */
.js .svc { opacity: 0; transform: translateY(46px); }
.js .svc.in { opacity: 1; transform: none; }
.svc-list { display: flex; gap: 14px; height: clamp(540px, 52vw, 700px); }
.svc {
  --tint: rgba(242, 90, 18, .3); --mx: 50%; --my: 50%;
  position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: clamp(22px, 2.4vw, 34px); border-radius: 30px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); background: linear-gradient(170deg, rgba(243, 237, 228, .05), rgba(243, 237, 228, .008) 60%), var(--ink-2);
  contain: layout style;
  transition: flex-grow .85s var(--ease), border-color .5s, transform 1s var(--ease), opacity 1s;
}
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px circle at var(--mx) var(--my), var(--tint), transparent 62%); opacity: .0; transition: opacity .6s; }
.svc::after { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%; z-index: -1; background: radial-gradient(50% 60% at 50% 100%, var(--tint), transparent 70%); opacity: .55; transition: opacity .8s; }
.svc:hover, .svc:focus-visible { flex-grow: 1.75; border-color: rgba(242, 90, 18, .5); }
.svc:hover::before, .svc:focus-visible::before { opacity: 1; }
.svc:hover::after { opacity: 1; }
.svc-1 { --tint: rgba(242, 90, 18, .34); }
.svc-2 { --tint: rgba(255, 138, 60, .3); }
.svc-3 { --tint: rgba(185, 67, 12, .5); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.svc-tag { font-size: .85rem; color: var(--bone-3); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.svc-go { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .5s, border-color .5s, color .5s, transform .8s var(--ease); }
.svc:hover .svc-go { background: var(--orange); border-color: var(--orange); color: #150800; transform: rotate(45deg); }
.svc:hover .svc-go .ico-arrow { transform: none; }
.svc-art { flex: 1; min-height: 0; display: grid; place-items: center; color: var(--bone); }
.gfx { width: min(100%, 300px); height: auto; overflow: visible; }
.gfx * { vector-effect: non-scaling-stroke; }
.svc h3 { font-size: clamp(1.8rem, 2.5vw, 2.7rem); margin-bottom: 14px; white-space: nowrap; }
.svc p { color: var(--bone-2); width: min(100%, 260px); font-size: .98rem; }
.svc-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 600; font-size: .95rem; }
.svc-cta::after { content: ""; height: 1px; width: 28px; background: var(--orange); transition: width .6s var(--ease); }
.svc:hover .svc-cta::after { width: 64px; }

[data-off], [data-off] *, [data-off] *::before, [data-off] *::after { animation-play-state: paused !important; }

/* svg draw + service graphics */
.js .d { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .in .d, .js.no-anim .d { animation: draw 1.7s var(--ease) forwards; animation-delay: calc(var(--n, 0) * 90ms + 200ms); }
.fill-o { fill: transparent; transition: fill .7s var(--ease); }
.svc:hover .fill-o { fill: var(--orange); }
.svc:hover .fill-o.soft { fill: rgba(242, 90, 18, .35); }
.cursor-web { animation: curweb 6s var(--ease) infinite alternate; transform-origin: 0 0; }
@keyframes curweb { 0% { transform: translate(0, 0); } 100% { transform: translate(-54px, 26px); } }
.ph { transform-box: fill-box; transform-origin: 50% 50%; transform: rotate(var(--rot, 0deg)); animation: floaty 7s ease-in-out infinite; }
.ph:nth-child(2) { animation-delay: -2.3s; } .ph:nth-child(3) { animation-delay: -4.6s; }
@keyframes floaty { 50% { transform: translateY(-7px) rotate(var(--rot, 0deg)); } }
.pulse { transform-box: fill-box; transform-origin: 50% 50%; animation: pulse 3.4s var(--ease) infinite; opacity: 0; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.bar { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(.15); transition: transform 1.2s var(--ease); transition-delay: calc(var(--n) * 70ms); }
.in .bar { transform: scaleY(1); }
.svc:hover .bar { transform: scaleY(1.12); }
.svc:hover .bar.hot { fill: var(--orange); }

/* about --------------------------------------------------------------------- */
.statement { font-size: clamp(2.2rem, 5.7vw, 6rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; max-width: 17ch; }
.statement .serif { display: block; margin-top: .12em; }
.about-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 100px); margin-top: clamp(70px, 10vw, 150px); align-items: center; }
.orbit-holder { display: grid; place-items: center; position: relative; min-height: 340px; }
.orbit-holder::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(242, 90, 18, .2), transparent 65%); }
.orbit { --s: clamp(220px, 30vw, 420px); width: var(--s); height: var(--s); perspective: 1000px; position: relative; }
.orbit-in { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--tx, -16deg)) rotateY(var(--ty, 0deg)); transition: transform 1.2s var(--ease); }
.orbit-spin { position: absolute; inset: 0; transform-style: preserve-3d; animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotateY(360deg); } }
.orbit i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(242, 90, 18, .6); transform: rotateY(calc(var(--k) * 20deg)); }
.orbit i.lat { border-color: rgba(243, 237, 228, .22); transform: rotateX(90deg) translateZ(calc(var(--s) * var(--z))) scale(var(--sc)); }
.orbit i.lat.eq { border-color: rgba(243, 237, 228, .4); }
.pillars { border-top: 1px solid var(--line); }
.pillar { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: baseline; padding: clamp(20px, 2.6vw, 32px) 0; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: padding .7s var(--ease); }
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(242, 90, 18, .18), transparent 70%); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease); }
.pillar:hover { padding-left: 22px; }
.pillar:hover::before { transform: scaleX(1); }
.pillar h3 { font-size: clamp(1.7rem, 3.2vw, 3.1rem); }
.pillar p { color: var(--bone-2); font-size: .98rem; max-width: 34ch; }

/* pricing ------------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); align-items: stretch; perspective: 1400px; }
.plan {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; padding: clamp(26px, 2.8vw, 40px); border-radius: 30px; isolation: isolate;
  background: linear-gradient(160deg, rgba(243, 237, 228, .08), rgba(243, 237, 228, .015) 55%), rgba(14, 11, 9, .86);
  border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift, 0px)); transform-style: preserve-3d;
  transition: transform .6s var(--ease), box-shadow .6s, border-color .5s;
  box-shadow: 0 30px 70px -40px #000;
}
.plan:hover { --lift: -10px; border-color: transparent; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 30px 80px -50px var(--glow); }
.plan::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1; background: conic-gradient(from var(--a), transparent 0 60%, var(--orange) 80%, var(--orange-2) 88%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .6s; animation: rot 5s linear infinite paused; }
.plan:hover::before { animation-play-state: running; }
.plan:hover::before, .plan.feat::before { opacity: 1; }
@keyframes rot { to { --a: 360deg; } }
.plan::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(242, 90, 18, .16), transparent 60%); opacity: 0; transition: opacity .5s; }
.plan:hover::after { opacity: 1; }
.plan.feat { background: linear-gradient(160deg, rgba(242, 90, 18, .16), rgba(243, 237, 228, .02) 55%), rgba(14, 10, 8, .7); }
.plan-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; min-height: 34px; }
.plan-name { font-family: var(--serif); font-style: italic; font-size: 2.3rem; line-height: 1; }
.badge { font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--orange); color: #150800; }
.plan-desc { color: var(--bone-2); font-size: .96rem; min-height: 3.1em; margin-bottom: 22px; }
.price { display: flex; align-items: baseline; gap: 4px; font-size: clamp(2.7rem, 4.4vw, 4.2rem); font-weight: 700; letter-spacing: -.055em; line-height: 1; transform: translateZ(30px); }
.price sup { font-size: .5em; font-weight: 500; letter-spacing: 0; color: var(--bone-2); align-self: flex-start; margin-top: .18em; }
.price small { font-size: .9rem; font-weight: 400; letter-spacing: 0; color: var(--bone-3); margin-left: 8px; }
.plan hr { border: 0; height: 1px; background: var(--line); margin: 28px 0; }
.feats { display: grid; gap: 14px; margin-bottom: 34px; flex: 1; align-content: start; }
.feats li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; color: var(--bone-2); line-height: 1.4; }
.feats li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: rgba(242, 90, 18, .18) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23ff7d33' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M5 9.4l2.6 2.6L13 6.4'/></svg>") center / 100% no-repeat; }
.feats li.no { color: var(--bone-3); }
.feats li.no::before { background: rgba(243, 237, 228, .07) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23887f75' stroke-width='1.8' stroke-linecap='round'><path d='M5.5 9h7'/></svg>") center / 100% no-repeat; }
.feats li.hl { color: var(--bone); }
.plan .btn { width: 100%; }
.plans-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; margin-top: clamp(28px, 4vw, 44px); }
.pill-note { padding: 16px 28px; border-radius: 999px; background: var(--bone); color: #150800; font-weight: 600; font-size: .98rem; }
.plans-foot .up { color: var(--orange-2); font-size: 2rem; transform: rotate(-3deg); }
.plans-note { margin-top: 34px; color: var(--bone-3); font-size: .92rem; text-align: center; }

/* cta ----------------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(110px, 16vw, 220px) var(--pad); text-align: center; border-top: 1px solid var(--line); }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg canvas { width: 100%; height: 100%; opacity: .9; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 55%, rgba(5, 5, 5, .78), transparent 75%), linear-gradient(var(--ink), transparent 25%, transparent 75%, var(--ink)); }
.cta h2 { max-width: 15ch; margin-inline: auto; }
.cta h2 .serif { display: block; font-size: .72em; margin-top: .14em; max-width: 22ch; margin-inline: auto; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: clamp(36px, 5vw, 60px); }
.btn-xl { padding: 26px 48px; font-size: 1.15rem; }
.cta-links { display: flex; gap: 8px 28px; flex-wrap: wrap; justify-content: center; color: var(--bone-2); font-size: .98rem; }
.cta-links a { border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.cta-links a:hover { color: var(--orange-2); border-color: var(--orange); }

/* footer -------------------------------------------------------------------- */
.foot { border-top: 1px solid var(--line); padding: clamp(60px, 8vw, 110px) var(--pad) 0; overflow: hidden; background: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 40px; }
.foot p { color: var(--bone-2); max-width: 32ch; margin-top: 20px; font-size: .98rem; }
.foot h4 { font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--bone-3); margin-bottom: 18px; }
.foot li + li { margin-top: 10px; }
.foot li a { color: var(--bone-2); transition: color .3s, padding .5s var(--ease); display: inline-block; }
.foot li a:hover { color: var(--orange-2); padding-left: 6px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(50px, 7vw, 90px); padding: 22px 0; border-top: 1px solid var(--line); color: var(--bone-3); font-size: .88rem; }
.foot-mark { font-size: 15.6vw; font-weight: 800; letter-spacing: -.065em; line-height: .78; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(243, 237, 228, .13); margin-top: 10px; user-select: none; transform: translateY(6%); }

/* ==========================================================================
   Service pages
   ========================================================================== */
.phero { position: relative; min-height: 92svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 160px var(--pad) clamp(40px, 7vh, 80px); overflow: hidden; isolation: isolate; }
.crumbs { display: flex; gap: 10px; align-items: center; color: var(--bone-3); font-size: .9rem; margin-bottom: 26px; }
.crumbs a { transition: color .3s; } .crumbs a:hover { color: var(--orange-2); }
.crumbs i { width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
.phero h1 { font-size: clamp(2.7rem, 7.4vw, 7.6rem); letter-spacing: -.048em; line-height: .93; max-width: 14ch; }
.phero h1 .serif { display: block; font-size: .8em; margin-top: .05em; max-width: 18ch; }
.phero .lede { margin-top: clamp(24px, 4vh, 40px); font-size: clamp(1.02rem, 1.1vw + .6rem, 1.2rem); }
.phero .hero-cta { margin-top: 30px; }

.big-line { font-size: clamp(1.9rem, 4vw, 4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; }
.points { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.points li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.points b { font-size: 1.25rem; letter-spacing: -.02em; }
.points span { color: var(--bone-2); font-size: .98rem; }

.steps { --cols: 4; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-2); }
.steps::after { background: linear-gradient(90deg, var(--orange), var(--orange-2)); transform-origin: 0 50%; transform: scaleX(1); transition: transform 2.2s var(--ease-io) .2s; box-shadow: 0 0 14px var(--orange); }
.js .steps::after { transform: scaleX(0); }
.js .steps.in::after { transform: scaleX(1); }
.step { position: relative; padding: 54px 30px 0 0; }
.step::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--ink); border: 1px solid var(--orange); box-shadow: 0 0 0 5px var(--ink); }
.step .n { display: block; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--orange-2); margin-bottom: 8px; }
.step h3 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); margin-bottom: 14px; }
.step p { color: var(--bone-2); font-size: .96rem; max-width: 30ch; }

.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(30px, 6vw, 100px); border-top: 1px solid var(--line); }
.cap { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease), color .3s; }
.cap:hover { padding-left: 16px; }
.cap b { font-size: 1.35rem; letter-spacing: -.025em; font-weight: 600; transition: color .3s; }
.cap:hover b { color: var(--orange-2); }
.cap span { color: var(--bone-3); font-size: .92rem; text-align: right; max-width: 24ch; }


.mini-plans { border-top: 1px solid var(--line); }
.mini { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 24px; align-items: center; padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); position: relative; isolation: isolate; overflow: hidden; transition: padding .6s var(--ease); }
.mini::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(242, 90, 18, .16), transparent 75%); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease); }
.mini:hover { padding-inline: 20px; } .mini:hover::before { transform: scaleX(1); }
.mini .plan-name { font-size: 2.1rem; }
.mini .mp { font-size: clamp(1.7rem, 2.6vw, 2.5rem); font-weight: 700; letter-spacing: -.045em; }
.mini p { color: var(--bone-2); font-size: .96rem; }

/* social: content calendar */
.cal-wrap { border: 1px solid var(--line); border-radius: 28px; padding: clamp(18px, 2.4vw, 32px); background: linear-gradient(170deg, rgba(243, 237, 228, .05), rgba(243, 237, 228, .008)), var(--ink-2); }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--bone-3); font-size: .88rem; flex-wrap: wrap; gap: 10px; }
.cal-key { display: flex; gap: 16px; flex-wrap: wrap; }
.cal-key span { display: inline-flex; align-items: center; gap: 7px; }
.cal-key i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(5px, .8vw, 10px); }
.cal .dn { text-align: center; font-size: .78rem; color: var(--bone-3); padding-bottom: 4px; }
.cal .c { aspect-ratio: 1 / 1.05; border-radius: clamp(8px, 1vw, 14px); background: rgba(243, 237, 228, .04); border: 1px solid var(--line); position: relative; overflow: hidden; }
.cal .c.k { background: var(--c); border-color: transparent; }
.js .cal .c.k { transform: scale(.6); opacity: 0; transition: transform .7s var(--ease), opacity .5s; transition-delay: calc(var(--n) * 38ms); }
.js .in .cal .c.k { transform: none; opacity: 1; }
.cal .c.k::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 20%; height: 2px; border-radius: 2px; background: rgba(0, 0, 0, .35); }
.t-reel { --c: var(--orange); } .t-car { --c: #f3ede4; } .t-story { --c: #b9430c; } .t-post { --c: #ffa066; }

/* ads: funnel, tests, audiences, chart */
.funnel { display: grid; gap: 10px; }
.fn { position: relative; height: clamp(74px, 8vw, 104px); border-radius: 22px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(18px, 2.4vw, 32px); overflow: hidden; background: linear-gradient(90deg, rgba(242, 90, 18, var(--o)), rgba(242, 90, 18, calc(var(--o) * .35))); border: 1px solid rgba(242, 90, 18, .3); width: var(--w); margin-inline: auto; transition: width 1.4s var(--ease); }
.js .funnel .fn { width: 40%; }
.js .funnel.in .fn { width: var(--w); transition-delay: calc(var(--n) * 140ms); }
.fn b { font-size: clamp(1.1rem, 1.8vw, 1.6rem); letter-spacing: -.03em; white-space: nowrap; }
.fn span { color: var(--bone-2); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tests { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 18px); }
.tst { border: 1px solid var(--line); border-radius: 22px; padding: clamp(10px, 1.4vw, 18px); background: var(--ink-2); position: relative; transition: border-color .5s, transform .8s var(--ease); }
.tst .ad-shot { aspect-ratio: 4 / 5; border-radius: 14px; background: var(--g); display: flex; align-items: flex-end; padding: 12px; font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.8rem); line-height: .95; color: var(--ink); }
.tst .m { margin-top: 14px; font-size: .82rem; color: var(--bone-3); display: flex; justify-content: space-between; }
.tst .m b { color: var(--bone); font-weight: 600; }
.tst .meter { height: 4px; border-radius: 4px; background: var(--line); margin-top: 10px; overflow: hidden; }
.tst .meter i { display: block; height: 100%; width: var(--v); background: var(--bone-3); transform-origin: 0 50%; transition: transform 1.5s var(--ease); transition-delay: calc(var(--n) * 120ms + 300ms); }
.js .tst .meter i { transform: scaleX(0); } .js .in .tst .meter i { transform: scaleX(1); }
.tst.win { border-color: var(--orange); transform: translateY(-10px); box-shadow: 0 30px 60px -30px var(--glow); }
.tst.win .meter i { background: var(--orange); }
.tst.win .tag { position: absolute; top: -13px; right: 16px; background: var(--orange); color: #150800; font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.aud { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.aud .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(242, 90, 18, .5); inset: calc((100% - var(--d)) / 2); width: var(--d); height: var(--d); animation: spin2 var(--t) linear infinite; }
.aud .ring::after { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--orange-2); box-shadow: 0 0 16px var(--orange); }
.aud .ring.r2 { animation-direction: reverse; border-color: rgba(243, 237, 228, .25); } .aud .ring.r2::after { background: var(--bone); box-shadow: 0 0 16px rgba(243, 237, 228, .6); }
@keyframes spin2 { to { transform: rotate(360deg); } }
.aud .core { position: absolute; inset: 39%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--orange-2), var(--burnt)); display: grid; place-items: center; text-align: center; color: #150800; font-weight: 700; font-size: clamp(.75rem, 1.3vw, 1rem); line-height: 1.1; box-shadow: 0 0 60px var(--glow); }
.chart { border: 1px solid var(--line); border-radius: 28px; padding: clamp(16px, 2vw, 28px); background: var(--ink-2); }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: var(--line); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-links a { padding: 9px 12px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan.feat { order: -1; }
  .mini { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; } .mini p { display: none; }
  .tests { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .caps { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-links, .nav-end > .btn { display: none; }
  .burger { display: block; }
  .nav { padding: 8px 8px 8px 18px; }
  .sec-head, .split, .about-body { grid-template-columns: 1fr; }
  .sec-head .lede { justify-self: start; }
  .svc-list { flex-direction: column; height: auto; }
  .svc { min-height: 430px; flex: none; } .svc:hover { flex-grow: 0; }
  .svc-art { min-height: 160px; }
  .pillar { grid-template-columns: 1fr; gap: 6px; }
  .steps { --cols: 1; }
  .steps::before, .steps::after { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: 50% 0; }
  .js .steps::after { transform: scaleY(0); } .js .steps.in::after { transform: scaleY(1); }
  .step { padding: 0 0 44px 44px; } .step p { max-width: 42ch; }
  .points li { grid-template-columns: 1fr; gap: 6px; }
  .hero-meta span:nth-child(2) { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 120px; }
  .hero h1 { max-width: 11ch; }
  .hero-foot { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { flex: 1; }
  .hero-meta { font-size: .8rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .foot-grid > :first-child { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; }
  .mini { grid-template-columns: 1fr auto; gap: 8px 16px; } .mini .btn { grid-column: 1 / -1; }
  .tests { gap: 8px; } .tst.win { transform: none; }
  .btn-xl { padding: 22px 34px; font-size: 1.05rem; width: 100%; }
  .cal .c.k::after { display: none; }
  .fn span { display: none; }
  .cap { flex-direction: column; gap: 4px; } .cap span { text-align: left; max-width: none; }
  .phero { min-height: 88svh; padding-top: 130px; }
}
@media (hover: none) {
  .glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .cursor-web, .ph, .pulse, .orbit-spin, .aud .ring, .hero-bg::before { animation: none !important; }
  .js [data-hero] { opacity: 1; transform: none; }
}
