:root {
  --bg: #f8fbfa;
  --surface: #ffffff;
  --surface-soft: #eef7f5;
  --ink: #10211f;
  --muted: #61716d;
  --subtle: #83918d;
  --line: #dce8e4;
  --teal: #0f766e;
  --teal-dark: #075e59;
  --mint: #77f2da;
  --amber: #b87921;
  --dark: #091012;
  --dark-2: #0e1719;
  --shadow: 0 22px 70px rgba(18, 35, 32, 0.1);
  --shadow-strong: 0 34px 110px rgba(7, 18, 18, 0.28);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(15, 118, 110, 0.045) 1px, transparent 1px),
    var(--bg);
  background-size: 64px 64px;
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

.hero-copy,
.hero-system,
.route-card > div,
.profile-card > div,
.section-heading > *,
.about-grid > *,
.experience-gallery > *,
.capability-grid > *,
.live-story-inner > *,
.brand-wall > *,
.live-case-matrix > *,
.project-grid > *,
.timeline-map > *,
.timeline-stage > *,
.resume-grid > *,
.resume-card > *,
.footer > * {
  min-width: 0;
}

.nowrap {
  white-space: nowrap;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--mint));
  transform-origin: left center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 28px;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(220, 232, 228, 0.9);
  background: rgba(248, 251, 250, 0.82);
  box-shadow: 0 10px 32px rgba(18, 35, 32, 0.06);
}

.brand,
.nav,
.hero-actions,
.signal-rail,
.header-action,
.button,
address {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--teal-dark);
  font-size: 13px;
  letter-spacing: 0;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.09);
}

.nav {
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 180ms ease;
  content: "";
}

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

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

.header-action {
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
}

.hero {
  min-height: calc(100vh - 76px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 74px 28px 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.82fr);
  gap: 58px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(44px, 5.4vw, 66px);
  line-height: 1.04;
  letter-spacing: 0;
  word-break: keep-all;
}

.hero-lede {
  max-width: 760px;
  margin: 28px 0 0;
  color: #40524e;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.78;
}

.hero-statement {
  display: inline-flex;
  margin: 28px 0 0;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  padding: 12px 14px;
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(15, 118, 110, 0.09);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button svg,
.route-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

.primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.22);
}

.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--teal-dark);
}

.hero-system {
  display: grid;
  gap: 16px;
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 160ms ease-out;
}

.route-card,
.profile-card,
.capability-grid article,
.project-card,
.timeline-summary,
.timeline-stage,
.resume-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 35px rgba(20, 33, 31, 0.06);
}

.route-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 24px;
}

.profile-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  padding: 16px;
  border-color: rgba(15, 118, 110, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 247, 245, 0.92));
}

.profile-card img {
  width: 92px;
  height: 112px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 50% 32%;
  filter: saturate(0.9) contrast(1.04);
}

.profile-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
}

.profile-card strong {
  display: block;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.36;
}

.route-card.active {
  border-color: rgba(15, 118, 110, 0.28);
  background: linear-gradient(135deg, #ffffff, var(--surface-soft));
  box-shadow: var(--shadow);
}

.route-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: var(--radius);
  background: #e3f2ef;
  color: var(--teal-dark);
}

.route-card h2,
.capability-grid h3,
.project-card h3,
.timeline-stage h3,
.resume-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.route-card p,
.capability-grid p,
.project-card p,
.timeline-stage p,
.resume-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.system-meter {
  display: grid;
  gap: 9px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.system-meter span {
  display: block;
  width: var(--w);
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

.signal-rail {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 66px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.signal-rail span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  padding: 9px 12px;
  color: #52625f;
  font-size: 13px;
  font-weight: 800;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 28px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(0, 0.76fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading h2,
.footer h2 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

.about-copy {
  border-left: 4px solid var(--teal);
  background: rgba(255, 255, 255, 0.78);
  padding: 34px;
}

.about-copy p {
  margin: 0;
  color: #344743;
  font-size: 18px;
  line-height: 1.9;
}

.about-copy p + p {
  margin-top: 18px;
}

.impact-stack {
  display: grid;
  gap: 14px;
}

.impact-stack div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.impact-stack strong {
  display: block;
  color: var(--amber);
  font-size: 42px;
  line-height: 1;
}

.impact-stack span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.experience-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.92fr 0.98fr;
  gap: 16px;
  margin-top: 26px;
}

.experience-gallery figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 35px rgba(20, 33, 31, 0.06);
}

.experience-gallery button,
.project-media {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
}

.experience-gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.experience-gallery figcaption {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.experience-gallery strong {
  font-size: 18px;
}

.experience-gallery span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

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

.capability-grid article {
  min-height: 250px;
  padding: 24px;
}

.capability-grid span,
.project-card > span {
  display: block;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

.media-carousel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #071012;
}

.carousel-viewport {
  position: absolute;
  inset: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  opacity: 0;
  background: #071012;
  pointer-events: none;
  transform: scale(1.025);
  transition:
    opacity 620ms ease,
    transform 900ms cubic-bezier(0.2, 0.72, 0.18, 1);
}

.carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide.poster-slide img {
  background: #071012;
  object-fit: contain;
}

.carousel-controls {
  position: absolute;
  z-index: 4;
  bottom: 10px;
  left: 10px;
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 10, 11, 0.72);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.carousel-controls > button {
  display: grid;
  width: 26px;
  height: 26px;
  padding: 0;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.carousel-controls > button:hover,
.carousel-controls > button:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.05);
}

.carousel-controls > .carousel-toggle {
  font-size: 11px;
  font-weight: 900;
}

.carousel-dots {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 0 3px;
}

.carousel-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  transition:
    width 180ms ease,
    background 180ms ease;
}

.carousel-dots button.is-active {
  width: 18px;
  border-radius: 99px;
  background: var(--mint);
}

.carousel-count {
  position: absolute;
  z-index: 4;
  top: 10px;
  right: 10px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 10, 11, 0.68);
  padding: 5px 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.carousel-count b {
  color: #fff;
}

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

.live-story {
  overflow: clip;
  background:
    radial-gradient(circle at 12% 18%, rgba(119, 242, 218, 0.16), transparent 30%),
    linear-gradient(180deg, var(--dark), var(--dark-2));
  color: #ecf7f4;
  padding: 110px 28px;
}

.live-story-inner,
.brand-wall,
.live-case-matrix {
  max-width: var(--max);
  margin: 0 auto;
}

.live-story-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 48px;
  align-items: start;
}

.live-media {
  position: sticky;
  top: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.56fr;
  gap: 12px;
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 160ms ease-out;
}

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(119, 242, 218, 0.18);
  border-radius: var(--radius);
  background: #05090a;
  color: inherit;
  box-shadow: var(--shadow-strong);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.media-frame:hover img {
  transform: scale(1.035);
}

.primary-media {
  aspect-ratio: 16 / 11;
}

.studio-media {
  aspect-ratio: 4 / 5;
}

.scan-line {
  position: absolute;
  right: 18px;
  left: 18px;
  top: 18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  filter: drop-shadow(0 0 10px rgba(119, 242, 218, 0.5));
  opacity: 0.85;
  animation: scanLine 3.8s ease-in-out infinite;
}

.media-caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  border: 1px solid rgba(119, 242, 218, 0.22);
  border-radius: var(--radius);
  background: rgba(5, 12, 13, 0.72);
  padding: 9px 10px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 950;
  backdrop-filter: blur(12px);
}

.live-heading {
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.live-heading p {
  color: rgba(236, 247, 244, 0.72);
}

.story-steps {
  display: grid;
  gap: 12px;
}

.story-step {
  border: 1px solid rgba(119, 242, 218, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 22px;
  opacity: 0.72;
  transition:
    opacity 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    transform 220ms ease;
}

.story-step.is-active {
  border-color: rgba(119, 242, 218, 0.42);
  background: rgba(119, 242, 218, 0.09);
  opacity: 1;
  transform: translateX(6px);
}

.story-step span {
  display: block;
  margin-bottom: 14px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 950;
}

.story-step h3 {
  margin: 0;
  font-size: 24px;
}

.story-step p {
  margin: 10px 0 0;
  color: rgba(236, 247, 244, 0.76);
  line-height: 1.8;
}

.brand-wall {
  display: grid;
  grid-template-columns: minmax(260px, 0.54fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  margin-top: 54px;
  padding: 26px;
  border: 1px solid rgba(119, 242, 218, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.brand-wall span {
  display: block;
  margin-bottom: 14px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 950;
}

.brand-wall h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
}

.brand-wall p {
  margin: 14px 0 0;
  color: rgba(236, 247, 244, 0.7);
  line-height: 1.75;
}

.brand-wall ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand-wall li {
  border: 1px solid rgba(119, 242, 218, 0.2);
  border-radius: 999px;
  background: rgba(119, 242, 218, 0.08);
  padding: 10px 14px;
  color: #ecf7f4;
  font-size: 14px;
  font-weight: 900;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.brand-wall li:hover {
  border-color: rgba(119, 242, 218, 0.46);
  background: rgba(119, 242, 218, 0.14);
  transform: translateY(-2px);
}

.live-case-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 50px;
}

.live-case-matrix article {
  overflow: hidden;
  border: 1px solid rgba(119, 242, 218, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.live-case-matrix article > button {
  display: block;
  width: 100%;
  height: 184px;
  padding: 0;
  background: #05090a;
}

.live-case-matrix img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 480ms ease;
}

.live-case-matrix article > button:hover img,
.live-case-matrix .carousel-slide:hover img {
  transform: scale(1.04);
}

.live-case-matrix article > div:last-child:not(.media-carousel) {
  padding: 18px;
}

.live-case-matrix article > div:last-child > span {
  display: block;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

.case-carousel {
  height: 184px;
}

.live-case-matrix h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.38;
}

.live-case-matrix p {
  margin: 9px 0 0;
  color: rgba(236, 247, 244, 0.68);
  font-size: 14px;
  line-height: 1.68;
}

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

.project-card {
  display: grid;
  overflow: hidden;
  min-height: 420px;
  padding: 0;
}

.project-card > span,
.project-card > h3,
.project-card > p,
.project-card > ul {
  margin-right: 24px;
  margin-left: 24px;
}

.project-card > span {
  margin-top: 22px;
}

.project-media {
  overflow: hidden;
  height: 190px;
  background: #e8f1ee;
}

.project-carousel {
  height: 190px;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 480ms ease;
}

.project-media:hover img {
  transform: scale(1.04);
}

.project-card.highlight {
  border-color: rgba(15, 118, 110, 0.28);
  background: linear-gradient(135deg, #fff, #eef8f5);
  box-shadow: var(--shadow);
}

.project-card ul {
  align-self: end;
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.project-card li {
  position: relative;
  padding-left: 14px;
  color: #40514e;
  font-size: 14px;
  line-height: 1.62;
}

.project-card li::before {
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.timeline-map {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
}

.timeline-summary {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 26px;
  background: linear-gradient(135deg, #fff, var(--surface-soft));
}

.timeline-summary h3 {
  margin: 0 0 10px;
  font-size: 26px;
}

.timeline-summary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.timeline-lanes {
  display: grid;
  gap: 12px;
}

.timeline-stage {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(170px, auto);
  gap: 20px;
  align-items: start;
  padding: 22px;
  opacity: 0.78;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.timeline-stage.is-active {
  border-color: rgba(15, 118, 110, 0.34);
  box-shadow: var(--shadow);
  opacity: 1;
  transform: translateX(6px);
}

.timeline-stage time {
  color: var(--amber);
  font-size: 13px;
  font-weight: 950;
}

.timeline-stage ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-stage li {
  border-radius: 999px;
  background: #edf7f4;
  padding: 6px 8px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
}

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

.resume-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  overflow: hidden;
  padding: 18px;
}

.resume-card img {
  width: 100%;
  height: 260px;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
  object-position: top;
}

.resume-card .button {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
  gap: 42px;
  max-width: var(--max);
  margin: 30px auto 0;
  padding: 56px 28px 72px;
  border-top: 1px solid var(--line);
}

address {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: var(--teal-dark);
  font-style: normal;
  font-weight: 900;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(4, 9, 10, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(1120px, 92vw);
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 26px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 720ms ease,
    transform 720ms ease;
}

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

@keyframes scanLine {
  0%,
  100% {
    opacity: 0.24;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(260px);
  }
}

@media (max-width: 1020px) {
  .hero-grid,
  .about-grid,
  .live-story-inner,
  .brand-wall,
  .timeline-map,
  .footer,
  .resume-card {
    grid-template-columns: 1fr;
  }

  .capability-grid,
  .project-grid,
  .live-case-matrix,
  .experience-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-media,
  .timeline-summary {
    position: static;
  }

  .timeline-stage {
    grid-template-columns: 1fr;
  }

  .timeline-stage ul {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    padding: 16px 20px;
  }

  .nav {
    display: none;
  }

  .header-action {
    display: none;
  }

  .hero,
  .section,
  .footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero-copy h1 {
    font-size: 38px;
    line-height: 1.12;
  }

  .nowrap {
    white-space: normal;
  }

  .hero-lede,
  .about-copy p {
    font-size: 16px;
  }

  .route-card {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    padding: 22px;
  }

  .profile-card {
    grid-template-columns: 76px 1fr;
  }

  .profile-card img {
    width: 76px;
    height: 92px;
  }

  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .capability-grid,
  .project-grid,
  .live-case-matrix,
  .experience-gallery,
  .resume-grid {
    grid-template-columns: 1fr;
  }

  .live-story {
    padding: 76px 20px;
  }

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

  .primary-media,
  .studio-media {
    aspect-ratio: 16 / 10;
  }

  .live-case-matrix article > button,
  .live-case-matrix .case-carousel {
    height: 210px;
  }

  .about-copy,
  .capability-grid article,
  .timeline-summary,
  .timeline-stage {
    padding: 22px;
  }

  .project-card {
    min-height: auto;
  }

  .project-card > span,
  .project-card > h3,
  .project-card > p,
  .project-card > ul {
    margin-right: 22px;
    margin-left: 22px;
  }

  .project-media,
  .project-carousel {
    height: 210px;
  }

  .resume-card img {
    height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
