:root {
  color-scheme: light;
  --ink: #07111f;
  --ink-soft: #172334;
  --paper: #ffffff;
  --paper-soft: #f4f6f9;
  --line: #dbe1e8;
  --muted: #5e6875;
  --blue: #075cff;
  --blue-dark: #0045cc;
  --red: #f20d32;
  --road-navy: #071a33;
  --orange: #ff7a1a;
  --shell: 1420px;
  --content: 1180px;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 4px;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(7, 17, 31, 0.1);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(7, 17, 31, 0.08);
}

.nav-shell {
  width: min(var(--shell), calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: block;
  width: 284px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: 76px;
  object-fit: contain;
  object-position: left center;
}

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

.site-nav a {
  position: relative;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--red);
  transition: right 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 160ms ease, opacity 160ms ease;
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background: var(--road-navy);
  isolation: isolate;
}

.hero-background,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-background {
  z-index: -3;
  object-fit: cover;
  object-position: center 58%;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 12, 26, 0.9) 0%, rgba(2, 12, 26, 0.74) 38%, rgba(2, 12, 26, 0.35) 66%, rgba(2, 12, 26, 0.48) 100%),
    linear-gradient(0deg, rgba(2, 12, 26, 0.7) 0%, transparent 45%);
}

.hero-shell {
  position: relative;
  width: min(var(--shell), calc(100% - 64px));
  min-height: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(560px, 1.05fr);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  position: relative;
  z-index: 5;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 66px 0 58px;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: 72px;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-kicker {
  margin: 32px 0 0;
  font-size: 22px;
  font-weight: 760;
}

.hero-description {
  max-width: 560px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: 20px;
}

.product-lockup {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: auto;
  color: #fff;
  text-decoration: none;
}

.product-lockup > img {
  width: 106px;
  height: 106px;
  object-fit: contain;
}

.product-lockup-copy {
  display: grid;
  gap: 2px;
  padding-left: 22px;
  border-left: 2px solid rgba(255, 255, 255, 0.78);
}

.product-lockup-copy strong {
  font-size: 30px;
  line-height: 1.15;
}

.product-lockup-copy span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
}

.phone-stage {
  position: relative;
  align-self: stretch;
  min-height: 760px;
}

.phone {
  position: absolute;
  width: 258px;
  margin: 0;
  padding: 8px;
  background: #090d13;
  border: 2px solid #303640;
  border-radius: 42px;
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.phone::before,
.phone::after {
  content: "";
  position: absolute;
  width: 3px;
  background: #202630;
  border-radius: 2px;
}

.phone::before {
  top: 108px;
  left: -3px;
  height: 64px;
}

.phone::after {
  top: 138px;
  right: -3px;
  height: 88px;
}

.phone img {
  width: 100%;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  border-radius: 34px;
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 50%;
  width: 78px;
  height: 22px;
  background: #020305;
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-primary {
  z-index: 2;
  left: 7%;
  bottom: -26px;
  transform: rotate(-2.5deg);
}

.phone-secondary {
  z-index: 1;
  right: 2%;
  bottom: 24px;
  transform: rotate(2.5deg);
}

.capability-strip {
  position: relative;
  z-index: 8;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.capability-shell {
  width: min(var(--shell), calc(100% - 64px));
  min-height: 124px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 36px;
}

.capability {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.capability svg {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: var(--blue);
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 730;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

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

.button-blue {
  color: #fff;
  background: var(--blue);
}

.button-blue:hover,
.button-blue:focus-visible {
  color: #fff;
  background: var(--blue-dark);
}

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

.button-white:hover,
.button-white:focus-visible {
  color: #fff;
  background: var(--blue);
}

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

.project-section {
  padding: 120px 0 128px;
  background: #fff;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.75fr);
  align-items: end;
  gap: 80px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.studio-copy h2,
.contact-intro h2,
.case-heading h1,
.legal-heading h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-showcase {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 88px;
  padding-top: 64px;
}

.project-copy {
  align-self: center;
}

.project-logo {
  width: 154px;
  height: 154px;
  object-fit: contain;
}

.project-lead {
  max-width: 480px;
  margin: 30px 0 0;
  font-size: 24px;
  line-height: 1.45;
}

.project-facts {
  margin: 42px 0;
  border-top: 1px solid var(--line);
}

.project-facts div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.project-facts dt {
  color: var(--muted);
}

.project-facts dd {
  margin: 0;
  font-weight: 680;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  color: var(--blue);
  font-weight: 760;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--red);
}

.screen-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.screen-shot {
  margin: 0;
}

.screen-shot:nth-child(2) {
  margin-top: 76px;
}

.screen-shot img {
  width: 100%;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  border: 8px solid var(--ink);
  border-radius: 34px;
  box-shadow: 0 24px 56px rgba(7, 17, 31, 0.16);
}

.screen-shot figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}

.studio-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  color: #fff;
  background: var(--blue);
}

.studio-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 100%;
  background: var(--red);
  clip-path: polygon(72% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.92;
}

.studio-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 86px;
}

.studio-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  border: 2px solid rgba(255, 255, 255, 0.74);
  font-size: 138px;
  font-weight: 900;
  line-height: 1;
}

.studio-mark span:first-child {
  color: #fff;
}

.studio-mark span:last-child {
  margin-left: -25px;
  color: var(--ink);
}

.studio-copy {
  max-width: 660px;
}

.studio-copy .eyebrow {
  color: #fff;
}

.studio-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.studio-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.studio-principles span {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-weight: 700;
}

.contact-section {
  padding: 120px 0;
  color: #fff;
  background: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 96px;
}

.eyebrow-light {
  color: #7ca8ff;
}

.contact-intro p:not(.eyebrow) {
  max-width: 450px;
  margin: 24px 0 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 19px;
}

.contact-intro > a {
  color: #fff;
  font-weight: 720;
}

.contact-form {
  display: grid;
  gap: 20px;
}

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

.contact-form label:not(.consent) {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 680;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 0;
  outline: 0;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  padding: 12px 0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: #fff;
}

.contact-form select option {
  color: var(--ink);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.consent a {
  color: #fff;
}

.contact-form .button {
  width: fit-content;
  border: 0;
}

.form-status {
  min-height: 24px;
  margin: -8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.site-footer {
  color: #fff;
  background: #020711;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-shell {
  width: min(var(--shell), calc(100% - 64px));
  min-height: 152px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 54px;
}

.footer-shell > div {
  display: grid;
  gap: 4px;
}

.footer-shell > div span,
.footer-shell > span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
}

.footer-shell nav {
  display: flex;
  gap: 28px;
}

.footer-shell nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  text-decoration: none;
}

.footer-shell nav a:hover,
.footer-shell nav a:focus-visible {
  color: #fff;
}

/* Project page */
.case-hero {
  padding: 88px 0 96px;
  color: #fff;
  background: var(--road-navy);
}

.case-hero-shell {
  width: min(var(--content), calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: 80px;
}

.case-heading > img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 26px;
}

.case-heading h1 {
  font-size: 68px;
}

.case-heading .case-tagline {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 24px;
}

.case-heading .case-intro {
  max-width: 560px;
  margin: 28px 0 0;
  font-size: 19px;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.case-meta span {
  padding: 7px 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  font-size: 13px;
}

.case-devices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.case-devices .phone {
  position: relative;
  inset: auto;
  width: 100%;
  transform: none;
}

.case-devices .phone:nth-child(2) {
  margin-top: 68px;
}

.case-section {
  padding: 112px 0;
}

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

.case-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 96px;
}

.case-grid h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.12;
}

.case-grid .case-body {
  color: var(--muted);
  font-size: 19px;
}

.case-grid .case-body p:first-child {
  margin-top: 0;
}

.feature-lines {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.feature-line {
  display: grid;
  grid-template-columns: 42px 180px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.feature-line > span {
  color: var(--red);
  font-weight: 800;
}

.feature-line strong {
  color: var(--ink);
}

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

.case-gallery figure {
  margin: 0;
}

.case-gallery img {
  width: 100%;
  border: 7px solid var(--ink);
  border-radius: 28px;
  box-shadow: 0 18px 46px rgba(7, 17, 31, 0.12);
}

.case-gallery figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.case-cta {
  padding: 96px 0;
  color: #fff;
  background: var(--blue);
}

.case-cta .section-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.case-cta h2 {
  max-width: 700px;
  margin: 0;
  font-size: 44px;
  line-height: 1.14;
}

/* Legal pages */
.page-hero {
  padding: 82px 0 62px;
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
}

.legal-heading {
  width: min(var(--content), calc(100% - 64px));
  margin: 0 auto;
}

.legal-heading p {
  margin: 12px 0 0;
  color: var(--muted);
}

.legal-layout {
  width: min(var(--content), calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 80px;
  padding: 72px 0 110px;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  align-self: start;
  display: grid;
  gap: 12px;
  padding-left: 18px;
  border-left: 2px solid var(--red);
}

.legal-toc a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--blue);
}

.legal-content {
  max-width: 780px;
}

.legal-content section + section {
  margin-top: 52px;
  padding-top: 10px;
}

.legal-content h2 {
  margin: 0 0 18px;
  font-size: 28px;
}

.legal-content h3 {
  margin: 26px 0 8px;
  font-size: 19px;
}

.legal-content p,
.legal-content li {
  color: #394553;
}

.legal-content a {
  color: var(--blue);
}

.address {
  padding: 20px;
  background: var(--paper-soft);
  border-left: 3px solid var(--blue);
}

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

  .hero-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  }

  .phone {
    width: 230px;
  }

  .capability-shell {
    gap: 22px;
  }

  .capability {
    gap: 12px;
    font-size: 14px;
  }

  .project-showcase,
  .studio-grid,
  .contact-grid,
  .case-grid {
    gap: 58px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 76px;
  }

  .nav-shell,
  .hero-shell,
  .capability-shell,
  .footer-shell {
    width: min(100% - 40px, var(--shell));
  }

  .section-shell,
  .case-hero-shell,
  .legal-heading,
  .legal-layout {
    width: min(100% - 40px, var(--content));
  }

  .brand {
    width: 238px;
  }

  .brand img {
    height: 66px;
  }

  .hero,
  .hero-shell {
    min-height: 690px;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 18px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-kicker {
    font-size: 18px;
  }

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

  .phone-stage {
    min-height: 690px;
  }

  .phone {
    width: 198px;
    padding: 6px;
    border-radius: 34px;
  }

  .phone img {
    border-radius: 28px;
  }

  .phone-primary {
    left: 0;
  }

  .phone-secondary {
    right: 0;
  }

  .product-lockup > img {
    width: 82px;
    height: 82px;
  }

  .product-lockup-copy strong {
    font-size: 24px;
  }

  .product-lockup-copy span {
    font-size: 16px;
  }

  .capability-shell {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 22px 0;
  }

  .capability-shell .button {
    grid-column: 1 / -1;
    justify-self: center;
  }

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

  .project-showcase {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .section-heading h2,
  .studio-copy h2,
  .contact-intro h2,
  .legal-heading h1 {
    font-size: 44px;
  }

  .studio-mark {
    min-height: 300px;
    font-size: 108px;
  }

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

  .footer-shell {
    grid-template-columns: 1fr auto;
    padding: 34px 0;
  }

  .footer-shell > span {
    grid-column: 1 / -1;
  }

  .case-hero-shell {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
  }

  .case-heading h1 {
    font-size: 54px;
  }

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

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    gap: 0;
    padding: 16px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(7, 17, 31, 0.12);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 180ms ease, visibility 180ms ease;
  }

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

  .site-nav a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
  }

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

  .hero {
    min-height: 0;
  }

  .hero-background {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(2, 12, 26, 0.9) 0%, rgba(2, 12, 26, 0.68) 55%, rgba(2, 12, 26, 0.9) 100%),
      rgba(2, 12, 26, 0.28);
  }

  .hero-shell {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy {
    min-height: 520px;
    padding: 66px 0 30px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-kicker {
    margin-top: 24px;
  }

  .product-lockup {
    margin-top: auto;
  }

  .phone-stage {
    min-height: 520px;
  }

  .phone {
    width: 48%;
    max-width: 230px;
  }

  .phone-primary {
    left: 1%;
    bottom: -26px;
  }

  .phone-secondary {
    right: 1%;
    bottom: 10px;
  }

  .capability-shell {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 22px 0 28px;
  }

  .capability {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-shell .button {
    width: 100%;
    margin-top: 18px;
  }

  .project-section,
  .studio-section,
  .contact-section,
  .case-section {
    padding: 82px 0;
  }

  .project-showcase,
  .studio-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .project-showcase {
    gap: 56px;
  }

  .project-copy {
    display: grid;
  }

  .project-logo {
    width: 120px;
    height: 120px;
  }

  .project-lead {
    font-size: 21px;
  }

  .screen-rail {
    gap: 14px;
  }

  .screen-shot:nth-child(2) {
    margin-top: 34px;
  }

  .studio-section::after {
    width: 30%;
    opacity: 1;
    clip-path: polygon(72% 0, 100% 0, 100% 100%, 18% 100%);
  }

  .studio-mark {
    min-height: 220px;
    font-size: 88px;
  }

  .studio-grid {
    gap: 50px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-shell nav {
    flex-wrap: wrap;
    gap: 14px 24px;
  }

  .footer-shell > span {
    grid-column: auto;
  }

  .case-hero {
    padding: 66px 0 76px;
  }

  .case-hero-shell {
    grid-template-columns: 1fr;
  }

  .case-heading h1 {
    font-size: 50px;
  }

  .case-devices {
    max-width: 520px;
    margin: 0 auto;
  }

  .case-cta .section-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .legal-toc {
    position: static;
  }
}

@media (max-width: 480px) {
  .nav-shell,
  .hero-shell,
  .capability-shell,
  .footer-shell,
  .section-shell,
  .case-hero-shell,
  .legal-heading,
  .legal-layout {
    width: calc(100% - 32px);
  }

  .brand {
    width: 205px;
  }

  .brand img {
    height: 60px;
  }

  .hero-copy {
    min-height: 500px;
    padding-top: 54px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-description {
    max-width: 330px;
  }

  .product-lockup {
    gap: 12px;
  }

  .product-lockup > img {
    width: 70px;
    height: 70px;
  }

  .product-lockup-copy {
    padding-left: 14px;
  }

  .product-lockup-copy strong {
    font-size: 21px;
  }

  .product-lockup-copy span {
    font-size: 14px;
  }

  .phone-stage {
    min-height: 450px;
  }

  .phone {
    width: 49%;
    padding: 4px;
    border-radius: 28px;
  }

  .phone img {
    border-radius: 23px;
  }

  .phone-speaker {
    top: 11px;
    width: 54px;
    height: 15px;
  }

  .section-heading h2,
  .studio-copy h2,
  .contact-intro h2,
  .legal-heading h1 {
    font-size: 36px;
  }

  .screen-shot img {
    border-width: 5px;
    border-radius: 24px;
  }

  .studio-principles {
    grid-template-columns: 1fr;
  }

  .contact-form .button {
    width: 100%;
  }

  .case-heading h1 {
    font-size: 42px;
  }

  .case-devices {
    gap: 10px;
  }

  .case-gallery {
    gap: 10px;
  }

  .case-gallery img {
    border-width: 4px;
    border-radius: 20px;
  }

  .feature-line {
    grid-template-columns: 34px 1fr;
  }

  .feature-line p {
    grid-column: 2;
    margin-top: 0;
  }
}

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

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