@charset "UTF-8";

:root {
  --ink: #0b0c10;
  --ink-soft: #151821;
  --paper: #f3efe6;
  --paper-strong: #fffdf7;
  --soft: #ded9ce;
  --muted: #6d6b66;
  --line: rgba(11, 12, 16, 0.16);
  --line-light: rgba(255, 255, 255, 0.17);
  --white: #ffffff;
  --accent: #ff6b3d;
  --accent-dark: #d9471e;
  --accent-soft: #ffd0c1;
  --container: 1180px;
  --header-height: 84px;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(11, 12, 16, 0.14);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.045em;
  line-height: 1.12;
}

ul,
ol {
  padding-left: 1.25em;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--white);
  border-radius: 999px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.section {
  padding-block: clamp(88px, 10vw, 150px);
}

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

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

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

.section-kicker,
.eyebrow {
  margin-bottom: 18px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-kicker::before,
.eyebrow::before {
  display: inline-block;
  width: 22px;
  height: 2px;
  margin-right: 10px;
  background: currentColor;
  vertical-align: middle;
  content: "";
}

.section-title {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 800;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 76px);
}

.section-heading > p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading--light > p {
  color: rgba(255, 255, 255, 0.66);
}

.button {
  display: inline-flex;
  min-height: 58px;
  padding: 14px 22px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

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

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

.button--accent:hover {
  background: #ff815d;
}

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

.button--light:hover {
  background: var(--white);
}

.text-link {
  display: inline-flex;
  padding-block: 10px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  font-size: 0.92rem;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease;
}

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

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header--solid {
  background: rgba(11, 12, 16, 0.93);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 28px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
}

.brand-mark span {
  background: currentColor;
  border-radius: 1px;
}

.brand-mark span:first-child {
  grid-column: 1 / span 2;
}

.brand-mark span:nth-child(2) {
  background: var(--accent);
}

.brand-mark span:nth-child(3) {
  grid-column: 1;
}

.brand-mark span:nth-child(4) {
  grid-column: 2 / span 2;
}

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

.brand-name strong {
  font-size: 1.08rem;
  letter-spacing: 0.08em;
}

.brand-name small {
  opacity: 0.58;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.83rem;
  font-weight: 700;
}

.site-nav > a:not(.nav-contact) {
  position: relative;
  padding-block: 10px;
}

.site-nav > a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

.site-nav > a:not(.nav-contact):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 10px 17px;
  color: var(--ink);
  background: var(--white);
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-contact:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.2s ease;
}

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

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

.subpage-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + clamp(70px, 8vw, 110px));
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.32) 0.5px, transparent 0.5px);
  background-size: 7px 7px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero::before {
  position: absolute;
  top: 8%;
  right: -8%;
  width: 45vw;
  height: 45vw;
  min-width: 520px;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.hero::after {
  position: absolute;
  top: 18%;
  right: 3%;
  width: 24vw;
  height: 24vw;
  min-width: 280px;
  min-height: 280px;
  border: 1px solid rgba(255, 107, 61, 0.25);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.82fr);
  gap: clamp(44px, 5vw, 68px);
  align-items: center;
}

.hero-copy {
  padding-bottom: 115px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.66);
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 30px;
  font-size: clamp(3.65rem, 5.2vw, 5.7rem);
  font-weight: 850;
  line-height: 0.98;
}

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

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 2;
}

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

.hero-categories {
  display: flex;
  margin: 46px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}

.hero-categories li {
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.wall-visual {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.wall-visual::before {
  position: absolute;
  z-index: -1;
  right: -20px;
  bottom: -20px;
  width: 70%;
  height: 60%;
  background: var(--accent);
  content: "";
}

.wall-visual__meta,
.wall-visual__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.wall-visual__meta {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.55);
}

.wall-visual__caption {
  margin-top: 16px;
}

.wall-grid {
  display: grid;
  min-height: 430px;
  padding: 15px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(88px, 1fr);
  gap: 9px;
  background: #090a0d;
}

.wall-block {
  background: #e9e3d9;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.wall-visual:hover .wall-block:nth-child(2n) {
  transform: translateY(-5px);
}

.wall-block--wide {
  grid-column: span 2;
}

.wall-block--tall {
  grid-row: span 2;
}

.wall-block--accent {
  background: var(--accent);
}

.wall-block--soft {
  background: #a6a39d;
}

.wall-block--outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
}

.hero-marquee {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  padding-block: 16px;
  overflow: hidden;
  color: var(--ink);
  background: var(--accent);
  white-space: nowrap;
}

.hero-marquee div {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 30px;
  animation: marquee 24s linear infinite;
}

.hero-marquee span {
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero-marquee i {
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
}

.intro {
  padding-bottom: 40px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(50px, 10vw, 140px);
  align-items: end;
  padding-bottom: clamp(70px, 8vw, 120px);
  border-bottom: 1px solid var(--line);
}

.intro-copy {
  color: #4d4b47;
  font-size: 1.02rem;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.services {
  padding-top: 90px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  min-height: 570px;
  padding: clamp(28px, 3vw, 38px);
  flex-direction: column;
  color: var(--ink);
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(11, 12, 16, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-card--dark {
  color: var(--white);
  background: var(--ink-soft);
  border-color: var(--ink-soft);
}

.service-card--accent {
  background: var(--accent);
  border-color: var(--accent);
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 70px;
}

.service-number,
.service-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
}

.service-arrow {
  width: auto;
  height: auto;
  border: 0;
  font-size: 1.3rem;
}

.service-label {
  margin-bottom: 13px;
  opacity: 0.55;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.service-card h3 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.service-card > p:not(.service-label) {
  margin-bottom: 30px;
  opacity: 0.73;
}

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

.tag-list li {
  padding: 7px 11px;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.75;
  font-size: 0.7rem;
  font-weight: 700;
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 40px;
  padding-block: 36px;
  border-bottom: 1px solid var(--line-light);
}

.process-list > li > span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.process-list li div {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.process-list h3 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.process-list p {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.64);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle-grid article {
  min-height: 330px;
  padding: 34px;
  border-right: 1px solid var(--line);
}

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

.principle-grid span {
  display: block;
  margin-bottom: 70px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 900;
}

.principle-grid h3 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}

.principle-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(60px, 10vw, 150px);
}

.company-message {
  max-width: 390px;
  margin-top: 32px;
  color: #5f5c56;
}

.company-data {
  margin-bottom: 0;
  border-top: 1px solid rgba(11, 12, 16, 0.28);
}

.company-data > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 34px;
  padding-block: 27px;
  border-bottom: 1px solid rgba(11, 12, 16, 0.28);
}

.company-data dt {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.company-data dd {
  margin-bottom: 0;
}

.company-data ul {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.company-data a {
  border-bottom: 1px solid currentColor;
  overflow-wrap: anywhere;
}

.company-data a:hover {
  color: var(--accent-dark);
}

.contact {
  padding-block: clamp(100px, 12vw, 180px);
  color: var(--ink);
  background: var(--accent);
}

.contact-inner {
  text-align: center;
}

.contact h2 {
  margin-bottom: 28px;
  font-size: clamp(3.1rem, 8vw, 7.5rem);
  font-weight: 900;
  line-height: 0.98;
}

.contact-inner > p:not(.section-kicker) {
  max-width: 620px;
  margin: 0 auto 36px;
}

.contact-actions {
  display: flex;
  margin-bottom: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.copy-button {
  min-height: 58px;
  padding: 13px 22px;
  color: var(--ink);
  border: 1px solid rgba(11, 12, 16, 0.65);
  background: transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.copy-button:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.contact-email {
  display: inline-block;
  border-bottom: 1px solid rgba(11, 12, 16, 0.5);
  font-size: 0.84rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.site-footer {
  padding-top: 70px;
  color: var(--white);
  background: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  gap: 60px;
  align-items: end;
  padding-bottom: 60px;
}

.brand--footer .brand-name strong {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.brand--footer .brand-mark {
  width: 52px;
  height: 40px;
}

.brand--footer .brand-name small {
  display: none;
}

.footer-address {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.footer-address p {
  margin-bottom: 7px;
}

.footer-address a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  padding-block: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.7rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-bottom nav {
  display: flex;
  gap: 24px;
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-bottom--single {
  margin-top: 0;
}

.legal-page {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 120px;
  background: var(--paper);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(60px, 10vw, 140px);
}

.legal-hero {
  position: sticky;
  top: calc(var(--header-height) + 50px);
  align-self: start;
}

.legal-hero h1 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.legal-hero > p:not(.section-kicker) {
  color: var(--muted);
}

.legal-hero time {
  font-size: 0.76rem;
  font-weight: 700;
}

.legal-content {
  border-top: 1px solid var(--line);
}

.legal-content section {
  padding-block: 36px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  margin-bottom: 22px;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.legal-content h2 span {
  color: var(--accent-dark);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.legal-content p,
.legal-content li,
.legal-content address {
  color: #55524d;
}

.legal-content p:last-child,
.legal-content ul:last-child {
  margin-bottom: 0;
}

.legal-content ul {
  padding-left: 1.2em;
}

.legal-content address {
  font-style: normal;
}

.legal-content address strong {
  color: var(--ink);
}

.legal-content a {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  overflow-wrap: anywhere;
}

.error-page {
  min-height: 100vh;
  color: var(--white);
  background: var(--ink);
}

.error-main {
  display: grid;
  width: min(calc(100% - 48px), 800px);
  min-height: 100vh;
  margin-inline: auto;
  place-content: center;
  justify-items: start;
}

.error-main h1 {
  margin-bottom: 24px;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.9;
}

.error-main > p:not(.section-kicker) {
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.62);
}

.error-wall {
  display: grid;
  width: 190px;
  height: 120px;
  margin-bottom: 38px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 7px;
}

.error-wall span {
  background: var(--paper);
}

.error-wall span:first-child,
.error-wall span:last-child {
  grid-column: span 2;
}

.error-wall span:nth-child(2) {
  background: var(--accent);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1);
}

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

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 50px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 6vw, 4.5rem);
  }

  .wall-grid {
    min-height: 370px;
  }

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

  .service-card {
    min-height: 0;
  }

  .service-card__top {
    margin-bottom: 55px;
  }

  .tag-list {
    margin-top: 32px;
  }
}

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

  .container {
    width: min(calc(100% - 34px), var(--container));
  }

  .section-heading,
  .intro-grid,
  .company-grid,
  .legal-layout,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 26px;
  }

  .section-heading > p {
    max-width: 560px;
  }

  .nav-toggle {
    display: grid;
    place-content: center;
  }

  .js .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 50px 24px 80px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    overflow-y: auto;
    color: var(--white);
    background: rgba(11, 12, 16, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .js .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a,
  .nav-contact {
    padding: 18px 4px;
    color: var(--white);
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    font-size: 1.3rem;
  }

  .site-nav > a:not(.nav-contact)::after {
    display: none;
  }

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

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

  .hero-copy {
    padding-bottom: 20px;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 10vw, 4.4rem);
  }

  .wall-visual {
    width: min(100%, 620px);
    margin-bottom: 110px;
    justify-self: end;
  }

  .wall-grid {
    min-height: 330px;
  }

  .intro-grid {
    gap: 40px;
  }

  .process-list li {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
  }

  .process-list li div {
    grid-template-columns: 1fr;
    gap: 15px;
  }

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

  .principle-grid article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .principle-grid span {
    margin-bottom: 40px;
  }

  .company-grid {
    gap: 46px;
  }

  .footer-top {
    gap: 38px;
  }

  .legal-hero {
    position: static;
  }
}

@media (max-width: 560px) {
  .section {
    padding-block: 80px;
  }

  .section-title {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .brand-name small {
    display: none;
  }

  .subpage-back {
    font-size: 0.72rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 9.7vw, 3.4rem);
  }

  .hero-lead {
    line-height: 1.85;
  }

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

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

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

  .wall-visual {
    padding: 14px;
  }

  .wall-grid {
    min-height: 270px;
    padding: 10px;
    grid-auto-rows: minmax(58px, 1fr);
    gap: 6px;
  }

  .wall-visual::before {
    right: -11px;
    bottom: -11px;
  }

  .service-card {
    padding: 26px;
  }

  .service-card h3 {
    font-size: 2rem;
  }

  .process-list li {
    padding-block: 28px;
  }

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

  .contact h2 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-actions .button,
  .copy-button {
    width: 100%;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-bottom nav {
    flex-wrap: wrap;
  }

  .legal-page {
    padding-top: calc(var(--header-height) + 55px);
  }

  .legal-content h2 {
    grid-template-columns: 38px minmax(0, 1fr);
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
