@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Newsreader:ital,opsz,wght@1,6..72,400;1,6..72,500&display=swap");

:root {
  --ink: #071816;
  --ink-soft: #0d2522;
  --ink-lift: #15322e;
  --teal: #1b5e63;
  --teal-bright: #2b8d82;
  --mint: #86caba;
  --mint-soft: #c7e5dd;
  --paper: #f0f2ed;
  --paper-warm: #faf8f2;
  --white: #ffffff;
  --text: #11231f;
  --muted: #62716c;
  --line: rgba(17, 35, 31, 0.16);
  --line-light: rgba(255, 255, 255, 0.17);
  --max-width: 1320px;
  --header-height: 84px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 24px 90px rgba(3, 22, 19, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

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

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

a {
  color: inherit;
}

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

::selection {
  color: var(--ink);
  background: var(--mint);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.shell {
  width: min(calc(100% - 64px), var(--max-width));
  margin-inline: auto;
}

.page-progress {
  position: fixed;
  z-index: 300;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.site-header {
  position: absolute;
  z-index: 200;
  top: 20px;
  right: 0;
  left: 0;
  color: var(--white);
}

.site-header.is-scrolled {
  position: fixed;
  animation: nav-drop 500ms var(--ease-out);
}

@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav {
  display: grid;
  min-height: 64px;
  padding: 8px 10px 8px 14px;
  background: rgba(7, 24, 22, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.19);
  backdrop-filter: blur(20px);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: block;
  overflow: hidden;
  width: 40px;
  height: 40px;
  background: var(--paper);
  border: 2px solid var(--mint);
  border-radius: 50%;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(2.7);
  transform-origin: 50% 37%;
}

.brand-copy {
  display: grid;
  line-height: 1.12;
}

.brand-copy strong {
  font-size: 13px;
}

.brand-copy small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
}

.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--mint);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease-out);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  min-height: 46px;
  padding: 10px 18px;
  color: var(--ink);
  background: var(--paper-warm);
  border-radius: 999px;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  background: var(--mint);
  transform: translateY(-1px);
}

.status-dot,
.availability-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #51d6a7;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(81, 214, 167, 0.13);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--white);
  background: transparent;
  border: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 7px auto;
  background: currentColor;
  transition: transform 200ms var(--ease-out);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 980px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 24%, rgba(43, 141, 130, 0.3), transparent 24%),
    linear-gradient(145deg, #071816 0%, #0c2421 52%, #071816 100%);
}

.hero-grid-lines,
.contact-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 92%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
  pointer-events: none;
}

.hero-orb-one {
  top: -210px;
  right: 7%;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(134, 202, 186, 0.18);
  box-shadow:
    0 0 0 80px rgba(134, 202, 186, 0.02),
    0 0 0 160px rgba(134, 202, 186, 0.015);
}

.hero-orb-two {
  bottom: 70px;
  left: -220px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 900px;
  padding-top: 144px;
  padding-bottom: 80px;
  grid-template-columns: minmax(0, 1.14fr) minmax(430px, 0.86fr);
  align-items: center;
  gap: clamp(56px, 7vw, 110px);
}

.hero-copy {
  padding-top: 20px;
}

.hero-kicker,
.section-kicker {
  display: flex;
  margin: 0 0 28px;
  align-items: center;
  gap: 13px;
  color: var(--teal-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker {
  color: var(--mint-soft);
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(62px, 7.4vw, 116px);
  font-weight: 500;
  letter-spacing: -0.072em;
  line-height: 0.91;
}

.hero h1 em,
.section-intro h2 em,
.profile-statement em,
.contact-copy h2 em {
  color: var(--mint);
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero-role {
  margin: 33px 0 14px;
  color: var(--white);
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-value {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.75;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 250ms ease,
    background 250ms ease,
    border-color 250ms ease,
    transform 250ms var(--ease-out);
}

.button span {
  font-size: 18px;
  transition: transform 250ms var(--ease-out);
}

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

.button:hover span {
  transform: translate(3px, -3px);
}

.button-primary {
  color: var(--ink);
  background: var(--mint);
}

.button-primary:hover {
  background: var(--white);
}

.button-quiet {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
}

.button-quiet:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.36);
}

.hero-disciplines {
  display: flex;
  margin-top: 58px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  flex-wrap: wrap;
  gap: 22px;
}

.hero-disciplines span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-height: 650px;
}

.portrait-frame {
  position: absolute;
  z-index: 2;
  top: 40px;
  right: 0;
  overflow: hidden;
  width: min(100%, 470px);
  height: 580px;
  background: var(--teal);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 240px 240px 24px 24px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.3);
}

.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
  filter: saturate(0.92) contrast(1.02);
}

.hero-foot {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 30px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-foot-line {
  width: 42px;
  height: 1px;
  background: rgba(255, 255, 255, 0.26);
}

.hero-enter {
  opacity: 0;
  transform: translateY(26px);
  animation: hero-enter 900ms var(--ease-out) forwards;
}

.hero-copy .hero-enter:nth-child(1) { animation-delay: 100ms; }
.hero-copy .hero-enter:nth-child(2) { animation-delay: 180ms; }
.hero-copy .hero-enter:nth-child(3) { animation-delay: 260ms; }
.hero-copy .hero-enter:nth-child(4) { animation-delay: 330ms; }
.hero-copy .hero-enter:nth-child(5) { animation-delay: 400ms; }
.hero-copy .hero-enter:nth-child(6) { animation-delay: 470ms; }
.hero-visual.hero-enter { animation-delay: 260ms; }
.hero-foot.hero-enter { animation-delay: 620ms; }

@keyframes hero-enter {
  to { opacity: 1; transform: translateY(0); }
}

.proof-strip {
  position: relative;
  z-index: 3;
  overflow: hidden;
  color: var(--white);
  background: var(--teal);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.proof-track {
  display: grid;
  width: min(100%, 1600px);
  margin-inline: auto;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.proof-item {
  display: grid;
  min-height: 178px;
  padding: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  align-content: space-between;
}

.proof-item:last-child {
  border-right: 0;
}

.proof-value {
  font-size: clamp(40px, 4vw, 62px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}

.proof-item p {
  max-width: 170px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 1.5;
}

.section {
  padding-block: clamp(100px, 11vw, 170px);
  scroll-margin-top: 90px;
}

.section-intro {
  display: grid;
  margin-bottom: clamp(70px, 8vw, 118px);
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 60px;
}

.section-intro h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(44px, 6.4vw, 88px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.section-intro > p {
  max-width: 440px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.work-section {
  overflow: hidden;
  background: var(--paper);
}

.case-list {
  display: grid;
  gap: clamp(110px, 13vw, 190px);
}

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  align-items: center;
  gap: clamp(54px, 8vw, 120px);
}

.case-study-bana {
  grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr);
}

.case-study-future-quest {
  grid-template-columns: minmax(0, 1fr) minmax(440px, 1.05fr);
}

.case-study-headway {
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
}

.case-study-headway .case-copy {
  grid-column: 2;
}

.case-media {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  background: var(--ink);
}

.case-media-screenshot {
  min-height: 0;
  background: #05090a;
  border: 1px solid rgba(7, 24, 22, 0.14);
  border-radius: 18px;
  box-shadow: 0 34px 90px rgba(7, 24, 22, 0.18);
}

.case-media-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3024 / 1722;
  object-fit: cover;
}

.case-media-screenshot a {
  display: block;
}

.product-evidence {
  min-height: 690px;
  padding: clamp(26px, 4vw, 54px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    #071816;
  background-size: 42px 42px;
  border-radius: 24px;
  box-shadow: 0 36px 100px rgba(7, 24, 22, 0.2);
}

.product-evidence > a {
  position: relative;
  display: block;
  height: 570px;
}

.product-evidence img {
  position: absolute;
  display: block;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.product-evidence-primary {
  top: 0;
  left: 0;
  width: 92%;
}

.product-evidence-secondary {
  right: 0;
  bottom: 0;
  width: 74%;
}

.case-media-image img {
  width: 100%;
  height: 720px;
  object-fit: cover;
  transform: scale(1.08) translateY(var(--parallax-y, 0));
  transition: transform 120ms linear;
  will-change: transform;
}

.case-study-headway .case-media-image {
  background: #d9ddcf;
}

.case-study-headway .case-media-image img {
  object-fit: contain;
  padding: 8%;
}

.case-media-collage {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
}

.case-media-collage img {
  height: 720px;
}

.case-media-collage img:nth-child(2) {
  width: 100%;
  object-fit: cover;
  border-left: 8px solid var(--paper);
}

.media-caption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  padding: 15px 18px;
  color: var(--white);
  background: rgba(7, 24, 22, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.browser-bar {
  display: flex;
  min-height: 50px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  align-items: center;
  gap: 7px;
}

.browser-bar span {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.case-copy {
  position: relative;
  padding-block: 20px;
}

.case-meta,
.chapter-topline {
  display: flex;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.case-number {
  margin: 46px 0 9px;
  color: var(--teal-bright);
  font-family: "Newsreader", Georgia, serif;
  font-size: 25px;
  font-style: italic;
}

.case-copy h3 {
  margin: 0;
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.case-lead {
  max-width: 570px;
  margin: 24px 0 40px;
  color: #32433e;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(24px, 2.5vw, 34px);
  font-style: italic;
  line-height: 1.25;
}

.case-details {
  margin: 0;
  border-top: 1px solid var(--line);
}

.case-details > div {
  display: grid;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 96px 1fr;
  gap: 22px;
}

.case-details dt {
  color: var(--teal);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.case-details dd {
  margin: 0;
  color: #4c5d57;
  font-size: 14px;
  line-height: 1.7;
}

.case-tags,
.capability-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tags {
  margin-top: 27px;
}

.case-tags span,
.capability-cloud span {
  display: inline-flex;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
}

.case-link {
  display: inline-flex;
  margin-top: 25px;
  padding-bottom: 5px;
  color: var(--teal);
  border-bottom: 1px solid currentColor;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms ease, gap 240ms var(--ease-out);
}

.case-link:hover {
  color: var(--teal-bright);
  gap: 13px;
}

.digital-build {
  display: grid;
  margin-top: clamp(120px, 14vw, 200px);
  padding: clamp(40px, 7vw, 90px);
  color: var(--white);
  background:
    radial-gradient(circle at 84% 20%, rgba(43, 141, 130, 0.3), transparent 26%),
    var(--ink);
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(50px, 8vw, 100px);
}

.digital-build .section-kicker {
  color: var(--mint);
}

.digital-build h3 {
  margin: 0 0 22px;
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.digital-build-copy > p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.63);
  line-height: 1.75;
}

.digital-build .case-tags span {
  border-color: rgba(255, 255, 255, 0.2);
}

.social-dock {
  display: inline-flex;
  width: max-content;
  gap: 12px;
}

.social-dock-project {
  display: flex;
  margin-top: 28px;
}

.social-dock-personal {
  margin-top: 30px;
}

.social-icon-link {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  place-items: center;
  text-decoration: none;
  transform: translateY(0);
  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 260ms ease,
    transform 260ms var(--ease-out);
}

.social-dock-project .social-icon-link {
  width: 46px;
  height: 46px;
}

.social-dock-on-light .social-icon-link {
  color: var(--teal);
}

.social-icon-link svg {
  width: 20px;
  height: 20px;
  overflow: visible;
  fill: currentColor;
}

.social-dock-project .social-icon-link svg {
  width: 18px;
  height: 18px;
}

.social-icon-link::after {
  position: absolute;
  z-index: 4;
  bottom: calc(100% + 12px);
  left: 50%;
  padding: 6px 9px;
  color: var(--ink);
  background: var(--mint);
  border-radius: 7px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  content: attr(data-platform);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transform: translate(-50%, 7px);
  transition: opacity 180ms ease, transform 220ms var(--ease-out);
  white-space: nowrap;
}

.social-icon-link:hover,
.social-icon-link:focus-visible {
  color: var(--ink);
  background: var(--mint);
  border-color: var(--mint);
  box-shadow: 0 13px 34px rgba(0, 0, 0, 0.25);
  transform: translateY(-3px);
}

.social-icon-link:hover::after,
.social-icon-link:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.browser-frame {
  overflow: hidden;
  min-height: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.3);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
  transition: transform 600ms var(--ease-out);
}

.digital-build:hover .browser-frame {
  transform: perspective(1200px) rotateY(0) rotateX(0);
}

.browser-screenshot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3305 / 1888;
  object-fit: cover;
}

.profile-section {
  color: var(--white);
  background: var(--ink);
}

.profile-section .section-kicker {
  color: var(--mint);
}

.profile-statement {
  padding-bottom: clamp(70px, 9vw, 120px);
  border-bottom: 1px solid var(--line-light);
}

.profile-statement > p:last-child {
  max-width: 1170px;
  margin: 0;
  font-size: clamp(42px, 6.4vw, 88px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.01;
}

.profile-layout {
  display: grid;
  padding-top: clamp(70px, 9vw, 120px);
  grid-template-columns: minmax(280px, 0.66fr) minmax(0, 1.34fr);
  align-items: start;
  gap: clamp(70px, 10vw, 140px);
}

.profile-copy {
  position: sticky;
  top: 118px;
}

.profile-copy p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.85;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.method-card {
  display: flex;
  min-height: 260px;
  padding: clamp(26px, 3vw, 40px);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  flex-direction: column;
  transition:
    background 300ms ease,
    border-color 300ms ease,
    transform 350ms var(--ease-out);
}

.method-card:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-6px);
}

.method-card-wide {
  grid-column: span 2;
  min-height: 220px;
}

.method-card-accent {
  color: var(--ink);
  background: var(--mint);
  border-color: var(--mint);
}

.method-card-accent:hover {
  background: #9ed8ca;
  border-color: #9ed8ca;
}

.method-card > span {
  color: var(--mint);
  font-family: "Newsreader", Georgia, serif;
  font-size: 20px;
  font-style: italic;
}

.method-card-accent > span {
  color: var(--teal);
}

.method-card h3 {
  margin: auto 0 9px;
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.method-card p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.method-card-accent p {
  color: rgba(7, 24, 22, 0.7);
}

.experience-section {
  background: var(--paper-warm);
}

.section-intro-light h2 {
  color: var(--text);
}

.experience-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: clamp(70px, 10vw, 150px);
}

.experience-rail {
  position: sticky;
  top: 120px;
}

.experience-rail > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.experience-rail nav {
  border-top: 1px solid var(--line);
}

.experience-link {
  position: relative;
  display: grid;
  padding: 17px 0 17px 20px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color 200ms ease, padding-left 250ms var(--ease-out);
}

.experience-link::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  content: "";
  opacity: 0.22;
  transform: translateY(-50%);
  transition: opacity 200ms ease, box-shadow 200ms ease;
}

.experience-link span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.experience-link strong {
  margin-top: 3px;
  font-size: 13px;
}

.experience-link.is-active {
  padding-left: 28px;
  color: var(--teal);
}

.experience-link.is-active::before {
  opacity: 1;
  box-shadow: 0 0 0 7px rgba(27, 94, 99, 0.1);
}

.experience-chapters {
  display: grid;
}

.experience-chapter {
  display: flex;
  min-height: 83vh;
  padding: 30px 0 clamp(90px, 11vw, 150px);
  scroll-margin-top: 120px;
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  justify-content: center;
  opacity: 0.42;
  transform: scale(0.985);
  transform-origin: left center;
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.experience-chapter.is-active {
  opacity: 1;
  transform: scale(1);
}

.experience-chapter:last-child {
  border-bottom: 0;
}

.chapter-index {
  margin: 42px 0 10px;
  color: var(--teal-bright);
  font-family: "Newsreader", Georgia, serif;
  font-size: 24px;
  font-style: italic;
}

.experience-chapter h3 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(45px, 6vw, 78px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.99;
}

.chapter-company {
  margin: 11px 0 0;
  color: var(--teal);
  font-size: 19px;
  font-weight: 700;
}

.chapter-highlight {
  max-width: 710px;
  margin: 34px 0;
  color: #2d413b;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(25px, 3vw, 38px);
  font-style: italic;
  line-height: 1.25;
}

.experience-chapter ul {
  display: grid;
  max-width: 820px;
  margin: 0;
  padding: 0;
  gap: 11px;
  list-style: none;
}

.experience-chapter li {
  position: relative;
  padding-left: 24px;
  color: #51615c;
  font-size: 14px;
  line-height: 1.7;
}

.experience-chapter li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
  content: "";
}

.capabilities-section {
  background: var(--paper);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.capability-card {
  display: flex;
  min-height: 360px;
  padding: clamp(28px, 3.4vw, 46px);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  grid-column: span 6;
  flex-direction: column;
  transition:
    color 300ms ease,
    background 300ms ease,
    transform 400ms var(--ease-out);
}

.capability-card:hover {
  transform: translateY(-7px);
}

.capability-card-large {
  min-height: 480px;
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  grid-column: span 8;
}

.capability-card-teal {
  min-height: 480px;
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
  grid-column: span 4;
}

.capability-card-image {
  position: relative;
  overflow: hidden;
  min-height: 490px;
  padding: 0;
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  grid-column: span 5;
}

.capability-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 600ms var(--ease-out), opacity 300ms ease;
}

.capability-card-image:hover img {
  opacity: 0.86;
  transform: scale(1.04);
}

.capability-card-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 24, 22, 0.9), transparent 65%);
  content: "";
}

.capability-card-image > div {
  position: absolute;
  z-index: 2;
  right: 36px;
  bottom: 36px;
  left: 36px;
}

.capability-card:not(.capability-card-image) > p,
.capability-card-image p {
  margin: 0;
  color: var(--teal);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.capability-card-large > p,
.capability-card-teal > p,
.capability-card-image p {
  color: var(--mint);
}

.capability-card h3 {
  max-width: 700px;
  margin: auto 0 30px;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.capability-card-image h3 {
  margin: 7px 0 0;
}

.capability-card .capability-cloud span {
  border-color: rgba(255, 255, 255, 0.2);
}

.capability-card:not(.capability-card-large):not(.capability-card-teal) .capability-cloud span {
  border-color: var(--line);
}

.capability-card-language {
  display: grid;
  min-height: 490px;
  background: #d8e6df;
  grid-column: span 7;
  grid-template-columns: repeat(2, 1fr);
  align-content: stretch;
}

.capability-card-language > p {
  grid-column: span 2;
}

.capability-card-language > div {
  display: flex;
  padding-top: 80px;
  flex-direction: column;
  justify-content: end;
}

.language-value {
  color: var(--teal);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(50px, 7vw, 90px);
  font-style: italic;
  line-height: 0.9;
}

.capability-card-language strong {
  margin-top: 13px;
  font-size: 15px;
}

.field-section {
  overflow: hidden;
  background: var(--paper-warm);
}

.gallery-shell {
  width: 100%;
}

.gallery-controls,
.gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.gallery-controls {
  margin-bottom: 26px;
}

.gallery-controls p,
.gallery-footer {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-controls > div {
  display: flex;
  gap: 8px;
}

.gallery-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.gallery-arrow:hover {
  color: var(--white);
  background: var(--teal);
  transform: translateY(-2px);
}

.gallery-track {
  display: flex;
  overflow-x: auto;
  width: 100%;
  padding-inline: max(32px, calc((100vw - var(--max-width)) / 2));
  padding-bottom: 24px;
  gap: 14px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-width: 340px;
  height: 500px;
  padding: 0;
  color: var(--white);
  background: var(--ink);
  border: 0;
  cursor: zoom-in;
  scroll-snap-align: start;
  text-align: left;
}

.gallery-card-wide {
  min-width: 580px;
  height: 410px;
  align-self: center;
}

.gallery-card-tall {
  min-width: 360px;
  height: 580px;
}

.gallery-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 20, 17, 0.88), transparent 58%);
  content: "";
  transition: background 350ms ease;
}

.gallery-card:hover::after {
  background: linear-gradient(to top, rgba(4, 20, 17, 0.82), transparent 72%);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.gallery-card:hover img {
  transform: scale(1.045);
}

.gallery-card > span {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.gallery-card small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 8px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.gallery-card strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
}

.gallery-footer {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.gallery-footer p {
  margin: 0;
}

.contact-section {
  position: relative;
  overflow: hidden;
  min-height: 800px;
  padding-block: clamp(110px, 12vw, 170px);
  color: var(--white);
  background:
    radial-gradient(circle at 80% 24%, rgba(43, 141, 130, 0.32), transparent 28%),
    var(--ink);
  scroll-margin-top: 90px;
}

.contact-grid-lines {
  mask-image: linear-gradient(to bottom, black, transparent);
}

.contact-layout {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 540px;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.62fr);
  align-items: end;
  gap: clamp(70px, 10vw, 150px);
}

.contact-copy .section-kicker {
  color: var(--mint);
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(58px, 8vw, 114px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.contact-copy > p:not(.section-kicker) {
  max-width: 670px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
}

.contact-details {
  display: grid;
  margin: 0;
  font-style: normal;
}

.contact-details > a,
.contact-details > div {
  display: grid;
  padding: 23px 0;
  border-top: 1px solid var(--line-light);
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 20px;
  text-decoration: none;
}

.contact-details > :last-child {
  border-bottom: 1px solid var(--line-light);
}

.contact-details span {
  color: rgba(255, 255, 255, 0.43);
  grid-column: 1;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details strong {
  grid-column: 1;
  font-size: 15px;
  font-style: normal;
  overflow-wrap: anywhere;
}

.contact-details i {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--mint);
  font-size: 18px;
  font-style: normal;
  transition: transform 200ms var(--ease-out);
}

.contact-details a:hover i {
  transform: translate(3px, -3px);
}

.site-footer {
  color: rgba(255, 255, 255, 0.5);
  background: #04110f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-inner a {
  color: var(--white);
}

.lightbox {
  width: min(94vw, 1240px);
  max-width: none;
  height: min(90vh, 850px);
  max-height: none;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
}

.lightbox::backdrop {
  background: rgba(2, 13, 11, 0.9);
  backdrop-filter: blur(14px);
}

.lightbox-inner {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  background: var(--ink);
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
}

.lightbox figure {
  display: grid;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 30px 0;
  grid-template-rows: minmax(0, 1fr) auto;
}

.lightbox figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.lightbox figcaption {
  display: flex;
  padding-top: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lightbox figcaption strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
}

.lightbox figcaption span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox-close,
.lightbox-nav {
  color: var(--white);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 19px;
  font-size: 34px;
  font-weight: 300;
}

.lightbox-nav {
  display: grid;
  width: 48px;
  height: 48px;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  place-items: center;
  transition: color 200ms ease, background 200ms ease;
}

.lightbox-nav:hover {
  color: var(--ink);
  background: var(--mint);
}

.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .nav-links {
    gap: 15px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(60px, 7.7vw, 90px);
  }

  .portrait-frame {
    width: 390px;
    height: 540px;
  }

  .case-study,
  .case-study-bana,
  .case-study-future-quest {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .case-study-headway {
    grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
    gap: 48px;
  }

  .case-media:not(.case-media-screenshot),
  .case-media-image img,
  .case-media-collage img {
    min-height: 600px;
    height: 600px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .shell {
    width: min(calc(100% - 40px), var(--max-width));
  }

  .site-header {
    top: 12px;
  }

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

  .brand-copy,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

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

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

  .nav-links {
    position: fixed;
    z-index: -1;
    top: 48px;
    right: 20px;
    left: 20px;
    display: grid;
    padding: 54px 24px 28px;
    color: var(--white);
    background: rgba(7, 24, 22, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0 0 24px 24px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 220ms ease, transform 300ms var(--ease-out);
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-layout {
    padding-top: 130px;
    padding-bottom: 120px;
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero-copy {
    max-width: 740px;
  }

  .hero-visual {
    width: min(100%, 660px);
    min-height: 680px;
    margin-inline: auto;
  }

  .portrait-frame {
    right: 40px;
    left: 40px;
    width: auto;
    height: 620px;
  }

  .hero-foot {
    bottom: 20px;
  }

  .proof-track {
    overflow-x: auto;
    grid-template-columns: repeat(6, minmax(230px, 1fr));
    scroll-snap-type: x mandatory;
  }

  .proof-item {
    scroll-snap-align: start;
  }

  .section-intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 30px;
  }

  .case-study,
  .case-study-headway,
  .case-study-bana,
  .case-study-future-quest {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .case-study-headway .case-copy,
  .case-study-bana .case-copy {
    order: 2;
  }

  .case-study-bana .case-media {
    order: 1;
  }

  .case-study-headway .case-copy {
    grid-column: auto;
    max-width: 760px;
    margin-left: 0;
  }

  .product-evidence {
    min-height: 650px;
  }

  .product-evidence > a {
    height: 530px;
  }

  .case-media:not(.case-media-screenshot),
  .case-media-image img,
  .case-media-collage img {
    min-height: 620px;
    height: 620px;
  }

  .case-copy {
    max-width: 760px;
  }

  .digital-build {
    grid-template-columns: 1fr;
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-copy {
    position: static;
    columns: 2;
    column-gap: 32px;
  }

  .experience-layout {
    grid-template-columns: 1fr;
  }

  .experience-rail {
    position: sticky;
    z-index: 5;
    top: 78px;
    overflow-x: auto;
    padding: 10px;
    background: rgba(250, 248, 242, 0.94);
    border: 1px solid var(--line);
    border-radius: 16px;
    backdrop-filter: blur(14px);
    scrollbar-width: none;
  }

  .experience-rail::-webkit-scrollbar {
    display: none;
  }

  .experience-rail > p {
    display: none;
  }

  .experience-rail nav {
    display: flex;
    width: max-content;
    border: 0;
    gap: 6px;
  }

  .experience-link {
    min-width: 132px;
    padding: 10px 13px;
    border: 0;
    border-radius: 10px;
  }

  .experience-link::before {
    display: none;
  }

  .experience-link.is-active {
    padding-left: 13px;
    color: var(--white);
    background: var(--teal);
  }

  .experience-link.is-active span {
    color: rgba(255, 255, 255, 0.65);
  }

  .experience-chapter {
    min-height: 0;
    padding-block: 90px;
    opacity: 1;
    transform: none;
  }

  .capability-card-large,
  .capability-card-teal,
  .capability-card-image,
  .capability-card-language,
  .capability-card {
    grid-column: span 6;
  }

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

  .contact-details {
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav {
    min-height: 58px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero-layout {
    padding-top: 118px;
    padding-bottom: 110px;
    gap: 54px;
  }

  .hero h1 {
    font-size: clamp(55px, 16.2vw, 74px);
  }

  .hero-role {
    font-size: 17px;
  }

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

  .hero-disciplines {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .hero-disciplines span {
    font-size: 8px;
  }

  .hero-visual {
    min-height: 610px;
  }

  .portrait-frame {
    top: 20px;
    right: 0;
    left: 0;
    height: 540px;
    border-radius: 180px 180px 20px 20px;
  }

  .hero-foot {
    font-size: 8px;
  }

  .proof-item {
    min-height: 150px;
  }

  .section {
    padding-block: 90px;
  }

  .section-intro {
    margin-bottom: 58px;
  }

  .section-intro h2,
  .profile-statement > p:last-child {
    font-size: clamp(42px, 12.5vw, 62px);
  }

  .case-list {
    gap: 100px;
  }

  .case-media:not(.case-media-screenshot),
  .case-media-image img,
  .case-media-collage img {
    min-height: 470px;
    height: 470px;
  }

  .case-media-screenshot,
  .case-media-screenshot img {
    min-height: 0;
    height: auto;
  }

  .product-evidence {
    min-height: 480px;
    padding: 20px;
    border-radius: 18px;
  }

  .product-evidence > a {
    height: 390px;
  }

  .product-evidence-primary {
    width: 96%;
  }

  .product-evidence-secondary {
    width: 78%;
  }

  .product-evidence .media-caption {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .case-media-collage {
    grid-template-columns: 1fr;
  }

  .case-media-collage img:first-child {
    height: 305px;
  }

  .case-media-collage img:nth-child(2) {
    height: 165px;
    border-top: 6px solid var(--paper);
    border-left: 0;
  }

  .case-copy h3 {
    font-size: clamp(47px, 14vw, 67px);
  }

  .case-details > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .digital-build {
    margin-top: 105px;
    padding: 30px 20px;
  }

  .social-dock {
    gap: 10px;
  }

  .social-dock-personal {
    margin-top: 26px;
  }

  .social-icon-link {
    width: 50px;
    height: 50px;
  }

  .browser-frame {
    min-height: 0;
    transform: none;
  }

  .profile-copy {
    columns: 1;
  }

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

  .method-card,
  .method-card-wide {
    min-height: 230px;
    grid-column: auto;
  }

  .experience-layout {
    gap: 25px;
  }

  .experience-rail {
    top: 75px;
    margin-inline: -4px;
  }

  .experience-link {
    min-width: 122px;
  }

  .experience-chapter {
    padding-block: 72px;
  }

  .chapter-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .experience-chapter h3 {
    font-size: clamp(42px, 12vw, 62px);
  }

  .capability-card-large,
  .capability-card-teal,
  .capability-card-image,
  .capability-card-language,
  .capability-card {
    min-height: 380px;
    grid-column: 1 / -1;
  }

  .capability-card-language {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-card-language > div {
    padding-top: 50px;
  }

  .gallery-controls p {
    max-width: 150px;
  }

  .gallery-track {
    padding-inline: 14px;
  }

  .gallery-card,
  .gallery-card-tall,
  .gallery-card-wide {
    min-width: min(84vw, 360px);
    height: 500px;
  }

  .gallery-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-section {
    min-height: 0;
    padding-block: 100px;
  }

  .contact-layout {
    min-height: 0;
    gap: 70px;
  }

  .contact-copy h2 {
    font-size: clamp(56px, 17vw, 80px);
  }

  .footer-inner {
    padding-block: 28px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }

  .footer-inner p {
    margin: 0;
  }

  .lightbox {
    width: 100vw;
    height: 100vh;
    margin: 0;
  }

  .lightbox-inner {
    grid-template-columns: 52px 1fr 52px;
  }

  .lightbox figure {
    padding: 58px 0 24px;
  }

  .lightbox figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .lightbox-nav {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 52px;
  }
}

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

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

  .hero-enter,
  .js .reveal {
    opacity: 1;
    transform: none;
  }

  [data-parallax] {
    transform: none !important;
  }

  .experience-chapter {
    opacity: 1;
    transform: none;
  }
}
