/* TORELIO 2.0 — Digital craft for real business. */

:root {
  --paper: #efece6;
  --paper-2: #e6e2da;
  --ink: #111110;
  --ink-soft: #2a2926;
  --muted: #6f6b64;
  --line: rgba(17, 17, 16, 0.14);
  --line-strong: rgba(17, 17, 16, 0.28);
  --paper-rgb: 239, 236, 230;
  --ink-rgb: 17, 17, 16;
  --vermillion: #b5442a;
  --header-bar: 4.5rem;
  --header-h: calc(var(--header-bar) + env(safe-area-inset-top, 0px));
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-en: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --cursor-size: 10px;
}

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

html {
  scroll-behavior: auto;
  background: var(--ink);
  overflow-x: clip;
  scroll-padding-top: var(--header-h);
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

body {
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

main,
section,
footer,
article,
figure {
  min-width: 0;
  max-width: 100%;
}

body.is-loading,
body.is-menu-open,
body.is-contact-open {
  overflow: hidden;
}

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

img.is-missing {
  visibility: hidden;
}

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

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

:focus {
  outline: none;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

/* ——— Type ——— */

.eyebrow,
.section-index,
.entry__index,
.logo,
.nav-desktop a,
.scroll-hint__label,
.footer__label,
.work-item__cat,
.work-item__num,
.service__num,
.process__num,
.mobile-menu__index,
.mobile-menu__meta,
.works__note,
.works-index,
.hero__meta,
.price-row__en,
.device figcaption,
.studio__pos,
.studio__row dt {
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-index {
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-index--light {
  color: rgba(239, 236, 230, 0.55);
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 6.4vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.display--sm {
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
}

.reveal-line,
.hero__title .line,
.about__title .reveal-line,
.cta__title .reveal-line {
  display: block;
  overflow: hidden;
}

.reveal-line > span,
.hero__title .line > span {
  display: block;
}

/* ——— Loader ——— */

.loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  overflow: hidden;
}

.loader__panel {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--ink);
}

.loader__panel--top {
  top: 0;
}

.loader__panel--bottom {
  bottom: 0;
}

.loader__mark {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--paper);
  pointer-events: none;
}

.loader__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
}

body.is-ready .loader {
  visibility: hidden;
  opacity: 0;
  display: none;
}

/* ——— Cursor ——— */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: difference;
}

.cursor__dot {
  width: var(--cursor-size);
  height: var(--cursor-size);
  border-radius: 50%;
  background: #fff;
  transform: scale(1);
  transition: transform 0.5s var(--ease);
}

.cursor__label {
  position: absolute;
  font-family: var(--font-en);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #fff;
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.3s ease, transform 0.45s var(--ease);
}

.cursor.is-hover .cursor__dot {
  transform: scale(7.4);
}

.cursor.is-hover .cursor__label {
  opacity: 1;
  transform: scale(1);
}

.has-cursor,
.has-cursor a,
.has-cursor button {
  cursor: none;
}

@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none !important;
  }
}

/* ——— Progress ——— */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 2px;
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
}

body.is-header-light .scroll-progress__bar {
  background: var(--paper);
}

/* ——— Header ——— */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  height: var(--header-h);
  color: var(--ink);
  opacity: 0;
  mix-blend-mode: normal;
  transition: color 0.45s ease, background 0.45s ease, opacity 0.6s ease;
}

body.is-ready .site-header,
body.is-menu-open .site-header {
  opacity: 1;
}

.site-header.is-compact {
  background: rgba(var(--paper-rgb), 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.site-header.is-light.is-compact {
  background: rgba(var(--ink-rgb), 0.94);
}

.site-header.is-light :focus-visible {
  outline-color: var(--paper);
}

.site-header.is-light,
.site-header.is-light .logo,
.site-header.is-light .nav-desktop a,
.site-header.is-light .menu-toggle {
  color: var(--paper);
}

.site-header.is-compact .site-header__inner {
  height: 3.4rem;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-bar);
  padding: 0 var(--pad);
  transition: height 0.45s var(--ease);
}

.logo {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-indent: 0.08em;
}

.nav-desktop {
  display: none;
  gap: 1.75rem;
}

.nav-desktop a {
  position: relative;
  font-size: 0.68rem;
  padding: 0.4rem 0;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

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

.menu-toggle {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  color: inherit;
}

.menu-toggle__lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 22px;
}

.menu-toggle__lines span {
  display: block;
  height: 1px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.45s var(--ease);
}

body.is-menu-open .menu-toggle__lines span:first-child {
  transform: translateY(4px) rotate(45deg);
}

body.is-menu-open .menu-toggle__lines span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* ——— Mobile menu ——— */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 1rem) var(--pad) 3rem;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}

.mobile-menu.is-open {
  visibility: visible;
}

.mobile-menu__index,
.mobile-menu__meta {
  font-size: 0.68rem;
  color: rgba(239, 236, 230, 0.45);
}

.mobile-menu__nav {
  display: grid;
  gap: 0.2rem;
  margin: 2rem 0 3rem;
}

.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 10vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  border-top: 1px solid rgba(239, 236, 230, 0.12);
  padding: 0.7rem 0;
}

.mobile-menu__nav a:last-child {
  border-bottom: 1px solid rgba(239, 236, 230, 0.12);
}

.mobile-menu__nav span {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: rgba(239, 236, 230, 0.4);
}

/* ——— Hero ——— */

.hero {
  min-height: 100svh;
  padding: var(--header-h) var(--pad) 1.5rem;
  display: flex;
  overflow-x: clip;
}

.hero__frame {
  flex: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: calc(100svh - var(--header-h) - 1.5rem);
  padding: clamp(1.2rem, 3.4vh, 2.4rem) 0 1.1rem;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.62rem;
  color: var(--muted);
}

.hero__title {
  align-self: end;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.2rem, 14.6vw, 15.2rem);
  line-height: 0.8;
  letter-spacing: -0.062em;
  text-transform: uppercase;
  padding: 2vh 0 1.5vh;
  max-width: none;
}

.hero__title .line--craft > span {
  padding-left: 0.12em;
}

.hero__title .line--accent > span {
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.04em;
  text-transform: none;
  padding-left: 0.28em;
}

.hero__title .line--business {
  margin-right: -0.04em;
}

.hero__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

.hero__lead {
  font-size: clamp(0.82rem, 1.5vw, 0.95rem);
  line-height: 1.85;
  max-width: 22rem;
  color: var(--ink-soft);
  min-width: 0;
}

.hero__lead-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__lead-jp {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
  min-width: 7rem;
}

.scroll-hint__label {
  font-size: 0.62rem;
  color: var(--muted);
}

.scroll-hint__line {
  display: block;
  width: 1px;
  height: 3.2rem;
  background: var(--ink);
  transform-origin: top;
  animation: scrollPulse 2.2s var(--ease) infinite;
}

@keyframes scrollPulse {
  0% {
    transform: scaleY(0.25);
    opacity: 0;
  }
  40% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Entry / Free Web Check ——— */

.entry {
  padding: clamp(2.7rem, 7.2vh, 4.6rem) var(--pad);
}

.entry__grid {
  max-width: 78rem;
}

.entry__index {
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 1.05rem;
}

.entry__title {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.6vw + 0.7rem, 4.2rem);
  line-height: 1.28;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
  line-break: strict;
}

.entry__body {
  margin-top: 1.35rem;
  max-width: 32rem;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
  line-break: strict;
}

.entry__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  margin-top: 1.45rem;
  padding: 0.35rem 0;
  width: fit-content;
  max-width: 100%;
  font-family: var(--font-jp);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.entry__cta-arrow {
  font-family: var(--font-en);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  transition: transform 0.45s var(--ease);
}

.entry__cta:hover .entry__cta-arrow,
.entry__cta:focus-visible .entry__cta-arrow {
  transform: translateX(0.18rem);
}

.entry__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.2rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 32rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

@media (min-width: 900px) {
  .entry {
    padding: clamp(3.4rem, 8.5vh, 6.2rem) var(--pad);
  }

  .entry__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.68fr) minmax(0, 0.32fr);
    gap: clamp(2.4rem, 5vw, 6.5rem);
    align-items: end;
  }

  .entry__title {
    max-width: 12.8em;
    font-size: clamp(2.2rem, 3.6vw + 0.7rem, 4.2rem);
    letter-spacing: 0.02em;
    overflow-wrap: normal;
    word-break: keep-all;
    line-break: auto;
  }

  .entry__action {
    padding-left: clamp(1.4rem, 2.4vw, 2.6rem);
    border-left: 1px solid var(--line);
  }

  .entry__body {
    margin-top: 0;
  }
}

/* ——— Manifesto ——— */

.manifesto {
  padding: clamp(2.75rem, 8vh, 6rem) var(--pad) clamp(5rem, 14vh, 10rem);
}

@media (min-width: 900px) {
  .manifesto {
    padding-top: clamp(4.4rem, 11vh, 8.5rem);
  }
}

.manifesto__grid {
  max-width: 78rem;
}

.manifesto__title {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(2.2rem, 6.8vw, 6.6rem);
  line-height: 1.18;
  letter-spacing: 0.04em;
}

.manifesto__body {
  margin-top: clamp(1.6rem, 3vw, 2.6rem);
  max-width: 34rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
  line-break: strict;
}

/* ——— Marquee ——— */

.marquee-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  overflow: hidden;
}

.marquee {
  overflow: hidden;
  width: 100%;
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 36s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 1.6rem;
  white-space: nowrap;
  color: var(--ink);
}

.marquee__track span::after {
  content: "—";
  margin-left: 1.6rem;
  color: var(--muted);
}

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

/* ——— Selected Work ——— */

.works {
  padding: clamp(4.5rem, 10vh, 8rem) 0 clamp(4rem, 8vh, 6rem);
  overflow-x: clip;
}

.works__intro {
  padding: 0 var(--pad);
  max-width: 54rem;
}

.works__title {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(1.7rem, 4.6vw, 3.6rem);
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.works__lead,
.responsive__lead,
.services__lead,
.process__lead {
  margin-top: 1.2rem;
  max-width: 34rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
  line-break: strict;
}

.works__note {
  margin-top: 0.85rem;
  font-size: 0.62rem;
  color: var(--muted);
}

.works-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  padding: 1.8rem var(--pad) 0;
  font-size: 0.62rem;
}

.works-index a {
  color: var(--muted);
  position: relative;
}

.works-index a span {
  margin-right: 0.35rem;
  color: var(--ink);
}

.works-index a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.works-index a:hover,
.works-index a:focus-visible {
  color: var(--ink);
}

.works-index a:hover::after,
.works-index a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.works-rail {
  display: none;
}

.works-wall {
  display: grid;
  gap: 2.6rem 0;
  padding: 2rem var(--pad) 0;
}

.work-item {
  min-width: 0;
  width: 90%;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

a.work-item {
  -webkit-tap-highlight-color: transparent;
}

body:not(.has-cursor) a.work-item {
  cursor: pointer;
}

a.work-item:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 0.45rem;
}

.work-item:nth-child(even) {
  justify-self: end;
}

.work-item__visual {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  width: 100%;
  pointer-events: none;
}

.work-item__visual picture {
  position: absolute;
  inset: 0;
  display: block;
}

.work-item__visual img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--shot-x, 50%) var(--shot-pos, 42%);
  transform: scale(1.04);
  transition: transform 1.05s var(--ease);
}

.work-item.is-in .work-item__visual img {
  transform: scale(1);
}

.work-item__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--work-accent, var(--ink));
  min-width: 0;
  pointer-events: none;
}

.work-item__copy {
  min-width: 0;
  order: 1;
}

.work-item__num {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  flex-shrink: 0;
  order: 2;
}

.work-item__cat {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.work-item__jp {
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

@media (hover: hover) and (pointer: fine) {
  .works-wall:hover .work-item.is-in {
    opacity: 0.72;
  }

  .works-wall .work-item.is-in:hover {
    opacity: 1;
  }

  .work-item.is-in:hover .work-item__visual img {
    transform: scale(1.045);
  }
}

@media (max-width: 1079px) {
  .works-rail {
    display: flex;
    gap: 0.7rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1.4rem var(--pad) 0.4rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .works-rail::-webkit-scrollbar {
    display: none;
  }

  .works-rail__item {
    flex: 0 0 4.6rem;
    scroll-snap-align: start;
    min-width: 0;
  }

  .works-rail__item img {
    width: 4.6rem;
    height: 6.1rem;
    object-fit: cover;
    object-position: center top;
    border: 1px solid var(--line);
  }

  .works-rail__item span {
    display: block;
    margin-top: 0.4rem;
    font-family: var(--font-en);
    font-size: 0.52rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
  }
}

@media (min-width: 1080px) {
  .works-index {
    gap: 1.4rem;
    padding-top: 2.4rem;
  }

  .works-wall {
    grid-template-columns: 1.42fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.5rem 1.2rem;
    align-items: stretch;
    padding-top: 2.6rem;
  }

  .work-item {
    width: auto;
    justify-self: stretch;
    display: flex;
    flex-direction: column;
  }

  .work-item:nth-child(even) {
    justify-self: stretch;
  }

  .work-item--lead {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .work-item--lead .work-item__visual {
    aspect-ratio: auto;
    flex: 1 1 auto;
    min-height: 22rem;
  }

  .work-item--02 {
    grid-column: 2;
    grid-row: 1;
  }

  .work-item--03 {
    grid-column: 3;
    grid-row: 1;
  }

  .work-item--04 {
    grid-column: 2;
    grid-row: 2;
  }

  .work-item--05 {
    grid-column: 3;
    grid-row: 2;
  }

  .work-item--06 {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .work-item--02 .work-item__visual,
  .work-item--03 .work-item__visual,
  .work-item--04 .work-item__visual,
  .work-item--05 .work-item__visual {
    aspect-ratio: 16 / 10;
  }

  .work-item--06 .work-item__visual {
    aspect-ratio: 2.35 / 1;
  }

  .work-item--06 .work-item__visual img {
    object-position: 30% 46%;
  }

  .work-item__cat {
    font-size: 0.78rem;
  }
}

/* ——— Responsive by Design ——— */

.responsive {
  padding: clamp(4.5rem, 11vh, 8.5rem) var(--pad) clamp(5rem, 12vh, 9rem);
  overflow-x: clip;
}

.responsive__intro {
  max-width: 42rem;
}

.responsive__title {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(1.7rem, 4.6vw, 3.6rem);
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.devices {
  position: relative;
  margin-top: clamp(2.4rem, 6vh, 4.2rem);
  min-width: 0;
  max-width: 100%;
}

.device {
  min-width: 0;
  max-width: 100%;
}

.device__frame {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  overflow: hidden;
}

.device__bar {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  height: 1.35rem;
  padding: 0 0.7rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.device__bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(17, 17, 16, 0.22);
}

.device__bar--tab {
  justify-content: center;
  height: 1.1rem;
}

.device__bar--tab span {
  width: 2.4rem;
  height: 4px;
  border-radius: 99px;
}

.device__notch {
  height: 0.7rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.device__screen {
  overflow: hidden;
  background: var(--paper-2);
}

.device__screen img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.device figcaption {
  margin-top: 0.7rem;
  font-size: 0.62rem;
  color: var(--muted);
}

.device--desk .device__screen {
  aspect-ratio: 16 / 10;
}

.device--tab .device__screen {
  aspect-ratio: 3 / 4;
}

.device--phone .device__screen {
  aspect-ratio: 9 / 19.5;
}

.device--desk {
  width: 100%;
}

.device--tab {
  width: min(72%, 22rem);
  margin-top: 1.6rem;
}

.device--phone {
  width: min(42%, 11.5rem);
  margin-top: 1.4rem;
}

@media (min-width: 900px) {
  .devices {
    min-height: 32rem;
  }

  .device--desk {
    width: min(74%, 52rem);
  }

  .device--tab {
    position: absolute;
    width: min(28%, 17rem);
    right: 12%;
    top: 12%;
    margin: 0;
    z-index: 2;
  }

  .device--phone {
    position: absolute;
    width: min(13.5%, 8.4rem);
    right: 1.5%;
    bottom: 0;
    margin: 0;
    z-index: 3;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .work-item.is-in .work-item__visual img {
    transform: scale(1);
  }

  .device.is-in {
    animation: deviceIn 0.75s var(--ease) both;
  }

  .device.is-in:nth-child(2) {
    animation-delay: 0.14s;
  }

  .device.is-in:nth-child(3) {
    animation-delay: 0.28s;
  }
}

@keyframes deviceIn {
  from {
    transform: translate3d(0, 14px, 0);
    opacity: 0.35;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

/* ——— Quality ——— */

.quality {
  background: var(--ink);
  color: var(--paper);
  min-height: 100svh;
  overflow-x: clip;
}

.quality__pin {
  min-height: 100svh;
  padding: calc(var(--header-h) + 1rem) var(--pad) 4rem;
  display: grid;
  align-content: center;
}

.quality__kicker {
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(239, 236, 230, 0.5);
  margin-bottom: 0.4rem;
}

.quality__graphic {
  line-height: 0.78;
  overflow: hidden;
}

.quality__num {
  display: flex;
  align-items: flex-start;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(5.8rem, 26vw, 26rem);
  letter-spacing: -0.08em;
  max-width: 100%;
}

.quality__d {
  display: block;
  overflow: hidden;
}

.quality__pct {
  font-size: 0.32em;
  letter-spacing: -0.04em;
  margin-top: 0.18em;
  opacity: 0.85;
}

.quality__target {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.4rem;
  color: rgba(239, 236, 230, 0.62);
}

.quality__axes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 1.6rem;
  margin-top: 1.8rem;
  max-width: 40rem;
  font-family: var(--font-en);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(239, 236, 230, 0.42);
}

.quality__axes li {
  display: grid;
  gap: 0.25rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(239, 236, 230, 0.14);
}

.quality__axes li span:last-child {
  color: rgba(239, 236, 230, 0.72);
}

.quality__title {
  margin-top: clamp(1.4rem, 3.2vw, 2.4rem);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.55rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.quality__line {
  display: block;
}

.quality__jp {
  margin-top: 1rem;
  max-width: 28rem;
  color: rgba(239, 236, 230, 0.62);
  overflow-wrap: anywhere;
  line-break: strict;
}

@media (min-width: 1080px) {
  .quality__axes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ——— Services ——— */

.services {
  padding: clamp(5rem, 12vh, 9rem) var(--pad) 2rem;
}

.services__head {
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
  max-width: 48rem;
}

.services__lead {
  margin-top: 1.15rem;
}

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

.service {
  border-bottom: 1px solid var(--line);
}

.service__row {
  display: grid;
  grid-template-columns: 3rem 1fr auto auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.35rem 0;
  min-height: 5.2rem;
  position: relative;
}

.service__ghost {
  display: none;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: rgba(17, 17, 16, 0.08);
  pointer-events: none;
  transform: translateX(12px);
  opacity: 0;
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
}

.service__num {
  font-size: 0.68rem;
  color: var(--muted);
  padding-top: 0.55rem;
}

.service__en {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.service__ja {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: var(--ink);
}

.service__jp {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 32rem;
  overflow-wrap: anywhere;
  line-break: strict;
}

.service__arrow {
  font-family: var(--font-en);
  font-size: 1.2rem;
  transform: translateX(0);
  transition: transform 0.45s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .service__ghost {
    display: block;
  }

  .service__row {
    transition: padding 0.45s var(--ease), background 0.45s var(--ease);
  }

  .service:hover .service__row {
    padding-left: 0.75rem;
  }

  .service:hover .service__arrow {
    transform: translateX(0.4rem);
  }

  .service:hover .service__en {
    font-style: italic;
  }

  .service:hover .service__ghost {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ——— Price ——— */

.price {
  padding: clamp(4.5rem, 11vh, 8rem) var(--pad) 0;
  overflow-x: clip;
}

.price__head {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 5vh, 3.4rem);
}

.price__title {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(1.7rem, 4.6vw, 3.6rem);
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.price__lead {
  margin-top: 1.15rem;
  max-width: 32rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
  line-break: strict;
}

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

.price-row {
  display: grid;
  gap: 0.85rem 1.5rem;
  padding: 1.8rem 0 1.9rem;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.price-row__en {
  font-size: 0.62rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.price-row__name h3 {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: 0.04em;
}

.price-row__hint {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.price-row__value {
  display: flex;
  align-items: flex-start;
  gap: 0.08em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 10vw, 7.4rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  min-width: 0;
  max-width: 100%;
}

.price-row__yen,
.price-row__tilde,
.price-row__unit {
  font-size: 0.28em;
  letter-spacing: 0.04em;
  margin-top: 0.38em;
  color: var(--muted);
}

.price-row__num {
  min-width: 0;
  font-variant-numeric: tabular-nums;
}

.price-row__inc {
  font-size: 0.78rem;
  color: var(--muted);
  overflow-wrap: anywhere;
  line-break: strict;
}

@media (min-width: 1080px) {
  .price-row {
    grid-template-columns: minmax(12rem, 0.28fr) minmax(0, 0.5fr) minmax(11rem, 0.22fr);
    align-items: end;
    gap: 1.5rem 2rem;
    padding: 2.3rem 0 2.1rem;
  }

  .price-row__value {
    justify-self: start;
  }

  .price-row__inc {
    text-align: right;
    padding-bottom: 0.55rem;
  }
}

/* ——— Process ——— */

.process {
  padding: 0 var(--pad) clamp(5rem, 12vh, 9rem);
}

.process__layout {
  position: relative;
  display: grid;
  gap: 2.5rem;
}

.process__list {
  position: relative;
  padding-left: 1.15rem;
  display: grid;
  gap: 0;
}

.process__track {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  padding: 0;
  border: 0;
  background: var(--line);
  pointer-events: none;
}

.process__line {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: top center;
}

.process__item {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1rem;
  padding: 1.4rem 0 1.6rem 1.1rem;
  border-top: 1px solid var(--line);
  position: relative;
}

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

.process__num {
  font-size: 0.68rem;
  color: var(--muted);
  padding-top: 0.35rem;
}

.process__item h3 {
  margin-bottom: 0.4rem;
}

.process__en {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.process__ja {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-jp);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

.process__item p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
  line-break: strict;
}

.process__lead {
  margin-top: 1.1rem;
}

@media (min-width: 900px) {
  .process__layout {
    grid-template-columns: minmax(16rem, 0.7fr) 1.3fr;
    gap: 4rem;
    align-items: start;
  }

  .process__head {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

.process__item.is-in {
  color: var(--ink);
}

.process__item.is-in .process__num {
  color: var(--ink);
}

.process__item.is-in h3 {
  font-style: italic;
}

/* ——— About ——— */

.about {
  padding: clamp(5rem, 16vh, 11rem) var(--pad);
  border-top: 1px solid var(--line);
}

.about__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 9vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.about__jp {
  margin-top: 1.6rem;
  font-size: 1rem;
  letter-spacing: 0.04em;
  max-width: 28rem;
  overflow-wrap: anywhere;
  line-break: strict;
}

.about__body {
  margin-top: 1.4rem;
  max-width: 34rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
  line-break: strict;
}

/* ——— Studio Info ——— */

.studio {
  padding: clamp(4.5rem, 12vh, 8.5rem) var(--pad);
  border-top: 1px solid var(--line);
}

.studio__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.55rem, 3.2vw, 2.5rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.studio__pos {
  margin-top: 0.5rem;
  font-size: 0.62rem;
  color: var(--muted);
}

.studio__list {
  margin-top: clamp(2.2rem, 5vh, 3.4rem);
  max-width: 52rem;
}

.studio__row {
  display: grid;
  gap: 0.4rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}

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

.studio__row dt {
  font-size: 0.62rem;
  color: var(--muted);
  padding-top: 0.2rem;
}

.studio__row dd {
  min-width: 0;
  font-size: 1rem;
  overflow-wrap: anywhere;
  line-break: strict;
}

.studio__loc {
  display: block;
}

.studio__loc-en {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-en);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.studio__services {
  display: block;
}

.studio__contact {
  display: grid;
  gap: 0.15rem;
  justify-items: start;
}

.studio__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.studio__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .studio__link:hover::after,
  .studio__link:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

@media (min-width: 900px) {
  .studio__row {
    grid-template-columns: 12.5rem minmax(0, 1fr);
    gap: 2rem;
    align-items: baseline;
    padding: 1.35rem 0;
  }

  .studio__link {
    min-height: 2.2rem;
  }

  .studio__link::after {
    bottom: 0.35rem;
  }
}

/* ——— CTA ——— */

.cta {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(5rem, 14vh, 10rem) var(--pad) clamp(4rem, 10vh, 7rem);
}

.cta__kicker {
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(239, 236, 230, 0.5);
  margin-bottom: 1rem;
}

.cta__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 8vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.cta__jp {
  margin: 1.6rem 0 2.4rem;
  color: rgba(239, 236, 230, 0.62);
  max-width: 32rem;
  overflow-wrap: anywhere;
  line-break: strict;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 3.4rem;
  padding: 0.15rem 0;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  border-bottom: 1px solid rgba(239, 236, 230, 0.35);
  will-change: transform;
}

.cta-button__stack {
  display: grid;
  gap: 0.2rem;
  text-align: left;
}

.cta-button__jp {
  font-family: var(--font-jp);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(239, 236, 230, 0.62);
}

.cta-button__arrow {
  display: inline-block;
  transition: transform 0.45s var(--ease);
}

.cta-button:hover,
.cta-button:focus-visible {
  color: var(--paper);
}

.cta-button:hover .cta-button__arrow,
.cta-button:focus-visible .cta-button__arrow {
  transform: translateX(0.4rem);
}

.cta-button--solid {
  border: 1px solid var(--ink);
  padding: 0.95rem 1.4rem;
  color: var(--ink);
  margin-top: 0.5rem;
}

.cta.is-header-light :focus-visible,
.cta :focus-visible,
.site-footer :focus-visible,
.mobile-menu :focus-visible,
.contact-overlay :focus-visible {
  outline-color: var(--paper);
}

.cta-button--solid:focus-visible {
  outline-color: var(--ink);
}

/* ——— Footer ——— */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 0 var(--pad) 1.4rem;
  overflow: hidden;
}

.footer__top {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(239, 236, 230, 0.14);
}

.footer__label {
  font-size: 0.62rem;
  color: rgba(239, 236, 230, 0.42);
  margin-bottom: 0.85rem;
}

.footer__col nav,
.footer__col {
  display: grid;
  gap: 0.45rem;
}

.footer__col a,
.footer__col p {
  font-family: var(--font-en);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.footer__col a {
  width: fit-content;
  position: relative;
}

.footer__col a[hidden] {
  display: none !important;
}

.footer__col a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.footer__col a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer__mark {
  overflow: hidden;
  line-height: 0.8;
  margin-top: 1.2rem;
  margin-bottom: 0.35rem;
  container-type: inline-size;
}

.footer__word {
  display: block;
  width: 100%;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: min(22.2cqi, 18rem);
  letter-spacing: -0.068em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: none;
  max-width: 100%;
  padding-bottom: 0.12em;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0 0.4rem;
  border-top: 1px solid rgba(239, 236, 230, 0.14);
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(239, 236, 230, 0.45);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
}

.footer__legal a {
  color: inherit;
  width: fit-content;
}

.footer__legal a:hover,
.footer__legal a:focus-visible {
  color: var(--paper);
}

@media (min-width: 800px) {
  .footer__top {
    grid-template-columns: 1fr 1fr 1fr;
    padding-top: 3.5rem;
  }
}

/* ——— Contact overlay ——— */

.contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(17, 17, 16, 0.42);
  display: grid;
  justify-items: end;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.contact-overlay.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.contact-overlay.is-open .contact-overlay__panel {
  transform: none;
}

.contact-overlay__close {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.contact-overlay__x {
  position: absolute;
  top: 1.35rem;
  right: var(--pad);
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  min-height: 2.75rem;
  color: var(--muted);
}

.contact-overlay__x:hover {
  color: var(--ink);
}

.contact-overlay__panel {
  position: relative;
  z-index: 1;
  width: min(34rem, 100%);
  height: 100%;
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  padding: calc(var(--header-h) + 0.5rem) var(--pad) 3rem;
  transform: translateX(100%);
}

.contact-overlay h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.95;
}

.contact-overlay__lead {
  margin: 1rem 0 2rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.contact-form {
  display: grid;
  gap: 1.2rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form label span {
  font-family: var(--font-en);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 0.7rem 0;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.form-status {
  min-height: 1.4rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ——— Reduced motion ——— */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .loader {
    display: none !important;
  }

  .site-header {
    opacity: 1 !important;
  }

  .hero__title .line > span,
  .reveal-line > span,
  .footer__word,
  .quality__d,
  .quality__pct,
  .work-item,
  .work-item__visual img,
  .device {
    transform: none !important;
    opacity: 1 !important;
    clip-path: none !important;
  }

  .quality {
    height: auto !important;
  }

  .quality__pin {
    position: relative !important;
    height: auto !important;
  }

  .scroll-hint__line {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 720px) and (max-width: 1079px) {
  .quality__axes {
    grid-template-columns: 1fr 1fr;
  }

  .devices {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr;
    gap: 1.2rem 1rem;
    align-items: end;
  }

  .device--desk {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 100%;
  }

  .device--tab,
  .device--phone {
    position: static;
    margin: 0;
    width: 100%;
  }

  .device--phone {
    width: 58%;
  }
}

@media (max-width: 719px) {
  .hero__foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .scroll-hint {
    align-items: flex-start;
    min-width: 0;
  }

  .hero__title {
    align-self: stretch;
    padding: 6vh 0;
    font-size: clamp(2.6rem, 13.2vw, 4.2rem);
    letter-spacing: -0.055em;
    line-height: 0.84;
    max-width: 100%;
  }

  .hero__title .line--craft > span,
  .hero__title .line--accent > span {
    padding-left: 0;
  }

  .hero__title .line--business {
    margin-right: 0;
  }

  .quality__num {
    font-size: clamp(5.2rem, 28vw, 8.5rem);
  }

  .service__row {
    grid-template-columns: 2.2rem 1fr;
  }

  .service__ghost,
  .service__arrow {
    display: none;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .hero__meta {
    flex-direction: column;
    gap: 0.35rem;
  }

  .entry {
    padding-top: clamp(1.9rem, 5.1vh, 3rem);
    padding-bottom: clamp(2.6rem, 6.8vh, 4rem);
  }

  .entry__title {
    font-size: clamp(1.5rem, 7.1vw, 2.15rem);
    letter-spacing: 0.02em;
  }

  .entry__cta {
    min-height: 3rem;
  }

  .entry__notes {
    gap: 0.55rem 1.15rem;
  }

  .entry__notes li {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .manifesto {
    padding-top: clamp(2.6rem, 7.5vh, 4.6rem);
  }

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

  .work-item {
    width: 88%;
  }

  .device--tab,
  .device--phone {
    position: static;
  }
}

/* ——— Legal pages ——— */

body.legal-page {
  background: var(--paper);
}

body.legal-page .site-header {
  opacity: 1;
  background: rgba(239, 236, 230, 0.88);
}

.legal-back {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0;
}

.legal {
  padding: calc(var(--header-h) + clamp(2.4rem, 8vh, 5.5rem)) var(--pad) clamp(4.5rem, 12vh, 8rem);
  max-width: 46rem;
}

.legal__kicker {
  margin-bottom: 1.1rem;
}

.legal__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 8vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.legal__jp {
  margin-top: 1.15rem;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
}

.legal__intro {
  margin-top: 1.6rem;
  max-width: 36rem;
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.legal__block {
  margin-top: clamp(2.4rem, 6vh, 3.4rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.legal__num {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.legal__h {
  font-family: var(--font-jp);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.legal__body {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.95;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.legal__body + .legal__body {
  margin-top: 0.85rem;
}

.legal__body a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal dl {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.55rem;
}

.legal dt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.legal dd {
  font-size: 0.95rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.legal dd a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 719px) {
  .legal__h {
    font-size: 1.02rem;
  }

  .legal__intro,
  .legal__body,
  .legal dd {
    font-size: 0.94rem;
    line-height: 1.95;
  }
}

@media (prefers-reduced-motion: no-preference) {
  body.legal-page .legal {
    animation: legal-reveal 0.7s var(--ease) both;
  }
}

@keyframes legal-reveal {
  from {
    opacity: 0;
    transform: translateY(0.7rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
