/* =========================================================
   Graphicality — Design System
   Every great idea starts with a pencil.
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #101012;
  --ink-2: #151517;
  --ink-3: #1b1b1f;
  --paper: #f3efe7;
  --paper-2: #e9e4d9;
  --paper-3: #faf7f1;
  --white: #ffffff;
  --grey: #a0a0a0;
  --grey-warm: #66615a;
  --red: #ef2029;
  --red-deep: #c8161e;
  --red-soft: #ff5a61;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(16, 16, 18, 0.16);
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --pad: clamp(20px, 4.2vw, 72px);
  --maxw: 1680px;
  --header-h: 88px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);
  --fs-eyebrow: 0.7rem;
  --fs-body: clamp(0.95rem, 0.42vw + 0.84rem, 1.075rem);
  --fs-lead: clamp(1.2rem, 1.15vw + 0.92rem, 1.6rem);
  --fs-h2: clamp(2.65rem, 5.4vw + 1rem, 7rem);
  --fs-h3: clamp(1.5rem, 1.6vw + 1rem, 2.4rem);
  --fs-display: clamp(4rem, 8.6vw + 1rem, 11rem);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--red) var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--red);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 99px;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

p,
h1,
h2,
h3,
h4,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 0.95;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 12px 18px;
  background: var(--red);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - (var(--pad) * 2)), var(--maxw));
  margin-inline: auto;
}

.container--wide {
  width: min(calc(100% - (var(--pad) * 2)), 1920px);
}

.section {
  position: relative;
  padding-block: clamp(6rem, 10vw, 11rem);
}

.section--paper {
  background: var(--paper);
  color: var(--ink);
}

.section--ink {
  background: var(--ink);
  color: var(--white);
}

.section--tight {
  padding-block: clamp(4rem, 6vw, 7rem);
}

/* ---------- Paper grain ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

/* ---------- Typography utilities ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--grey);
}

.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  flex: none;
  background: var(--red);
}

.section--paper .eyebrow {
  color: var(--grey-warm);
}

.eyebrow__num {
  color: var(--red-soft);
}

.section--paper .eyebrow__num {
  color: var(--red-deep);
}

.display {
  font-size: var(--fs-h2);
  font-weight: 750;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.display em,
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.015em;
}

.display .red,
.red {
  color: var(--red);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  letter-spacing: -0.015em;
}

.muted {
  color: var(--grey);
}

.section--paper .muted {
  color: var(--grey-warm);
}

.body-copy {
  max-width: 56ch;
  color: var(--grey);
}

.section--paper .body-copy {
  color: #55514b;
}

.small-label {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

section[id],
div[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

svg[data-draw] path,
svg[data-draw] line,
svg[data-draw] circle,
svg[data-draw] polyline {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

svg[data-draw].is-inview path,
svg[data-draw].is-inview line,
svg[data-draw].is-inview circle,
svg[data-draw].is-inview polyline {
  animation: draw-line 1.8s var(--ease-out) forwards;
}

svg[data-draw].is-inview path:nth-child(2),
svg[data-draw].is-inview line:nth-child(2) {
  animation-delay: 0.15s;
}

svg[data-draw].is-inview path:nth-child(3),
svg[data-draw].is-inview line:nth-child(3) {
  animation-delay: 0.3s;
}

/* ---------- Links & buttons ---------- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 0.3s, border-color 0.3s;
}

.text-link svg {
  width: 12px;
  height: 12px;
  transition: transform 0.35s var(--ease-out);
}

.text-link:hover {
  color: var(--red);
  border-color: var(--red);
}

.text-link:hover svg {
  transform: translate(3px, -3px);
}

.btn {
  --btn-bg: var(--red-deep);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 56px;
  padding: 0.9rem 1.1rem 0.9rem 1.4rem;
  overflow: hidden;
  border: 1px solid var(--red-deep);
  background: var(--btn-bg);
  color: var(--white);
  font-size: 0.73rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: border-color 0.35s, color 0.35s;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn__arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  transition: transform 0.4s var(--ease-out), border-color 0.35s;
}

.btn__arrow svg {
  width: 13px;
  height: 13px;
}

.btn:hover {
  border-color: var(--red);
}

.btn:hover::before {
  transform: translateY(0);
}

.btn:hover .btn__arrow {
  transform: rotate(45deg);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-dark);
  color: var(--white);
}

.btn--ghost::before {
  background: var(--red);
}

.btn--ghost:hover {
  border-color: var(--red);
}

.section--paper .btn--ghost {
  border-color: var(--line-light);
  color: var(--ink);
}

.section--paper .btn--ghost::before {
  background: var(--red);
}

.section--paper .btn--ghost:hover {
  color: var(--white);
  border-color: var(--red);
}

/* ---------- Reveals ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 1s var(--ease-out);
  transition-delay: calc(var(--delay, 0) * 85ms);
}

.js [data-reveal].is-inview {
  opacity: 1;
  transform: none;
}

.js [data-reveal="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease-inout);
  transition-delay: calc(var(--delay, 0) * 85ms);
}

.js [data-reveal="clip"].is-inview {
  clip-path: inset(0 0 0 0);
}

.js [data-reveal="scale"] {
  opacity: 1;
  transform: none;
  clip-path: inset(6% 6% 6% 6%);
  transition: clip-path 1.3s var(--ease-out);
}

.js [data-reveal="scale"].is-inview {
  clip-path: inset(0 0 0 0);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: color 0.45s var(--ease-out);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(16, 16, 18, 0.78), rgba(16, 16, 18, 0));
  opacity: 1;
  transition: opacity 0.4s, background 0.4s;
}

.site-header.is-scrolled::before {
  opacity: 0;
}

.site-header.is-scrolled {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(16, 16, 18, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.site-header.is-light {
  color: var(--ink);
}

.site-header.is-light::before {
  background: linear-gradient(to bottom, rgba(243, 239, 231, 0.86), rgba(243, 239, 231, 0));
}

.site-header.is-light.is-scrolled {
  background: var(--paper);
  border-bottom-color: rgba(16, 16, 18, 0.08);
}

body.menu-open .site-header,
body.menu-open .site-header.is-light,
body.menu-open .site-header.is-scrolled {
  color: var(--white);
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.menu-open .site-header::before {
  opacity: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: var(--pad);
}

.brand {
  position: relative;
  display: block;
  line-height: 0;
}

.brand img {
  width: auto;
  height: clamp(23px, 1.9vw, 30px);
  transition: opacity 0.4s var(--ease-out);
}

.brand__dark {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.site-header.is-light .brand__light {
  opacity: 0;
}

.site-header.is-light .brand__dark {
  opacity: 1;
}

body.menu-open .brand__light {
  opacity: 1;
}

body.menu-open .brand__dark {
  opacity: 0;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 3.2rem);
}

.header-talk {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.header-talk::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.header-talk svg {
  width: 10px;
  height: 10px;
  transition: transform 0.35s var(--ease-out);
}

.header-talk:hover svg {
  transform: translate(2px, -2px);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.menu-toggle__icon {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  border: 1px solid currentColor;
  border-radius: 50%;
  padding: 0 8px;
  transition: background 0.35s, border-color 0.35s;
}

.menu-toggle__icon i {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.45s var(--ease-out), opacity 0.2s;
}

.menu-toggle:hover .menu-toggle__icon {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

body.menu-open .menu-toggle__icon i:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

body.menu-open .menu-toggle__icon i:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

body.menu-open .menu-toggle:hover .menu-toggle__icon {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

body.menu-open .header-talk {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 640px) {
  :root {
    --header-h: 72px;
  }

  .header-talk {
    display: none;
  }

  .menu-toggle__label {
    display: none;
  }
}

/* ---------- Full-screen menu ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  overflow: hidden auto;
  background: var(--ink);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path 0.85s var(--ease-inout),
    visibility 0s linear 0.85s;
}

.menu-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 65%);
  pointer-events: none;
}

.menu-overlay.is-open {
  visibility: visible;
  clip-path: inset(0);
  transition:
    clip-path 0.85s var(--ease-inout),
    visibility 0s;
}

.menu-overlay__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: min(calc(100% - (var(--pad) * 2)), var(--maxw));
  margin-inline: auto;
  padding-top: calc(var(--header-h) + clamp(2rem, 6vh, 5rem));
  padding-bottom: 2rem;
}

.menu-overlay__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
  flex: 1;
}

.menu-nav ol {
  display: flex;
  flex-direction: column;
}

.menu-nav li {
  border-top: 1px solid var(--line-dark);
}

.menu-nav li:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.menu-nav__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: clamp(1rem, 2.6vw, 2.8rem);
  padding: clamp(0.45rem, 1.1vh, 0.9rem) 0;
  overflow: hidden;
  transition: color 0.35s, padding-left 0.45s var(--ease-out);
}

.menu-nav__link-inner {
  display: flex;
  align-items: baseline;
  gap: clamp(1rem, 2.6vw, 2.8rem);
  transform: translateY(115%);
  transition: transform 0.85s var(--ease-out);
  transition-delay: 0s;
}

.menu-overlay.is-open .menu-nav__link-inner {
  transform: translateY(0);
  transition-delay: calc(0.24s + (var(--i, 0) * 0.07s));
}

.menu-nav__index {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--red-soft);
}

.menu-nav__word {
  font-size: clamp(2.6rem, 6.5vw, 6.6rem);
  font-weight: 750;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.menu-nav__arrow {
  width: clamp(20px, 2.4vw, 36px);
  height: clamp(20px, 2.4vw, 36px);
  margin-left: auto;
  color: var(--red);
  opacity: 0;
  transform: translate(-12px, 12px);
  transition: opacity 0.35s, transform 0.45s var(--ease-out);
}

.menu-nav__link:hover,
.menu-nav__link:focus-visible {
  color: var(--red-soft);
}

.menu-nav__link:hover .menu-nav__arrow {
  opacity: 1;
  transform: none;
}

.menu-nav__link[aria-current="page"] .menu-nav__word {
  color: var(--red);
}

.menu-aside {
  display: flex;
  flex-direction: column;
  gap: clamp(1.8rem, 4vh, 3rem);
  padding-bottom: 0.8rem;
}

.menu-aside__label {
  margin-bottom: 0.8rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

.menu-aside__email {
  display: inline-block;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 0.2rem;
  transition: color 0.25s, border-color 0.25s;
}

.menu-aside__email:hover {
  color: var(--red-soft);
  border-color: var(--red);
}

.menu-aside__phone {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--grey);
}

.menu-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.2rem;
}

.menu-socials a {
  font-size: 0.8rem;
  color: var(--grey);
  transition: color 0.25s;
}

.menu-socials a:hover {
  color: var(--white);
}

.menu-aside__note {
  max-width: 22ch;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 1.7vw, 1.7rem);
  line-height: 1.25;
  color: var(--paper-2);
}

.menu-aside__note .red {
  color: var(--red-soft);
}

.menu-overlay__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(2rem, 4vh, 3.5rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

.menu-overlay__mark {
  position: absolute;
  right: -4%;
  top: 12%;
  width: min(28vw, 380px);
  opacity: 0.045;
  pointer-events: none;
}

.menu-scribble {
  position: absolute;
  right: 8%;
  bottom: 20%;
  width: min(26vw, 320px);
  color: var(--red);
  opacity: 0;
  transition: opacity 0.5s 0.6s;
  pointer-events: none;
}

.menu-overlay.is-open .menu-scribble {
  opacity: 0.5;
}

.menu-scribble path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.menu-overlay.is-open .menu-scribble path {
  animation: draw-line 1.6s 0.55s var(--ease-out) forwards;
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 900px) {
  .menu-overlay__grid {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 2.6rem;
  }

  .menu-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
  }

  .menu-aside__note {
    display: none;
  }

  .menu-nav__word {
    font-size: clamp(2.5rem, 10vw, 5rem);
  }

  .menu-scribble {
    display: none;
  }
}

@media (max-width: 560px) {
  .menu-aside {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .menu-overlay__panel {
    padding-top: calc(var(--header-h) + 2.2rem);
  }

  .menu-nav__arrow {
    display: none;
  }

  .menu-overlay__foot {
    justify-content: flex-start;
  }
}

/* ---------- Cursor ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1500;
  pointer-events: none;
  mix-blend-mode: normal;
  opacity: 0;
  transition: opacity 0.3s;
}

html.has-cursor .cursor {
  opacity: 1;
}

.cursor__dot,
.cursor__ring {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor__dot {
  width: 6px;
  height: 6px;
  background: var(--red);
}

.cursor__ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(239, 32, 41, 0.55);
  transition: width 0.28s var(--ease-out), height 0.28s var(--ease-out), background 0.28s, border-color 0.28s;
}

.cursor__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.2rem 0.35rem;
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.25s;
  white-space: nowrap;
}

html.cursor-active .cursor__ring {
  width: 58px;
  height: 58px;
  border-color: transparent;
  background: rgba(239, 32, 41, 0.14);
}

html.cursor-label .cursor__ring {
  width: 68px;
  height: 68px;
  border-color: var(--red);
  background: rgba(16, 16, 18, 0.35);
}

html.cursor-label .cursor__label {
  opacity: 1;
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor {
    display: none;
  }
}

/* ---------- Scroll meter ---------- */
.scroll-meter {
  --progress: 0;
  position: fixed;
  z-index: 85;
  right: 16px;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 7px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 99px;
  background: rgba(16, 16, 18, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(-50%);
}

.scroll-meter__count {
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--grey);
}

.scroll-meter__track {
  position: relative;
  width: 1px;
  height: 140px;
  background: rgba(255, 255, 255, 0.18);
}

.scroll-meter__fill {
  position: absolute;
  inset: 0;
  background: var(--red);
  transform-origin: top center;
  transform: scaleY(var(--progress));
}

.scroll-meter__pencil {
  position: absolute;
  left: 50%;
  top: calc((140px - 16px) * var(--progress));
  width: 13px;
  height: 22px;
  transform: translate(-50%, -50%) rotate(180deg);
  color: var(--red);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}

@media (max-width: 1180px), (pointer: coarse) {
  .scroll-meter {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 2.5vh);
  padding-bottom: 1.6rem;
  overflow: clip;
  background: var(--ink);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: clamp(56px, 6vw, 96px) clamp(56px, 6vw, 96px);
  mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 68%);
}

.hero__glow {
  position: absolute;
  top: -22%;
  right: -12%;
  width: 62vw;
  height: 62vw;
  background: radial-gradient(circle, rgba(239, 32, 41, 0.14) 0%, rgba(239, 32, 41, 0) 62%);
  filter: blur(20px);
}

.hero__orbit {
  position: absolute;
  top: 14%;
  right: 2%;
  width: min(45vw, 720px);
  height: auto;
  color: rgba(255, 255, 255, 0.06);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.78fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  flex: 1;
  padding-block: clamp(2rem, 4vh, 4rem);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__title {
  margin-top: clamp(1.4rem, 3.5vh, 3rem);
  font-size: clamp(3.3rem, 8.1vw, 9.7rem);
  font-weight: 800;
  line-height: 0.83;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.055em;
  margin-bottom: -0.03em;
}

.hero__line--serif {
  padding-bottom: 0.13em;
}

.hero__word {
  display: block;
  transform: translateY(112%);
  animation: hero-word-in 1.2s var(--ease-out) forwards;
  animation-delay: calc(0.15s + (var(--i, 0) * 0.11s));
}

.hero__line--serif .hero__word {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.025em;
  color: var(--red);
  font-size: 1.08em;
  line-height: 0.78;
}

.hero__title .red {
  color: var(--red);
}

@keyframes hero-word-in {
  to {
    transform: translateY(0);
  }
}

.hero__bottom {
  display: flex;
  flex-direction: column;
  gap: clamp(1.3rem, 2.6vh, 2.2rem);
  max-width: 590px;
  margin-top: clamp(1.5rem, 4vh, 3rem);
}

.hero__lede {
  max-width: 48ch;
  font-size: clamp(0.98rem, 0.5vw + 0.86rem, 1.16rem);
  line-height: 1.6;
  color: #b9b6b0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.8rem;
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 500px;
}

.hero-canvas {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 45%),
    #141416;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.42),
    18px 18px 0 rgba(239, 32, 41, 0.07);
  transform: rotate(1.25deg);
}

.hero-canvas::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-canvas::after {
  content: "";
  position: absolute;
  top: -1px;
  right: 28px;
  width: 64px;
  height: 1px;
  background: var(--red);
}

.hero-canvas__meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #828287;
}

.hero-canvas__meta span:last-child {
  color: var(--red-soft);
}

.hero-sketch {
  width: 100%;
  height: calc(100% - 48px);
  min-height: 0;
  margin-block: 4px;
  overflow: visible;
}

.hero-canvas__foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  font-size: 0.53rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #77777c;
}

.hero-canvas__foot strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #d3d0cb;
}

.hero-sketch .sketch-ghost {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 2;
  stroke-dasharray: 2 9;
  stroke-linecap: round;
}

.hero-sketch .sketch-draw {
  fill: none;
  stroke: var(--red);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(239, 32, 41, 0.2));
}

.hero-sketch .sketch-underline {
  fill: none;
  stroke: var(--red);
  stroke-width: 4;
  stroke-linecap: round;
}

.hero-sketch .grid-line {
  stroke: rgba(255, 255, 255, 0.045);
  stroke-width: 1;
}

.hero-sketch .guide {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
  stroke-dasharray: 3 8;
}

.hero-sketch .sketch-note {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: #6e6e74;
}

.hero-pencil {
  filter: drop-shadow(5px 7px 3px rgba(0, 0, 0, 0.35));
}

.hero-sketch .spark {
  opacity: 0;
}

.hero__note {
  position: absolute;
  left: -14%;
  bottom: 4%;
  max-width: 180px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  line-height: 1.2;
  color: #a7a49e;
  transform: rotate(-6deg);
}

.hero__note svg {
  width: 62px;
  margin-top: 0.4rem;
  color: var(--red);
}

.hero__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #8f8d88;
}

.scroll-line {
  position: relative;
  display: block;
  width: 1px;
  height: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  animation: scroll-line 2s var(--ease-inout) infinite;
}

@keyframes scroll-line {
  0% {
    transform: translateY(-100%);
  }
  50% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}

.hero__disciplines {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #8f8d88;
}

.hero__disciplines span {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.hero__disciplines span:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
}

@media (max-width: 1180px) {
  .hero__note {
    display: none;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  }
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 2.6rem);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .hero__title {
    font-size: clamp(3.3rem, 12vw, 7.5rem);
  }

  .hero__visual {
    justify-self: start;
    max-width: 440px;
    width: 100%;
  }

  .hero__note {
    display: block;
    left: auto;
    right: -18%;
    bottom: 8%;
  }

  .hero__footer {
    margin-top: 1rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-bottom: 1.2rem;
  }

  .hero__title {
    font-size: clamp(3rem, 15vw, 5.2rem);
    line-height: 0.86;
  }

  .hero__visual {
    max-width: 360px;
  }

  .hero__note {
    display: none;
  }

  .hero__actions {
    gap: 1.2rem;
  }

  .hero__actions .btn,
  .hero__actions .text-link {
    width: 100%;
    justify-content: space-between;
  }

  .hero__actions .text-link {
    width: auto;
    align-self: flex-start;
    justify-content: flex-start;
  }

  .hero__disciplines {
    display: none;
  }

  .hero__footer {
    border-top: 0;
    padding-top: 0;
  }
}

/* ---------- Section heading ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 6rem);
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.section-head__main {
  max-width: 900px;
}

.section-head .display {
  margin-top: 1.3rem;
}

.section-head__aside {
  flex: none;
  width: min(33ch, 100%);
  padding-bottom: 0.35rem;
}

.section-head__aside p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--grey);
  margin-bottom: 1.4rem;
}

.section--paper .section-head__aside p {
  color: var(--grey-warm);
}

@media (max-width: 900px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
  }

  .section-head__aside {
    width: min(52ch, 100%);
  }
}

/* ---------- Manifesto ---------- */
.manifesto {
  position: relative;
  overflow: clip;
}

.manifesto::before {
  content: "";
  position: absolute;
  top: clamp(2rem, 4vw, 5rem);
  right: 8%;
  width: clamp(140px, 20vw, 300px);
  height: clamp(140px, 20vw, 300px);
  border: 1px solid rgba(16, 16, 18, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.manifesto::after {
  content: "";
  position: absolute;
  top: 0;
  left: var(--pad);
  width: 1px;
  height: clamp(3rem, 7vw, 8rem);
  background: var(--red);
}

.manifesto__top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.55fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 8rem);
}

.manifesto__title {
  margin-top: clamp(1.4rem, 3vw, 2.4rem);
  font-size: clamp(2.8rem, 6.6vw, 8.6rem);
  font-weight: 750;
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.manifesto__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.015em;
  color: var(--red);
  font-size: 1.02em;
  line-height: 0.82;
}

.manifesto__aside {
  position: relative;
  padding-bottom: 0.4rem;
}

.manifesto__aside p {
  max-width: 36ch;
  margin-bottom: 1.6rem;
  color: var(--grey-warm);
  font-size: clamp(0.95rem, 0.35vw + 0.88rem, 1.08rem);
  line-height: 1.72;
}

.manifesto__star {
  width: 58px;
  margin-bottom: 1.4rem;
  color: var(--red);
  animation: slow-spin 24s linear infinite;
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

.manifesto__annotation {
  position: absolute;
  top: -7rem;
  right: 4%;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--red);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.2;
  transform: rotate(-4deg);
  pointer-events: none;
}

.manifesto__annotation svg {
  width: 48px;
  margin-top: 1.4rem;
  transform: scaleX(-1) rotate(-18deg);
}

.manifesto__journey {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: clamp(3.5rem, 7vw, 7rem);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.manifesto__step {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 74px;
  padding: 0.8rem clamp(0.5rem, 1.4vw, 1.4rem);
  border-right: 1px solid var(--line-light);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.manifesto__step:last-child {
  border-right: 0;
}

.manifesto__step span {
  font-size: 0.52rem;
  color: var(--red);
}

.manifesto__step svg {
  width: 12px;
  margin-left: auto;
  opacity: 0.35;
}

@media (max-width: 1000px) {
  .manifesto__top {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }

  .manifesto__aside {
    max-width: 560px;
  }

  .manifesto__annotation {
    display: none;
  }
}

@media (max-width: 760px) {
  .manifesto__journey {
    grid-template-columns: 1fr 1fr;
  }

  .manifesto__step {
    border-bottom: 1px solid var(--line-light);
  }

  .manifesto__step:nth-child(2n) {
    border-right: 0;
  }

  .manifesto__step:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }
}

/* ---------- Work / projects ---------- */
.works-section {
  position: relative;
  overflow: clip;
}

.works-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 12%, rgba(239, 32, 41, 0.08), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: auto, 100% 120px;
  pointer-events: none;
}

.works-section .container {
  position: relative;
  z-index: 1;
}

.works-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.works-head__title {
  max-width: 980px;
}

.works-head__title .display {
  margin-top: 1.3rem;
}

.works-head__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.6rem;
  padding-bottom: 0.3rem;
  text-align: right;
}

.works-head__aside p {
  max-width: 28ch;
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.7;
}

.works-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 4.5vw, 5rem);
  align-items: start;
}

.project {
  position: relative;
}

.js .project[data-reveal] .project__media {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.15s var(--ease-inout);
  transition-delay: calc(var(--delay, 0) * 90ms);
}

.js .project[data-reveal].is-inview .project__media {
  clip-path: inset(0);
}

.project--wide {
  grid-column: 1 / -1;
}

.project--offset {
  align-self: end;
}

.project__link {
  display: block;
}

.project__media {
  position: relative;
  overflow: hidden;
  background: var(--ink-3);
  isolation: isolate;
}

.project__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.35), transparent 38%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.project--wide .project__media {
  aspect-ratio: 16 / 8.6;
}

.project__media {
  aspect-ratio: 5 / 4;
}

.project--wide .project__media img,
.project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter 0.8s;
}

.project--wide .project__media img {
  object-position: top center;
}

.project__media .project__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.4rem 0.6rem;
  background: rgba(16, 16, 18, 0.65);
  backdrop-filter: blur(6px);
  color: #e6e3dd;
  font-size: 0.53rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project__view {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(16, 16, 18, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.5s var(--ease-out), background 0.3s;
}

.project__view svg {
  width: 12px;
  height: 12px;
}

.project__link:hover .project__media::after,
.project__link:focus-visible .project__media::after {
  opacity: 1;
}

.project__link:hover .project__media img,
.project__link:focus-visible .project__media img {
  transform: scale(1.045);
}

.project__link:hover .project__view,
.project__link:focus-visible .project__view {
  opacity: 1;
  transform: none;
}

.project__link:hover .project__view {
  background: var(--red);
  border-color: var(--red);
}

.project__info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.4rem 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid transparent;
}

.project__title-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.project__index {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--red-soft);
}

.project__title {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.project__arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: 0.3rem;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--white);
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease-out);
}

.project__arrow svg {
  width: 13px;
}

.project__link:hover .project__arrow {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(45deg);
}

.project__meta {
  grid-column: 1;
  color: var(--grey);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.project__desc {
  grid-column: 1 / -1;
  max-width: 56ch;
  margin-top: 0.55rem;
  color: #b7b4ae;
  font-size: 0.88rem;
  line-height: 1.65;
}

.project--wide .project__title {
  font-size: clamp(2rem, 3.4vw, 3.7rem);
}

.project--wide .project__info {
  grid-template-columns: minmax(0, 1fr) auto;
}

.project--wide .project__desc {
  grid-column: 1 / 2;
}

.project--wide .project__side-meta {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  text-align: right;
  color: var(--grey);
}

.project__side-meta strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .works-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .works-head__aside {
    align-items: flex-start;
    text-align: left;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .project--offset {
    align-self: auto;
  }

  .project__media {
    aspect-ratio: 4 / 4.1;
  }

  .project--wide .project__media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 600px) {
  .project__info,
  .project--wide .project__info {
    grid-template-columns: 1fr;
  }

  .project__side-meta {
    display: none;
  }

  .project__view {
    opacity: 1;
    transform: none;
    padding: 0.45rem 0.65rem;
  }

  .project__arrow {
    display: none;
  }
}

/* ---------- Expertise / services accordion ---------- */
.expertise {
  position: relative;
  overflow: clip;
}

.expertise::after {
  content: "";
  position: absolute;
  right: -6%;
  bottom: 10%;
  width: 30vw;
  height: 30vw;
  border: 1px solid rgba(16, 16, 18, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.expertise__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(3rem, 7vw, 9rem);
  align-items: start;
}

.expertise__intro {
  position: sticky;
  top: calc(var(--header-h) + 2.4rem);
}

.expertise__intro .display {
  margin-top: 1.3rem;
  font-size: clamp(2.7rem, 4.8vw, 5.6rem);
}

.expertise__intro > p {
  max-width: 34ch;
  margin-top: 1.8rem;
  margin-bottom: 2rem;
  color: var(--grey-warm);
  font-size: 0.95rem;
  line-height: 1.72;
}

.expertise__scribble {
  width: min(220px, 80%);
  margin-top: 2.4rem;
  color: var(--red);
}

.expertise__service-list {
  border-top: 1px solid var(--line-light);
}

.service {
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--line-light);
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.55s var(--ease-inout);
  pointer-events: none;
}

.service.is-open::before {
  transform: scaleY(1);
}

.service.is-open {
  color: var(--white);
}

.service.is-open .service__num {
  color: var(--red-soft);
}

.service.is-open .service__name {
  color: var(--white);
}

.service__trigger {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 2rem;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: clamp(76px, 8vw, 112px);
  text-align: left;
  color: inherit;
}

.service__num {
  align-self: start;
  padding-top: 0.45rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--grey-warm);
  transition: color 0.3s;
}

.service__name {
  font-size: clamp(1.25rem, 2.2vw, 2.2rem);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.035em;
  transition: color 0.3s;
}

.service__plus {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  justify-self: end;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.48;
  transition: transform 0.45s var(--ease-out), opacity 0.3s, background 0.3s;
}

.service__plus::before,
.service__plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.service__plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.service__trigger:hover .service__plus {
  opacity: 1;
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.service.is-open .service__plus {
  opacity: 1;
  transform: rotate(45deg);
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.service__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease-inout);
}

.service.is-open .service__panel {
  grid-template-rows: 1fr;
}

.service__panel-inner {
  overflow: hidden;
}

.service__panel-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 2rem;
  padding: 0 2.2rem clamp(1.6rem, 3vw, 2.6rem) 4rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s 0.1s, transform 0.6s 0.1s var(--ease-out);
}

.service.is-open .service__panel-content {
  opacity: 1;
  transform: none;
}

.service__panel-content p {
  max-width: 58ch;
  color: #b8b5b0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.2rem;
}

.service__tags li {
  padding: 0.32rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #b8b5b0;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.service__icon {
  align-self: center;
  width: 130px;
  height: 130px;
  color: var(--red-soft);
}

.service__icon path,
.service__icon line,
.service__icon circle,
.service__icon rect,
.service__icon polyline {
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service__icon .icon-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.service.is-open .service__icon .icon-line {
  animation: draw-line 1.15s var(--ease-out) forwards;
  animation-delay: calc(0.18s + (var(--d, 0) * 0.09s));
}

@media (max-width: 980px) {
  .expertise__grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .expertise__intro {
    position: relative;
    top: auto;
  }

  .expertise__scribble {
    display: none;
  }
}

@media (max-width: 580px) {
  .service__trigger {
    grid-template-columns: 2rem minmax(0, 1fr) 1.6rem;
    gap: 0.6rem;
  }

  .service__num {
    padding-top: 0.3rem;
    font-size: 0.55rem;
  }

  .service__plus {
    width: 24px;
    height: 24px;
  }

  .service__panel-content {
    grid-template-columns: 1fr;
    padding: 0 0 1.8rem 2.6rem;
  }

  .service__icon {
    display: none;
  }
}

/* ---------- Compare ---------- */
.compare-section {
  position: relative;
  overflow: clip;
  background: #0d0d0f;
}

.compare-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(239, 32, 41, 0.09), transparent 30%),
    linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, 0.04) 50%, transparent 50.1%);
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.compare-section__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}

.compare-section__intro .display {
  margin-top: 1.3rem;
  font-size: clamp(2.6rem, 4.6vw, 5.2rem);
}

.compare-section__intro .display em {
  color: var(--red-soft);
}

.compare-section__intro > p {
  max-width: 38ch;
  margin-top: 1.8rem;
  color: var(--grey);
  font-size: 0.95rem;
  line-height: 1.72;
}

.compare-section__disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8c8984;
}

.compare-section__disciplines span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.compare-section__disciplines span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
}

.compare-wrap {
  position: relative;
}

.compare {
  --pos: 52%;
  position: relative;
  aspect-ratio: 1600 / 979;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--paper);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
}

.compare:has(.compare__range:focus-visible) {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.compare__layer {
  position: absolute;
  inset: 0;
}

.compare__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.compare__layer--sketch {
  z-index: 2;
  background: var(--paper);
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.compare__layer--sketch svg {
  width: 100%;
  height: 100%;
}

.compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 5;
  width: 2px;
  background: var(--red);
  transform: translateX(-50%);
  pointer-events: none;
}

.compare__divider::before,
.compare__divider::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid var(--red);
  border-radius: 50%;
  background: var(--ink);
  transform: translateX(-50%);
}

.compare__divider::before {
  top: 12px;
}

.compare__divider::after {
  bottom: 12px;
}

.compare__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.compare__grip svg {
  width: 18px;
  height: 18px;
}

.compare__label {
  position: absolute;
  top: 0.9rem;
  z-index: 6;
  padding: 0.32rem 0.5rem;
  font-size: 0.52rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}

.compare__label--left {
  left: 0.9rem;
  color: var(--ink);
  border: 1px solid rgba(16, 16, 18, 0.22);
  background: rgba(243, 239, 231, 0.75);
}

.compare__label--right {
  right: 0.9rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(16, 16, 18, 0.55);
  backdrop-filter: blur(5px);
}

.compare__range {
  position: absolute;
  inset: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.compare__caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7b7873;
}

@media (max-width: 1000px) {
  .compare-section__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .compare-section__intro {
    max-width: 660px;
  }
}

@media (max-width: 600px) {
  .compare__grip {
    width: 36px;
    height: 36px;
  }

  .compare__label {
    top: 0.5rem;
    font-size: 0.45rem;
  }

  .compare__label--left {
    left: 0.5rem;
  }

  .compare__label--right {
    right: 0.5rem;
  }

  .compare__caption {
    font-size: 0.5rem;
  }
}

/* ---------- Performance ---------- */
.performance {
  overflow: clip;
}

.performance__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.55fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.performance__top .display {
  margin-top: 1.3rem;
}

.performance__top .display em {
  color: var(--red);
}

.performance__top-aside p {
  max-width: 36ch;
  color: var(--grey-warm);
  font-size: 0.95rem;
  line-height: 1.72;
}

.performance__top-aside .text-link {
  margin-top: 1.4rem;
}

.performance__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
}

.perf-panel {
  position: relative;
  padding: clamp(1.4rem, 2.6vw, 2.4rem);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.perf-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(239, 32, 41, 0.16), transparent 32%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  pointer-events: none;
}

.perf-panel > * {
  position: relative;
  z-index: 1;
}

.perf-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.56rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8d8a85;
}

.perf-panel__head span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.perf-panel__head span:last-child::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fbf97;
}

.vitals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.vital {
  padding: 1rem 0.5rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.vital__dial {
  width: 100%;
  max-width: 150px;
  margin-inline: auto;
}

.vital__arc {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 6;
  stroke-linecap: round;
}

.vital__arc-good {
  fill: none;
  stroke: #8fbf97;
  stroke-width: 6;
  stroke-linecap: round;
  opacity: 0.6;
}

.vital__needle {
  stroke: #ef2029;
  stroke-width: 2.5;
  stroke-linecap: round;
  transform-origin: 100px 104px;
  transform: rotate(-72deg);
  transition: transform 1.4s var(--ease-out);
}

.perf-panel.is-inview .vital:nth-child(1) .vital__needle {
  transform: rotate(22deg);
}

.perf-panel.is-inview .vital:nth-child(2) .vital__needle {
  transform: rotate(14deg);
  transition-delay: 0.15s;
}

.perf-panel.is-inview .vital:nth-child(3) .vital__needle {
  transform: rotate(28deg);
  transition-delay: 0.3s;
}

.vital__hub {
  fill: var(--red);
}

.vital__value {
  margin-top: -0.65rem;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.vital__value small {
  margin-left: 1px;
  font-size: 0.55em;
  font-weight: 500;
  letter-spacing: 0;
}

.vital__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8d8a85;
}

.perf-panel__note {
  margin-top: 1.2rem;
  font-size: 0.66rem;
  line-height: 1.6;
  color: #817e79;
}

.perf-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.perf-checks li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-height: 104px;
  padding: 1.1rem;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  font-size: 0.78rem;
  line-height: 1.5;
  color: #504c45;
}

.perf-checks li svg {
  flex: none;
  width: 13px;
  height: 13px;
  margin-top: 0.2rem;
  color: var(--red);
}

.perf-checks li strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.performance__strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.4rem, 4vw, 3.5rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-light);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  color: #5e5a53;
}

.performance__strip span:last-child {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-deep);
}

@media (max-width: 1000px) {
  .performance__top {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .performance__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .vitals {
    grid-template-columns: 1fr;
  }

  .vital {
    display: grid;
    grid-template-columns: 110px 1fr;
    align-items: center;
    text-align: left;
    padding: 0.5rem;
  }

  .vital__dial {
    max-width: 105px;
  }

  .vital__value {
    margin-top: 0;
  }

  .vital__label {
    margin-top: 0.1rem;
  }

  .perf-checks {
    grid-template-columns: 1fr;
  }

  .perf-checks li {
    min-height: 0;
  }
}

/* ---------- Process ---------- */
.process {
  position: relative;
  overflow: clip;
  background: var(--ink);
}

.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(239, 32, 41, 0.08), transparent 26%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015));
  pointer-events: none;
}

.process__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(3rem, 7vw, 9rem);
  align-items: start;
}

.process__intro {
  position: sticky;
  top: calc(var(--header-h) + 2.8rem);
}

.process__intro .display {
  margin-top: 1.3rem;
  font-size: clamp(2.6rem, 4.6vw, 5.2rem);
}

.process__intro .display em {
  color: var(--red-soft);
}

.process__intro > p {
  max-width: 32ch;
  margin-top: 1.6rem;
  color: var(--grey);
  font-size: 0.93rem;
  line-height: 1.72;
}

.process__doodle {
  width: min(200px, 70%);
  margin-top: 2.6rem;
  color: var(--red);
}

.process__steps {
  position: relative;
  padding-left: 3.2rem;
}

.process__rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 1px;
  background: rgba(255, 255, 255, 0.13);
}

.process__rail-fill {
  position: absolute;
  inset: 0;
  background: var(--red);
  transform-origin: top;
  transform: scaleY(0);
}

.process__pencil {
  position: absolute;
  top: 0;
  left: 7px;
  width: 20px;
  height: 30px;
  color: var(--red);
  transform: translate(-50%, -40%) rotate(8deg);
  transition: top 0.1s linear;
}

.process__step-list {
  display: block;
}

.process__step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.4rem;
  padding: clamp(1.4rem, 2.5vw, 2.2rem) 0;
  border-top: 1px solid var(--line-dark);
}

.process__step:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.process__step-num {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  color: var(--red-soft);
}

.process__step h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.process__step p {
  max-width: 52ch;
  color: #96938d;
  font-size: 0.86rem;
  line-height: 1.66;
}

.process__step-icon {
  align-self: center;
  width: 46px;
  height: 46px;
  color: var(--grey);
}

.process__step-icon path,
.process__step-icon line,
.process__step-icon circle,
.process__step-icon polyline {
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process__step:hover .process__step-icon {
  color: var(--red-soft);
}

@media (max-width: 980px) {
  .process__grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .process__intro {
    position: relative;
    top: auto;
  }

  .process__doodle {
    display: none;
  }
}

@media (max-width: 580px) {
  .process__steps {
    padding-left: 2.2rem;
  }

  .process__rail {
    left: 1px;
  }

  .process__pencil {
    left: 1px;
    width: 16px;
  }

  .process__step-icon {
    display: none;
  }
}

/* ---------- About ---------- */
.about-section {
  overflow: clip;
}

.about-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.58fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
}

.about-section__copy .display {
  margin-top: 1.3rem;
  font-size: clamp(2.7rem, 5.4vw, 6.4rem);
}

.about-section__copy .display em {
  color: var(--red);
}

.about-section__copy > p {
  max-width: 56ch;
  margin-top: 1.7rem;
  color: var(--grey-warm);
  font-size: 0.97rem;
  line-height: 1.75;
}

.about-section__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 2rem;
  margin-top: 2rem;
}

.about-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  transform: rotate(1.2deg);
}

.about-visual img.about-visual__texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 16, 18, 0.97), rgba(16, 16, 18, 0.2) 75%);
}

.about-visual__mark {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  z-index: 2;
  width: 56px;
}

.about-visual__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.6rem;
}

.about-visual__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.about-visual__quote span {
  color: var(--red-soft);
}

.about-visual__caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.53rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #b5b1ab;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.about-value {
  position: relative;
  padding: 1.6rem clamp(1rem, 2vw, 2rem) 1.8rem 0;
  border-right: 1px solid var(--line-light);
}

.about-value:not(:first-child) {
  padding-left: clamp(1rem, 2vw, 2rem);
}

.about-value:last-child {
  border-right: 0;
}

.about-value__num {
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--red-deep);
}

.about-value h3 {
  margin: 0.65rem 0 0.5rem;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.about-value p {
  max-width: 32ch;
  color: var(--grey-warm);
  font-size: 0.82rem;
  line-height: 1.65;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 2px solid var(--ink);
}

.stat {
  padding: 1.4rem 1rem 0.4rem 0;
  border-right: 1px solid var(--line-light);
}

.stat:last-child {
  border-right: 0;
}

.stat__value {
  display: flex;
  align-items: flex-start;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.stat__value sup {
  margin-top: 0.15em;
  margin-left: 0.06em;
  font-size: 0.4em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--red);
}

.stat__label {
  margin-top: 0.8rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-warm);
}

@media (max-width: 900px) {
  .about-section__layout {
    grid-template-columns: 1fr;
  }

  .about-visual {
    max-width: 420px;
    min-height: 380px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .about-value,
  .about-value:not(:first-child) {
    padding: 1.4rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .about-values {
    border-bottom: 0;
  }

  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }

  .stat:nth-child(2n) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-light);
  }
}

/* ---------- Clients ---------- */
.clients {
  position: relative;
  overflow: clip;
  background: var(--ink);
}

.clients__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.clients__head .display {
  margin-top: 1.3rem;
  font-size: clamp(2.6rem, 4.8vw, 5.4rem);
}

.clients__head-aside {
  max-width: 30ch;
  padding-bottom: 0.3rem;
  color: var(--grey);
  font-size: 0.88rem;
  line-height: 1.7;
}

.logo-band {
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.logo-band + .logo-band {
  border-top: 0;
}

.logo-set {
  display: flex;
  flex: none;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 55s linear infinite;
}

.logo-band--reverse .logo-track {
  animation-direction: reverse;
  animation-duration: 64s;
}

.logo-band:hover .logo-track,
.logo-band:focus-within .logo-track {
  animation-play-state: paused;
}

@keyframes logo-scroll {
  to {
    transform: translateX(-50%);
  }
}

.logo-chip {
  display: grid;
  place-items: center;
  width: clamp(150px, 12vw, 190px);
  height: clamp(88px, 8vw, 108px);
  flex: none;
  padding: 1.2rem;
  border-right: 1px solid var(--line-dark);
  background: var(--paper);
}

.logo-chip img {
  max-width: 100%;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.78;
  transition: filter 0.45s, opacity 0.45s, transform 0.45s var(--ease-out);
}

.logo-chip:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

.clients__quote {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: start;
  margin-top: clamp(3rem, 6vw, 5.5rem);
}

.clients__quote-mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 9vw, 9rem);
  line-height: 0.55;
  color: var(--red);
}

.clients__quote blockquote {
  max-width: 24ch;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 3.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.clients__quote blockquote em {
  color: var(--red-soft);
}

.clients__quote cite {
  display: block;
  margin-top: 1.1rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
}

@media (max-width: 900px) {
  .clients__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .clients__head-aside {
    max-width: 48ch;
  }
}

@media (max-width: 600px) {
  .clients__quote {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .clients__quote-mark {
    height: 0.6em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .logo-chip {
    border-bottom: 1px solid var(--line-dark);
  }
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  overflow: clip;
  background: var(--ink);
  color: var(--white);
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 20%, rgba(239, 32, 41, 0.16), transparent 30%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 100% 110px;
  pointer-events: none;
}

.contact__ghost {
  position: absolute;
  right: -2%;
  top: 4%;
  font-size: clamp(8rem, 24vw, 24rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  pointer-events: none;
  user-select: none;
}

.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}

.contact__headline {
  margin-top: 1.4rem;
  font-size: clamp(3rem, 6.4vw, 8.4rem);
  font-weight: 780;
  line-height: 0.89;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.contact__headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.015em;
  color: var(--red-soft);
  font-size: 1.02em;
  line-height: 0.85;
}

.contact__intro {
  max-width: 42ch;
  margin-top: 1.8rem;
  color: var(--grey);
  font-size: 0.97rem;
  line-height: 1.7;
}

.contact__details {
  margin-top: clamp(2.2rem, 4vw, 3.4rem);
}

.contact-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line-dark);
}

.contact-line:last-of-type {
  border-bottom: 1px solid var(--line-dark);
}

.contact-line__label {
  flex: none;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #817e79;
}

.contact-line__value {
  text-align: right;
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
  letter-spacing: -0.02em;
  transition: color 0.25s;
}

.contact-line:hover .contact-line__value {
  color: var(--red-soft);
}

.contact__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-top: 1.6rem;
}

.contact__socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.25s;
}

.contact__socials a::after {
  content: "↗";
  font-size: 0.8em;
}

.contact__socials a:hover {
  color: var(--white);
}

.enquiry {
  position: relative;
  padding: clamp(1.5rem, 2.8vw, 2.5rem);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 18px 18px 0 rgba(239, 32, 41, 0.12);
}

.enquiry__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line-light);
}

.enquiry__title {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.enquiry__num {
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--red);
}

.enquiry .form {
  margin-top: 1.5rem;
}

.form {
  display: grid;
  gap: 1.3rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-size: 0.56rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6d685f;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.55rem 0;
  border: 0;
  border-bottom: 1px solid rgba(16, 16, 18, 0.24);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.4;
  outline: 0;
  transition: border-color 0.25s, background 0.25s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a7a198;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #6d685f 50%), linear-gradient(135deg, #6d685f 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 25px;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--red);
}

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select {
  border-bottom-color: var(--red);
}

.field__error {
  display: none;
  font-size: 0.6rem;
  color: var(--red-deep);
}

.field.is-invalid .field__error {
  display: block;
}

.form__foot {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 0.3rem;
}

.form__foot .btn {
  min-height: 50px;
}

.form__note {
  max-width: 28ch;
  font-size: 0.62rem;
  line-height: 1.5;
  color: #777168;
}

.form__status {
  display: none;
  padding: 0.8rem 0.9rem;
  border-left: 2px solid var(--red);
  background: rgba(239, 32, 41, 0.06);
  font-size: 0.75rem;
  line-height: 1.55;
  color: #4a453f;
}

.form__status.is-visible {
  display: block;
}

.form__fallback {
  font-size: 0.7rem;
  color: #6d685f;
}

.form__fallback a {
  color: var(--red-deep);
  border-bottom: 1px solid currentColor;
}

@media (max-width: 1020px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .enquiry {
    max-width: 650px;
  }
}

@media (max-width: 560px) {
  .contact-line {
    flex-direction: column;
    gap: 0.3rem;
  }

  .contact-line__value {
    text-align: left;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .enquiry {
    box-shadow: 10px 10px 0 rgba(239, 32, 41, 0.12);
  }
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: clip;
  padding-top: clamp(3rem, 6vw, 5rem);
  background: #0b0b0d;
  color: var(--white);
  border-top: 1px solid var(--line-dark);
}

.footer__topline {
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0 18%, rgba(255, 255, 255, 0.1) 18% 100%);
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(120px, 0.55fr));
  gap: clamp(2rem, 5vw, 6rem);
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.footer__brand img {
  width: clamp(190px, 18vw, 250px);
  height: auto;
}

.footer__tagline {
  max-width: 24ch;
  margin-top: 1.3rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1.2;
  color: #bdb9b3;
}

.footer__tagline span {
  color: var(--red-soft);
}

.footer__col h2 {
  margin-bottom: 1.1rem;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #76736e;
}

.footer__col li {
  margin-bottom: 0.55rem;
}

.footer__col a {
  font-size: 0.82rem;
  color: #c9c5bf;
  transition: color 0.25s, padding-left 0.3s var(--ease-out);
}

.footer__col a:hover {
  color: var(--red-soft);
  padding-left: 4px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.3rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #787570;
}

.footer__bottom-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #c9c5bf;
  transition: color 0.25s;
}

.footer__top-link::before {
  content: "";
  width: 8px;
  height: 15px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 30'%3E%3Cpath d='M10 1.5 17 22l-7 6.5L3 22 10 1.5Z' fill='%23ef2029'/%3E%3Cpath d='M6.6 22h6.8L10 28.5 6.6 22Z' fill='%23f3efe7'/%3E%3C/svg%3E") center / contain no-repeat;
  transform-origin: 50% 100%;
  transition: transform 0.35s var(--ease-out);
}

.footer__top-link:hover::before {
  transform: rotate(-12deg) translateY(-2px);
}

.footer__top-link svg {
  width: 11px;
  height: 11px;
  transition: transform 0.35s var(--ease-out);
}

.footer__top-link:hover {
  color: var(--white);
}

.footer__top-link:hover svg {
  transform: translateY(-3px);
}

.footer > .container {
  position: relative;
  z-index: 1;
}


@media (max-width: 900px) {
  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer__main {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

}

/* ---------- Inner page heroes ---------- */
.page-hero {
  position: relative;
  overflow: clip;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 9vw, 8rem));
  padding-bottom: clamp(3rem, 6vw, 6rem);
  background: var(--ink);
  color: var(--white);
}

.page-hero--paper {
  background: var(--paper);
  color: var(--ink);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(239, 32, 41, 0.1), transparent 30%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 100% clamp(70px, 8vw, 110px);
  pointer-events: none;
}

.page-hero--paper::before {
  background:
    radial-gradient(circle at 85% 10%, rgba(239, 32, 41, 0.07), transparent 34%),
    linear-gradient(rgba(16, 16, 18, 0.045) 1px, transparent 1px);
  background-size: auto, 100% clamp(70px, 8vw, 110px);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero__crumbs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

.page-hero--paper .page-hero__crumbs {
  color: var(--grey-warm);
}

.page-hero__crumbs a:hover {
  color: var(--red);
}

.page-hero__crumbs span {
  color: var(--red);
}

.page-hero__crumbs span[aria-current] {
  color: inherit;
}

.page-hero__title {
  max-width: 1400px;
  font-size: clamp(3.4rem, 9.2vw, 11rem);
  font-weight: 780;
  line-height: 0.84;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.page-hero__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--red);
  font-size: 1.02em;
  line-height: 0.8;
}

.page-hero--paper .page-hero__title em {
  color: var(--red);
}

.page-hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.55fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
  margin-top: clamp(2rem, 4vw, 3.4rem);
}

.page-hero__intro {
  max-width: 54ch;
  color: var(--grey);
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.2rem);
  line-height: 1.65;
}

.page-hero--paper .page-hero__intro {
  color: var(--grey-warm);
}

.page-hero__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.4rem;
  text-align: right;
}

.page-hero__aside p {
  max-width: 26ch;
  color: #898681;
  font-size: 0.8rem;
  line-height: 1.65;
}

.page-hero--paper .page-hero__aside p {
  color: var(--grey-warm);
}

.page-hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b8883;
}

.page-hero__scroll svg {
  width: 12px;
  color: var(--red);
}

@media (max-width: 900px) {
  .page-hero__row {
    grid-template-columns: 1fr;
  }

  .page-hero__aside {
    align-items: flex-start;
    text-align: left;
  }
}

/* ---------- Work index ---------- */
.work-page {
  background: var(--ink);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-block: 1.1rem;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
}

.filter-btn {
  position: relative;
  padding: 0.35rem 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.25s;
}

.filter-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.filter-btn:hover {
  color: var(--white);
}

.filter-btn[aria-pressed="true"] {
  color: var(--white);
}

.filter-btn[aria-pressed="true"]::after {
  transform: scaleX(1);
}

.filter-count {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #797671;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 5.5rem) clamp(1.5rem, 3vw, 3rem);
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.work-grid .project--wide {
  grid-column: 1 / -1;
}

.work-grid .project.is-hidden {
  display: none;
}

.work-grid.is-single [data-project-card] {
  grid-column: 1 / -1;
}

.work-grid.is-single .project__media {
  aspect-ratio: 16 / 9;
}

.work-grid.is-single .project__info {
  grid-template-columns: minmax(0, 1fr) auto;
}

.work-grid.is-single .project__desc {
  grid-column: 1 / -1;
}

.work-grid .project.is-filtered-in {
  animation: project-in 0.7s var(--ease-out) both;
}

@keyframes project-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

.work-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--line-dark);
  background: #141416;
  overflow: hidden;
}

.work-cta::before {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -30%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(239, 32, 41, 0.25);
  border-radius: 50%;
}

.work-cta__num {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--red-soft);
}

.work-cta h3 {
  position: relative;
  z-index: 1;
  max-width: 14ch;
  margin-top: 1.8rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  font-weight: 400;
  line-height: 1.05;
}

.work-cta .text-link {
  align-self: flex-start;
  color: #d2cec7;
}

.work-page__end {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7c7974;
}

.work-page__end::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--red);
}

@media (max-width: 720px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-cta {
    min-height: 260px;
  }
}

/* ---------- Case study ---------- */
.case-hero {
  position: relative;
  overflow: clip;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 7rem));
  background: var(--ink);
  color: var(--white);
}

.case-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(239, 32, 41, 0.1), transparent 30%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 100% 100px;
  pointer-events: none;
}

.case-hero .container {
  position: relative;
  z-index: 1;
}

.case-hero__title {
  max-width: 1300px;
  margin-top: 1.2rem;
  font-size: clamp(3rem, 7.6vw, 9.4rem);
  font-weight: 780;
  line-height: 0.87;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.case-hero__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--red-soft);
  font-size: 1.02em;
}

.case-hero__sub {
  max-width: 54ch;
  margin-top: 1.6rem;
  color: var(--grey);
  font-size: clamp(1rem, 0.6vw + 0.86rem, 1.25rem);
  line-height: 1.6;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: clamp(2.4rem, 5vw, 4rem);
  padding-top: 1.3rem;
  border-top: 1px solid var(--line-dark);
}

.case-meta__item span {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7f7c77;
}

.case-meta__item p {
  font-size: 0.8rem;
  color: #d1cdc6;
  line-height: 1.5;
}

.case-cover {
  position: relative;
  z-index: 1;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--ink-3);
}

.case-cover img {
  width: 100%;
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
  object-position: top center;
}

.case-cover figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.54rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7d7a75;
}

.case-body {
  background: var(--paper);
  color: var(--ink);
  padding-block: clamp(4rem, 8vw, 8rem);
}

.case-body__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1.5fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.case-aside {
  position: sticky;
  top: calc(var(--header-h) + 2.4rem);
}

.case-aside__label {
  margin-bottom: 1.3rem;
}

.case-aside__meta {
  border-top: 1px solid var(--line-light);
}

.case-aside__meta div {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-light);
}

.case-aside__meta span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8b867e;
}

.case-aside__meta p {
  color: #37332e;
  font-size: 0.8rem;
  line-height: 1.5;
}

.case-aside__cta {
  margin-top: 1.6rem;
}

.case-content section + section {
  margin-top: clamp(2.6rem, 5vw, 4.2rem);
  padding-top: clamp(2.6rem, 5vw, 4.2rem);
  border-top: 1px solid var(--line-light);
}

.case-content h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.case-content h2 em {
  color: var(--red);
  font-size: 1.02em;
}

.case-content p {
  max-width: 62ch;
  margin-bottom: 1rem;
  color: #4d4942;
  font-size: 0.95rem;
  line-height: 1.75;
}

.case-content p:last-child {
  margin-bottom: 0;
}

.case-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.case-list li {
  padding: 0.9rem;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  font-size: 0.8rem;
  color: #45413b;
}

.case-list li::before {
  content: "—";
  margin-right: 0.5rem;
  color: var(--red);
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.case-gallery figure {
  overflow: hidden;
  background: var(--paper-2);
}

.case-gallery figure:first-child {
  grid-column: 1 / -1;
}

.case-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.case-gallery figure:hover img {
  transform: scale(1.02);
}

.case-gallery figcaption {
  padding: 0.7rem 0.1rem 0;
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7e7970;
}

.case-gallery figure:first-child img {
  aspect-ratio: 16 / 9;
}

.case-gallery figure:not(:first-child) img {
  aspect-ratio: 4 / 3.2;
}

.case-gallery--grid figure:first-child {
  grid-column: auto;
}

.case-gallery--grid figure:first-child img,
.case-gallery--grid figure:not(:first-child) img {
  aspect-ratio: 4 / 3.2;
}

.case-gallery--stack {
  grid-template-columns: 1fr;
}

.case-gallery--stack figure:first-child,
.case-gallery--stack figure {
  grid-column: auto;
}

.case-gallery--stack img,
.case-gallery--stack figure:first-child img,
.case-gallery--stack figure:not(:first-child) img {
  height: auto;
  aspect-ratio: auto;
}

.case-gallery--portrait {
  grid-template-columns: repeat(3, 1fr);
}

.case-gallery--portrait figure,
.case-gallery--portrait figure:first-child {
  grid-column: auto;
}

.case-gallery--portrait img,
.case-gallery--portrait figure:first-child img,
.case-gallery--portrait figure:not(:first-child) img {
  aspect-ratio: 720 / 1100;
  object-fit: cover;
  object-position: center;
}

.next-case {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: var(--ink);
  color: var(--white);
}

.next-case__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
  transition: color 0.3s;
}

.next-case__link h2 {
  font-size: clamp(2.2rem, 5vw, 5.4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.next-case__link h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.02em;
}

.next-case__link:hover {
  color: var(--red-soft);
}

.next-case__arrow {
  display: grid;
  place-items: center;
  width: clamp(50px, 6vw, 76px);
  height: clamp(50px, 6vw, 76px);
  flex: none;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transition: transform 0.45s var(--ease-out), background 0.3s, border-color 0.3s;
}

.next-case__arrow svg {
  width: 22px;
}

.next-case__link:hover .next-case__arrow {
  transform: rotate(45deg);
  background: var(--red);
  border-color: var(--red);
}

@media (max-width: 900px) {
  .case-meta {
    grid-template-columns: 1fr 1fr;
  }

  .case-body__grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .case-aside {
    position: relative;
    top: auto;
  }

  .case-aside__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .case-aside__meta div {
    padding-right: 1rem;
  }
}

@media (max-width: 600px) {
  .case-meta {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .case-cover img {
    aspect-ratio: 4 / 3;
  }

  .case-gallery {
    grid-template-columns: 1fr;
  }

  .case-gallery figure:first-child {
    grid-column: auto;
  }

  .case-list {
    grid-template-columns: 1fr;
  }

  .next-case__link h2 {
    font-size: 2rem;
  }
}

/* ---------- Services page ---------- */
.services-page {
  background: var(--paper);
  color: var(--ink);
}

.services-page.section {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.services-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.services-index a {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--grey-warm);
  transition: color 0.25s;
}

.services-index a:hover {
  color: var(--red);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(200px, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  padding-block: clamp(3rem, 6vw, 6rem);
  border-bottom: 1px solid var(--line-light);
  scroll-margin-top: calc(var(--header-h) + 2rem);
}

.service-detail:last-of-type {
  border-bottom: 0;
}

.service-detail__index {
  position: sticky;
  top: calc(var(--header-h) + 2.4rem);
  align-self: start;
}

.service-detail__num {
  display: block;
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(16, 16, 18, 0.35);
}

.service-detail__icon {
  width: 88px;
  height: 88px;
  color: var(--red);
}

.service-detail__icon path,
.service-detail__icon line,
.service-detail__icon circle,
.service-detail__icon rect,
.service-detail__icon polyline {
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-detail__body {
  max-width: 860px;
}

.service-detail__body h2 {
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  font-weight: 720;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-transform: uppercase;
}

.service-detail__lead {
  max-width: 58ch;
  margin-top: 1.3rem;
  color: #534e47;
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.15rem);
  line-height: 1.72;
}

.service-detail__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.service-detail__cols h3 {
  margin-bottom: 0.8rem;
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #777168;
}

.service-detail__cols li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.2rem;
  font-size: 0.83rem;
  color: #4e4a43;
  border-bottom: 1px solid rgba(16, 16, 18, 0.08);
}

.service-detail__cols li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.service-detail__cta {
  display: inline-flex;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .service-detail {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .service-detail__index {
    position: relative;
    top: auto;
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  .service-detail__num {
    margin-bottom: 0;
  }
}

@media (max-width: 600px) {
  .service-detail__cols {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .service-detail__icon {
    width: 58px;
    height: 58px;
  }
}

/* ---------- About page ---------- */
.about-page {
  background: var(--paper);
  color: var(--ink);
}

.about-page__story {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.about-page__story-label {
  position: sticky;
  top: calc(var(--header-h) + 2.4rem);
}

.about-page__story-label h2 {
  margin-top: 1.3rem;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.about-page__story-label h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--red);
}

.about-page__story-text p {
  max-width: 62ch;
  margin-bottom: 1.3rem;
  font-size: clamp(1rem, 0.55vw + 0.9rem, 1.2rem);
  line-height: 1.75;
  color: #49453f;
}

.about-page__story-text p:first-child {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.about-page__statement {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-light);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  line-height: 1.3;
  color: #5a554e;
}

.about-page__statement span {
  color: var(--red);
}

.values-section {
  background: var(--ink);
  color: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.value-card {
  position: relative;
  min-height: 240px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.value-card__num {
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  color: var(--red-soft);
}

.value-card h3 {
  margin: 1.5rem 0 0.8rem;
  font-size: clamp(1.4rem, 2.3vw, 2.1rem);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.value-card p {
  max-width: 38ch;
  color: #a09c96;
  font-size: 0.88rem;
  line-height: 1.7;
}


.about-page__stats {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.about-page__clients {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-light);
}

.about-page__clients p {
  margin-bottom: 1.4rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #817c74;
}

.about-page__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.about-page__logos span {
  display: grid;
  place-items: center;
  width: 138px;
  height: 78px;
  padding: 0.9rem;
  background: var(--white);
  border: 1px solid rgba(16, 16, 18, 0.06);
}

.about-page__logos img {
  max-height: 42px;
  max-width: 100%;
  width: auto;
  opacity: 0.82;
  transition: opacity 0.25s;
}

.about-page__logos span:hover img {
  opacity: 1;
}

@media (max-width: 900px) {
  .about-page__story {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-page__story-label {
    position: relative;
    top: auto;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: 0;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .case-gallery--portrait {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .case-gallery--portrait {
    grid-template-columns: 1fr;
  }

  .case-gallery--portrait img,
  .case-gallery--portrait figure:first-child img,
  .case-gallery--portrait figure:not(:first-child) img {
    aspect-ratio: 720 / 1100;
  }
}

/* ---------- Contact page ---------- */
.contact-page {
  background: var(--ink);
  color: var(--white);
}

.contact-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.8fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.contact-page .enquiry {
  margin-top: 0;
}

.contact-page__copy .display {
  margin-top: 1.3rem;
  font-size: clamp(2.6rem, 4.6vw, 5.2rem);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.capability {
  padding: clamp(1.4rem, 2.6vw, 2.2rem);
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.capability__num {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  color: var(--red-deep);
}

.capability h3 {
  margin: 1.3rem 0 0.7rem;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.capability > p {
  max-width: 34ch;
  color: var(--grey-warm);
  font-size: 0.85rem;
  line-height: 1.65;
}

.capability ul {
  margin-top: 1.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-light);
}

.capability li {
  padding: 0.3rem 0;
  color: #4e4a43;
  font-size: 0.76rem;
}

.capability li::before {
  content: "—";
  margin-right: 0.5rem;
  color: var(--red);
}

.contact-page__next + .contact-page__next {
  margin-top: 2rem;
}

.contact-page__details {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.contact-page__next {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-dark);
}

.contact-page__next ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.contact-page__next li {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-dark);
}

.contact-page__next span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: var(--red-soft);
}

.contact-page__next h3 {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.contact-page__next p {
  color: #918e88;
  font-size: 0.78rem;
  line-height: 1.6;
}

.contact-page__note {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  color: #b4b0a9;
}

.contact-page__note span {
  color: var(--red-soft);
}

@media (max-width: 1000px) {
  .contact-page__grid {
    grid-template-columns: 1fr;
  }

  .contact-page__next ol {
    grid-template-columns: 1fr;
  }
}

/* ---------- 404 ---------- */
.not-found {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--ink);
}

.not-found::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(239, 32, 41, 0.12), transparent 35%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 100% 100px;
}

.not-found__inner {
  position: relative;
  z-index: 1;
  padding-block: 4rem;
}

.not-found__code {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(6rem, 20vw, 20rem);
  line-height: 0.7;
  color: var(--red);
}

.not-found h1 {
  margin-top: 1.4rem;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 720;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.not-found h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--red);
}

.not-found p {
  max-width: 42ch;
  margin-top: 1rem;
  color: var(--grey);
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 2rem;
  margin-top: 2rem;
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

.no-script [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
}

/* ---------- Contrast refinements for small supporting text ---------- */
.footer__col h2,
.footer__bottom {
  color: #918d87;
}

.filter-count,
.work-page__end {
  color: #918d87;
}

.case-aside__meta span,
.about-page__clients p,
.service-detail__cols h3 {
  color: #6b665e;
}

.case-gallery figcaption {
  color: #625d55;
  font-size: 0.6rem;
}

.case-cover figcaption {
  color: #97928b;
}

.case-meta__item span {
  color: #97928b;
}

.compare__caption {
  color: #98948e;
}

.form__note,
.form__fallback {
  color: #625d55;
}

.enquiry__num {
  color: var(--red-deep);
}

.contact-line__label {
  color: #9a958d;
}

.hero-canvas__meta {
  color: #9a979f;
}

.hero-canvas__foot {
  color: #98959d;
}

.hero-sketch .sketch-note {
  fill: #8c8992;
}

.page-hero--paper .eyebrow,
.about-page .eyebrow,
.case-body .eyebrow,
.services-page .eyebrow {
  color: var(--grey-warm);
}

.page-hero--paper .eyebrow__num,
.about-page .eyebrow__num,
.case-body .eyebrow__num,
.services-page .eyebrow__num {
  color: var(--red-deep);
}

/* ---------- Testimonials (rendered only when real data is supplied) ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.testimonial {
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.02);
}

.testimonial blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.35;
  color: #d5d1ca;
}

.testimonial figcaption {
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

.testimonial figcaption span {
  display: block;
  margin-top: 0.2rem;
  color: #6f6c67;
  letter-spacing: 0.08em;
}

@media (max-width: 760px) {
  .testimonials {
    grid-template-columns: 1fr;
  }
}

/* ---------- Reduced motion ---------- */
@media (max-width: 900px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal],
  .js [data-reveal="clip"],
  .js [data-reveal="scale"],
  .js .project[data-reveal] .project__media {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .hero__word {
    transform: none;
  }

  .scroll-line::after {
    display: none;
  }

  .manifesto__star {
    animation: none;
  }

  .menu-nav__link-inner {
    transform: none;
  }
}

