/* Jurik — personal homepage */

@import url("scroll-progress.v3.css");

:root {
  color-scheme: dark;
  --bg: #0c0e11;
  --bg-soft: #12161b;
  --bg-deep: #1a1f26;
  --ink: #eceef2;
  --ink-soft: #d5dae3;
  --muted: #a8aeb9;
  --line: rgba(236, 238, 242, 0.12);
  --accent: #4a9e96;
  --accent-soft: #6bb5ad;
  --scroll-progress-fill: linear-gradient(90deg, #4a9e96, #6bb5ad, #d4b896);
  --paper: #12161b;
  --hero-veil: rgba(6, 8, 10, 0.72);
  --font-display: "Instrument Serif", Georgia, serif;
  --font-script: "MonteCarlo", "Instrument Serif", cursive;
  --font-body: "Outfit", "Avenir Next", sans-serif;
  --wrap: min(1120px, calc(100% - 3rem));
  --wrap-narrow: min(720px, calc(100% - 3rem));
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(74, 158, 150, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(236, 238, 242, 0.03), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p,
blockquote {
  margin: 0;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.wrap--narrow {
  width: var(--wrap-narrow);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(12, 14, 17, 0.52);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-bottom-color: rgba(236, 238, 242, 0.1);
}

.site-header.is-hero .nav__brand,
.site-header.is-hero .nav__menu a:not(.nav__cta),
.site-header.is-hero .nav__toggle span,
.site-header.is-hero .lang__link {
  color: #f4f5f7;
}

.site-header.is-hero .lang__link.is-active {
  color: #f4f5f7;
}

.site-header.is-hero .lang__sep {
  color: rgba(244, 245, 247, 0.45);
}

.site-header.is-hero .nav__toggle span {
  background: #f4f5f7;
}

.site-header.is-hero .nav__menu a.nav__cta {
  color: #0c0e11 !important;
  background: #f4f5f7;
}

.nav {
  width: var(--wrap);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__brand {
  font-family: var(--font-script);
  font-size: 1.7rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.site-header.is-scrolled .nav__brand {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__menu a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}

.nav__menu a:hover,
.nav__menu a.is-active {
  color: var(--accent-soft);
}

.site-header.is-scrolled .nav__cta {
  background: var(--accent);
  color: #0c0e11 !important;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #0c0e11 !important;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.nav__cta:hover {
  transform: translateY(-1px);
  background: var(--accent-soft);
  color: #0c0e11 !important;
}

.nav__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}

.nav__toggle span {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav__toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--solid {
  background: var(--accent);
  color: #0c0e11;
  box-shadow: 0 0 0 1px rgba(74, 158, 150, 0.35);
}

.btn--solid:hover {
  background: var(--accent-soft);
  box-shadow: 0 8px 28px rgba(74, 158, 150, 0.28);
}

.hero .btn--solid {
  background: var(--accent);
  color: #0c0e11;
}

.hero .btn--solid:hover {
  background: var(--accent-soft);
}

.btn--line {
  border: 1.5px solid rgba(244, 245, 247, 0.72);
  color: #f4f5f7;
  background: rgba(244, 245, 247, 0.06);
}

.btn--line:hover {
  border-color: #f4f5f7;
  background: rgba(244, 245, 247, 0.14);
}

.btn--lg {
  min-height: 3.5rem;
  padding-inline: 1.75rem;
  font-size: 1.05rem;
}

.hero .btn {
  min-height: 3.5rem;
  padding: 0.95rem 1.7rem;
  font-size: 1.05rem;
}

.connect .btn--solid {
  background: var(--ink);
  color: #0c0e11;
}

.connect .btn--solid:hover {
  background: var(--accent);
  color: #0c0e11;
}

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(236, 238, 242, 0.06);
}

.connect__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
}

/* Type helpers */

.eyebrow {
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.chapter {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.85rem;
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.chapter__num {
  color: var(--accent-soft);
}

.chapter__name {
  color: var(--accent);
}

.chapter__name::before {
  content: "·";
  margin-right: 0.85rem;
  color: color-mix(in srgb, var(--accent) 45%, transparent);
}

.hero .chapter {
  margin-bottom: 1.35rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.35rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-lead {
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.75rem;
}

.section-head--solo {
  align-items: start;
  flex-direction: column;
  gap: 0;
}

/* Hero */

.intro {
  position: relative;
  isolation: isolate;
  background: var(--bg);
}

.intro__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.intro__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 72% 42%, rgba(74, 158, 150, 0.1), transparent 58%),
    linear-gradient(105deg, rgba(12, 14, 17, 0.62) 0%, rgba(12, 14, 17, 0.28) 42%, rgba(12, 14, 17, 0.16) 68%, rgba(12, 14, 17, 0.4) 100%),
    linear-gradient(
      180deg,
      rgba(12, 14, 17, 0.28) 0%,
      rgba(12, 14, 17, 0.06) 30%,
      rgba(12, 14, 17, 0.45) 72%,
      var(--bg) 100%
    );
}

.intro__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(38%, 260px);
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    color-mix(in srgb, var(--bg) 45%, transparent) 48%,
    var(--bg) 100%
  );
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: visible;
  color: #f4f5f7;
  background: transparent;
}

.hero__geo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  opacity: 1;
  animation: hero-in 1.4s var(--ease) both;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(52rem, calc(100% - 3rem));
  margin: 0;
  padding: calc(var(--header-h) + 3.5rem) 0 5rem;
  max-width: 52rem;
  margin-left: max(calc((100% - var(--wrap)) / 2), 1.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100svh - var(--header-h));
}

.hero__brand {
  margin: 0 0 1.35rem;
  font-family: var(--font-script);
  font-size: clamp(4.8rem, 13vw, 9.5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.01em;
  max-width: none;
  text-shadow: 0 2px 40px rgba(12, 14, 17, 0.45);
  animation: rise 0.9s var(--ease) 0.15s both;
}

.hero__title {
  max-width: 18ch;
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 5.6vw, 4.35rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 28px rgba(12, 14, 17, 0.55);
  animation: rise 0.9s var(--ease) 0.28s both;
}

.hero__lead {
  max-width: 38ch;
  margin: 0 0 1.85rem;
  font-size: 1.08rem;
  line-height: 1.58;
  color: rgba(244, 245, 247, 0.78);
  text-shadow: 0 1px 18px rgba(12, 14, 17, 0.5);
  animation: rise 0.9s var(--ease) 0.4s both;
}

.hero__role {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  animation: rise 0.9s var(--ease) 0.46s both;
}

.hero__disciplines {
  max-width: 42ch;
  margin: 0 0 2.75rem;
  font-size: 0.84rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244, 245, 247, 0.58);
  animation: rise 0.9s var(--ease) 0.5s both;
}

.hero__line {
  max-width: 34ch;
  margin: 0 0 2.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--accent-soft);
  animation: rise 0.9s var(--ease) 0.46s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  margin: 0;
  animation: rise 0.9s var(--ease) 0.55s both;
}

.hero__scroll {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 1.5rem;
  width: 1.5rem;
  height: 2.4rem;
  border: 1px solid rgba(244, 245, 247, 0.35);
  border-radius: 999px;
  transform: translateX(-50%);
  display: grid;
  place-items: start center;
  padding-top: 0.4rem;
}

.hero__scroll span {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: #f4f5f7;
  animation: scroll-dot 1.6s var(--ease) infinite;
}

@keyframes hero-in {
  from { transform: scale(1.1); opacity: 0.7; }
  to { transform: scale(1.04); opacity: 1; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Statement */

.statement {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: min(88vh, 52rem);
  padding: 7rem 0 6rem;
  background: transparent;
  overflow: visible;
  color: #f4f5f7;
}

.statement::before {
  content: none;
}

.statement__inner {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: 100%;
  overflow: visible;
}

.statement__content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.statement__eyebrow {
  margin-bottom: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.statement__quote {
  margin-bottom: 0;
  width: 100%;
}

.statement__quote > p {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 22ch;
  margin-inline: auto;
}

.statement__invisible {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 0;
  margin: 0;
  line-height: 0.85;
  width: max-content;
  pointer-events: none;
  user-select: none;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0.59;
}

.statement__invisible-text {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(9rem, 28vw, 20rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  padding-inline: 0.08em;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--accent) 32%, #020304) 0%,
    color-mix(in srgb, var(--accent) 40%, #050708) 32%,
    color-mix(in srgb, var(--accent) 22%, transparent) 72%,
    transparent 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-reflect: below -0.14em linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.12) 38%,
    transparent 72%
  );
}

.statement__body {
  max-width: 42ch;
  margin-inline: auto;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
  opacity: 0.88;
}

.statement__stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.65rem;
  margin-top: 0.35rem;
  max-width: 52rem;
}

.statement__stack li {
  padding: 0.42rem 0.85rem;
  border: 1px solid rgba(74, 158, 150, 0.28);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent-soft);
  background: color-mix(in srgb, var(--paper) 88%, var(--accent) 12%);
}

/* About accordion — matches site section language */

.about {
  position: relative;
  z-index: 2;
  padding: 8.5rem 0 7.5rem;
  overflow: visible;
}

.about__wrap {
  position: relative;
  z-index: 1;
  min-height: clamp(22rem, 52vh, 34rem);
  overflow: visible;
}

.about__butterfly {
  position: absolute;
  z-index: 0;
  /* Spill upward into the statement; hang ~9vw past the right edge */
  top: -38vh;
  left: auto;
  right: -9vw;
  width: 108vw;
  max-width: none;
  margin-left: 0;
  pointer-events: none;
  transform-origin: 78% 42%;
  transform:
    translate3d(0, var(--about-y, 0px), 0)
    rotate(calc(-18deg + var(--about-tilt, 0deg)))
    scale(var(--about-scale, 1));
  opacity: var(--about-opacity, 0.55);
  transition: opacity 0.55s var(--ease);
}

.about__butterfly-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--mesh-aspect, 1.834);
}

.about:has(.about-acc[open]) .about__butterfly {
  --about-opacity: 0.22;
  --about-scale: 0.96;
  opacity: 0.22;
}

.about-acc {
  position: relative;
  z-index: 1;
}

.about-acc__trigger {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 0 0 0.35rem;
  list-style: none;
  cursor: pointer;
  overflow: visible;
  isolation: isolate;
  user-select: none;
}

.about-acc__trigger::-webkit-details-marker,
.about-acc__trigger::marker {
  display: none;
  content: "";
}

.about-acc__trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 8px;
}

.about-acc__whisper {
  position: absolute;
  left: -0.08em;
  top: 42%;
  z-index: 0;
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: color-mix(in srgb, var(--accent) 55%, transparent);
  opacity: 0.55;
  transform: translateY(-50%);
  pointer-events: none;
  transition:
    opacity 0.4s var(--ease),
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-acc__face {
  position: relative;
  z-index: 1;
  max-width: 22ch;
  overflow: visible;
  padding-top: clamp(4.5rem, 14vw, 8.5rem);
}

.about-acc__face .eyebrow,
.about-acc__face .chapter {
  margin-bottom: 0.85rem;
}

.about-acc__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.about-acc__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
  transition: color 0.3s var(--ease);
}

.about-acc__cta-close {
  display: none;
}

.about-acc__mark {
  position: relative;
  width: 1.15rem;
  height: 1.15rem;
  border: 1px solid rgba(74, 158, 150, 0.45);
  border-radius: 50%;
  transition: border-color 0.3s var(--ease), transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-acc__mark::before,
.about-acc__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--accent-soft);
  transform: translate(-50%, -50%);
}

.about-acc__mark::before {
  width: 0.45rem;
  height: 1px;
}

.about-acc__mark::after {
  width: 1px;
  height: 0.45rem;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.about-acc__trigger:hover .about-acc__cta,
.about-acc__trigger:focus-visible .about-acc__cta {
  color: var(--accent);
}

.about-acc__trigger:hover .about-acc__mark,
.about-acc__trigger:focus-visible .about-acc__mark {
  border-color: var(--accent);
  transform: scale(1.08);
}

.about-acc__trigger:hover .about-acc__whisper,
.about-acc__trigger:focus-visible .about-acc__whisper {
  opacity: 0.7;
}

.about-acc[open] .about-acc__whisper {
  opacity: 0.22;
  transform: translateY(-62%);
}

.about-acc[open] .about-acc__cta {
  margin-top: 1rem;
}

.about-acc[open] .about-acc__cta-open {
  display: none;
}

.about-acc[open] .about-acc__cta-close {
  display: inline;
}

.about-acc[open] .about-acc__mark::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.about-acc__panel {
  overflow: hidden;
}

.about-acc__panel-inner {
  padding: 1.35rem 0 0;
  max-width: none;
  width: 100%;
}

.about-acc[open] .about-acc__panel-inner {
  animation: about-acc-bounce 0.72s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes about-acc-bounce {
  0% {
    opacity: 0;
    transform: translateY(-1.1rem);
  }
  55% {
    opacity: 1;
    transform: translateY(0.28rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.about__story {
  margin-bottom: 2.75rem;
}

.about__body {
  margin: 0 0 1.05rem;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.65;
}

.about__story > .about__body:first-child {
  margin-bottom: 1.35rem;
  color: var(--ink);
  font-size: 1.14rem;
  line-height: 1.6;
}

.about__pull {
  margin: 1.55rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--accent-soft);
}

.about__pull + .about__pull {
  margin-top: 0.35rem;
  margin-bottom: 1.55rem;
}

.about__pull--vanish {
  display: block;
  width: 100%;
  margin: 1.85rem 0 1.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.9vw, 2.05rem);
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.025em;
  background: linear-gradient(
    to bottom,
    var(--accent-soft) 0%,
    var(--accent) 38%,
    color-mix(in srgb, var(--accent) 45%, transparent) 72%,
    transparent 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about__close {
  margin: 1.85rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--accent-soft);
}

.about__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2.25rem;
  max-width: none;
  width: 100%;
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.about__meta-block,
.about__languages {
  display: grid;
  gap: 0.95rem;
  margin: 0;
  padding: 0;
  border: 0;
  align-content: start;
}

.about__meta-label,
.about__languages-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.about__chips,
.about__languages-list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about__chips li,
.about__languages-list li {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
}

.about__chips li:not(:last-child)::after,
.about__languages-list li:not(:last-child)::after {
  content: "·";
  margin: 0 0.65rem;
  color: color-mix(in srgb, var(--muted) 80%, transparent);
  font-weight: 400;
}

.about__creds {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent-soft);
}

.about__flag {
  display: none;
}

.credo {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.credo li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.7rem;
  align-items: baseline;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.credo span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .about-acc[open] .about-acc__panel-inner,
  .about-acc__whisper,
  .about-acc__mark,
  .about__butterfly {
    animation: none !important;
    transition: none !important;
  }

  .about__butterfly {
    transform:
      translate3d(0, 0, 0)
      rotate(-18deg)
      scale(1);
  }
}

/* Proof + timeline */

.proof {
  padding: 3.25rem 0 1.25rem;
  border-top: 1px solid var(--line);
}

.proof__strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin-bottom: 2.25rem;
}

.proof__stat {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.proof__value {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--accent-soft);
}

.proof__label {
  display: block;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.timeline {
  padding: 0 0 3.5rem;
}

.timeline__head {
  margin-bottom: 1.5rem;
}

.timeline__head .section-title {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.timeline__track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  position: relative;
}

.timeline__track::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0.35rem;
  right: 0.35rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(74, 158, 150, 0.15));
}

.timeline__item {
  position: relative;
  padding-top: 2rem;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(74, 158, 150, 0.18);
}

.timeline__era {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.timeline__item h3 {
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.timeline__item p {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Work */

.work {
  padding: 7.5rem 0 5rem;
  background: var(--paper);
}

.work__list {
  display: grid;
  gap: 5.5rem;
}

.work-item {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: start;
  transition: transform 0.35s var(--ease);
}

.work-item:hover {
  transform: translateY(-4px);
}

/* Ninenine — product stage (hero frame + phone sculpture) */

.work-item.work-item--featured {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100vw;
  max-width: 100vw;
  margin: 1.5rem calc(50% - 50vw) 2.5rem;
  padding: clamp(3.5rem, 8vh, 5.5rem) 0 clamp(4rem, 9vh, 6rem);
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(74, 158, 150, 0.08), transparent 55%),
    var(--bg);
  align-content: start;
}

.work-item.work-item--featured:hover {
  transform: none;
}

.work-feature__intro {
  position: relative;
  z-index: 2;
  width: min(var(--wrap), calc(100% - 3rem));
  max-width: var(--wrap);
  margin: 0 auto 2.75rem;
  text-align: center;
  isolation: isolate;
}

.work-feature__ghost {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 0;
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(6.5rem, 20vw, 14rem);
  line-height: 0.75;
  color: var(--accent);
  opacity: 0.14;
  transform: translate(-50%, -54%) rotate(-5deg);
  pointer-events: none;
  user-select: none;
}

.work-feature__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.work-feature__title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8.5vw, 6.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.work-feature__line {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 28ch;
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  line-height: 1.45;
  color: var(--ink-soft);
}

.work-feature__stage.work-item__media {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(1080px, calc(100vw - 2.5rem));
  margin-inline: auto;
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  padding-inline: 0;
  padding-bottom: 8%;
}

.work-item--featured .work-item__media--duo {
  padding-bottom: 8%;
}

.work-feature__desktop {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 0.2rem;
  background: var(--bg-deep);
  box-shadow:
    0 0 0 1px rgba(236, 238, 242, 0.08),
    0 28px 64px -28px rgba(0, 0, 0, 0.85);
  transition: box-shadow 0.55s var(--ease), transform 0.55s var(--ease);
}

.work-item--featured:hover .work-feature__desktop {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(74, 158, 150, 0.22),
    0 36px 72px -28px rgba(0, 0, 0, 0.9),
    0 0 48px -18px rgba(74, 158, 150, 0.22);
}

.work-feature__shot {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center top;
  clip-path: none;
  transform: none;
}

.work-item--featured .work-phone {
  width: min(26%, 220px);
  left: 3%;
  bottom: -6%;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.7));
  transition: transform 0.55s var(--ease);
}

.work-item--featured:hover .work-phone {
  transform: translateY(-8px);
}

.work-feature__cta {
  position: relative;
  z-index: 2;
  display: block;
  width: min(var(--wrap), calc(100% - 3rem));
  max-width: var(--wrap);
  margin: 2.5rem auto 0;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--accent-soft);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.work-feature__cta::after {
  content: "";
  display: block;
  width: 2.25rem;
  height: 1px;
  margin: 0.75rem auto 0;
  background: rgba(74, 158, 150, 0.5);
  transition: width 0.35s var(--ease), background 0.25s var(--ease);
}

.work-item--featured:hover .work-feature__cta {
  color: var(--accent);
}

.work-item--featured:hover .work-feature__cta::after {
  width: 4rem;
  background: var(--accent);
}

.work-item--featured .work-item__media::before,
.work-item--featured .work-item__media::after {
  display: none;
}

.work-item--featured:hover .work-item__media {
  box-shadow: none;
}

.work-item--case:not(.work-item--featured) .work-scroll__viewport {
  aspect-ratio: 16 / 11;
}



.work-item--featured .work-item__media::before,
.work-item--featured .work-item__media::after {
  display: none;
}

.work-item--featured:hover .work-item__media {
  box-shadow: none;
}

.work-item__media {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: var(--bg-deep);
  aspect-ratio: 16 / 11;
  box-shadow:
    0 1px 0 rgba(236, 238, 242, 0.06),
    0 18px 40px -28px rgba(0, 0, 0, 0.75);
  transition:
    box-shadow 0.55s var(--ease),
    transform 0.55s var(--ease);
}

.work-item__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(236, 238, 242, 0.08);
  background:
    linear-gradient(
      125deg,
      rgba(236, 238, 242, 0.1) 0%,
      transparent 28%,
      transparent 72%,
      rgba(74, 158, 150, 0.08) 100%
    );
  opacity: 0.7;
  transition: opacity 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.work-item__media::after {
  content: "";
  position: absolute;
  left: -20%;
  top: 0;
  z-index: 3;
  width: 42%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(236, 238, 242, 0.14) 48%,
    rgba(107, 181, 173, 0.12) 52%,
    transparent 70%
  );
  transform: translateX(-120%) skewX(-12deg);
  opacity: 0;
}

.work-item:hover .work-item__media {
  box-shadow:
    0 1px 0 rgba(107, 181, 173, 0.28),
    0 0 0 1px rgba(74, 158, 150, 0.18),
    0 28px 56px -24px rgba(0, 0, 0, 0.85),
    0 0 42px -10px rgba(74, 158, 150, 0.35);
}

.work-item:hover .work-item__media::before {
  opacity: 1;
  box-shadow:
    inset 0 0 0 1px rgba(107, 181, 173, 0.28),
    inset 0 -40% 50% -20% rgba(74, 158, 150, 0.12);
}

.work-item:hover .work-item__media::after {
  opacity: 1;
  animation: work-sheen 1.05s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes work-sheen {
  from {
    transform: translateX(-120%) skewX(-12deg);
  }

  to {
    transform: translateX(280%) skewX(-12deg);
  }
}

.work-item__media > img,
.work-item__media img:not(.work-scroll__page):not(.work-phone__page):not(.work-phone__frame):not(.work-feature__shot):not(.work-stack__shot) {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  clip-path: inset(0 0 100% 0);
  transition: transform 0.7s var(--ease), clip-path 1s var(--ease);
}

.work-item.is-in .work-item__media img:not(.work-scroll__page):not(.work-phone__page):not(.work-phone__frame):not(.work-feature__shot):not(.work-stack__shot),
.work-grid__item.is-in .work-grid__media img:not(.work-scroll__page) {
  clip-path: inset(0 0 0 0);
}

.work-item:hover .work-item__media img:not(.work-scroll__page):not(.work-phone__page):not(.work-phone__frame):not(.work-feature__shot):not(.work-stack__shot) {
  transform: scale(1.045);
}

/* Wadham Links — four overlapping product windows */

.work-item:has(.work-item__media--stack) {
  overflow: visible;
}

.work-item__media--stack {
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.work-item__media--stack::before,
.work-item__media--stack::after {
  content: none;
  display: none;
}

.work-item:hover .work-item__media--stack {
  box-shadow: none;
}

.work-stack {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: visible;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.work-item.is-in .work-stack {
  opacity: 1;
  transform: none;
}

.work-stack__pane {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #e6e8ec;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.75);
  transform-origin: center center;
  transition: transform 0.65s var(--ease), box-shadow 0.65s var(--ease);
  will-change: transform;
}

.work-stack__shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 900;
  object-fit: cover;
  object-position: top left;
}

.work-stack__pane--back {
  width: 48%;
  top: 3%;
  right: 1%;
  z-index: 1;
  transform: translate3d(0, 0, 0) rotate(2.8deg) scale(0.98);
  opacity: 0.9;
  filter: brightness(0.9);
}

.work-stack__pane--mid {
  width: 50%;
  top: 26%;
  right: 2%;
  z-index: 2;
  transform: translate3d(0, 0, 0) rotate(-1.8deg);
  opacity: 0.95;
  filter: brightness(0.95);
}

.work-stack__pane--hero {
  width: 68%;
  left: 2%;
  bottom: 7%;
  z-index: 3;
  transform: translate3d(0, 0, 0) rotate(-0.3deg);
  filter: none;
  opacity: 1;
}

.work-stack__pane--float {
  width: 32%;
  left: 3%;
  bottom: 2%;
  z-index: 4;
  transform: translate3d(0, 0, 0) rotate(-3.2deg);
  box-shadow: 0 22px 44px -16px rgba(0, 0, 0, 0.8);
}

.work-item:hover .work-stack__pane--back {
  transform: translate3d(4%, -6%, 0) rotate(4deg) scale(1);
  opacity: 1;
  filter: brightness(1);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.78);
}

.work-item:hover .work-stack__pane--mid {
  transform: translate3d(6%, 2%, 0) rotate(-2.6deg);
  opacity: 1;
  filter: brightness(1);
}

.work-item:hover .work-stack__pane--hero {
  transform: translate3d(-2%, 1%, 0) rotate(0deg);
  box-shadow: 0 28px 56px -18px rgba(0, 0, 0, 0.85);
}

.work-item:hover .work-stack__pane--float {
  transform: translate3d(-3%, 4%, 0) rotate(-4.8deg) scale(1.04);
}

@media (max-width: 760px) {
  .work-stack__pane--back {
    width: 46%;
    top: 2%;
    right: 0;
  }

  .work-stack__pane--mid {
    width: 48%;
    top: 24%;
    right: 1%;
  }

  .work-stack__pane--hero {
    width: 72%;
    left: 1%;
    bottom: 6%;
  }

  .work-stack__pane--float {
    width: 36%;
    left: 2%;
    bottom: 1%;
  }
}

.work-item__media--scroll,
.work-grid__media--scroll {
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.work-item__media--scroll::before,
.work-item__media--scroll::after,
.work-grid__media--scroll::before,
.work-grid__media--scroll::after {
  content: none;
  display: none;
}

.work-item:hover .work-item__media--scroll {
  box-shadow: none;
}

.work-item__media--duo {
  position: relative;
  display: block;
  padding-bottom: 7%;
}

.work-item__media--duo .work-scroll {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* iPhone mobile preview — layered over desktop */

.work-phone {
  position: absolute;
  z-index: 4;
  left: 3%;
  bottom: -8%;
  width: min(34%, 200px);
  margin: 0;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.6));
  pointer-events: auto;
}

@media (max-width: 760px) {
  .work-phone {
    width: min(40%, 160px);
    bottom: -6%;
    left: 2%;
  }
}

.work-phone__screen {
  position: absolute;
  z-index: 1;
  left: 6.5%;
  top: 2.37%;
  width: 87.44%;
  height: 95.27%;
  overflow: hidden;
  border-radius: 12.5% / 6.2%;
  background: #050505;
}

.work-phone__viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.work-phone__page {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0;
  transform: translate3d(0, 0, 0);
  transition: transform var(--scroll-duration, 7s) cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.work-phone__frame {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.work-phone:hover.is-ready .work-phone__page,
.work-phone.is-scrolling.is-ready .work-phone__page {
  transform: translate3d(0, var(--scroll-distance, 0), 0);
}

.work-phone.is-paused .work-phone__page {
  transition: none;
}

/* Browser scroll preview */

.work-scroll {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #080a0d;
  box-shadow:
    0 1px 0 rgba(236, 238, 242, 0.06),
    0 18px 40px -28px rgba(0, 0, 0, 0.75);
  transition: box-shadow 0.55s var(--ease), border-color 0.55s var(--ease);
}

.work-item:hover .work-scroll,
.work-grid__item:hover .work-scroll,
.work-scroll.is-scrolling {
  border-color: rgba(74, 158, 150, 0.28);
  box-shadow:
    0 1px 0 rgba(107, 181, 173, 0.22),
    0 0 0 1px rgba(74, 158, 150, 0.12),
    0 28px 56px -24px rgba(0, 0, 0, 0.85),
    0 0 36px -12px rgba(74, 158, 150, 0.28);
}

.work-item__media--duo .work-scroll:hover {
  border-color: rgba(74, 158, 150, 0.28);
  box-shadow:
    0 1px 0 rgba(107, 181, 173, 0.22),
    0 0 0 1px rgba(74, 158, 150, 0.12),
    0 28px 56px -24px rgba(0, 0, 0, 0.85),
    0 0 36px -12px rgba(74, 158, 150, 0.28);
}

.work-item__media--duo:hover .work-scroll:not(:hover) {
  border-color: var(--line);
  box-shadow:
    0 1px 0 rgba(236, 238, 242, 0.06),
    0 18px 40px -28px rgba(0, 0, 0, 0.75);
}

.work-scroll__chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  height: 1.65rem;
  padding: 0 0.75rem;
  border-bottom: 1px solid rgba(236, 238, 242, 0.08);
  background: linear-gradient(180deg, #14181e 0%, #0e1217 100%);
}

.work-scroll__chrome span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(236, 238, 242, 0.18);
}

.work-scroll__chrome span:nth-child(1) { background: rgba(232, 120, 110, 0.55); }
.work-scroll__chrome span:nth-child(2) { background: rgba(212, 184, 150, 0.55); }
.work-scroll__chrome span:nth-child(3) { background: rgba(74, 158, 150, 0.55); }

.work-scroll__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-deep);
}

.work-scroll__viewport::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(8, 10, 13, 0.55) 70%,
    rgba(8, 10, 13, 0.92) 100%
  );
  opacity: 0.85;
  transition: opacity 0.45s var(--ease);
}

.work-item:hover .work-scroll__viewport::after,
.work-grid__item:hover .work-scroll__viewport::after,
.work-scroll.is-scrolling .work-scroll__viewport::after {
  opacity: 0.25;
}

.work-item__media--duo .work-scroll:hover .work-scroll__viewport::after,
.work-item__media--duo .work-scroll.is-scrolling .work-scroll__viewport::after {
  opacity: 0.25;
}

.work-item__media--duo:hover .work-scroll:not(:hover) .work-scroll__viewport::after {
  opacity: 0.85;
}

.work-scroll__page {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: block;
  width: 100%;
  min-width: 100%;
  height: auto;
  max-width: none;
  margin: 0;
  object-fit: cover;
  object-position: top center;
  transform: translate3d(0, 0, 0);
  transition: transform var(--scroll-duration, 5.5s) cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  clip-path: none !important;
  animation: none !important;
  filter: none !important;
}

.work-item:hover .work-scroll.is-ready .work-scroll__page,
.work-grid__item:hover .work-scroll.is-ready .work-scroll__page,
.work-scroll.is-scrolling.is-ready .work-scroll__page {
  transform: translate3d(0, var(--scroll-distance, -40%), 0);
}

.work-item__media--duo .work-scroll.is-ready .work-scroll__page {
  transform: translate3d(0, 0, 0);
}

.work-item__media--duo .work-scroll:hover.is-ready .work-scroll__page,
.work-item__media--duo .work-scroll.is-scrolling.is-ready .work-scroll__page {
  transform: translate3d(0, var(--scroll-distance, -40%), 0);
}

/* Touch: same play state as hover, driven by .is-scrolling */

@media (hover: none) {
  .work-item__media--duo .work-scroll.is-scrolling {
    border-color: rgba(74, 158, 150, 0.28);
    box-shadow:
      0 1px 0 rgba(107, 181, 173, 0.22),
      0 0 0 1px rgba(74, 158, 150, 0.12),
      0 28px 56px -24px rgba(0, 0, 0, 0.85),
      0 0 36px -12px rgba(74, 158, 150, 0.28);
  }

  .work-phone.is-scrolling {
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.6))
      drop-shadow(0 0 24px rgba(74, 158, 150, 0.18));
  }
}

.work-scroll.is-paused .work-scroll__page {
  transition: none;
}

.work-item__tag {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-item__body h3 {
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.work-item__body p {
  margin-bottom: 0.85rem;
  color: var(--ink-soft);
}

.work-item__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.work-item__stack span {
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.work-item--case {
  align-items: start;
  gap: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.work-case {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.15rem;
}

.work-case > div {
  display: grid;
  gap: 0.2rem;
}

.work-case dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-case dd {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.work-item__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.15rem;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.work-item:hover .work-item__link {
  color: var(--accent-soft);
  border-bottom-color: var(--accent);
}

.work-cluster__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 0.25rem;
}

.work-cluster__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.12rem;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.work-cluster__links a:hover {
  color: var(--accent-soft);
  border-bottom-color: var(--accent);
}

.work-item:nth-child(even) {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.work-item:nth-child(even) .work-item__media {
  order: 2;
}

.work-item:nth-child(even) .work-item__body {
  order: 1;
}

.work-grid {
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--line);
}

.work-grid__label {
  margin-bottom: 1.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-grid__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem 1.15rem;
}

.work-grid__item {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: transform 0.35s var(--ease);
}

.work-grid__item:hover {
  transform: translateY(-3px);
}

.work-grid__media {
  overflow: hidden;
  background: var(--bg-deep);
  aspect-ratio: 16 / 11;
  border: 1px solid var(--line);
}

.work-grid__media--scroll {
  border: 0;
  overflow: visible;
  background: transparent;
  aspect-ratio: auto;
}

.work-grid__media img:not(.work-scroll__page) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  clip-path: inset(0 0 100% 0);
  transition: transform 0.7s var(--ease), clip-path 1s var(--ease);
}

.work-grid__item:hover .work-grid__media img:not(.work-scroll__page) {
  transform: scale(1.04);
}

.work-grid__tag {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-grid__item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.work-grid__result {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 38ch;
}

.work-grid__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-soft);
  transition: color 0.25s var(--ease);
}

.work-grid__item:hover .work-grid__link {
  color: var(--accent);
}



/* Logos */

.logos {
  margin-top: 5.5rem;
  padding-top: 4.5rem;
  border-top: 1px solid var(--line);
}

.logos__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
  padding-top: 1.75rem;
  overflow: visible;
}

.logos__grid > li {
  min-width: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.logos__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100%;
  min-width: 0;
  color: inherit;
  text-align: center;
  overflow: visible;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  a.logos__item:hover,
  .logos__item:hover {
    transform: translateY(-2px);
  }
}

.logos__frame {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1;
  background: transparent !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  overflow: visible;
  isolation: isolate;
  display: block;
}

.logos__frame::before {
  content: none;
}

.logos__frame::after {
  content: none;
}

.logos__frame:hover {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.logos__frame--light {
  background: transparent;
  border-color: transparent;
}

.logos__frame img {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  box-sizing: border-box;
  display: block;
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: 90%;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, -50%);
  filter: grayscale(1);
  transition: filter 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.logos__item.is-in .logos__frame img {
  filter: grayscale(0);
}

.logos__name {
  display: block;
  width: 100%;
  margin-top: 0.85rem;
  min-height: 1.35em;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink-soft);
  text-align: center;
}

.logos__meta {
  display: block;
  width: 100%;
  margin-top: 0.2rem;
  min-height: 2.5em;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* Expertise — dense inventory strip */

.expertise {
  padding: 3.5rem 0;
  background: var(--bg-deep);
  border-block: 1px solid var(--line);
}

.expertise .section-head {
  margin-bottom: 1.35rem;
}

.expertise .section-title {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
}

.expertise .section-lead {
  font-size: 0.92rem;
  max-width: 48ch;
  color: var(--muted);
}

.expertise__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem 0.65rem;
}

.expertise__grid li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.65rem;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(236, 238, 242, 0.08);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.expertise__grid li:hover {
  border-color: rgba(74, 158, 150, 0.45);
  background: transparent;
  transform: none;
  color: var(--accent-soft);
}

.expertise__grid li::before {
  content: "";
  flex-shrink: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
}

/* How I work — open breathing */

.approach {
  position: relative;
  z-index: 1;
  padding: 10rem 0 9rem;
  background: transparent;
}

.approach .wrap {
  position: relative;
  z-index: 2;
}

.approach .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.approach__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.5rem 3.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.approach__steps > li {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}

.approach__num {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.approach__step-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.approach__step-body {
  margin: 0;
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Mission */

.mission {
  padding: 7.5rem 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 0%, rgba(74, 158, 150, 0.14), transparent 55%),
    linear-gradient(160deg, #1a2226 0%, #10151a 55%, #0a0d10 100%);
  color: #f4f5f7;
  border-block: 1px solid var(--line);
}

.mission .eyebrow {
  color: var(--accent-soft);
}

.mission__title {
  margin-bottom: 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mission__text {
  max-width: 42ch;
  color: rgba(244, 245, 247, 0.78);
  font-size: 1.08rem;
}

/* Values */

.values {
  padding: 7.5rem 0;
}

.values__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
}

.values__list h3 {
  margin-bottom: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
}

.values__list p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Passions */

.passions {
  padding: 7.5rem 0;
  background: var(--paper);
}

.passions__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.65rem;
}

.passions__list li {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* Epigraph — Think Different
   Words illuminate one by one as they cross the reading line;
   misfit words ignite in teal; the whisper blooms when the last word lands. */

/* How I work + What I believe — shared portrait band */

.belief-band {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.belief-band__visual {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: min(52vw, 36rem);
  height: 100%;
  pointer-events: none;
  user-select: none;
}

.belief-band__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to right,
      var(--bg) 0%,
      color-mix(in srgb, var(--bg) 88%, transparent) 18%,
      color-mix(in srgb, var(--bg) 42%, transparent) 42%,
      transparent 68%
    ),
    linear-gradient(
      to bottom,
      var(--bg) 0%,
      transparent 12%,
      transparent 88%,
      var(--bg) 100%
    );
}

.belief-band__visual img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 22%;
  filter: grayscale(1) contrast(1.05) brightness(0.92);
  opacity: 0.42;
  mix-blend-mode: luminosity;
  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.35) 22%,
      rgba(0, 0, 0, 0.85) 55%,
      #000 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      #000 10%,
      #000 90%,
      transparent 100%
    );
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.35) 22%,
      rgba(0, 0, 0, 0.85) 55%,
      #000 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      #000 10%,
      #000 90%,
      transparent 100%
    );
  -webkit-mask-composite: source-in;
}

.epigraph {
  position: relative;
  z-index: 1;
  padding: clamp(7rem, 18vh, 12rem) 0;
  min-height: min(92vh, 48rem);
  display: flex;
  align-items: center;
  overflow: visible;
  background: transparent;
  box-sizing: border-box;
}

.epigraph .wrap {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 0;
}

.epigraph__inner {
  position: relative;
  z-index: 2;
}

.epigraph__whisper {
  position: absolute;
  z-index: 1;
  top: -4.75rem;
  left: 0;
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 1;
  white-space: nowrap;
  color: var(--accent);
  opacity: 0.14;
  transform: rotate(-4deg);
  transform-origin: left center;
  pointer-events: none;
  user-select: none;
  transition: opacity 1.2s var(--ease);
}

.epigraph.is-complete .epigraph__whisper {
  opacity: 0.3;
}

.epigraph__quote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0;
}

.epigraph__quote > p {
  margin: 0 0 1.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.1vw, 2.25rem);
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.epigraph__quote > p:last-child {
  margin-bottom: 0;
}

.epigraph__quote em {
  font-style: italic;
  color: var(--accent-soft);
}

.epigraph__climax {
  margin-top: 2.35rem !important;
  font-size: clamp(2rem, 4.2vw, 3.1rem) !important;
  font-style: italic;
  line-height: 1.32 !important;
  letter-spacing: -0.025em !important;
}

.epigraph__climax em {
  color: var(--accent);
}

/* Scroll illumination — only when JS is driving it */

.epigraph__word {
  transition: opacity 0.5s var(--ease);
}

[data-epigraph].epigraph--js .epigraph__word {
  opacity: 0.14;
}

[data-epigraph].epigraph--js .epigraph__word.is-lit {
  opacity: 1;
}

.epigraph__cite {
  position: relative;
  z-index: 1;
  margin-top: 2.25rem;
  font-family: var(--font-script);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-style: normal;
  color: var(--accent-soft);
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.epigraph .epigraph__cite {
  opacity: 1;
  transform: none;
}

.epigraph.epigraph--armed .epigraph__cite {
  opacity: 0;
  transform: translateY(8px);
}

.epigraph.is-complete .epigraph__cite {
  opacity: 1;
  transform: none;
}

/* Now — journal note */

.now {
  padding: 7.5rem 0 8rem;
  background: var(--paper);
}

.now__inner {
  max-width: min(42rem, 100%);
}

.now__eyebrow {
  margin-bottom: 0.85rem;
}

.now__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.now__date {
  margin: 0 0 2.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.now__essay {
  display: grid;
  gap: 1.15rem;
}

.now__essay > p {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 54ch;
}

.now__essay > p.now__pull {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--accent-soft);
  max-width: 28ch;
}

.now__essay > p.now__close {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink);
}

/* Trust outcomes */

.trust {
  padding: 4.5rem 0 5.5rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.trust__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust__list > li {
  margin: 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.trust__label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.trust__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 22ch;
}

/* Closing band — full-width Oxford noir background, vertical fade */

.closing-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  background-color: var(--bg);
}

.closing-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("/assets/oxford_noir.jpg");
  background-repeat: no-repeat;
  background-position: center 40%;
  background-size: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.62);
  opacity: 0.28;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.55) 12%,
    #000 28%,
    #000 72%,
    rgba(0, 0, 0, 0.5) 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.55) 12%,
    #000 28%,
    #000 72%,
    rgba(0, 0, 0, 0.5) 88%,
    transparent 100%
  );
}

.closing-band .connect,
.closing-band .site-footer {
  position: relative;
  z-index: 1;
}

/* Connect */

.connect {
  padding: 9.5rem 0 6.5rem;
  text-align: left;
  background: transparent;
}

.connect__title {
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.connect__title em {
  font-style: italic;
  color: var(--accent);
}

.connect__lead {
  max-width: 42ch;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.connect__lead strong {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 400;
  color: var(--ink);
}

.connect__availability {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.connect__location {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.98rem;
  color: var(--muted);
}

.connect__closing {
  margin-top: 2rem;
  max-width: 46ch;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-form {
  margin-top: 0.5rem;
  display: grid;
  gap: 1.1rem;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.contact-field {
  display: grid;
  gap: 0.45rem;
}

.contact-field__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-field__input {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.2rem;
  background: rgba(236, 238, 242, 0.03);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.45;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact-field__input::placeholder {
  color: var(--muted);
}

.contact-field__input:hover {
  border-color: rgba(236, 238, 242, 0.22);
}

.contact-field__input:focus {
  outline: none;
  border-color: rgba(74, 158, 150, 0.55);
  background: rgba(74, 158, 150, 0.06);
  box-shadow: 0 0 0 3px rgba(74, 158, 150, 0.15);
}

.contact-field__input.is-invalid {
  border-color: rgba(220, 120, 110, 0.65);
}

.contact-field__input--area {
  min-height: 9rem;
  resize: vertical;
  padding-top: 0.95rem;
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-top: 0.35rem;
}

.contact-form__status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.contact-form__status.is-success {
  color: var(--accent-soft);
}

.contact-form__status.is-error {
  color: #e2a29a;
}

.contact-form.is-sending .btn[type="submit"] {
  opacity: 0.7;
  pointer-events: none;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
  background: transparent;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__copy {
  display: grid;
  gap: 0.35rem;
}

.site-footer__copy p {
  margin: 0;
}

.site-footer__note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  color: color-mix(in srgb, var(--muted) 88%, var(--accent-soft) 12%);
}

.site-footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(133, 139, 150, 0.5);
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

.site-footer a:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

/* Reveal */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease),
    clip-path 1s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

.section-lead,
.connect__lead,
.statement__body {
  max-width: 68ch;
}

.about__story,
.about__body,
.about__pull,
.about__close {
  max-width: none;
}



/* Language switcher */

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.35rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lang__link {
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.lang__link:hover {
  color: var(--ink);
}

.lang__link.is-active {
  color: var(--ink);
  pointer-events: none;
}

.lang__sep {
  color: var(--muted);
  opacity: 0.55;
  user-select: none;
}

/* Responsive */

@media (max-width: 980px) {
  .section-head {
    flex-direction: column;
    align-items: start;
    gap: 1rem;
  }

  .about-acc__whisper {
    font-size: clamp(2.2rem, 11vw, 3.6rem);
    white-space: normal;
    max-width: 11ch;
  }

  .about-acc__face {
    max-width: none;
  }

  .about__butterfly {
    top: -26vh;
    left: auto;
    right: -8vw;
    width: 115vw;
    margin-left: 0;
    transform-origin: 80% 40%;
    transform:
      translate3d(0, var(--about-y, 0px), 0)
      rotate(calc(-16deg + var(--about-tilt, 0deg)))
      scale(var(--about-scale, 1));
    opacity: var(--about-opacity, 0.42);
  }

  .about:has(.about-acc[open]) .about__butterfly {
    --about-opacity: 0.16;
    opacity: 0.16;
  }

  .about__wrap {
    min-height: clamp(18rem, 48vh, 26rem);
  }

  .work-item,
  .work-item:nth-child(even),
  .approach__steps,
  .proof__strip,
  .timeline__track {
    grid-template-columns: 1fr;
  }

  .work-item.work-item--featured {
    width: 100%;
    max-width: 100%;
    margin: 1.25rem 0 2rem;
    padding: 3rem 0 3.5rem;
  }

  .work-feature__intro {
    width: min(var(--wrap), calc(100% - 2rem));
    margin-bottom: 2rem;
  }

  .work-feature__stage.work-item__media {
    max-width: calc(100% - 2rem);
  }

  .timeline__track::before {
    display: none;
  }

  .timeline__item {
    padding-top: 0;
    padding-left: 1.35rem;
    border-left: 1px solid var(--line);
  }

  .timeline__item::before {
    top: 0.4rem;
    left: -0.3rem;
  }

  .work-item:nth-child(even) .work-item__media,
  .work-item:nth-child(even) .work-item__body {
    order: initial;
  }

  .work-grid__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expertise__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust__list {
    grid-template-columns: 1fr;
  }

  .approach__steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__meta {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .values__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }

  .logos__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .logos__frame {
    aspect-ratio: 1;
  }


}

@media (max-width: 760px) {
  :root {
    --wrap: calc(100% - 2rem);
    --wrap-narrow: calc(100% - 2rem);
  }

  .nav__toggle {
    display: grid;
  }

  .nav__menu {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1rem 1.25rem;
    background: rgba(12, 14, 17, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }

  .nav__menu.is-open {
    display: flex;
  }

  .nav__menu a {
    padding: 0.9rem 0.25rem;
    color: var(--ink) !important;
    border-bottom: 1px solid var(--line);
  }

  .nav__cta {
    margin-top: 0.75rem;
    justify-content: center;
    background: var(--ink) !important;
    color: #0c0e11 !important;
  }

  .site-header.is-hero .nav__menu {
    background: rgba(10, 12, 15, 0.96);
  }

  .site-header.is-hero .nav__menu a:not(.nav__cta) {
    color: #f4f5f7 !important;
    border-bottom-color: rgba(244, 245, 247, 0.12);
  }

  .site-header.is-hero .nav__menu a.nav__cta {
    background: #f4f5f7 !important;
    color: #0c0e11 !important;
  }


  .lang {
    margin: 0.85rem 0 0;
    padding: 0.85rem 0.25rem 0.25rem;
    border-left: 0;
    border-top: 1px solid var(--line);
    justify-content: flex-start;
  }

  .site-header.is-hero .lang {
    border-top-color: rgba(244, 245, 247, 0.12);
  }

  .hero__inner {
    width: calc(100% - 2rem);
    max-width: none;
    min-height: 0;
    padding: calc(var(--header-h) + 2.5rem) 0 5rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero {
    align-items: end;
  }

  .hero__title {
    max-width: none;
    font-size: clamp(2.2rem, 8.5vw, 3.1rem);
  }

  .hero__brand {
    font-size: clamp(3.8rem, 16vw, 5.5rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .contact-form__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form__footer .btn {
    width: 100%;
  }

  .about,
  .work {
    padding: 5rem 0;
  }

  .proof {
    padding: 2.5rem 0 1rem;
  }

  .timeline {
    padding: 0 0 2.75rem;
  }

  .expertise {
    padding: 2.75rem 0;
  }

  .approach {
    padding: 5.5rem 0;
  }

  .epigraph {
    padding: 5rem 0;
    min-height: 0;
  }

  .epigraph .wrap {
    width: var(--wrap);
    max-width: var(--wrap);
  }

  .belief-band__visual {
    width: min(70vw, 20rem);
    height: 100%;
    right: 0;
    left: auto;
  }

  .belief-band__visual img {
    opacity: 0.28;
  }

  .now {
    padding: 4.5rem 0;
  }

  .trust__list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .work-item.work-item--featured {
    width: 100%;
    max-width: 100%;
    margin: 0.75rem 0 1.5rem;
    padding: 2.5rem 0 3rem;
  }

  .work-feature__intro {
    margin-bottom: 1.65rem;
  }

  .work-feature__ghost {
    font-size: clamp(5rem, 28vw, 9rem);
  }

  .work-feature__title {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .work-feature__stage.work-item__media {
    max-width: calc(100% - 1.5rem);
    padding-bottom: 10%;
  }

  .work-item--featured .work-phone {
    width: min(40%, 160px);
    bottom: -5%;
  }

  .work-feature__cta {
    width: min(var(--wrap), calc(100% - 2rem));
    margin-top: 2rem;
  }

  .work-grid__list {
    grid-template-columns: 1fr;
  }

  .work-grid__media:not(.work-grid__media--scroll) {
    max-height: none;
    aspect-ratio: 16 / 11;
  }

  .work-grid__media--scroll .work-scroll__viewport {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 11;
    max-height: none;
  }

  .expertise__grid {
    grid-template-columns: 1fr;
  }

  .statement {
    min-height: auto;
    padding: 4rem 0 4rem;
  }

  .statement__content {
    gap: 0.9rem;
  }

  .statement__quote > p {
    max-width: none;
    font-size: clamp(2.2rem, 8vw, 3.4rem);
  }

  .statement__invisible-text {
    font-size: clamp(5.5rem, 22vw, 10rem);
  }

  .connect {
    padding: 5.5rem 0 4.5rem;
  }

  .closing-band::before {
    opacity: 0.18;
  }

  .logos {
    margin-top: 3.5rem;
    padding-top: 3rem;
  }

  .logos__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem 0.65rem;
  }

  .logos__frame {
    aspect-ratio: 1;
  }

  .logos__frame img {
    max-width: 88%;
    max-height: 88%;
  }

  .logos__name {
    margin-top: 0.65rem;
    min-height: 1.3em;
    font-size: 0.88rem;
  }

  .logos__meta {
    min-height: 2.4em;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .work-item__media img:not(.work-scroll__page):not(.work-phone__page):not(.work-phone__frame):not(.work-feature__shot):not(.work-stack__shot),
  .work-grid__media img:not(.work-scroll__page) {
    clip-path: inset(0);
    transform: none;
  }

  .work-stack {
    opacity: 1;
    transform: none;
  }

  .work-item:hover .work-stack__pane--back {
    transform: translate3d(0, 0, 0) rotate(2.8deg) scale(0.98);
  }

  .work-item:hover .work-stack__pane--mid {
    transform: translate3d(0, 0, 0) rotate(-1.8deg);
  }

  .work-item:hover .work-stack__pane--hero {
    transform: translate3d(0, 0, 0) rotate(-0.3deg);
  }

  .work-item:hover .work-stack__pane--float {
    transform: translate3d(0, 0, 0) rotate(-3.2deg);
  }

  .work-item:hover .work-item__media::after {
    animation: none;
    opacity: 0;
  }

  .work-item:hover .work-scroll.is-ready .work-scroll__page,
  .work-grid__item:hover .work-scroll.is-ready .work-scroll__page,
  .work-scroll.is-scrolling.is-ready .work-scroll__page,
  .work-phone:hover.is-ready .work-phone__page,
  .work-phone.is-scrolling.is-ready .work-phone__page,
  .work-item__media--duo .work-scroll:hover.is-ready .work-scroll__page {
    transform: translate3d(0, 0, 0);
    transition: none;
  }

}
