:root {
  --ink: #111827;
  --ink-soft: #394154;
  --paper: #f4f1e8;
  --paper-deep: #e7e2d6;
  --white: #fffdf7;
  --acid: #d8ff57;
  --blue: #5b64ff;
  --coral: #ff735c;
  --line: rgba(17, 24, 39, 0.17);
  --radius: 24px;
  --shell: min(1240px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--acid); color: var(--ink); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px max(24px, calc((100vw - 1240px) / 2));
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-header.is-scrolled {
  padding-top: 13px;
  padding-bottom: 13px;
  background: rgba(244, 241, 232, .9);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 760; letter-spacing: -.02em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--ink);
  transform: rotate(-4deg);
}
.mark-shape {
  position: relative;
  display: block;
  width: 17px;
  height: 6px;
  border-radius: 999px;
  background: var(--acid);
  transform: rotate(-24deg);
}
.mark-shape::before,
.mark-shape::after {
  content: "";
  position: absolute;
  display: block;
}
.mark-shape::before {
  width: 6px;
  height: 17px;
  left: 10px;
  top: -8px;
  border-radius: 999px;
  background: var(--blue);
}
.mark-shape::after {
  width: 6px;
  height: 6px;
  left: -5px;
  top: 8px;
  border-radius: 50%;
  background: var(--coral);
}
.brand-name { font-size: 16px; }
.header-link { font-size: 13px; font-weight: 750; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.header-link span { display: inline-block; margin-left: 4px; transition: transform .2s ease; }
.header-link:hover span { transform: translate(3px, 3px); }

.hero {
  position: relative;
  min-height: 780px;
  height: min(920px, 100vh);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 4vw;
  width: var(--shell);
  margin: 0 auto;
  padding: 112px 0 54px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -150px;
  top: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 255, 87, .6), rgba(216, 255, 87, 0) 68%);
  filter: blur(20px);
}
.eyebrow { margin: 0 0 24px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { margin: 0 8px; color: var(--blue); }
.hero h1, .manifesto h2, .projects-heading h2, .coming-soon h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .91;
}
.hero h1 { font-size: clamp(64px, 7.8vw, 116px); }
h1 em, h2 em { color: var(--blue); font-weight: 400; }
.hero-intro { max-width: 610px; margin: 32px 0 0; color: var(--ink-soft); font-size: clamp(18px, 1.7vw, 23px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px 30px; margin-top: 39px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 56px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 800; }
.button-primary { background: var(--ink); color: var(--white); transition: transform .2s ease, background .2s ease; }
.button-primary:hover { transform: translateY(-3px); background: var(--blue); }
.button-primary span { font-size: 18px; }
.hero-art { position: relative; width: min(42vw, 500px); aspect-ratio: 1; justify-self: end; }
.orbit { position: absolute; border: 1px solid rgba(17, 24, 39, .18); border-radius: 50%; }
.orbit-one { inset: 6%; animation: spin 32s linear infinite; }
.orbit-one::before, .orbit-two::before { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.orbit-one::before { left: 8%; top: 16%; }
.orbit-two { inset: 24%; border-style: dashed; animation: spin-reverse 24s linear infinite; }
.orbit-two::before { right: -6px; top: 50%; background: var(--coral); }
.centre-mark { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 34px; background: var(--ink); transform: translate(-50%, -50%) rotate(-7deg); box-shadow: 0 25px 60px rgba(17, 24, 39, .2); }
.centre-mark .mark-shape { width: 48px; height: 16px; }
.centre-mark .mark-shape::before { width: 16px; height: 48px; left: 29px; top: -23px; }
.centre-mark .mark-shape::after { width: 16px; height: 16px; left: -14px; top: 23px; }
.art-card { position: absolute; z-index: 2; width: 145px; padding: 16px; border: 1px solid rgba(17, 24, 39, .15); border-radius: 16px; background: rgba(255, 253, 247, .82); box-shadow: 0 17px 38px rgba(17, 24, 39, .08); backdrop-filter: blur(10px); }
.art-card span { display: block; margin-bottom: 25px; color: var(--blue); font-size: 10px; font-weight: 850; }
.art-card strong, .art-card small { display: block; }
.art-card strong { font: 400 21px/1.15 Georgia, serif; }
.art-card small { margin-top: 4px; color: var(--ink-soft); font-size: 11px; }
.art-card-one { left: 0; top: 13%; transform: rotate(-5deg); }
.art-card-two { right: 0; top: 24%; transform: rotate(5deg); }
.art-card-three { left: 12%; bottom: 4%; transform: rotate(3deg); }

.section-shell { width: var(--shell); margin: 0 auto; }
.section-label { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-number { color: var(--blue); }
.manifesto { padding: 84px 0 140px; }
.manifesto-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12vw; padding-top: 70px; }
.manifesto h2, .projects-heading h2 { font-size: clamp(48px, 6vw, 86px); }
.manifesto-copy { padding-top: 5px; }
.manifesto-copy p { margin: 0 0 20px; color: var(--ink-soft); font-size: 19px; line-height: 1.65; }
.manifesto-copy p:first-child::first-letter { float: left; margin: 6px 8px 0 0; color: var(--blue); font: 400 54px/.7 Georgia, serif; }

.projects { padding-bottom: 130px; }
.projects-heading { display: grid; grid-template-columns: 1fr .64fr; align-items: end; gap: 8vw; padding: 68px 0 55px; }
.projects-heading > p { max-width: 480px; margin: 0 0 4px; color: var(--ink-soft); font-size: 18px; line-height: 1.6; }
.project-group { margin-top: 58px; }
.project-group + .project-group { margin-top: 86px; }
.project-group-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.project-group-heading p { margin: 0 0 9px; color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.project-group-heading h3 { margin: 0; font: 400 clamp(34px, 4vw, 50px)/1 Georgia, serif; letter-spacing: -.045em; }
.project-group-heading > span { max-width: 360px; color: var(--ink-soft); font-size: 13px; line-height: 1.5; text-align: right; }
.project-grid { display: grid; gap: 16px; }
.project-grid-development, .project-grid-shipped, .project-grid-concepts { grid-template-columns: repeat(2, 1fr); }
.project-card { position: relative; min-height: 570px; display: flex; flex-direction: column; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 253, 247, .5); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.project-card:hover { transform: translateY(-5px); background: var(--white); box-shadow: 0 24px 50px rgba(17, 24, 39, .08); }
.project-card-shipped { min-height: 500px; }
.project-card-shipped .project-icon { width: 78px; height: 78px; margin: 34px 0 28px; border-radius: 19px; }
.project-card-shipped .project-body h3 { font-size: clamp(31px, 2.7vw, 40px); }
.project-topline { display: flex; justify-content: space-between; align-items: center; }
.project-index { color: var(--blue); font-size: 11px; font-weight: 850; }
.project-url { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-soft); font-size: 11px; font-weight: 750; text-decoration: none; }
.project-url span { color: var(--blue); font-size: 13px; transition: transform .2s ease; }
.project-url:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.project-url:hover span { transform: translate(2px, -2px); }
.project-url:focus-visible { border-radius: 4px; outline: 2px solid var(--blue); outline-offset: 4px; }
.project-icon { position: relative; width: 92px; height: 92px; margin: 42px 0 35px; border-radius: 22px; background: var(--acid); overflow: hidden; transform: rotate(-3deg); transition: transform .3s ease; }
.project-card:nth-child(3n + 2) .project-icon { background: #bcc1ff; transform: rotate(3deg); }
.project-card:nth-child(3n) .project-icon { background: #ffc4b9; transform: rotate(-2deg); }
.project-card:hover .project-icon { transform: rotate(0deg) scale(1.04); }
.project-icon span { position: absolute; display: block; background: var(--ink); }
.icon-theatre span { width: 56px; height: 8px; left: 18px; border-radius: 8px; }
.icon-theatre span:nth-child(1) { top: 24px; }
.icon-theatre span:nth-child(2) { top: 42px; width: 42px; }
.icon-theatre span:nth-child(3) { top: 60px; width: 25px; }
.icon-mortuary span:nth-child(1) { width: 48px; height: 48px; left: 22px; top: 22px; border-radius: 50%; }
.icon-mortuary span:nth-child(2) { width: 22px; height: 22px; left: 35px; top: 35px; border-radius: 50%; background: #bcc1ff; }
.icon-phleb span:nth-child(1) { width: 10px; height: 58px; left: 41px; top: 17px; border-radius: 5px; transform: rotate(45deg); }
.icon-phleb span:nth-child(2) { width: 12px; height: 12px; left: 22px; top: 23px; border-radius: 50%; }
.icon-phleb span:nth-child(3) { width: 12px; height: 12px; right: 21px; bottom: 21px; border-radius: 50%; }
.icon-tracker span { width: 18px; height: 18px; border-radius: 5px; }
.icon-tracker span:nth-child(1) { left: 22px; top: 22px; }
.icon-tracker span:nth-child(2) { right: 22px; top: 22px; }
.icon-tracker span:nth-child(3) { left: 22px; bottom: 22px; }
.icon-tracker span:nth-child(4) { right: 22px; bottom: 22px; }
.icon-points span:nth-child(1), .icon-points span:nth-child(2) { width: 12px; bottom: 21px; border-radius: 6px 6px 2px 2px; }
.icon-points span:nth-child(1) { left: 24px; height: 28px; }
.icon-points span:nth-child(2) { left: 43px; height: 48px; }
.icon-points span:nth-child(3) { left: 62px; bottom: 21px; width: 12px; height: 62px; border-radius: 6px 6px 2px 2px; }
.icon-reagent span:nth-child(1) { width: 38px; height: 52px; left: 27px; bottom: 15px; border-radius: 8px 8px 13px 13px; }
.icon-reagent span:nth-child(2) { width: 24px; height: 12px; left: 34px; top: 15px; border-radius: 4px; }
.icon-reagent span:nth-child(3) { width: 25px; height: 7px; left: 34px; top: 48px; background: #ffc4b9; }
.icon-joeyscan span:nth-child(1) { width: 45px; height: 52px; left: 17px; top: 13px; border-radius: 4px; }
.icon-joeyscan span:nth-child(2), .icon-joeyscan span:nth-child(3), .icon-joeyscan span:nth-child(4) { width: 27px; height: 3px; left: 26px; background: var(--acid); }
.icon-joeyscan span:nth-child(2) { top: 29px; }
.icon-joeyscan span:nth-child(3) { top: 38px; }
.icon-joeyscan span:nth-child(4) { top: 47px; }
.icon-middleware span { width: 5px; bottom: 17px; border-radius: 2px; }
.icon-middleware span:nth-child(1) { left: 18px; height: 43px; }
.icon-middleware span:nth-child(2) { left: 29px; height: 36px; }
.icon-middleware span:nth-child(3) { left: 43px; height: 46px; }
.icon-middleware span:nth-child(4) { left: 55px; height: 39px; }
.icon-odbc span { width: 48px; height: 12px; left: 15px; border-radius: 50%; }
.icon-odbc span:nth-child(1) { top: 17px; }
.icon-odbc span:nth-child(2) { top: 33px; }
.icon-odbc span:nth-child(3) { top: 49px; }
.icon-roamscan span:nth-child(1) { width: 35px; height: 56px; left: 22px; top: 11px; border-radius: 7px; }
.icon-roamscan span:nth-child(2) { width: 21px; height: 22px; left: 29px; top: 20px; border-radius: 3px; background: var(--acid); }
.icon-roamscan span:nth-child(3) { width: 13px; height: 3px; left: 33px; top: 53px; border-radius: 2px; background: var(--acid); }
.project-area { margin: 0 0 7px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.project-body h3 { margin: 0 0 14px; font: 400 clamp(34px, 3vw, 45px)/1 Georgia, serif; letter-spacing: -.045em; }
.project-body > p:last-of-type { max-width: 560px; margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.project-features { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0 0; padding: 0; list-style: none; }
.project-features li { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 253, 247, .62); color: var(--ink-soft); font-size: 11px; font-weight: 700; line-height: 1.2; }
.project-outcome { margin-top: auto; padding-top: 25px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.project-outcome span { display: block; margin-bottom: 3px; color: var(--ink); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.project-note { max-width: 760px; margin: 28px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.6; }

.coming-soon { padding: 0 0 24px; }
.coming-soon-inner { display: grid; grid-template-columns: 1fr .55fr; align-items: end; gap: 8vw; padding: clamp(45px, 7vw, 94px); border-radius: 32px; background: var(--ink); color: var(--white); }
.coming-soon .eyebrow { color: var(--acid); }
.coming-soon h2 { font-size: clamp(54px, 7vw, 96px); }
.coming-soon h2 em { color: var(--acid); }
.soon-copy { padding-bottom: 8px; }
.soon-copy p { margin: 0 0 30px; color: #c6cada; font-size: 17px; line-height: 1.6; }
.soon-copy a { display: inline-flex; gap: 40px; padding-bottom: 5px; border-bottom: 1px solid var(--acid); color: var(--acid); font-size: 13px; font-weight: 800; text-decoration: none; }

.site-footer { width: var(--shell); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; margin: 0 auto; padding: 40px 0 45px; color: var(--ink-soft); font-size: 12px; }
.footer-brand { color: var(--ink); }
.footer-brand .brand-mark { width: 32px; height: 32px; border-radius: 8px; }
.footer-brand .mark-shape { transform: rotate(-24deg) scale(.8); }
.site-footer > p { margin: 0; }
.copyright { justify-self: end; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }
@media (max-width: 900px) {
  :root { --shell: min(100% - 34px, 700px); }
  .hero { height: auto; min-height: 0; grid-template-columns: 1fr; padding-top: 145px; padding-bottom: 90px; }
  .hero-copy { position: relative; z-index: 3; }
  .hero-art { width: min(88vw, 480px); justify-self: center; margin-top: 38px; }
  .manifesto-grid, .projects-heading, .coming-soon-inner { grid-template-columns: 1fr; }
  .manifesto-grid { gap: 42px; }
  .projects-heading { gap: 30px; align-items: start; }
  .project-grid { grid-template-columns: 1fr; }
  .project-group-heading { align-items: start; flex-direction: column; gap: 14px; }
  .project-group-heading > span { text-align: left; }
  .coming-soon-inner { gap: 50px; }
}

@media (max-width: 580px) {
  .site-header { padding-left: 17px; padding-right: 17px; }
  .header-link { font-size: 0; }
  .header-link span { font-size: 22px; }
  .hero { padding-top: 126px; }
  .hero h1 { font-size: clamp(50px, 16.5vw, 76px); }
  .hero-intro { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; }
  .hero-art { width: 94vw; margin-left: -3vw; }
  .art-card { width: 124px; padding: 13px; }
  .art-card span { margin-bottom: 18px; }
  .art-card strong { font-size: 18px; }
  .centre-mark { width: 105px; height: 105px; border-radius: 28px; }
  .centre-mark .mark-shape { transform: rotate(-24deg) scale(.82); }
  .manifesto { padding: 65px 0 100px; }
  .manifesto-grid { padding-top: 50px; }
  .manifesto h2, .projects-heading h2 { font-size: 46px; }
  .manifesto-copy p { font-size: 17px; }
  .projects { padding-bottom: 90px; }
  .projects-heading { padding-top: 50px; }
  .project-card { min-height: 500px; padding: 22px; }
  .project-icon { margin-top: 36px; }
  .coming-soon-inner { padding: 38px 27px; border-radius: 24px; }
  .coming-soon h2 { font-size: 50px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p:not(.copyright) { display: none; }
}

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