:root {
  --black: #08090b;
  --black-soft: #0d1013;
  --black-raised: #12161a;
  --white: #f4f7f8;
  --white-soft: rgba(244, 247, 248, 0.72);
  --white-dim: rgba(244, 247, 248, 0.48);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --navy: #123a5f;
  --teal: #0e7c7b;
  --red: #c1272d;
  --glass: rgba(8, 10, 13, 0.54);
  --glass-strong: rgba(8, 10, 13, 0.76);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shell: min(1480px, calc(100vw - 64px));
  --ease-out: cubic-bezier(0.22, 0.78, 0.24, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
}

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

html {
  min-width: 320px;
  background: var(--black);
  color: var(--white);
  scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: clip;
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

::selection {
  background: var(--teal);
  color: var(--white);
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--black);
  transform: translateY(-160%);
  transition: transform 160ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.ambient-canvas,
.ambient-shade {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ambient-canvas {
  z-index: 0;
}

.ambient-shade {
  z-index: 1;
  background:
    radial-gradient(circle at 74% 14%, transparent 0, rgba(8, 9, 11, 0.08) 28%, rgba(8, 9, 11, 0.56) 74%),
    linear-gradient(180deg, rgba(8, 9, 11, 0.18), rgba(8, 9, 11, 0.58));
}

.no-webgl body {
  background:
    radial-gradient(circle at 76% 8%, rgba(43, 200, 232, 0.24), transparent 32%),
    radial-gradient(circle at 18% 74%, rgba(14, 124, 123, 0.24), transparent 34%),
    var(--black);
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 160;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1480px, calc(100vw - 36px));
  min-height: 64px;
  padding: 8px 10px 8px 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background: rgba(8, 9, 11, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 48px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
  transform: translateX(-50%);
}

.wordmark {
  justify-self: start;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.header-role {
  color: var(--white-soft);
  font-size: 14px;
  font-weight: 500;
}

.menu-toggle,
.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background-color 160ms ease-out, border-color 160ms ease-out, transform 160ms ease-out;
}

.menu-toggle {
  justify-self: end;
  gap: 12px;
}

.menu-toggle i {
  position: relative;
  width: 17px;
  height: 10px;
}

.menu-toggle i::before,
.menu-toggle i::after {
  content: "";
  position: absolute;
  right: 0;
  width: 17px;
  height: 1px;
  background: currentColor;
}

.menu-toggle i::before {
  top: 2px;
}

.menu-toggle i::after {
  bottom: 2px;
  width: 11px;
}

.menu-toggle:active,
.menu-close:active,
.button:active {
  transform: scale(0.97);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
  pointer-events: none;
}

.menu-open .menu-overlay {
  visibility: visible;
  pointer-events: auto;
}

.menu-curtain {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.menu-curtain__band {
  background: #07080a;
  transform: translate3d(0, 105%, 0);
  transition: transform 540ms var(--ease-out);
}

.menu-curtain__band:nth-child(2) {
  background: #090d10;
  transition-delay: 40ms;
}

.menu-curtain__band:nth-child(3) {
  background: #0a1115;
  transition-delay: 80ms;
}

.menu-curtain__band:nth-child(4) {
  background: #0b1519;
  transition-delay: 120ms;
}

.menu-open .menu-curtain__band {
  transform: translate3d(0, 0, 0);
}

.menu-closing .menu-curtain__band {
  transform: translate3d(0, -105%, 0);
}

.menu-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  min-height: 100%;
  padding: 24px clamp(24px, 5vw, 86px) 36px;
  opacity: 0;
  transition: opacity 180ms ease-out 260ms;
}

.menu-open .menu-panel {
  opacity: 1;
}

.menu-closing .menu-panel {
  opacity: 0;
  transition-delay: 0s;
}

.menu-panel__top,
.menu-panel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.menu-panel__top .wordmark {
  font-size: 18px;
}

.menu-nav {
  align-self: center;
  display: grid;
  width: min(900px, 100%);
  margin-inline: auto;
}

.menu-nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--white-dim);
  font-size: clamp(2.7rem, 6.4vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
  transition: color 180ms ease-out, padding-left 260ms var(--ease-out);
}

.menu-nav a::after {
  content: "↗";
  color: var(--red);
  font-size: 0.3em;
  font-weight: 400;
}

.menu-nav a[aria-current="page"],
.menu-nav a:hover,
.menu-nav a:focus-visible {
  color: var(--white);
  padding-left: 18px;
}

.menu-panel__foot {
  color: var(--white-dim);
  font-size: 14px;
}

.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 24px;
  padding: clamp(28px, 5vw, 76px);
  background: #060708;
  color: var(--white);
  transition: clip-path 560ms var(--ease-out), visibility 0s linear 560ms;
  clip-path: inset(0 0 0 0 round 0);
}

.intro-loader::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--teal), #2bc8e8);
  transform-origin: 0 50%;
  animation: loader-line 1150ms linear both;
}

.intro-loader.is-leaving {
  visibility: hidden;
  clip-path: inset(0 0 100% 0 round 0 0 40px 40px);
}

.intro-loader__greeting {
  align-self: center;
  grid-column: 1 / -1;
  font-size: clamp(3.8rem, 10vw, 10rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.intro-loader__name,
.intro-loader__count {
  color: var(--white-soft);
  font-size: 14px;
}

.intro-loader__count {
  font-variant-numeric: tabular-nums;
}

@keyframes loader-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.route-transition {
  position: fixed;
  inset: 0;
  z-index: 170;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  visibility: hidden;
  pointer-events: none;
}

.route-transition.is-active {
  visibility: visible;
}

.route-transition__band {
  background: #050607;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 420ms var(--ease-out);
}

.route-transition__band:nth-child(2) {
  background: #081014;
  transition-delay: 35ms;
}

.route-transition__band:nth-child(3) {
  background: #0a171b;
  transition-delay: 70ms;
}

.route-transition__band:nth-child(4) {
  background: #0c2022;
  transition-delay: 105ms;
}

.route-transition.is-active .route-transition__band {
  transform: scaleX(1);
}

.glass-panel,
.work-card,
.journey-sheet,
.contact-stage {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.018) 38%, rgba(0, 0, 0, 0.14)),
    var(--glass);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(255, 255, 255, 0.025),
    0 32px 80px rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(26px) saturate(130%);
  backdrop-filter: blur(26px) saturate(130%);
}

[data-spotlight] {
  --spot-x: 50%;
  --spot-y: 50%;
  --spot-opacity: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

[data-spotlight]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(420px circle at var(--spot-x) var(--spot-y), rgba(255, 255, 255, 0.12), transparent 46%);
  opacity: var(--spot-opacity);
  pointer-events: none;
  transition: opacity 180ms ease-out;
}

[data-spotlight] > * {
  position: relative;
  z-index: 2;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 160ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out;
}

.button {
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
}

.button--primary {
  border-color: rgba(255, 255, 255, 0.68);
  background: var(--white);
  color: var(--black);
}

.button--glass {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.button span,
.text-link span {
  color: var(--red);
}

.text-link {
  min-height: 44px;
  padding-inline: 4px;
  border-bottom: 1px solid var(--line-strong);
}

.hero {
  min-height: 100svh;
  padding: 104px 0 34px;
}

.hero-frame {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  min-height: calc(100svh - 138px);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 94px);
}

.hero-role {
  margin-bottom: clamp(28px, 5vh, 58px);
  color: var(--white-soft);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  font-weight: 500;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(4rem, 6.5vw, 7rem);
  line-height: 0.92;
}

.hero h1 span {
  display: block;
}

.hero-summary {
  max-width: 660px;
  margin-top: clamp(28px, 5vh, 52px);
  color: var(--white-soft);
  font-size: clamp(1.12rem, 1.55vw, 1.42rem);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: auto;
  padding-top: 54px;
  color: var(--white-dim);
  font-size: 14px;
}

.hero-scope span + span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 22px;
  border-radius: 50%;
  background: var(--red);
  vertical-align: 2px;
}

.hero-portrait {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #071018;
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.5), transparent 24%),
    linear-gradient(180deg, transparent 52%, rgba(8, 9, 11, 0.72));
  pointer-events: none;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.portrait-meta {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(5, 8, 10, 0.52);
  color: var(--white-soft);
  font-size: 14px;
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  backdrop-filter: blur(20px) saturate(125%);
}

.portrait-meta span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.portrait-meta span:first-child::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(14, 124, 123, 0.16);
}

.section {
  padding: clamp(96px, 11vw, 170px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 44px;
}

.section-heading h2,
.page-intro h1 {
  font-size: clamp(3.3rem, 6.4vw, 6.5rem);
}

.section-heading p,
.page-intro p {
  max-width: 620px;
  color: var(--white-soft);
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.52;
}

.section-heading__side {
  justify-self: end;
}

.work-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(190px, auto);
  gap: 18px;
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 210px;
  padding: clamp(24px, 2.7vw, 40px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 220ms ease-out, transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.76;
  pointer-events: none;
}

.work-card--srp {
  grid-column: 1 / 8;
  grid-row: span 2;
  min-height: 438px;
}

.work-card--srp::before {
  background:
    radial-gradient(circle at 82% 22%, rgba(43, 123, 232, 0.34), transparent 34%),
    linear-gradient(135deg, rgba(18, 58, 95, 0.86), rgba(8, 9, 11, 0.2) 72%);
}

.work-card--candle {
  grid-column: 8 / 13;
}

.work-card--candle::before {
  background:
    radial-gradient(circle at 88% 16%, rgba(79, 224, 216, 0.25), transparent 35%),
    linear-gradient(145deg, rgba(14, 124, 123, 0.52), rgba(8, 9, 11, 0.2) 70%);
}

.work-card--impact {
  grid-column: 8 / 13;
}

.work-card--impact::before {
  background:
    radial-gradient(circle at 86% 18%, rgba(193, 39, 45, 0.23), transparent 34%),
    linear-gradient(145deg, rgba(18, 58, 95, 0.42), rgba(8, 9, 11, 0.2));
}

.work-card--insured {
  grid-column: 1 / 4;
}

.work-card--english {
  grid-column: 4 / 7;
}

.work-card--simon {
  grid-column: 7 / 10;
}

.work-card--cloud {
  grid-column: 10 / 13;
}

.work-card--insured::before,
.work-card--english::before,
.work-card--simon::before,
.work-card--cloud::before {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(8, 9, 11, 0.2));
}

.work-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.work-card__index {
  color: var(--white-dim);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.work-card h3,
.work-card h2 {
  max-width: 760px;
  font-size: clamp(1.55rem, 2.8vw, 3.4rem);
}

.work-card--compact h3,
.work-card--compact h2 {
  font-size: clamp(1.25rem, 1.65vw, 1.7rem);
  line-height: 1.1;
}

.work-card__role {
  margin-top: auto;
  padding-top: 42px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.work-card__copy {
  max-width: 760px;
  margin-top: 12px;
  color: var(--white-soft);
  font-size: clamp(0.98rem, 1.18vw, 1.12rem);
  line-height: 1.55;
}

.work-card--compact .work-card__role {
  padding-top: 32px;
}

.work-card--compact .work-card__copy {
  font-size: 0.95rem;
}

.work-card__signal {
  position: absolute;
  right: 34px;
  bottom: 30px;
  width: 108px;
  height: 108px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  opacity: 0.34;
}

.work-card__signal::before,
.work-card__signal::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.work-card__signal::before {
  inset: 18px;
}

.work-card__signal::after {
  inset: 38px;
  background: var(--red);
  border: 0;
}

.work-card--srp .work-card__copy {
  max-width: 620px;
  padding-right: 100px;
}

.journey-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  min-height: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.journey-preview__title,
.journey-preview__copy {
  padding: clamp(34px, 5vw, 78px);
}

.journey-preview__title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  background: rgba(8, 9, 11, 0.24);
}

.journey-preview__title h2 {
  max-width: 660px;
  font-size: clamp(3.2rem, 5.7vw, 6.1rem);
}

.journey-preview__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 90% 0, rgba(43, 200, 232, 0.16), transparent 38%),
    rgba(8, 9, 11, 0.36);
}

.journey-preview__copy p {
  max-width: 660px;
  color: var(--white-soft);
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  line-height: 1.5;
}

.journey-preview__copy .text-link {
  align-self: flex-start;
  margin-top: 34px;
}

.closing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 50px;
  min-height: 330px;
  padding: clamp(38px, 5.2vw, 80px);
  border-radius: var(--radius-xl);
}

.closing-panel h2 {
  max-width: 890px;
  font-size: clamp(2.7rem, 5.7vw, 6rem);
}

.closing-panel__action {
  display: grid;
  gap: 18px;
  justify-items: start;
  max-width: 360px;
}

.closing-panel__action p {
  color: var(--white-soft);
}

.page-main {
  padding-top: 112px;
}

.page-intro {
  padding: 24px 0 38px;
}

.page-intro__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.66fr);
  align-items: end;
  gap: 44px;
  min-height: 390px;
  padding: clamp(38px, 5vw, 76px);
  border-radius: var(--radius-xl);
}

.page-intro p {
  justify-self: end;
}

.work-page .work-directory {
  padding: 24px 0 132px;
}

.journey-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  min-height: 610px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.journey-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 78px);
}

.journey-hero h1 {
  font-size: clamp(3.5rem, 6.6vw, 7rem);
}

.journey-hero p {
  max-width: 640px;
  margin-top: 32px;
  color: var(--white-soft);
  font-size: clamp(1.08rem, 1.55vw, 1.42rem);
}

.journey-hero figure {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.journey-hero figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 9, 11, 0.42), transparent 30%), linear-gradient(180deg, transparent 60%, rgba(8, 9, 11, 0.5));
}

.journey-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.journey-section {
  padding: 34px 0 132px;
}

.journey-sheet {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.journey-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.34fr) minmax(260px, 0.82fr) minmax(320px, 1.25fr);
  gap: clamp(26px, 4vw, 70px);
  align-items: start;
  padding: clamp(30px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
}

.journey-row:last-child {
  border-bottom: 0;
}

.journey-row__time {
  color: var(--white-dim);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.journey-row h2 {
  font-size: clamp(1.55rem, 2.25vw, 2.45rem);
  line-height: 1.08;
}

.journey-row p {
  color: var(--white-soft);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.62;
}

.contact-page .page-main {
  min-height: 100svh;
  padding-bottom: 70px;
}

.contact-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(430px, 1.18fr);
  min-height: calc(100svh - 156px);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.contact-copy,
.contact-form {
  padding: clamp(38px, 5vw, 78px);
}

.contact-copy {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 10% 100%, rgba(14, 124, 123, 0.24), transparent 40%),
    rgba(8, 9, 11, 0.22);
}

.contact-copy h1 {
  font-size: clamp(3.7rem, 7vw, 7rem);
}

.contact-copy > p {
  max-width: 570px;
  margin-top: 28px;
  color: var(--white-soft);
  font-size: clamp(1.08rem, 1.4vw, 1.3rem);
}

.contact-routes {
  display: grid;
  gap: 20px;
  margin-top: auto;
  padding-top: 54px;
}

.contact-route {
  display: grid;
  gap: 5px;
}

.contact-route span {
  color: var(--white-dim);
  font-size: 13px;
}

.contact-route a,
.contact-route strong {
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 500;
}

.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
  background: rgba(8, 9, 11, 0.4);
}

.contact-form h2 {
  margin-bottom: 34px;
  font-size: clamp(2rem, 3.4vw, 3.7rem);
}

.field {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
}

.field label {
  color: var(--white-soft);
  font-size: 14px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
  transition: border-color 160ms ease-out, background-color 160ms ease-out, box-shadow 160ms ease-out;
}

.field input {
  min-height: 54px;
  padding: 0 16px;
}

.field textarea {
  min-height: 150px;
  padding: 15px 16px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(79, 224, 216, 0.62);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 4px rgba(14, 124, 123, 0.16);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}

.form-actions > p,
.form-status {
  color: var(--white-dim);
  font-size: 13px;
}

.form-status {
  min-height: 1.5em;
  margin-top: 12px;
}

.site-footer {
  padding: 0 0 26px;
}

.footer-frame {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
  min-height: 76px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(8, 9, 11, 0.56);
  color: var(--white-dim);
  font-size: 13px;
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  backdrop-filter: blur(22px) saturate(125%);
}

.footer-frame > span:nth-child(2) {
  justify-self: center;
}

.footer-links {
  justify-self: end;
  display: flex;
  gap: 22px;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.contact-route a:hover,
.contact-route a:focus-visible {
  color: var(--white);
}

.has-js [data-hero-reveal],
.has-js [data-reveal] {
  opacity: 0;
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.has-js [data-hero-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .menu-toggle:hover,
  .menu-close:hover,
  .button--glass:hover {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.13);
  }

  .button--primary:hover {
    background: #ffffff;
    transform: translateY(-2px);
  }

  .text-link:hover {
    border-color: rgba(255, 255, 255, 0.62);
  }

}

@media (max-width: 1180px) {
  :root {
    --shell: min(100% - 42px, 1100px);
  }

  .hero-frame {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  }

  .hero-copy {
    padding: 48px;
  }

  .hero-scope {
    padding-top: 38px;
  }

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

  .work-card--srp {
    grid-column: 1 / 5;
  }

  .work-card--candle,
  .work-card--impact {
    grid-column: 5 / 7;
  }

  .work-card--insured,
  .work-card--english,
  .work-card--simon,
  .work-card--cloud {
    grid-column: span 3;
  }

  .work-card--candle h3,
  .work-card--impact h3,
  .work-card--candle h2,
  .work-card--impact h2 {
    font-size: clamp(1.35rem, 2.2vw, 2rem);
  }

  .work-card--candle .work-card__copy,
  .work-card--impact .work-card__copy {
    font-size: 0.96rem;
  }

  .journey-row {
    grid-template-columns: 120px minmax(220px, 0.7fr) minmax(300px, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --shell: calc(100vw - 30px);
    --radius-xl: 27px;
    --radius-lg: 22px;
  }

  .site-header {
    top: 12px;
    width: calc(100vw - 24px);
    min-height: 58px;
    padding-left: 16px;
    border-radius: 18px;
  }

  .header-role {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    min-width: 86px;
    min-height: 42px;
  }

  .hero {
    padding-top: 84px;
  }

  .hero-frame {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    min-height: 610px;
    padding: clamp(34px, 8vw, 64px);
  }

  .hero-portrait {
    min-height: min(74vw, 650px);
  }

  .hero-scope {
    margin-top: 44px;
    padding-top: 0;
  }

  .section-heading,
  .page-intro__panel,
  .journey-preview,
  .closing-panel,
  .journey-hero,
  .contact-stage {
    grid-template-columns: 1fr;
  }

  .section-heading__side,
  .page-intro p {
    justify-self: start;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .journey-preview__title {
    min-height: 390px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .journey-preview__copy {
    min-height: 350px;
  }

  .closing-panel {
    gap: 34px;
  }

  .page-main {
    padding-top: 90px;
  }

  .page-intro__panel {
    min-height: 420px;
  }

  .journey-hero figure {
    min-height: min(82vw, 640px);
  }

  .journey-row {
    grid-template-columns: 120px 1fr;
  }

  .journey-row p {
    grid-column: 2;
  }

  .contact-stage {
    min-height: auto;
  }

  .contact-copy {
    min-height: 520px;
  }

  .contact-form {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .menu-panel {
    padding: 18px 18px 28px;
  }

  .menu-curtain {
    grid-template-columns: repeat(3, 1fr);
  }

  .menu-curtain__band:nth-child(4) {
    display: none;
  }

  .menu-panel__foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .menu-nav a {
    padding: 12px 0;
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .intro-loader {
    padding: 24px;
  }

  .intro-loader__greeting {
    font-size: clamp(3.1rem, 16vw, 5.5rem);
  }

  .hero-copy {
    min-height: 580px;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 17vw, 5.8rem);
  }

  .hero-summary {
    font-size: 1.08rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
  }

  .hero-scope {
    display: grid;
    gap: 7px;
  }

  .hero-scope span + span::before {
    display: none;
  }

  .hero-portrait {
    min-height: 106vw;
  }

  .portrait-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .section {
    padding: 88px 0;
  }

  .section-heading h2,
  .page-intro h1 {
    font-size: clamp(3rem, 15vw, 4.9rem);
  }

  .work-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .work-card,
  .work-card--srp,
  .work-card--candle,
  .work-card--impact,
  .work-card--insured,
  .work-card--english,
  .work-card--simon,
  .work-card--cloud {
    grid-column: 1;
    grid-row: auto;
    min-height: 280px;
  }

  .work-card--srp {
    min-height: 390px;
  }

  .work-card h3,
  .work-card h2,
  .work-card--compact h3,
  .work-card--compact h2 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .work-card--srp .work-card__copy {
    padding-right: 0;
  }

  .work-card__signal {
    right: 24px;
    bottom: 24px;
    width: 78px;
    height: 78px;
  }

  .work-card__signal::before {
    inset: 13px;
  }

  .work-card__signal::after {
    inset: 29px;
  }

  .journey-preview__title,
  .journey-preview__copy,
  .closing-panel,
  .page-intro__panel,
  .journey-hero__copy,
  .contact-copy,
  .contact-form {
    padding: 32px 26px;
  }

  .journey-preview__title {
    min-height: 350px;
  }

  .journey-preview__title h2 {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  .journey-preview__copy {
    min-height: 330px;
  }

  .page-intro {
    padding-top: 10px;
  }

  .page-intro__panel {
    min-height: 410px;
  }

  .journey-hero h1,
  .contact-copy h1 {
    font-size: clamp(3.4rem, 16vw, 5.6rem);
  }

  .journey-row {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 32px 26px;
  }

  .journey-row p {
    grid-column: 1;
  }

  .contact-copy {
    min-height: 500px;
  }

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

  .footer-frame {
    grid-template-columns: 1fr auto;
  }

  .footer-frame > span:nth-child(2) {
    display: none;
  }
}

@media (max-width: 460px) {
  :root {
    --shell: calc(100vw - 20px);
  }

  .site-header {
    width: calc(100vw - 16px);
  }

  .wordmark {
    font-size: 14px;
  }

  .menu-toggle {
    min-width: 76px;
  }

  .hero {
    padding-top: 78px;
  }

  .hero-frame {
    border-radius: 24px;
  }

  .hero-copy {
    min-height: 560px;
    padding: 30px 22px;
  }

  .hero-role {
    margin-bottom: 36px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 17vw, 4.5rem);
  }

  .portrait-meta {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .work-card {
    padding: 24px 22px;
    border-radius: 22px;
  }

  .footer-frame {
    padding: 16px;
  }

  .footer-links {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .has-js [data-hero-reveal],
  .has-js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .work-card:hover,
  .button--primary:hover {
    transform: none;
  }
}
