/* ctrl studio. The studio's own look is dark with a signal-orange key. */
@property --ink { syntax: "<color>"; inherits: true; initial-value: #f1efe9; }
@property --muted { syntax: "<color>"; inherits: true; initial-value: #8f8b82; }
@property --accent { syntax: "<color>"; inherits: true; initial-value: #ff5a1f; }
:root { transition: --ink var(--t-xxslow) var(--ease-out), --muted var(--t-xxslow) var(--ease-out), --accent var(--t-xxslow) var(--ease-out); }
:root {
  --bg: #0f0f0e; --ink: #f1efe9; --muted: #8f8b82; --line: rgba(241,239,233,.14); --accent: #ff5a1f;
  --display: "Geist", system-ui, sans-serif; --display-weight: 600; --display-style: normal; --display-stretch: 100%; --display-track: -0.045em;
  --sans: "Geist", system-ui, sans-serif; --mono: "Geist Mono", ui-monospace, monospace;

  --t-xfast: 100ms; --t-fast: 200ms; --t-normal: 300ms; --t-slow: 400ms; --t-xslow: 500ms; --t-xxslow: 800ms;
  --ease-out: cubic-bezier(.15, 1, .35, 1);
  --ease-in-out: cubic-bezier(.65, 0, 0, 1);
  --ease-in: cubic-bezier(.8, 0, 1, 1);
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}
@media (prefers-reduced-motion: reduce) {
  :root { --t-xfast: 0ms; --t-fast: 0ms; --t-normal: 0ms; --t-slow: 0ms; --t-xslow: 0ms; --t-xxslow: 0ms; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }
kbd {
  font: 500 .78em/1 var(--mono); padding: .32em .5em .38em; border-radius: 6px;
  border: 1px solid var(--line); border-bottom-width: 3px; background: rgba(255,255,255,.04);
}
.label { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: .7em; vertical-align: 1px; box-shadow: 0 0 0 0 var(--accent); animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }

/* Layers */
.wipe { position: fixed; inset: 0; z-index: 0; pointer-events: none; clip-path: circle(0% at 50% 50%); }
/* Grain: still, and laid over plainly (an animated, blended layer over the whole page made
   the browser repaint everything on every frame) */
.grain {
  position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .foot, .top { position: relative; z-index: 1; }

/* Click ring (fine pointers only) */
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  /* every click sends out a small ring from the pointer */
  .click-ring {
    position: fixed; left: 0; top: 0; z-index: 60; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
    border: 1.5px solid #fff; mix-blend-mode: difference; pointer-events: none; opacity: 0;
  }
  .click-ring.go { animation: click-ring 520ms var(--ease-out); }
  @keyframes click-ring { from { opacity: .9; scale: .3; } to { opacity: 0; scale: 1.5; } }
}

/* Header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; justify-content: space-between;
  padding: max(14px, env(safe-area-inset-top)) var(--gutter) 14px;
  mix-blend-mode: difference; color: #fff;
}
.mark { display: inline-flex; align-items: center; gap: .55em; text-decoration: none; font: 600 18px/1 var(--sans); letter-spacing: -0.03em; }
.mark-key {
  font: 500 12px/1 var(--mono); letter-spacing: 0; padding: 6px 8px 8px; border-radius: 7px;
  border: 1px solid currentColor; border-bottom-width: 3px;
  transition: translate var(--t-xfast) var(--ease-out), border-bottom-width var(--t-xfast) var(--ease-out);
}
.ctrl-down .mark-key { translate: 0 2px; border-bottom-width: 1px; }
.nav { display: flex; gap: clamp(16px, 3vw, 32px); }
.nav a { white-space: nowrap; text-decoration: none; font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor; scale: 0 1; transform-origin: right; transition: scale var(--t-slow) var(--ease-out); }
.nav a:hover::after { scale: 1 1; transform-origin: left; }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #0f0f0e; color: #f1efe9; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
/* A soft shade behind the headline so it reads over the floating keys */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10,10,9,.7) 0%, rgba(10,10,9,.25) 30%, transparent 50%);
}
.hero-copy, .scroll-cue { z-index: 1; }
.hero-copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(72px, 12vh, 120px); pointer-events: none; }
.hero-title {
  margin: 18px 0 0; font: 600 clamp(48px, 9.6vw, 168px)/.92 var(--sans); letter-spacing: -0.055em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.swap { font-style: normal; color: var(--accent); display: inline-block; position: relative; transition: color var(--t-normal) var(--ease-out); }
.swap .ch { display: inline-block; }
/* On a press the word is "selected": a bar of the new colour sweeps over it, then the new word rises in */
.swap::before {
  content: ""; position: absolute; inset: .12em -.06em .04em; z-index: -1; border-radius: .06em; background: var(--accent);
  scale: 0 1; transform-origin: right; transition: scale 220ms var(--ease-out);
}
.swap.sel::before { scale: 1 1; transform-origin: left; transition-duration: 170ms; }
.swap.sel { color: #0f0f0e; transition: color 90ms; }
.hero-hint { margin: 22px 0 0; font: 400 14px/1.4 var(--mono); color: #8f8b82; }
.hint-mouse { display: none; }
@media (pointer: fine) { .hint-mouse { display: inline; } .hint-touch { display: none; } }
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: clamp(72px, 12vh, 120px); display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8f8b82; text-decoration: none;
  writing-mode: vertical-rl;
}
.scroll-cue i { width: 1px; height: 56px; background: linear-gradient(#8f8b82 50%, transparent 50%) 0 0 / 1px 200% ; }
@media (prefers-reduced-motion: no-preference) { .scroll-cue i { animation: drip 1.8s var(--ease-in-out) infinite; } }
@keyframes drip { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* Entrance: lines rise once the page is ready */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-title .line > span { translate: 0 105%; transition: translate 1.1s var(--ease-out); }
  .js .hero-title .line:nth-child(2) > span { transition-delay: .09s; }
  .js .hero .label, .js .hero-hint, .js .scroll-cue { opacity: 0; transition: opacity var(--t-xxslow) var(--ease-out) .5s; }
  .js.ready .hero-title .line > span { translate: 0 0; }
  .js.ready .hero .label, .js.ready .hero-hint, .js.ready .scroll-cue { opacity: 1; }
  .swap.in .ch { animation: ch-in 560ms var(--ease-out) backwards; animation-delay: calc(var(--i) * 24ms); }
  .js .hero .scroll-cue { transition: opacity var(--t-xxslow) var(--ease-out) .5s, scale 280ms var(--ease-out); }
}
@keyframes ch-in { from { translate: 0 75%; opacity: 0; filter: blur(5px); } }

/* Pressing things on the opening screen: a quick firm dip and a crisp return, like a key */
.nav a, .mark { transition: scale 280ms var(--ease-out); }
.nav a:active, .mark:active, .js .hero .scroll-cue:active { scale: .9; transition-duration: 60ms; }
.mark:active .mark-key { translate: 0 2px; border-bottom-width: 1px; }

/* Intro: the words fill in as you scroll */
.intro { padding: clamp(120px, 24vh, 260px) var(--gutter); }
.intro-text { margin: 0; max-width: 22ch; font: 500 clamp(30px, 5.2vw, 84px)/1.04 var(--sans); letter-spacing: -0.04em; }
.js .intro-text .w { opacity: .16; transition: opacity var(--t-normal) linear; }
.js .intro-text .w.lit { opacity: 1; }

/* More, contact, footer */

/* Also made by us: three real sites, small */
.made { padding: clamp(80px, 14vh, 160px) var(--gutter) 0; border-top: 1px solid var(--line); }
.made-title { margin: 18px 0 0; font: 600 clamp(34px, 4.6vw, 72px)/.95 var(--sans); letter-spacing: -0.045em; }
.made-cards { margin-top: clamp(28px, 4vh, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.made-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.made-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 16px; border: 1px solid var(--line); margin-bottom: 10px; transition: translate var(--t-normal) var(--ease-out), border-color var(--t-normal); }
.made-card:hover img { translate: 0 -4px; border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.mc-name { font: 600 20px/1.1 var(--sans); letter-spacing: -0.02em; }
.mc-kind { font: 400 13px/1.3 var(--mono); color: var(--muted); }
.mc-kind i { font-style: normal; color: var(--accent); }
@media (max-width: 820px) { .made-cards { grid-template-columns: 1fr; } }

/* Prices: three keys */
.prices { padding: clamp(100px, 18vh, 200px) var(--gutter) 0; }
.prices-title { margin: 18px 0 0; font: 600 clamp(40px, 6.4vw, 104px)/.95 var(--sans); letter-spacing: -0.05em; }
.plans { margin-top: clamp(40px, 6vh, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.plan {
  position: relative; padding: clamp(22px, 2.4vw, 32px); border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--line); border-bottom: 6px solid rgba(255,255,255,.1);
  transition: translate var(--t-fast) var(--ease-out), border-bottom-width var(--t-fast) var(--ease-out), border-color var(--t-normal);
}
.plan:hover { translate: 0 4px; border-bottom-width: 2px; border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.plan-key { position: absolute; top: clamp(22px, 2.4vw, 32px); right: clamp(22px, 2.4vw, 32px); font-size: 13px; }
.plan:hover .plan-key { color: var(--accent); }
.plan h3 { margin: 0; font: 500 13px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.price { margin: 18px 0 0; display: flex; flex-direction: column; gap: 6px; }
.price b { font: 600 clamp(44px, 4.6vw, 72px)/1 var(--sans); letter-spacing: -0.05em; }
.price span { font: 400 14px/1.3 var(--mono); color: var(--accent); }
.plan > p:last-child { margin: 22px 0 0; color: color-mix(in srgb, var(--ink) 75%, transparent); font-size: 16px; }
.prices-small { margin: 28px 0 0; max-width: 62ch; color: var(--muted); font-size: 15px; }
.price b small { font: 500 14px/1 var(--mono); letter-spacing: .04em; color: var(--muted); vertical-align: .9em; margin-right: .2em; }
/* Local Start: a band under the plans that opens its page */
.local-band {
  margin-top: clamp(28px, 4vh, 44px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 24px;
  padding: clamp(22px, 2.4vw, 32px); border-radius: 22px; text-decoration: none; color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-bottom: 6px solid color-mix(in srgb, var(--accent) 55%, transparent);
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 16%, transparent), rgba(255,255,255,.02) 60%);
  transition: translate var(--t-fast) var(--ease-out), border-bottom-width var(--t-fast) var(--ease-out);
}
.local-band:hover { translate: 0 4px; border-bottom-width: 2px; }
.local-band .label { grid-column: 1 / -1; }
.lb-title { grid-column: 1; font: 600 clamp(26px, 3.2vw, 48px)/1 var(--sans); letter-spacing: -0.04em; }
.lb-title em { font-style: normal; color: var(--accent); }
.lb-text { grid-column: 1; color: color-mix(in srgb, var(--ink) 75%, transparent); font-size: 16px; }
.lb-go { grid-column: 2; grid-row: 2 / span 2; align-self: center; font: 500 14px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; padding: 16px 20px; border-radius: 99px; background: var(--accent); color: #0f0f0e; }
.lb-go i { font-style: normal; display: inline-block; transition: translate var(--t-normal) var(--ease-out); }
.local-band:hover .lb-go i { translate: 4px 0; }
@media (max-width: 620px) { .local-band { grid-template-columns: 1fr; } .lb-go { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; } }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }

.contact { padding: clamp(100px, 20vh, 220px) var(--gutter); text-align: left; }
.contact-title { margin: 18px 0 0; font: 600 clamp(56px, 12vw, 220px)/.9 var(--sans); letter-spacing: -0.06em; }
.copy {
  margin-top: 44px; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; padding: 18px 24px 18px 18px; border-radius: 18px;
  font: 500 clamp(17px, 2vw, 24px)/1.2 var(--sans); letter-spacing: -0.02em; color: var(--ink); background: rgba(255,255,255,.04);
  border: 1px solid var(--line); cursor: pointer; position: relative;
  transition: background-color var(--t-fast), border-color var(--t-fast), scale var(--t-fast) var(--ease-out);
}
.copy:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.24); }
.copy:active, .copy.pressed { scale: .98; }
.copy .keys { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.copy .keys b { font-weight: 400; }
.copy kbd { font-size: 13px; transition: translate var(--t-xfast), border-bottom-width var(--t-xfast); }
.copy.pressed kbd { translate: 0 2px; border-bottom-width: 1px; }
.copy-done { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.contact-small { margin: 26px 0 0; color: var(--muted); font-size: 15px; }
.contact-small kbd { font-size: 12px; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 28px var(--gutter) max(28px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font: 400 12px/1.4 var(--mono); letter-spacing: .04em; color: var(--muted); }

/* Phones */
@media (max-width: 820px) {
  .scroll-cue { display: none; }
  .hero-copy { bottom: max(48px, 9vh); }
}

/* Showrooms: "What kind of business do you run?", one key per type (Zak's call, 30 Nov 2026) */
.types { padding: clamp(60px, 10vh, 120px) var(--gutter) 0; }
.types-title { margin: 18px 0 0; max-width: 14ch; font: 600 clamp(40px, 6.4vw, 104px)/.95 var(--sans); letter-spacing: -0.05em; }
.types-small { margin: 22px 0 0; max-width: 40ch; color: var(--muted); font-size: 17px; }
.types { padding-bottom: clamp(40px, 8vh, 100px); }
/* The live showroom: a big card with its drone clip playing inside */
.type-feature {
  position: relative; display: flex; align-items: flex-end; margin-top: clamp(36px, 6vh, 64px); min-height: clamp(420px, 72svh, 760px);
  border-radius: 26px; overflow: hidden; isolation: isolate; text-decoration: none; color: #fff; background: #1d2a20;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-bottom: 6px solid color-mix(in srgb, var(--accent) 60%, transparent);
  transition: translate var(--t-fast) var(--ease-out), border-bottom-width var(--t-fast) var(--ease-out);
}
.tf-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease-out); }
.tf-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(10 14 11 / .85) 0%, rgb(10 14 11 / .35) 45%, rgb(10 14 11 / .1) 100%); }
.type-feature > kbd { position: absolute; top: clamp(20px, 2vw, 28px); left: clamp(20px, 2vw, 28px); font-size: 13px; color: #fff; border-color: rgb(255 255 255 / .5); background: rgb(0 0 0 / .25); }
.tf-copy { display: flex; flex-direction: column; gap: 14px; max-width: 640px; padding: clamp(22px, 3vw, 44px); }
.tf-label { color: #f3d9a4; }
.tf-name { font: 600 clamp(44px, 7vw, 112px)/.92 var(--sans); letter-spacing: -0.05em; }
.tf-what { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; color: rgb(255 255 255 / .85); }
.tf-go { align-self: flex-start; margin-top: 6px; font: 500 14px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; padding: 16px 20px; border-radius: 99px; background: var(--accent); color: #0f0f0e; }
.tf-go i { display: inline-block; font-style: normal; transition: translate var(--t-normal) var(--ease-out); }
.type-feature:hover { translate: 0 4px; border-bottom-width: 2px; }
.type-feature:hover .tf-video { scale: 1.03; }
.type-feature:hover .tf-go i { translate: 4px 0; }
.type-feature:active { translate: 0 6px; border-bottom-width: 1px; transition-duration: 60ms; }
.soon-label { margin-top: clamp(36px, 6vh, 56px); }
.type-keys { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.type-key {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 250px; padding: clamp(20px, 2vw, 28px); border-radius: 22px; text-decoration: none; color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--line); border-bottom: 6px solid rgba(255,255,255,.1);
  transition: translate var(--t-fast) var(--ease-out), border-bottom-width var(--t-fast) var(--ease-out), border-color var(--t-normal), background var(--t-normal);
}
.type-key kbd { align-self: flex-start; font-size: 13px; }
.tk-name { margin-top: auto; font: 600 clamp(24px, 2.2vw, 32px)/1.02 var(--sans); letter-spacing: -0.04em; }
.tk-what { font-size: 14px; line-height: 1.45; color: color-mix(in srgb, var(--ink) 65%, transparent); }
.tk-go { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.tk-go i { display: inline-block; font-style: normal; transition: translate var(--t-normal) var(--ease-out); }
a.type-key { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
a.type-key:hover { translate: 0 4px; border-bottom-width: 2px; border-color: var(--accent); background: linear-gradient(180deg, rgba(255,90,31,.12), rgba(255,90,31,.03)); }
a.type-key:hover .tk-go i { translate: 4px 0; }
a.type-key:active { translate: 0 6px; border-bottom-width: 1px; transition-duration: 60ms; }
a.type-key:hover kbd, a.type-key:focus-visible kbd { color: var(--accent); }
.type-key.soon { opacity: .5; }
.type-key.soon .tk-go { color: var(--muted); }
@media (max-width: 1100px) { .type-keys { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .type-keys { grid-template-columns: 1fr; } .type-key { min-height: 0; } .type-key.soon { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; } .type-key.soon .tk-name { margin-top: 0; font-size: 20px; } .type-key.soon .tk-what { display: none; } .type-key.soon kbd { align-self: center; } }
/* Pressing a showroom key: the page fills with that showroom's colour from where you pressed, then it opens */
.leave { position: fixed; inset: 0; z-index: 99; pointer-events: none; clip-path: circle(0% at var(--x, 50%) var(--y, 50%)); transition: clip-path 650ms var(--ease-in-out); }
.leave.go { clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); }
@media (max-width: 560px) { .nav { gap: 14px; } .nav a[href="#contact"], .nav-long { display: none; } }
