:root {
  --white: #ffffff;
  --paper: #f5f5f3;
  --line: #c9c9c6;
  --gray: #5e5e5b;
  --ink: #111111;
  --black: #000000;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  overflow-x: clip;
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  text-rendering: optimizeLegibility;
}

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

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

.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  gap: 18px;
  background: var(--white);
  text-align: center;
  animation: loader-away 2.2s 0.3s forwards;
  pointer-events: none;
}

.intro-loader img {
  width: min(470px, 76vw);
  filter: grayscale(1) contrast(1.2);
}

.intro-loader span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

@keyframes loader-away {
  0%,
  65% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 116px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.96);
}

.brand img {
  width: 140px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.3);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:not(.nav-contact) {
  position: relative;
  padding: 12px 0;
}

.desktop-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease-out;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-contact {
  border: 1px solid var(--ink);
  padding: 17px 22px;
  transition: background 180ms ease-out, color 180ms ease-out;
}

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

.nav-instagram {
  white-space: nowrap;
}

.mobile-menu {
  display: none;
}

.hero {
  display: grid;
  min-height: 668px;
  grid-template-columns: 44% 12% 44%;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  padding: 56px clamp(34px, 5.5vw, 92px);
  animation: copy-in 650ms 1.7s both ease-out;
}

@keyframes copy-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow,
.kicker {
  margin: 0 0 24px;
  color: var(--gray);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 6.2vw, 104px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.14;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-lead {
  margin: 34px 0 38px;
  font-size: 17px;
  font-weight: 500;
  line-height: 2;
}

.primary-button,
.outline-button {
  display: flex;
  width: min(380px, 100%);
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 180ms ease-out, background 180ms ease-out, color 180ms ease-out;
}

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

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--black);
  transform: translateY(-3px);
}

.primary-button span,
.outline-button span {
  font-size: 24px;
  transition: transform 180ms ease-out;
}

.primary-button:hover span,
.outline-button:hover span {
  transform: translateX(8px);
}

.hero-slash {
  position: relative;
  z-index: 2;
  margin: -50px -74px -50px -28px;
  border-right: 1px solid var(--gray);
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 52% 100%, 0 100%);
}

.hero-slash i {
  position: absolute;
  width: 62px;
  height: 1px;
  background: var(--gray);
  transform: rotate(54deg);
}

.hero-slash i:nth-child(1) {
  top: 18%;
  right: 15%;
}

.hero-slash i:nth-child(2) {
  top: 30%;
  right: 31%;
  width: 45px;
}

.hero-slash i:nth-child(3) {
  bottom: 29%;
  left: 8%;
}

.hero-slash i:nth-child(4) {
  bottom: 21%;
  left: 30%;
  width: 84px;
}

.hero-slash i:nth-child(5) {
  right: 4%;
  bottom: 12%;
  width: 44px;
}

.hero-image {
  min-height: 668px;
  background: #262626;
  filter: grayscale(1) contrast(1.06);
  transform: scale(1.01);
  animation: image-in 800ms 1.65s both ease-out;
}

@keyframes image-in {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1.01);
  }
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.proof-item {
  display: flex;
  min-height: 96px;
  align-items: center;
  gap: 18px;
  border-right: 1px solid var(--line);
  padding: 20px 30px;
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item span {
  color: var(--gray);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.proof-item strong {
  font-size: 14px;
}

.section-grid {
  display: grid;
  grid-template-columns: 18% 40% 42%;
}

.about-section,
.strength-section,
.company-section {
  padding: 118px 6vw;
}

.section-index {
  align-self: start;
  color: var(--gray);
}

.section-index span {
  display: inline-block;
  margin-bottom: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.section-index p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.section-index.light {
  color: #bdbdb9;
}

.about-heading h2,
.strength-intro h2,
.recruit-copy h2,
.company-section > h2 {
  margin: 0;
  font-size: clamp(44px, 5vw, 82px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.18;
}

.about-copy {
  max-width: 560px;
  padding-top: 44px;
}

.about-copy p,
.strength-intro > p,
.recruit-copy > p {
  margin: 0 0 24px;
  color: #3e3e3c;
  font-size: 16px;
  line-height: 2.1;
}

.process-gallery {
  display: grid;
  min-height: 540px;
  grid-template-columns: 2fr 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-item {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--ink);
}

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

.process-item img {
  width: 100%;
  height: 100%;
  filter: grayscale(1) contrast(1.08);
  object-fit: cover;
  transition: filter 500ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.process-item:hover img {
  filter: grayscale(0.25) contrast(1.02);
  transform: scale(1.035);
}

.process-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  align-items: center;
  background: rgba(0, 0, 0, 0.82);
  color: var(--white);
  padding: 20px 24px;
}

.process-item figcaption span,
.process-item figcaption small {
  color: #aaa;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.process-item figcaption strong {
  font-size: 15px;
}

.labman-section {
  display: grid;
  grid-template-columns: 36% 64%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.labman-visual {
  position: relative;
  display: flex;
  min-height: 470px;
  align-items: flex-end;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, transparent 0 34px, #e5e5e2 35px 36px),
    var(--paper);
  padding: 58px 24px 0;
}

.labman-visual::before {
  position: absolute;
  inset: 6% 7%;
  border: 1px solid var(--line);
  content: "";
}

.labman-visual img {
  position: relative;
  z-index: 1;
  width: 82%;
  height: 80%;
  margin-inline: auto;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(4%);
}

.labman-label {
  position: absolute;
  top: 45px;
  left: 48px;
  z-index: 2;
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
}

.manifesto {
  position: relative;
  margin: 0;
  padding: 64px clamp(42px, 6vw, 94px);
}

.quote-mark {
  position: absolute;
  top: 30px;
  right: 7%;
  color: #ddddda;
  font-family: Georgia, serif;
  font-size: 180px;
  line-height: 1;
}

.manifesto p {
  position: relative;
  margin: 0 0 18px;
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 600;
  line-height: 1.9;
}

.manifesto .manifesto-lead {
  margin-bottom: 26px;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 900;
  line-height: 1.45;
}

.manifesto strong {
  display: block;
  margin: 34px 0 18px;
  font-size: clamp(36px, 4.4vw, 68px);
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.business-section,
.works-section,
.contact-section {
  background: var(--ink);
  color: var(--white);
}

.business-section {
  position: relative;
  overflow: hidden;
  padding: 112px 6vw;
}

.business-guide-character {
  position: absolute;
  top: 28px;
  right: 4vw;
  z-index: 1;
  width: clamp(145px, 15vw, 235px);
  max-height: 300px;
  object-fit: contain;
  opacity: 0.85;
  filter: drop-shadow(0 0 1px #fff);
  pointer-events: none;
}

.business-section .section-title-row,
.business-section .service-grid {
  position: relative;
  z-index: 2;
}

.section-title-row {
  display: grid;
  grid-template-columns: 18% 82%;
  align-items: end;
  margin-bottom: 74px;
}

.section-title-row h2,
.works-head h2 {
  margin: 0;
  font-size: clamp(48px, 6.3vw, 104px);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #454545;
  border-bottom: 1px solid #454545;
}

.service-grid article {
  display: flex;
  min-height: 380px;
  flex-direction: column;
  border-right: 1px solid #454545;
  padding: 40px 38px;
}

.service-grid article:last-child {
  border-right: 0;
}

.service-number {
  color: #969696;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.service-grid h3 {
  margin: 52px 0 26px;
  font-size: clamp(26px, 2.4vw, 38px);
}

.service-grid p {
  margin: 0;
  color: #c8c8c5;
  font-size: 15px;
  line-height: 2;
}

.service-grid a {
  margin-top: auto;
  padding-top: 30px;
  font-weight: 700;
}

.strength-section {
  grid-template-columns: 18% 36% 46%;
}

.strength-intro {
  padding-right: 4vw;
}

.strength-intro > p {
  margin-top: 44px;
}

.strength-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.strength-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

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

.strength-list span {
  color: var(--gray);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.strength-list h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.strength-list p {
  margin: 0;
  color: var(--gray);
  line-height: 1.8;
}

.works-section {
  display: grid;
  min-height: 680px;
  grid-template-columns: 52% 48%;
}

.works-head {
  padding: 100px 6vw;
}

.works-head .section-index {
  margin-bottom: 62px;
}

.works-head > p {
  max-width: 460px;
  margin: 42px 0 0;
  color: #bdbdb9;
  line-height: 2;
}

.works-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-left: 1px solid #454545;
  background: #181818;
}

.works-placeholder .works-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.42;
  filter: grayscale(1) contrast(1.15);
  object-fit: cover;
}

.works-placeholder .works-character {
  position: relative;
  z-index: 2;
  width: min(58%, 440px);
  max-height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
}

.works-placeholder span {
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 3;
  border: 1px solid #818181;
  background: rgba(17, 17, 17, 0.74);
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.recruit-section {
  display: grid;
  grid-template-columns: 62% 38%;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.recruit-copy {
  padding: 64px 7vw;
}

.recruit-copy .section-index {
  margin-bottom: 36px;
}

.recruit-copy .kicker {
  margin-top: 36px;
}

.three-k {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.three-k span,
.three-k strong {
  border: 1px solid var(--ink);
  padding: 12px 16px;
  font-size: 18px;
}

.three-k strong {
  background: var(--ink);
  color: var(--white);
}

.outline-button {
  margin-top: 30px;
  border: 1px solid var(--ink);
}

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

.recruit-character {
  position: relative;
  display: flex;
  min-height: 480px;
  align-items: flex-end;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 49.8%, var(--line) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, var(--line) 50%, transparent 50.2%),
    var(--white);
  background-size: 96px 96px;
}

.recruit-character img {
  width: 84%;
  height: 74%;
  margin-inline: auto;
  object-fit: contain;
  object-position: center bottom;
}

.recruit-character p {
  position: absolute;
  top: 38px;
  left: 50%;
  width: 74%;
  margin: 0;
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 18px 22px;
  font-size: clamp(18px, 1.7vw, 25px);
  font-weight: 900;
  transform: translateX(-50%);
}

.recruit-character p::after {
  position: absolute;
  bottom: -14px;
  left: 20%;
  width: 25px;
  height: 25px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
  content: "";
  transform: rotate(45deg);
}

.company-section {
  grid-template-columns: 18% 32% 50%;
}

.company-list {
  margin: 0;
}

.company-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  border-top: 1px solid var(--line);
  padding: 19px 0;
}

.company-list div:last-child {
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  color: var(--gray);
  font-size: 13px;
}

.company-list dd {
  margin: 0;
  font-weight: 600;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 100px 7vw 0;
  text-align: center;
}

.contact-character {
  position: absolute;
  top: 34px;
  right: 2.5vw;
  width: clamp(120px, 14vw, 220px);
  max-height: 255px;
  object-fit: contain;
  opacity: 0.28;
  filter: grayscale(1) brightness(2.8);
  pointer-events: none;
}

.contact-section > p {
  margin: 0 0 26px;
  color: #a7a7a4;
  font-size: 13px;
  letter-spacing: 0.14em;
}

.contact-section h2 {
  margin: 0 0 76px;
  font-size: clamp(48px, 7vw, 110px);
  letter-spacing: -0.06em;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #454545;
}

.contact-actions a {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #454545;
  transition: background 180ms ease-out, color 180ms ease-out;
}

.contact-actions a:last-child {
  border-right: 0;
}

.contact-actions a:hover {
  background: var(--white);
  color: var(--ink);
}

.contact-actions span {
  margin-bottom: 18px;
  color: #aaa;
  font-size: 13px;
}

.contact-actions strong {
  font-size: clamp(26px, 3vw, 46px);
}

.contact-actions small {
  margin-top: 16px;
}

.site-footer {
  display: grid;
  grid-template-columns: 30% 35% 35%;
  gap: 30px;
  align-items: end;
  border-top: 1px solid var(--line);
  padding: 62px 6vw 28px;
}

.footer-brand img {
  width: 320px;
  filter: grayscale(1) contrast(1.2);
}

.site-footer p {
  margin: 6px 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  font-size: 13px;
  font-weight: 700;
}

.site-footer > small {
  grid-column: 1 / -1;
  margin-top: 34px;
  color: var(--gray);
  font-size: 11px;
}

.subpage-header {
  position: sticky;
  top: 0;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 530px;
  grid-template-columns: 12% 48% 40%;
  align-items: end;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent calc(12% - 1px), var(--line) 12%, transparent calc(12% + 1px)),
    linear-gradient(90deg, transparent calc(60% - 1px), var(--line) 60%, transparent calc(60% + 1px)),
    var(--paper);
  padding: 80px 6vw;
  overflow: hidden;
}

.page-hero-number {
  align-self: start;
  color: var(--gray);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.page-hero > div:nth-child(2) {
  position: relative;
  z-index: 2;
  align-self: end;
}

.page-hero > div:nth-child(2) > p,
.page-kicker {
  margin: 0 0 22px;
  color: var(--gray);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(64px, 8vw, 132px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.98;
  white-space: nowrap;
}

.page-hero-lead {
  position: relative;
  z-index: 2;
  max-width: 240px;
  margin: 0;
  padding-left: clamp(28px, 5vw, 80px);
  color: #3e3e3c;
  font-size: 17px;
  line-height: 2;
}

.page-hero-character {
  position: absolute;
  right: 5vw;
  bottom: -6%;
  z-index: 1;
  width: clamp(170px, 18vw, 280px);
  height: 78%;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
}

.page-hero-character.is-welding {
  right: 2.5vw;
  bottom: -10%;
  width: clamp(230px, 29vw, 440px);
  height: 78%;
}

.page-hero-character.is-cheer {
  width: clamp(160px, 16vw, 240px);
  height: 76%;
}

.business-photo-grid {
  display: grid;
  min-height: 500px;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.business-photo-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.business-photo-grid figure:last-child {
  border-right: 0;
}

.business-photo-grid img {
  width: 100%;
  height: 100%;
  filter: grayscale(1) contrast(1.07);
  object-fit: cover;
  transition: filter 400ms ease, transform 600ms ease;
}

.business-photo-grid figure:hover img {
  filter: grayscale(0.2);
  transform: scale(1.03);
}

.business-photo-grid figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.78);
  color: var(--white);
  padding: 20px 24px;
  font-size: 14px;
  font-weight: 700;
}

.page-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 130px 6vw;
}

.page-services article {
  min-height: 470px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 36px;
}

.page-services article:first-child {
  border-left: 1px solid var(--line);
}

.page-services article > span {
  color: var(--gray);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.page-services h2 {
  margin: 86px 0 32px;
  font-size: clamp(30px, 3vw, 48px);
  letter-spacing: -0.045em;
}

.page-services p {
  margin: 0;
  color: var(--gray);
  line-height: 2;
}

.materials-panel {
  display: grid;
  grid-template-columns: 54% 46%;
  background: var(--ink);
  color: var(--white);
  padding: 130px 6vw;
}

.materials-panel .page-kicker,
.equipment-heading .page-kicker,
.contact-band p {
  color: #aaa;
}

.materials-panel h2,
.equipment-heading h2,
.message-section h2,
.profile-heading h2,
.coming-copy h2,
.recruit-entry h2,
.contact-page-heading h2 {
  margin: 0;
  font-size: clamp(46px, 6vw, 92px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.14;
}

.materials-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.materials-panel li {
  border-top: 1px solid #454545;
  padding: 28px 10px;
  font-size: 22px;
  font-weight: 700;
}

.materials-panel li:last-child {
  border-bottom: 1px solid #454545;
  color: #bdbdb9;
  font-size: 15px;
}

.equipment-section,
.message-section,
.profile-section,
.recruit-entry,
.contact-page-section {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 6vw;
  padding: 130px 6vw;
}

.equipment-heading small {
  display: block;
  margin-top: 26px;
  color: var(--gray);
}

.equipment-table {
  border-top: 1px solid var(--line);
}

.equipment-table div {
  display: grid;
  grid-template-columns: 34% 1fr 64px;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}

.equipment-table strong {
  font-size: 15px;
}

.equipment-table span {
  color: var(--gray);
}

.equipment-table b {
  text-align: right;
}

.contact-band {
  position: relative;
  display: flex;
  min-height: 300px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background: var(--ink);
  color: var(--white);
  padding: 68px 6vw;
  overflow: hidden;
}

.contact-band > div,
.contact-band > a {
  position: relative;
  z-index: 2;
}

.contact-band-character {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  width: clamp(100px, 12vw, 170px);
  max-height: 240px;
  margin-bottom: -68px;
  object-fit: contain;
  filter: drop-shadow(0 0 1px #fff);
}

.contact-band p {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.contact-band h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 74px);
  letter-spacing: -0.055em;
}

.contact-band > a {
  display: flex;
  width: min(350px, 100%);
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #777;
  padding: 0 28px;
  font-weight: 700;
  transition: background 180ms ease-out, color 180ms ease-out;
}

.contact-band > a:hover {
  background: var(--white);
  color: var(--ink);
}

.contact-band > a span {
  font-size: 22px;
}

.works-coming-soon {
  display: grid;
  grid-template-columns: 52% 48%;
  border-bottom: 1px solid var(--line);
}

.coming-visual {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--paper);
  padding: 54px 0 0;
}

.coming-visual .coming-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(1) contrast(1.12) brightness(0.74);
  object-fit: cover;
}

.coming-visual .coming-character {
  position: absolute;
  right: 3%;
  bottom: -3%;
  z-index: 2;
  width: 63%;
  height: 76%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.35));
}

.coming-visual span {
  position: absolute;
  top: 42px;
  left: 42px;
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.coming-copy {
  align-self: center;
  padding: 80px 7vw;
}

.coming-copy > p:not(.page-kicker) {
  margin: 48px 0 0;
  color: var(--gray);
  line-height: 2.1;
}

.process-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.process-strip figure {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

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

.process-strip img {
  width: 100%;
  height: 100%;
  filter: grayscale(1) contrast(1.08);
  object-fit: cover;
}

.process-strip figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.78);
  color: var(--white);
  padding: 20px 28px;
  font-size: 13px;
  font-weight: 700;
}

.company-wide-photo {
  position: relative;
  height: clamp(480px, 58vw, 820px);
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.company-wide-photo img {
  width: 100%;
  height: 100%;
  filter: grayscale(1) contrast(1.08);
  object-fit: cover;
}

.company-wide-photo figcaption {
  position: absolute;
  right: 6vw;
  bottom: 60px;
  max-width: 620px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.74);
  color: var(--white);
  padding: 24px 30px;
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 900;
}

.message-copy p,
.recruit-entry > div:last-child > p,
.contact-page-heading > p:not(.page-kicker) {
  margin: 0 0 26px;
  color: var(--gray);
  font-size: 16px;
  line-height: 2.1;
}

.message-copy strong {
  display: block;
  margin-top: 50px;
  text-align: right;
}

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

.profile-section dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.profile-section dl div {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.profile-section dt {
  color: var(--gray);
  font-size: 13px;
}

.profile-section dd {
  margin: 0;
  font-weight: 600;
}

.recruit-manifesto {
  display: grid;
  grid-template-columns: 46% 54%;
  background: var(--paper);
}

.recruit-man-visual {
  position: relative;
  min-height: 880px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 25%, #fff 0 1px, transparent 2px),
    var(--paper);
  background-size: 24px 24px;
  padding: 90px 20px 0;
}

.recruit-man-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.recruit-man-visual span {
  position: absolute;
  top: 38px;
  left: 38px;
  z-index: 2;
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 11px 17px;
  font-size: 13px;
  font-weight: 700;
}

.recruit-quote {
  align-self: center;
  padding: 80px 7vw;
}

.recruit-quote h2 {
  margin: 0 0 42px;
  font-size: clamp(34px, 4.5vw, 70px);
  letter-spacing: -0.055em;
  line-height: 1.25;
}

.recruit-quote > p:not(.page-kicker) {
  margin: 0 0 18px;
  font-size: clamp(16px, 1.4vw, 21px);
  font-weight: 600;
  line-height: 1.9;
}

.recruit-quote strong {
  display: block;
  margin: 44px 0 24px;
  font-size: clamp(36px, 5vw, 76px);
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.recruit-entry > div:last-child {
  align-self: end;
}

.recruit-work-photo {
  position: relative;
  height: clamp(500px, 62vw, 820px);
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.recruit-work-photo img {
  width: 100%;
  height: 100%;
  filter: grayscale(1) contrast(1.08);
  object-fit: cover;
}

.recruit-work-photo figcaption {
  position: absolute;
  right: 6vw;
  bottom: 8%;
  left: 6vw;
  color: var(--white);
}

.recruit-work-photo figcaption span,
.recruit-work-photo figcaption strong {
  display: block;
}

.recruit-work-photo figcaption span {
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.recruit-work-photo figcaption strong {
  font-size: clamp(42px, 7vw, 110px);
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.contact-page-section {
  grid-template-columns: 42% 58%;
}

.contact-methods {
  border-top: 1px solid var(--line);
}

.contact-methods a {
  position: relative;
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  padding: 28px 70px 28px 28px;
  transition: background 180ms ease-out, color 180ms ease-out;
}

.contact-methods a:hover {
  background: var(--ink);
  color: var(--white);
}

.contact-methods span,
.contact-methods small {
  color: var(--gray);
  font-size: 12px;
}

.contact-methods strong {
  margin: 14px 0;
  overflow-wrap: anywhere;
  font-size: clamp(22px, 2.7vw, 42px);
}

.contact-methods b {
  position: absolute;
  top: 50%;
  right: 28px;
  font-size: 24px;
  transform: translateY(-50%);
}

.contact-note {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  background: var(--paper);
  padding: 70px 6vw;
}

.contact-note > div {
  border-left: 1px solid var(--line);
  padding: 4px 28px;
}

.contact-note span {
  color: var(--gray);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.contact-note div p {
  margin: 26px 0 0;
  font-weight: 700;
  line-height: 1.7;
}

@media (max-width: 1020px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu summary {
    display: grid;
    width: 54px;
    height: 54px;
    place-content: center;
    gap: 8px;
    border: 1px solid var(--ink);
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    width: 22px;
    height: 1px;
    background: var(--ink);
  }

  .mobile-menu nav {
    position: absolute;
    top: 116px;
    right: 0;
    left: 0;
    display: grid;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    padding: 20px 32px 34px;
  }

  .mobile-menu nav a {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
    font-weight: 700;
  }

  .proof-strip {
    grid-template-columns: 1fr 1fr;
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

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

  .section-grid,
  .strength-section,
  .company-section {
    grid-template-columns: 16% 84%;
  }

  .about-copy,
  .strength-list,
  .company-list {
    grid-column: 2;
    margin-top: 54px;
  }

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

  .process-item-large {
    grid-column: 1 / -1;
    min-height: 560px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .labman-section,
  .recruit-section {
    grid-template-columns: 1fr;
  }

  .labman-visual {
    min-height: 420px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .recruit-character {
    min-height: 470px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .service-grid article {
    min-height: 360px;
    border-right: 0;
    border-bottom: 1px solid #454545;
  }

  .service-grid article:last-child {
    border-bottom: 0;
  }

  .works-section {
    grid-template-columns: 1fr;
  }

  .works-placeholder {
    min-height: 480px;
    border-top: 1px solid #454545;
    border-left: 0;
  }

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

  .footer-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .page-hero {
    grid-template-columns: 12% 88%;
  }

  .page-hero-lead {
    grid-column: 2;
    max-width: 420px;
    margin-top: 44px;
    padding-left: 0;
  }

  .page-hero-character {
    right: -2vw;
    height: 64%;
    opacity: 0.34;
  }

  .page-hero-character.is-welding {
    right: -5vw;
    width: 42vw;
    height: 60%;
  }

  .business-photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .business-photo-grid figure {
    min-height: 420px;
  }

  .business-photo-grid figure:last-child {
    grid-column: 1 / -1;
    min-height: 520px;
    border-top: 1px solid var(--line);
  }

  .page-services {
    grid-template-columns: 1fr;
  }

  .page-services article {
    min-height: 360px;
    border-left: 1px solid var(--line);
    border-bottom: 0;
  }

  .page-services article:last-child {
    border-bottom: 1px solid var(--line);
  }

  .materials-panel,
  .equipment-section,
  .message-section,
  .profile-section,
  .recruit-entry,
  .contact-page-section {
    grid-template-columns: 1fr;
  }

  .materials-panel ul,
  .equipment-table,
  .message-copy,
  .profile-section dl,
  .recruit-entry > div:last-child,
  .contact-methods {
    margin-top: 64px;
  }

  .works-coming-soon,
  .recruit-manifesto {
    grid-template-columns: 1fr;
  }

  .coming-visual,
  .recruit-man-visual {
    min-height: 600px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-strip figure {
    min-height: 420px;
  }

  .contact-band-character {
    position: absolute;
    right: 30%;
    bottom: 0;
    width: 160px;
    margin: 0;
    opacity: 0.22;
  }

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

  .contact-note > .page-kicker {
    grid-column: 1 / -1;
    margin-bottom: 40px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 90px;
    padding: 12px 18px;
  }

  .brand img {
    width: 108px;
    height: 62px;
  }

  .mobile-menu summary {
    width: 48px;
    height: 48px;
  }

  .mobile-menu nav {
    top: 90px;
  }

  .hero {
    display: block;
    min-height: 0;
  }

  .hero-copy {
    min-height: 620px;
    padding: 72px 22px 58px;
  }

  .hero h1 {
    font-size: clamp(42px, 12.2vw, 64px);
    line-height: 1.18;
  }

  .hero-slash {
    display: none;
  }

  .hero-image {
    min-height: 470px;
    background-position: 62% center;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: 74px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px 22px;
  }

  .about-section,
  .strength-section,
  .company-section {
    display: block;
    padding: 80px 22px;
  }

  .section-index {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 48px;
  }

  .section-index span {
    margin: 0;
  }

  .section-index p {
    writing-mode: horizontal-tb;
  }

  .about-copy,
  .strength-list,
  .company-list {
    margin-top: 42px;
  }

  .labman-visual {
    min-height: 290px;
    padding: 52px 10px 0;
  }

  .process-gallery {
    display: block;
    min-height: 0;
  }

  .process-item,
  .process-item-large {
    min-height: 360px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .process-item figcaption {
    grid-template-columns: 34px 1fr;
  }

  .process-item figcaption small {
    display: none;
  }

  .labman-label {
    top: 28px;
    left: 24px;
  }

  .manifesto {
    padding: 70px 22px;
  }

  .manifesto strong {
    font-size: 44px;
  }

  .business-section {
    padding: 80px 22px;
  }

  .business-guide-character {
    top: 92px;
    right: -25px;
    width: 140px;
    opacity: 0.3;
  }

  .section-title-row {
    display: block;
  }

  .section-title-row h2 {
    font-size: 54px;
  }

  .service-grid article {
    padding: 32px 24px;
  }

  .works-head,
  .recruit-copy {
    padding: 80px 22px;
  }

  .works-head h2,
  .recruit-copy h2 {
    font-size: 54px;
  }

  .works-placeholder {
    min-height: 350px;
  }

  .works-placeholder .works-character {
    width: 70%;
  }

  .recruit-character {
    min-height: 330px;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-section {
    padding: 76px 22px 0;
  }

  .contact-section h2 {
    margin-bottom: 48px;
  }

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

  .contact-actions a {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid #454545;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 50px 22px 28px;
  }

  .footer-brand img {
    width: 280px;
  }

  .footer-links {
    grid-column: auto;
    flex-direction: column;
    gap: 14px;
  }

  .site-footer > small {
    grid-column: auto;
  }

  .page-hero {
    display: block;
    min-height: 460px;
    background: var(--paper);
    padding: 60px 22px;
  }

  .page-hero-number {
    margin-bottom: 80px;
  }

  .page-hero h1 {
    font-size: clamp(44px, 13.5vw, 86px);
  }

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

  .page-hero-character {
    right: -28px;
    bottom: -12px;
    width: 220px;
    height: 300px;
    opacity: 0.18;
  }

  .page-hero-character.is-welding {
    right: -55px;
    bottom: -26px;
    width: 300px;
    height: 300px;
  }

  .page-hero-character.is-cheer {
    height: 320px;
  }

  .business-photo-grid {
    display: block;
    min-height: 0;
  }

  .business-photo-grid figure,
  .business-photo-grid figure:last-child {
    min-height: 340px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .page-services,
  .materials-panel,
  .equipment-section,
  .message-section,
  .profile-section,
  .recruit-entry,
  .contact-page-section {
    padding: 88px 22px;
  }

  .page-services article {
    min-height: 330px;
    padding: 30px 24px;
  }

  .page-services h2 {
    margin-top: 58px;
  }

  .materials-panel h2,
  .equipment-heading h2,
  .message-section h2,
  .profile-heading h2,
  .coming-copy h2,
  .recruit-entry h2,
  .contact-page-heading h2 {
    font-size: 50px;
  }

  .equipment-table div {
    grid-template-columns: 1fr auto;
    gap: 9px 18px;
  }

  .equipment-table span {
    grid-column: 1;
  }

  .equipment-table b {
    grid-row: 1 / 3;
    grid-column: 2;
    align-self: center;
  }

  .contact-band {
    display: block;
    padding: 72px 22px;
  }

  .contact-band-character {
    right: -16px;
    width: 125px;
    opacity: 0.18;
  }

  .contact-band > a {
    margin-top: 46px;
  }

  .coming-visual,
  .recruit-man-visual {
    min-height: 430px;
  }

  .coming-visual .coming-character {
    width: 74%;
    height: 70%;
  }

  .process-strip {
    display: block;
  }

  .process-strip figure {
    min-height: 340px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .company-wide-photo,
  .recruit-work-photo {
    height: 430px;
  }

  .company-wide-photo figcaption {
    right: 22px;
    bottom: 22px;
    left: 22px;
    padding: 18px 20px;
  }

  .coming-copy,
  .recruit-quote {
    padding: 78px 22px;
  }

  .recruit-quote strong {
    font-size: 44px;
  }

  .profile-section dl div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-methods a {
    min-height: 155px;
    padding-left: 20px;
  }

  .contact-note {
    display: block;
    padding: 66px 22px;
  }

  .contact-note > div {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 24px 0;
  }

  .contact-note > div:last-child {
    border-bottom: 1px solid var(--line);
  }
}

/* WordPress theme integration. The reference component classes above remain
   the visual contract; these rules only bridge the shared WordPress shell. */
.renewal-page {
  width: 100%;
  overflow: clip;
}

.renewal-page img,
.page-hero img {
  height: auto;
}

.works-archive-toolbar nav a {
  color: inherit;
  text-decoration: none;
}

.works-empty {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 48px 0;
}

.contact-form-plugin {
  display: block;
}

.contact-form-plugin .wpcf7,
.contact-form-plugin .wpcf7-form {
  width: 100%;
}

.contact-form-plugin .wpcf7-form p {
  margin: 0 0 22px;
}

.contact-form-plugin input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.contact-form-plugin select,
.contact-form-plugin textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  padding: 16px;
  color: var(--ink);
  font: inherit;
}

.contact-form-plugin input[type="submit"] {
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  padding: 19px 24px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

body.home .ml-site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  transform: translateY(-110%);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

body.home.ml-top-header-visible .ml-site-header {
  transform: translateY(0);
}

body.home .hero-slider {
  min-height: 100svh;
}

/* Contact Form 7: input, confirmation and completion screens. */
.contact-form-plugin,
.contact-form-plugin * {
  box-sizing: border-box;
}

.contact-form-plugin .wpcf7,
.contact-form-plugin .wpcf7-form {
  min-width: 0;
  max-width: 100%;
}

.contact-form-plugin .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}

.contact-form-plugin .wpcf7-form > p {
  min-width: 0;
  margin: 0;
}

.contact-form-plugin .wpcf7-form > p:nth-of-type(n + 5),
.contact-form-plugin .wpcf7-form > .wpcf7-response-output,
.contact-form-plugin .wpcf7-form > .ml-cf7-grid,
.contact-form-plugin .wpcf7-form > .ml-cf7-confirm-list,
.contact-form-plugin .wpcf7-form > .ml-cf7-confirm-actions {
  grid-column: 1 / -1;
}

.contact-form-plugin label {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.contact-form-plugin .red,
.contact-form-plugin .blue {
  display: inline-flex;
  align-items: center;
  margin-left: 7px;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  vertical-align: middle;
}

.contact-form-plugin .red {
  background: var(--ink);
  color: var(--white);
}

.contact-form-plugin .blue {
  background: #e8e8e5;
  color: var(--gray);
}

.contact-form-plugin .wpcf7-form-control-wrap {
  display: block;
  min-width: 0;
  margin-top: 12px;
}

.contact-form-plugin .wpcf7-text,
.contact-form-plugin .wpcf7-email,
.contact-form-plugin .wpcf7-tel,
.contact-form-plugin .wpcf7-textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 17px 16px;
  font: inherit;
  line-height: 1.6;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.contact-form-plugin .wpcf7-textarea {
  min-height: 220px;
  resize: vertical;
}

.contact-form-plugin .wpcf7-text:hover,
.contact-form-plugin .wpcf7-email:hover,
.contact-form-plugin .wpcf7-tel:hover,
.contact-form-plugin .wpcf7-textarea:hover {
  border-color: #777;
}

.contact-form-plugin .wpcf7-text:focus,
.contact-form-plugin .wpcf7-email:focus,
.contact-form-plugin .wpcf7-tel:focus,
.contact-form-plugin .wpcf7-textarea:focus {
  border-color: var(--ink);
  outline: 3px solid rgba(17, 17, 17, 0.13);
  outline-offset: 2px;
}

.contact-form-plugin .wpcf7-checkbox {
  display: block;
}

.contact-form-plugin .wpcf7-list-item {
  display: block;
  margin: 0;
}

.contact-form-plugin .wpcf7-checkbox label,
.contact-form-plugin label.policy {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  background: #f7f7f5;
  padding: 13px 16px;
  cursor: pointer;
}

.contact-form-plugin .wpcf7-checkbox input[type="checkbox"] {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--ink);
}

.contact-form-plugin .wpcf7-list-item-label,
.contact-form-plugin .wpcf7-form-control-wrap,
.contact-confirm-form .wpcf7-form-control-wrap,
.contact-confirm-form output {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-privacy-link {
  margin: 22px 0 0;
  color: var(--gray);
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

.contact-privacy-link a {
  margin: 0 0.25em;
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form-plugin .wpcf7-submit,
.contact-form-plugin .wpcf7-previous,
.contact-form-plugin input[type="button"] {
  min-width: min(100%, 240px);
  min-height: 60px;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 16px 24px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.contact-form-plugin .wpcf7-submit {
  background: var(--ink);
  color: var(--white);
}

.contact-form-plugin .wpcf7-previous,
.contact-form-plugin input[type="button"] {
  background: var(--white);
  color: var(--ink);
}

.contact-form-plugin .wpcf7-submit:hover,
.contact-form-plugin .wpcf7-submit:focus-visible {
  background: #444;
}

.contact-form-plugin .wpcf7-previous:hover,
.contact-form-plugin .wpcf7-previous:focus-visible,
.contact-form-plugin input[type="button"]:hover,
.contact-form-plugin input[type="button"]:focus-visible {
  background: #ececea;
}

.contact-form-plugin .wpcf7-submit:focus-visible,
.contact-form-plugin .wpcf7-previous:focus-visible,
.contact-form-plugin input[type="button"]:focus-visible,
.contact-form-plugin .wpcf7-checkbox label:focus-within {
  outline: 3px solid rgba(17, 17, 17, 0.18);
  outline-offset: 3px;
}

.contact-form-plugin .wpcf7-submit:disabled,
.contact-form-plugin .wpcf7-previous:disabled,
.contact-form-plugin input[type="button"]:disabled,
.contact-form-plugin .wpcf7-form.submitting .wpcf7-submit {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.contact-form-plugin .wpcf7-form.submitting {
  cursor: progress;
}

.contact-form-plugin .wpcf7-spinner {
  margin: 12px 0 0 14px;
  vertical-align: middle;
}

.contact-form-plugin .wpcf7-not-valid {
  border-color: #a33;
  background: #fff8f8;
}

.contact-form-plugin .wpcf7-not-valid-tip {
  margin-top: 8px;
  color: #8d2020;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.contact-form-plugin .wpcf7-response-output {
  margin: 4px 0 0 !important;
  border: 1px solid var(--ink) !important;
  padding: 15px 18px !important;
  font-size: 13px;
  line-height: 1.8;
}

.contact-form-plugin .wpcf7-form.invalid .wpcf7-response-output {
  border-color: #8d2020 !important;
  background: #fff8f8;
  color: #711818;
}

.contact-form-plugin .wpcf7-form.sent .wpcf7-response-output {
  background: var(--ink);
  color: var(--white);
}

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

.ml-cf7-field,
.ml-cf7-policy,
.ml-cf7-actions {
  min-width: 0;
}

.ml-cf7-field.is-wide,
.ml-cf7-policy,
.ml-cf7-actions {
  grid-column: 1 / -1;
}

.ml-cf7-policy {
  margin-top: 4px;
}

.ml-cf7-actions,
.ml-cf7-confirm-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.contact-confirm-form .wpcf7-form {
  display: block;
}

.contact-confirm-form .wpcf7-form > p,
.ml-cf7-confirm-row {
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.contact-confirm-form .wpcf7-form > p:first-of-type,
.ml-cf7-confirm-list {
  border-top: 1px solid var(--line);
}

.contact-confirm-form .wpcf7-form > p > label,
.ml-cf7-confirm-row {
  display: grid;
  min-width: 0;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-confirm-form .wpcf7-form > p > label > .wpcf7-form-control-wrap,
.contact-confirm-form .wpcf7-form > p > label > output,
.ml-cf7-confirm-value {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.contact-confirm-form .wpcf7-form > p:has(.wpcf7-submit),
.contact-confirm-form .wpcf7-form > p:has(.wpcf7-previous),
.contact-confirm-form .wpcf7-form > p:has(input[type="button"]) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-bottom: 0;
  padding-top: 36px;
}

.contact-completion-section {
  display: grid;
  grid-template-columns: minmax(0, 64fr) minmax(280px, 36fr);
  min-height: 650px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.contact-completion-copy {
  align-self: center;
  padding: 110px 8vw;
}

.contact-completion-copy h2 {
  max-width: 12em;
  margin: 0;
  font-size: clamp(48px, 6vw, 92px);
  letter-spacing: -0.06em;
  line-height: 1.12;
}

.contact-completion-text {
  margin: 42px 0 0;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 2;
}

.contact-completion-note {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.9;
}

.contact-completion-copy .primary-button {
  margin-top: 44px;
}

.contact-completion-character {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, transparent 0 32px, #e4e4e1 33px 34px);
  padding: 48px 28px 0;
}

.contact-completion-character img {
  width: min(290px, 88%);
  max-height: 510px;
  object-fit: contain;
  object-position: center bottom;
}

.contact-completion-character span {
  position: absolute;
  top: 44px;
  left: 28px;
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.br_sp {
  display: none;
}

@media (max-width: 1020px) {
  .contact-completion-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-completion-character {
    min-height: 360px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .contact-form-plugin .wpcf7-form,
  .ml-cf7-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form.contact-form-plugin {
    width: 100%;
    min-width: 0;
    margin-top: 40px;
    padding: 24px 18px;
  }

  .contact-form-plugin .wpcf7-form > p,
  .ml-cf7-field,
  .ml-cf7-policy,
  .ml-cf7-actions {
    grid-column: 1;
  }

  .contact-form-plugin .wpcf7-textarea {
    min-height: 190px;
  }

  .contact-form-plugin .wpcf7-checkbox label,
  .contact-form-plugin label.policy {
    align-items: flex-start;
  }

  .contact-form-plugin .wpcf7-submit,
  .contact-form-plugin .wpcf7-previous,
  .contact-form-plugin input[type="button"] {
    width: 100%;
    min-width: 0;
    min-height: 62px;
  }

  .contact-confirm-form .wpcf7-form > p > label,
  .ml-cf7-confirm-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .contact-confirm-form .wpcf7-form > p:has(.wpcf7-submit),
  .contact-confirm-form .wpcf7-form > p:has(.wpcf7-previous),
  .contact-confirm-form .wpcf7-form > p:has(input[type="button"]),
  .ml-cf7-confirm-actions {
    flex-direction: column;
  }

  .contact-confirm-form .wpcf7-previous,
  .contact-confirm-form input[type="button"] {
    order: 1;
  }

  .contact-confirm-form .wpcf7-submit {
    order: 2;
  }

  .contact-completion-section {
    min-height: 0;
  }

  .contact-completion-copy {
    padding: 80px 22px;
  }

  .contact-completion-copy h2 {
    font-size: clamp(38px, 11.4vw, 46px);
    line-height: 1.18;
  }

  .contact-completion-text {
    margin-top: 32px;
    font-size: 16px;
  }

  .contact-completion-copy .primary-button {
    width: 100%;
  }

  .contact-completion-character {
    min-height: 290px;
  }

  .contact-completion-character img {
    width: 170px;
    max-height: 270px;
  }

  .br_sp {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-form-plugin *,
  .contact-completion-section * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 1020px) {
  .recruit-manifesto,
  .labman-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .recruit-quote,
  .recruit-man-visual,
  .manifesto,
  .labman-visual {
    min-width: 0;
    width: 100%;
  }
}

.admin-bar.home .ml-site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar.home .ml-site-header {
    top: 46px;
  }
}

@media (max-width: 720px) {
  body.home .ml-site-header {
    transform: none;
  }

  body.home .ml-site-content,
  body.admin-bar.home .ml-site-content {
    padding-top: 0;
  }

  body.home .hero-slider {
    min-height: 100svh;
  }

  .contact-form-plugin {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .ml-site-header,
  .hero-slide,
  .hero-slide-photo,
  .play-ticker > div {
    animation: none !important;
    transition: none !important;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }

  .intro-loader {
    display: none;
  }
}

/* 2026 renewal: photo-led heroes and playful workshop details */

.hero-slider {
  position: relative;
  min-height: clamp(650px, calc(100svh - 116px), 840px);
  overflow: hidden;
  background: #111;
  color: #fff;
}

.hero-slider-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-media,
.hero-slide-photo,
.hero-slide-shade,
.hero-slide-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide-photo {
  filter: grayscale(1) contrast(1.08);
  object-fit: cover;
  transform: scale(1.035);
  transition: transform 7.5s cubic-bezier(0.18, 0.72, 0.28, 1);
}

.hero-slide-media {
  display: block;
  overflow: hidden;
}

.hero-slide.is-active .hero-slide-photo {
  transform: scale(1);
}

.hero-slide-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.64) 42%, rgba(0, 0, 0, 0.1) 78%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.66) 0%, transparent 43%);
}

.hero-slide-grid {
  opacity: 0.22;
  background:
    linear-gradient(90deg, transparent calc(25% - 1px), rgba(255, 255, 255, 0.3) 25%, transparent calc(25% + 1px)),
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.3) 50%, transparent calc(50% + 1px)),
    linear-gradient(90deg, transparent calc(75% - 1px), rgba(255, 255, 255, 0.3) 75%, transparent calc(75% + 1px));
}

.hero-slide-copy {
  position: absolute;
  top: 50%;
  left: 6vw;
  z-index: 3;
  width: min(760px, 58vw);
  transform: translateY(-52%);
}

.hero-slide-eyebrow {
  display: inline-flex;
  margin: 0 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(0, 0, 0, 0.28);
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero-slide h1 {
  max-width: 11em;
  margin: 0;
  font-size: clamp(55px, 7.3vw, 118px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1.03;
  text-wrap: balance;
}

.hero-slide h1 span {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.hero-slide-lead {
  max-width: 580px;
  margin: 30px 0 0;
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 600;
  line-height: 1.95;
  text-wrap: pretty;
}

.hero-slide-actions {
  display: flex;
  gap: 12px;
  margin-top: 38px;
}

.hero-primary,
.hero-secondary {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 0 24px;
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.hero-primary {
  width: min(310px, 100%);
  background: #fff;
  color: #111;
}

.hero-secondary {
  width: min(220px, 100%);
  background: rgba(0, 0, 0, 0.28);
}

.hero-primary:hover,
.hero-secondary:hover {
  background: #111;
  color: #fff;
  transform: translateY(-3px);
}

.hero-character-wrap {
  position: absolute;
  right: clamp(34px, 5vw, 90px);
  bottom: 74px;
  z-index: 4;
  width: clamp(150px, 16vw, 250px);
  transform: rotate(2deg);
}

.hero-character-wrap img {
  width: 100%;
  max-height: 330px;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.55));
  object-fit: contain;
}

.hero-character-wrap span {
  position: absolute;
  right: 72%;
  bottom: 72%;
  width: max-content;
  max-width: 270px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  padding: 12px 15px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
  transform: rotate(-3deg);
}

.hero-character-wrap span::after {
  position: absolute;
  right: 18px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  border-right: 1px solid #111;
  border-bottom: 1px solid #111;
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

.hero-controls {
  position: absolute;
  right: 6vw;
  bottom: 24px;
  left: 6vw;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-controls > button {
  display: grid;
  width: 42px;
  height: 42px;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.24);
  color: #fff;
  cursor: pointer;
}

.hero-dots {
  display: flex;
  width: min(360px, 42vw);
  gap: 8px;
}

.hero-dots button {
  display: grid;
  flex: 1;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.hero-dots i {
  position: relative;
  display: block;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.36);
}

.hero-dots i::after {
  position: absolute;
  inset: 0;
  background: #fff;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
}

.hero-dots button.is-active {
  color: #fff;
}

.hero-dots button.is-active i::after {
  animation: hero-progress 6.2s linear;
}

@keyframes hero-progress {
  to {
    transform: scaleX(1);
  }
}

.hero-scroll {
  position: absolute;
  right: -45px;
  top: 50%;
  z-index: 5;
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.28em;
  transform: rotate(90deg);
}

.play-ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.play-ticker > div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 30px;
  padding: 15px 0;
  animation: ticker-run 28s linear infinite;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.play-ticker i {
  color: #9b9b98;
  font-size: 8px;
  font-style: normal;
}

.play-ticker strong {
  border: 1px solid #111;
  background: #111;
  color: #fff;
  padding: 6px 10px;
}

@keyframes ticker-run {
  to {
    transform: translateX(-50%);
  }
}

.about-heading h2,
.strength-intro h2,
.recruit-copy h2,
.company-section > h2,
.section-title-row h2,
.works-head h2,
.materials-panel h2,
.equipment-heading h2,
.message-section h2,
.profile-heading h2,
.coming-copy h2,
.recruit-entry h2,
.contact-page-heading h2 {
  max-width: 12em;
  text-wrap: balance;
}

.manifesto p,
.manifesto strong,
.recruit-quote h2,
.recruit-quote p,
.recruit-quote strong {
  text-wrap: pretty;
}

.page-hero.page-hero-photo {
  --hero-photo-desktop: none;
  --hero-photo-mobile: var(--hero-photo-desktop);
  --hero-photo: var(--hero-photo-desktop);
  isolation: isolate;
  min-height: 590px;
  grid-template-columns: 14% 51% 35%;
  align-items: end;
  background: #171717 var(--hero-photo) center / cover no-repeat;
  color: #fff;
  padding: 72px 6vw 68px;
}

@media (max-width: 767px) {
  .page-hero.page-hero-photo {
    --hero-photo: var(--hero-photo-mobile);
  }
}

.page-hero-photo::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-photo) center / cover no-repeat;
  content: "";
  filter: grayscale(1) contrast(1.08);
  transform: scale(1.01);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.5) 56%, rgba(0, 0, 0, 0.2)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 64%);
}

.page-hero-number {
  position: relative;
  z-index: 2;
  align-self: start;
  color: #fff;
}

.page-hero-number span,
.page-hero-number small {
  display: block;
}

.page-hero-number span {
  font-size: 16px;
}

.page-hero-number small {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 9px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.page-hero-title {
  position: relative;
  z-index: 3;
  align-self: end;
}

.page-hero-title > p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.page-hero.page-hero-photo h1 {
  max-width: 7em;
  color: #fff;
  font-size: clamp(62px, 8.5vw, 136px);
  white-space: normal;
  text-wrap: balance;
}

.page-hero.page-hero-photo .page-hero-lead {
  max-width: 320px;
  padding: 0 0 0 2vw;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.95;
  text-wrap: pretty;
}

.page-hero.page-hero-photo .page-hero-character {
  position: absolute;
  top: auto;
  left: auto;
  right: 4.5vw;
  bottom: -22px;
  z-index: 3;
  width: clamp(130px, 15vw, 230px);
  height: auto;
  opacity: 1;
  transform: rotate(2deg);
}

.page-hero.page-hero-photo .page-hero-character.is-welding {
  right: 2vw;
  bottom: -30px;
  width: clamp(210px, 25vw, 390px);
  height: auto;
}

.page-hero.page-hero-photo .page-hero-character.is-cheer {
  width: clamp(125px, 13vw, 205px);
  height: auto;
}

.page-hero-character img {
  width: 100%;
  max-height: 310px;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.52));
  object-fit: contain;
}

.page-hero-character span {
  position: absolute;
  right: 76%;
  bottom: 78%;
  width: max-content;
  max-width: 230px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
  transform: rotate(-4deg);
}

.page-hero-character span::after {
  position: absolute;
  right: 15px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  border-right: 1px solid #111;
  border-bottom: 1px solid #111;
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

.page-hero-scroll {
  position: absolute;
  right: 20px;
  top: 50%;
  z-index: 3;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  letter-spacing: 0.28em;
  transform: rotate(90deg);
}

.business-intro {
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  gap: 7vw;
  padding: 120px 6vw;
}

.business-intro h2,
.sdgs-section h2,
.contact-flow h2 {
  max-width: 10em;
  margin: 0;
  font-size: clamp(42px, 5.5vw, 86px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.14;
  text-wrap: balance;
}

.business-intro > div:last-child > p,
.sdgs-section > div:last-child > p {
  margin: 0 0 24px;
  color: var(--gray);
  font-size: 16px;
  line-height: 2.1;
}

.business-intro ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.business-intro li {
  border: 1px solid var(--ink);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
}

.company-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-principles > div {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  padding: 32px;
}

.company-principles > div:last-child {
  border-right: 0;
}

.company-principles span {
  color: var(--gray);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.company-principles p {
  margin: 95px 0 18px;
  font-size: clamp(36px, 4vw, 62px);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.company-principles small {
  color: var(--gray);
  line-height: 1.8;
}

.company-principles .principle-lead {
  background: #111;
  color: #fff;
}

.company-principles .principle-lead span,
.company-principles .principle-lead small {
  color: #aaa;
}

.company-principles .principle-character {
  display: flex;
  align-items: flex-end;
  background:
    repeating-linear-gradient(135deg, transparent 0 28px, #e7e7e4 29px 30px),
    var(--paper);
}

.principle-character img {
  position: absolute;
  right: 4%;
  bottom: -4%;
  width: 68%;
  height: 82%;
  object-fit: contain;
}

.principle-character strong {
  position: relative;
  z-index: 2;
  border: 1px solid #111;
  background: #fff;
  padding: 13px 15px;
  font-size: 13px;
  transform: rotate(-3deg);
}

.sdgs-section {
  display: grid;
  grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  align-items: center;
  gap: 7vw;
  background: #111;
  color: #fff;
  padding: 110px 6vw;
}

.sdgs-mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(360px, 100%);
  aspect-ratio: 1;
  border: 1px solid #666;
  transform: rotate(-3deg);
}

.sdgs-mark span {
  display: grid;
  place-content: center;
  border-right: 1px solid #666;
  border-bottom: 1px solid #666;
  font-size: clamp(54px, 8vw, 110px);
  font-weight: 900;
}

.sdgs-mark span:nth-child(even) {
  border-right: 0;
}

.sdgs-mark span:nth-child(n + 3) {
  border-bottom: 0;
}

.sdgs-section .page-kicker,
.sdgs-section > div:last-child > p,
.sdgs-section small {
  color: #bdbdb9;
}

.sdgs-section small {
  display: block;
  margin-top: 34px;
  line-height: 1.8;
}

.recruit-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.recruit-values article {
  min-height: 360px;
  border-right: 1px solid var(--line);
  padding: 38px 4vw;
}

.recruit-values article:last-child {
  border-right: 0;
  background: #111;
  color: #fff;
}

.recruit-values span {
  color: var(--gray);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.recruit-values h2 {
  margin: 90px 0 24px;
  font-size: clamp(36px, 4.4vw, 68px);
  letter-spacing: -0.06em;
}

.recruit-values p {
  max-width: 330px;
  margin: 0;
  color: var(--gray);
  line-height: 1.9;
}

.recruit-values article:last-child span,
.recruit-values article:last-child p {
  color: #aaa;
}

.contact-flow {
  display: grid;
  grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  gap: 7vw;
  background: #111;
  color: #fff;
  padding: 110px 6vw;
}

.equipment-section,
.message-section,
.profile-section,
.recruit-entry {
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
}

.contact-page-section {
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
}

.contact-flow .page-kicker,
.contact-flow li p,
.contact-flow li > span {
  color: #aaa;
}

.contact-flow ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid #505050;
  list-style: none;
}

.contact-flow li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  border-bottom: 1px solid #505050;
  padding: 28px 0;
}

.contact-flow li > span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.contact-flow li strong {
  font-size: 21px;
}

.contact-flow li p {
  margin: 12px 0 0;
  line-height: 1.8;
}

@media (max-width: 1020px) {
  .hero-slide-copy {
    width: min(720px, 74vw);
  }

  .hero-character-wrap {
    right: 24px;
    width: 180px;
    opacity: 0.9;
  }

  .hero-character-wrap span {
    right: 48%;
  }

  .page-hero.page-hero-photo {
    grid-template-columns: 14% 86%;
  }

  .page-hero.page-hero-photo .page-hero-lead {
    grid-column: 2;
    max-width: 500px;
    margin-top: 32px;
    padding: 0;
  }

  .page-hero.page-hero-photo .page-hero-character {
    right: 2vw;
  }

  .business-intro,
  .sdgs-section,
  .contact-flow {
    grid-template-columns: 1fr;
  }

  .business-intro > div:last-child,
  .sdgs-section > div:last-child,
  .contact-flow ol {
    margin-top: 54px;
  }

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

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

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

@media (max-width: 720px) {
  .hero-slider {
    min-height: 700px;
  }

  .hero-slide-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.35)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent 70%);
  }

  .hero-slide-copy {
    top: 45%;
    left: 22px;
    width: calc(100% - 44px);
    transform: translateY(-50%);
  }

  .hero-slide-eyebrow {
    max-width: 86%;
    margin-bottom: 22px;
    padding: 8px 10px;
    font-size: 10px;
    line-height: 1.6;
  }

  .hero-slide h1 {
    max-width: 8em;
    font-size: clamp(42px, 13vw, 64px);
    line-height: 1.08;
  }

  .hero-slide-lead {
    max-width: 90%;
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-slide-actions {
    display: grid;
    width: min(340px, 88%);
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .hero-primary,
  .hero-secondary {
    width: 100%;
    min-height: 56px;
  }

  .hero-character-wrap {
    right: -18px;
    bottom: 78px;
    width: 130px;
    opacity: 0.7;
  }

  .hero-character-wrap span {
    display: none;
  }

  .hero-controls {
    right: 22px;
    bottom: 18px;
    left: 22px;
    gap: 9px;
  }

  .hero-controls > button {
    width: 38px;
    height: 38px;
  }

  .hero-dots {
    width: auto;
    flex: 1;
  }

  .hero-scroll {
    display: none;
  }

  .play-ticker > div {
    gap: 20px;
    font-size: 11px;
  }

  .page-hero.page-hero-photo {
    display: block;
    min-height: 500px;
    padding: 48px 22px 46px;
  }

  .page-hero-number {
    margin-bottom: 88px;
  }

  .page-hero-number small {
    display: none;
  }

  .page-hero.page-hero-photo h1 {
    max-width: 6.5em;
    font-size: clamp(48px, 14vw, 76px);
    line-height: 1.02;
  }

  .page-hero.page-hero-photo .page-hero-lead {
    max-width: calc(100% - 150px);
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.75;
  }

  .page-hero.page-hero-photo .page-hero-character,
  .page-hero.page-hero-photo .page-hero-character.is-welding,
  .page-hero.page-hero-photo .page-hero-character.is-cheer {
    top: auto;
    right: -32px;
    bottom: -8px;
    width: 145px;
    height: auto;
    opacity: 0.82;
  }

  .page-hero.page-hero-photo .page-hero-character.is-welding {
    right: -58px;
    width: 230px;
  }

  .page-hero-character span {
    display: none;
  }

  .page-hero-scroll {
    display: none;
  }

  .business-intro,
  .sdgs-section,
  .contact-flow {
    padding: 84px 22px;
  }

  .business-intro h2,
  .sdgs-section h2,
  .contact-flow h2 {
    font-size: 48px;
  }

  .company-principles,
  .recruit-values {
    display: block;
  }

  .company-principles > div,
  .company-principles > div:nth-child(2),
  .recruit-values article {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .company-principles > div:last-child,
  .recruit-values article:last-child {
    border-bottom: 0;
  }

  .company-principles p,
  .recruit-values h2 {
    margin-top: 70px;
  }

  .sdgs-mark {
    width: min(280px, 88%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide-photo {
    transform: none;
  }

  .hero-dots button.is-active i::after {
    animation: none;
    transform: scaleX(1);
  }

  .play-ticker > div {
    animation: none;
  }
}

/* 2026 renewal: content-first lower pages, recruiting sample, form mock, shared SDGs */

.sample-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.works-coming-soon {
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
}

.coming-copy {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.coming-visual {
  min-height: 650px;
  border-right: 0;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 49.85%, var(--line) 50%, transparent 50.15%),
    linear-gradient(0deg, transparent 49.85%, var(--line) 50%, transparent 50.15%),
    var(--paper);
  background-size: 86px 86px;
}

.coming-visual .coming-character {
  right: 5%;
  bottom: -2%;
  width: 86%;
  height: 82%;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.16));
}

.coming-visual b {
  position: absolute;
  right: -20px;
  bottom: 26px;
  color: rgba(17, 17, 17, 0.08);
  font-size: clamp(48px, 7vw, 110px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.82;
  writing-mode: vertical-rl;
}

.recruit-manifesto {
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
}

.recruit-man-visual {
  min-height: 780px;
  border-right: 0;
  border-left: 1px solid var(--line);
}

.job-opening {
  display: grid;
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  gap: 6vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 120px 6vw;
}

.job-opening-heading {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding-right: 4vw;
}

.job-opening-heading .sample-badge,
.contact-form-heading .sample-badge {
  margin: 20px 0 28px;
}

.job-opening-heading h2,
.contact-form-heading h2 {
  max-width: 9em;
  margin: 0;
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.08;
  text-wrap: balance;
}

.job-opening-heading > p:not(.page-kicker),
.contact-form-heading > p:not(.page-kicker) {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 36px 0 0;
  color: var(--gray);
  line-height: 2;
}

.job-opening-heading > small,
.contact-form-heading > small {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 580px;
  margin-top: 28px;
  color: var(--gray);
  font-size: 11px;
  line-height: 1.8;
}

.job-opening-heading > img {
  position: absolute;
  right: -3%;
  bottom: -5%;
  width: min(240px, 48%);
  opacity: 0.72;
}

.job-details {
  align-self: start;
  margin: 0;
  border-top: 1px solid var(--line);
}

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

.job-details dt {
  color: var(--gray);
  font-size: 12px;
  font-weight: 700;
}

.job-details dd {
  margin: 0;
  font-weight: 600;
  line-height: 1.8;
}

.equipment-heading {
  position: relative;
  overflow: hidden;
}

.equipment-character {
  display: block;
  width: min(190px, 44%);
  margin: 42px 0 -70px auto;
  opacity: 0.32;
}

.contact-form-section {
  display: grid;
  grid-template-columns: minmax(0, 34fr) minmax(0, 66fr);
  gap: 5vw;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 120px 6vw;
}

.contact-form-heading {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  padding-right: 2vw;
}

.contact-form-heading > img {
  position: absolute;
  right: 0;
  bottom: -7%;
  width: min(250px, 64%);
  opacity: 0.22;
}

.contact-input-form-heading > img {
  opacity: 0.72;
}

.contact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px 24px;
  align-self: start;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 42px;
}

.form-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-field-wide,
.form-consent,
.form-submit {
  grid-column: 1 / -1;
}

.form-field > label,
.form-contact-method > legend {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.form-field label > span {
  display: inline-flex;
  margin-left: 6px;
  background: var(--ink);
  color: var(--white);
  padding: 3px 7px;
  font-size: 9px;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.form-field label > small {
  margin-left: 5px;
  color: var(--gray);
  font-size: 10px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="file"],
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #c7c7c3;
  border-radius: 0;
  background: #fafaf8;
  color: var(--ink);
  font: inherit;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select {
  min-height: 58px;
  padding: 0 16px;
}

.form-field textarea {
  min-height: 200px;
  padding: 16px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.form-contact-method {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.form-contact-method > legend {
  width: 100%;
}

.form-contact-method label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
}

.form-contact-method input,
.form-consent input {
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}

.form-upload input {
  padding: 14px;
}

.form-upload > small {
  display: block;
  margin-top: 9px;
  color: var(--gray);
  font-size: 10px;
}

.form-consent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  font-size: 13px;
  font-weight: 700;
}

.form-consent a {
  border-bottom: 1px solid currentColor;
}

.form-submit {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  padding: 0 26px;
  font-size: 15px;
  font-weight: 800;
  cursor: default;
}

.form-submit span {
  font-size: 22px;
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 90px 7vw;
  padding: 118px 6vw 132px;
}

.privacy-heading {
  position: sticky;
  top: 126px;
  align-self: start;
}

.privacy-heading h2 {
  max-width: 8em;
  margin: 0;
  font-size: clamp(42px, 4.8vw, 72px);
  letter-spacing: -0.06em;
  line-height: 1.08;
  text-wrap: balance;
}

.privacy-heading > p:last-child {
  max-width: 480px;
  margin: 34px 0 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 2;
}

.privacy-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 32px 0 36px;
}

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

.privacy-list li > span {
  padding-top: 5px;
  color: var(--gray);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.privacy-list h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.035em;
}

.privacy-list p {
  max-width: 760px;
  margin: 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 2;
}

.privacy-contact {
  grid-column: 2;
  border: 1px solid var(--ink);
  background: #f4f4f1;
  padding: 42px 46px;
}

.privacy-contact h2 {
  margin: 0 0 24px;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.045em;
}

.privacy-contact > p:not(.page-kicker) {
  margin: 7px 0;
  font-size: 13px;
  line-height: 1.7;
}

.privacy-contact small {
  display: block;
  margin-top: 24px;
  color: var(--gray);
  font-size: 10px;
}

.site-footer {
  display: block;
  width: 100%;
  padding: 0;
  overflow: clip;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 30fr) minmax(0, 35fr) minmax(0, 35fr);
  gap: 30px;
  align-items: end;
  padding: 62px 6vw 28px;
}

.footer-main > * {
  min-width: 0;
}

.footer-address {
  overflow-wrap: anywhere;
}

.footer-main > small {
  grid-column: 1 / -1;
  margin-top: 34px;
  color: var(--gray);
  font-size: 11px;
}

.footer-sdgs {
  display: grid;
  grid-template-columns: minmax(0, 62fr) minmax(260px, 38fr);
  align-items: center;
  gap: 5vw;
  width: 100%;
  margin: 0;
  background: var(--ink);
  color: var(--white);
  padding: 64px 6vw;
}

.footer-sdgs-copy {
  max-width: 820px;
}

.footer-sdgs-copy .page-kicker,
.footer-sdgs-copy > p:not(.page-kicker),
.footer-sdgs-copy > small {
  color: #bdbdb9;
}

.footer-sdgs-copy h2 {
  max-width: 10em;
  margin: 0;
  font-size: clamp(38px, 4.5vw, 70px);
  letter-spacing: -0.06em;
  line-height: 1.08;
  text-wrap: balance;
}

.footer-sdgs-copy > p:not(.page-kicker) {
  max-width: 750px;
  margin: 28px 0 0;
  font-size: 14px;
  line-height: 1.9;
}

.footer-sdgs-copy > small {
  display: block;
  margin-top: 18px;
  font-size: 10px;
}

.footer-sdgs-visual {
  position: relative;
  display: flex;
  min-height: 240px;
  align-items: center;
  justify-content: center;
}

.footer-sdgs-mark {
  display: grid;
  width: 180px;
  aspect-ratio: 1;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #666;
  transform: rotate(-3deg);
}

.footer-sdgs-mark span {
  display: grid;
  place-items: center;
  border-right: 1px solid #666;
  border-bottom: 1px solid #666;
  color: #bdbdb9;
  font-size: 46px;
  font-weight: 900;
}

.footer-sdgs-mark span:nth-child(even) {
  border-right: 0;
}

.footer-sdgs-mark span:nth-child(n + 3) {
  border-bottom: 0;
}

.footer-sdgs-visual img {
  position: absolute;
  right: 0;
  bottom: -64px;
  width: min(170px, 46%);
  max-height: 270px;
  object-fit: contain;
  filter: drop-shadow(0 0 1px #fff);
}

@media (max-width: 1020px) {
  .works-coming-soon,
  .recruit-manifesto,
  .job-opening,
  .contact-form-section,
  .footer-sdgs {
    grid-template-columns: 1fr;
  }

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

  .footer-main .footer-links {
    grid-column: 1 / -1;
  }

  .coming-copy {
    min-height: 0;
  }

  .coming-visual,
  .recruit-man-visual {
    border-left: 0;
    border-bottom: 0;
    border-top: 1px solid var(--line);
  }

  .job-opening-heading,
  .contact-form-heading {
    min-height: 470px;
    padding-right: 0;
  }

  .job-details,
  .contact-form {
    margin-top: 48px;
  }

  .footer-sdgs-visual {
    width: min(520px, 100%);
    min-height: 220px;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .coming-copy,
  .job-opening,
  .contact-form-section {
    padding: 84px 22px;
  }

  .coming-visual {
    min-height: 430px;
  }

  .recruit-man-visual {
    min-height: 450px;
  }

  .job-opening-heading,
  .contact-form-heading {
    min-height: 430px;
  }

  .job-opening-heading h2,
  .contact-form-heading h2 {
    font-size: 52px;
  }

  .job-opening-heading > img,
  .contact-form-heading > img {
    width: 170px;
  }

  .job-opening-heading > img {
    opacity: 0.72;
  }

  .contact-form-heading > img {
    opacity: 0.18;
  }

  .contact-input-form-heading > img {
    opacity: 0.72;
  }

  .job-details > div {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 18px;
  }

  .form-field-wide,
  .form-consent,
  .form-submit {
    grid-column: auto;
  }

  .form-contact-method {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-consent {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .site-footer {
    display: block;
    padding: 0;
  }

  .footer-sdgs {
    margin: 0;
    padding: 58px 22px 34px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 50px 22px 28px;
  }

  .footer-brand,
  .footer-address {
    justify-self: center;
    text-align: center;
  }

  .footer-brand img {
    margin-inline: auto;
  }

  .footer-main .footer-links,
  .footer-main > small {
    grid-column: auto;
  }

  .footer-sdgs-copy h2 {
    font-size: 44px;
  }

  .footer-sdgs-visual {
    min-height: 200px;
  }

  .footer-sdgs-mark {
    width: 150px;
  }

  .footer-sdgs-mark span {
    font-size: 38px;
  }

  .footer-sdgs-visual img {
    right: 8px;
    bottom: -34px;
    width: 138px;
  }
}

/* WordPress-ready works archive and single post layouts */

.works-archive {
  background: #414140;
  color: var(--white);
  padding: 112px 6vw 150px;
}

.works-archive-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 72px;
}

.works-archive-toolbar h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 76px);
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.works-archive-toolbar nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.works-archive-toolbar nav span {
  border: 1px solid #747473;
  padding: 10px 14px;
  color: #d2d2ce;
  font-size: 11px;
  font-weight: 700;
}

.works-archive-toolbar nav span.is-active {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.works-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
}

.works-archive-card {
  min-width: 0;
}

.works-archive-card > a {
  display: block;
  height: 100%;
  border: 1px solid #696968;
  background: var(--white);
  color: var(--ink);
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 320ms ease;
}

.works-archive-card > a:hover,
.works-archive-card > a:focus-visible {
  transform: translateY(-8px) rotate(-0.25deg);
  box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.24);
}

.works-archive-card figure {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: #222;
}

.works-archive-card figure > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.68) contrast(1.04);
  transition:
    filter 500ms ease,
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.works-archive-card > a:hover figure > img,
.works-archive-card > a:focus-visible figure > img {
  filter: grayscale(0.06) contrast(1);
  transform: scale(1.025);
}

.works-archive-card figure > span {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--white);
  background: rgba(17, 17, 17, 0.72);
  color: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.works-archive-card-copy {
  padding: clamp(28px, 4vw, 54px);
}

.works-archive-card-copy > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--gray);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.works-archive-card-copy > div > span {
  border: 1px solid var(--line);
  padding: 7px 9px;
}

.works-archive-card-copy h2 {
  margin: 26px 0 18px;
  font-size: clamp(28px, 3vw, 46px);
  letter-spacing: -0.055em;
  line-height: 1.14;
}

.works-archive-card-copy > p {
  margin: 0;
  color: var(--gray);
  line-height: 1.9;
}

.works-archive-card-copy > strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 12px;
}

.works-archive-note {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 72px;
  border-top: 1px solid #696968;
  border-bottom: 1px solid #696968;
  padding: 22px 0;
}

.works-archive-note span {
  border: 1px solid #8a8a88;
  padding: 7px 9px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.works-archive-note p {
  margin: 0;
  color: #d2d2ce;
  font-size: 13px;
}

.work-detail {
  background: var(--white);
}

@media (min-width: 1021px) {
  .work-detail-page > .page-hero {
    grid-template-columns: 12% minmax(0, 58%) minmax(260px, 30%);
  }

  .work-detail-page > .page-hero .page-hero-title {
    min-width: 0;
    padding-right: clamp(28px, 3vw, 58px);
  }

  .work-detail-page > .page-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(56px, 5.4vw, 104px);
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .work-detail-page > .page-hero .page-hero-lead {
    min-width: 0;
    max-width: 300px;
    padding-left: clamp(18px, 2vw, 38px);
  }
}

.work-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(320px, 42fr);
  gap: 7vw;
  align-items: end;
  padding: 110px 6vw 90px;
}

.work-detail-head h2 {
  max-width: 10em;
  margin: 0;
  font-size: clamp(44px, 5.5vw, 86px);
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.work-detail-head dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.work-detail-head dl > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.work-detail-head dt {
  color: var(--gray);
  font-size: 11px;
}

.work-detail-head dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.work-detail-visual {
  width: min(1120px, calc(100% - 12vw));
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  overflow: hidden;
  background: #222;
}

.work-detail-visual img,
.work-detail-visual video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.work-detail-copy {
  display: grid;
  grid-template-columns: minmax(0, 50fr) minmax(0, 50fr);
  gap: 8vw;
  padding: 110px 6vw 140px;
}

.work-detail-copy h2 {
  max-width: 11em;
  margin: 0;
  font-size: clamp(38px, 4.5vw, 70px);
  letter-spacing: -0.055em;
  line-height: 1.16;
}

.work-detail-copy > div:last-child p {
  margin: 0 0 24px;
  color: var(--gray);
  font-size: 15px;
  line-height: 2.1;
}

.work-detail-copy a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 46px;
  border: 1px solid var(--ink);
  padding: 20px 22px;
  font-size: 12px;
  font-weight: 700;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.work-detail-copy a:hover,
.work-detail-copy a:focus-visible {
  background: var(--ink);
  color: var(--white);
}

@media (max-width: 1020px) {
  .works-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works-archive-toolbar,
  .work-detail-head,
  .work-detail-copy {
    grid-template-columns: 1fr;
  }

  .works-archive-toolbar {
    display: grid;
  }

  .works-archive-toolbar nav {
    justify-content: flex-start;
  }

  .work-detail-head dl {
    margin-top: 10px;
  }
}

@media (max-width: 720px) {
  .works-archive {
    padding: 76px 22px 96px;
  }

  .works-archive-toolbar {
    gap: 34px;
    margin-bottom: 46px;
  }

  .works-archive-toolbar h2 {
    font-size: 42px;
  }

  .works-archive-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .works-archive-card figure {
    aspect-ratio: 4 / 5;
  }

  .works-archive-card-copy {
    padding: 26px 22px 28px;
  }

  .works-archive-card-copy h2 {
    font-size: 32px;
  }

  .works-archive-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 48px;
  }

  .work-detail-head,
  .work-detail-copy {
    display: grid;
    gap: 46px;
    padding: 76px 22px;
  }

  .work-detail-head h2 {
    font-size: 44px;
  }

  .work-detail-head dl > div {
    grid-template-columns: 90px 1fr;
  }

  .work-detail-visual {
    width: calc(100% - 44px);
    aspect-ratio: 4 / 5;
  }

  .work-detail-copy h2 {
    font-size: 38px;
  }
}

/* Motion system: playful workshop rhythm without sacrificing readability */

:where(
  h1,
  h2,
  h3,
  p,
  li,
  dt,
  dd,
  figcaption,
  .primary-button,
  .outline-button,
  .hero-primary,
  .hero-secondary
) {
  line-break: strict;
  word-break: auto-phrase;
}

:where(
  h1,
  h2,
  h3,
  .manifesto strong,
  .recruit-quote strong,
  .contact-actions strong
) {
  text-wrap: balance;
}

:where(
  p,
  li,
  dd,
  figcaption,
  small
) {
  text-wrap: pretty;
}

.motion-enabled:not(.motion-reduced) [data-motion] {
  opacity: 0;
  transition:
    opacity 720ms cubic-bezier(0.2, 0.78, 0.25, 1),
    transform 820ms cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 900ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform, clip-path;
}

.motion-enabled:not(.motion-reduced) [data-motion="rise"] {
  transform: translateY(42px);
}

.motion-enabled:not(.motion-reduced) [data-motion="tilt"] {
  transform: translateY(34px) rotate(-1.8deg);
}

.motion-enabled:not(.motion-reduced) [data-motion="pop"] {
  transform: translateY(24px) scale(0.94) rotate(1.2deg);
}

.motion-enabled:not(.motion-reduced) [data-motion="wipe"] {
  clip-path: inset(0 0 100% 0);
  transform: translateY(18px);
}

.motion-enabled:not(.motion-reduced) [data-motion].is-inview {
  opacity: 1;
  clip-path: inset(-4% -4% -4% -4%);
  transform: none;
}

.motion-word {
  display: inline-block;
  white-space: nowrap;
}

.motion-char {
  display: inline-block;
  transform-origin: 50% 85%;
}

.motion-enabled:not(.motion-reduced) .motion-text .motion-char {
  opacity: 0;
  transform: translateY(0.9em) rotate(7deg) scale(0.88);
}

.motion-enabled:not(.motion-reduced) .motion-text.is-inview .motion-char {
  animation: motion-char-hop 680ms cubic-bezier(0.2, 0.9, 0.26, 1.18) both;
  animation-delay: calc(var(--char-index, 0) * 24ms);
}

@keyframes motion-char-hop {
  0% {
    opacity: 0;
    transform: translateY(0.9em) rotate(7deg) scale(0.88);
  }
  65% {
    opacity: 1;
    transform: translateY(-0.1em) rotate(-1.5deg) scale(1.025);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

.motion-enabled:not(.motion-reduced) .motion-character {
  opacity: 0;
  transform-origin: 50% 100%;
}

.motion-enabled:not(.motion-reduced) .motion-character.is-inview {
  animation: mascot-arrive 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.motion-enabled:not(.motion-reduced) .labman-visual .motion-character.is-inview {
  animation:
    mascot-arrive-lab 760ms cubic-bezier(0.16, 1, 0.3, 1) both,
    mascot-breathe-lab 3.8s 900ms ease-in-out infinite;
}

.motion-enabled:not(.motion-reduced) .recruit-character .motion-character.is-inview {
  animation:
    mascot-arrive 760ms cubic-bezier(0.16, 1, 0.3, 1) both,
    mascot-breathe 4.6s 1s ease-in-out infinite;
}

@keyframes mascot-arrive {
  from {
    opacity: 0;
    transform: translateY(46px) rotate(3deg) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

@keyframes mascot-breathe {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-7px) rotate(-0.8deg);
  }
}

@keyframes mascot-arrive-lab {
  from {
    opacity: 0;
    transform: translateY(12%) rotate(3deg) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(4%) rotate(0) scale(1);
  }
}

@keyframes mascot-breathe-lab {
  0%,
  100% {
    opacity: 1;
    transform: translateY(4%) rotate(0);
  }
  50% {
    opacity: 1;
    transform: translateY(3%) rotate(-0.7deg);
  }
}

.motion-enabled:not(.motion-reduced) .hero-slide .hero-slide-eyebrow,
.motion-enabled:not(.motion-reduced) .hero-slide .hero-slide-lead,
.motion-enabled:not(.motion-reduced) .hero-slide .hero-slide-actions,
.motion-enabled:not(.motion-reduced) .hero-slide .hero-character-wrap {
  opacity: 0;
}

.site-loaded .hero-slide.is-active .hero-slide-eyebrow,
.site-loaded .hero-slide.is-active .hero-slide-lead,
.site-loaded .hero-slide.is-active .hero-slide-actions,
.site-loaded .hero-slide.is-active .hero-character-wrap {
  animation: hero-part-in 780ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.site-loaded .hero-slide.is-active .hero-slide-eyebrow {
  animation-delay: 120ms;
}

.motion-enabled:not(.motion-reduced) .hero-slide h1 span {
  opacity: 0;
  transform: translateY(0.75em) rotate(2deg);
}

.site-loaded .hero-slide.is-active h1 span {
  animation: hero-line-in 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.site-loaded .hero-slide.is-active h1 span:nth-child(1) {
  animation-delay: 170ms;
}

.site-loaded .hero-slide.is-active h1 span:nth-child(2) {
  animation-delay: 250ms;
}

.site-loaded .hero-slide.is-active .hero-slide-lead {
  animation-delay: 340ms;
}

.site-loaded .hero-slide.is-active .hero-slide-actions {
  animation-delay: 420ms;
}

.site-loaded .hero-slide.is-active .hero-character-wrap {
  animation-delay: 480ms;
}

@keyframes hero-part-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-line-in {
  0% {
    opacity: 0;
    transform: translateY(0.75em) rotate(2deg);
  }
  70% {
    opacity: 1;
    transform: translateY(-0.04em) rotate(-0.4deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

.motion-enabled:not(.motion-reduced) .footer-sdgs.is-inview .footer-sdgs-mark span,
.motion-enabled:not(.motion-reduced) .footer-sdgs-visual.is-inview .footer-sdgs-mark span {
  animation: sdgs-letter-hop 650ms cubic-bezier(0.2, 0.9, 0.28, 1.22) both;
}

.footer-sdgs-mark span:nth-child(2) {
  animation-delay: 90ms;
}

.footer-sdgs-mark span:nth-child(3) {
  animation-delay: 180ms;
}

.footer-sdgs-mark span:nth-child(4) {
  animation-delay: 270ms;
}

@keyframes sdgs-letter-hop {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(8deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@media (hover: hover) {
  .service-grid article,
  .page-services article,
  .recruit-values article,
  .company-principles > div,
  .contact-methods a {
    transition:
      background-color 260ms ease,
      color 260ms ease,
      transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .service-grid article:hover,
  .page-services article:hover,
  .recruit-values article:hover,
  .company-principles > div:hover,
  .contact-methods a:hover {
    position: relative;
    z-index: 2;
    transform: translateY(-8px) rotate(-0.45deg);
  }

  .primary-button:hover,
  .outline-button:hover,
  .hero-primary:hover,
  .hero-secondary:hover,
  .form-submit:hover {
    transform: translateY(-4px) rotate(-0.35deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-char,
  .motion-character,
  [data-motion],
  .hero-slide h1 span,
  .hero-slide .hero-slide-eyebrow,
  .hero-slide .hero-slide-lead,
  .hero-slide .hero-slide-actions,
  .hero-slide .hero-character-wrap {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Two-stage loader: full first visit / quick repeat visit */

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  clip-path: inset(0);
  transition:
    clip-path 360ms cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0s 360ms;
}

.site-loader.is-pending {
  animation: loader-emergency-exit 0s 2.6s forwards;
}

.site-loader.is-closing {
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}

@keyframes loader-emergency-exit {
  to {
    visibility: hidden;
  }
}

.loader-first,
.loader-quick {
  display: none;
}

.site-loader.is-first .loader-first {
  display: grid;
}

.site-loader.is-quick {
  background: var(--ink);
  color: var(--white);
}

.site-loader.is-quick .loader-quick {
  display: grid;
}

.loader-first {
  width: min(820px, calc(100vw - 44px));
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.68fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
}

.loader-first-mark {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 49.8%, var(--line) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, var(--line) 50%, transparent 50.2%),
    var(--paper);
  background-size: 64px 64px;
  overflow: hidden;
}

.loader-first-mark > img {
  position: absolute;
  right: 5%;
  bottom: 90px;
  width: 90%;
  filter: grayscale(1) contrast(1.2);
  mix-blend-mode: multiply;
  animation: loader-drawing-in 620ms 80ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.loader-first-label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 7px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
}

.loader-first-copy {
  align-self: center;
}

.loader-first-copy strong,
.loader-first-copy span {
  display: block;
}

.loader-first-copy strong {
  font-size: clamp(26px, 3.1vw, 46px);
  letter-spacing: -0.055em;
  line-height: 1.35;
  word-break: auto-phrase;
  animation: loader-copy-in 460ms 250ms ease-out both;
}

.loader-first-copy span {
  margin-top: 28px;
  color: var(--gray);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  line-height: 1.8;
  animation: loader-copy-in 460ms 360ms ease-out both;
}

.loader-first-progress {
  position: relative;
  grid-column: 1 / -1;
  display: block;
  height: 2px;
  overflow: hidden;
  background: #ddddda;
}

.loader-first-progress i {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  animation: loader-progress 1.2s 80ms cubic-bezier(0.2, 0.72, 0.2, 1) forwards;
}

.loader-quick {
  width: min(360px, calc(100vw - 48px));
  gap: 22px;
  justify-items: center;
}

.loader-quick > img {
  width: min(250px, 66vw);
  filter: grayscale(1) invert(1) brightness(2);
  animation: loader-quick-pop 240ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.loader-quick > div {
  width: 100%;
}

.loader-quick span {
  display: block;
  margin-bottom: 10px;
  color: #aaa;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-align: center;
}

.loader-quick i {
  position: relative;
  display: block;
  height: 1px;
  overflow: hidden;
  background: #555;
}

.loader-quick i::after {
  position: absolute;
  inset: 0;
  background: var(--white);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  animation: loader-progress 300ms ease-out forwards;
}

@keyframes loader-drawing-in {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loader-copy-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loader-progress {
  to {
    transform: scaleX(1);
  }
}

@keyframes loader-quick-pop {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* A faint trace of template 01: staggered photo cards */

.home-projects {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  overflow: hidden;
  background: #414140;
  color: var(--white);
  padding: 76px 6vw 82px;
}

.home-projects-head {
  grid-column: 1 / 5;
  align-self: start;
}

.home-projects-head .section-index {
  margin-bottom: 34px;
}

.home-projects-head > div:last-child > p:not(.page-kicker) {
  max-width: 430px;
  margin: 24px 0 0;
  color: #d0d0cd;
  font-size: 13px;
  line-height: 1.85;
}

.home-projects-head h2 {
  max-width: 7em;
  margin: 0;
  font-size: clamp(42px, 4.6vw, 70px);
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.home-projects-head a {
  display: inline-flex;
  margin-top: 28px;
  border-bottom: 1px solid #aaa;
  padding-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
}

.home-project-card {
  position: relative;
  min-width: 0;
}

.home-project-card.is-truck {
  grid-column: 5 / 9;
}

.home-project-card.is-stairs {
  grid-column: 9 / -1;
  margin-top: 0;
}

.home-project-card figure {
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  background: #222;
}

.home-project-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  filter: grayscale(0.76) contrast(1.05);
  transition:
    filter 500ms ease,
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-project-card:hover img {
  filter: grayscale(0.1) contrast(1);
  transform: scale(1.025);
}

.home-project-card > div {
  position: absolute;
  z-index: 2;
  width: calc(100% - 32px);
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  padding: 22px 24px;
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.22);
}

.home-project-card.is-truck > div {
  left: 16px;
  bottom: 16px;
}

.home-project-card.is-stairs > div {
  right: 16px;
  bottom: 16px;
}

.home-project-card > div > span {
  color: var(--gray);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.home-project-card h3 {
  margin: 12px 0 10px;
  font-size: clamp(21px, 1.8vw, 29px);
  letter-spacing: -0.045em;
}

.home-project-card p {
  margin: 0;
  color: var(--gray);
  font-size: 12px;
  line-height: 1.7;
}

.home-projects-trace {
  position: absolute;
  right: 22px;
  bottom: 46px;
  color: rgba(255, 255, 255, 0.16);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

/* Works page: real customer projects */

.works-intro {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  gap: 7vw;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 120px 6vw;
}

.works-intro h2 {
  max-width: 9em;
  margin: 0;
  font-size: clamp(44px, 5.6vw, 88px);
  letter-spacing: -0.06em;
  line-height: 1.13;
}

.works-intro > div:last-child {
  position: relative;
  min-height: 250px;
  padding: 32px 210px 32px 0;
}

.works-intro > div:last-child > p {
  margin: 0;
  color: var(--gray);
  font-size: 16px;
  line-height: 2.1;
}

.works-intro > div:last-child > img {
  position: absolute;
  right: 0;
  bottom: -20px;
  width: 190px;
  max-height: 270px;
  object-fit: contain;
}

.works-cases {
  display: grid;
  gap: 150px;
  overflow: hidden;
  background: #414140;
  padding: 130px 6vw 170px;
}

.works-case {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
}

.works-case figure,
.works-case-copy {
  grid-row: 1;
}

.works-case figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #222;
}

.works-case.is-left figure {
  grid-column: 1 / 9;
}

.works-case.is-left .works-case-copy {
  grid-column: 7 / -1;
}

.works-case.is-right figure {
  grid-column: 5 / -1;
}

.works-case.is-right .works-case-copy {
  grid-column: 1 / 7;
}

.works-case.is-video figure {
  grid-column: 2 / 8;
}

.works-case.is-video .works-case-copy {
  grid-column: 7 / 12;
}

.works-case figure > img,
.works-case figure > video {
  display: block;
  width: 100%;
  height: min(70vw, 760px);
  object-fit: cover;
  filter: grayscale(0.68) contrast(1.04);
  transition:
    filter 500ms ease,
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.works-case:hover figure > img,
.works-case:hover figure > video {
  filter: grayscale(0.08) contrast(1);
  transform: scale(1.018);
}

.works-case-copy {
  position: relative;
  z-index: 2;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  padding: clamp(34px, 5vw, 68px);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.22);
}

.works-case-copy > span {
  color: var(--gray);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.works-case-copy h2 {
  margin: 24px 0;
  font-size: clamp(32px, 4vw, 62px);
  letter-spacing: -0.055em;
  line-height: 1.14;
}

.works-case-copy > p {
  margin: 0;
  color: var(--gray);
  line-height: 2;
}

.works-case-copy dl {
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
}

.works-case-copy dl > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.works-case-copy dt {
  color: var(--gray);
  font-size: 11px;
}

.works-case-copy dd {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1020px) {
  .home-projects-head {
    grid-column: 1 / -1;
  }

  .home-project-card.is-truck {
    grid-column: 1 / 7;
  }

  .home-project-card.is-stairs {
    grid-column: 7 / -1;
  }

  .home-project-card figure,
  .home-project-card img {
    min-height: 380px;
  }

  .home-project-card > div {
    width: calc(100% - 32px);
  }

  .works-intro {
    grid-template-columns: 1fr;
  }

  .works-intro > div:last-child {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .loader-first {
    width: calc(100vw - 36px);
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .loader-first-mark {
    min-height: 310px;
  }

  .loader-first-copy strong {
    max-width: 11em;
    font-size: 28px;
  }

  .loader-first-copy span {
    margin-top: 16px;
  }

  .loader-first-progress {
    grid-column: auto;
  }

  .home-projects {
    display: block;
    padding: 64px 22px 74px;
  }

  .home-projects-head {
    margin-bottom: 44px;
  }

  .home-projects-head .section-index {
    margin-bottom: 30px;
  }

  .home-projects-head h2 {
    font-size: 48px;
  }

  .home-project-card,
  .home-project-card.is-stairs {
    margin-top: 40px;
  }

  .home-project-card figure,
  .home-project-card img {
    min-height: 320px;
  }

  .home-project-card > div {
    position: relative;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: calc(100% - 28px);
    margin: -38px 0 0 auto;
    padding: 22px;
  }

  .home-projects-trace {
    right: 8px;
    bottom: 18px;
  }

  .works-intro {
    padding: 84px 22px;
  }

  .works-intro h2 {
    font-size: 50px;
  }

  .works-intro > div:last-child {
    min-height: 0;
    padding: 0;
  }

  .works-intro > div:last-child > img {
    position: static;
    display: block;
    width: 125px;
    margin: 28px 0 0 auto;
    opacity: 0.82;
  }

  .works-cases {
    gap: 92px;
    padding: 84px 22px 110px;
  }

  .works-case {
    display: block;
  }

  .works-case figure > img,
  .works-case figure > video {
    height: min(126vw, 590px);
  }

  .works-case-copy {
    width: calc(100% - 24px);
    margin: -42px 0 0 auto;
    padding: 30px 24px;
  }

  .works-case-copy h2 {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader {
    transition-duration: 0.01ms;
  }

  .loader-first-mark > img,
  .loader-first-copy strong,
  .loader-first-copy span,
  .loader-first-progress i,
  .loader-quick > img,
  .loader-quick i::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1020px) {
  .privacy-section {
    grid-template-columns: 1fr;
    gap: 64px;
    padding: 96px 6vw 110px;
  }

  .privacy-heading {
    position: static;
  }

  .privacy-heading h2 {
    max-width: 10em;
  }

  .privacy-contact {
    grid-column: 1;
  }
}

@media (max-width: 720px) {
  .privacy-page .page-hero.page-hero-photo h1 {
    max-width: 100%;
    font-size: clamp(39px, 11vw, 54px);
    line-height: 1.08;
  }

  .privacy-section {
    gap: 48px;
    padding: 76px 22px 88px;
  }

  .privacy-heading h2 {
    font-size: 42px;
  }

  .privacy-heading > p:last-child {
    margin-top: 26px;
    font-size: 13px;
  }

  .privacy-list li {
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 26px 0 30px;
  }

  .privacy-list h3 {
    font-size: 22px;
  }

  .privacy-list p {
    font-size: 13px;
    line-height: 1.9;
  }

  .privacy-contact {
    padding: 32px 24px;
  }
}

/* Editorial headings: intentional line breaks prevent grid-column clipping. */
.structured-heading {
  overflow: visible;
  text-wrap: initial;
}

.structured-heading > span {
  display: block;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
}

.strength-intro .structured-heading,
.company-section > .structured-heading {
  font-size: clamp(40px, 3.9vw, 62px);
  line-height: 1.14;
}

.business-intro .structured-heading {
  font-size: clamp(40px, 4.3vw, 66px);
  line-height: 1.14;
}

.message-section .structured-heading {
  font-size: clamp(40px, 3.7vw, 58px);
  line-height: 1.14;
}

.company-section > .structured-heading {
  padding-right: 2vw;
}

@media (max-width: 720px) {
  .strength-intro .structured-heading,
  .company-section > .structured-heading {
    font-size: clamp(38px, 11.5vw, 46px);
  }

  .business-intro .structured-heading {
    font-size: clamp(38px, 11vw, 46px);
  }

  .message-section .structured-heading {
    font-size: clamp(31px, 9.5vw, 39px);
  }
}

/* Final responsive polish: sticky post-hero navigation and deliberate mobile rhythm. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
}

.hero-slider {
  min-height: max(560px, calc(100svh - 116px));
}

.equipment-title span {
  display: inline;
}

.contact-form-title {
  font-size: clamp(52px, 4.65vw, 78px) !important;
  line-height: 1.06 !important;
}

.contact-form-title span {
  display: block;
  width: fit-content;
  white-space: nowrap;
}

.mobile-menu summary {
  position: relative;
  transition:
    background-color 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.mobile-menu summary span {
  transform-origin: center;
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 180ms ease,
    background-color 220ms ease;
}

.mobile-menu[open] summary {
  background: var(--ink);
  color: var(--white);
  transform: rotate(2deg);
}

.mobile-menu[open] summary span {
  background: var(--white);
}

.mobile-menu[open] summary span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.mobile-menu[open] summary span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.mobile-menu[open] nav {
  transform-origin: top;
  animation: mobile-menu-open 380ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mobile-menu nav a {
  opacity: 0;
  transform: translateX(-14px);
}

.mobile-menu[open] nav a {
  animation: mobile-menu-link-in 380ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mobile-menu[open] nav a:nth-child(2) {
  animation-delay: 35ms;
}

.mobile-menu[open] nav a:nth-child(3) {
  animation-delay: 70ms;
}

.mobile-menu[open] nav a:nth-child(4) {
  animation-delay: 105ms;
}

.mobile-menu[open] nav a:nth-child(5) {
  animation-delay: 140ms;
}

.mobile-menu[open] nav a:nth-child(6) {
  animation-delay: 175ms;
}

.mobile-menu[open] nav a:nth-child(7) {
  animation-delay: 210ms;
}

@keyframes mobile-menu-open {
  from {
    opacity: 0;
    transform: translateY(-14px) scaleY(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@keyframes mobile-menu-link-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.play-ticker > div {
  animation-duration: 56s;
}

.three-k-heading span:not(:last-child)::after {
  content: " ";
}

.contact-heading span {
  display: inline;
}

.contact-heading span:first-child::after {
  content: " ";
}

.home-projects-head h2 {
  max-width: none;
  white-space: nowrap;
}

@media (min-width: 1021px) and (max-width: 1400px) {
  .home-projects-head h2 {
    font-size: clamp(38px, 3.55vw, 50px);
    letter-spacing: -0.065em;
  }

  .home-projects {
    gap: 22px;
  }

  .home-project-card > div {
    padding: 20px;
  }
}

@media (max-width: 1020px) {
  .message-section,
  .profile-section,
  .recruit-entry,
  .contact-page-section,
  .job-opening,
  .contact-form-section {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  main > .hero-slider:first-child {
    min-height: 100svh;
  }

  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
  }

  main > .page-hero:first-child {
    min-height: 550px;
    padding-top: 142px;
  }

  .equipment-title span {
    display: block;
    width: fit-content;
    white-space: nowrap;
  }

  .three-k-heading {
    font-size: clamp(36px, 11.2vw, 43px) !important;
    line-height: 1.12 !important;
  }

  .three-k-heading span {
    display: block;
    width: fit-content;
    max-width: 100%;
    white-space: nowrap;
  }

  .three-k-heading span:not(:last-child)::after {
    content: none;
  }

  .contact-character {
    display: none;
  }

  .contact-section h2.contact-heading {
    margin-bottom: 42px;
    font-size: clamp(30px, 9vw, 35px);
    letter-spacing: -0.055em;
    line-height: 1.28;
  }

  .contact-band h2.contact-heading {
    max-width: none;
    font-size: clamp(30px, 9vw, 35px);
    line-height: 1.28;
  }

  .contact-heading span {
    display: block;
    width: fit-content;
    margin-inline: auto;
    white-space: nowrap;
  }

  .contact-heading span:first-child::after {
    content: none;
  }

  .home-projects-head h2 {
    font-size: clamp(32px, 10.4vw, 39px);
    white-space: nowrap;
  }

  .message-section,
  .profile-section,
  .recruit-entry,
  .contact-page-section {
    display: grid;
    gap: 0;
    padding: 76px 22px;
  }

  .message-copy,
  .profile-section dl,
  .recruit-entry > div:last-child,
  .contact-methods {
    margin-top: 42px;
  }

  .message-section .structured-heading {
    font-size: clamp(30px, 9.4vw, 38px);
    line-height: 1.18;
  }

  .message-copy p {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.95;
  }

  .message-copy strong {
    margin-top: 34px;
    font-size: 14px;
  }

  .profile-heading h2 {
    font-size: 48px;
    line-height: 1.08;
  }

  .profile-section dl div {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding: 21px 0;
  }

  .profile-section dd {
    overflow-wrap: anywhere;
    line-height: 1.75;
  }

  .recruit-entry-title {
    font-size: clamp(36px, 11vw, 43px) !important;
    line-height: 1.14;
  }

  .recruit-entry > div:last-child > p {
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.95;
  }

  .recruit-entry .primary-button {
    width: 100%;
  }

  .contact-page-title {
    font-size: clamp(30px, 9vw, 35px) !important;
    line-height: 1.2;
  }

  .contact-page-title > span {
    white-space: nowrap;
  }

  .contact-page-heading > p:not(.page-kicker) {
    margin-top: 28px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.95;
  }

  .contact-methods a {
    min-height: 132px;
    padding: 24px 54px 24px 18px;
  }

  .contact-methods strong {
    margin: 11px 0;
    font-size: 25px;
    line-height: 1.25;
  }

  .contact-methods b {
    right: 18px;
  }

  .job-opening,
  .contact-form-section {
    gap: 0;
    padding: 76px 22px;
  }

  .job-opening-heading,
  .contact-form-heading {
    min-height: 0;
    overflow: visible;
    padding-right: 0;
  }

  .job-opening-heading h2 {
    font-size: 46px;
  }

  .contact-form-heading h2 {
    max-width: none;
  }

  .contact-form-title {
    font-size: clamp(38px, 11.2vw, 44px) !important;
    line-height: 1.12 !important;
  }

  .job-opening-heading > p:not(.page-kicker),
  .contact-form-heading > p:not(.page-kicker) {
    max-width: none;
    margin-top: 28px;
    font-size: 14px;
    line-height: 1.95;
  }

  .job-opening-heading > small,
  .contact-form-heading > small {
    max-width: none;
    margin-top: 22px;
  }

  .job-opening-heading > img,
  .contact-form-heading > img {
    position: relative;
    right: auto;
    bottom: auto;
    display: block;
    width: 138px;
    max-height: 210px;
    margin: 26px 0 0 auto;
    object-fit: contain;
  }

  .job-opening-heading > img {
    opacity: 0.72;
  }

  .contact-form-heading > img {
    opacity: 0.82;
  }

  .contact-input-form-heading > img {
    opacity: 0.72;
  }

  .job-details,
  .contact-form {
    margin-top: 40px;
  }

  .contact-band-character {
    display: none;
  }

  .contact-band h2 {
    max-width: 9em;
    font-size: 38px;
    line-height: 1.18;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu[open] nav,
  .mobile-menu[open] nav a,
  .mobile-menu summary,
  .mobile-menu summary span {
    animation: none !important;
    transition: none !important;
  }

  .mobile-menu nav a {
    opacity: 1;
    transform: none;
  }
}

/* Standalone first-loader review surface. */
body:has(.loader-review-page) > .site-loader {
  display: none;
}

.loader-review-page,
.loader-preview-stage {
  min-height: 100svh;
}

.loader-preview-stage {
  position: relative;
  overflow: hidden;
}

.loader-preview-stage > .site-loader {
  position: absolute;
}

.loader-preview-controls {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
  display: flex;
  gap: 10px;
}

.loader-preview-controls button,
.loader-preview-controls a {
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  padding: 13px 16px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.loader-preview-controls button:hover,
.loader-preview-controls button:focus-visible,
.loader-preview-controls a:hover,
.loader-preview-controls a:focus-visible {
  background: var(--ink);
  color: var(--white);
}

@media (max-width: 720px) {
  .loader-preview-controls {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .loader-preview-controls button,
  .loader-preview-controls a {
    flex: 1;
    text-align: center;
  }
}

/* Final WordPress specificity bridge (kept last intentionally). */
.contact-form.contact-form-plugin {
  display: block;
}

.works-archive-toolbar nav a {
  color: inherit;
  text-decoration: none;
}

body.home .hero-slider {
  min-height: 100svh;
}
