/* Infinite Power. One stylesheet for every page.
   To change the accent colour, change --accent (and --accent-ink if the new colour is dark). */

:root {
  --accent: #F2B544;
  --accent-ink: #15110A;
  --bg: #0B0B0E;
  --bg-raised: #111116;
  --text: #F2F0EC;
  --muted: #A9A69F;
  --hair: rgba(255, 255, 255, .1);
  --hair-strong: rgba(255, 255, 255, .16);
  --glass: rgba(255, 255, 255, .035);
  --radius: 20px;
  --wrap: 1140px;
  --bar-h: 56px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; }
img, video { height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.035em; line-height: 1.06; text-wrap: balance; }
h1, h2 { font-size: clamp(32px, 6vw, 58px); }
h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
ul, ol { margin: 0; padding: 0; }
.plain { list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.section { padding-block: clamp(64px, 9vw, 112px); position: relative; }
.section[id], #calculator { scroll-margin-top: var(--bar-h); }

.eyebrow, .tag {
  margin: 0 0 14px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4;
  color: var(--muted);
}
.eyebrow { color: var(--accent); }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); margin: 20px 0 0; max-width: 46em; }
.center .lead { margin-inline: auto; }
.fine { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin: 18px 0 0; max-width: 60em; }
.center .fine { margin-inline: auto; }
.arrow { color: var(--accent); font-weight: 700; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 14px 28px; margin-top: 28px;
  background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 750; font-size: 16.5px; letter-spacing: -.01em; line-height: 1.2; text-decoration: none;
  transition: transform .25s ease, opacity .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: .9; }
.btn-sm { min-height: 38px; padding: 8px 14px; margin: 0; font-size: 13px; white-space: nowrap; }
.btn-lg { min-height: 58px; padding: 16px 34px; font-size: 18px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--hair-strong); }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }

/* Cards: dark glass */
.card {
  background: var(--glass);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.card-pad { padding: 26px 24px; }
.grid { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 680px) {
  .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 940px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid { gap: 20px; }
}
@media (min-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.chips li {
  padding: 8px 15px; border: 1px solid var(--hair-strong); border-radius: 999px;
  font-size: 14.5px; line-height: 1.3; color: var(--text); background: var(--glass);
}
.chips a { text-decoration: none; }
.chips a:hover { text-decoration: underline; }
.chips-left { justify-content: flex-start; }

/* ---------- Top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 14, .93);
  border-bottom: 1px solid var(--hair);
}
.bar-in {
  width: min(100% - 28px, var(--wrap)); margin-inline: auto; height: var(--bar-h);
  display: flex; align-items: center; gap: 10px;
}
.wordmark { font-size: 16.5px; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; margin-right: auto; line-height: 1; }
.wordmark span { font-weight: 500; }
.wordmark b { font-weight: 850; }
.bar-links, .bar-social { display: none; }
.bar-links a { text-decoration: none; font-size: 15px; color: var(--muted); padding: 8px 4px; }
.bar-links a:hover { color: var(--text); }
.bar-social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; color: var(--muted); }
.bar-social a:hover { color: var(--text); }

.menu { position: relative; }
.menu summary {
  list-style: none; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; border-radius: 10px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px;
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px;
  display: flex; flex-direction: column; padding: 8px;
  background: #15151A; border: 1px solid var(--hair-strong); border-radius: 14px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .7);
}
.menu-panel a { padding: 12px 14px; text-decoration: none; border-radius: 8px; font-size: 16px; }
.menu-panel a:hover { background: rgba(255, 255, 255, .06); }

@media (max-width: 380px) {
  .bar-in { width: calc(100% - 20px); gap: 6px; }
  .wordmark { font-size: 15px; }
  .btn-sm { padding: 8px 11px; font-size: 12px; }
}
@media (min-width: 900px) {
  :root { --bar-h: 64px; }
  .bar-in { gap: 22px; width: min(100% - 40px, var(--wrap)); }
  .wordmark { font-size: 19px; margin-right: 0; }
  .bar-links { display: flex; gap: 22px; margin-inline: auto; }
  .bar-social { display: flex; gap: 2px; }
  .menu { display: none; }
  .btn-sm { min-height: 42px; padding: 10px 18px; font-size: 14.5px; }
}

/* ---------- Hero: the phone ---------- */
.hero { position: relative; background: radial-gradient(120% 60% at 50% 0%, #15151B 0%, var(--bg) 70%); }
.hero-pin {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 20px 16px;
}
/* Behind the phone: fine gold rings spreading out to the edges, and a soft gold glow.
   They fill the sides of the hero without adding anything to read. */
.hero-pin::before, .hero-pin::after {
  content: ""; position: absolute; left: 50%; top: 50%; pointer-events: none; z-index: 0;
  width: 190vmax; height: 190vmax; margin: -95vmax 0 0 -95vmax; border-radius: 50%;
}
.hero-pin::before {
  background: repeating-radial-gradient(circle at 50% 50%, rgba(242, 181, 68, 0) 0, rgba(242, 181, 68, 0) 83px, rgba(242, 181, 68, .13) 84px, rgba(242, 181, 68, 0) 85px);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0, rgba(0, 0, 0, .55) 16%, transparent 38%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0, rgba(0, 0, 0, .55) 16%, transparent 38%);
  transform: scale(calc(1 + var(--hp, 0) * .22));
}
.hero-pin::after {
  background: radial-gradient(circle at 50% 50%, rgba(242, 181, 68, .17) 0, rgba(242, 181, 68, .05) 12%, rgba(242, 181, 68, 0) 24%);
}
.hero-pin > * { position: relative; z-index: 1; }
/* The offer in one line, then the area. */
.hero-copy { text-align: center; max-width: 30em; }
.hero-sub { margin: 0; font-size: clamp(18px, 4.6vw, 22px); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; color: #fff; text-wrap: balance; }
.hero-place { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: var(--accent); }
.hero-scroll {
  display: none; margin: 0; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.hero-scroll::after { content: ""; display: block; width: 1px; height: 14px; margin: 6px auto 0; background: var(--hair-strong); }

/* The phone takes nearly the full height of the screen. --pw is its width; everything on it scales from that. */
/* On narrow screens the phone shares the screen with the line above it, so it gives up the height that needs. */
.phone-wrap {
  --pw: min(340px, 78vw, calc((100vh - 250px) * .4615));
  position: relative; perspective: 1500px;
}
@supports (height: 100svh) {
  .phone-wrap { --pw: min(340px, 78vw, calc((100svh - 250px) * .4615)); }
}
@media (max-width: 899px) and (max-height: 760px) {
  /* Short screens: the scroll cue goes, so the phone can stay a readable size. */
  .js:not(.reduce-motion) .hero-pin .hero-scroll { display: none; }
  .phone-wrap { --pw: min(340px, 78vw, calc((100vh - 210px) * .4615)); }
  @supports (height: 100svh) {
    .phone-wrap { --pw: min(340px, 78vw, calc((100svh - 210px) * .4615)); }
  }
}
@media (min-width: 900px) {
  /* Wide screens: the phone in the middle, the offer to its left (centred on the phone), the scroll cue to its right. */
  .hero-pin {
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: "copy phone scroll";
    align-items: center; gap: 0; padding: 20px 28px;
  }
  .phone-wrap { grid-area: phone; }
  .hero-copy { justify-self: end; width: 12.5em; max-width: calc(100% - 12px - clamp(32px, 4.5vw, 76px)); margin: 0 clamp(32px, 4.5vw, 76px) 0 12px; text-align: left; font-size: clamp(20px, 2.15vw, 30px); }
  .hero-copy { grid-area: copy; align-self: center; }
  .hero-sub { font-size: 1em; line-height: 1.12; letter-spacing: -.03em; }
  .hero-place { margin-top: 12px; font-size: 15px; }
  .hero-scroll { grid-area: scroll; justify-self: start; margin-left: clamp(52px, 6vw, 100px); }
  .phone-wrap { --pw: min(440px, calc((100vh - var(--bar-h) - 56px) * .4615)); }
  @supports (height: 100svh) {
    .phone-wrap { --pw: min(440px, calc((100svh - var(--bar-h) - 56px) * .4615)); }
  }
}
.phone {
  width: var(--pw); aspect-ratio: 9 / 19.5;
  padding: 3px; border-radius: calc(var(--pw) * .15);
  background: linear-gradient(145deg, #7A7A82 0%, #2A2A2F 16%, #8F8F97 36%, #1B1B1F 56%, #63636B 78%, #2B2B30 100%);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .6);
}
.phone-body {
  position: relative; height: 100%;
  padding: calc(var(--pw) * .028);
  border-radius: calc(var(--pw) * .15 - 3px);
  background: #050506;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
}
.phone-screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: calc(var(--pw) * .118);
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(242, 181, 68, .22);
  isolation: isolate;
}
.phone-island {
  position: absolute; z-index: 4; left: 50%; top: calc(var(--pw) * .06);
  width: 30%; height: calc(var(--pw) * .082); margin-left: -15%;
  background: #000; border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07);
}
/* Soft gold glow: one at the foot of the screen, a fainter one at the top. */
.phone-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(85% 42% at 50% 104%, rgba(242, 181, 68, .42) 0%, rgba(242, 181, 68, .12) 46%, rgba(242, 181, 68, 0) 76%),
    radial-gradient(70% 26% at 50% -6%, rgba(242, 181, 68, .16) 0%, rgba(242, 181, 68, 0) 72%);
}
.phone-glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 32%);
}
.phone-track {
  position: relative; z-index: 2; list-style: none; height: 100%;
  will-change: transform;
}
.slide {
  height: 100%; display: none; flex-direction: column; justify-content: center;
  padding: calc(var(--pw) * .2) calc(var(--pw) * .095) calc(var(--pw) * .14);
}
.slide:first-child { display: flex; }
.slide p { margin: 0; }
.slide-big { color: #fff; font-size: calc(var(--pw) * .124); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; text-wrap: balance; }
.slide-big::before {
  content: ""; display: block; width: calc(var(--pw) * .13); height: 3px; border-radius: 3px;
  margin-bottom: calc(var(--pw) * .075); background: var(--accent);
}
.phone-dots {
  display: none; position: absolute; top: 50%; right: -20px; transform: translateY(-50%);
  flex-direction: column; gap: 8px;
}
.phone-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--text); opacity: .22; transition: opacity .3s ease, transform .3s ease; }
.phone-dots span.is-on { opacity: 1; transform: scale(1.35); background: var(--accent); }

/* Plain list of the facts (no JavaScript, or reduced motion) */
.facts { list-style: none; width: min(100% - 40px, 560px); margin: 0 auto; padding: 8px 0 56px; display: grid; gap: 14px; }
.fact { padding: 22px 22px; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--glass); }
.fact p { margin: 0; }
.fact-big { font-size: 28px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }

/* Pinned sequence: JavaScript on, motion allowed */
.js:not(.reduce-motion) .hero { height: 300vh; }
.js.lite:not(.reduce-motion) .hero { height: 250vh; }
/* The pin sits just under the top bar and fills the rest of the screen, so the phone is centred
   in what you can actually see, from the first moment and all the way through. */
.js:not(.reduce-motion) .hero-pin {
  position: sticky; top: var(--bar-h); height: calc(100vh - var(--bar-h));
}
@supports (height: 100svh) {
  .js:not(.reduce-motion) .hero-pin { height: calc(100svh - var(--bar-h)); }
}
.js:not(.reduce-motion) .phone-track { height: 300%; }
.js:not(.reduce-motion) .slide { display: flex; height: calc(100% / 3); }
.js:not(.reduce-motion) .facts { display: none; }
.js:not(.reduce-motion) .hero-scroll { display: block; }
.js:not(.reduce-motion) .phone-dots { display: flex; }

/* ---------- Intro and reach ---------- */
.intro { padding-top: clamp(56px, 8vw, 96px); }
.intro .btn { margin-top: 30px; }
.handle { margin: 14px 0 0; font-size: 15px; }
.handle a { color: var(--muted); }
.handle a:hover { color: var(--text); }

.reach { border-block: 1px solid var(--hair); background: var(--bg-raised); padding-block: clamp(44px, 7vw, 76px); }
.reach-in { display: grid; gap: 22px; align-items: center; }
.reach .eyebrow { margin-bottom: 6px; }
.reach-num { margin: 0; font-size: clamp(54px, 11vw, 112px); font-weight: 850; letter-spacing: -.055em; line-height: .95; white-space: nowrap; }
.reach-text { margin: 0; color: var(--muted); font-size: clamp(17px, 2vw, 19px); max-width: 34em; }
@media (min-width: 860px) {
  .reach-in { grid-template-columns: auto 1fr; gap: 64px; }
}

/* ---------- Sound familiar ---------- */
.familiar .card { font-size: 18px; line-height: 1.45; font-weight: 600; letter-spacing: -.01em; }
.thought { margin: 56px 0 0; padding: 0 0 0 22px; border-left: 2px solid var(--accent); max-width: 820px; }
.thought .eyebrow { color: var(--muted); }
.thought blockquote { margin: 0; }
.thought blockquote p { margin: 0; font-size: clamp(24px, 4vw, 38px); font-weight: 750; letter-spacing: -.03em; line-height: 1.18; text-wrap: balance; }
.prose { margin-top: 36px; max-width: 42em; }
.prose p { color: var(--muted); font-size: 18px; }
.prose p:last-child { color: var(--text); font-weight: 600; margin-bottom: 0; }

/* ---------- Results ---------- */
.result h3 { font-size: 24px; }
.ba { margin: 20px 0 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; line-height: 1.05; }
.ba-before { font-size: 22px; font-weight: 700; color: var(--muted); letter-spacing: -.02em; }
.ba .arrow { font-size: 26px; }
.ba-after { font-size: clamp(34px, 4.6vw, 44px); font-weight: 850; letter-spacing: -.045em; }
.result p:not(.tag):not(.ba) { color: var(--muted); margin: 0; }
.result .result-extra { margin-top: 14px !important; padding-top: 14px; border-top: 1px solid var(--hair); color: var(--text) !important; font-weight: 600; font-size: 16px; }
.quotes { margin-top: 56px; align-items: start; }
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-size: 16.5px; line-height: 1.62; }
.quote figcaption { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hair); font-weight: 700; font-size: 15.5px; }

/* ---------- Portfolio carousel ---------- */
.work { overflow: hidden; }
/* --long is the long side of every card: the height of a vertical video, the width of a widescreen one.
   --maxw is set per card by the script: the video's real width on this screen. A card never goes past it. */
.carousel { margin-top: 44px; position: relative; --long: clamp(280px, min(46vw, 58vh), 500px); --cf-h: var(--long); }
.noscript-videos { display: grid; gap: 8px; }
.car-track {
  list-style: none; display: flex; align-items: center; gap: 16px;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain;
  padding-block: 18px;
}
.car-track::-webkit-scrollbar { display: none; }
.car-spacer { flex: 0 0 auto; height: 1px; }
.vcard {
  flex: 0 0 auto; scroll-snap-align: center; width: min(var(--w), var(--maxw, 100vw));
  opacity: .42; transform: scale(.94);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
}
.vcard.is-vertical { --w: calc(var(--long) * .5625); aspect-ratio: 9 / 16; }
.vcard.is-horizontal { --w: var(--long); aspect-ratio: 16 / 9; }
.vcard.is-ultrawide { --w: calc(var(--long) * 1.2); aspect-ratio: 1920 / 818; }
.vcard.is-centre { opacity: 1; transform: none; }
.vcard-media {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; cursor: pointer;
  background: #000; border: 1px solid var(--hair-strong); border-radius: 18px;
  box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .9);
}
.vcard-media picture, .vcard-media img, .vcard-media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.vcard-media img, .vcard-media video { object-fit: contain; }
.vcard-media video { opacity: 0; transition: opacity .35s ease; }
.vcard.is-playing .vcard-media video { opacity: 1; }
.vcard-shade { position: absolute; inset: 0; background: #060608; opacity: 0; pointer-events: none; }
.vcard-icon {
  position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: rgba(8, 8, 10, .72); border: 1px solid var(--hair-strong); color: var(--text);
}
.vcard.is-centre .vcard-icon { display: flex; }
.vcard-icon svg { width: 20px; height: 20px; }
.vcard-icon .ic-on, .vcard-icon .ic-play { display: none; }
.vcard.is-sound .ic-on { display: block; }
.vcard.is-sound .ic-off { display: none; }
.vcard.is-sound .vcard-icon { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.vcard.needs-play .ic-play { display: block; }
.vcard.needs-play .ic-off, .vcard.needs-play .ic-on { display: none; }
.vcard.needs-play .vcard-icon { right: 50%; bottom: 50%; transform: translate(50%, 50%); width: 60px; height: 60px; }

/* One label, under the front card, with room for two lines so it is never cut off and the buttons never jump. */
.car-caption { text-align: center; margin: 10px auto 0; padding-inline: 20px; max-width: 30em; min-height: 78px; }
.car-caption .tag { margin: 0 0 4px; color: var(--accent); }
.car-caption .car-label { margin: 0; font-size: 20px; font-weight: 750; letter-spacing: -.02em; line-height: 1.25; text-wrap: balance; overflow-wrap: anywhere; }
.car-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.car-arrow {
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--glass); border: 1px solid var(--hair-strong);
  transition: opacity .25s ease;
}
.car-arrow[disabled] { opacity: .3; cursor: default; }
.car-arrow svg { width: 18px; height: 18px; }
.car-dots { display: flex; gap: 2px; }
.car-dot { width: 24px; height: 32px; padding: 0; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.car-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--text); opacity: .25; transition: opacity .3s ease, transform .3s ease; }
.car-dot[aria-current="true"]::before { opacity: 1; background: var(--accent); transform: scale(1.3); }
.work-also { margin: 36px auto 0; text-align: center; color: var(--muted); max-width: 40em; }

/* The ring (desktop and tablet) and the coverflow (phones). The script places every card;
   the perspective here is what makes the far cards smaller. Only transform and opacity change. */
.is-ring .car-track {
  display: block; position: relative; overflow: visible; padding: 0; scroll-snap-type: none;
  height: calc(var(--long) + 96px);
  perspective: 1500px; perspective-origin: 50% 44%;
  touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none;
}
.is-ring.is-dragging .car-track { cursor: grabbing; }
.is-ring .vcard {
  position: absolute; left: 50%; top: 54%; opacity: 1; transition: none;
  transform: translate3d(-50%, -50%, 0); will-change: transform; backface-visibility: hidden;
}
.is-ring .vcard-media { cursor: inherit; }
.is-ring .vcard.is-centre .vcard-media { cursor: pointer; border-color: rgba(242, 181, 68, .5); }
.is-ring .vcard-media img { -webkit-user-drag: none; }
.is-ring .car-caption { margin-top: 4px; }
.is-coverflow .car-track { perspective: 900px; perspective-origin: 50% 50%; height: calc(var(--cf-h) + 28px); }
.is-coverflow .vcard { top: 50%; }

@media (max-width: 700px) {
  /* On phones each ratio gets the size that suits it, instead of one shared height. */
  .carousel { --cf-h: calc(min(62vw, 250px) * 1.7778); }
  .vcard.is-vertical { --w: min(62vw, 250px); }
  .vcard.is-horizontal, .vcard.is-ultrawide { --w: 84vw; }
  .car-track { gap: 12px; }
  .car-dot { width: 20px; }
  .car-caption { min-height: 84px; }
}

/* ---------- Pricing ---------- */
.tier { position: relative; display: flex; flex-direction: column; }
.tier h3 { font-size: 13px; letter-spacing: .16em; color: var(--muted); font-weight: 700; }
.price { margin: 14px 0 10px; font-size: 44px; font-weight: 850; letter-spacing: -.045em; line-height: 1; }
.price span { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.tier-line { color: var(--text); font-weight: 600; margin: 0 0 16px; line-height: 1.4; }
.tier-start { border-color: var(--accent); background: rgba(255, 255, 255, .055); }
.badge {
  position: absolute; top: -13px; left: 22px; margin: 0; padding: 5px 11px; border-radius: 999px; line-height: 1.4;
  background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 800; letter-spacing: .14em;
}
.ticks, .marks { list-style: none; display: grid; gap: 10px; }
.ticks li, .marks li { position: relative; padding-left: 28px; color: var(--muted); font-size: 16px; line-height: 1.45; }
.ticks li::before, .marks-yes li::before {
  content: ""; position: absolute; left: 3px; top: .34em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.tier .ticks { margin-bottom: 26px; }
.tier .fine { margin: -10px 0 22px; }
/* The button always sits on the bottom edge of the card, so the four line up. */
.tier .btn { margin-top: auto; padding-inline: 6px; font-size: 15px; letter-spacing: -.015em; }
.tiers { grid-auto-rows: 1fr; } /* every card the same height, in one column, two or four */
.pricing-note { margin: 32px 0 0; color: var(--muted); max-width: 48em; }

/* ---------- Calculator ---------- */
.calc { background: var(--bg-raised); border-block: 1px solid var(--hair); }
/* Two columns: your sliders on the left, the running result down the right. One column on phones. */
.calc-grid { margin-top: 44px; display: grid; gap: 40px; }
@media (min-width: 940px) {
  .calc-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
  .calc-sliders { position: sticky; top: calc(var(--bar-h) + 24px); }
}
.calc-sliders { padding: 28px 24px 30px; display: grid; gap: 30px; }
@media (min-width: 940px) { .calc-sliders { padding: 32px 32px 34px; } }
.calc-col-title { margin: 0; }
.slider { display: flex; flex-direction: column; }
.slider + .slider { padding-top: 28px; border-top: 1px solid var(--hair); }
.slider-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.slider label { font-weight: 650; font-size: 16px; line-height: 1.35; max-width: 17em; }
.slider-val { flex: 0 0 auto; font-size: 30px; font-weight: 850; letter-spacing: -.04em; line-height: 1.1; color: var(--accent); white-space: nowrap; }
.slider-ends { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); }

/* The gold fill always ends at the centre of the thumb. --f is how far along the slider is (0 to 1),
   set by the script and, for the starting values, just below. The thumb's centre travels from half a
   thumb in to half a thumb short of the end, so the fill is worked out the same way. Because it is
   all percentages of the track, it stays right at any width without re-measuring. */
input[type="range"] {
  --f: .5;
  --thumb: 30px;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 44px; margin: 4px 0 2px; padding: 0; background: transparent; cursor: pointer; touch-action: pan-y;
}
#calc-videos { --f: .08696; }
#calc-hours { --f: .28571; }
#calc-rate { --f: .16667; }
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 6px;
  background: linear-gradient(90deg,
    var(--accent) 0,
    var(--accent) calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--f)),
    rgba(255, 255, 255, .16) calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--f)));
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .16); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  box-sizing: border-box; width: var(--thumb); height: var(--thumb); margin-top: -12px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent); box-shadow: 0 4px 14px rgba(0, 0, 0, .5);
}
input[type="range"]::-moz-range-thumb {
  box-sizing: border-box; width: var(--thumb); height: var(--thumb); border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent); box-shadow: 0 4px 14px rgba(0, 0, 0, .5);
}
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--text); outline-offset: 3px; }
input[type="range"]:focus-visible::-moz-range-thumb { outline: 2px solid var(--text); outline-offset: 3px; }

.calc-summary {
  margin: 0; max-width: 18em;
  font-size: clamp(25px, 3.1vw, 36px); font-weight: 800; letter-spacing: -.035em; line-height: 1.14; text-wrap: balance;
}
.calc-summary em { color: var(--accent); font-style: italic; white-space: nowrap; }
/* The result reads top to bottom along one line, like a route. */
.calc-flow { margin-top: 34px; }
.calc-row { position: relative; padding: 0 0 34px 34px; }
.calc-row:last-child { padding-bottom: 0; }
.calc-row::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg-raised); border: 2px solid var(--muted);
}
.calc-row::after { content: ""; position: absolute; left: 6px; top: 22px; bottom: 2px; width: 1px; background: var(--hair-strong); }
.calc-row:last-child::after { display: none; }
.calc-row .tag { margin: 0 0 6px; font-size: 12.5px; letter-spacing: .16em; }
.calc-num { margin: 0 0 8px; font-size: clamp(30px, 3.4vw, 40px); font-weight: 850; letter-spacing: -.04em; line-height: 1.05; }
.calc-row p:not(.calc-num) { color: var(--muted); margin: 0; max-width: 30em; }
.calc-row-plan::before { border-color: var(--accent); background: var(--accent); }
.calc-row-plan .tag, .calc-row-plan .calc-num { color: var(--accent); }
.calc-cap { margin-top: 10px !important; color: var(--text) !important; font-weight: 600; font-size: 15.5px; }
.calc-covers { margin: 44px 0 0; padding-top: 22px; border-top: 1px solid var(--hair); font-size: 15px; }
.calc .fine { margin-top: 10px; }

/* ---------- Method ---------- */
.step { position: relative; }
.step-n {
  display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; margin-bottom: 18px;
  border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font-weight: 800; font-size: 16px;
}
.step h3 { font-size: 22px; }
.step p { margin: 8px 0 0; color: var(--muted); }
.method-close { margin: 36px 0 0; font-size: clamp(18px, 2.2vw, 21px); max-width: 38em; }

/* ---------- Filter ---------- */
.filter .tag { margin-bottom: 18px; }
.tag-yes { color: var(--accent); }
.marks li { color: var(--text); font-size: 17px; }
.marks-no li { color: var(--muted); }
.marks-no li::before, .marks-no li::after {
  content: ""; position: absolute; left: 2px; top: .74em; width: 14px; height: 2px; background: var(--muted);
}
.marks-no li::before { transform: rotate(45deg); }
.marks-no li::after { transform: rotate(-45deg); }

/* ---------- About ---------- */
.about-in { display: grid; gap: 36px; align-items: start; }
.about-photo {
  position: relative; width: min(100%, 420px); margin-inline: auto;
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 36px 70px -34px rgba(0, 0, 0, .95);
  background: var(--bg-raised);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 22%, rgba(11, 11, 14, 0) 62%, rgba(11, 11, 14, .5) 100%);
}
.about-text h2 { font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 24px; }
.about-text > p { color: var(--muted); }
.about-all { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 28px 0 0; }
.about-all p { margin: 0; color: var(--muted); flex: 1 1 240px; font-size: 16px; }
.about-all .bubble {
  flex: 0 0 auto; padding: 9px 18px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; letter-spacing: -.01em; font-size: 16px;
}
@media (min-width: 880px) {
  .about-in { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 64px; }
  .about-photo { margin: 0; position: sticky; top: calc(var(--bar-h) + 28px); }
}

/* ---------- Final call to action and footer ---------- */
.final { background: radial-gradient(90% 80% at 50% 100%, #17171D 0%, var(--bg) 70%); border-top: 1px solid var(--hair); }
.foot { border-top: 1px solid var(--hair); padding: 44px 0 56px; color: var(--muted); font-size: 15.5px; }
.foot p { margin: 0 0 10px; }
.foot-brand { color: var(--text); font-size: 17px; }
.foot-brand .wordmark { font-size: 18px; }
.foot-links a { color: var(--text); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot .fine { font-size: 13.5px; margin-top: 18px; }

/* ---------- Simple pages: enquiry, privacy, not found ---------- */
.page { padding-block: clamp(40px, 7vw, 80px) clamp(64px, 9vw, 112px); }
.page h1 { font-size: clamp(32px, 5.4vw, 52px); }
.page .lead { font-size: 18px; }
.doc { max-width: 720px; }
.doc h2 { font-size: 23px; letter-spacing: -.02em; margin: 40px 0 10px; }
.doc p, .doc li { color: #CFCCC5; }
.doc ul { padding-left: 22px; display: grid; gap: 6px; margin-bottom: 1em; }
.doc a { color: var(--text); }
.back-links { display: flex; flex-wrap: wrap; gap: 12px; }
.back-links .btn { margin-top: 28px; }

/* Enquiry page: the form on the left, "What happens next" on the right. One column on phones. */
.enquiry-grid { display: grid; gap: 44px; margin-top: 36px; }
.enquiry-main { min-width: 0; }
@media (min-width: 980px) {
  .enquiry-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
  .next { position: sticky; top: calc(var(--bar-h) + 24px); }
}
.next { padding: 28px 24px; }
.next-title { font-size: 23px; letter-spacing: -.025em; }
.next-steps { display: grid; gap: 20px; margin-top: 24px; }
.next-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.next-steps .step-n { margin: 0; }
.next-steps h3 { font-size: 18px; margin-top: 6px; }
.next-steps p { margin: 4px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.next-audit { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--hair); font-weight: 600; font-size: 16px; line-height: 1.5; }

.form { max-width: 720px; }
.form-progress { margin: 0 0 22px; }
.form-progress p { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.form-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.form-bar span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(.5); transform-origin: left; transition: transform .4s ease; }
.form[data-step="2"] .form-bar span { transform: scaleX(1); }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.step-panel { display: grid; gap: 22px; }
.step-panel + .step-panel { margin-top: 48px; }
.step-title { font-size: 26px; letter-spacing: -.03em; }
.step-title:focus { outline: none; }
.step-sub { margin: -12px 0 0; color: var(--muted); }
.field { display: grid; gap: 8px; }
.field > label, .group > legend { font-weight: 650; font-size: 16px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 15px;
  font: inherit; font-size: 16.5px; color: var(--text);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--hair-strong); border-radius: 12px;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: #15151A; color: var(--text); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; border-radius: 12px; }
[aria-invalid="true"] { border-color: #FF8A7A !important; }
.err { margin: 0; color: #FF9C8E; font-size: 15px; font-weight: 600; }
.group { display: grid; gap: 10px; }
.group > legend { margin-bottom: 10px; }
.choices { display: grid; gap: 10px; }
.choices-row { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 16px;
  border: 1px solid var(--hair-strong); border-radius: 12px; background: rgba(255, 255, 255, .04);
  font-size: 16.5px; line-height: 1.3;
}
.choice span::before { content: ""; flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted); }
.choice input:checked + span { border-color: var(--accent); background: rgba(255, 255, 255, .08); }
.choice input:checked + span::before { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 45%, transparent 50%); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.choices-2 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
/* Tick boxes: a square marker instead of the round one. */
.choice-check span::before { border-radius: 5px; }
.choice-check input:checked + span::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px #1B1B20; }
.choice-wide span { align-items: flex-start; }
.choice-wide span::before { margin-top: 2px; }
.field-row { display: grid; gap: 22px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; } }
.type-extra { display: grid; gap: 22px; }
.note { margin: 0; padding: 14px 16px; border-left: 2px solid var(--accent); background: rgba(255, 255, 255, .04); border-radius: 0 12px 12px 0; font-weight: 600; }
.platforms { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.platform span { flex-direction: column; justify-content: center; gap: 8px; height: 100%; min-height: 92px; padding: 12px 8px; font-size: 14.5px; line-height: 1.25; text-align: center; }
.platform svg { flex: 0 0 auto; }
.platform span::before { display: none; }
.platform svg { width: 26px; height: 26px; }
.platform input:checked + span { color: var(--accent); }
.social-more { display: grid; gap: 18px; }
.hint { margin: 0; color: var(--muted); font-size: 15px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-actions .btn { margin-top: 0; flex: 1 1 240px; }
.form-actions .btn-back { flex: 0 0 auto; }
.form-legal { margin: 4px 0 0; font-size: 14.5px; color: var(--muted); }
.form-status { margin: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid #FF8A7A; color: #FFD2CB; background: rgba(255, 138, 122, .08); font-weight: 600; }
.hp { display: none !important; }
.sent { max-width: 720px; padding: 32px 26px; }
.sent h2 { font-size: clamp(24px, 3.6vw, 32px); line-height: 1.2; }
.sent h2:focus { outline: none; }
.sent p { margin: 18px 0 0; color: var(--muted); }
.sent a { color: var(--text); }
/* Without JavaScript the form cannot send, so it is replaced by a note. */
html:not(.js) .form { display: none; }
.needs-js-note { margin: 0; padding: 22px; max-width: 720px; }

/* ---------- The phone's movement (only while the fx switch in js/boot.js is on) ----------
   The script turns the phone a few degrees as the page scrolls and, with a mouse, lets it lean
   slightly towards the pointer. The reflection slides across the glass as it turns. */
.fx .phone { transform: rotateY(-8deg); transition: transform .3s ease-out; will-change: transform; }
.fx .phone-glare {
  left: -70%; right: -70%;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, .11) 45%, rgba(255, 255, 255, .03) 51%, rgba(255, 255, 255, 0) 60%);
  transform: translate3d(-18%, 0, 0); transition: transform .3s ease-out; will-change: transform;
}

/* ---------- Changing backgrounds (only while the fx switch is on) ----------
   A fixed layer behind the whole page. Two pictures cross-fade as the section changes.
   --bg-strength is how strongly the pictures show: 0 is off, 1 is full. */
.bgfx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; --bg-strength: .5; }
.bgfx img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover;
  opacity: 0; transition: opacity 1.4s ease; will-change: opacity;
}
.bgfx img.is-on { opacity: var(--bg-strength); }
.bgfx-grain { position: absolute; inset: 0; background: url("../assets/img/bg/grain.png") 0 0 / 96px 96px; opacity: .5; }
.bgfx-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 45%, rgba(11, 11, 14, .18) 0%, rgba(11, 11, 14, .55) 60%, rgba(11, 11, 14, .9) 100%);
}
/* With pictures behind the page, the solid panels let a little through and the cards get a darker
   backing, so the text on them stays as readable as before. */
.has-bgfx .hero { background: none; }
.has-bgfx .reach, .has-bgfx .calc { background: rgba(17, 17, 22, .62); }
.has-bgfx .final { background: linear-gradient(180deg, rgba(11, 11, 14, 0) 0%, rgba(23, 23, 29, .7) 100%); }
.has-bgfx .card, .has-bgfx .fact { background: rgba(19, 19, 24, .8); }
.has-bgfx .tier-start { background: rgba(28, 27, 30, .86); }
.has-bgfx .chips li { background: rgba(19, 19, 24, .7); }

/* ---------- Scroll reveals (only while the fx switch in js/boot.js is on) ---------- */
.fx .rv { opacity: 0; transform: translate3d(0, 14px, 0); }
.fx .rv.is-in { opacity: 1; transform: none; transition: opacity .5s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }

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