:root {
  --ink: #0a1322;
  --ink-2: #101722;
  --ink-3: #182231;
  --paper: #f4f6f8;
  --white: #ffffff;
  --muted: #667181;
  --muted-dark: #abb6c5;
  --line: #dbe1e7;
  --line-dark: rgba(255, 255, 255, 0.14);
  --yellow: #f8bf00;
  --yellow-bright: #ffd43b;
  --yellow-soft: #fff3bd;
  --orange: #ff5a00;
  --green: #159447;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow: 0 22px 70px rgba(10, 19, 34, 0.14);
  --container: 1240px;
  --header-height: 78px;
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.04em;
  line-height: 1.04;
}

h1,
h2 {
  font-weight: 780;
}

h3 {
  font-weight: 720;
}

em {
  color: var(--yellow);
  font-style: normal;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 750;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(10, 19, 34, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled {
  background: rgba(10, 19, 34, 0.95);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 1.04rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand strong {
  color: var(--yellow);
  font-weight: 780;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav > a:not(.button) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  font-weight: 620;
  transition: color 160ms ease;
}

.site-nav > a:not(.button):hover {
  color: var(--white);
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 760;
  line-height: 1;
  transition: transform 180ms var(--ease), box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button span {
  font-size: 1.18em;
}

.button-small {
  min-height: 43px;
  padding-inline: 18px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.button-yellow {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 12px 32px rgba(248, 191, 0, 0.18);
}

.button-yellow:hover {
  background: var(--yellow-bright);
  box-shadow: 0 16px 38px rgba(248, 191, 0, 0.26);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover {
  background: #1a2738;
  box-shadow: 0 14px 34px rgba(10, 19, 34, 0.2);
}

.button-outline {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

.button-outline:hover {
  color: var(--white);
  background: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  padding-block: 8px 7px;
  font-weight: 680;
  transition: color 160ms ease, border-color 160ms ease;
}

.text-link:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.text-link-dark {
  color: var(--ink);
  border-color: rgba(10, 19, 34, 0.28);
}

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

.section-light {
  color: var(--ink);
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 940px;
  padding-top: calc(var(--header-height) + 100px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 28%, rgba(56, 91, 137, 0.23), transparent 31%),
    radial-gradient(circle at 10% 75%, rgba(248, 191, 0, 0.07), transparent 23%),
    var(--ink-2);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 4%, #000 40%, transparent 100%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(540px, 1.1fr);
  align-items: center;
  gap: 72px;
}

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

.eyebrow,
.section-index {
  margin-bottom: 28px;
  color: var(--muted-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow span {
  display: inline-block;
  width: 34px;
  height: 3px;
  background: var(--yellow);
}

.hero h1 {
  max-width: 690px;
  margin-bottom: 28px;
  font-size: clamp(3.5rem, 6.1vw, 6.35rem);
}

.hero h1 em {
  display: block;
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 34px;
  color: #c3ccd8;
  font-size: clamp(1.06rem, 1.4vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.hero-note {
  margin: 18px 0 0;
  color: #828e9e;
  font-size: 0.86rem;
}

.hero-note span {
  padding-inline: 7px;
  color: var(--yellow);
}

.hero-portrait {
  position: relative;
  display: grid;
  min-height: 610px;
  place-items: center;
  isolation: isolate;
}

.portrait-panel {
  position: absolute;
  border-radius: 28px;
  pointer-events: none;
}

.portrait-panel-back {
  z-index: -2;
  top: 48px;
  right: 4px;
  width: 76%;
  height: 78%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(145deg, #26364c, #0e1724 72%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  transform: rotate(4deg);
}

.portrait-panel-accent {
  z-index: -1;
  right: 10%;
  bottom: 18px;
  width: 58%;
  height: 34%;
  border: 1px solid rgba(248, 191, 0, 0.6);
  background: linear-gradient(145deg, rgba(248, 191, 0, 0.23), rgba(248, 191, 0, 0.02));
  transform: rotate(-4deg);
}

.hero-portrait-card {
  position: relative;
  width: min(82%, 470px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: #121c29;
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.46);
  aspect-ratio: 4 / 5;
}

.hero-portrait-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 12, 20, 0.92), transparent 43%);
  content: "";
  pointer-events: none;
}

.hero-portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.hero-portrait-card figcaption {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 27px;
  left: 30px;
}

.hero-portrait-card figcaption > span {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-portrait-card strong,
.hero-portrait-card small {
  display: block;
}

.hero-portrait-card strong {
  margin-bottom: 3px;
  color: var(--white);
  font-size: 1.15rem;
}

.hero-portrait-card small {
  color: #aeb9c7;
  font-size: 0.8rem;
}

.stat-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 96px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.stat-strip > div {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: center;
  padding: 20px 28px;
  border-right: 1px solid var(--line-dark);
}

.stat-strip > div:first-child {
  padding-left: 0;
}

.stat-strip > div:last-child {
  border-right: 0;
}

.stat-strip strong {
  color: var(--yellow);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  letter-spacing: -0.04em;
}

.stat-strip span {
  color: #8995a5;
  font-size: 0.86rem;
}

.projects,
.process,
.membership {
  padding-block: 120px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  align-items: start;
  gap: 40px;
  margin-bottom: 70px;
}

.section-heading .section-index {
  margin-top: 12px;
  color: #7b8592;
}

.section-heading h2,
.final-cta h2 {
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
}

.section-heading > div > p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.project-grid {
  display: grid;
  gap: 24px;
}

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

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 8px 30px rgba(10, 19, 34, 0.05);
  transition: transform 240ms var(--ease), box-shadow 240ms ease, border-color 240ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: #c8d0d9;
  box-shadow: var(--shadow);
}

.project-card-tall {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(330px, 0.7fr);
}

.project-card-wide {
  display: grid;
  grid-template-rows: auto 1fr;
}

.project-card-wide .project-media {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.project-media {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #1a2533;
  cursor: zoom-in;
}

.project-media img,
.project-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease), filter 500ms ease;
}

.project-card:hover .project-media img,
.project-card:hover .project-media video {
  transform: scale(1.025);
}

.project-media-tall {
  min-height: 430px;
  background: #eaf1f4;
}

.project-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 19, 34, 0.2), transparent 38%);
  content: "";
  pointer-events: none;
}

.expand-badge,
.play-badge {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  font-size: 1.04rem;
  font-weight: 800;
}

.play-badge {
  width: 52px;
  height: 52px;
  padding-left: 3px;
  font-size: 0.88rem;
}

.project-content {
  padding: 28px 30px 30px;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  color: #88919d;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 5px;
  color: var(--ink);
  font-size: 0.7rem;
  line-height: 1;
}

.pill-free {
  background: var(--yellow);
}

.pill-pro {
  color: #dce5f1;
  background: var(--ink);
}

.project-content h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.project-content p {
  margin-bottom: 22px;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: #5d6875;
  background: #f8fafb;
  font-size: 0.74rem;
  font-weight: 650;
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.portfolio-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 8px 30px rgba(10, 19, 34, 0.05);
  transition: transform 240ms var(--ease), box-shadow 240ms ease, border-color 240ms ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: #c8d0d9;
  box-shadow: var(--shadow);
}

.portfolio-media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #e9eef3;
  cursor: zoom-in;
  aspect-ratio: 16 / 9;
}

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

.portfolio-card:hover .portfolio-media img {
  transform: scale(1.025);
}

.portfolio-content {
  padding: 24px 25px 26px;
}

.portfolio-content > span {
  display: block;
  margin-bottom: 12px;
  color: #87919e;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portfolio-content h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.portfolio-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.section-cta p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 680;
}

.process {
  position: relative;
  overflow: hidden;
}

.process::after {
  position: absolute;
  right: -140px;
  bottom: -140px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(248, 191, 0, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(248, 191, 0, 0.035), 0 0 0 130px rgba(248, 191, 0, 0.02);
  content: "";
}

.section-heading-dark > div > p {
  color: var(--muted-dark);
}

.process-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  list-style: none;
}

.process-step {
  position: relative;
  min-height: 340px;
  padding: 28px 28px 36px;
  border-right: 1px solid var(--line-dark);
}

.process-step:last-child {
  border-right: 0;
}

.step-number {
  color: #657184;
  font-size: 0.75rem;
  font-weight: 790;
  letter-spacing: 0.1em;
}

.step-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 70px 0 34px;
  place-items: center;
  border: 1px solid rgba(248, 191, 0, 0.5);
  border-radius: 50%;
  color: var(--yellow);
  font-size: 1.35rem;
  font-weight: 720;
}

.process-step h3 {
  margin-bottom: 14px;
  font-size: 1.38rem;
}

.process-step p {
  margin-bottom: 0;
  color: #8f9bab;
  font-size: 0.94rem;
}

.membership {
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 500px;
  flex-direction: column;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #f8fafb;
}

.price-card-featured {
  color: var(--white);
  border-color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgba(248, 191, 0, 0.14), transparent 32%),
    var(--ink);
}

.recommended {
  position: absolute;
  top: 0;
  right: 42px;
  padding: 8px 12px;
  border-radius: 0 0 7px 7px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 0.68rem;
  font-weight: 830;
  letter-spacing: 0.08em;
}

.price-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 46px;
}

.price-label {
  color: #798492;
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card-featured .price-label {
  color: var(--yellow);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price strong {
  font-size: 3.15rem;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.price span {
  color: #7c8795;
  font-size: 0.78rem;
}

.price-card-featured .price span {
  color: #9ca8b8;
}

.price-card h3 {
  max-width: 480px;
  margin-bottom: 30px;
  font-size: 2rem;
}

.feature-list {
  display: grid;
  gap: 15px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  color: #596473;
}

.price-card-featured .feature-list li {
  color: #b3becc;
}

.feature-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  content: "✓";
  font-size: 0.68rem;
  font-weight: 900;
}

.price-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding-block: 126px;
  text-align: center;
}

.final-cta::before,
.final-cta::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.final-cta::before {
  top: -210px;
  left: -90px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(248, 191, 0, 0.14);
  box-shadow: 0 0 0 70px rgba(248, 191, 0, 0.025), 0 0 0 140px rgba(248, 191, 0, 0.014);
}

.final-cta::after {
  right: -80px;
  bottom: -200px;
  width: 390px;
  height: 390px;
  background: radial-gradient(circle, rgba(56, 91, 137, 0.2), transparent 68%);
}

.final-cta-inner {
  position: relative;
  z-index: 2;
}

.final-cta .section-index {
  margin-bottom: 24px;
  color: #8390a0;
}

.final-cta h2 {
  margin-bottom: 24px;
}

.final-cta p:not(.section-index) {
  max-width: 650px;
  margin: 0 auto 34px;
  color: #aab5c3;
  font-size: 1.08rem;
}

.site-footer {
  color: #a7b1bf;
  background: #090f18;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 34px;
  min-height: 104px;
}

.footer-inner > p {
  margin: 0;
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 0.84rem;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--yellow);
}

.copyright {
  color: #657080;
}

.lightbox {
  width: min(94vw, 1500px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(5, 10, 17, 0.9);
  backdrop-filter: blur(8px);
}

.lightbox-stage {
  display: grid;
  max-height: 90vh;
  place-items: center;
}

.lightbox-stage img,
.lightbox-stage video {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.5);
}

.lightbox-stage video {
  background: #0b121e;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: -18px;
  right: -18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--white);
  background: #151e2b;
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: var(--delay, 0ms);
}

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

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

  .site-nav {
    gap: 20px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 70px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .hero h1 {
    max-width: 900px;
  }

  .hero-portrait {
    width: 100%;
    max-width: 760px;
    min-height: 650px;
    margin-inline: auto;
  }

  .hero-portrait-card {
    width: min(66%, 480px);
  }

  .stat-strip {
    margin-top: 56px;
  }

  .project-card-wide {
    grid-template-columns: 1fr;
  }

  .project-card-wide .project-media {
    aspect-ratio: 16 / 8.4;
  }

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

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(-n+2) {
    border-bottom: 1px solid var(--line-dark);
  }

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

  .portfolio-card:last-child {
    grid-column: 1 / -1;
  }

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

  .copyright {
    display: none;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-content: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 82px 9vw;
    background: rgba(10, 19, 34, 0.98);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav > a:not(.button) {
    color: var(--white);
    font-size: 2rem;
  }

  .site-nav .button {
    margin-top: 14px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 64px);
  }

  .hero h1 {
    font-size: clamp(3.1rem, 12vw, 5.2rem);
  }

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

  .hero-portrait-card {
    width: min(76%, 450px);
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-strip > div:nth-child(2) {
    border-right: 0;
  }

  .stat-strip > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .stat-strip > div:nth-child(3) {
    padding-left: 0;
  }

  .projects,
  .process,
  .membership {
    padding-block: 88px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 48px;
  }

  .section-heading .section-index {
    margin: 0;
  }

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

  .project-card-tall {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .project-stack {
    grid-template-columns: 1fr;
  }

  .project-media-tall {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

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

  .footer-inner {
    grid-template-columns: 1fr auto;
    padding-block: 28px;
  }

  .footer-inner > p:not(.copyright) {
    display: none;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 26px), var(--container));
  }

  .brand {
    font-size: 0.92rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

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

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-portrait {
    min-height: 470px;
  }

  .hero-portrait-card {
    width: min(88%, 360px);
    border-radius: 22px;
  }

  .portrait-panel {
    border-radius: 20px;
  }

  .hero-portrait-card figcaption {
    right: 22px;
    bottom: 20px;
    left: 22px;
  }

  .stat-strip {
    margin-top: 30px;
  }

  .stat-strip > div {
    min-height: 96px;
    padding: 16px 14px;
  }

  .stat-strip > div:first-child,
  .stat-strip > div:nth-child(3) {
    padding-left: 0;
  }

  .stat-strip span {
    max-width: 130px;
    font-size: 0.75rem;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .project-card-tall,
  .project-card-wide {
    grid-template-columns: 1fr;
  }

  .project-card-tall {
    grid-template-rows: none;
  }

  .project-card-wide .project-media {
    min-height: 210px;
    aspect-ratio: 16 / 9;
  }

  .portfolio-gallery {
    grid-template-columns: 1fr;
  }

  .portfolio-card:last-child {
    grid-column: auto;
  }

  .project-content {
    padding: 24px 22px 26px;
  }

  .project-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

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

  .process-step,
  .process-step:nth-child(2) {
    min-height: auto;
    padding: 26px 4px 32px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .step-icon {
    margin: 40px 0 26px;
  }

  .price-card {
    min-height: 510px;
    padding: 34px 24px 28px;
  }

  .recommended {
    right: 24px;
  }

  .price-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta {
    padding-block: 94px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .lightbox {
    width: 95vw;
  }

  .lightbox-close {
    top: -48px;
    right: 0;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
