/* Lachlan Brown Group — "Interlock"
   Brand: LB monogram (slate L #4E4E59, blue B #2171DD), indigo→electric gradient, Space Grotesk. */
:root {
  --indigo: #0a086e;
  --indigo-2: #08065a;
  --night: #05043a;
  --electric: #007cff;
  --blue: #2171dd;
  --slate: #4e4e59;
  --violet: #7a6cf0;
  --mist: #e6e6e7;
  --white: #ffffff;
  --ink: #0b0a2e;
  --ink-2: #4a4a63;
  --dim: #b9b8e6;
  --line: rgba(255, 255, 255, .14);
  --line-2: rgba(255, 255, 255, .3);
  --pline: rgba(11, 10, 46, .12);
  --sans: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mark: "Montserrat", "Space Grotesk", sans-serif;
  --wrap: 1360px;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --gradient: linear-gradient(167deg, #0a086e 5%, #007cff 99%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-weight: 400; font-size: 18px; line-height: 1.55; color: var(--white); background: var(--night); -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--electric); color: var(--white); }
:focus-visible { outline: 2px solid var(--electric); outline-offset: 4px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 16px; z-index: 100; background: var(--white); color: var(--indigo); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { left: 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 48px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Logo lockup ---------- */
.lockup { display: inline-flex; align-items: center; gap: 14px; color: var(--white); }
.lockup svg { width: 44px; height: auto; flex: none; }
.lockup__w { display: grid; justify-items: center; line-height: 1; }
.lockup__w b { font: 700 16px/1 var(--mark); letter-spacing: .02em; white-space: nowrap; }
.lockup__w i { display: block; width: 100%; height: 1.5px; background: currentColor; margin: 5px 0 4px; }
.lockup__w span { font: 600 9.5px/1 var(--mark); letter-spacing: .42em; margin-right: -.42em; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 26px; border-radius: 14px; font: 500 16px/1 var(--sans); letter-spacing: -.005em; overflow: hidden; isolation: isolate; border: 1px solid var(--line-2); color: var(--white); transition: border-color .3s, color .3s; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover { color: var(--indigo); border-color: var(--white); }
.btn:hover::before { transform: none; }
.btn--solid { background: var(--white); color: var(--indigo); border-color: var(--white); }
.btn--solid::before { background: var(--electric); }
.btn--solid:hover { color: var(--white); border-color: var(--electric); }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .4s, backdrop-filter .4s, transform .5s var(--ease); }
.header.is-scrolled { background: rgba(5, 4, 58, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.header.is-hidden { transform: translateY(-100%); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { position: relative; font-size: 15.5px; color: var(--dim); transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--electric); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover { color: var(--white); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { height: 46px; padding: 0 20px; font-size: 15px; color: var(--white); }
.nav .btn::after { display: none; }
.menu-btn { display: none; height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-2); background: none; color: var(--white); font: 500 15px/1 var(--sans); cursor: pointer; }
.mnav { display: none; }

/* ---------- Hero: the interlock ---------- */
.hero { position: relative; height: 420vh; background: var(--night); }
.hero__pin { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; background: var(--gradient); background-size: 180% 180%; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
.hero__pin canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.hero__fallback { position: absolute; right: 8vw; top: 50%; width: min(36vw, 520px); transform: translateY(-50%); display: none; filter: drop-shadow(0 40px 60px rgba(0, 0, 40, .45)); }
.no-gl .hero__fallback { display: block; }
.hero__intro { position: absolute; left: 0; right: 0; bottom: 0; top: 0; display: flex; align-items: flex-end; padding-bottom: 9vh; z-index: 2; pointer-events: none; }
.hero__intro .wrap { width: 100%; }
.hero__words { display: grid; font-weight: 300; font-size: clamp(56px, 9.6vw, 172px); line-height: .9; letter-spacing: -.04em; text-transform: uppercase; }
.hero__words span { display: block; animation: breathe 6s var(--ease) infinite; animation-delay: calc(var(--i) * 2s); }
.hero__words span:nth-child(2) { color: #b4a9ff; }
@keyframes breathe { 0%, 100% { font-weight: 300; } 18%, 32% { font-weight: 700; } 50% { font-weight: 300; } }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 44px; flex-wrap: wrap; }
.hero__lede { max-width: 520px; color: #dcdcf5; font-size: 19px; font-weight: 300; }
.hero__acts { display: flex; gap: 12px; pointer-events: auto; flex-wrap: wrap; }
.hero__scroll { position: absolute; right: 48px; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: right center; z-index: 2; display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.hero__scroll i { width: 70px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--white); animation: scrollhint 2.2s var(--ease) infinite; }
@keyframes scrollhint { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.hero__tag { position: absolute; z-index: 2; left: 0; top: 0; pointer-events: none; text-align: center; opacity: 0; will-change: transform, opacity; }
.hero__tag b { display: block; font-weight: 300; font-size: clamp(30px, 3.6vw, 60px); line-height: 1; letter-spacing: -.035em; }
.hero__tag span { display: block; margin-top: 10px; font-size: 15px; color: #dcdcf5; max-width: 300px; }
.hero__together { position: absolute; z-index: 2; left: 0; right: 0; bottom: 10vh; text-align: center; opacity: 0; pointer-events: none; }
.hero__together b { display: block; font-weight: 300; font-size: clamp(44px, 7vw, 120px); line-height: .95; letter-spacing: -.045em; text-transform: uppercase; }
.hero__together span { display: block; margin-top: 14px; color: #dcdcf5; font-size: 18px; }
.hero__exit { position: absolute; inset: 0; z-index: 3; background: var(--night); opacity: 0; pointer-events: none; }

/* ---------- Statement ---------- */
.statement { position: relative; height: 240vh; background: var(--night); }
.statement__pin { position: sticky; top: 0; height: 100vh; height: 100lvh; display: flex; align-items: center; }
.statement p { font-size: clamp(34px, 4.6vw, 78px); line-height: 1.08; letter-spacing: -.035em; font-weight: 300; max-width: 1250px; }
.statement .wd { display: inline-block; font-weight: var(--wt, 300); opacity: var(--op, .22); transition: font-weight .25s linear, opacity .25s linear; }
.statement .wd.k { color: var(--kc, #b4a9ff); }
.statement__foot { display: flex; gap: 48px; margin-top: 56px; color: var(--dim); font-size: 16px; flex-wrap: wrap; }
.statement__foot span { display: inline-flex; align-items: center; gap: 12px; }
.statement__foot span::before { content: ""; width: 26px; height: 2px; background: var(--c, var(--electric)); }

/* ---------- Ventures: pinned horizontal gallery ---------- */
.ventures { position: relative; background: var(--mist); color: var(--ink); }
.ventures__pin { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; display: flex; flex-direction: column; }
.ventures__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding-top: 120px; }
.ventures__head h2 { font-weight: 300; font-size: clamp(44px, 5.4vw, 92px); line-height: .95; letter-spacing: -.045em; }
.ventures__head h2 b { font-weight: 600; }
.ventures__count { font-size: 15px; color: var(--ink-2); display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.ventures__bar { width: 160px; height: 2px; background: var(--pline); position: relative; overflow: hidden; }
.ventures__bar i { position: absolute; inset: 0; background: var(--indigo); transform-origin: left; transform: scaleX(var(--vp, .2)); }
.ventures__track { display: flex; gap: 32px; padding: 48px 48px 0; margin-top: auto; margin-bottom: auto; will-change: transform; }
.venture { flex: none; width: min(1080px, 80vw); display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; background: var(--white); border-radius: 32px; padding: 48px; box-shadow: 0 40px 80px -50px rgba(11, 10, 46, .45); }
.venture__n { font-size: 15px; color: var(--ink-2); display: flex; justify-content: space-between; gap: 14px; }
.venture__n b { font-weight: 500; color: var(--c, var(--blue)); }
.venture h3 { font-weight: 600; font-size: clamp(38px, 4vw, 66px); line-height: .95; letter-spacing: -.045em; margin-top: 34px; }
.venture__line { font-size: 21px; font-weight: 500; letter-spacing: -.015em; margin-top: 18px; line-height: 1.3; }
.venture p.d { color: var(--ink-2); font-size: 16.5px; margin-top: 14px; }
.venture__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 22px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--pline); }
.venture__facts div b { display: block; font-weight: 600; font-size: 26px; letter-spacing: -.03em; line-height: 1; color: var(--c, var(--blue)); }
.venture__facts div span { display: block; font-size: 13px; color: var(--ink-2); margin-top: 6px; line-height: 1.3; }
.venture .btn { margin-top: 30px; color: var(--ink); border-color: var(--pline); }
.venture .btn::before { background: var(--c, var(--blue)); }
.venture .btn:hover { color: var(--white); border-color: var(--c, var(--blue)); }
.venture__shot { perspective: 1400px; }
.venture__shot figure { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(11, 10, 46, .6), 0 0 0 1px rgba(11, 10, 46, .08); transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)) scale(var(--sc, 1)); transform-origin: center; transition: transform .1s linear; background: var(--c, var(--indigo)); }
.venture__shot img { width: 100%; height: auto; aspect-ratio: 1024 / 520; object-fit: cover; object-position: left top; }
.venture__shot .scc { aspect-ratio: 1024 / 520; display: grid; place-items: center; background: #0069ff; }
.venture__shot .scc svg { width: 26%; }

/* ---------- Clients ---------- */
.clients { position: relative; background: var(--night); padding: 170px 0 150px; overflow: hidden; }
.clients__n { font-weight: 300; font-size: clamp(140px, 30vw, 520px); line-height: .78; letter-spacing: -.07em; background: linear-gradient(100deg, #7a6cf0, #007cff 40%, #ffffff 55%, #2171dd 70%, #0a086e); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 9s linear infinite; font-variant-numeric: tabular-nums; }
@keyframes sheen { from { background-position: 0% 0; } to { background-position: 300% 0; } }
.clients__row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-top: 30px; }
.clients__row h2 { font-weight: 300; font-size: clamp(34px, 3.6vw, 58px); line-height: 1; letter-spacing: -.04em; text-transform: uppercase; }
.clients__row p { color: var(--dim); max-width: 520px; justify-self: end; font-weight: 300; font-size: 19px; }

/* ---------- Contact ---------- */
.contact { position: relative; background: var(--gradient); background-size: 180% 180%; animation: drift 14s ease-in-out infinite alternate; padding: 170px 0 140px; overflow: hidden; }
.contact__mono { position: absolute; right: -6vw; bottom: -10vw; width: 48vw; opacity: .16; pointer-events: none; }
.contact h2 { font-weight: 300; font-size: clamp(54px, 8.4vw, 150px); line-height: .9; letter-spacing: -.05em; text-transform: uppercase; max-width: 1100px; }
.contact h2 b { font-weight: 700; }
.contact__mail { display: inline-flex; align-items: center; gap: 18px; margin-top: 60px; font-size: clamp(26px, 3.4vw, 54px); font-weight: 400; letter-spacing: -.035em; position: relative; padding-bottom: 10px; }
.contact__mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--white); transform-origin: left; transition: transform .6s var(--ease); }
.contact__mail:hover::after { transform: scaleX(.3); }
.contact__mail svg { width: .8em; height: .8em; transition: transform .5s var(--ease); }
.contact__mail:hover svg { transform: translate(6px, -6px); }
.contact p { color: #dcdcf5; margin-top: 28px; max-width: 560px; font-weight: 300; font-size: 19px; }

/* ---------- Footer ---------- */
.footer { background: var(--night); padding: 90px 0 44px; color: var(--dim); font-size: 15.5px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer .lockup svg { width: 54px; }
.footer .lockup__w b { font-size: 19px; }
.footer .lockup__w span { font-size: 11px; }
.footer p { margin-top: 22px; max-width: 340px; font-weight: 300; }
.footer h3 { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 70px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14px; }

/* ---------- Legal pages ---------- */
.page { padding: 180px 0 120px; background: var(--night); }
.page h1 { font-weight: 300; font-size: clamp(48px, 7vw, 110px); line-height: .92; letter-spacing: -.05em; text-transform: uppercase; }
.page__body { display: grid; grid-template-columns: 300px 1fr; gap: 70px; margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--line); }
.page__body aside { color: var(--dim); font-size: 15px; }
.page__body aside a { color: var(--white); border-bottom: 1px solid var(--line-2); }
.prose { max-width: 760px; color: #d5d5ee; font-weight: 300; }
.prose h2 { font-weight: 500; font-size: 28px; letter-spacing: -.025em; color: var(--white); margin: 54px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-weight: 500; font-size: 19px; color: var(--white); margin: 30px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose a { color: var(--white); border-bottom: 1px solid var(--line-2); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--white); mix-blend-mode: difference; pointer-events: none; z-index: 90; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease); opacity: 0; }
.cursor.on { opacity: 1; }
.cursor.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .12s; } .js .reveal[data-d="2"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .mnav { display: block; position: fixed; inset: 84px 0 0; z-index: 59; background: var(--night); padding: 24px 24px 40px; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .4s var(--ease), visibility .3s; }
  .menu-open .mnav { opacity: 1; visibility: visible; transform: none; }
  .menu-open .header { background: var(--night); }
  .mnav a { display: block; font-weight: 300; font-size: 46px; letter-spacing: -.04em; text-transform: uppercase; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mnav .btn { display: inline-flex; margin-top: 30px; font-size: 16px; text-transform: none; letter-spacing: 0; border-bottom: 1px solid var(--white); }
  .venture { grid-template-columns: 1fr; width: 86vw; gap: 30px; padding: 32px; }
  .venture__shot { order: -1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .page__body { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .header__in { height: 70px; }
  .mnav { inset: 70px 0 0; }
  .lockup svg { width: 36px; }
  .lockup__w b { font-size: 13.5px; }
  .lockup__w span { font-size: 8px; }
  .hero { height: 380vh; }
  .hero__intro { padding-bottom: 6vh; }
  .hero__scroll { display: none; }
  .hero__lede { font-size: 17px; }
  .hero__acts { width: 100%; }
  .hero__acts .btn { flex: 1; justify-content: center; }
  .hero__fallback { right: 50%; top: 30%; transform: translate(50%, -50%); width: 60vw; }
  .statement { height: 200vh; }
  /* Phones: ventures stack vertically, no horizontal pin */
  .ventures__pin { position: static; height: auto; overflow: visible; }
  .ventures__head { padding-top: 100px; }
  .ventures__count { display: none; }
  .ventures__track { flex-direction: column; padding: 40px 20px 100px; transform: none !important; }
  .venture { width: 100%; padding: 22px; border-radius: 24px; }
  .venture h3 { margin-top: 22px; }
  .venture__facts { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .venture__facts div b { font-size: 21px; }
  .venture .btn { width: 100%; justify-content: center; }
  .clients { padding: 120px 0 100px; }
  .clients__row { grid-template-columns: 1fr; gap: 24px; }
  .clients__row p { justify-self: start; }
  .contact { padding: 120px 0 100px; }
  .contact__mail { font-size: 24px; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .page { padding: 130px 0 90px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero { height: auto; }
  .hero__pin { position: relative; height: 100vh; }
  .statement { height: auto; padding: 140px 0; }
  .statement__pin { position: static; height: auto; }
  .statement .wd { --wt: 400; --op: 1; }
  .js .reveal { opacity: 1; transform: none; }
}
.ventures__head { width: 100%; }

@media (max-width: 760px) {
  .hero__acts { flex-direction: column; }
  .hero__acts .btn { width: 100%; justify-content: center; flex: none; }
  .hero__tag span { display: none; }
  .hero__tag b { font-size: 34px; }
}

/* Header + mobile-menu buttons: keep their own padding and a legible hover */
.nav .btn:hover { color: var(--indigo); border-color: var(--white); }
.mnav .btn { height: 56px; padding: 0 26px; border: 1px solid var(--line-2); border-radius: 14px; font: 500 16px/1 var(--sans); }
.mnav .btn:hover { color: var(--indigo); }
