:root {
  --navy: #0F1526;
  --navy-2: #161E36;
  --navy-3: #1F2948;
  --red: #E41C46;
  --lime: #81FF00;
  --white: #FFFFFF;
  --soft: #C9CEE3;
  --display: "Montserrat", "Arial Black", Arial, sans-serif;
  --body: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --mono: "Courier Prime", "Courier New", monospace;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--body);
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1.5px, transparent 1.6px);
  background-size: 14px 14px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--navy); padding: 8px 12px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15,21,38,0.94); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1; }
.logo .word { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: 0.06em; }
.logo .word b { background: var(--white); color: var(--navy); padding: 0 3px; font-weight: 700; }
.logo .sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.42em; margin-top: 5px; color: var(--soft); padding-left: 2px; }
.nav { display: flex; gap: clamp(14px, 2.4vw, 32px); align-items: center; }
.nav a { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; text-decoration: none; color: var(--soft); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-color: var(--lime); }
.nav a.btn-nav { color: var(--navy); background: var(--lime); padding: 8px 14px; border: 0; font-weight: 700; }
.nav a.btn-nav:hover { background: var(--white); }
.menu-toggle { display: none; background: none; border: 2px solid var(--soft); color: var(--white); font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; padding: 8px 12px; cursor: pointer; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--navy); border-bottom: 3px solid var(--red); padding: 8px var(--gutter) 18px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 15px; width: 100%; }
  .nav a.btn-nav { width: auto; margin-top: 10px; padding: 10px 16px; }
}

/* ---------- type ---------- */
.eyebrow { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; color: var(--lime); margin: 0 0 14px; }
h1, h2, h3 { text-wrap: balance; font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(44px, 7.4vw, 104px); font-weight: 800; }
h2 { font-size: clamp(32px, 4.4vw, 58px); font-weight: 800; }
h3 { font-size: clamp(21px, 1.9vw, 26px); font-weight: 700; line-height: 1.15; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(19px, 1.6vw, 24px); color: var(--soft); max-width: 40ch; }
.solo { font-weight: 700; color: var(--white); }
.accent { color: var(--lime); }
.red { color: var(--red); }

/* ---------- buttons ---------- */
.btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-block; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; font-size: 14px; font-weight: 700; text-decoration: none; padding: 15px 24px; border: 2px solid var(--white); color: var(--white); transition: background .15s, color .15s; }
.btn:hover { background: var(--white); color: var(--navy); }
.btn.lime { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.btn.lime:hover { background: var(--white); border-color: var(--white); }
.link { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; font-size: 14px; font-weight: 700; color: var(--lime); text-decoration: none; border-bottom: 2px solid var(--lime); padding-bottom: 3px; }
.link:hover { color: var(--white); border-color: var(--white); }

/* ---------- sections ---------- */
section { position: relative; }
.pad { padding: clamp(70px, 10vw, 140px) 0; }
.pad-s { padding: clamp(50px, 7vw, 90px) 0; }

/* hero */
.hero { min-height: calc(100vh - 76px); display: flex; align-items: center; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,21,38,0.97) 0%, rgba(15,21,38,0.88) 42%, rgba(15,21,38,0.45) 100%); }
.hero .shard { position: absolute; right: -6%; bottom: -10%; width: 46%; height: 60%; background: var(--red); clip-path: polygon(30% 0, 100% 12%, 100% 100%, 0 100%); opacity: 0.92; mix-blend-mode: multiply; }
.hero .wrap { position: relative; padding-top: 60px; padding-bottom: 80px; width: 100%; }
.hero h1 { max-width: 13ch; }
.hero .lead { margin-top: 26px; }
.hero.short { min-height: 0; }
.hero.short .wrap { padding-top: clamp(70px, 10vw, 130px); padding-bottom: clamp(50px, 7vw, 90px); }
.hero.short h1 { max-width: 14ch; font-size: clamp(42px, 6.4vw, 88px); }

/* angled red panel section */
.panel-red { background: var(--red); clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%); }
.panel-red .eyebrow { color: var(--navy); }
.panel-light { background: var(--navy-2); }

/* who we are */
.who .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.who p { font-size: clamp(19px, 1.5vw, 22px); }
@media (max-width: 860px) { .who .wrap { grid-template-columns: 1fr; } }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.tile { background: var(--navy-3); padding: 34px 30px 30px; border-top: 5px solid var(--lime); }
.tile:nth-child(2) { border-color: var(--red); }
.tile:nth-child(3) { border-color: var(--white); }
.tile h3 { margin-bottom: 16px; }
.tile h3 span { display: block; color: var(--soft); font-weight: 600; font-size: 0.8em; margin-top: 6px; }
.tile p { color: var(--soft); margin: 0; }
@media (max-width: 960px) { .tiles { grid-template-columns: 1fr; } }

/* red thread */
.thread { margin: 46px 0 10px; }
.thread svg { width: 100%; height: auto; overflow: visible; }
.thread text { font-family: var(--mono); font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--white); }
.panel-red .thread text { fill: var(--navy); }
.quote { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; border-left: 6px solid var(--lime); padding: 4px 0 4px 24px; margin: 40px 0; max-width: 34ch; }
.panel-red .quote { border-color: var(--navy); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* stages (how we work) */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.stage { border-top: 3px solid var(--red); padding-top: 18px; }
.stage .n { font-family: var(--mono); color: var(--lime); font-size: 13px; letter-spacing: 0.14em; }
.stage h3 { margin: 8px 0 12px; }
.stage p { color: var(--soft); margin: 0; }
@media (max-width: 960px) { .stages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .stages { grid-template-columns: 1fr; } }

/* project cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--navy-3); display: flex; flex-direction: column; }
.card .img { aspect-ratio: 4 / 3; background: var(--navy-2) center / cover no-repeat; position: relative; overflow: hidden; }
.card .img.ph { display: flex; align-items: flex-end; padding: 20px; background: linear-gradient(140deg, var(--navy-3), var(--navy)); }
.card .img.ph::before { content: ""; position: absolute; right: -10%; top: -10%; width: 70%; height: 80%; background: var(--red); clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 70%); opacity: .9; }
.card .img.ph span { position: relative; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.05; }
.card .tag { position: absolute; top: 14px; left: 14px; background: var(--lime); color: var(--navy); font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 8px; font-weight: 700; z-index: 2; }
.card .body { padding: 22px 22px 26px; }
.card h3 { font-size: 22px; }
.card .meta { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--lime); margin: 8px 0 12px; }
.card p { color: var(--soft); margin: 0; font-size: 17px; }
.home-grid .card .body { padding: 16px 18px 18px; }
.home-grid .card h3 { font-size: 19px; }
.home-grid .card .meta { margin-bottom: 0; }
@media (max-width: 960px) { .grid, .grid.two { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid, .grid.two { grid-template-columns: 1fr; } }

/* logos marquee */
.clients { border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 46px 0; overflow: hidden; }
.clients .eyebrow { text-align: center; color: var(--soft); }
.marquee { display: flex; width: max-content; animation: scroll 60s linear infinite; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2vw, 26px); white-space: nowrap; padding: 0 34px; color: var(--white); opacity: .9; display: flex; align-items: center; }
.marquee li::after { content: ""; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); margin-left: 68px; margin-right: -34px; }
.clients:hover .marquee { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .marquee ul[aria-hidden] { display: none; } .marquee ul { flex-wrap: wrap; justify-content: center; } .marquee li { padding: 6px 18px; } .marquee li::after { display: none; } }

/* scotland */
.scot .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.scot .big { font-family: var(--display); font-weight: 800; font-size: clamp(60px, 10vw, 150px); line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--lime); }
@media (max-width: 860px) { .scot .wrap { grid-template-columns: 1fr; } }

/* CTA */
.cta { background: var(--navy-2); text-align: left; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: -8%; top: 0; width: 34%; height: 100%; background: var(--red); clip-path: polygon(0 0, 70% 0, 100% 100%, 0 100%); opacity: .95; }
.cta .wrap { position: relative; display: grid; grid-template-columns: 0.42fr 1fr; gap: 30px; align-items: center; }
.cta h2 { color: var(--lime); max-width: 16ch; }
@media (max-width: 760px) { .cta::before { width: 100%; height: 18px; clip-path: none; } .cta .wrap { grid-template-columns: 1fr; } .cta .spacer { display: none; } }

/* founders */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); margin-top: 50px; }
.founder img { width: 100%; max-width: 320px; aspect-ratio: 1 / 1; object-fit: cover; border: 4px solid var(--red); filter: grayscale(1); margin-bottom: 22px; }
.founder .role { font-family: var(--mono); color: var(--lime); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin: 8px 0 18px; }
.founder p { color: var(--soft); }
.founder a { font-family: var(--mono); font-size: 14px; color: var(--white); }
@media (max-width: 860px) { .founders { grid-template-columns: 1fr; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 90px); }
.details dt { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; color: var(--lime); margin-top: 22px; }
.details dd { margin: 4px 0 0; font-size: 21px; }
.details a { text-decoration: none; border-bottom: 2px solid var(--red); }
form { display: grid; gap: 16px; }
label { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; color: var(--soft); display: grid; gap: 7px; }
input, textarea { font: inherit; font-family: var(--body); font-size: 18px; color: var(--white); background: var(--navy-3); border: 2px solid transparent; border-bottom-color: var(--soft); padding: 13px 14px; border-radius: 0; text-transform: none; letter-spacing: normal; }
input:focus, textarea:focus { outline: none; border-color: var(--lime); }
textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: 15px; color: var(--soft); }
.thanks { display: none; font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--lime); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* footer */
.site-footer { padding: 46px 0 40px; border-top: 4px solid var(--red); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.site-footer .small { font-family: var(--mono); font-size: 13px; color: var(--soft); letter-spacing: 0.04em; }
.site-footer .small a { color: var(--white); }

/* hero jigsaw pieces (brand assets) */
.hero .jig { position: absolute; inset: 0; pointer-events: none; }
.hero .jig img { position: absolute; width: clamp(160px, 22vw, 340px); height: auto; }
.hero .jig .j1 { right: 6%; top: 10%; transform: rotate(-8deg); }
.hero .jig .j2 { right: 22%; top: 42%; transform: rotate(12deg); width: clamp(120px, 15vw, 240px); }
.hero .jig .j3 { right: 2%; bottom: 6%; transform: rotate(-18deg); width: clamp(130px, 17vw, 260px); }
@media (max-width: 760px) { .hero .jig { opacity: .35; } .hero .jig .j2 { display: none; } }
.card .noimg { position: relative; height: 0; }
.card .noimg .tag { top: -6px; left: auto; right: 14px; }
.card { border-top: 4px solid var(--red); }

/* v2 tweaks */
.hero .shard { mix-blend-mode: normal; opacity: 1; }
.hero .piece { position: absolute; right: 9%; top: 16%; width: clamp(110px, 14vw, 210px); height: auto; transform: rotate(-10deg); pointer-events: none; }
@media (max-width: 760px) { .hero .piece { width: 90px; right: 4%; top: 10px; opacity: .5; } }
.tagline { font-size: clamp(17px, 1.75vw, 24px); color: var(--white); letter-spacing: 0.08em; line-height: 1.35; max-width: 48ch; border-left: 5px solid var(--lime); padding-left: 16px; margin-bottom: 28px; }
.thread text { font-size: 16px; }
@media (max-width: 600px) { .thread text { font-size: 26px; letter-spacing: 0.04em; } .thread svg { min-width: 0; } }
/* v3 tweaks */
.hero.short .shard { height: 55% !important; }
.hero .piece { top: 7%; width: clamp(96px, 11vw, 168px); }
.tagline { color: var(--lime); font-size: clamp(15px, 1.4vw, 19px); }
.hero:not(.short) h1 { font-size: clamp(38px, 5.8vw, 82px); }
.hero .jig .j2 { right: 18%; top: 46%; }
.eyebrow.big { font-size: 16px; }
.quote { color: var(--red); font-family: var(--mono); font-weight: 700; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.35; letter-spacing: 0.01em; }
.solo.accent { color: var(--lime); }

.cta h2 { color: var(--white); }

/* v4: images + hero showcase */
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.hero .slides { position: absolute; inset: 0; overflow: hidden; }
.hero .slide { position: absolute; inset: -2%; background-size: cover; background-position: center; opacity: 0; animation: heroFade 42s linear infinite; }
.hero .slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(15,21,38,0.96) 0%, rgba(15,21,38,0.86) 38%, rgba(15,21,38,0.55) 70%, rgba(15,21,38,0.4) 100%); }
@keyframes heroFade { 0% { opacity: 0; transform: scale(1.08); } 3% { opacity: 1; } 16.6% { opacity: 1; } 20% { opacity: 0; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero .slide { animation: none; } .hero .slide:first-child { opacity: 1; } }
@media (max-width: 760px) { .hero .slides::after { background: rgba(15,21,38,0.82); } }

/* v5 logo */
.logo-img { height: 46px; width: auto; display: block; }
.site-footer .logo-img { height: 40px; }
@media (max-width: 600px) { .site-header .logo-img { height: 36px; } }

/* v6 founders photo */
.founders-photo { margin: 30px 0 0; max-width: 980px; }
.founders-photo img { width: 100%; height: auto; border: 4px solid var(--red); }

/* v7 smaller founders photo */
.founders-photo { max-width: 520px; }

/* v8 founders photo centred, black and white */
.founders { grid-template-columns: 1fr minmax(240px, 0.8fr) 1fr; align-items: start; }
.founders .founders-photo { margin: 0; max-width: none; align-self: center; }
.founders .founders-photo img { filter: grayscale(1); }
@media (max-width: 960px) { .founders { grid-template-columns: 1fr; } .founders .founders-photo { max-width: 420px; } }

/* v9 keep red frame */
.founders .founders-photo { border: 4px solid var(--red); line-height: 0; }
.founders .founders-photo img { border: 0; }

/* v10 founders photo centred above bios */
.founders { grid-template-columns: 1fr 1fr; }
.founders-photo { margin: 30px auto 10px; max-width: 520px; border: 4px solid var(--red); line-height: 0; }
.founders-photo img { filter: grayscale(1); border: 0; width: 100%; height: auto; }
@media (max-width: 860px) { .founders { grid-template-columns: 1fr; } }

/* v11 home hero text */
.hero:not(.short) .solo { color: var(--red); }
.tagline { font-size: clamp(13px, 1.1vw, 16px); max-width: none; }
@media (min-width: 1000px) { .tagline { white-space: nowrap; } }
.hero:not(.short) .lead { font-size: clamp(17px, 1.3vw, 20px); max-width: 44ch; }

/* v12 bigger lime subheads + nat geo crossfade */
.eyebrow { font-size: 15px; }
.eyebrow.big { font-size: 17px; }
.founder .role { font-size: 16px; }
.card .meta { font-size: 14px; }
.stage .n { font-size: 15px; }
.card .img.fade3 img { position: absolute; inset: 0; opacity: 0; animation: fade3 15s linear infinite; }
.card .img.fade3 img:first-child { opacity: 1; }
@keyframes fade3 { 0% { opacity: 0; } 6% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .card .img.fade3 img { animation: none; opacity: 0; } .card .img.fade3 img:first-child { opacity: 1; } }

/* v13 showreel 8 slides + card crossfades */
.hero .slide { animation-duration: 56s; animation-name: heroFade8; }
@keyframes heroFade8 { 0% { opacity: 0; transform: scale(1.08); } 2.5% { opacity: 1; } 12.5% { opacity: 1; } 15% { opacity: 0; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.card .img.fade2 img { position: absolute; inset: 0; opacity: 0; animation: fade2 10s linear infinite; }
@keyframes fade2 { 0% { opacity: 0; } 8% { opacity: 1; } 50% { opacity: 1; } 58% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero .slide { animation: none; } .card .img.fade2 img { animation: none; opacity: 0; } .card .img.fade2 img:first-child { opacity: 1; } }

/* v14 founders: new photos, black and white, portrait, no border */
.founder img { aspect-ratio: 4 / 5; object-position: top; border: 0; filter: grayscale(1); }

/* v15 coming soon teasers */
.soon { margin-top: 70px; padding-top: 50px; border-top: 1px solid var(--navy-3); }
.soon-h { font-size: clamp(26px, 3vw, 38px); }
.soon-grid { margin-top: 30px; }
.soon-card .img.ph span:not(.tag) { color: var(--white); }
.soon-card .img.ph::after { content: ""; position: absolute; left: 22px; top: 54px; width: 22px; height: 22px; background: var(--lime); transform: rotate(45deg); }
.soon-cta { background: var(--red); border-top-color: var(--lime); justify-content: center; }
.soon-cta .body { padding: 34px 28px; }
.soon-cta h3 { font-size: 26px; color: var(--white); }
.soon-cta p { color: var(--white); margin: 10px 0 22px; }
.soon-cta .btn { display: inline-block; background: var(--lime); color: var(--navy); font-family: var(--mono); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; padding: 12px 18px; text-decoration: none; }
.soon-card .img.ph span.tag { position: absolute; top: 14px; left: 14px; font-family: var(--mono); font-size: 12px; font-weight: 700; line-height: normal; letter-spacing: 0.12em; }
.soon-cta .btn { border-color: var(--lime); }