:root {
  --visual-bg: #262434;
  --visual-bg-deep: #1c1a26;
  --visual-main: #5e5878;
  --visual-sub: #8f88a7;
  --visual-light: #f3f0eb;
  --visual-white: #ffffff;
  --visual-accent: #d87943;
  --visual-text: #25232d;
  --visual-text-light: #777382;
  --visual-line: rgba(94, 88, 120, 0.22);
  --visual-content: min(1180px, calc(100vw - 64px));
  --visual-serif: "Noto Serif JP", serif;
  --visual-sans: "Noto Sans JP", sans-serif;
  --visual-ease: cubic-bezier(0.2, 0.72, 0.18, 1);
}

html {
  width: 100%;
  max-width: 100%;

  overflow-x: clip;
  overscroll-behavior-x: none;
}

body.visual-page {
  width: 100%;
  max-width: 100%;

  background: var(--visual-light);
  color: var(--visual-text);

  overflow-x: clip;
  overscroll-behavior-x: none;
}
body.visual-page.is-menu-open {
  overflow: hidden;
}
.visual-container {
  width: var(--visual-content);
  margin-inline: auto;
}
.visual-skip {
  position: fixed;
  left: 16px;
  top: 10px;
  z-index: 9999;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  transform: translateY(-160%);
}
.visual-skip:focus {
  transform: translateY(0);
}
.visual-kicker {
  margin: 0 0 18px;
  color: var(--visual-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

/* Header */
.visual-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  padding: 0 clamp(20px, 4vw, 64px);
  color: #fff;
  background: linear-gradient(180deg, rgba(28, 26, 38, 0.22), transparent);
  transition:
    color 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease;
  pointer-events: none;
}
.visual-header[data-surface="light"] {
  color: var(--visual-text);
  background: rgba(243, 240, 235, 0.78);
  border-bottom: 1px solid rgba(37, 35, 45, 0.08);
  backdrop-filter: blur(14px);
}
.visual-header[data-surface="dark"] {
  color: #fff;
  background: linear-gradient(180deg, rgba(28, 26, 38, 0.38), transparent);
  border-bottom-color: transparent;
}
body.visual-page.is-menu-open .visual-header {
  color: #fff;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
.visual-header > * {
  pointer-events: auto;
}
.visual-header__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.visual-header__brand span {
  font-size: 0.86rem;
}
.visual-header__brand small {
  margin-top: 7px;
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  opacity: 0.72;
}
.visual-header__desktop {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}
.visual-header__desktop a {
  position: relative;
  color: inherit;
}
.visual-header__desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}
.visual-header__desktop a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.visual-header__contact {
  padding: 10px 15px;
  border: 1px solid currentColor;
}
.visual-menu-button {
  display: none;
  position: relative;
  width: 76px;
  height: 52px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.visual-menu-button span {
  position: absolute;
  left: 11px;
  top: 9px;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
}
.visual-menu-button i {
  position: absolute;
  right: 12px;
  width: 25px;
  height: 1px;
  background: currentColor;
  transition:
    transform 0.35s ease,
    top 0.35s ease;
}
.visual-menu-button i:nth-of-type(1) {
  top: 27px;
}
.visual-menu-button i:nth-of-type(2) {
  top: 34px;
}
.visual-menu-button[aria-expanded="true"] {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.visual-menu-button[aria-expanded="true"] i:nth-of-type(1) {
  top: 31px;
  transform: rotate(45deg);
}
.visual-menu-button[aria-expanded="true"] i:nth-of-type(2) {
  top: 31px;
  transform: rotate(-45deg);
}

/* Fullscreen NAV: thin vertical slices build the screen */
.visual-menu {
  position: fixed;
  inset: 0;
  z-index: 760;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s 0.86s;
}
.visual-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.visual-menu__slices {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  overflow: hidden;
  background: transparent;
}
.visual-menu__slices span {
  display: block;
  min-width: 0;
  height: 100%;
  background: var(--visual-bg-deep);
  border-right: 1px solid rgba(255, 255, 255, 0.065);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.58s var(--visual-ease);
  transition-delay: calc(var(--slice-index) * 18ms);
}
.visual-menu__slices span:nth-child(even) {
  transform-origin: bottom;
  background: #211f2d;
}
.visual-menu.is-open .visual-menu__slices span {
  transform: scaleY(1);
}
.visual-menu__inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  height: 100%;
  margin: auto;
  padding: 120px 0 42px;
  color: #fff;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.42s 0.34s ease,
    transform 0.56s 0.34s var(--visual-ease);
}
.visual-menu.is-open .visual-menu__inner {
  opacity: 1;
  transform: translateY(0);
}
.visual-menu__eyebrow,
.visual-menu__foot {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}
.visual-menu__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.visual-menu__links a {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 112px;
  padding: 22px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.3s ease;
}
.visual-menu__links a:hover {
  background: rgba(255, 255, 255, 0.07);
}
.visual-menu__links b {
  color: var(--visual-accent);
  font-family: var(--visual-serif);
  font-size: 0.8rem;
}
.visual-menu__links span {
  color: #fff;
  font-family: var(--visual-serif);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
}
.visual-menu__links small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--visual-sans);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
}
.visual-menu__foot {
  position: absolute;
  left: 0;
  bottom: 40px;
}

/* Hero */
.visual-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  max-width: 100%;
  isolation: isolate;
  background: var(--visual-bg-deep);
  color: #fff;
}
.visual-hero__background {
  position: absolute;
  inset: -2%;
  z-index: -3;
  background-image:
    linear-gradient(
      90deg,
      rgba(28, 26, 38, 0.94) 0%,
      rgba(28, 26, 38, 0.78) 44%,
      rgba(28, 26, 38, 0.38) 76%,
      rgba(28, 26, 38, 0.2) 100%
    ),
    url("../img/creative/visual/visual-hero.webp"),
    radial-gradient(circle at 73% 32%, #8f88a7, #262434 48%, #1c1a26 78%);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}
.visual-hero__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0 58%,
    rgba(216, 121, 67, 0.12) 58% 58.2%,
    transparent 58.2%
  );
}
.visual-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(12.5% - 1px),
      rgba(255, 255, 255, 0.06) 12.5%
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent calc(25% - 1px),
      rgba(255, 255, 255, 0.035) 25%
    );
  mask-image: linear-gradient(90deg, #000, transparent 90%);
}
.visual-hero__inner {
  width: var(--visual-content);
  margin: auto;
  padding: 130px 0 90px;
}
.visual-hero__terminal {
  position: absolute;
  left: clamp(24px, 4vw, 70px);
  top: 50%;
  margin: 0;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  letter-spacing: 0.28em;
  opacity: 0.72;
}
.visual-hero__terminal i {
  display: inline-block;
  width: 1px;
  height: 1.4em;
  margin-top: 0.6em;
  background: var(--visual-accent);
  animation: visualBlink 0.8s steps(1) infinite;
}
@keyframes visualBlink {
  50% {
    opacity: 0;
  }
}
.visual-hero__copy {
  max-width: 820px;
  margin-left: clamp(35px, 7vw, 110px);
  opacity: 0;
  transform: translateX(-90px);
  transition:
    opacity 1s 0.12s ease,
    transform 1.2s 0.12s var(--visual-ease);
}
body.is-hero-ready .visual-hero__copy {
  opacity: 1;
  transform: translateX(0);
}
.visual-hero h1 {
  margin: 0;
  font-family: var(--visual-serif);
  font-size: clamp(3rem, 6.4vw, 7rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.055em;
}
.visual-hero__lead {
  margin: 27px 0 0;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.68);
}
.visual-hero__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 28px 0 0;
}
.visual-hero__price small {
  margin-right: 10px;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  opacity: 0.52;
}
.visual-hero__price strong {
  font-family: var(--visual-serif);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  font-weight: 500;
  color: var(--visual-accent);
}
.visual-hero__price span {
  font-size: 0.82rem;
}
.visual-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.visual-hero__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 46px;
  min-width: 220px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  font-size: 0.72rem;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}
.visual-hero__actions a:first-child {
  background: var(--visual-accent);
  border-color: var(--visual-accent);
}
.visual-hero__actions a:hover {
  transform: translateY(-3px);
  background: #fff;
  color: var(--visual-bg-deep);
}
.visual-hero__side {
  position: absolute;
  right: 25px;
  bottom: 34px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  writing-mode: vertical-rl;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  opacity: 0.62;
}
.visual-hero__side b {
  color: var(--visual-accent);
}

/* Works / SELECTED WORKS
   16-column fixed geometry on every viewport.
   Tablet / Mobile do not reflow the gallery: all works scale proportionally with vw. */
.visual-works {
  --work-col: 6.25vw;
  --work-row: 3.515625vw; /* 6.25vw × 9 / 16 */
  position: relative;
  padding: clamp(104px, 10vw, 152px) 0 clamp(116px, 11vw, 170px);
  background: #dce8eb;
  color: var(--visual-text);
  overflow: hidden;
  border-top: 1px solid rgba(38, 36, 52, 0.16);
  background-image: none;
}

.visual-works > .visual-container {
  width: 100%;
}

.visual-works__heading {
  width: min(680px, calc(100vw - 64px));
  max-width: none;
  margin: 0 0 clamp(64px, 7vw, 104px) clamp(24px, 5.5vw, 96px);
  color: var(--visual-text);
}

.visual-works__heading h2 {
  max-width: 12em;
  margin: 0;
  color: var(--visual-text);
  font-family: var(--visual-serif);
  font-size: clamp(1.95rem, 3vw, 3.35rem);
  font-weight: 500;
  line-height: 1.44;
  letter-spacing: -0.045em;
}

.visual-works__heading > p:last-child {
  max-width: 48em;
  margin: 22px 0 0;
  font-size: 0.78rem;
  line-height: 1.95;
  color: rgba(37, 35, 45, 0.68);
}

.visual-works__gallery {
  position: relative;
  width: 100vw;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  grid-template-rows: repeat(66, var(--work-row));
  grid-auto-flow: row;
  gap: 0;
  align-items: stretch;
  overflow: hidden;

  background-size: var(--work-col) var(--work-row);
  background-position: 0 0;
}

.visual-work {
  margin: 0 !important;
  width: auto;
  min-width: 0;
  aspect-ratio: auto;
  grid-column: var(--work-col-start) / span var(--work-span);
  grid-row: var(--work-row-start) / span var(--work-span);
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 12px 34px rgba(38, 36, 52, 0.1);
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 0.68s ease,
    transform 0.86s var(--visual-ease),
    box-shadow 0.4s ease;
}

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

.visual-work img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  transition:
    transform 0.65s var(--visual-ease),
    filter 0.5s ease;
}

.visual-work figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 11px;
  background: linear-gradient(transparent, rgba(28, 26, 38, 0.84));
  color: #fff;
  font-size: 0.48rem;
  letter-spacing: 0.13em;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.3s ease;
}

.visual-work figcaption span,
.visual-work figcaption b {
  color: #fff;
}

.visual-work figcaption b {
  font-family: var(--visual-serif);
  font-size: 0.7rem;
}

.visual-work:hover {
  z-index: 3;
  box-shadow: 0 24px 58px rgba(38, 36, 52, 0.22);
}

.visual-work:hover img {
  transform: scale(1.028);
}

.visual-work:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* Band 01 */
.visual-work--01 {
  --work-col-start: 1;
  --work-row-start: 1;
  --work-span: 8;
}
.visual-work--02 {
  --work-col-start: 9;
  --work-row-start: 3;
  --work-span: 3;
}
.visual-work--03 {
  --work-col-start: 12;
  --work-row-start: 2;
  --work-span: 3;
}
.visual-work--04 {
  --work-col-start: 15;
  --work-row-start: 6;
  --work-span: 2;
}

/* Band 02 */
.visual-work--05 {
  --work-col-start: 1;
  --work-row-start: 12;
  --work-span: 4;
}
.visual-work--06 {
  --work-col-start: 5;
  --work-row-start: 10;
  --work-span: 4;
}
.visual-work--07 {
  --work-col-start: 9;
  --work-row-start: 14;
  --work-span: 4;
}
.visual-work--08 {
  --work-col-start: 13;
  --work-row-start: 11;
  --work-span: 4;
}

/* Band 03 */
.visual-work--09 {
  --work-col-start: 1;
  --work-row-start: 19;
  --work-span: 6;
}
.visual-work--10 {
  --work-col-start: 7;
  --work-row-start: 22;
  --work-span: 4;
}
.visual-work--11 {
  --work-col-start: 11;
  --work-row-start: 24;
  --work-span: 3;
}
.visual-work--12 {
  --work-col-start: 14;
  --work-row-start: 20;
  --work-span: 3;
}

/* Band 04 */
.visual-work--13 {
  --work-col-start: 1;
  --work-row-start: 31;
  --work-span: 4;
}
.visual-work--14 {
  --work-col-start: 5;
  --work-row-start: 28;
  --work-span: 3;
}
.visual-work--15 {
  --work-col-start: 8;
  --work-row-start: 33;
  --work-span: 3;
}
.visual-work--16 {
  --work-col-start: 11;
  --work-row-start: 30;
  --work-span: 3;
}
.visual-work--17 {
  --work-col-start: 14;
  --work-row-start: 32;
  --work-span: 3;
}

/* Band 05 */
.visual-work--18 {
  --work-col-start: 1;
  --work-row-start: 38;
  --work-span: 8;
}
.visual-work--19 {
  --work-col-start: 9;
  --work-row-start: 41;
  --work-span: 4;
}
.visual-work--20 {
  --work-col-start: 13;
  --work-row-start: 37;
  --work-span: 2;
}
.visual-work--21 {
  --work-col-start: 15;
  --work-row-start: 43;
  --work-span: 2;
}

/* Band 06 */
.visual-work--22 {
  --work-col-start: 1;
  --work-row-start: 47;
  --work-span: 5;
}
.visual-work--23 {
  --work-col-start: 6;
  --work-row-start: 52;
  --work-span: 3;
}
.visual-work--24 {
  --work-col-start: 9;
  --work-row-start: 49;
  --work-span: 2;
}
.visual-work--25 {
  --work-col-start: 11;
  --work-row-start: 51;
  --work-span: 3;
}
.visual-work--26 {
  --work-col-start: 14;
  --work-row-start: 48;
  --work-span: 3;
}

/* Band 07 */
.visual-work--27 {
  --work-col-start: 1;
  --work-row-start: 60;
  --work-span: 4;
}
.visual-work--28 {
  --work-col-start: 5;
  --work-row-start: 57;
  --work-span: 4;
}
.visual-work--29 {
  --work-col-start: 9;
  --work-row-start: 56;
  --work-span: 5;
}
.visual-work--30 {
  --work-col-start: 14;
  --work-row-start: 61;
  --work-span: 3;
}

/* Counter is intentionally hidden in the current design. */
.visual-works__counter {
  display: none;
}

/* Only typography / spacing changes on small screens.
   Gallery columns, rows and item positions never change. */
@media (max-width: 780px) {
  .visual-works {
    padding-top: 95px;
  }

  .visual-works__heading h2 {
    font-size: clamp(1.8rem, 7.5vw, 2.6rem);
  }
}

@media (max-width: 640px) {
  .visual-works__heading {
    width: calc(100vw - 36px);
    margin-left: 18px;
    margin-right: 18px;
  }
}

/* Shared section headings/reveal */
.visual-section-heading {
  max-width: 760px;
}
.visual-section-heading h2,
.visual-intro__copy h2,
.visual-capabilities__heading h2,
.visual-price-table__heading h2 {
  margin: 0;
  max-width: 15em;
  font-family: var(--visual-serif);
  font-size: clamp(1.95rem, 3.45vw, 3.65rem);
  font-weight: 500;
  line-height: 1.44;
  letter-spacing: -0.04em;
}
.visual-section-heading > p:last-child,
.visual-price-table__heading > p:last-child {
  max-width: 50em;
  margin-top: 20px;
  color: var(--visual-text-light);
  font-size: 0.8rem;
  line-height: 1.9;
}
.visual-reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 0.75s ease,
    transform 0.9s var(--visual-ease);
}
.visual-reveal--left {
  transform: translateX(-72px);
}
.visual-reveal--right {
  transform: translateX(72px);
}
.visual-reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Intro */
.visual-intro {
  padding: clamp(110px, 14vw, 190px) 0;
  background: var(--visual-light);
}
.visual-intro__grid {
  display: grid;
  grid-template-columns: 0.32fr 1fr 0.9fr;
  gap: clamp(35px, 6vw, 90px);
  align-items: center;
}
.visual-intro__index {
  align-self: stretch;
  padding-top: 8px;
  border-right: 1px solid var(--visual-line);
}
.visual-intro__index span {
  display: block;
  font-family: var(--visual-serif);
  font-size: clamp(5rem, 9vw, 9rem);
  line-height: 1;
  color: rgba(94, 88, 120, 0.12);
}
.visual-intro__index small {
  display: block;
  margin-top: 20px;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--visual-main);
}
.visual-intro__copy > p:not(.visual-kicker) {
  max-width: 48em;
  margin: 24px 0 0;
  color: var(--visual-text-light);
  font-size: 0.82rem;
  line-height: 2;
}
.visual-intro__figure {
  margin: 0;
  position: relative;
}
.visual-intro__figure::before {
  content: "";
  position: absolute;
  inset: -18px 24px 24px -18px;
  border: 1px solid var(--visual-main);
  z-index: -1;
  opacity: 0.42;
}
.visual-intro__figure img {
  aspect-ratio: 4/5;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(0.96);
}
.visual-intro__figure figcaption {
  position: absolute;
  right: -20px;
  bottom: -20px;
  padding: 13px 16px;
  background: var(--visual-bg);
  color: #fff;
  font-size: 0.5rem;
  letter-spacing: 0.15em;
}

/* Reassurance */
.visual-reassurance {
  padding: clamp(110px, 13vw, 180px) 0;
  background: #fff;
  overflow: hidden;
}
.visual-reassurance__list {
  display: grid;
  gap: 0;
  margin-top: 70px;
  border-top: 1px solid var(--visual-line);
}
.visual-reassurance__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--visual-line);
}
.visual-reassurance__item:nth-child(even) {
  margin-left: 14%;
}
.visual-reassurance__item:nth-child(odd) {
  margin-right: 14%;
}
.visual-reassurance__item > span {
  color: var(--visual-accent);
  font-family: var(--visual-serif);
  font-size: 1rem;
}
.visual-reassurance__item h3 {
  margin: 0;
  font-family: var(--visual-serif);
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  font-weight: 500;
}
.visual-reassurance__item p {
  margin: 12px 0 0;
  max-width: 54em;
  color: var(--visual-text-light);
  font-size: 0.8rem;
  line-height: 1.9;
}

/* =========================================================
   CAPABILITIES
   STACKING SERVICE CARDS
========================================================= */

.visual-capabilities {
  position: relative;
  isolation: isolate;

  padding: clamp(120px, 12vw, 180px) 0 clamp(150px, 18vw, 260px);

  background: var(--visual-bg-deep);

  color: #fff;

  /*
   * stickyを使うので
   * overflow:hidden は使わない。
   */
  overflow: visible;
}

/* =========================================================
   BACKGROUND
========================================================= */

.visual-capabilities__background {
  position: absolute;
  inset: 0;

  z-index: -2;

  overflow: hidden;

  background:
    radial-gradient(circle at 72% 20%, rgba(94, 88, 120, 0.3), transparent 34%),
    linear-gradient(145deg, #1c1a26 0%, #262434 58%, #1c1a26 100%);
}

.visual-capabilities__background::before {
  content: "";

  position: absolute;
  inset: 0;

  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(8.333% - 1px),
    rgba(255, 255, 255, 0.035) calc(8.333% - 1px),
    rgba(255, 255, 255, 0.035) 8.333%
  );

  pointer-events: none;
}

.visual-capabilities::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -1;

  background: linear-gradient(
    135deg,
    transparent 0 48%,
    rgba(216, 121, 67, 0.06) 48% 48.1%,
    transparent 48.1%
  );

  pointer-events: none;
}

/* =========================================================
   INNER
========================================================= */

.visual-capabilities__inner {
  position: relative;
}

/* =========================================================
   HEADING
========================================================= */

.visual-capabilities__heading {
  position: relative;

  z-index: 10;

  max-width: 760px;

  margin-bottom: clamp(70px, 9vw, 130px);
}

.visual-capabilities__heading h2 {
  margin: 0;

  color: #fff;

  font-family: var(--visual-serif);

  font-size: clamp(2.1rem, 4vw, 4.3rem);

  font-weight: 500;

  line-height: 1.35;

  letter-spacing: -0.045em;
}

.visual-capabilities__heading > p:last-child {
  max-width: 48em;

  margin: 22px 0 0;

  color: rgba(255, 255, 255, 0.6);

  font-size: 0.8rem;

  line-height: 1.9;
}

/* =========================================================
   STACK
========================================================= */

.visual-capabilities__stack {
  position: relative;

  width: 100%;

  /*
   * 最後のカードがsticky状態を
   * 十分見せられる余白。
   */
  padding-bottom: clamp(180px, 25vh, 320px);
}

/* =========================================================
   CARD
========================================================= */

.visual-capability {
  /*
   * カードごとに
   * 44pxずつ下へ停止位置をずらす。
   *
   * 前カードの上部だけが残るため
   * 参考画像の積層状態になる。
   */
  --cap-stack-gap: 44px;

  position: sticky;

  top: calc(96px + (var(--stack-index) * var(--cap-stack-gap)));

  z-index: calc(10 + var(--stack-index));

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    clamp(120px, 14vw, 210px);

  align-items: stretch;

  width: 100%;

  min-height: clamp(310px, 31vw, 420px);

  margin: 0 0 clamp(76px, 10vh, 120px);

  padding: clamp(28px, 3.6vw, 52px) clamp(28px, 4vw, 60px);

  border: 1px solid rgba(28, 26, 38, 0.18);

  border-radius: 14px;

  overflow: hidden;

  color: var(--cap-text);

  background: var(--cap-bg);

  box-shadow: 0 22px 55px rgba(8, 7, 12, 0.2);

  transform: translateZ(0);
}

/* 小さな内側ライン */
.visual-capability::before {
  content: "";

  position: absolute;

  inset: 10px;

  border: 1px solid color-mix(in srgb, var(--cap-text) 13%, transparent);

  border-radius: 9px;

  pointer-events: none;
}

/* =========================================================
   NUMBER
========================================================= */

.visual-capability__number {
  position: absolute;

  left: clamp(28px, 4vw, 60px);

  top: clamp(24px, 3vw, 42px);

  color: var(--cap-text);

  font-family: var(--visual-sans);

  font-size: clamp(0.68rem, 0.8vw, 0.82rem);

  font-weight: 700;

  letter-spacing: 0.04em;
}

/* =========================================================
   CONTENT
========================================================= */

.visual-capability__body {
  align-self: stretch;

  display: flex;

  flex-direction: column;

  min-width: 0;

  padding-top: clamp(58px, 6vw, 78px);
}

/* English title */
.visual-capability .visual-capability__body h3 {
  max-width: 15em;

  margin: 0;

  color: var(--cap-text);

  font-family: var(--visual-serif);

  font-size: clamp(2.05rem, 4.2vw, 4.9rem);

  font-weight: 500;

  line-height: 1.05;

  letter-spacing: -0.045em;
}

/* Japanese label */
.visual-capability__body > strong {
  display: block;

  margin-top: clamp(18px, 2vw, 28px);

  color: var(--cap-text);

  font-family: var(--visual-sans);

  font-size: clamp(0.78rem, 1vw, 0.94rem);

  font-weight: 700;

  letter-spacing: 0.02em;
}

/* Description */
.visual-capability .visual-capability__body > p {
  max-width: 58em;

  margin: auto 0 0;

  padding-top: clamp(30px, 4vw, 56px);

  color: var(--cap-text);

  font-size: clamp(0.72rem, 0.82vw, 0.82rem);

  font-weight: 500;

  line-height: 1.9;

  opacity: 0.84;
}

/* =========================================================
   ARROW
========================================================= */

.visual-capability__arrow {
  position: relative;

  align-self: center;

  justify-self: end;

  width: clamp(82px, 10vw, 150px);

  height: clamp(82px, 10vw, 150px);
}

/* horizontal line */
.visual-capability__arrow::before {
  content: "";

  position: absolute;

  left: 0;

  top: 50%;

  width: 88%;

  height: clamp(7px, 0.8vw, 13px);

  border-radius: 999px;

  background: var(--cap-text);

  transform: translateY(-50%);
}

/* arrow head */
.visual-capability__arrow::after {
  content: "";

  position: absolute;

  right: 4%;

  top: 50%;

  width: 45%;

  height: 45%;

  border-top: clamp(7px, 0.8vw, 13px) solid var(--cap-text);

  border-right: clamp(7px, 0.8vw, 13px) solid var(--cap-text);

  transform: translateY(-50%) rotate(45deg);
}

/* =========================================================
   CARD COLORS
========================================================= */

.visual-capability--01 {
  --cap-bg: #1c1a26;

  --cap-text: #f3f0eb;
}

.visual-capability--02 {
  --cap-bg: #f3f0eb;

  --cap-text: #25232d;
}

.visual-capability--03 {
  --cap-bg: #d87943;

  --cap-text: #1c1a26;
}

.visual-capability--04 {
  --cap-bg: #8f88a7;

  --cap-text: #1c1a26;
}

.visual-capability--05 {
  --cap-bg: #5e5878;

  --cap-text: #ffffff;
}

.visual-capability--06 {
  --cap-bg: #262434;

  --cap-text: #ffffff;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .visual-capability {
    --cap-stack-gap: 38px;

    top: calc(84px + (var(--stack-index) * var(--cap-stack-gap)));

    grid-template-columns:
      minmax(0, 1fr)
      120px;

    min-height: 330px;

    margin-bottom: 76px;
  }

  .visual-capability .visual-capability__body h3 {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }

  .visual-capability__arrow {
    width: 92px;

    height: 92px;
  }
}

/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 640px) {
  .visual-capabilities {
    padding: 100px 0 130px;
  }

  .visual-capabilities__heading {
    margin-bottom: 64px;
  }

  .visual-capabilities__stack {
    /*
     * 6枚目まで重なっても
     * viewport内に残せる量へ。
     */
    padding-bottom: 180px;
  }

  .visual-capability {
    --cap-stack-gap: 31px;

    top: calc(76px + (var(--stack-index) * var(--cap-stack-gap)));

    grid-template-columns:
      minmax(0, 1fr)
      72px;

    min-height: 300px;

    margin-bottom: 58px;

    padding: 24px 20px;

    border-radius: 10px;
  }

  .visual-capability::before {
    inset: 7px;
  }

  .visual-capability__number {
    left: 20px;

    top: 20px;
  }

  .visual-capability__body {
    padding-top: 48px;
  }

  .visual-capability .visual-capability__body h3 {
    max-width: 11em;

    font-size: clamp(1.65rem, 8vw, 2.35rem);

    line-height: 1.08;
  }

  .visual-capability__body > strong {
    margin-top: 14px;

    font-size: 0.72rem;
  }

  .visual-capability .visual-capability__body > p {
    padding-top: 24px;

    font-size: 0.68rem;

    line-height: 1.75;
  }

  .visual-capability__arrow {
    width: 58px;

    height: 58px;
  }

  .visual-capability__arrow::before {
    height: 6px;
  }

  .visual-capability__arrow::after {
    border-top-width: 6px;

    border-right-width: 6px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .visual-capability {
    scroll-behavior: auto;
  }
}
/* =========================================================
   CAPABILITIES
   ORIGINAL STACKED VISUAL SYSTEM
========================================================= */

.visual-capabilities {
  position: relative;
  isolation: isolate;

  padding: clamp(110px, 11vw, 170px) 0 clamp(70px, 7vw, 110px);

  background: var(--visual-bg-deep);

  color: #fff;

  /*
   * stickyのためhidden禁止
   */
  overflow: visible;
}

/* =========================================================
   BACKGROUND
========================================================= */

.visual-capabilities__background {
  position: absolute;
  inset: 0;

  z-index: -2;

  background:
    radial-gradient(
      circle at 78% 18%,
      rgba(143, 136, 167, 0.16),
      transparent 34%
    ),
    linear-gradient(145deg, #1c1a26, #262434 54%, #1c1a26);
}

.visual-capabilities__background::before {
  content: "";

  position: absolute;
  inset: 0;

  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(8.333% - 1px),
    rgba(255, 255, 255, 0.025) calc(8.333% - 1px),
    rgba(255, 255, 255, 0.025) 8.333%
  );

  pointer-events: none;
}

/* =========================================================
   INNER
========================================================= */

.visual-capabilities__inner {
  position: relative;
}

/* =========================================================
   HEADING
========================================================= */

.visual-capabilities__heading {
  max-width: 760px;

  margin-bottom: clamp(70px, 8vw, 110px);
}

.visual-capabilities__heading h2 {
  margin: 0;

  color: #fff;

  font-family: var(--visual-serif);

  font-size: clamp(2.15rem, 4vw, 4rem);

  font-weight: 500;

  line-height: 1.4;

  letter-spacing: -0.045em;
}

.visual-capabilities__heading > p:last-child {
  max-width: 50em;

  margin-top: 22px;

  color: rgba(255, 255, 255, 0.58);

  font-size: 0.8rem;

  line-height: 1.95;
}

/* =========================================================
   STACK
========================================================= */

.visual-capabilities__stack {
  position: relative;

  width: 100%;

  /*
   * 前回の巨大空白の原因だった
   * padding-bottomは完全撤去
   */
  padding-bottom: 0;
}

/* =========================================================
   CARD
========================================================= */

.visual-capability {
  --cap-stack-step: 34px;
  --cap-bg: #f3f0eb;
  --cap-fg: #25232d;
  --cap-accent: #d87943;

  position: sticky;

  top: calc(92px + var(--stack-index) * var(--cap-stack-step));

  z-index: calc(10 + var(--stack-index));

  display: grid;

  grid-template-columns:
    clamp(68px, 7vw, 96px)
    minmax(0, 1fr)
    minmax(210px, 31%);

  width: 100%;

  min-height: clamp(300px, 30vw, 390px);

  margin: 0 0 54px;

  padding: 0;

  color: var(--cap-fg);

  background: var(--cap-bg);

  border: 1px solid rgba(143, 136, 167, 0.25);

  /*
   * 参考サイトの丸角をやめる
   */
  border-radius: 0;

  /*
   * 右上と左下をカット
   */
  clip-path: polygon(
    0 0,
    calc(100% - 28px) 0,
    100% 28px,
    100% 100%,
    28px 100%,
    0 calc(100% - 28px)
  );

  box-shadow: 0 20px 50px rgba(8, 7, 12, 0.22);

  overflow: hidden;
}

/*
 * 最終カードの後ろに
 * 余計なスクロール余白を作らない
 */
.visual-capability:last-child {
  margin-bottom: 0;
}

/* =========================================================
   TOP ACCENT
========================================================= */

.visual-capability::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 100%;
  height: 3px;

  background: linear-gradient(
    90deg,
    var(--cap-accent) 0 22%,
    rgba(94, 88, 120, 0.2) 22% 100%
  );
}

/* =========================================================
   INDEX RAIL
========================================================= */

.visual-capability__index {
  position: relative;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  padding: 30px 18px 26px;

  border-right: 1px solid rgba(94, 88, 120, 0.2);
}

.visual-capability__index span {
  color: var(--cap-accent);

  font-family: var(--visual-serif);

  font-size: clamp(1.15rem, 1.6vw, 1.65rem);

  line-height: 1;
}

.visual-capability__index small {
  writing-mode: vertical-rl;

  color: color-mix(in srgb, var(--cap-fg) 48%, transparent);

  font-size: 0.5rem;

  letter-spacing: 0.18em;
}

/* =========================================================
   CONTENT
========================================================= */

.visual-capability__content {
  position: relative;

  display: flex;

  flex-direction: column;

  padding: clamp(30px, 4vw, 52px) clamp(28px, 4vw, 60px);
}

.visual-capability__type {
  margin: 0 0 22px;

  color: var(--cap-accent) !important;

  font-size: 0.55rem !important;

  font-weight: 700;

  letter-spacing: 0.2em;
}

.visual-capability .visual-capability__content h3 {
  max-width: 10em;

  margin: 0;

  color: var(--cap-fg);

  font-family: var(--visual-serif);

  font-size: clamp(1.8rem, 3.3vw, 3.65rem);

  font-weight: 500;

  line-height: 1.22;

  letter-spacing: -0.045em;
}

.visual-capability__description {
  max-width: 45em;

  margin: auto 0 0 !important;

  padding-top: 30px;

  color: color-mix(in srgb, var(--cap-fg) 72%, transparent) !important;

  font-size: 0.72rem !important;

  line-height: 1.9;
}

/* =========================================================
   TAGS
========================================================= */

.visual-capability__tags {
  display: flex;

  flex-wrap: wrap;

  gap: 6px;

  margin-top: 20px;
}

.visual-capability__tags span {
  padding: 5px 9px;

  color: var(--cap-fg);

  border: 1px solid color-mix(in srgb, var(--cap-fg) 18%, transparent);

  font-size: 0.48rem;

  letter-spacing: 0.08em;
}

/* =========================================================
   VISUAL FRAME
========================================================= */

.visual-capability__visual {
  position: relative;

  align-self: stretch;

  min-height: 100%;

  margin: 18px 18px 18px 0;

  overflow: hidden;

  color: var(--cap-fg);

  border: 1px solid color-mix(in srgb, var(--cap-fg) 22%, transparent);
}

/* 内部グリッド */
.visual-capability__visual::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.08;
}

.visual-capability__visual > span {
  position: absolute;

  left: 16px;
  top: 15px;

  color: var(--cap-accent);

  font-size: 0.48rem;

  letter-spacing: 0.16em;
}

.visual-capability__visual > b {
  position: absolute;

  left: 16px;
  bottom: 16px;

  color: var(--cap-fg);

  font-family: var(--visual-sans);

  font-size: clamp(0.7rem, 1vw, 1rem);

  letter-spacing: 0.14em;
}

/* =========================================================
   COLOR SYSTEM
   派手な6色カードにはしない
========================================================= */

.visual-capability--01 {
  --cap-bg: #f3f0eb;
  --cap-fg: #25232d;
  --cap-accent: #d87943;
}

.visual-capability--02 {
  --cap-bg: #e9e6e7;
  --cap-fg: #25232d;
  --cap-accent: #5e5878;
}

.visual-capability--03 {
  --cap-bg: #8f88a7;
  --cap-fg: #1c1a26;
  --cap-accent: #f3f0eb;
}

.visual-capability--04 {
  --cap-bg: #5e5878;
  --cap-fg: #ffffff;
  --cap-accent: #d87943;
}

.visual-capability--05 {
  --cap-bg: #262434;
  --cap-fg: #ffffff;
  --cap-accent: #d87943;
}

.visual-capability--06 {
  --cap-bg: #1c1a26;
  --cap-fg: #f3f0eb;
  --cap-accent: #d87943;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .visual-capability {
    --cap-stack-step: 30px;

    top: calc(82px + var(--stack-index) * var(--cap-stack-step));

    grid-template-columns:
      62px
      minmax(0, 1fr)
      minmax(160px, 28%);

    min-height: 320px;

    margin-bottom: 46px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
  .visual-capabilities {
    padding: 95px 0 42px;
  }

  .visual-capabilities__heading {
    margin-bottom: 58px;
  }

  .visual-capability {
    --cap-stack-step: 24px;

    top: calc(72px + var(--stack-index) * var(--cap-stack-step));

    grid-template-columns:
      42px
      minmax(0, 1fr);

    min-height: 290px;

    margin-bottom: 38px;

    clip-path: polygon(
      0 0,
      calc(100% - 18px) 0,
      100% 18px,
      100% 100%,
      18px 100%,
      0 calc(100% - 18px)
    );
  }

  .visual-capability__index {
    padding: 22px 9px 18px;
  }

  .visual-capability__index small {
    font-size: 0.42rem;
  }

  .visual-capability__content {
    padding: 24px 18px 26px;
  }

  .visual-capability .visual-capability__content h3 {
    font-size: clamp(1.55rem, 8vw, 2.3rem);
  }

  .visual-capability__description {
    font-size: 0.66rem !important;

    line-height: 1.75;
  }

  /*
   * スマホでは右側フレームを
   * 背景装飾へ切り替える
   */
  .visual-capability__visual {
    position: absolute;

    right: 12px;
    top: 12px;

    width: 34%;
    height: 38%;

    min-height: 0;

    margin: 0;

    opacity: 0.22;

    pointer-events: none;
  }

  .visual-capability__tags {
    padding-right: 4px;
  }
}
.visual-capability p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
}

/* Price */
.visual-price {
  position: relative;
  background: var(--visual-light);
}
.visual-price-showcase {
  position: relative;
  height: 175vh;
  background: #0f0e14;
}
.visual-price-showcase__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #0f0e14;
  color: #fff;
}
.visual-price-showcase__media {
  position: absolute;
  inset: -18vh -3vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.3vw, 24px);
  transform: rotate(-1.2deg) scale(1.04);
}
.visual-price-showcase__column {
  --price-y: 0px;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.5vw, 26px);
  transform: translate3d(0, var(--price-y), 0);
  will-change: transform;
}
.visual-price-showcase__column:nth-child(2),
.visual-price-showcase__column:nth-child(4) {
  padding-top: 18vh;
}
.visual-price-showcase__column img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--visual-bg);
  filter: saturate(0.82) contrast(0.96);
}
.visual-price-showcase__shade {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 12, 0.58);
  backdrop-filter: blur(0.3px);
}
.visual-price-showcase__center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 24px;
}
.visual-price-showcase__center .visual-kicker {
  color: #fff;
  opacity: 0.7;
}
.visual-price-showcase__center h2 {
  margin: 0;
  font-family: var(--visual-sans);
  font-size: clamp(3.2rem, 7vw, 7.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.015em;
}
.visual-price-showcase__center p {
  margin: 22px 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}
.visual-price-showcase__center p strong {
  color: #fff;
  font-size: 1rem;
}
.visual-price-showcase__center > span {
  margin-top: 34px;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.48);
}
.visual-price-table {
  padding: clamp(110px, 13vw, 180px) 0;
  background: var(--visual-light);
}
.visual-price-table__heading {
  max-width: 760px;
  margin-bottom: clamp(50px, 7vw, 90px);
}
.visual-rate-list {
  border-top: 1px solid var(--visual-text);
}
.visual-rate-row {
  border-bottom: 1px solid var(--visual-line);
}
.visual-rate-row summary {
  list-style: none;
  display: grid;
  grid-template-columns: 48px 1fr auto 34px;
  gap: 18px;
  align-items: center;
  padding: 26px 4px;
  cursor: pointer;
}
.visual-rate-row summary::-webkit-details-marker {
  display: none;
}
.visual-rate-row summary span {
  color: var(--visual-accent);
  font-family: var(--visual-serif);
  font-size: 0.8rem;
}
.visual-rate-row summary b {
  font-family: var(--visual-serif);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 500;
}
.visual-rate-row summary strong {
  color: var(--visual-main);
  font-size: 0.78rem;
  white-space: nowrap;
}
.visual-rate-row summary i,
.visual-faq summary i,
.visual-faq__section-summary > i {
  position: relative;
  width: 28px;
  height: 28px;
}
.visual-rate-row summary i::before,
.visual-rate-row summary i::after,
.visual-faq summary i::before,
.visual-faq summary i::after,
.visual-faq__section-summary > i::before,
.visual-faq__section-summary > i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.35s ease;
}
.visual-rate-row summary i::after,
.visual-faq summary i::after,
.visual-faq__section-summary > i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.visual-rate-row[open] summary i::after,
.visual-faq details[open] summary i::after,
.visual-faq__section[open] > .visual-faq__section-summary > i::after {
  transform: translate(-50%, -50%) rotate(0);
}
.visual-rate-row > div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--visual-ease);
}
.visual-rate-row[open] > div {
  grid-template-rows: 1fr;
}
.visual-rate-row > div p {
  overflow: hidden;
  margin: 0;
  padding: 0 96px 28px 70px;
  color: var(--visual-text-light);
  font-size: 0.75rem;
  line-height: 1.9;
}
.visual-rate-row--accent summary {
  background: var(--visual-bg);
  color: #fff;
  padding-inline: 18px;
}
.visual-rate-row--accent summary strong {
  color: var(--visual-accent);
}
.visual-price-table__note {
  margin: 24px 0 0;
  color: var(--visual-text-light);
  font-size: 0.68rem;
  line-height: 1.8;
}

/* Estimate */
.visual-estimate {
  padding: clamp(120px, 14vw, 190px) 0;
  background: var(--visual-bg);
  color: #fff;
}
.visual-estimate .visual-section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.58);
}
.visual-estimator {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(25px, 4vw, 60px);
  margin-top: 70px;
  align-items: start;
}
.visual-estimator__options {
  display: grid;
  gap: 18px;
}
.visual-estimator__field {
  margin: 0;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.025);
}
.visual-estimator__field legend {
  padding: 0 10px;
  font-family: var(--visual-serif);
  font-size: 1rem;
}
.visual-estimator__field legend span {
  margin-right: 12px;
  color: var(--visual-accent);
  font-family: var(--visual-sans);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
}
.visual-estimator__radio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.visual-estimator__radio-grid label,
.visual-estimator__check {
  cursor: pointer;
}
.visual-estimator__radio-grid input,
.visual-estimator__check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.visual-estimator__radio-grid label > span,
.visual-estimator__check > span {
  display: flex;
  flex-direction: column;
  min-height: 125px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: 0.3s ease;
}
.visual-estimator__radio-grid input:checked + span,
.visual-estimator__check input:checked + span {
  background: var(--visual-light);
  color: var(--visual-text);
  border-color: var(--visual-light);
  transform: translateY(-2px);
}
.visual-estimator__radio-grid b,
.visual-estimator__check b {
  font-family: var(--visual-serif);
  font-size: 1rem;
}
.visual-estimator__radio-grid small,
.visual-estimator__check small {
  margin-top: 7px;
  font-size: 0.62rem;
  opacity: 0.6;
}
.visual-estimator__radio-grid strong,
.visual-estimator__check strong {
  margin-top: auto;
  padding-top: 18px;
  color: var(--visual-accent);
  font-size: 0.72rem;
}
.visual-estimator__check {
  display: block;
  margin-top: 10px;
}
.visual-estimator__check > span {
  min-height: 96px;
}
.visual-estimator__number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.visual-estimator__number > span:first-child {
  display: flex;
  flex-direction: column;
}
.visual-estimator__number b {
  font-family: var(--visual-serif);
  font-size: 1rem;
}
.visual-estimator__number small {
  margin-top: 5px;
  font-size: 0.62rem;
  opacity: 0.55;
}
.visual-estimator__number > span:last-child {
  display: grid;
  grid-template-columns: 42px 70px 42px;
  align-items: stretch;
}
.visual-estimator__number button,
.visual-estimator__number input {
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
  text-align: center;
}
.visual-estimator__number input {
  border-inline: 0;
  width: 70px;
}
.visual-estimator__number button {
  cursor: pointer;
}
.visual-estimator__result {
  position: sticky;
  top: 110px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--visual-light);
  color: var(--visual-text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}
.visual-estimator__result h3 {
  margin: 0;
  font-family: var(--visual-serif);
  font-size: 1.3rem;
}
.visual-estimator__total {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 28px 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--visual-line);
}
.visual-estimator__total strong {
  font-family: var(--visual-serif);
  font-size: clamp(3.8rem, 6vw, 6.4rem);
  font-weight: 500;
  line-height: 1;
  color: var(--visual-main);
  letter-spacing: -0.06em;
}
.visual-estimator__total span {
  font-size: 0.8rem;
}
.visual-estimator__breakdown {
  display: grid;
  gap: 10px;
}
.visual-estimator__breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(94, 88, 120, 0.12);
  font-size: 0.68rem;
}
.visual-estimator__breakdown div span {
  color: var(--visual-text-light);
}
.visual-estimator__notice {
  padding: 12px 14px;
  background: rgba(216, 121, 67, 0.1);
  color: #9a522e;
  font-size: 0.65rem;
  line-height: 1.7;
}
.visual-button,
.visual-estimator__copy {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  padding: 16px 18px;
  border: 0;
  background: var(--visual-accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.7rem;
  cursor: pointer;
}
.visual-estimator__copy {
  justify-content: center;
  margin-top: 16px;
  background: transparent;
  color: var(--visual-main) !important;
  border: 1px solid var(--visual-main);
}
.visual-estimator__reset {
  display: block;
  margin: 16px auto 0;
  border: 0;
  background: transparent;
  color: var(--visual-text-light);
  font-size: 0.62rem;
  text-decoration: underline;
  cursor: pointer;
}

/* Process */
.visual-process {
  padding: clamp(120px, 14vw, 190px) 0;
  background: #fff;
}
.visual-process__grid {
  list-style: none;
  margin: 70px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--visual-text);
  border-left: 1px solid var(--visual-text);
}
.visual-process__item {
  position: relative;
  min-height: 340px;

  padding: clamp(26px, 3vw, 44px) 50% clamp(26px, 3vw, 44px)
    clamp(26px, 3vw, 44px);

  border-right: 1px solid var(--visual-text);
  border-bottom: 1px solid var(--visual-text);

  overflow: hidden;
}
.visual-process__item > span {
  position: absolute;
  right: 20px;
  bottom: -22px;
  color: rgba(94, 88, 120, 0.12);
  font-family: var(--visual-serif);
  font-size: 8rem;
  line-height: 1;
}
.visual-process__item h3 {
  margin: 45px 0 12px;
  font-family: var(--visual-serif);
  font-size: 1.4rem;
}
.visual-process__item p {
  max-width: 24em;
  margin: 0;
  color: var(--visual-text-light);
  font-size: 0.72rem;
  line-height: 1.85;
}

/* FAQ */
.visual-faq {
  padding: clamp(80px, 9vw, 130px) 0;
  background: var(--visual-light);
  border-top: 1px solid var(--visual-line);
}
.visual-faq__section {
  border-top: 1px solid var(--visual-text);
  border-bottom: 1px solid var(--visual-text);
}
.visual-faq__section-summary {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto 34px;
  gap: 22px;
  align-items: center;
  padding: 30px 4px;
  cursor: pointer;
}
.visual-faq__section-summary::-webkit-details-marker {
  display: none;
}
.visual-faq__section-summary span {
  display: flex;
  align-items: baseline;
  gap: 26px;
  min-width: 0;
}
.visual-faq__section-summary small {
  color: var(--visual-accent);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  white-space: nowrap;
}
.visual-faq__section-summary b {
  font-family: var(--visual-serif);
  font-size: clamp(1.35rem, 2.3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.45;
}
.visual-faq__section-summary em {
  font-style: normal;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  color: var(--visual-text-light);
}
.visual-faq__section[open] .visual-faq__section-summary em::after {
  content: "ED";
}
.visual-faq__section[open] .visual-faq__section-summary em {
  font-size: 0;
}
.visual-faq__section[open] .visual-faq__section-summary em::before {
  content: "CLOSE";
  font-size: 0.55rem;
}
.visual-faq__section-body {
  padding: 20px 0 34px;
}
.visual-faq__list {
  width: min(860px, 100%);
  margin-left: auto;
  border-top: 1px solid var(--visual-line);
}
.visual-faq__list > details {
  border-bottom: 1px solid var(--visual-line);
}
.visual-faq__list summary {
  list-style: none;
  display: grid;
  grid-template-columns: 42px 1fr 30px;
  gap: 16px;
  align-items: center;
  padding: 23px 4px;
  cursor: pointer;
}
.visual-faq__list summary::-webkit-details-marker {
  display: none;
}
.visual-faq__list summary span {
  color: var(--visual-accent);
  font-family: var(--visual-serif);
  font-size: 0.75rem;
}
.visual-faq__list summary b {
  font-family: var(--visual-serif);
  font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  font-weight: 500;
}
.visual-faq__list details > div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--visual-ease);
}
.visual-faq__list details[open] > div {
  grid-template-rows: 1fr;
}
.visual-faq__list details > div p {
  overflow: hidden;
  margin: 0;
  padding: 0 48px 24px 58px;
  color: var(--visual-text-light);
  font-size: 0.74rem;
  line-height: 1.9;
}

/* Text color normalization */
.visual-intro,
.visual-reassurance,
.visual-price-table,
.visual-process,
.visual-faq {
  color: var(--visual-text);
}
.visual-intro h2,
.visual-reassurance h2,
.visual-price-table h2,
.visual-process h2,
.visual-faq b,
.visual-process h3,
.visual-rate-row summary b {
  color: var(--visual-text);
}
.visual-capabilities h2,
.visual-capabilities h3,
.visual-estimate h2,
.visual-estimate legend,
.visual-contact h2 {
  color: #fff;
}
.visual-estimate .visual-estimator__field,
.visual-estimate .visual-estimator__field b,
.visual-estimate .visual-estimator__number b {
  color: #fff;
}
.visual-estimator__radio-grid input:checked + span b,
.visual-estimator__radio-grid input:checked + span small,
.visual-estimator__check input:checked + span b,
.visual-estimator__check input:checked + span small {
  color: var(--visual-text);
}
.visual-rate-row--accent summary b {
  color: #fff;
}
.visual-contact-form option {
  background: var(--visual-bg-deep);
  color: #fff;
}

/* Contact */
.visual-contact {
  padding: clamp(90px, 10vw, 145px) 0;
  background: var(--visual-bg-deep);
  color: #fff;
}
.visual-contact__panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
  padding: clamp(30px, 4vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.035),
    transparent 54%
  );
}
.visual-contact__copy h2 {
  margin: 0;
  max-width: 13em;
  font-family: var(--visual-serif);
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.035em;
}
.visual-contact__copy > p:last-child {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  line-height: 1.9;
}
.visual-contact-form {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 18px;
}
.visual-contact-form label {
  display: grid;
  gap: 8px;
}
.visual-contact-form label > span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}
.visual-contact-form input,
.visual-contact-form select,
.visual-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  outline: none;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  font: inherit;
  font-size: 0.76rem;
}
.visual-contact-form select {
  color-scheme: dark;
}
.visual-contact-form input:focus,
.visual-contact-form select:focus,
.visual-contact-form textarea:focus {
  border-color: var(--visual-accent);
}
.visual-contact-form__wide,
.visual-contact-form__note,
.visual-contact-form button {
  grid-column: 1/-1;
}
.visual-contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.visual-contact-form__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.62rem;
  line-height: 1.7;
}
.visual-contact-form button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 15px 17px;
  border: 0;
  background: var(--visual-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.7rem;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}
.visual-contact-form button:hover {
  background: #fff;
  color: var(--visual-bg-deep);
  transform: translateY(-2px);
}
/* Footer */
.visual-site-footer {
  background: #121119;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer__inner {
  width: var(--visual-content);
  margin: 0 auto;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.5fr);
  gap: clamp(60px, 9vw, 140px);
  padding: clamp(72px, 8vw, 118px) 0 clamp(58px, 7vw, 92px);
}
.site-footer__brand {
  align-self: start;
}
.brand--footer {
  align-items: center;
  gap: 15px;
  color: #fff;
}
.brand__mark {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
}
.brand__mark::before {
  content: "";
  position: absolute;
  left: 7px;
  right: -8px;
  top: 19px;
  height: 1px;
  background: var(--visual-accent);
  transform: rotate(-26deg);
  transform-origin: center;
}
.brand__mark::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 5px;
  width: 8px;
  height: 8px;
  background: var(--visual-accent);
  clip-path: polygon(
    50% 0,
    60% 40%,
    100% 50%,
    60% 60%,
    50% 100%,
    40% 60%,
    0 50%,
    40% 40%
  );
}
.brand__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.brand__text strong {
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
}
.brand__text small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.49rem;
  letter-spacing: 0.18em;
}
.site-footer__brand > p {
  max-width: 34em;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
  line-height: 1.95;
}
.site-footer__nav {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 54px);
}
.site-footer__nav > div {
  align-items: flex-start;
  gap: 13px;
}
.site-footer__nav strong {
  margin-bottom: 8px;
  color: var(--visual-accent);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
}
.site-footer__nav a {
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.65rem;
  line-height: 1.55;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}
.site-footer__nav a:hover {
  transform: translateX(3px);
}
.site-footer__bottom {
  gap: 20px;
  padding: 20px clamp(20px, 4vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
}
.site-footer__bottom a {
  color: rgba(255, 255, 255, 0.64);
}

/* Responsive */
@media (max-width: 1100px) {
  .visual-header__desktop {
    display: none;
  }
  .visual-menu-button {
    display: block;
  }
  .visual-intro__grid {
    grid-template-columns: 0.22fr 1fr;
  }
  .visual-intro__figure {
    grid-column: 2;
    width: min(70%, 520px);
  }
  .visual-capabilities__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .visual-capability:nth-child(n) {
    transform: none;
  }
  .visual-estimator {
    grid-template-columns: 1fr;
  }
  .visual-estimator__result {
    position: relative;
    top: auto;
  }
  .visual-process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .visual-contact__panel {
    grid-template-columns: 1fr;
  }
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}
@media (max-width: 780px) {
  :root {
    --visual-content: min(100% - 36px, 720px);
  }
  .visual-header {
    height: 70px;
    padding: 0 18px;
  }
  .visual-header__brand span {
    font-size: 0.72rem;
  }
  .visual-menu-button {
    width: 68px;
    height: 46px;
  }
  .visual-menu__inner {
    width: calc(100% - 36px);
    padding-top: 94px;
  }
  .visual-menu__links {
    grid-template-columns: 1fr;
    max-height: 65vh;
    overflow: auto;
  }
  .visual-menu__links a {
    min-height: 78px;
  }
  .visual-menu__foot {
    display: none;
  }
  .visual-hero__inner {
    padding: 110px 0 80px;
  }
  .visual-hero__terminal {
    left: 18px;
    top: 26%;
    font-size: 0.58rem;
  }
  .visual-hero__copy {
    margin-left: 26px;
  }
  .visual-hero h1 {
    font-size: clamp(2.45rem, 12vw, 4.7rem);
  }
  .visual-hero__actions {
    display: grid;
  }
  .visual-hero__actions a {
    min-width: 0;
  }
  .visual-hero__side {
    display: none;
  }
  .visual-section-heading h2,
  .visual-intro__copy h2,
  .visual-capabilities__heading h2,
  .visual-price-table__heading h2 {
    font-size: clamp(1.75rem, 7.8vw, 2.65rem);
  }
  .visual-intro__grid {
    grid-template-columns: 1fr;
  }
  .visual-intro__index {
    display: flex;
    align-items: center;
    gap: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--visual-line);
    padding-bottom: 22px;
  }
  .visual-intro__index span {
    font-size: 4.5rem;
  }
  .visual-intro__index small {
    margin: 0;
  }
  .visual-intro__figure {
    grid-column: auto;
    width: 82%;
    margin-left: auto;
  }
  .visual-reassurance__item {
    grid-template-columns: 56px 1fr;
  }
  .visual-reassurance__item:nth-child(n) {
    margin-inline: 0;
  }
  .visual-capabilities__grid {
    grid-template-columns: 1fr;
  }
  .visual-capability {
    min-height: 145px;
  }
  .visual-price-showcase__media {
    grid-template-columns: repeat(2, 1fr);
    inset: -12vh -10vw;
  }
  .visual-price-showcase__column:nth-child(3),
  .visual-price-showcase__column:nth-child(4) {
    display: none;
  }
  .visual-price-showcase__center h2 {
    font-size: clamp(2.8rem, 15vw, 5.5rem);
  }
  .visual-rate-row summary {
    grid-template-columns: 34px 1fr 28px;
  }
  .visual-rate-row summary strong {
    grid-column: 2;
  }
  .visual-rate-row > div p {
    padding-left: 50px;
    padding-right: 10px;
  }
  .visual-estimator__radio-grid {
    grid-template-columns: 1fr;
  }
  .visual-estimator__radio-grid label > span {
    min-height: 100px;
  }
  .visual-estimator__number {
    align-items: flex-start;
    flex-direction: column;
  }
  .visual-process__grid {
    grid-template-columns: 1fr;
  }
  .visual-process__item {
    min-height: 250px;
  }
  .visual-faq__section-summary {
    grid-template-columns: 1fr 28px;
  }
  .visual-faq__section-summary span {
    display: grid;
    gap: 8px;
  }
  .visual-faq__section-summary em {
    display: none;
  }
  .visual-faq__list summary {
    grid-template-columns: 34px 1fr 28px;
  }
  .visual-faq__list details > div p {
    padding-left: 50px;
    padding-right: 10px;
  }
  .visual-contact__panel {
    padding: 26px 20px;
  }
  .visual-contact-form {
    grid-template-columns: 1fr;
  }
  .visual-contact-form__wide,
  .visual-contact-form__note,
  .visual-contact-form button {
    grid-column: auto;
  }
  .site-footer__nav {
    grid-template-columns: 1fr 1fr;
    row-gap: 34px;
  }
  .site-footer__bottom {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visual-reveal,
  .visual-hero__copy {
    opacity: 1 !important;
    transform: none !important;
  }
  .visual-price-card {
    clip-path: none !important;
  }
}

@media (max-width: 520px) {
  .site-footer__nav {
    grid-template-columns: 1fr;
  }
  .site-footer__bottom {
    flex-direction: column;
  }
  .visual-menu__slices {
    grid-template-columns: repeat(12, 1fr);
  }
}

/* =========================================================
   V5 — 2026-08-09 requested refinements
   Base: V3. These overrides intentionally keep V3 NAV/color fixes.
========================================================= */

/* Header / footer brand: use the real site logo image only. */
.visual-header__brand {
  display: inline-flex;
  align-items: center;
  width: clamp(92px, 7.4vw, 132px);
  line-height: 1;
}
.visual-header__brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 66px;
  object-fit: contain;
  object-position: left center;
  transition:
    filter 0.35s ease,
    opacity 0.35s ease;
}
.visual-header[data-surface="dark"] .visual-header__brand img,
body.visual-page.is-menu-open .visual-header__brand img {
  filter: brightness(1.25) saturate(0.82)
    drop-shadow(0 2px 8px rgba(0, 0, 0, 0.22));
}
.visual-header[data-surface="light"] .visual-header__brand img {
  filter: none;
}

/* HERO: LUA SOLUTIONS is a horizontal loading screen. */
.visual-hero__loader {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  padding: 84px 24px 24px;
  color: #fff;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.72s ease,
    transform 0.9s var(--visual-ease),
    visibility 0s 0.8s;
}
.visual-hero__loader-word {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  writing-mode: horizontal-tb;
  white-space: nowrap;
  font-family: var(--visual-sans);
  font-size: clamp(1.05rem, 2.15vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.25;
}
.visual-hero__loader-word i {
  display: inline-block;
  width: 1px;
  height: 1.15em;
  background: var(--visual-accent);
  animation: visualBlink 0.8s steps(1) infinite;
}
.visual-hero__loader-line {
  position: relative;
  width: min(360px, 52vw);
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}
.visual-hero__loader-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--visual-accent),
    transparent
  );
  transform: translateX(-100%);
  animation: visualLoaderLine 1.35s ease-in-out infinite;
}
@keyframes visualLoaderLine {
  to {
    transform: translateX(100%);
  }
}
body.is-hero-ready .visual-hero__loader {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-18px);
}
.visual-hero__inner {
  width: var(--visual-content);
  margin: auto;
  padding: 130px 0 90px;
}
.visual-hero__copy {
  max-width: 760px;
  margin-left: clamp(14px, 5vw, 78px);
  opacity: 0;
  transform: translateX(-82px);
  transition:
    opacity 0.95s 0.06s ease,
    transform 1.08s 0.06s var(--visual-ease);
}
body.is-hero-ready .visual-hero__copy {
  opacity: 1;
  transform: translateX(0);
}
.visual-hero h1 {
  margin: 0;
  max-width: none;
  font-family: var(--visual-serif);
  font-size: clamp(2.25rem, 4.15vw, 4.65rem);
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: -0.052em;
}
.visual-hero h1 > span {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

/* Footer logo space; no placeholder wordmark text. */
.brand--footer {
  align-items: center;
  width: clamp(132px, 12vw, 190px);
}
.brand--footer img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(1.25) saturate(0.82)
    drop-shadow(0 4px 14px rgba(0, 0, 0, 0.22));
}

@media (max-width: 980px) {
  .visual-header__brand {
    width: 94px;
  }
}

@media (max-width: 640px) {
  .visual-hero__loader-word {
    font-size: clamp(0.84rem, 4vw, 1.05rem);
    letter-spacing: 0.16em;
  }
  .visual-hero__copy {
    margin-left: 0;
  }
  .visual-hero h1 {
    font-size: clamp(1.88rem, 8.15vw, 2.55rem);
    line-height: 1.4;
  }
  .brand--footer {
    width: 142px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visual-hero__loader {
    display: none;
  }
}

/* =========================================================
   V6 FINAL OVERRIDES
   2026-08-09
========================================================= */

/* Major sections no longer use decorative section counters. */
.visual-intro__index {
  display: flex;
  align-items: center;
  min-height: 38px;
}
.visual-intro__index small {
  color: var(--visual-accent);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

/* PRICE GUIDE: dense image wall so parallax never exposes an empty strip. */
.visual-price-showcase__media {
  inset: -48vh -3vw;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1vw, 18px);
  transform: rotate(-0.65deg) scale(1.035);
}
.visual-price-showcase__column {
  gap: clamp(10px, 1vw, 18px);
  min-height: 220vh;
}
.visual-price-showcase__column img {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* PROCESS: artwork slots are real IMG elements now.
   Replace only each src when the final illustration is ready. */
.visual-process__icon-img {
  position: absolute;
  right: 3%;
  top: -15%;

  width: 46%;
  height: 82%;

  object-fit: contain;
  object-position: right bottom;

  transform: none;

  pointer-events: none;
  user-select: none;
}

/* FAQ: image-ready background. Change only this URL for the final artwork. */
.visual-faq {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--visual-light);
}
.visual-faq::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(243, 240, 235, 0.9), rgba(243, 240, 235, 0.94)),
    url("../img/creative/visual/works/work-24.webp") center / cover no-repeat;
  transform: scale(1.025);
}
.visual-faq::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(243, 240, 235, 0.96) 0%,
    rgba(243, 240, 235, 0.82) 54%,
    rgba(243, 240, 235, 0.9) 100%
  );
  pointer-events: none;
}
.visual-faq > .visual-container {
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .visual-price-showcase__media {
    inset: -34vh -16vw;
  }
  .visual-process__icon-img {
    width: 36%;
    height: 72%;
    top: -5%;
  }
}

/* =========================================================
   V7 REFINEMENT OVERRIDES
   2026-08-09
========================================================= */

/* 1) Section sub-headings: slightly smaller so 2-3 line headings do not wrap awkwardly. */
.visual-section-heading h2,
.visual-intro__copy h2,
.visual-capabilities__heading h2,
.visual-price-table__heading h2,
.visual-reassurance h2,
.visual-process h2 {
  max-width: 17.5em;
  font-size: clamp(1.68rem, 2.8vw, 3.04rem);
  line-height: 1.34;
  letter-spacing: -0.038em;
}
.visual-faq__section-summary > span > b,
#visual-faq-title {
  font-size: clamp(1.32rem, 2.15vw, 2rem);
  line-height: 1.34;
}

@media (max-width: 720px) {
  .visual-section-heading h2,
  .visual-intro__copy h2,
  .visual-capabilities__heading h2,
  .visual-price-table__heading h2,
  .visual-reassurance h2,
  .visual-process h2 {
    font-size: clamp(1.48rem, 6.15vw, 2.32rem);
    line-height: 1.34;
  }
}

/* =========================================================
   V11 PRICE GUIDE WALL
   Keep four columns at every viewport width and guarantee
   enough media coverage for tall/narrow screens.
========================================================= */
.visual-price-showcase__media {
  inset: -76vh -9vw;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 0.85vw, 14px);
  transform: rotate(-2deg) scale(1.12);
}

.visual-price-showcase__column,
.visual-price-showcase__column:nth-child(3),
.visual-price-showcase__column:nth-child(4) {
  display: flex !important;
  min-width: 0;
  gap: clamp(6px, 0.85vw, 14px);
}

.visual-price-showcase__column:nth-child(2),
.visual-price-showcase__column:nth-child(4) {
  padding-top: 9vh;
}

.visual-price-showcase__column img {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (max-width: 780px) {
  .visual-price-showcase__media {
    inset: -88vh -15vw;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    transform: rotate(-1.8deg) scale(1.18);
  }

  .visual-price-showcase__column,
  .visual-price-showcase__column:nth-child(3),
  .visual-price-showcase__column:nth-child(4) {
    display: flex !important;
    gap: 7px;
  }

  .visual-price-showcase__column:nth-child(2),
  .visual-price-showcase__column:nth-child(4) {
    padding-top: 7vh;
  }
}

@media (max-width: 520px) {
  .visual-price-showcase__media {
    inset: -100vh -21vw;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    transform: rotate(-1.55deg) scale(1.23);
  }

  .visual-price-showcase__column,
  .visual-price-showcase__column:nth-child(3),
  .visual-price-showcase__column:nth-child(4) {
    display: flex !important;
    gap: 5px;
  }

  .visual-price-showcase__column:nth-child(2),
  .visual-price-showcase__column:nth-child(4) {
    padding-top: 5vh;
  }
}

/* =========================================================
   TITLE / HERO V13
   Opening loader + MENU-close slices + index-style hero flow
========================================================= */

/* --- Opening loader -------------------------------------------------- */
.visual-hero__loader {
  z-index: 20;
  display: block;
  padding: 0;
  background: transparent;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: visibility 0s 1.02s;
}

.visual-hero__loader-slices {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(18, minmax(0, 1fr));
  overflow: hidden;
  background: transparent;
}

.visual-hero__loader-slices span {
  display: block;
  min-width: 0;
  height: 100%;
  background: var(--visual-bg-deep);
  border-right: 1px solid rgba(255, 255, 255, 0.065);
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 0.58s var(--visual-ease);
  transition-delay: calc(var(--slice-index) * 18ms);
}

.visual-hero__loader-slices span:nth-child(even) {
  transform-origin: bottom;
  background: #211f2d;
}

/* 16:9 image-border frame shown while LUA SOLUTIONS is typing. */
.visual-hero__loader-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(72vw, 980px);
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(243, 240, 235, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 28px 90px rgba(0, 0, 0, 0.18);
  opacity: 0.92;
  transition:
    opacity 0.28s ease,
    transform 0.58s var(--visual-ease);
}

.visual-hero__loader-frame::before,
.visual-hero__loader-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.visual-hero__loader-frame::before {
  inset: 12px;
  border: 1px solid rgba(243, 240, 235, 0.07);
}

.visual-hero__loader-frame::after {
  left: 50%;
  top: -1px;
  bottom: -1px;
  width: 1px;
  background: linear-gradient(
    transparent,
    rgba(243, 240, 235, 0.13),
    transparent
  );
}

.visual-hero__loader-frame > span {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--visual-accent);
  opacity: 0.82;
}

.visual-hero__loader-frame > span:nth-child(1) {
  left: -1px;
  top: -1px;
  border-left: 2px solid;
  border-top: 2px solid;
}
.visual-hero__loader-frame > span:nth-child(2) {
  right: -1px;
  top: -1px;
  border-right: 2px solid;
  border-top: 2px solid;
}
.visual-hero__loader-frame > span:nth-child(3) {
  left: -1px;
  bottom: -1px;
  border-left: 2px solid;
  border-bottom: 2px solid;
}
.visual-hero__loader-frame > span:nth-child(4) {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.visual-hero__loader-content {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 24px;
  width: min(88vw, 760px);
  transform: translate(-50%, -50%);
  color: #fff;
  transition:
    opacity 0.24s ease,
    transform 0.42s var(--visual-ease);
}

body.is-hero-loader-leaving .visual-hero__loader-content {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.965);
}

body.is-hero-loader-leaving .visual-hero__loader-frame {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.025);
}

/* Same direction as MENU closing: the vertical pieces retract away. */
body.is-hero-loader-leaving .visual-hero__loader-slices span {
  transform: scaleY(0);
}

body.is-hero-ready .visual-hero__loader {
  opacity: 1;
  visibility: hidden;
  transform: none;
}

/* --- VISUAL DESIGN hero: index-style moving image field ------------- */
.visual-hero {
  isolation: isolate;
}

.visual-hero__background {
  inset: 0;
  z-index: -5;
  background-image:
    linear-gradient(
      90deg,
      rgba(28, 26, 38, 0.88) 0%,
      rgba(28, 26, 38, 0.7) 46%,
      rgba(28, 26, 38, 0.32) 78%,
      rgba(28, 26, 38, 0.18) 100%
    ),
    url("../img/creative/visual/visual-hero.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.visual-hero__flow {
  position: absolute;
  inset: -18vh -14vw;
  z-index: -3;
  overflow: hidden;
  opacity: 0.72;
  pointer-events: none;
  transform: rotate(-7deg) scale(1.12);
  transform-origin: center;
}

.visual-hero-flow__row {
  position: absolute;
  left: 0;
  width: 100%;
  height: 34vh;
  overflow: hidden;
}

.visual-hero-flow__row:nth-child(1) {
  top: -9vh;
  left: -5vw;
  height: 37vh;
}
.visual-hero-flow__row:nth-child(2) {
  top: 13vh;
  left: 4vw;
  height: 35vh;
}
.visual-hero-flow__row:nth-child(3) {
  top: 36vh;
  left: -2vw;
  overflow: visible;
}
.visual-hero-flow__row:nth-child(4) {
  top: 59vh;
  left: 6vw;
  overflow: visible;
}
.visual-hero-flow__row:nth-child(5) {
  top: 82vh;
  left: -4vw;
  overflow: visible;
}

.visual-hero-flow__track {
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
}

.visual-hero-flow__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: clamp(18px, 2.2vw, 42px);
  padding-right: clamp(18px, 2.2vw, 42px);
}

.visual-hero-flow__card {
  display: block;
  flex: 0 0 auto;
  width: clamp(440px, 36vw, 720px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 34px 70px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  filter: grayscale(0.16) saturate(0.76) contrast(0.96) brightness(0.7);
}

.visual-hero-flow__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-hero-flow__group .visual-hero-flow__card:nth-child(1) {
  transform: translateY(-8%) rotate(-1.8deg);
}
.visual-hero-flow__group .visual-hero-flow__card:nth-child(2) {
  transform: translateY(10%) rotate(1.4deg);
}
.visual-hero-flow__group .visual-hero-flow__card:nth-child(3) {
  transform: translateY(-3%) rotate(-0.7deg);
}
.visual-hero-flow__row:nth-child(2) .visual-hero-flow__card:nth-child(1) {
  transform: translateY(14%) rotate(1.2deg);
}
.visual-hero-flow__row:nth-child(2) .visual-hero-flow__card:nth-child(2) {
  transform: translateY(-13%) rotate(-2deg);
}
.visual-hero-flow__row:nth-child(2) .visual-hero-flow__card:nth-child(3) {
  transform: translateY(7%) rotate(1.8deg);
}
.visual-hero-flow__row:nth-child(3) .visual-hero-flow__card:nth-child(1) {
  transform: translateY(-16%) rotate(1deg);
}
.visual-hero-flow__row:nth-child(3) .visual-hero-flow__card:nth-child(2) {
  transform: translateY(6%) rotate(-1.4deg);
}
.visual-hero-flow__row:nth-child(3) .visual-hero-flow__card:nth-child(3) {
  transform: translateY(-5%) rotate(2deg);
}
.visual-hero-flow__row:nth-child(4) .visual-hero-flow__card:nth-child(1) {
  transform: translateY(8%) rotate(-1.5deg);
}
.visual-hero-flow__row:nth-child(4) .visual-hero-flow__card:nth-child(2) {
  transform: translateY(-12%) rotate(1.8deg);
}
.visual-hero-flow__row:nth-child(4) .visual-hero-flow__card:nth-child(3) {
  transform: translateY(4%) rotate(-0.8deg);
}
.visual-hero-flow__row:nth-child(5) .visual-hero-flow__card:nth-child(1) {
  transform: translateY(-10%) rotate(1.6deg);
}
.visual-hero-flow__row:nth-child(5) .visual-hero-flow__card:nth-child(2) {
  transform: translateY(11%) rotate(-1deg);
}
.visual-hero-flow__row:nth-child(5) .visual-hero-flow__card:nth-child(3) {
  transform: translateY(-4%) rotate(1.1deg);
}

.visual-hero-flow__row--left .visual-hero-flow__track {
  animation: visualHeroFlowLeft 150s linear infinite;
}

.visual-hero-flow__row--right .visual-hero-flow__track {
  transform: translateX(-50%);
  animation: visualHeroFlowRight 150s linear infinite;
}

.visual-hero-flow__row:nth-child(1) .visual-hero-flow__track {
  animation-duration: 168s;
}
.visual-hero-flow__row:nth-child(2) .visual-hero-flow__track {
  animation-duration: 181s;
}
.visual-hero-flow__row:nth-child(3) .visual-hero-flow__track {
  animation-duration: 156s;
}
.visual-hero-flow__row:nth-child(4) .visual-hero-flow__track {
  animation-duration: 190s;
}
.visual-hero-flow__row:nth-child(5) .visual-hero-flow__track {
  animation-duration: 174s;
}

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

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

/* Dark veil keeps the moving artwork behind the title, not above it. */
.visual-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(18, 17, 25, 0.96) 0%,
      rgba(28, 26, 38, 0.88) 36%,
      rgba(28, 26, 38, 0.48) 72%,
      rgba(28, 26, 38, 0.68) 100%
    ),
    linear-gradient(0deg, rgba(28, 26, 38, 0.72), transparent 48%);
  pointer-events: none;
}

.visual-hero__grid {
  z-index: 0;
  opacity: 0.46;
}
.visual-hero__inner,
.visual-hero__side {
  position: relative;
  z-index: 2;
}

@media (max-width: 980px) {
  .visual-hero__loader-frame {
    width: min(82vw, 860px);
  }
  .visual-hero__flow {
    inset: -12vh -28vw;
    opacity: 0.42;
    transform: rotate(-8deg) scale(1.18);
  }
  .visual-hero-flow__card {
    width: clamp(390px, 58vw, 590px);
  }
}

@media (max-width: 720px) {
  .visual-hero__loader-frame {
    width: min(88vw, 620px);
  }
  .visual-hero__loader-frame::before {
    inset: 8px;
  }
  .visual-hero__loader-word {
    font-size: clamp(0.76rem, 4vw, 1rem);
    letter-spacing: 0.15em;
  }
  .visual-hero__loader-line {
    width: min(260px, 58vw);
  }

  .visual-hero__flow {
    inset: -8vh -70vw;
    opacity: 0.32;
    transform: rotate(-9deg) scale(1.24);
  }
  .visual-hero-flow__row {
    height: 28vh;
  }
  .visual-hero-flow__row:nth-child(1) {
    top: -4vh;
  }
  .visual-hero-flow__row:nth-child(2) {
    top: 17vh;
  }
  .visual-hero-flow__row:nth-child(3) {
    top: 38vh;
  }
  .visual-hero-flow__row:nth-child(4) {
    top: 59vh;
  }
  .visual-hero-flow__row:nth-child(5) {
    top: 80vh;
  }
  .visual-hero-flow__card {
    width: clamp(300px, 88vw, 440px);
  }
  .visual-hero-flow__group {
    gap: 14px;
    padding-right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visual-hero-flow__track {
    animation: none !important;
  }
  .visual-hero__loader-slices span {
    transition: none !important;
  }
}

/* =========================================================
   TITLE / HERO V14
   tighter hero mosaic + single loader-slice reveal
========================================================= */

/* Loader: the slice wipe itself is the only exit animation. */
.visual-hero__loader-content,
.visual-hero__loader-frame {
  transition: none !important;
}

body.is-hero-loader-leaving .visual-hero__loader-content,
body.is-hero-loader-leaving .visual-hero__loader-frame {
  opacity: 0;
  transform: translate(-50%, -50%);
}

/* The hero is already ready underneath while the slices retract,
   so there is no second reveal after the wipe finishes. */
.visual-hero__copy {
  transition: none !important;
}
body.is-hero-ready .visual-hero__copy,
body.is-hero-loader-leaving .visual-hero__copy {
  opacity: 1;
  transform: translateX(0);
}

/* Tighter index-style image field: smaller seams and stronger coverage. */
.visual-hero__flow {
  inset: -16vh -18vw;
  opacity: 0.78;
  transform: rotate(-6deg) scale(1.17);
}

.visual-hero-flow__row {
  height: 31vh;
  overflow: visible;
}

.visual-hero-flow__row:nth-child(1) {
  top: -10vh;
  left: -7vw;
  height: 34vh;
}
.visual-hero-flow__row:nth-child(2) {
  top: 9vh;
  left: 2vw;
  height: 33vh;
}
.visual-hero-flow__row:nth-child(3) {
  top: 28vh;
  left: -4vw;
  height: 33vh;
}
.visual-hero-flow__row:nth-child(4) {
  top: 47vh;
  left: 3vw;
  height: 33vh;
}
.visual-hero-flow__row:nth-child(5) {
  top: 66vh;
  left: -6vw;
  height: 35vh;
}

.visual-hero-flow__group {
  gap: clamp(4px, 0.55vw, 10px);
  padding-right: clamp(4px, 0.55vw, 10px);
}

.visual-hero-flow__card {
  width: clamp(470px, 40vw, 760px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.32);
}

/* Keep the dynamic rhythm, but reduce corner gaps caused by rotation. */
.visual-hero-flow__group .visual-hero-flow__card:nth-child(1) {
  transform: translateY(-5%) rotate(-0.55deg);
}
.visual-hero-flow__group .visual-hero-flow__card:nth-child(2) {
  transform: translateY(6%) rotate(0.45deg);
}
.visual-hero-flow__group .visual-hero-flow__card:nth-child(3) {
  transform: translateY(-2%) rotate(-0.3deg);
}
.visual-hero-flow__row:nth-child(2) .visual-hero-flow__card:nth-child(1) {
  transform: translateY(7%) rotate(0.4deg);
}
.visual-hero-flow__row:nth-child(2) .visual-hero-flow__card:nth-child(2) {
  transform: translateY(-6%) rotate(-0.5deg);
}
.visual-hero-flow__row:nth-child(2) .visual-hero-flow__card:nth-child(3) {
  transform: translateY(4%) rotate(0.55deg);
}
.visual-hero-flow__row:nth-child(3) .visual-hero-flow__card:nth-child(1) {
  transform: translateY(-7%) rotate(0.35deg);
}
.visual-hero-flow__row:nth-child(3) .visual-hero-flow__card:nth-child(2) {
  transform: translateY(4%) rotate(-0.45deg);
}
.visual-hero-flow__row:nth-child(3) .visual-hero-flow__card:nth-child(3) {
  transform: translateY(-3%) rotate(0.5deg);
}
.visual-hero-flow__row:nth-child(4) .visual-hero-flow__card:nth-child(1) {
  transform: translateY(5%) rotate(-0.45deg);
}
.visual-hero-flow__row:nth-child(4) .visual-hero-flow__card:nth-child(2) {
  transform: translateY(-6%) rotate(0.5deg);
}
.visual-hero-flow__row:nth-child(4) .visual-hero-flow__card:nth-child(3) {
  transform: translateY(3%) rotate(-0.35deg);
}
.visual-hero-flow__row:nth-child(5) .visual-hero-flow__card:nth-child(1) {
  transform: translateY(-5%) rotate(0.45deg);
}
.visual-hero-flow__row:nth-child(5) .visual-hero-flow__card:nth-child(2) {
  transform: translateY(6%) rotate(-0.4deg);
}
.visual-hero-flow__row:nth-child(5) .visual-hero-flow__card:nth-child(3) {
  transform: translateY(-2%) rotate(0.35deg);
}

@media (max-width: 980px) {
  .visual-hero__flow {
    inset: -10vh -34vw;
    opacity: 0.48;
    transform: rotate(-7deg) scale(1.22);
  }
  .visual-hero-flow__card {
    width: clamp(410px, 64vw, 620px);
  }
  .visual-hero-flow__group {
    gap: 5px;
    padding-right: 5px;
  }
}

@media (max-width: 720px) {
  .visual-hero__flow {
    inset: -5vh -82vw;
    opacity: 0.38;
    transform: rotate(-8deg) scale(1.29);
  }
  .visual-hero-flow__row {
    height: 27vh;
  }
  .visual-hero-flow__row:nth-child(1) {
    top: -5vh;
  }
  .visual-hero-flow__row:nth-child(2) {
    top: 14vh;
  }
  .visual-hero-flow__row:nth-child(3) {
    top: 33vh;
  }
  .visual-hero-flow__row:nth-child(4) {
    top: 52vh;
  }
  .visual-hero-flow__row:nth-child(5) {
    top: 71vh;
  }
  .visual-hero-flow__card {
    width: clamp(315px, 94vw, 460px);
  }
  .visual-hero-flow__group {
    gap: 4px;
    padding-right: 4px;
  }
}

/* =========================================================
   TITLE / HERO V15
   remove stray base image + reduce hero-image overlap
========================================================= */

/* Remove the single fallback hero artwork.
   The HERO visual is now made only from the moving work cards. */
.visual-hero__background {
  background-image:
    linear-gradient(
      90deg,
      rgba(28, 26, 38, 0.9) 0%,
      rgba(28, 26, 38, 0.72) 44%,
      rgba(28, 26, 38, 0.38) 76%,
      rgba(28, 26, 38, 0.22) 100%
    ),
    radial-gradient(
      circle at 74% 30%,
      rgba(94, 88, 120, 0.72),
      #262434 48%,
      #1c1a26 82%
    );
  background-size: cover;
  background-position: center;
  transform: none;
}

/* Keep the field dense, but do not let neighbouring rows sit on top
   of each other as aggressively as V14. */
.visual-hero__flow {
  inset: -10vh -12vw;
  opacity: 0.76;
  transform: rotate(-4deg) scale(1.08);
}

.visual-hero-flow__row {
  height: 29vh;
  overflow: visible;
}

.visual-hero-flow__row:nth-child(1) {
  top: -7vh;
  left: -5vw;
  height: 29vh;
}
.visual-hero-flow__row:nth-child(2) {
  top: 14vh;
  left: 2vw;
  height: 29vh;
}
.visual-hero-flow__row:nth-child(3) {
  top: 35vh;
  left: -3vw;
  height: 29vh;
}
.visual-hero-flow__row:nth-child(4) {
  top: 56vh;
  left: 3vw;
  height: 29vh;
}
.visual-hero-flow__row:nth-child(5) {
  top: 77vh;
  left: -4vw;
  height: 29vh;
}

.visual-hero-flow__group {
  gap: clamp(7px, 0.7vw, 13px);
  padding-right: clamp(7px, 0.7vw, 13px);
}

.visual-hero-flow__card {
  width: clamp(390px, 28vw, 540px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

/* Small positional rhythm only; avoid the previous pile-up. */
.visual-hero-flow__group .visual-hero-flow__card:nth-child(1) {
  transform: translateY(-2.5%) rotate(-0.25deg);
}
.visual-hero-flow__group .visual-hero-flow__card:nth-child(2) {
  transform: translateY(2.5%) rotate(0.2deg);
}
.visual-hero-flow__group .visual-hero-flow__card:nth-child(3) {
  transform: translateY(-1%) rotate(-0.15deg);
}
.visual-hero-flow__row:nth-child(2) .visual-hero-flow__card:nth-child(1) {
  transform: translateY(3%) rotate(0.18deg);
}
.visual-hero-flow__row:nth-child(2) .visual-hero-flow__card:nth-child(2) {
  transform: translateY(-2.5%) rotate(-0.22deg);
}
.visual-hero-flow__row:nth-child(2) .visual-hero-flow__card:nth-child(3) {
  transform: translateY(1.5%) rotate(0.2deg);
}
.visual-hero-flow__row:nth-child(3) .visual-hero-flow__card:nth-child(1) {
  transform: translateY(-3%) rotate(0.16deg);
}
.visual-hero-flow__row:nth-child(3) .visual-hero-flow__card:nth-child(2) {
  transform: translateY(2%) rotate(-0.2deg);
}
.visual-hero-flow__row:nth-child(3) .visual-hero-flow__card:nth-child(3) {
  transform: translateY(-1.5%) rotate(0.18deg);
}
.visual-hero-flow__row:nth-child(4) .visual-hero-flow__card:nth-child(1) {
  transform: translateY(2.5%) rotate(-0.2deg);
}
.visual-hero-flow__row:nth-child(4) .visual-hero-flow__card:nth-child(2) {
  transform: translateY(-3%) rotate(0.22deg);
}
.visual-hero-flow__row:nth-child(4) .visual-hero-flow__card:nth-child(3) {
  transform: translateY(1.5%) rotate(-0.16deg);
}
.visual-hero-flow__row:nth-child(5) .visual-hero-flow__card:nth-child(1) {
  transform: translateY(-2.5%) rotate(0.2deg);
}
.visual-hero-flow__row:nth-child(5) .visual-hero-flow__card:nth-child(2) {
  transform: translateY(2.5%) rotate(-0.18deg);
}
.visual-hero-flow__row:nth-child(5) .visual-hero-flow__card:nth-child(3) {
  transform: translateY(-1%) rotate(0.15deg);
}

@media (max-width: 980px) {
  .visual-hero__flow {
    inset: -8vh -24vw;
    opacity: 0.48;
    transform: rotate(-4.5deg) scale(1.1);
  }

  .visual-hero-flow__row:nth-child(1) {
    top: -6vh;
  }
  .visual-hero-flow__row:nth-child(2) {
    top: 15vh;
  }
  .visual-hero-flow__row:nth-child(3) {
    top: 36vh;
  }
  .visual-hero-flow__row:nth-child(4) {
    top: 57vh;
  }
  .visual-hero-flow__row:nth-child(5) {
    top: 78vh;
  }

  .visual-hero-flow__card {
    width: clamp(320px, 46vw, 520px);
  }
}

@media (max-width: 720px) {
  .visual-hero__flow {
    inset: -5vh -34vw;
    opacity: 0.4;
    transform: rotate(-4deg) scale(1.06);
  }

  .visual-hero-flow__row {
    height: 23vh;
  }

  .visual-hero-flow__row:nth-child(1) {
    top: -4vh;
    height: 23vh;
  }
  .visual-hero-flow__row:nth-child(2) {
    top: 16vh;
    height: 23vh;
  }
  .visual-hero-flow__row:nth-child(3) {
    top: 36vh;
    height: 23vh;
  }
  .visual-hero-flow__row:nth-child(4) {
    top: 56vh;
    height: 23vh;
  }
  .visual-hero-flow__row:nth-child(5) {
    top: 76vh;
    height: 23vh;
  }

  .visual-hero-flow__card {
    width: clamp(230px, 58vw, 340px);
  }

  .visual-hero-flow__group {
    gap: 6px;
    padding-right: 6px;
  }
}
/* =========================================================
   HERO V17
   INFINITE ALIGNED TILE WALL
========================================================= */

/* ---------------------------------------------------------
   LOADER
--------------------------------------------------------- */

body.is-hero-ready .visual-hero__loader {
  visibility: visible;
  opacity: 1;
}

body.is-hero-loader-done .visual-hero__loader {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: none;
}

body.is-hero-loader-leaving .visual-hero__loader-content,
body.is-hero-loader-leaving .visual-hero__loader-frame {
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: none;
}

body.is-hero-loader-leaving .visual-hero__loader-slices span {
  transform: scaleY(0);
}

/* ---------------------------------------------------------
   HERO COPY
--------------------------------------------------------- */

.visual-hero__copy {
  opacity: 0;
  transform: none;
  transition: none;
}

body.is-hero-ready .visual-hero__copy,
body.is-hero-loader-leaving .visual-hero__copy {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------
   BASE BACKGROUND
--------------------------------------------------------- */

.visual-hero__background {
  inset: 0;
  z-index: -1;

  background: var(--visual-bg-deep) !important;

  transform: none;
}

/* =========================================================
   TILE WALL
========================================================= */

.visual-hero__wall {
  --wall-sheet-width: 132vw;
  --wall-gap: clamp(10px, 1.05vw, 20px);
  --wall-opacity: 0.82;

  position: absolute;

  /*
   * viewportよりかなり大きく取る。
   * これにより画面端で背景だけが露出せず、
   * 必ず画像そのものが途中で切れる。
   */
  inset: -8vh -10vw;

  z-index: 0;
  max-width: none;
  contain: paint;
  overflow: hidden;

  opacity: 0;

  pointer-events: none;

  /*
   * カード単体ではなく、
   * 壁全体を一枚として傾ける。
   */
  transform: rotate(-2.4deg) scale(1.08);

  transform-origin: center center;

  backface-visibility: hidden;
}

/* HERO準備後にだけ画像壁を表示 */

body.is-hero-ready .visual-hero__wall,
body.is-hero-loader-leaving .visual-hero__wall {
  opacity: var(--wall-opacity);
}
/* =========================================================
   ROW BASE
========================================================= */

.visual-hero-wall__drift {
  position: absolute;
  left: 0;
  top: 50%;

  width: 100%;

  display: flex;
  flex-direction: column;

  gap: var(--wall-gap);

  animation: visualHeroWallVertical 24s ease-in-out infinite alternate;

  will-change: transform;
  backface-visibility: hidden;
}

/* =========================================================
   EACH ROW
========================================================= */

.visual-hero-wall__row {
  position: relative;
  flex: 0 0 auto;

  width: 100%;
  max-width: 100%;

  overflow: hidden;

  backface-visibility: hidden;
}

/* =========================================================
   ROW TRACK
========================================================= */

.visual-hero-wall__track {
  display: flex;
  align-items: center;

  width: max-content;

  will-change: transform;
  backface-visibility: hidden;
}

/* =========================================================
   ONE LOOP GROUP
========================================================= */

.visual-hero-wall__group {
  box-sizing: border-box;

  display: flex;

  align-items: center;

  flex: 0 0 var(--wall-sheet-width);

  width: var(--wall-sheet-width);

  gap: var(--wall-gap);

  padding-right: var(--wall-gap);
}

/* =========================================================
   TILE
========================================================= */

.visual-hero-wall__tile {
  position: relative;

  display: block;

  flex: 1 1 0;

  min-width: 0;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  background: #121119;

  border: 1px solid rgba(255, 255, 255, 0.14);

  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);

  transform: none;

  backface-visibility: hidden;
}

/* =========================================================
   TILE IMAGE
========================================================= */

.visual-hero-wall__tile img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;

  filter: grayscale(0.22) saturate(0.84) contrast(1.02) brightness(0.88);
}

/* =========================================================
   TILE OVERLAY
========================================================= */

.visual-hero-wall__tile::after {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(18, 17, 25, 0.02),
    rgba(18, 17, 25, 0.12)
  );

  pointer-events: none;
}

/* =========================================================
   LEFT ROW
========================================================= */

.visual-hero-wall__row--left .visual-hero-wall__track {
  animation: visualHeroWallRowLeft 145s linear infinite;
}

/* =========================================================
   RIGHT ROW
========================================================= */

.visual-hero-wall__row--right .visual-hero-wall__track {
  transform: translate3d(-50%, 0, 0);

  animation: visualHeroWallRowRight 145s linear infinite;
}

/* =========================================================
   SMALL SPEED DIFFERENCES

   全行が完全に同じ速度だと
   機械的すぎるので数秒だけ差を付ける。
========================================================= */

.visual-hero-wall__row:nth-child(1) .visual-hero-wall__track {
  animation-duration: 148s;
}

.visual-hero-wall__row:nth-child(2) .visual-hero-wall__track {
  animation-duration: 156s;
}

.visual-hero-wall__row:nth-child(3) .visual-hero-wall__track {
  animation-duration: 151s;
}

.visual-hero-wall__row:nth-child(4) .visual-hero-wall__track {
  animation-duration: 160s;
}

.visual-hero-wall__row:nth-child(5) .visual-hero-wall__track {
  animation-duration: 153s;
}

.visual-hero-wall__row:nth-child(6) .visual-hero-wall__track {
  animation-duration: 158s;
}

/* =========================================================
   LEFT LOOP
========================================================= */

@keyframes visualHeroWallRowLeft {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* =========================================================
   RIGHT LOOP
========================================================= */

@keyframes visualHeroWallRowRight {
  from {
    transform: translate3d(-50%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

/* =========================================================
   VERTICAL DRIFT
========================================================= */

@keyframes visualHeroWallVertical {
  from {
    /*
     * 巨大wallを画面中央へ配置。
     * 上側は画像の途中で切れる。
     */
    transform: translate3d(0, calc(-50% - 3.5vh), 0);
  }

  to {
    /*
     * 縦方向は無限スクロールではなく
     * ごく小さく漂わせる。
     *
     * 壁自体が十分巨大なので
     * 上下に背景が露出しない。
     */
    transform: translate3d(0, calc(-50% + 3.5vh), 0);
  }
}

/* =========================================================
   FOREGROUND VEIL
========================================================= */

.visual-hero::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(18, 17, 25, 0.97) 0%,
      rgba(24, 23, 34, 0.88) 28%,
      rgba(26, 24, 37, 0.6) 56%,
      rgba(25, 23, 35, 0.5) 78%,
      rgba(22, 20, 31, 0.62) 100%
    ),
    linear-gradient(0deg, rgba(24, 22, 34, 0.72), transparent 48%);

  pointer-events: none;
}

/* =========================================================
   GRID DECORATION
========================================================= */

.visual-hero__grid {
  z-index: 2;

  opacity: 1;

  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(12.5% - 1px),
      rgba(255, 255, 255, 0.04) 12.5%
    ),
    linear-gradient(
      115deg,
      transparent 0 45%,
      rgba(216, 121, 67, 0.08) 45% 45.15%,
      transparent 45.15%
    );

  pointer-events: none;
}

/* =========================================================
   HERO CONTENT
========================================================= */

.visual-hero__inner,
.visual-hero__side {
  position: relative;

  z-index: 4;
}

/* =========================================================
   ORBIT
========================================================= */

.visual-hero-orbit {
  position: absolute;

  z-index: 3;

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 50%;

  pointer-events: none;

  animation: visualHeroOrbit 28s linear infinite;
}

.visual-hero-orbit::after {
  content: "";

  position: absolute;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--visual-accent);

  box-shadow: 0 0 30px var(--visual-accent);
}

.visual-hero-orbit--one {
  width: 460px;
  height: 460px;

  right: -120px;
  top: 12%;
}

.visual-hero-orbit--one::after {
  left: 65px;
  top: 45px;
}

.visual-hero-orbit--two {
  width: 650px;
  height: 650px;

  right: -220px;
  top: 5%;

  animation-direction: reverse;

  animation-duration: 38s;
}

.visual-hero-orbit--two::after {
  right: 80px;
  bottom: 90px;
}

@keyframes visualHeroOrbit {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {
  .visual-hero__wall {
    /*
     * タブレットは3列を維持しつつ
     * 1シート自体を大きくする。
     */
    --wall-sheet-width: 190vw;

    --wall-gap: clamp(8px, 1.6vw, 16px);

    --wall-opacity: 0.44;

    inset: -7vh -20vw;

    transform: rotate(-2.8deg) scale(1.08);
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {
  .visual-hero__wall {
    /*
     * スマホでは画面幅よりかなり大きい壁にする。
     *
     * これが上下左右の
     * 「背景だけ見える隙間」を防ぐ。
     */
    --wall-sheet-width: 306vw;

    --wall-gap: 9px;

    --wall-opacity: 0.3;

    inset: -5vh -36vw;

    transform: rotate(-3deg) scale(1.06);
  }

  .visual-hero-wall__drift {
    animation-duration: 28s;
  }

  .visual-hero-orbit--one {
    width: 330px;
    height: 330px;

    right: -145px;
  }

  .visual-hero-orbit--two {
    width: 470px;
    height: 470px;

    right: -220px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .visual-hero-wall__track,
  .visual-hero-wall__drift,
  .visual-hero-orbit {
    animation: none !important;
  }

  .visual-hero-wall__drift {
    transform: translate3d(0, -50%, 0);
  }
}
/* =========================================================
   VISUAL DESIGN
   COMMON HEADER LAYOUT + ORIGINAL VISUAL COLOR
   Layout / animation = common.css
   Color only = visual-design
========================================================= */

/* ---------------------------------------------------------
   HEADER
   HERO内では背景なし
--------------------------------------------------------- */

body.visual-page .site-header,
body.visual-page .site-header.is-scrolled {
  color: #fff;

  background-color: transparent;
  background-image: none;

  border-bottom-color: transparent;

  box-shadow: none;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ---------------------------------------------------------
   WORKS到達後

   visual-works のTOPを越えた瞬間から
   旧Visual DesignのアイボリーHEADERへ
--------------------------------------------------------- */

body.visual-page .site-header.is-visual-works {
  color: var(--visual-text, #25232d);

  background-color: rgba(243, 240, 235, 0.78);

  border-bottom: 1px solid rgba(37, 35, 45, 0.08);

  box-shadow: none;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* common.cssの is-scrolled が残っていても
   Visual側では is-visual-works を正とする */
body.visual-page .site-header.is-scrolled.is-visual-works {
  color: var(--visual-text, #25232d);

  background-color: rgba(243, 240, 235, 0.78);

  border-bottom: 1px solid rgba(37, 35, 45, 0.08);

  box-shadow: none;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ---------------------------------------------------------
   MENU OPEN

   WORKS以降でMENUを開いても
   HEADER本体は透明＋白文字へ戻す
--------------------------------------------------------- */

body.visual-page .site-header.is-menu-open,
body.visual-page .site-header.is-visual-works.is-menu-open,
body.visual-page .site-header.is-scrolled.is-menu-open {
  color: #fff;

  background-color: transparent;

  border-bottom-color: transparent;

  box-shadow: none;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* =========================================================
   DESKTOP NAV COLOR
   Layout = common.css
   Color  = visual-design.css
========================================================= */

/* HERO内 */
body.visual-page .site-header:not(.is-visual-works) .desktop-nav > a {
  color: #fff;
}

/* WORKS以降 */
body.visual-page .site-header.is-visual-works .desktop-nav > a {
  color: var(--visual-text, #25232d);
}

/* CONTACTも同じ文字色 */
body.visual-page .site-header.is-visual-works .desktop-nav__contact {
  color: var(--visual-text, #25232d);

  border-color: rgba(37, 35, 45, 0.55);

  background-color: rgba(243, 240, 235, 0.22);
}

/* WORKS以降の通常リンク下線 */
body.visual-page
  .site-header.is-visual-works
  .desktop-nav
  > a:not(.desktop-nav__contact)::after {
  background-color: var(--visual-accent, #d87943);
}

/* MENUを開いた時は白へ戻す */
body.visual-page .site-header.is-menu-open .desktop-nav > a {
  color: #fff;
}

/* =========================================================
   MENU BUTTON COLOR
========================================================= */

/* HERO */
body.visual-page .site-header:not(.is-visual-works) .nav-toggle {
  color: #fff;
}

/* WORKS以降 */
body.visual-page .site-header.is-visual-works .nav-toggle {
  color: var(--visual-text, #25232d);

  border-color: rgba(37, 35, 45, 0.45);

  background-color: rgba(243, 240, 235, 0.18);
}

/* MENU OPEN */
body.visual-page .site-header.is-menu-open .nav-toggle,
body.visual-page .site-header.is-menu-open .nav-toggle[aria-expanded="true"] {
  color: #fff;
}

/* =========================================================
   MENU BUTTON COLOR ONLY
========================================================= */

body.visual-page .nav-toggle {
  color: inherit;
}

/* MENU OPEN時 */
body.visual-page .nav-toggle[aria-expanded="true"] {
  color: #fff;
}

/* =========================================================
   FULLSCREEN MENU
   新レイアウトを維持して「色だけ」旧Visualへ
========================================================= */

body.visual-page .fullscreen-menu {
  color: #fff;

  background-color: var(--visual-bg-deep, #1c1a26);
}

/* commonの背景装飾はそのまま使う */
body.visual-page .fullscreen-menu__background::before {
  border-color: rgba(255, 255, 255, 0.1);
}

/* 新NAVの装飾構造は維持し、
   色だけVisual Design側へ */
body.visual-page .fullscreen-menu__background::after {
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(12.5% - 1px),
      rgba(255, 255, 255, 0.025) 12.5%
    ),
    radial-gradient(
      circle at 82% 20%,
      rgba(216, 121, 67, 0.18),
      transparent 30%
    );
}

/* =========================================================
   FULLSCREEN MENU HEADING
========================================================= */

body.visual-page .fullscreen-menu__heading p {
  color: var(--visual-accent, #d87943);
}

body.visual-page .fullscreen-menu__heading span {
  color: rgba(255, 255, 255, 0.5);
}

/* =========================================================
   FULLSCREEN MENU LINKS
========================================================= */

body.visual-page .fullscreen-menu__links {
  border-color: rgba(255, 255, 255, 0.1);
}

body.visual-page .fullscreen-menu__links > a {
  color: #fff;

  border-color: rgba(255, 255, 255, 0.1);
}

body.visual-page .fullscreen-menu__links > a:hover,
body.visual-page .fullscreen-menu__links > a:focus-visible {
  color: #fff;

  background-color: rgba(255, 255, 255, 0.06);
}

/* 番号 */
body.visual-page .fullscreen-menu__number {
  color: var(--visual-accent, #d87943);
}

/* 日本語タイトル */
body.visual-page .fullscreen-menu__label strong {
  color: #fff;
}

/* 英語サブタイトル */
body.visual-page .fullscreen-menu__label small {
  color: rgba(255, 255, 255, 0.52);
}

/* hover矢印 */
body.visual-page .fullscreen-menu__links > a::after {
  color: var(--visual-accent, #d87943);
}

/* CONTACT */
body.visual-page .fullscreen-menu__contact {
  color: #fff;
}

/* =========================================================
   FULLSCREEN MENU FOOTER
========================================================= */

body.visual-page .fullscreen-menu__footer {
  color: rgba(255, 255, 255, 0.54);
}

body.visual-page .fullscreen-menu__footer p {
  color: rgba(255, 255, 255, 0.54);
}

body.visual-page .fullscreen-menu__footer a {
  color: rgba(255, 255, 255, 0.72);
}
/* =========================================================
   HERO LOADING SCROLL LOCK
========================================================= */

html.is-visual-hero-loading,
body.is-visual-hero-loading {
  overflow: hidden !important;
  overscroll-behavior: none;
}

body.is-visual-hero-loading {
  touch-action: none;
}
.visual-capability__visual > img {
  position: absolute;
  inset: 0;
  z-index: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  filter: saturate(0.82) contrast(0.96) brightness(0.82);
}
