/* KLINTO LIMITED — Marquetry Assembly / Inlay Interface */

:root {
  --porcelain: #f4efe5;
  --walnut: #51342f;
  --jade: #43766c;
  --ochre: #cca13e;
  --coral: #cb6255;
  --midnight: #20242f;
  --celadon: #c7d3c5;
  --lavender: #938aa8;
  --sandstone: #cbb99d;
  --graphite: #343433;
  --porcelain-ink: #2c2624;
  --line: rgba(52, 52, 51, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.32, 1);
  --font-display: "Outfit", sans-serif;
  --font-body: "Lora", serif;
  --font-micro: "Red Hat Mono", ui-monospace, monospace;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%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)' opacity='.42'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html, body { margin: 0; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--porcelain-ink);
  background: var(--porcelain);
  line-height: 1.6;
  min-height: 100%;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

.skip {
  position: absolute;
  left: 0.8rem;
  top: -4rem;
  z-index: 80;
  background: var(--ochre);
  color: var(--midnight);
  padding: 0.6rem 0.9rem;
  font-family: var(--font-display);
  font-weight: 600;
}
.skip:focus { top: 0.8rem; }

.grain {
  position: relative;
}
.grain::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.055;
  background-image: var(--grain);
  mix-blend-mode: multiply;
  z-index: 2;
}

.micro {
  font-family: var(--font-micro);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.btn {
  --btn-bg: var(--walnut);
  --btn-fg: var(--porcelain);
  --btn-in: var(--ochre);
  position: relative;
  display: inline-flex;
  align-items: stretch;
  min-height: 3rem;
  text-decoration: none;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.btn span {
  display: flex;
  align-items: center;
  padding: 0.7rem 1.15rem 0.7rem 1.2rem;
}
.btn i {
  width: 0.55rem;
  background: var(--btn-in);
  display: block;
  transition: transform 240ms var(--ease);
}
.btn:hover i,
.btn:focus-visible i { transform: translateX(-3px); }
.btn--jade { --btn-bg: var(--jade); --btn-fg: var(--porcelain); --btn-in: var(--porcelain); }
.btn--jade:hover i { transform: translateX(3px); }
.btn--coral { --btn-bg: var(--coral); --btn-fg: var(--porcelain); --btn-in: var(--midnight); }
.btn--ochre { --btn-bg: var(--ochre); --btn-fg: var(--midnight); --btn-in: var(--walnut); }
.btn--porcelain { --btn-bg: var(--porcelain); --btn-fg: var(--walnut); --btn-in: var(--jade); }

.seam-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.seam-link::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: var(--graphite);
  transition: background 220ms var(--ease), width 220ms var(--ease);
}
.seam-link:hover::before,
.seam-link:focus-visible::before { background: var(--ochre); }

:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 3px;
}

/* HEADER — three fitted regions */
.site-head {
  display: grid;
  grid-template-columns: 9.2rem 1fr auto auto;
  align-items: stretch;
  min-height: 4.15rem;
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--porcelain);
}
.logo-insert {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  background: var(--jade);
  color: var(--porcelain);
  text-decoration: none;
  line-height: 1.05;
}
.logo-insert strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.logo-insert small {
  font-family: var(--font-micro);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}
.site-nav {
  display: flex;
  align-items: stretch;
  gap: 0.15rem;
  padding: 0 0.6rem;
  background: var(--porcelain);
}
.site-nav a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.85rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
}
.nav-id {
  display: inline-block;
  padding: 0.12rem 0.28rem;
  font-family: var(--font-micro);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  background: transparent;
  transition: padding 220ms var(--ease), background 220ms var(--ease);
}
.site-nav a:hover .nav-id {
  padding: 0.18rem 0.42rem;
  background: var(--celadon);
}
.site-nav a.is-current .nav-id {
  background: var(--ochre);
  color: var(--midnight);
}
.head-cta {
  min-height: 100%;
}
.head-cta span { padding-inline: 1.1rem; }
.nav-toggle {
  display: none;
  border: 0;
  background: var(--walnut);
  color: var(--porcelain);
  padding: 0 1.1rem;
  font-family: var(--font-micro);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

/* MOBILE FITTED MENU */
.fit-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.15fr 0.9fr 1.2fr 0.75fr;
}
.fit-menu.is-open { display: grid !important; }
.fit-menu a {
  display: flex;
  align-items: flex-end;
  padding: 1.2rem 1.3rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  letter-spacing: -0.03em;
  transform: translateY(18px);
  opacity: 0;
}
.fit-menu.is-open a {
  animation: place-in 640ms var(--ease) forwards;
}
.fit-menu a:nth-of-type(1) { grid-column: 1 / 3; background: var(--porcelain); color: var(--walnut); animation-delay: 40ms; }
.fit-menu a:nth-of-type(2) { background: var(--walnut); color: var(--porcelain); animation-delay: 110ms; }
.fit-menu a:nth-of-type(3) { background: var(--jade); color: var(--porcelain); animation-delay: 170ms; }
.fit-menu a:nth-of-type(4) { grid-column: 1 / 3; background: var(--coral); color: var(--porcelain); animation-delay: 230ms; }
.fit-menu a:nth-of-type(5) { grid-column: 1 / 3; background: var(--ochre); color: var(--midnight); font-size: clamp(1.2rem, 4vw, 1.7rem); animation-delay: 290ms; }
.fit-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  border: 0;
  background: var(--midnight);
  color: var(--porcelain);
  font-family: var(--font-micro);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 0.8rem;
  cursor: pointer;
  z-index: 2;
}

@keyframes place-in {
  to { transform: none; opacity: 1; }
}

/* 01 KEYED COMPOSITION */
.keyed {
  display: grid;
  grid-template-columns: 4.2fr 2.05fr 1.85fr 1.15fr;
  grid-template-rows: minmax(48vh, auto) minmax(28vh, auto) minmax(18vh, 22vh);
  min-height: calc(100svh - 4.15rem);
  overflow: hidden;
  background: var(--porcelain);
  position: relative;
}
.keyed > *:not(.keyed-mark) { position: relative; z-index: 1; }
.keyed.grain::before { z-index: 0; }
.keyed-a {
  grid-column: 1;
  grid-row: 1 / 3;
  background: var(--porcelain);
  position: relative;
}
.keyed-photo {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: stretch;
  margin: 4.6rem 10% 7.5rem 7%;
  overflow: hidden;
  min-height: 0;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 76% 72%, 76% 100%, 0 100%);
}
.keyed-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 42vh;
  transition: transform 320ms var(--ease);
}
.keyed-photo:hover img { transform: scale(1.018); }
.keyed-b {
  grid-column: 2 / 4;
  grid-row: 1;
  background: var(--walnut);
  position: relative;
}
.keyed-c {
  grid-column: 2 / 3;
  grid-row: 2 / 4;
  position: relative;
  overflow: hidden;
  background: var(--jade);
}
.keyed-c img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 78% 72%, 78% 100%, 0 100%);
  transition: transform 320ms var(--ease);
}
.keyed-c:hover img { transform: scale(1.012); }
.keyed-d {
  grid-column: 4;
  grid-row: 1 / 3;
  background: var(--porcelain);
  position: relative;
}
.keyed-d::after {
  content: "";
  position: absolute;
  inset: 12% 18% 28% 0;
  background: var(--celadon);
  opacity: 0.55;
}
.keyed-copy {
  grid-column: 1;
  grid-row: 3;
  background: var(--sandstone);
  padding: 1.15rem 1.6rem 1.2rem 1.8rem;
  display: flex;
  align-items: center;
}
.keyed-copy p {
  max-width: 38rem;
  font-size: 0.98rem;
}
.keyed-cta {
  grid-column: 3 / 5;
  grid-row: 3;
  background: var(--jade);
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}
.keyed-cta .btn { min-height: 100%; width: min(100%, 18rem); }
.keyed-title { display: contents; }
.h1-a, .h1-b {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.h1-a {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  z-index: 2;
  padding: 0.85rem 8% 1.4rem 8%;
  color: var(--walnut);
  font-size: clamp(2.4rem, 5.6vw, 5.2rem);
  max-width: 11ch;
  background: var(--porcelain);
}
.h1-b {
  grid-column: 2 / 4;
  grid-row: 1;
  align-self: end;
  padding: 0 7% 8% 6%;
  color: var(--porcelain);
  font-size: clamp(1.55rem, 3.2vw, 2.85rem);
  max-width: 14ch;
}
.keyed-mark {
  position: absolute;
  top: 1.1rem;
  left: 1.4rem;
  color: var(--walnut);
  z-index: 3;
}
.keyed-b .keyed-mark { color: var(--ochre); left: auto; right: 1.2rem; }

/* hero assembly motion */
body.js .keyed-b,
body.js .keyed-c,
body.js .keyed-photo,
body.js .keyed-copy,
body.js .keyed-cta,
body.js .h1-a,
body.js .h1-b {
  opacity: 0;
}
body.js .keyed-b { transform: translateX(36px); }
body.js .keyed-photo { transform: translateY(-22px); }
body.js .keyed-c { transform: translateY(28px); }
body.js .keyed-copy { transform: translateY(16px); }
body.js .keyed-cta { transform: translateX(20px); }
body.js .h1-a, body.js .h1-b { transform: translateY(10px); }
.keyed.is-on .keyed-b,
.keyed.is-on .keyed-c,
.keyed.is-on .keyed-photo,
.keyed.is-on .keyed-copy,
.keyed.is-on .keyed-cta,
.keyed.is-on .h1-a,
.keyed.is-on .h1-b {
  opacity: 1;
  transform: none;
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
}
.keyed.is-on .keyed-photo { transition-delay: 70ms; }
.keyed.is-on .keyed-c { transition-delay: 140ms; }
.keyed.is-on .keyed-copy { transition-delay: 280ms; }
.keyed.is-on .h1-a { transition-delay: 360ms; }
.keyed.is-on .h1-b { transition-delay: 430ms; }
.keyed.is-on .keyed-cta { transition-delay: 520ms; }

/* 02 MISSING PIECE */
.absence {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(10rem, 0.34fr);
  grid-template-rows: auto 1fr minmax(18vh, auto);
  min-height: 88vh;
  background: var(--walnut);
  color: var(--porcelain);
}
.absence-kicker {
  grid-column: 1;
  padding: 2.4rem 8% 0;
  color: var(--ochre);
}
.absence h2 {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  padding: 1.4rem 8% 2rem;
  font-size: clamp(2.1rem, 5.4vw, 4.4rem);
  max-width: 16ch;
  font-weight: 500;
}
.absence-void {
  grid-column: 2;
  grid-row: 1 / 4;
  background: var(--porcelain);
}
.absence-step {
  grid-column: 1;
  grid-row: 3;
  background: var(--porcelain);
}

/* 03 INSERT / RESPONSE */
.response {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(10rem, 0.34fr);
  min-height: 52vh;
}
.response-body {
  background: var(--jade);
  color: var(--porcelain);
  padding: clamp(2rem, 5vw, 4.2rem) 8%;
  display: grid;
  gap: 1.2rem;
  align-content: center;
}
.response-body h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  max-width: 18ch;
  font-weight: 500;
}
.response-body p { max-width: 38rem; }
.response-spine {
  background: var(--jade);
  position: relative;
}
.response-spine::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 12%;
  bottom: 18%;
  background: var(--ochre);
}

/* 04 THREE MATERIALS */
.three {
  display: grid;
  grid-template-columns: 1.7fr 0.55fr 0.9fr;
  min-height: 78vh;
}
.three article { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 2rem 1.8rem; }
.three-pub { background: var(--porcelain); color: var(--walnut); }
.three-sys {
  background: var(--jade);
  color: var(--porcelain);
  padding: 2.2rem 1.15rem;
}
.three-sys h2 {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  max-width: 8ch;
}
.three-sys p { writing-mode: horizontal-tb; }
.three-del { background: var(--ochre); color: var(--midnight); }
.three h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); font-weight: 500; max-width: 9ch; }
.three-sys h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); max-width: none; }
.three-del h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); max-width: 8ch; }
.three p { max-width: 34rem; margin-top: 1.4rem; }
.three-sys p { margin-top: 1rem; max-width: 18rem; }

/* 05 FEATURED INLAY */
.featured {
  display: grid;
  grid-template-columns: 0.38fr 1.62fr;
  min-height: 92vh;
  background: var(--celadon);
}
.featured-title {
  background: var(--porcelain);
  padding: 2.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.featured-title h2 {
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--walnut);
  font-weight: 500;
}
.featured-field {
  background: var(--jade);
  color: var(--porcelain);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: auto 1fr;
  min-height: 92vh;
}
.featured-copy {
  padding: 2.4rem 8% 1.5rem;
  grid-column: 1 / 3;
}
.featured-copy p { max-width: 46rem; margin-top: 1rem; }
.featured-visual {
  margin: 0 0 8% 8%;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 22%, 12% 22%, 12% 0);
}
.featured-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 22rem; }
.featured-list {
  padding: 1.5rem 8% 2.4rem 1.4rem;
  display: grid;
  gap: 0.7rem;
  align-content: end;
}
.featured-list li {
  padding: 0.55rem 0;
  border-top: 1px solid rgba(244, 239, 229, 0.25);
  font-size: 0.95rem;
}

/* 06 SEAM */
.seam {
  min-height: 42vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  position: relative;
}
.seam-a { background: var(--walnut); }
.seam-b { background: var(--celadon); }
.seam p {
  position: absolute;
  left: 42%;
  top: 50%;
  transform: translate(-18%, -50%);
  width: min(90vw, 36rem);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.8vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--porcelain);
  max-width: 18ch;
}

/* 07 NESTED SERVICES */
.nested {
  display: grid;
  grid-template-columns: 1.4fr 1.05fr 0.58fr;
  grid-template-rows: minmax(22vh, auto) minmax(24vh, auto) minmax(20vh, auto);
  min-height: 100vh;
}
.nested article {
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 280ms var(--ease);
}
.nested article:hover { transform: translate(6px, 0); }
.n-licence { grid-column: 1; grid-row: 1 / 3; background: var(--walnut); color: var(--porcelain); }
.n-saas { grid-column: 2; grid-row: 1; background: var(--porcelain); color: var(--walnut); }
.n-web { grid-column: 2; grid-row: 2; background: var(--sandstone); color: var(--graphite); }
.n-sec { grid-column: 3; grid-row: 1; background: var(--ochre); color: var(--midnight); }
.n-int { grid-column: 3; grid-row: 2 / 4; background: var(--jade); color: var(--porcelain); }
.n-db { grid-column: 1 / 3; grid-row: 3; background: var(--celadon); color: var(--midnight); display: grid; grid-template-columns: 10rem 1fr auto; gap: 1.2rem; align-items: center; }
.nested h3 { font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 600; max-width: 14ch; }
.n-licence h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.nested p { margin-top: 0.8rem; max-width: 32rem; }
.n-db h3 { max-width: none; }

/* 08 OFFCUT */
.offcut {
  min-height: 58vh;
  background: var(--lavender);
  color: var(--midnight);
  position: relative;
  padding: 3.4rem 6vw;
}
.offcut-chip {
  position: absolute;
  width: 7.5rem;
  height: 4.4rem;
  background: var(--coral);
  top: 1.6rem;
  right: 2.2rem;
}
.offcut p {
  position: absolute;
  left: 6vw;
  bottom: 2.6rem;
  max-width: 22rem;
  font-size: 1.05rem;
}

/* 09 COMPLETE FORM */
.complete {
  min-height: 88vh;
  background: var(--porcelain);
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.complete-visual img {
  width: 100%;
  height: min(62vh, 40rem);
  object-fit: cover;
}
.complete-meta {
  display: grid;
  grid-template-columns: auto 1.4fr 0.9fr 0.9fr;
  gap: 1.4rem;
  padding: 1.6rem 5vw 2.2rem;
  align-items: start;
}
.complete h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); max-width: 14ch; }

/* 10 CASE INLAYS */
.inlays { display: grid; overflow: hidden; }
.process, .process-board { overflow: hidden; }
.case-a {
  display: grid;
  grid-template-columns: 1.7fr 0.42fr;
  min-height: 72vh;
  background: var(--jade);
  color: var(--porcelain);
}
.case-a img { width: 100%; height: 100%; object-fit: cover; min-height: 22rem; }
.case-a .case-text { padding: 2rem 1.3rem; writing-mode: vertical-rl; transform: rotate(180deg); }
.case-b {
  display: grid;
  grid-template-columns: 1.35fr 0.4fr;
  min-height: 58vh;
  background: var(--walnut);
  color: var(--porcelain);
}
.case-b .case-text { padding: 2.4rem 7%; display: flex; flex-direction: column; justify-content: center; max-width: 36rem; }
.case-b img { width: 100%; height: 100%; object-fit: cover; }
.case-c {
  display: grid;
  grid-template-columns: 1.2fr 0.55fr;
  min-height: 62vh;
  background: var(--porcelain);
}
.case-c .case-text { padding: 3rem 8%; display: flex; flex-direction: column; justify-content: center; }
.case-c h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 10ch; color: var(--walnut); font-weight: 500; }
.case-c img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%, 0 22%); }
.case-d {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 70vh;
  background: var(--midnight);
  color: var(--porcelain);
}
.case-d .case-text { padding: 2.6rem 10%; display: flex; flex-direction: column; justify-content: center; }
.case-d .void-img {
  margin: 12% 10% 12% 0;
  overflow: hidden;
}
.case-d img { width: 100%; height: 100%; object-fit: cover; min-height: 18rem; }
.shift {
  transform: translateX(16px);
  transition: transform 620ms var(--ease);
}
.is-in .shift { transform: none; }

/* 11 JOINT STATEMENT */
.joint {
  min-height: 78vh;
  background: var(--midnight);
  color: var(--porcelain);
  display: grid;
  place-items: center;
  padding: 8vh 6vw;
  position: relative;
}
.joint h2 {
  font-size: clamp(2.4rem, 7vw, 6.2rem);
  font-weight: 500;
  max-width: 14ch;
  line-height: 0.95;
}
.joint h2 span {
  display: inline-block;
  width: 4.8rem;
  height: 0.72em;
  background: var(--midnight);
  box-shadow: inset 0 0 0 1px rgba(244, 239, 229, 0.28);
  vertical-align: -0.08em;
  margin: 0 0.15em;
}
.joint-ref {
  position: absolute;
  right: 6vw;
  bottom: 2.4rem;
  color: var(--ochre);
}

/* 12 ASSEMBLY ORDER / PROCESS */
.process {
  background: var(--porcelain);
  padding: 0;
}
.process-head {
  padding: 2.4rem 6vw 1.2rem;
}
.process-board {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.7fr;
  grid-template-rows: auto auto auto;
  min-height: 80vh;
}
.p-step {
  padding: 1.6rem 1.5rem;
  opacity: 0.35;
  transform: translate(12px, 8px);
  transition: opacity 560ms var(--ease), transform 560ms var(--ease), background 560ms var(--ease);
}
.p-step.is-in { opacity: 1; transform: none; }
.p1 { grid-column: 1 / 3; background: var(--sandstone); }
.p2 { background: var(--celadon); }
.p3 { grid-column: 1; background: var(--walnut); color: var(--porcelain); }
.p4 { background: var(--jade); color: var(--porcelain); }
.p5 { background: var(--ochre); }
.p6 { grid-column: 1 / 4; background: var(--midnight); color: var(--porcelain); }
.process h3 { font-size: 1.45rem; margin-top: 0.5rem; }
.process p { margin-top: 0.55rem; max-width: 34rem; }

/* 13 CONTRAST INSERT */
.contrast {
  min-height: 62vh;
  background: var(--coral);
  color: var(--midnight);
  display: grid;
  grid-template-columns: 1.2fr 0.55fr;
}
.contrast-copy { padding: 3rem 8%; display: flex; flex-direction: column; justify-content: center; }
.contrast h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); max-width: 16ch; color: var(--porcelain); }
.contrast p { margin-top: 1.1rem; max-width: 34rem; color: var(--porcelain); }
.contrast img { width: 100%; height: 100%; object-fit: cover; min-height: 16rem; }

/* 14 COMPANY COMPOSITION */
.company {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.55fr;
  grid-template-rows: auto auto auto;
  min-height: 100vh;
}
.co-def { grid-column: 1 / 3; grid-row: 1; background: var(--porcelain); padding: 2.4rem 6% 1.4rem; }
.co-name {
  font-size: clamp(2.6rem, 8vw, 7rem);
  font-weight: 500;
  color: var(--walnut);
  line-height: 0.88;
  max-width: 12ch;
}
.co-exp { grid-column: 3; grid-row: 1 / 3; background: var(--jade); color: var(--porcelain); padding: 1.6rem 1.2rem; }
.co-op { grid-column: 1; grid-row: 2; background: var(--sandstone); padding: 1.8rem 8%; }
.co-loc { grid-column: 2; grid-row: 2; background: var(--midnight); color: var(--porcelain); padding: 1.6rem 1.3rem; }
.co-img { grid-column: 1 / 3; grid-row: 3; min-height: 28vh; overflow: hidden; }
.co-img img { width: 100%; height: 100%; object-fit: cover; min-height: 18rem; clip-path: polygon(0 0, 86% 0, 86% 18%, 100% 18%, 100% 100%, 0 100%); }
.co-exp p, .co-op p, .co-loc p, .co-def p { margin-top: 0.8rem; max-width: 40rem; }

/* 15 DETAIL INLAYS */
.details {
  background: var(--porcelain);
  padding: 4vh 5vw 8vh;
  min-height: 56vh;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(4, minmax(4.4rem, auto));
  gap: 0.7rem;
}
.details h2 { grid-column: 1 / 6; align-self: end; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.chip {
  display: flex;
  align-items: flex-end;
  padding: 0.8rem;
  font-size: 0.92rem;
}
.chip--w { background: var(--walnut); color: var(--porcelain); }
.chip--j { background: var(--jade); color: var(--porcelain); }
.chip--s { background: var(--sandstone); }
.chip--c { background: var(--celadon); }
.chip--o { background: var(--ochre); }
.chip--t { background: transparent; }
.c1 { grid-column: 7 / 10; grid-row: 1; }
.c2 { grid-column: 10 / 13; grid-row: 1; }
.c3 { grid-column: 1 / 4; grid-row: 2; }
.c4 { grid-column: 5 / 8; grid-row: 2; }
.c5 { grid-column: 9 / 13; grid-row: 2; }
.c6 { grid-column: 2 / 5; grid-row: 3; }
.c7 { grid-column: 6 / 9; grid-row: 3; }
.c8 { grid-column: 10 / 12; grid-row: 3; }
.c9 { grid-column: 4 / 8; grid-row: 4; }
.c10 { grid-column: 9 / 13; grid-row: 4; }

/* 16 NEGATIVE SPACE INDEX */
.voids {
  min-height: 72vh;
  background: var(--porcelain);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr 1fr;
  padding: 6vh 8vw 10vh;
  gap: 8vh 10vw;
}
.voids h2 { grid-column: 1 / 3; font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 16ch; }
.voids article h3 { font-size: 1.25rem; }
.voids article p { margin-top: 0.5rem; max-width: 28rem; }

/* 17 JOINT MARQUEE */
.marquee {
  overflow: hidden;
  background: var(--walnut);
  color: var(--porcelain);
  padding: 1.1rem 0 1.3rem;
}
.marquee-row { display: flex; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  white-space: nowrap;
  animation: marquee-a 42s linear infinite;
  padding: 0.4rem 0;
}
.marquee-row--b .marquee-track {
  animation-name: marquee-b;
  animation-duration: 54s;
  font-size: 0.95rem;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
}
.mat {
  display: inline-block;
  height: 1.15em;
  width: 3.2rem;
  flex: 0 0 auto;
}
.mat-jade { background: var(--jade); }
.mat-ochre { background: var(--ochre); }
.mat-coral { background: var(--coral); }
.mat-celadon { background: var(--celadon); }
.mat-porcelain { background: var(--porcelain); }
@keyframes marquee-a { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-b { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* 18 UNFINISHED */
.unfinished {
  display: grid;
  grid-template-columns: 1.15fr 0.55fr 0.7fr;
  min-height: 48vh;
  background: var(--porcelain);
}
.un-a { background: var(--sandstone); padding: 2.4rem 8%; display: flex; align-items: end; }
.un-a p { max-width: 22rem; font-size: 1.15rem; }
.un-void { background: var(--porcelain); }
.un-c { background: var(--walnut); }

/* 19 FINAL FIT */
.final {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr 0.7fr;
  min-height: 58vh;
}
.final-a { background: var(--porcelain); padding: 2.6rem 8%; display: flex; flex-direction: column; justify-content: center; }
.final-a h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 10ch; color: var(--walnut); font-weight: 500; }
.final-b { background: var(--jade); color: var(--porcelain); padding: 2.4rem 10%; display: flex; flex-direction: column; justify-content: center; }
.final-c { background: var(--walnut); position: relative; }
.final-cta {
  position: absolute;
  left: -2.4rem;
  bottom: 2.2rem;
}
.final-b p { max-width: 22rem; }

/* 20 CONTACT SEAM */
.contact-preview {
  background: var(--porcelain);
  min-height: 36vh;
}
.contact-preview .band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 2rem 6vw;
}
.contact-preview .band + .band {
  border-top: 2px solid var(--graphite);
}
.contact-preview a { text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.8rem); }

/* FOOTER */
.site-foot {
  background: var(--walnut);
  color: var(--porcelain);
  padding: 2.2rem 5vw 1.6rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 1.6rem;
  align-items: start;
}
.site-foot a { text-decoration: none; }
.site-foot ul { display: grid; gap: 0.35rem; }
.foot-insert {
  width: 3.4rem;
  height: 3.4rem;
  background: var(--ochre);
}
.legal { font-size: 0.85rem; opacity: 0.85; }

/* INNER PAGES */
.page-hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  min-height: 42vh;
  background: var(--porcelain);
}
.page-hero h1 {
  padding: 8vh 8% 4vh;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 500;
  max-width: 10ch;
  color: var(--walnut);
}
.page-hero .aside {
  background: var(--jade);
  color: var(--porcelain);
  padding: 8vh 12% 4vh;
  display: flex;
  align-items: end;
}

/* SERVICES CHAPTERS */
.chapter {
  min-height: 88vh;
  display: grid;
}
.ch-01 {
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--porcelain);
  min-height: 92vh;
}
.ch-01 .copy { padding: 6vh 8%; display: flex; flex-direction: column; justify-content: center; }
.ch-01 h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); color: var(--jade); max-width: 12ch; }
.ch-01 .visual { background: var(--jade); overflow: hidden; }
.ch-01 img { width: 100%; height: 100%; object-fit: cover; min-height: 24rem; clip-path: polygon(0 0, 100% 0, 100% 100%, 18% 100%, 18% 78%, 0 78%); }
.ch-02 {
  grid-template-columns: 0.42fr 1.58fr;
  background: var(--walnut);
  color: var(--porcelain);
}
.ch-02 .visual { overflow: hidden; }
.ch-02 img { width: 100%; height: 100%; object-fit: cover; min-height: 100%; }
.ch-02 .copy { padding: 8vh 8%; }
.ch-02 h2 { font-size: clamp(2rem, 4vw, 3.4rem); color: var(--ochre); max-width: 14ch; }
.ch-03 {
  grid-template-columns: 0.9fr 1.1fr;
  background: var(--celadon);
  min-height: 80vh;
}
.ch-03 .copy { padding: 7vh 8%; background: var(--midnight); color: var(--porcelain); }
.ch-03 h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); max-width: 12ch; }
.ch-03 img { width: 100%; height: 100%; object-fit: cover; min-height: 22rem; }
.ch-04 {
  background: var(--coral);
  color: var(--porcelain);
  grid-template-rows: auto 1fr;
  min-height: 84vh;
}
.ch-04 .copy { padding: 5vh 8% 2vh; max-width: 52rem; }
.ch-04 h2 { font-size: clamp(2.4rem, 6vw, 4.8rem); font-weight: 500; }
.ch-04 .split { display: grid; grid-template-columns: 0.7fr 1.3fr; min-height: 40vh; }
.ch-04 img { width: 100%; height: 100%; object-fit: cover; min-height: 18rem; }
.ch-04 .notes { background: var(--porcelain); color: var(--walnut); padding: 2.4rem 8%; }
.ch-05 {
  grid-template-columns: 1.4fr 0.6fr;
  background: var(--sandstone);
  min-height: 86vh;
}
.ch-05 .copy { padding: 7vh 8%; }
.ch-05 h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); color: var(--jade); max-width: 13ch; }
.ch-05 .visual { background: var(--jade); overflow: hidden; clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); }
.ch-05 img { width: 100%; height: 100%; object-fit: cover; min-height: 22rem; }
.chapter p { margin-top: 1.1rem; max-width: 38rem; }
.chapter .cap-list { margin-top: 1.4rem; display: grid; gap: 0.45rem; max-width: 32rem; }
.chapter .cap-list li { padding: 0.4rem 0; border-top: 1px solid currentColor; opacity: 0.9; }

/* ABOUT */
.about-wrap { background: var(--porcelain); }
.about-def { padding: 8vh 8% 4vh; max-width: 46rem; }
.about-def h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); color: var(--walnut); font-weight: 500; }
.about-def p { margin-top: 1.2rem; font-size: 1.15rem; }
.about-band {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
}
.about-band .label {
  background: var(--walnut);
  color: var(--porcelain);
  padding: 2rem 12%;
  display: flex;
  align-items: end;
}
.about-band .copy { padding: 2.4rem 8%; max-width: 44rem; background: var(--sandstone); }
.about-band:nth-of-type(even) { grid-template-columns: 1.3fr 0.7fr; }
.about-band:nth-of-type(even) .label { order: 2; background: var(--jade); }
.about-band:nth-of-type(even) .copy { background: var(--porcelain); }
.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  padding: 6vh 8% 10vh;
  background: var(--porcelain);
}
.principles h2 { grid-column: 1 / 3; font-size: clamp(1.8rem, 3vw, 2.4rem); }

/* PORTFOLIO PAGE */
.port-01 { display: grid; grid-template-columns: 1.4fr 0.6fr; min-height: 88vh; background: var(--jade); color: var(--porcelain); }
.port-01 img { width: 100%; height: 100%; object-fit: cover; min-height: 24rem; }
.port-01 .copy { padding: 4vh 10%; display: flex; flex-direction: column; justify-content: end; }
.port-02 { display: grid; grid-template-rows: auto 1fr; min-height: 80vh; background: var(--walnut); color: var(--porcelain); }
.port-02 .copy { padding: 4vh 8% 2vh; max-width: 48rem; }
.port-02 img { width: 100%; height: min(48vh, 32rem); object-fit: cover; }
.port-03 { display: grid; grid-template-columns: 0.85fr 1.15fr; min-height: 84vh; background: var(--porcelain); }
.port-03 .copy { padding: 6vh 8%; }
.port-03 h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.port-03 img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 86%, 82% 86%, 82% 100%, 0 100%); }
.port-04 { display: grid; grid-template-columns: 1fr 1.2fr 0.4fr; min-height: 70vh; background: var(--coral); color: var(--porcelain); }
.port-04 .copy { padding: 4vh 10%; grid-column: 2; display: flex; flex-direction: column; justify-content: center; }
.port-04 img { width: 100%; height: 100%; object-fit: cover; }
.port-05 { display: grid; grid-template-columns: 0.55fr 1.45fr; min-height: 78vh; background: var(--midnight); color: var(--porcelain); }
.port-05 .copy { padding: 5vh 12%; }
.port-05 img { width: 100%; height: 100%; object-fit: cover; min-height: 20rem; }
.port h2, .port-01 h2, .port-02 h2, .port-03 h2, .port-04 h2, .port-05 h2 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); max-width: 14ch; }
.port p, .port-01 p, .port-02 p, .port-03 p, .port-04 p, .port-05 p { margin-top: 0.8rem; max-width: 34rem; }

/* CONTACT */
.contact-page {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100svh - 4.15rem);
}
.contact-lede {
  background: var(--porcelain);
  padding: 6vh 8% 4vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-lede h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--walnut); font-weight: 500; max-width: 10ch; }
.contact-data { margin-top: 2rem; display: grid; gap: 0.85rem; }
.contact-data a { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; text-decoration: none; }
.contact-form-panel {
  background: var(--sandstone);
  padding: 4vh 8%;
}
.form-grid { display: grid; gap: 0.9rem; }
.form-grid .btn { justify-self: start; }
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--porcelain);
  padding: 0.7rem 0.9rem 0.55rem;
  position: relative;
}
.field::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--jade);
  transition: width 220ms var(--ease);
}
.field:focus-within::before { width: 6px; }
.field.is-error { background: #f3d8d3; }
.field.is-error::before { width: 6px; background: var(--coral); }
.field label { font-family: var(--font-micro); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  border: 0;
  background: transparent;
  color: var(--graphite);
  padding: 0.25rem 0 0.4rem;
  outline: none;
  width: 100%;
}
.field textarea { min-height: 9rem; resize: vertical; }
.f-name { width: 62%; }
.f-email { width: 86%; }
.f-org { width: 74%; }
.f-msg { width: 100%; }
.f-consent { width: 100%; background: transparent; padding-left: 0; }
.f-consent::before { display: none; }
.error-text { color: var(--coral); font-size: 0.85rem; display: none; }
.field.is-error .error-text { display: block; }
.form-success {
  display: none;
  background: var(--jade);
  color: var(--porcelain);
  padding: 1.1rem 1.2rem;
  margin-bottom: 1rem;
}
.form-success.is-on { display: block; }
.map-band {
  min-height: 38vh;
  background: var(--midnight);
}
.map-band iframe { width: 100%; height: 38vh; border: 0; filter: grayscale(0.35) contrast(1.05); }

.privacy { max-width: 46rem; padding: 8vh 8% 12vh; }
.privacy h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--walnut); }
.privacy h2 { margin-top: 2rem; font-size: 1.3rem; }
.privacy p { margin-top: 0.8rem; }

/* OBSERVE */
[data-observe] { }
.is-in {}

/* TABLET */
@media (max-width: 1080px) {
  .site-nav a { padding: 0 0.5rem; font-size: 0.86rem; }
  .keyed { grid-template-columns: 1.2fr 0.9fr 0.7fr; grid-template-rows: auto auto auto auto; }
  .keyed-a { grid-column: 1; grid-row: 1 / 3; }
  .keyed-photo { grid-column: 1; grid-row: 1 / 3; margin: 4.2rem 8% 6rem 6%; }
  .keyed-b { grid-column: 2 / 4; grid-row: 1; }
  .keyed-c { grid-column: 2 / 4; grid-row: 2; min-height: 28vh; }
  .keyed-d { display: none; }
  .keyed-copy { grid-column: 1 / 3; grid-row: 3; }
  .keyed-cta { grid-column: 3 / 4; grid-row: 3; }
  .h1-a { grid-column: 1; grid-row: 1; font-size: clamp(2.2rem, 7vw, 4rem); }
  .h1-b { grid-column: 2 / 4; grid-row: 1; }
  .three { grid-template-columns: 1.4fr 0.7fr; }
  .three-sys { grid-column: 2; grid-row: 1 / 3; }
  .nested { grid-template-columns: 1fr 1fr; }
  .n-licence { grid-row: 1; }
  .n-int { grid-column: 2; grid-row: 3; }
  .n-db { grid-column: 1 / 3; }
  .featured { grid-template-columns: 1fr; }
  .featured-title h2 { writing-mode: horizontal-tb; transform: none; }
  .company { grid-template-columns: 1fr 1fr; }
  .co-exp { grid-column: 2; grid-row: 1; }
  .co-img { grid-column: 1 / 3; }
  .site-foot { grid-template-columns: 1fr 1fr; }
  .final { grid-template-columns: 1fr 1fr; }
  .final-c { grid-column: 1 / 3; min-height: 8rem; }
  .final-cta { left: 2rem; }
  .ch-02, .ch-01, .ch-03, .ch-05 { grid-template-columns: 1fr; }
  .contact-page { grid-template-columns: 1fr; }
  .port-01, .port-03, .port-05 { grid-template-columns: 1fr; }
  .port-04 { grid-template-columns: 1fr; }
}

/* MOBILE */
@media (max-width: 760px) {
  .site-head { grid-template-columns: 1fr auto auto; }
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .head-cta { display: none; }
  .keyed {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .h1-a, .h1-b {
    display: block;
    padding: 1.4rem 1.2rem 0.2rem;
    font-size: clamp(2.3rem, 11vw, 3.4rem);
    max-width: 12ch;
    order: 1;
    background: transparent;
  }
  .h1-b { background: var(--walnut); padding-bottom: 1.6rem; width: 100%; max-width: none; }
  .keyed-photo {
    display: block;
    margin: 0;
    min-height: 38vh;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 84%, 18% 84%, 18% 100%);
    order: 2;
  }
  .keyed-copy { order: 3; }
  .keyed-cta { order: 4; display: block; min-height: 4.2rem; }
  .keyed-c { display: none; }
  .keyed-d { display: none; }
  .keyed-a { display: none; }
  .keyed-b { display: none; }
  .absence, .response {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .absence-void { min-height: 18vh; }
  .absence-step { min-height: 8vh; }
  .response-spine { min-height: 6rem; }
  .three { display: flex; flex-direction: column; }
  .three-sys { writing-mode: horizontal-tb; transform: none; min-height: 28vh; }
  .three-pub { min-height: 48vh; }
  .three-del { min-height: 32vh; }
  .featured-field { grid-template-columns: 1fr; }
  .featured-visual { clip-path: none; margin: 0 1.2rem 1.2rem; }
  .seam { grid-template-columns: 1fr; min-height: 48vh; }
  .seam p { margin-left: 0; width: 82vw; mix-blend-mode: normal; color: var(--walnut); left: 8vw; transform: translate(0, -50%); }
  .nested { display: flex; flex-direction: column; }
  .nested article:hover { transform: none; }
  .n-licence { min-height: 42vh; }
  .n-saas { min-height: 28vh; }
  .n-web { min-height: 32vh; }
  .n-sec { min-height: 24vh; }
  .n-int { min-height: 36vh; }
  .n-db { display: flex; min-height: 30vh; }
  .offcut { min-height: 48vh; }
  .complete-meta { grid-template-columns: 1fr; }
  .case-a, .case-b, .case-c, .case-d { grid-template-columns: 1fr; }
  .case-a .case-text { writing-mode: horizontal-tb; transform: none; }
  .three article, .nested article { padding: 1.6rem 1.2rem; }
  .process-board { grid-template-columns: 1fr; }
  .p1, .p6 { grid-column: auto; }
  .contrast { grid-template-columns: 1fr; }
  .company { grid-template-columns: 1fr; }
  .co-def, .co-exp, .co-op, .co-loc, .co-img { grid-column: auto; grid-row: auto; }
  .details { display: flex; flex-direction: column; }
  .voids { grid-template-columns: 1fr; gap: 3.4rem; }
  .unfinished, .final { grid-template-columns: 1fr; }
  .un-void { min-height: 14vh; }
  .final-cta { position: relative; left: 0; bottom: 0; margin: 1.2rem; }
  .contact-preview .band { grid-template-columns: 1fr; gap: 0.6rem; }
  .site-foot { grid-template-columns: 1fr; }
  .page-hero, .about-band, .principles { grid-template-columns: 1fr; }
  .about-band:nth-of-type(even) { grid-template-columns: 1fr; }
  .about-band:nth-of-type(even) .label { order: 0; }
  .ch-04 .split { grid-template-columns: 1fr; }
  .f-name, .f-email, .f-org { width: 100%; }
  .logo-insert small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  body.js .keyed-b,
  body.js .keyed-c,
  body.js .keyed-photo,
  body.js .keyed-copy,
  body.js .keyed-cta,
  body.js .h1-a,
  body.js .h1-b,
  .p-step,
  .shift {
    opacity: 1 !important;
    transform: none !important;
  }
  .marquee-track { animation: none; }
}
