:root {
  --red: #d72810;
  --yellow: #e9bc1a;
  --black: #1a1412;
  --white: #ffffff;
  --gothic: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

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

html,
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--gothic);
}

.lang-switch {
  position: fixed;
  top: 1.15rem;
  left: 1.4rem;
  right: auto;
  z-index: 80;
  display: flex;
  gap: 0.85em;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  mix-blend-mode: difference;
}

.lang-switch a {
  color: inherit;
  text-decoration: none;
}

.lang-switch [aria-current="page"] {
  opacity: 1;
}

.lang-switch a:not([aria-current]) {
  opacity: 0.45;
}

.site-nav-toggle {
  appearance: none;
  position: fixed;
  top: 0.88rem;
  right: 1.25rem;
  left: auto;
  z-index: 81;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  mix-blend-mode: difference;
}

body.is-nav-open .site-nav-toggle {
  mix-blend-mode: normal;
}

.site-nav-toggle span {
  display: block;
  position: absolute;
  left: 0.3rem;
  right: 0.3rem;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.site-nav-toggle span:nth-child(1) {
  top: 0.52rem;
}

.site-nav-toggle span:nth-child(2) {
  top: 0.95rem;
}

.site-nav-toggle span:nth-child(3) {
  top: 1.38rem;
}

body.is-nav-open .site-nav-toggle span:nth-child(1) {
  top: 0.95rem;
  transform: rotate(45deg);
}

body.is-nav-open .site-nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.is-nav-open .site-nav-toggle span:nth-child(3) {
  top: 0.95rem;
  transform: rotate(-45deg);
}

.site-nav-veil {
  position: fixed;
  inset: 0;
  z-index: 74;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-nav-veil[hidden] {
  display: none !important;
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: 75;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 33.333vw;
  min-width: 13.5rem;
  max-width: 28rem;
  padding: 5.2rem 1.8rem 2rem;
  background: var(--black);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s ease, visibility 0.28s ease;
}

body.is-nav-open .site-nav {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.site-nav li + li {
  margin-top: 0.85em;
}

.site-nav a {
  color: var(--white);
  font-size: clamp(0.92rem, 1.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--red);
}

body.is-nav-open {
  overflow: hidden;
}

.stack {
  position: sticky;
  top: 0;
  z-index: var(--z, 1);
  height: 100vh;
  overflow: hidden;
}

.stack-hero {
  height: 66.67vh;
}

.stack-split {
  display: grid;
  grid-template-columns: 50% 50%;
}

.stack-visual,
.stack-full {
  background: var(--black);
}

.stack-visual video,
.stack-visual img,
.stack-full img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 10vh 8vw;
  background: var(--red);
  color: var(--white);
}

.stack-copy-hero {
  align-items: center;
  padding: 6vh 6vw;
}

.logo {
  display: block;
  width: min(72%, 420px);
  height: auto;
  mix-blend-mode: screen;
}

.about-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 2.4vw;
  padding: 100px 5vw 100px 4vw;
  overflow-y: auto;
}

.stack-about,
.stack-service,
.stack-company,
.privacy-shell,
.works-article-shell {
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--sketch) 14%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--sketch) 14%, transparent) 1px, transparent 1px),
    linear-gradient(
      to right,
      transparent 71%,
      color-mix(in srgb, var(--sketch) 18%, transparent) 71%,
      color-mix(in srgb, var(--sketch) 18%, transparent) calc(71% + 1px),
      transparent calc(71% + 1px)
    ),
    linear-gradient(
      to bottom,
      transparent 24%,
      color-mix(in srgb, var(--sketch) 16%, transparent) 24%,
      color-mix(in srgb, var(--sketch) 16%, transparent) calc(24% + 1px),
      transparent calc(24% + 1px)
    ),
    linear-gradient(
      19deg,
      transparent 46%,
      color-mix(in srgb, var(--sketch) 12%, transparent) 46%,
      color-mix(in srgb, var(--sketch) 12%, transparent) calc(46% + 1px),
      transparent calc(46% + 1px)
    ),
    linear-gradient(
      -14deg,
      transparent 63%,
      color-mix(in srgb, var(--sketch) 10%, transparent) 63%,
      color-mix(in srgb, var(--sketch) 10%, transparent) calc(63% + 1px),
      transparent calc(63% + 1px)
    ),
    repeating-linear-gradient(
      102deg,
      transparent 0 22px,
      color-mix(in srgb, var(--sketch) 8%, transparent) 22px,
      color-mix(in srgb, var(--sketch) 8%, transparent) 23px,
      transparent 23px 61px
    );
  background-size: 64px 64px, 64px 64px, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
}

.stack-copy.stack-about {
  --sketch: #ffffff;
  background-color: var(--red);
}

.section-label {
  margin: 0;
  color: var(--yellow);
  font-size: clamp(3.4rem, 7.5vw, 6.4rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 0.9;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.section-main {
  min-width: 0;
}

.section-heading {
  margin: 0 0 1.9em;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.section-body {
  padding-top: 0;
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.section-body p,
.service-item p {
  margin: 0 0 1.9em;
}

.section-body p:last-child,
.service-item p:last-child {
  margin-bottom: 0;
}

.stack-text {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 2.4vw;
  padding: 11vh 8vw 11vh 5vw;
}

.stack-service {
  --sketch: #ffffff;
  background-color: var(--yellow);
  color: var(--black);
}

.stack-service .section-label {
  color: var(--red);
}

.stack-company,
.privacy-shell,
.works-article-shell {
  --sketch: var(--black);
  background-color: var(--white);
  color: var(--black);
}

.stack-company .section-label,
.privacy-shell .section-label,
.works-article-shell .section-label {
  color: var(--red);
}

.service-item {
  margin-bottom: 2.2em;
}

.service-item:last-child {
  margin-bottom: 0;
}

.service-item h2 {
  margin: 0 0 0.7em;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.service-item p {
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.company-lines {
  margin: 0;
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  line-height: 2;
  letter-spacing: 0.04em;
}

.stack.stack-works,
.works-page-hero {
  --works-card: #f4efe6;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  justify-items: stretch;
  gap: 3vw;
  height: auto;
  min-height: 100vh;
  padding: 100px 5vw 300px 4vw;
  background: var(--black);
  color: var(--white);
  overflow: visible;
}

.stack.stack-works {
  position: relative;
  top: auto;
}

.stack-works .section-label,
.works-page-hero .section-label {
  color: var(--yellow);
  align-self: start;
}

.works-home {
  position: fixed;
  top: 1.15rem;
  left: 6.5rem;
  z-index: 80;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  mix-blend-mode: difference;
}

.works-home-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.works-grid {
  --works-gap: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--works-gap);
  width: min(1016px, 100%);
  min-width: 0;
  justify-self: center;
}

.works-soon-block {
  width: min(1016px, 100%);
  margin-top: 3.4em;
  padding-top: 2.4em;
  border-top: 1px solid color-mix(in srgb, var(--white) 22%, transparent);
}

.works-soon-heading {
  margin: 0 0 1.25em;
  color: var(--yellow);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.works-soon-block .works-grid {
  width: 100%;
}

.works-soon-block .works-card {
  background: color-mix(in srgb, var(--works-card) 78%, var(--black));
}

.works-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 2em 0 0;
  padding: 0.85em 1.8em;
  border: 1px solid var(--white);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.works-more:hover {
  background: var(--white);
  color: var(--black);
}

.works-page-main {
  min-width: 0;
}

.works-page-heading {
  margin: 0 0 0.85em;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.works-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin: 0 0 1.6em;
}

.works-filter {
  appearance: none;
  margin: 0;
  padding: 0.42em 0.85em;
  border: 1px solid var(--red);
  background: transparent;
  color: var(--red);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  cursor: pointer;
}

.works-filter.is-active,
.works-filter:hover {
  background: var(--red);
  color: var(--white);
}

.works-card[hidden],
.works-card.is-off,
.works-soon-block[hidden],
.works-soon-block.is-off {
  display: none !important;
}

.works-page-lead {
  margin: 0 0 2em;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  line-height: 1.8;
  opacity: 0.72;
}

.works-card.is-soon {
  pointer-events: none;
  cursor: default;
}

.works-card.is-soon .works-card-label {
  padding-right: 5.4em;
  white-space: normal;
}

.works-card-soon {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  bottom: auto;
  margin: 0;
  padding: 0.35em 0.55em;
  background: var(--black);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.works-card {
  --works-icon: 9.6rem;
  container-type: inline-size;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  width: 100%;
  max-width: 500px;
  min-width: 0;
  aspect-ratio: 1 / 1;
  height: auto;
  padding: 50px;
  background: var(--works-card);
  color: var(--black);
  text-decoration: none;
  overflow: hidden;
  box-sizing: border-box;
}

.works-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55em;
  width: 100%;
}

.works-card-tag {
  display: inline-block;
  width: auto;
  max-width: calc(100% - 1.7rem);
  margin: 0;
  padding: 0.28em 0.58em;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
}

html[lang="en"] .works-card-label {
  white-space: normal;
  line-height: 1.25;
  letter-spacing: 0;
}

.works-card-plus {
  position: absolute;
  top: 0;
  right: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--red);
  color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.works-card-plus span {
  position: absolute;
  top: 0.12rem;
  right: 0.16rem;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.works-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: var(--works-icon);
  height: var(--works-icon);
  color: var(--red);
}

.works-card-icon svg {
  width: 100%;
  height: 100%;
}

.works-card-stat {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
  gap: 0;
  margin: 0;
  color: var(--red);
  font-size: clamp(1.15rem, 12cqi, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.section-label a {
  color: inherit;
  text-decoration: none;
}

.works-card-number,
.works-card-unit {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.works-card-number {
  font-variant-numeric: tabular-nums;
}

.works-card.is-current {
  background: var(--yellow);
}

.works-card.is-current .works-card-plus {
  background: var(--black);
}

a.works-card:hover .works-card-stat {
  color: var(--black);
}

.works-detail {
  min-height: 70vh;
  padding: 10vh 10vw 12vh;
  background: var(--red);
  color: var(--white);
}

.works-detail-inner {
  max-width: 38rem;
}

.works-detail h1 {
  margin: 0 0 1.4em;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.works-detail p {
  margin: 0 0 1.6em;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: 0.04em;
}

.works-detail p:last-child {
  margin-bottom: 0;
}

.works-detail a {
  color: var(--yellow);
}

.stack-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 100vh;
  overflow: visible;
  padding: 10vh 6vw;
  background: var(--red);
  color: var(--white);
}

.works-article .stack-contact {
  display: grid;
  grid-template-columns: auto minmax(0, 42rem);
  align-items: start;
  justify-content: center;
  gap: 3vw;
  position: relative;
  height: auto;
  min-height: 100vh;
  padding: 200px 5vw 12vh 4vw;
  overflow: visible;
  background: var(--red);
  color: var(--white);
}

.works-article .stack-contact .section-label {
  justify-self: end;
  color: var(--yellow);
}

.works-article .stack-contact .section-main {
  min-width: 0;
  width: min(28em, 100%);
}

.contact-inner {
  display: grid;
  grid-template-columns: auto minmax(16em, 28em);
  align-items: start;
  gap: 2.4vw;
}

.contact-form {
  width: 100%;
}

.contact-form label {
  display: block;
  margin: 0 0 1.3em;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.45em;
  padding: 0.7em 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-form textarea {
  min-height: 8em;
  resize: vertical;
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--yellow);
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.required-mark {
  color: var(--yellow);
  margin-left: 0.2em;
}

.contact-submit {
  padding: 0.85em 1.6em;
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.contact-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.contact-status {
  min-height: 1.5em;
  margin: 1em 0 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.turnstile-notice {
  max-width: 38em;
  margin: 0.75em 0 0;
  font-size: 0.68rem;
  line-height: 1.5;
  opacity: 0.72;
}

.turnstile-notice a {
  color: inherit;
}

.privacy-check {
  display: flex;
  align-items: center;
  gap: 0.65em;
  margin: 0.2em 0 1.4em;
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.privacy-check input[type="checkbox"] {
  appearance: none;
  width: 1.15em;
  height: 1.15em;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid var(--white);
  background: transparent;
  cursor: pointer;
}

.privacy-check input[type="checkbox"]:checked {
  background: var(--yellow);
  border-color: var(--yellow);
  box-shadow: inset 0 0 0 0.18em var(--red);
}

.privacy-check input[type="checkbox"]:focus-visible {
  outline: 1px solid var(--yellow);
  outline-offset: 3px;
}

.privacy-check a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

html:has(.privacy-page),
html:has(.works-article),
.privacy-page,
.works-article {
  background: var(--white);
  color: var(--black);
}

.works-article.is-yellow .works-article-shell .section-label {
  color: var(--yellow);
}

.privacy-page .works-home,
.works-article .works-home {
  mix-blend-mode: normal;
  color: var(--black);
}

.privacy-shell,
.works-article-shell {
  display: grid;
  align-items: start;
  gap: 3vw;
  min-height: 100vh;
  padding: 140px 5vw 12vh 4vw;
}

.privacy-shell {
  grid-template-columns: auto minmax(0, 42rem);
}

.works-article-shell {
  grid-template-columns: auto minmax(0, 42rem);
  justify-content: center;
}

.works-article-shell .section-label {
  justify-self: end;
}

.works-doc {
  position: relative;
  background: var(--white);
  padding: 1.1rem 1.35rem 2.6rem;
}

.privacy-doc h1,
.works-doc h1 {
  margin: 0 0 1.4em;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.privacy-doc h2 {
  margin: 2.2em 0 0.7em;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.privacy-doc h2:first-of-type,
.works-doc section:first-of-type h2 {
  margin-top: 0;
}

.works-doc h2 {
  margin: 2.6em 0 0.85em;
  padding: 0 0 0.42em;
  border-bottom: 2px solid var(--black);
  font-size: clamp(1.22rem, 1.85vw, 1.48rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.works-doc h2 + table {
  margin-top: 0.15em;
}

.works-doc h3 {
  margin: 1.7em 0 0.5em;
  padding: 0.08em 0 0.08em 0.8em;
  border-left: 3px solid var(--red);
  font-size: clamp(0.94rem, 1.12vw, 1.04rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.privacy-doc p,
.privacy-doc li,
.works-doc p,
.works-doc li {
  margin: 0 0 1em;
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.privacy-doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.8em;
  font-size: clamp(0.88rem, 1.15vw, 1.02rem);
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.privacy-doc th,
.privacy-doc td {
  padding: 0.7em 1em 0.7em 0;
  border-bottom: 1px solid color-mix(in srgb, var(--black) 18%, transparent);
  text-align: left;
  vertical-align: top;
}

.privacy-doc th {
  width: 9.5em;
  font-weight: 700;
  white-space: nowrap;
}

.works-doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.8em;
  background: var(--white);
  border: 1px solid var(--black);
  font-size: clamp(0.88rem, 1.15vw, 1.02rem);
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.works-doc th,
.works-doc td {
  width: auto;
  padding: 0.75em 0.9em;
  border: 1px solid var(--black);
  background: var(--white);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
  white-space: normal;
}

.works-doc thead th {
  background: #f4efe6;
  font-weight: 700;
}

.works-doc tbody th {
  width: 9.5em;
  background: #faf8f3;
  font-weight: 700;
  white-space: nowrap;
}

.privacy-doc ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.privacy-doc li {
  margin-bottom: 0.35em;
}

.privacy-doc a,
.works-doc a {
  color: var(--red);
}

.privacy-meta {
  margin: 2.4em 0 0;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

@media (min-width: 901px) and (max-width: 1200px) {
  .works-card {
    padding: 36px;
  }
}

@media (max-width: 900px) {
  .site-nav-toggle {
    top: 0.78rem;
    right: 1.05rem;
  }

  .lang-switch {
    left: 1.05rem;
  }

  .works-home {
    left: 5.8rem;
  }
  .stack-split {
    grid-template-columns: 1fr;
  }

  .stack-split .stack-copy {
    order: -1;
  }

  .stack-split:not(.stack-hero) {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .stack-split:not(.stack-hero) .stack-copy,
  .stack-split:not(.stack-hero) .stack-visual {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 100vh;
  }

  .stack-split:not(.stack-hero) .stack-copy {
    z-index: 1;
    justify-content: flex-start;
  }

  .stack-split:not(.stack-hero) .stack-visual {
    z-index: 2;
  }

  .stack-hero.stack-split {
    height: 50vh;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .stack-hero .stack-visual,
  .stack-hero .stack-copy-hero {
    grid-column: 1;
    grid-row: 1;
  }

  .stack-hero .stack-visual {
    position: relative;
    overflow: hidden;
  }

  .stack-hero .stack-visual video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 165%;
    object-fit: cover;
    object-position: center top;
  }

  .stack-hero .stack-copy {
    order: 0;
    background: transparent;
    justify-content: flex-start;
    align-items: center;
    padding: 5vh 12vw 0;
  }

  .stack-hero .logo {
    width: min(62%, 240px);
  }

  .stack-visual,
  .stack-copy {
    min-height: 0;
  }

  .stack-copy {
    padding: 8vw 9vw;
    justify-content: center;
  }

  .about-copy,
  .stack-text {
    padding: 100px 7vw;
    gap: 4vw;
    overflow-y: auto;
  }

  .stack-split:not(.stack-hero) .stack-copy.stack-service {
    position: relative;
    height: auto;
    min-height: 0;
    padding-bottom: 300px;
    overflow: visible;
  }

  .section-label {
    font-size: clamp(2.4rem, 14vw, 3.6rem);
  }

  .section-heading {
    font-size: clamp(1.15rem, 4.8vw, 1.45rem);
  }

  .section-body,
  .service-item p,
  .company-lines {
    font-size: clamp(0.92rem, 3.6vw, 1.05rem);
  }

  .logo {
    width: min(78%, 320px);
  }

  .stack-contact {
    height: 100vh;
    min-height: 0;
    padding: 6vw 6vw 7vw;
    overflow-y: auto;
  }

  .contact-inner {
    grid-template-columns: auto 1fr;
    gap: 4vw;
    width: 100%;
    align-items: center;
  }

  .stack-contact .section-label {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .contact-form label {
    margin-bottom: 0.65em;
  }

  .contact-form input:not([type="checkbox"]),
  .contact-form textarea {
    margin-top: 0.2em;
    padding: 0.35em 0;
  }

  .contact-form textarea {
    min-height: 4.2em;
  }

  .contact-submit {
    padding: 0.6em 1.2em;
  }

  .contact-status {
    min-height: 0;
    margin: 0.5em 0 0;
  }

  .stack-works,
  .works-page-hero {
    position: relative;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 0;
    height: auto;
    padding: 72px 4vw 300px 3.2vw;
    gap: 3vw;
    overflow: visible;
    align-items: start;
  }

  .stack-works .section-label,
  .works-page-hero .section-label {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .works-grid {
    --works-gap: 8px;
    width: 100%;
    gap: var(--works-gap);
  }

  .works-soon-block {
    margin-top: 2.4em;
    padding-top: 1.8em;
  }

  .works-card {
    --works-icon: clamp(2rem, 9vw, 2.8rem);
    max-width: none;
    padding: 12px 10px 10px;
  }

  .works-card-label {
    font-size: 10px;
    letter-spacing: 0;
    white-space: normal;
    line-height: 1.3;
  }

  .works-card-tag {
    font-size: 8px;
    padding: 0.18em 0.42em;
    letter-spacing: 0.04em;
  }

  .works-filters {
    gap: 0.35em;
    margin: 0 0 1.1em;
  }

  .works-filter {
    font-size: 0.72rem;
    padding: 0.32em 0.58em;
  }

  .works-card-plus {
    width: 1rem;
    height: 1rem;
  }

  .works-card-plus span {
    top: 0.08rem;
    right: 0.1rem;
    font-size: 0.55rem;
  }

  .works-detail {
    padding: 8vh 8vw 10vh;
  }

  .privacy-check {
    margin: 0.15em 0 0.9em;
    font-size: 0.82rem;
  }

  .privacy-shell,
  .works-article-shell {
    grid-template-columns: auto 1fr;
    padding: 88px 7vw 12vh;
    gap: 4vw;
  }

  .works-article-shell .section-label {
    justify-self: start;
  }

  .works-article .stack-contact {
    grid-template-columns: auto 1fr;
    padding: 200px 7vw 12vh;
    gap: 4vw;
    height: auto;
    min-height: 100vh;
  }

  .works-article .stack-contact .section-label {
    justify-self: start;
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .works-doc {
    padding: 0.2rem 0 2rem;
  }

  .privacy-shell .section-label,
  .works-article-shell .section-label {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .privacy-doc th {
    width: 6.2em;
    white-space: normal;
  }

  .works-doc tbody th {
    width: 6.2em;
    white-space: normal;
  }
}
