:root {
  --sky-zenith: #f7f8f8;
  --sky-mid: #f7f8f8;
  --sky-horizon: #eef3f4;
  --sky-glow: #f8f8f6;
  --text: #2f3740;
  --text-strong: #10141a;
  --muted: #3a414a;
  --soft: #5a6470;
  --blue: #e30613;
  --blue-dark: #0a0a0a;
  --divider: rgba(16, 20, 26, 0.1);
  --content-max: 1240px;
  --prose-max: 50rem;
  --hero-logo-size: 88px;
  --hero-mark-gap: 12px;
  --font-display: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-reveal: 1.05s var(--ease-luxury);
  --motion-mask: 1.1s var(--ease-luxury);
  --intro-exit: 0.72s var(--ease-luxury);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  position: relative;
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.125rem;
  color: var(--text);
  background: var(--sky-mid);
  line-height: 1.85;
  line-break: strict;
  word-break: normal;
  overflow-wrap: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 0;
  height: 2px;
  background: var(--blue-dark);
  pointer-events: none;
  animation: topLoadLine 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.is-intro-active {
  overflow: hidden;
}

body.is-intro-active::before {
  display: none;
}

@keyframes catchcopyScan {
  0%,
  88%,
  100% {
    opacity: 0;
    transform: translate3d(-120%, 0, 0);
  }

  90% {
    opacity: 0.72;
  }

  94% {
    transform: translate3d(120%, 0, 0);
    opacity: 0;
  }
}

@keyframes introLineSweep {
  0% {
    transform: scaleX(0);
    opacity: 0.2;
  }

  35% {
    opacity: 1;
  }

  100% {
    transform: scaleX(1);
    opacity: 0.9;
  }
}

@keyframes introMarkReveal {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

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

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

@keyframes introAuroraDrift {
  from {
    transform: translate3d(-2%, -1%, 0) rotate(-1deg);
    opacity: 0.42;
  }

  to {
    transform: translate3d(2%, 1%, 0) rotate(1deg);
    opacity: 0.58;
  }
}

@keyframes skySheenDrift {
  from {
    transform: translate3d(-4%, -2%, 0) rotate(-2deg);
  }

  to {
    transform: translate3d(4%, 2%, 0) rotate(2deg);
  }
}

@keyframes yeezusDiscSweep {
  from {
    transform: translate3d(calc(var(--sky-shift-x, 0) * 1%), calc(var(--sky-shift-y, 0) * 1%), 0)
      rotate(-2.5deg);
  }

  to {
    transform: translate3d(calc(var(--sky-shift-x, 0) * 1%), calc(var(--sky-shift-y, 0) * 1%), 0)
      rotate(2.5deg);
  }
}

@keyframes yeezusDiscSweepRev {
  from {
    transform: translate3d(calc(var(--sky-shift-x, 0) * 0.8%), calc(var(--sky-shift-y, 0) * 0.8%), 0)
      rotate(2deg);
  }

  to {
    transform: translate3d(calc(var(--sky-shift-x, 0) * 0.8%), calc(var(--sky-shift-y, 0) * 0.8%), 0)
      rotate(-2deg);
  }
}

@keyframes softCdIridescence {
  from {
    transform: translate3d(
        calc(-0.8% + (var(--sky-shift-x, 0) * 1%)),
        calc(0.5% + (var(--sky-shift-y, 0) * 1%)),
        0
      )
      rotate(0deg);
  }

  to {
    transform: translate3d(
        calc(0.8% + (var(--sky-shift-x, 0) * 1%)),
        calc(-0.5% + (var(--sky-shift-y, 0) * 1%)),
        0
      )
      rotate(0.15deg);
  }
}

@keyframes softColorDrift {
  from {
    transform: translate3d(
        calc(0.6% + (var(--sky-shift-x, 0) * 0.7%)),
        calc(-0.4% + (var(--sky-shift-y, 0) * 0.7%)),
        0
      );
  }

  to {
    transform: translate3d(
        calc(-0.6% + (var(--sky-shift-x, 0) * 0.7%)),
        calc(0.4% + (var(--sky-shift-y, 0) * 0.7%)),
        0
      );
  }
}

@keyframes redLinePulse {
  0%,
  100% {
    opacity: 0.88;
  }

  50% {
    opacity: 1;
  }
}

@keyframes titleFocus {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes topLoadLine {
  to {
    width: 100%;
  }
}

.business-text {
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
  hanging-punctuation: allow-end;
  -webkit-line-break: after-white-space;
}

main p,
main h3,
main .section-lead,
main .hero-summary p,
main .service-item-copy p,
main .contact-item dd,
.footer-name,
.footer-scope {
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
  hanging-punctuation: allow-end;
  -webkit-line-break: after-white-space;
}

.phrase-keep {
  white-space: nowrap;
}

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

.sky-backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  isolation: isolate;
  --sky-shift-x: 0;
  --sky-shift-y: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
  background:
    radial-gradient(circle at 78% 20%, rgba(215, 245, 255, 0.2), transparent 36%),
    radial-gradient(circle at 88% 64%, rgba(210, 190, 235, 0.12), transparent 38%),
    radial-gradient(circle at 18% 18%, rgba(190, 240, 230, 0.1), transparent 34%),
    linear-gradient(135deg, #f7f8f8 0%, #eef3f4 42%, #f8f8f6 100%);
}

body.is-hero-ready .sky-backdrop,
body:not(.is-intro-active) .sky-backdrop {
  opacity: 1;
}

.surface-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(16, 20, 26, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 20, 26, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.2) 72%, transparent 100%);
}

.surface-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.034;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.cursor-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  --glow-x: 50%;
  --glow-y: 50%;
  background: radial-gradient(
    circle 220px at var(--glow-x) var(--glow-y),
    rgba(227, 6, 19, 0.08),
    rgba(227, 6, 19, 0.02) 42%,
    transparent 72%
  );
  opacity: 0.55;
}

.page-intro {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f4f5f7;
  pointer-events: none;
}

.page-intro-aurora {
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    conic-gradient(
      from 210deg at 50% 50%,
      rgba(255, 255, 255, 0.5) 0deg,
      rgba(170, 230, 245, 0.22) 48deg,
      rgba(205, 185, 235, 0.16) 120deg,
      rgba(255, 255, 255, 0.42) 220deg,
      rgba(120, 210, 230, 0.18) 300deg,
      rgba(255, 255, 255, 0.5) 360deg
    );
  filter: blur(48px) saturate(1.05);
  opacity: 0.48;
  animation: introAuroraDrift 9s ease-in-out infinite alternate;
}

.page-intro-line {
  position: absolute;
  top: 50%;
  left: 8%;
  z-index: 1;
  width: 84%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 6, 19, 0.55), transparent);
  transform-origin: left center;
  animation: introLineSweep 0.9s var(--ease-luxury) forwards;
}

.page-intro-mark {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 12px;
  color: var(--text-strong);
  animation: introMarkReveal 0.75s var(--ease-luxury) 0.2s both;
}

.page-intro-curtain {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, #f4f5f7 0%, #f0f2f4 100%);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.page-intro.is-exiting .page-intro-mark {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.page-intro.is-exiting .page-intro-curtain {
  animation: introCurtainLift var(--intro-exit) forwards;
}

.page-intro.is-exiting {
  animation: introFadeOut 0.55s ease 0.42s forwards;
}

.page-intro-logo {
  width: 72px;
  height: 72px;
}

.page-intro-name {
  font-family: "Syne", var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-intro[hidden],
.page-intro.is-dismissed {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}

.page-intro.is-done {
  animation: none;
}

.sky-sheen {
  position: absolute;
  inset: -35%;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(
      118deg,
      transparent 32%,
      rgba(255, 255, 255, 0.16) 46%,
      rgba(175, 235, 245, 0.1) 50%,
      rgba(210, 190, 235, 0.08) 54%,
      transparent 68%
    );
  opacity: 0.26;
  mix-blend-mode: screen;
  filter: blur(18px);
  animation: skySheenDrift 150s ease-in-out infinite alternate;
}

.sky-backdrop::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      118deg,
      transparent 18%,
      rgba(255, 255, 255, 0) 34%,
      rgba(180, 245, 235, 0.12) 44%,
      rgba(45, 185, 225, 0.14) 49%,
      rgba(205, 180, 235, 0.08) 56%,
      rgba(255, 255, 255, 0) 70%,
      transparent 86%
    );
  filter: blur(36px);
  opacity: 0.26;
  mix-blend-mode: screen;
  animation: softCdIridescence 80s ease-in-out infinite alternate;
}

.sky-backdrop::after {
  content: "";
  position: absolute;
  inset: -15%;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 42%, rgba(120, 220, 235, 0.1), transparent 34%),
    radial-gradient(circle at 76% 70%, rgba(205, 185, 235, 0.08), transparent 36%);
  filter: blur(40px);
  opacity: 0.22;
  mix-blend-mode: screen;
  animation: softColorDrift 95s ease-in-out infinite alternate;
}

.sky-iridescence {
  position: absolute;
  inset: -46vmin;
  z-index: 1;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(252, 254, 255, 0.52) 0deg,
    rgba(92, 208, 224, 0.34) 22deg,
    rgba(36, 132, 178, 0.2) 46deg,
    rgba(228, 238, 244, 0.38) 70deg,
    rgba(236, 210, 108, 0.11) 96deg,
    rgba(196, 112, 196, 0.12) 122deg,
    rgba(170, 230, 188, 0.08) 150deg,
    rgba(32, 36, 44, 0.05) 176deg,
    rgba(248, 252, 255, 0.42) 212deg,
    rgba(76, 188, 210, 0.24) 268deg,
    rgba(252, 254, 255, 0.52) 360deg
  );
  opacity: 0.31;
  filter: blur(38px) saturate(1.1);
  transform-origin: 58% 44%;
  animation: yeezusDiscSweep 110s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.08) 24%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.88) 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.08) 24%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.88) 100%
  );
}

.sky-iridescence--alt {
  inset: -34vmin;
  z-index: 1;
  opacity: 0.21;
  filter: blur(42px) saturate(1.06);
  background: conic-gradient(
    from 120deg at 50% 50%,
    rgba(255, 255, 255, 0.16) 0deg,
    rgba(116, 225, 222, 0.22) 44deg,
    rgba(185, 130, 255, 0.15) 104deg,
    rgba(255, 215, 132, 0.1) 168deg,
    rgba(35, 72, 132, 0.08) 248deg,
    rgba(255, 255, 255, 0.14) 360deg
  );
  transform-origin: 62% 48%;
  animation: yeezusDiscSweepRev 130s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.06) 28%,
    rgba(0, 0, 0, 0.5) 54%,
    rgba(0, 0, 0, 0.84) 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.06) 28%,
    rgba(0, 0, 0, 0.5) 54%,
    rgba(0, 0, 0, 0.84) 100%
  );
}

.sky-orb {
  display: none;
}

.sky-gradient {
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    radial-gradient(ellipse 60% 58% at 40% 58%, rgba(255, 255, 255, 0.38), transparent 74%),
    radial-gradient(ellipse 50% 44% at 36% 52%, rgba(248, 250, 252, 0.32), transparent 70%),
    linear-gradient(
      180deg,
      rgba(252, 253, 254, 0.2) 0%,
      rgba(248, 250, 252, 0.14) 55%,
      rgba(246, 248, 250, 0.1) 100%
    );
}

.sky-haze {
  position: absolute;
  inset: 0;
  z-index: 5;
  transform: translate3d(calc(var(--sky-shift-x, 0) * 0.5%), calc(var(--sky-shift-y, 0) * 0.5%), 0);
  background:
    radial-gradient(ellipse 72% 64% at 40% 56%, rgba(255, 255, 255, 0.16), transparent 62%),
    radial-gradient(ellipse 42% 30% at 84% 24%, rgba(210, 244, 248, 0.08), transparent 62%),
    radial-gradient(ellipse 36% 26% at 88% 68%, rgba(210, 185, 230, 0.06), transparent 58%);
  opacity: 0.3;
  mix-blend-mode: screen;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 10px 14px;
  border-radius: 0;
  background: var(--blue-dark);
  color: #fff;
  text-decoration: none;
  z-index: 20;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(var(--content-max), 100%);
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

@media (min-width: 721px) {
  .container {
    margin-left: clamp(32px, 8vw, 80px);
    margin-right: clamp(24px, 5vw, 56px);
    width: min(var(--content-max), calc(100% - clamp(32px, 8vw, 80px) - clamp(24px, 5vw, 56px)));
    max-width: var(--content-max);
    padding-inline: 0;
  }

  #service .service-list,
  #service .section-lead,
  #contact .section-lead,
  #contact .contact-list {
    max-width: 100%;
  }
}

.site-header,
main,
.section,
.site-footer {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(232, 234, 237, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
  transition: background-color 0.4s ease;
}

.site-header.is-scrolled {
  background: rgba(232, 234, 237, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  position: relative;
}

.brand {
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: auto;
  object-fit: contain;
}

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

.brand-mark > span,
.brand {
  font-family: "Syne", "Zen Kaku Gothic New", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--blue-dark);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-mark--hero {
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.brand-mark--hero .brand-logo {
  width: 88px;
  height: 88px;
}

.brand-mark--footer {
  justify-content: center;
  gap: 10px;
  margin: 0 0 6px;
}

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

.brand-mark--footer > span {
  font-family: "Syne", "Zen Kaku Gothic New", sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--blue-dark);
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  padding: 6px 0;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  text-decoration: none;
  color: var(--text-strong);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: color 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--blue);
  opacity: 0;
  transform: scaleX(0.55);
  transform-origin: left center;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text-strong);
}

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

.hero {
  position: relative;
  padding: 28px 0 40px;
}

.hero-visual {
  position: absolute;
  top: 8%;
  right: clamp(0px, 2vw, 24px);
  width: min(42vw, 360px);
  height: min(42vw, 360px);
  pointer-events: none;
  z-index: 0;
}

.hero-wireframe-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 30px;
  min-width: 0;
}

.hero-stack > * {
  min-width: 0;
}

.hero-intro {
  max-width: 24em;
}

.hero-copy {
  display: grid;
  max-width: var(--prose-max);
}

.trade-name {
  margin: 0;
  font-family: "Syne", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(1.38rem, 2.8vw, 1.72rem);
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}

.owner-name {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5em;
  margin: 0;
  padding-left: calc(var(--hero-logo-size) + var(--hero-mark-gap));
  font-size: clamp(0.92rem, 1.9vw, 1.08rem);
  line-height: 1.5;
}

.owner-role {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--soft);
  letter-spacing: 0.16em;
}

.owner-name-text {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--soft);
  letter-spacing: 0.03em;
}

.catchcopy {
  position: relative;
  isolation: isolate;
  margin: 0 0 1.45rem;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(1.9rem, 4.4vw, 2.65rem);
  font-weight: 800;
  color: var(--text-strong);
  line-height: 1.32;
  letter-spacing: -0.024em;
  text-wrap: balance;
}

.catchcopy::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -8%;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 6, 19, 0.72), transparent);
  opacity: 0;
  pointer-events: none;
  animation: catchcopyScan 7.5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.catchcopy-inner {
  position: relative;
  z-index: 1;
  display: inline-block;
}

.hero-summary {
  display: grid;
  gap: 0.95em;
  max-width: var(--prose-max);
  margin: 0;
}

.hero-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.84;
  font-weight: 400;
}

.hero-summary p:first-child {
  color: var(--text);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 168px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  box-shadow: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.button--primary {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}

.button--secondary {
  background: rgba(228, 231, 235, 0.72);
  border-color: rgba(16, 20, 26, 0.18);
  color: var(--text-strong);
}

@media (hover: hover) {
  .button--primary:hover,
  .button--primary:focus-visible {
    background: #1c1c1c;
    border-color: #1c1c1c;
    transform: translateY(-1px);
  }

  .button--secondary:hover,
  .button--secondary:focus-visible {
    background: rgba(214, 218, 224, 0.96);
    border-color: rgba(16, 20, 26, 0.24);
    color: var(--text-strong);
    transform: translateY(-1px);
  }
}

.button--primary:focus-visible,
.button--secondary:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--blue) 70%, transparent);
  outline-offset: 3px;
}

.section-title {
  position: relative;
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0 0 0 20px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--blue);
  opacity: 0.88;
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    filter 0.35s ease;
  animation: redLinePulse 15s ease-in-out infinite;
}

.section-title.is-line-visible::before {
  clip-path: inset(0 0 0 0);
}

.section-title.is-line-emphasized::before {
  opacity: 1;
  filter: brightness(1.06);
}

.heading-tag {
  display: block;
  padding: 0;
  font-family: "Syne", var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1.2;
  white-space: nowrap;
}

.section-title-text {
  display: block;
  margin: 0;
  padding: 0;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: var(--text-strong);
}

.mask-line {
  display: block;
  overflow: hidden;
}

.mask-line__inner {
  display: block;
  transform: translate3d(0, 110%, 0);
  opacity: 0;
  transition:
    transform var(--motion-mask),
    opacity 0.85s ease;
  transition-delay: var(--mask-delay, 0ms);
}

.mask-line--hero .mask-line__inner {
  transition-duration: 1.15s;
}

.mask-reveal.is-visible .mask-line__inner,
.reveal-section.is-visible .mask-reveal.is-visible .mask-line__inner,
.section-heading.is-visible .mask-line__inner,
.hero-copy.is-visible .mask-line--hero .mask-line__inner {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.section-heading.is-visible .heading-tag.mask-line .mask-line__inner {
  --mask-delay: 0.08s;
}

.section-heading.is-visible .section-title-text.mask-line .mask-line__inner {
  --mask-delay: 0.18s;
}

.section-heading.reveal:not(.is-visible) .mask-line__inner {
  transform: translate3d(0, 110%, 0);
  opacity: 0;
}

.section-heading.reveal.is-visible .mask-line__inner {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.section-stage .container {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity var(--motion-reveal),
    transform var(--motion-reveal);
}

.section-stage.is-stage-visible .container {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.section-stage .section-lead {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 0.95s var(--ease-luxury) 0.28s,
    transform 0.95s var(--ease-luxury) 0.28s;
}

.section-stage.is-stage-visible .section-lead {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.section-stage.is-stage-visible .service-item.reveal:nth-child(1) {
  transition-delay: 0.12s;
}

.section-stage.is-stage-visible .service-item.reveal:nth-child(2) {
  transition-delay: 0.22s;
}

.section-stage.is-stage-visible .service-item.reveal:nth-child(3) {
  transition-delay: 0.32s;
}

.section-stage .section-heading.reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

.section-stage .section-heading.reveal:not(.is-visible) .mask-line__inner {
  transform: translate3d(0, 110%, 0);
  opacity: 0;
}

.section-stage.is-stage-visible .contact-list.reveal {
  transition-delay: 0.2s;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section-heading .section-title {
  margin-bottom: 0;
}

.section-heading .section-title-text {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: 0.01em;
}

#service .section-lead {
  margin-top: 2px;
}

.lead {
  display: grid;
  gap: 1.1em;
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.95;
}

.lead p {
  margin: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: 0.02em;
}

h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: 0.02em;
}

.section {
  padding: 24px 0 44px;
}

#service.section {
  border-top: 1px solid var(--divider);
  padding-top: 40px;
}

.section-contact {
  padding-bottom: 48px;
}

.section-lead {
  margin: 0;
  padding-left: 20px;
  max-width: var(--prose-max);
  font-family: var(--font-display);
  color: var(--soft);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.service-item-head h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.service-index {
  font-family: "DM Mono", "Courier New", monospace;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  transition:
    color 0.25s ease,
    opacity 0.25s ease,
    font-weight 0.25s ease;
}

.contact-item dt {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--soft);
}

.site-footer {
  padding: 24px 0 36px;
  border-top: 1px solid var(--divider);
}

.footer-inner {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  max-width: var(--prose-max);
  margin-inline: auto;
}

.footer-name {
  margin: 0;
  font-family: var(--font-display);
  color: var(--soft);
  font-size: 0.94rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.footer-scope {
  margin: 0;
  font-family: var(--font-display);
  color: var(--soft);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.footer-copy {
  margin: 4px 0 0;
  font-family: var(--font-display);
  color: var(--soft);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.service-list {
  display: grid;
  gap: 12px;
  max-width: var(--prose-max);
}

.service-item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 20px 44px 20px 20px;
  border: 1px solid rgba(16, 20, 26, 0.1);
  border-radius: 2px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.34)) padding-box,
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.55),
      rgba(185, 235, 245, 0.12),
      rgba(210, 190, 235, 0.1)
    )
    border-box;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
  transition:
    background-color 0.45s ease,
    border-color 0.45s ease,
    transform 0.45s var(--ease-luxury),
    box-shadow 0.45s ease;
}

.service-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--blue);
  opacity: 0;
  transform: scaleY(0.65);
  transform-origin: top;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.service-item::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(16, 20, 26, 0.28);
  border-right: 1px solid rgba(16, 20, 26, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -50%, 0) rotate(45deg);
  transition:
    opacity 0.25s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-item > :not(.service-watermark) {
  position: relative;
  z-index: 1;
}

.service-watermark {
  position: absolute;
  top: 50%;
  right: 10px;
  z-index: 0;
  font-family: "Syne", var(--font-display);
  font-size: clamp(3.8rem, 11vw, 6.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(16, 20, 26, 0.045);
  opacity: 0;
  pointer-events: none;
  user-select: none;
  transform: translate3d(var(--parallax-x, 0), calc(-50% + 12px), 0);
  transition:
    opacity 1s var(--ease-luxury) 0.32s,
    transform 1s var(--ease-luxury) 0.32s,
    color 0.3s ease,
    text-shadow 0.3s ease;
}

.service-item.is-visible .service-watermark {
  opacity: 1;
  transform: translate3d(var(--parallax-x, 0), -50%, 0);
}

@media (hover: hover) {
  .service-item:hover .service-watermark {
    color: rgba(227, 6, 19, 0.1);
    text-shadow: 0 0 0 rgba(227, 6, 19, 0.18);
  }
}

@media (hover: hover) {
  .service-item:hover {
    background:
      linear-gradient(rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.52)) padding-box,
      linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.65),
        rgba(185, 235, 245, 0.18),
        rgba(210, 190, 235, 0.14)
      )
      border-box;
    border-color: rgba(16, 20, 26, 0.14);
    transform: translate3d(0, -2px, 0);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.55) inset,
      0 14px 36px rgba(16, 20, 26, 0.04);
  }

  .service-item:hover::before {
    opacity: 1;
    transform: scaleY(1);
  }

  .service-item:hover::after {
    opacity: 0.45;
    transform: translate3d(3px, -50%, 0) rotate(45deg);
  }

  .service-item:hover .service-index {
    font-weight: 600;
    color: var(--blue);
  }
}

.service-item-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.service-item-copy {
  display: grid;
  gap: 0.55em;
  max-width: var(--prose-max);
}

.service-item-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.82;
  font-weight: 400;
}

.service-item p {
  margin: 0;
  max-width: var(--prose-max);
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.82;
  font-weight: 400;
}

.contact-list {
  margin: 0;
  display: grid;
  gap: 0;
  max-width: var(--prose-max);
}

.contact-item {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--divider);
}

.contact-item:last-child {
  border-bottom: 1px solid var(--divider);
}

.contact-item--primary dt {
  color: var(--muted);
}

.contact-item--primary dd {
  font-weight: 700;
}

.contact-item dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 2.1vw, 1.2rem);
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: 0.01em;
}

.contact-link {
  display: inline-block;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link--email {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-item a:hover,
.contact-item a:focus-visible {
  color: var(--blue);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(4px);
  transition:
    opacity var(--motion-reveal),
    transform var(--motion-reveal),
    filter var(--motion-reveal);
  transition-delay: var(--reveal-delay, 0ms);
}

.service-item.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  filter: blur(2px);
  transition:
    opacity 0.95s var(--ease-luxury),
    transform 0.95s var(--ease-luxury),
    filter 0.95s var(--ease-luxury);
}

.hero-copy.reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

.hero-copy.reveal .hero-summary,
.hero-copy.reveal .hero-actions {
  opacity: 0;
  filter: blur(4px);
  transform: translate3d(0, 24px, 0);
}

.hero-copy.reveal .catchcopy .mask-line__inner {
  transform: translate3d(0, 110%, 0);
  opacity: 0;
}

.hero-copy.reveal .hero-summary {
  transform: translate3d(0, 20px, 0);
}

.hero-copy.reveal .hero-actions {
  transform: translate3d(0, 16px, 0);
}

.hero-copy.reveal.is-visible .catchcopy .mask-line__inner {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  transition:
    transform 1.15s var(--ease-luxury),
    opacity 0.95s ease;
}

.hero-copy.reveal.is-visible .hero-summary {
  animation: heroFadeUp 1s var(--ease-luxury) forwards;
  animation-delay: 0.28s;
}

.hero-copy.reveal.is-visible .hero-actions {
  animation: heroFadeUp 1s var(--ease-luxury) forwards;
  animation-delay: 0.48s;
}

.hero .reveal {
  transform: translate3d(0, 32px, 0) scale(0.995);
  filter: blur(4px);
}

.hero .hero-copy.reveal {
  transform: none;
  filter: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.service-item.reveal.is-visible {
  transform: translate3d(0, 0, 0);
}

@media (min-width: 900px) {
  .hero {
    padding-top: 18px;
    padding-bottom: 32px;
  }

  .hero-stack {
    grid-template-columns: minmax(180px, 0.52fr) minmax(0, 1.48fr);
    gap: 22px 32px;
    align-items: start;
    width: 100%;
  }

  .hero-intro,
  .hero-copy {
    max-width: none;
  }

  .hero-copy {
    max-width: var(--prose-max);
    margin-right: auto;
  }

  .brand-mark--hero .brand-logo {
    width: 80px;
    height: 80px;
  }

  :root {
    --hero-logo-size: 80px;
    --hero-mark-gap: 12px;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0;
    background: rgba(236, 237, 240, 0.96);
    backdrop-filter: blur(12px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 8px 0;
  }

  .header-inner {
    position: relative;
    min-height: 54px;
  }

  .hero {
    padding-top: 20px;
    padding-bottom: 26px;
  }

  .hero-stack {
    gap: 24px;
  }

  .catchcopy {
    font-size: clamp(1.68rem, 6vw, 2.05rem);
    line-height: 1.35;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 1.5rem;
    gap: 10px;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  #service.section {
    padding-top: 28px;
  }

  .section {
    padding-bottom: 40px;
  }

  .section-contact {
    padding-bottom: 40px;
  }

  .service-item {
    padding: 16px 40px 16px 16px;
  }

  .hero-visual {
    display: none;
  }

  .contact-link--email {
    font-size: clamp(0.94rem, 3.8vw, 1.04rem);
  }

  .sky-backdrop::before {
    opacity: 0.22;
  }

  .sky-backdrop::after {
    opacity: 0.18;
  }

  .sky-iridescence {
    opacity: 0.26;
  }

  .sky-iridescence--alt {
    opacity: 0.18;
  }

  .brand-mark--hero {
    gap: 10px;
  }

  .brand-mark--hero .brand-logo {
    width: 72px;
    height: 72px;
  }

  :root {
    --hero-logo-size: 72px;
    --hero-mark-gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    width: 100%;
    animation: none;
  }

  .sky-backdrop::before,
  .sky-backdrop::after,
  .sky-iridescence,
  .sky-iridescence--alt,
  .sky-sheen,
  .section-title::before {
    animation: none !important;
  }

  .sky-backdrop {
    opacity: 1;
    transition: none;
  }

  .section-stage .container,
  .section-stage .section-lead,
  .mask-line__inner {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .service-watermark,
  .service-item.is-visible .service-watermark {
    opacity: 1;
    transform: translate3d(0, -50%, 0);
  }

  .section-title::before {
    clip-path: inset(0 0 0 0);
    transition: none;
  }

  .section-title .heading-tag,
  .section-title .section-title-text,
  .section-heading.reveal:not(.is-visible) .heading-tag,
  .section-heading.reveal:not(.is-visible) .section-title-text {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-copy.reveal .catchcopy .mask-line__inner,
  .hero-copy.reveal .hero-summary,
  .hero-copy.reveal .hero-actions {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none !important;
  }

  .catchcopy::after,
  .page-intro,
  .page-intro-line,
  .page-intro-mark,
  .page-intro-aurora,
  .page-intro-curtain {
    animation: none !important;
  }

  .page-intro.is-exiting,
  .page-intro.is-exiting .page-intro-curtain {
    animation: none !important;
  }

  .cursor-glow {
    display: none;
  }

  .service-watermark {
    transform: translate3d(0, -50%, 0);
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .button--primary:hover,
  .button--primary:focus-visible,
  .button--secondary:hover,
  .button--secondary:focus-visible {
    transform: none;
  }

  .service-item,
  .service-item::before,
  .service-item::after {
    transition: none;
    transform: none;
  }

  .service-item:hover {
    transform: none;
  }

  .site-nav a::after {
    transition: none;
    opacity: 0;
    transform: none;
  }

  .section-title.is-line-emphasized::before {
    filter: none;
    opacity: 0.88;
  }

  .reveal {
    animation: none;
    transition: none;
    filter: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* === Web Kai brand overrides (disable legacy layout noise) === */
.hero-visual,
.cursor-glow,
.sky-backdrop,
.page-intro { display: none !important; }

.hero .reveal,
.service-item.reveal,
.section-heading.reveal { opacity: unset; transform: unset; filter: unset; }
