/*
 * H2F Studio v1
 * B2B entry point for commissioned production.
 * Visual system: Formalin Specimen Lab tokens with a restrained business layer.
 */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 6%, rgba(182, 255, 60, 0.075), transparent 28rem),
    var(--base);
  color: var(--text);
  font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-feature-settings: "palt" 1, "kern" 1;
  line-height: 1.75;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  content: "";
  opacity: 0.026;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(236, 230, 214, 0.5) 0,
      rgba(236, 230, 214, 0.5) 1px,
      transparent 1px,
      transparent 4px
    );
  mix-blend-mode: soft-light;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

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

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

h1,
h2,
h3 {
  line-height: 1.12;
  text-wrap: balance;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 120;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--glow);
  transform: translateY(-160%);
}

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

.studio-wrap {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
}

.studio-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: 72px;
  border-bottom: 1px solid transparent;
  background: rgba(11, 15, 14, 0.82);
  backdrop-filter: blur(18px);
  transition:
    border-color 220ms ease,
    background 220ms ease;
}

.studio-header.is-scrolled {
  border-color: var(--line);
  background: rgba(11, 15, 14, 0.96);
}

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

.studio-brand {
  display: inline-flex;
  min-width: 180px;
  align-items: center;
  gap: 13px;
}

.studio-brand img {
  width: 76px;
  height: auto;
}

.studio-brand span {
  padding-left: 13px;
  border-left: 1px solid var(--line);
  color: var(--text-soft);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
}

.studio-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 29px);
  white-space: nowrap;
}

.studio-nav a {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.studio-nav a:hover,
.studio-nav a:focus-visible {
  color: var(--text);
}

.studio-nav a:active {
  transform: translateY(1px);
}

.studio-nav .nav-contact {
  padding: 10px 15px;
  border: 1px solid var(--glow);
  color: var(--ink);
  background: var(--glow);
}

.studio-nav .nav-contact:hover,
.studio-nav .nav-contact:focus-visible {
  color: var(--ink);
  background: #c6ff67;
}

.nav-toggle {
  display: none;
  border: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
}

.studio-hero {
  display: grid;
  min-height: 100dvh;
  align-items: center;
  padding: 112px 0 56px;
  border-bottom: 1px solid var(--line-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-label {
  margin-bottom: 28px;
  color: var(--glow);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-copy h1 {
  max-width: 760px;
  color: var(--label);
  font-family: "Arial Narrow", "Yu Gothic UI", "Hiragino Sans", sans-serif;
  font-size: clamp(3rem, 6.6vw, 6.75rem);
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: -0.065em;
}

.hero-lead {
  max-width: 620px;
  margin-top: 28px;
  color: var(--text-soft);
  font-size: clamp(15px, 1.7vw, 19px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
}

.studio-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.studio-button:active {
  transform: translateY(1px);
}

.studio-button-primary {
  min-width: 178px;
  padding: 13px 22px;
  color: var(--ink);
  background: var(--glow);
}

.studio-button-primary:hover,
.studio-button-primary:focus-visible {
  color: var(--ink);
  background: #c6ff67;
}

.studio-button-text {
  min-width: 118px;
  padding: 12px 0;
  border-bottom-color: var(--text-mute);
  color: var(--text);
}

.studio-button-text:hover,
.studio-button-text:focus-visible {
  border-bottom-color: var(--glow);
  color: var(--glow);
}

.hero-media {
  position: relative;
  min-height: clamp(420px, 57vw, 650px);
}

.hero-frame {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
  transition: transform 700ms var(--ease-out);
}

.hero-media:hover .hero-frame-main img {
  transform: scale(1.025);
}

.hero-frame-main {
  inset: 1% 8% 12% 0;
}

.hero-frame-sub {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 34%;
  border-color: var(--glow-dim);
}

.hero-media-note {
  position: absolute;
  top: 8%;
  right: -1.25rem;
  z-index: 3;
  max-width: 11em;
  padding: 12px 15px;
  color: var(--ink);
  background: var(--label);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
  transform: rotate(2.5deg);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.problem-section {
  padding: clamp(96px, 13vw, 168px) 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: clamp(40px, 10vw, 148px);
  align-items: start;
}

.problem-statement h2,
.section-heading h2,
.services-intro h2,
.profile-manifesto h2,
.faq-heading h2 {
  color: var(--label);
  font-family: "Arial Narrow", "Yu Gothic UI", "Hiragino Sans", sans-serif;
  font-size: clamp(2.25rem, 4.8vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.problem-copy {
  padding-top: 10px;
}

.problem-copy p {
  max-width: 660px;
  color: var(--text-soft);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.8;
}

.problem-copy p + p {
  margin-top: 24px;
  color: var(--text);
  font-weight: 700;
}

.services-section {
  padding: clamp(88px, 11vw, 144px) 0;
  border-block: 1px solid var(--line-soft);
  background: rgba(19, 27, 25, 0.55);
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(48px, 9vw, 124px);
  align-items: start;
}

.services-intro {
  position: sticky;
  top: 112px;
}

.services-intro > p {
  max-width: 440px;
  margin-top: 22px;
  color: var(--text-soft);
  font-size: 16px;
}

.services-visual {
  position: relative;
  margin-top: 40px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--line);
}

.services-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, transparent 54%, rgba(182, 255, 60, 0.11));
}

.services-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.08);
}

.service-list {
  counter-reset: service;
}

.service-item {
  position: relative;
  padding: 36px 0 42px clamp(54px, 7vw, 92px);
  border-bottom: 1px solid var(--line);
  counter-increment: service;
}

.service-item:first-child {
  padding-top: 4px;
}

.service-item::before {
  position: absolute;
  top: 39px;
  left: 0;
  content: "0" counter(service);
  color: var(--glow);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.service-item:first-child::before {
  top: 7px;
}

.service-item h3 {
  color: var(--text);
  font-size: clamp(1.4rem, 2.4vw, 2.15rem);
  font-weight: 800;
}

.service-item > p {
  max-width: 700px;
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 15px;
}

.service-item .service-output {
  color: var(--glow-dim);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.035em;
}

.work-section {
  padding: clamp(96px, 12vw, 160px) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(44px, 6vw, 76px);
}

.section-heading > p {
  max-width: 640px;
  margin-top: 22px;
  color: var(--text-soft);
  font-size: 16px;
}

.section-heading-narrow {
  max-width: 660px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.work-card {
  grid-column: span 5;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition:
    border-color 220ms ease,
    transform 350ms var(--ease-out);
}

.work-card:nth-child(2) {
  grid-column: 8 / span 5;
  margin-top: 88px;
}

.work-card:nth-child(3) {
  grid-column: 1 / span 5;
}

.work-card-wide {
  grid-column: span 7;
}

.work-card-tall {
  grid-column: 6 / span 7;
  margin-top: -28px;
}

.work-card:hover,
.work-card:focus-visible {
  border-color: var(--glow-dim);
  transform: translateY(-5px);
}

.work-image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--panel-2);
}

.work-card-wide .work-image {
  aspect-ratio: 16 / 9;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86);
  transition: transform 700ms var(--ease-out);
}

.work-card:hover .work-image img,
.work-card:focus-visible .work-image img {
  transform: scale(1.025);
}

.work-body {
  padding: 25px 26px 28px;
}

.work-type,
.person-role {
  color: var(--glow-dim);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.work-body h3 {
  margin-top: 9px;
  color: var(--label);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}

.work-body > p:last-child {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 14px;
}

.work-note {
  max-width: 700px;
  margin-top: 32px;
  color: var(--text-mute);
  font-size: 12px;
}

.process-section {
  padding: clamp(88px, 10vw, 132px) 0;
  border-block: 1px solid var(--line-soft);
  background: var(--base-deep);
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
}

.process-list li {
  position: relative;
  min-height: 230px;
  padding: 26px 22px 30px;
  border-left: 1px solid var(--line);
}

.process-list li:last-child {
  border-right: 1px solid var(--line);
}

.process-list li::before {
  display: block;
  width: 13px;
  height: 13px;
  margin-bottom: 42px;
  border: 1px solid var(--glow-dim);
  content: "";
  background: transparent;
  transition: background-color 180ms ease;
}

.process-list li:hover::before {
  background: var(--glow);
}

.process-list h3 {
  color: var(--label);
  font-size: 1.55rem;
}

.process-list p {
  margin-top: 13px;
  color: var(--text-soft);
  font-size: 13px;
}

.team-section {
  padding: clamp(96px, 12vw, 160px) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 22px;
  align-items: start;
}

.person-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  grid-template-columns: minmax(180px, 0.9fr) minmax(220px, 1.1fr);
}

.person-card-offset {
  margin-top: 76px;
}

.person-photo {
  min-height: 440px;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.04);
}

.person-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(26px, 4vw, 48px);
}

.person-copy h3,
.engineering-copy h3 {
  margin-top: 13px;
  color: var(--label);
  font-size: clamp(1.65rem, 3vw, 2.65rem);
}

.person-copy > p:last-child,
.engineering-copy > p:last-child {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 14px;
}

.engineering-card {
  display: grid;
  grid-column: 1 / -1;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel-2);
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.engineering-image {
  max-height: 430px;
  overflow: hidden;
}

.engineering-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.62) contrast(1.1);
}

.engineering-copy {
  align-self: center;
  padding: clamp(34px, 5vw, 64px);
}

.profile-section {
  padding: clamp(96px, 12vw, 160px) 0;
  border-block: 1px solid var(--line-soft);
  background:
    linear-gradient(135deg, rgba(182, 255, 60, 0.035), transparent 45%),
    rgba(19, 27, 25, 0.58);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(58px, 10vw, 146px);
}

.profile-lead {
  margin-top: 30px;
  color: var(--glow);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 800;
}

.profile-manifesto > p:not(.profile-lead) {
  max-width: 660px;
  margin-top: 22px;
  color: var(--text-soft);
  font-size: 16px;
}

.profile-facts {
  align-self: start;
  border-top: 1px solid var(--line);
}

.profile-facts > div {
  display: grid;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 24px;
}

.profile-facts dt {
  color: var(--text-mute);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.profile-facts dd {
  color: var(--text);
  font-size: 14px;
}

.faq-section {
  padding: clamp(96px, 12vw, 156px) 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.64fr) minmax(0, 1.36fr);
  gap: clamp(48px, 9vw, 126px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 52px 24px 0;
  color: var(--text);
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 5px;
  width: 17px;
  height: 1px;
  content: "";
  background: var(--glow);
  transition: transform 180ms ease;
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 700px;
  padding: 0 52px 27px 0;
  color: var(--text-soft);
  font-size: 14px;
}

.contact-section {
  padding: clamp(88px, 11vw, 144px) 0;
  background: var(--label);
  color: var(--ink);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(50px, 9vw, 132px);
  align-items: end;
}

.contact-inner h2 {
  max-width: 800px;
  color: var(--ink);
  font-family: "Arial Narrow", "Yu Gothic UI", "Hiragino Sans", sans-serif;
  font-size: clamp(2.35rem, 5.2vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.058em;
}

.contact-inner > div:first-child > p {
  max-width: 630px;
  margin-top: 24px;
  color: #4f4a3f;
  font-size: 16px;
}

.contact-action {
  padding-bottom: 5px;
}

.studio-button-large {
  width: min(100%, 360px);
  min-height: 62px;
  font-size: 16px;
}

.contact-action > p {
  margin-top: 14px;
  color: #5f594c;
  font-size: 12px;
}

.studio-footer {
  padding: 52px 0 38px;
  background: var(--base-deep);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
}

.footer-brand img {
  width: 86px;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 12px;
}

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

.footer-copy {
  color: var(--text-mute);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

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

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

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

@media (max-width: 1040px) {
  .studio-nav {
    gap: 16px;
  }

  .studio-nav a:not(.nav-contact) {
    font-size: 11px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    gap: 42px;
  }

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

  .person-photo {
    min-height: 390px;
  }

  .person-card-offset {
    margin-top: 44px;
  }
}

@media (max-width: 820px) {
  .studio-wrap {
    width: min(100% - 32px, 720px);
  }

  .studio-header {
    height: 64px;
  }

  .nav-toggle {
    position: relative;
    z-index: 82;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 11px;
    cursor: pointer;
  }

  .nav-toggle-label {
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .nav-toggle-lines,
  .nav-toggle-lines::before,
  .nav-toggle-lines::after {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--text);
    transition: transform 180ms ease;
  }

  .nav-toggle-lines {
    position: relative;
  }

  .nav-toggle-lines::before,
  .nav-toggle-lines::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .nav-toggle-lines::before {
    transform: translateY(-6px);
  }

  .nav-toggle-lines::after {
    transform: translateY(6px);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-lines {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
    transform: rotate(-45deg);
  }

  .studio-nav {
    position: fixed;
    inset: 0;
    z-index: 81;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 84px max(24px, calc((100vw - 720px) / 2));
    opacity: 0;
    background: rgba(7, 10, 9, 0.98);
    transition:
      visibility 180ms ease,
      opacity 180ms ease;
  }

  .studio-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .studio-nav a,
  .studio-nav a:not(.nav-contact) {
    font-size: 20px;
  }

  .studio-nav .nav-contact {
    margin-top: 10px;
    padding: 13px 17px;
    color: var(--ink);
    font-size: 15px;
  }

  .studio-hero {
    min-height: auto;
    padding: 112px 0 72px;
  }

  .hero-grid,
  .problem-grid,
  .services-layout,
  .profile-layout,
  .faq-layout,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(3.15rem, 13vw, 5.6rem);
  }

  .hero-media {
    min-height: 560px;
  }

  .hero-frame-main {
    inset: 0 7% 12% 0;
  }

  .hero-media-note {
    right: 0;
  }

  .problem-grid {
    gap: 34px;
  }

  .services-layout {
    gap: 58px;
  }

  .services-intro {
    position: static;
  }

  .services-visual {
    max-width: 540px;
  }

  .work-card,
  .work-card:nth-child(2),
  .work-card:nth-child(3),
  .work-card-wide,
  .work-card-tall {
    grid-column: span 6;
    margin-top: 0;
  }

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

  .process-list li:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .process-list li:last-child {
    grid-column: 1 / -1;
    border-right: 1px solid var(--line);
  }

  .person-card-offset {
    margin-top: 0;
  }

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

  .engineering-image {
    max-height: 360px;
  }

  .faq-layout {
    gap: 44px;
  }

  .contact-inner {
    gap: 42px;
  }

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

  .footer-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .studio-wrap {
    width: min(100% - 28px, 520px);
  }

  .studio-brand span {
    display: none;
  }

  .studio-hero {
    padding-top: 102px;
  }

  .hero-label {
    margin-bottom: 21px;
    font-size: 9px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 14.5vw, 4.5rem);
    letter-spacing: -0.07em;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
  }

  .studio-button {
    width: 100%;
  }

  .hero-media {
    min-height: 390px;
  }

  .hero-frame-main {
    inset: 0 0 17% 0;
  }

  .hero-frame-sub {
    width: 55%;
    height: 32%;
  }

  .hero-media-note {
    top: auto;
    right: auto;
    bottom: 7%;
    left: 0;
    max-width: 10em;
    font-size: 10px;
  }

  .problem-statement h2,
  .section-heading h2,
  .services-intro h2,
  .profile-manifesto h2,
  .faq-heading h2 {
    font-size: clamp(2.15rem, 11vw, 3.35rem);
  }

  .problem-copy p {
    font-size: 16px;
  }

  .service-item {
    padding: 29px 0 34px 44px;
  }

  .service-item::before,
  .service-item:first-child::before {
    top: 34px;
    font-size: 10px;
  }

  .service-item:first-child {
    padding-top: 29px;
  }

  .work-grid {
    display: block;
  }

  .work-card {
    display: block;
  }

  .work-card + .work-card {
    margin-top: 18px;
  }

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

  .process-list li,
  .process-list li:nth-child(2n),
  .process-list li:last-child {
    min-height: auto;
    border-right: 1px solid var(--line);
    grid-column: auto;
  }

  .process-list li::before {
    margin-bottom: 24px;
  }

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

  .person-photo {
    min-height: 360px;
  }

  .engineering-card {
    display: block;
  }

  .engineering-copy,
  .person-copy {
    padding: 26px;
  }

  .profile-facts > div {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
  }

  .faq-list summary {
    padding-right: 40px;
  }

  .contact-inner h2 {
    font-size: clamp(2.2rem, 11.5vw, 3.7rem);
  }

  .footer-inner {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-copy {
    grid-column: auto;
    white-space: normal;
  }
}

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

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

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

@media (prefers-reduced-transparency: reduce) {
  .studio-header {
    background: var(--base);
    backdrop-filter: none;
  }
}
