/* =============================================================================
 * MAG BASE KOGA — Machining Site Stylesheet v2.0 (dazzle edition)
 * Design tokens from: outputs/machining_design-tokens.md
 * ============================================================================= */

/* =============================================================================
 * 1. DESIGN TOKENS
 * ============================================================================= */
:root {
  /* --- Base --- */
  --c-bg:            #F4F5F6;
  --c-bg-elevated:   #FFFFFF;
  --c-bg-sunken:     #ECEEF0;

  /* --- Ink --- */
  --c-ink:           #16191D;
  --c-ink-strong:    #0B0D10;
  --c-ink-muted:     #5B636C;
  --c-ink-faint:     #9AA1A9;

  /* --- Accent (チタンブルー 1色のみ) --- */
  --c-accent:        #2D6CA2;
  --c-accent-hover:  #21557F;
  --c-accent-weak:   #E3ECF3;

  /* --- Industrial Dark --- */
  --c-steel:         #1C2530;
  --c-steel-ink:     #C7CDD4;

  /* --- Metal / Line --- */
  --c-metal:         #B8BEC4;
  --c-line:          #D8DCE0;
  --c-line-strong:   #B5BBC2;

  /* --- Status --- */
  --c-success:       #2F7D5B;
  --c-warning:       #B5791F;
  --c-danger:        #B23A38;

  /* --- Fonts --- */
  --font-display-ja: "Shippori Mincho B1", "Noto Serif JP", serif;
  --font-display-en: "Space Grotesk", "Inter", sans-serif;
  --font-body:       "Noto Sans JP", system-ui, sans-serif;
  --font-mono:       "Roboto Mono", "Space Mono", monospace;

  /* --- Type Scale --- */
  --fs-display: clamp(2.8rem, 6.5vw, 5.8rem);
  --fs-h1:      clamp(1.9rem, 3.4vw, 3.0rem);
  --fs-h2:      clamp(1.5rem, 2.4vw, 2.1rem);
  --fs-h3:      clamp(1.2rem, 1.7vw, 1.45rem);
  --fs-body:    clamp(1.0rem, 1.05vw, 1.06rem);
  --fs-small:   0.875rem;
  --fs-mono:    0.95rem;
  --lh-tight:   1.2;
  --lh-body:    1.8;

  /* --- Spacing (8px base) --- */
  --sp-1:  4px;   --sp-2:  8px;   --sp-3:  12px;  --sp-4:  16px;
  --sp-5:  24px;  --sp-6:  32px;  --sp-7:  48px;  --sp-8:  64px;
  --sp-9:  96px;  --sp-10: 128px; --sp-11: 160px;
  --section-y:       clamp(64px, 9vw, 160px);
  --container:       1200px;
  --container-narrow:760px;
  --gutter:          clamp(20px, 5vw, 64px);

  /* --- Radius --- */
  --radius-0:  0px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  /* --- Shadows --- */
  --shadow-none: none;
  --shadow-hair: 0 0 0 1px var(--c-line);
  --shadow-sm:   0 1px 2px rgba(16,25,32,.06);
  --shadow-md:   0 6px 24px rgba(16,25,32,.08);

  /* --- Motion --- */
  --ease-precise: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast:  140ms;
  --dur-base:  280ms;
  --dur-slow:  600ms;
}

/* =============================================================================
 * 2. RESET & BASE
 * ============================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  overflow-x: hidden;
  padding-bottom: 56px; /* sticky bar height */
}

img, picture, video { display: block; max-width: 100%; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { color: var(--c-accent-hover); }
ul, ol { list-style: none; }

/* Reduced motion — 全アニメ停止 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-inner { animation: none !important; }
}

/* =============================================================================
 * 3. LAYOUT UTILITIES
 * ============================================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--steel    { background-color: var(--c-steel); color: var(--c-steel-ink); }
.section--sunken   { background-color: var(--c-bg-sunken); }
.section--elevated { background-color: var(--c-bg-elevated); }

.hairline { border: none; border-top: 1px solid var(--c-line); }

/* =============================================================================
 * 4. TYPOGRAPHY
 * ============================================================================= */
h2, .h2 {
  font-family: var(--font-display-ja);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  color: var(--c-ink-strong);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

h3, .h3 {
  font-family: var(--font-display-ja);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-ink-strong);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.mono { font-family: var(--font-mono); font-size: var(--fs-mono); }
.prose { max-width: 640px; }

/* =============================================================================
 * 5. NAVIGATION
 * ============================================================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
  height: 60px;
  display: flex;
  align-items: center;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-nav__logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
  text-decoration: none;
}

.site-nav__logo-en {
  font-family: var(--font-display-en);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-ink-strong);
}

.site-nav__logo-ja {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--c-ink-muted);
  letter-spacing: 0.03em;
}

.site-nav__links {
  display: none;
  gap: var(--sp-6);
  align-items: center;
}

@media (min-width: 768px) {
  .site-nav__links { display: flex; }
}

.site-nav__links a {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-precise);
  white-space: nowrap;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] { color: var(--c-accent); }

.site-nav__cta {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  color: #FFFFFF;
  background-color: var(--c-accent);
  border: none;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-precise);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

.site-nav__cta:hover { background-color: var(--c-accent-hover); color: #FFFFFF; }

.site-nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 768px) { .site-nav__hamburger { display: none; } }

.site-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--c-ink);
  border-radius: 1px;
  transition: transform var(--dur-base) var(--ease-precise),
              opacity  var(--dur-base) var(--ease-precise);
}

.site-nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav__drawer {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background-color: var(--c-bg-elevated);
  border-bottom: 1px solid var(--c-line);
  padding: var(--sp-5) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--dur-base) var(--ease-precise),
              opacity  var(--dur-base) var(--ease-precise);
  z-index: 99;
}

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

.site-nav__drawer a {
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--c-ink);
  padding-block: var(--sp-2);
  border-bottom: 1px solid var(--c-line);
}

/* =============================================================================
 * 6. HERO — シネマティック全画面
 * ============================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: clamp(600px, 100vh, 1080px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--c-steel);
}

/* ヒーロー背景写真コンテナ */
.hero__photo {
  position: absolute;
  inset: 0;
  background-color: var(--c-steel);
  z-index: 0;
  overflow: hidden;
}

/* ヒーロー背景img（eager + fetchpriority=high で LCP 最優先） */
.hero__photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.66) saturate(0.85);
}

/* グラデーションオーバーレイ（左側は文字可読のため濃いめ／右側は明るく写真を見せる） */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(28, 37, 48, 0.78) 0%,
    rgba(28, 37, 48, 0.42) 55%,
    rgba(28, 37, 48, 0.12) 100%
  );
  z-index: 2;
}

.hero__inner {
  position: relative;
  z-index: 3;
  padding-block: clamp(80px, 14vh, 160px);
  padding-inline: var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
}

/* Eyebrow */
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  font-family: var(--font-display-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-metal);
  margin-bottom: var(--sp-6);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s var(--ease-precise), transform 0.7s var(--ease-precise);
}

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

.hero__eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--c-metal);
  flex-shrink: 0;
}

/* Headline — スタッガー行単位 */
.hero__headline {
  display: flex;
  flex-direction: column;
  gap: 0.05em;
  margin-bottom: var(--sp-6);
}

.hero__headline-line {
  display: block;
  font-family: var(--font-display-ja);
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-shadow: 0 2px 18px rgba(11,13,16,0.55);
  /* 1文字折り返し防止: 日本語見出しは word-break: keep-all */
  word-break: keep-all;
  overflow-wrap: anywhere;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-precise), transform 0.8s var(--ease-precise);
}

.hero__headline-line.is-visible { opacity: 1; transform: translateY(0); }

.hero__headline-accent {
  color: var(--c-accent);
  /* チタンブルー差し色 — 1行のみ */
}

/* Sub */
.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.1vw, 1.05rem);
  color: rgba(199,205,212,0.85);
  max-width: 36em;
  line-height: var(--lh-body);
  margin-bottom: var(--sp-7);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s 0.4s var(--ease-precise), transform 0.8s 0.4s var(--ease-precise);
}

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

/* Spec row */
.hero__spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  margin-bottom: var(--sp-8);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.8s 0.55s var(--ease-precise), transform 0.8s 0.55s var(--ease-precise);
}

.hero__spec-row.is-visible { opacity: 1; transform: translateY(0); }

.hero__spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__spec-value {
  font-family: var(--font-display-en);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.01em;
}

.hero__spec-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--c-metal);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.hero__spec-label small {
  font-size: 0.62rem;
  opacity: 0.7;
}

.hero__spec-divider {
  width: 1px;
  background: rgba(184,190,196,0.3);
  align-self: stretch;
  margin-block: 2px;
}

/* Actions */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: flex-start;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.8s 0.7s var(--ease-precise), transform 0.8s 0.7s var(--ease-precise);
}

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

/* 360px以下: ボタンを縦積み */
@media (max-width: 400px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    text-align: center;
    justify-content: center;
  }
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: clamp(28px, 4vh, 48px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollHint 2.4s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0.8; transform: translateX(-50%) translateY(6px); }
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--c-metal), transparent);
}

.hero__scroll-label {
  font-family: var(--font-display-en);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-metal);
}

/* =============================================================================
 * 7. BUTTONS
 * ============================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-6);
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background-color var(--dur-fast) var(--ease-precise),
              color var(--dur-fast) var(--ease-precise),
              box-shadow var(--dur-fast) var(--ease-precise);
  white-space: nowrap;
  line-height: 1.4;
}

.btn--primary {
  background-color: var(--c-accent);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background-color: var(--c-accent-hover);
  color: #FFFFFF;
  box-shadow: 0 8px 28px rgba(45,108,162,.28);
}

.btn--ghost {
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.4);
}

.btn--ghost:hover {
  background-color: rgba(255,255,255,0.08);
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.7);
}

.btn--outline {
  background-color: transparent;
  color: var(--c-accent);
  border: 1px solid var(--c-accent);
}

.btn--outline:hover {
  background-color: var(--c-accent-weak);
  color: var(--c-accent-hover);
}

.btn--lg {
  font-size: var(--fs-body);
  padding: var(--sp-4) var(--sp-7);
}

.btn--sm {
  font-size: 0.8rem;
  padding: var(--sp-2) var(--sp-5);
}

.btn__arrow {
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease-precise);
}

.btn:hover .btn__arrow { transform: translateX(4px); }

/* =============================================================================
 * 8. SECTION HEADERS
 * ============================================================================= */
.section-header { margin-bottom: var(--sp-8); }

.section-header__label {
  font-family: var(--font-display-en);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-accent);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.section-header__label::after {
  content: "";
  display: block;
  flex: 1;
  max-width: 40px;
  height: 1px;
  background-color: var(--c-accent);
  opacity: 0.5;
}

.section-header__title { margin-bottom: var(--sp-4); }

.section-header__desc {
  color: var(--c-ink-muted);
  max-width: 560px;
  line-height: var(--lh-body);
}

/* =============================================================================
 * 9. MARQUEE
 * ============================================================================= */
.marquee-wrap {
  background-color: var(--c-steel);
  border-top: 1px solid rgba(184,190,196,.12);
  border-bottom: 1px solid rgba(184,190,196,.12);
  padding-block: 14px;
  overflow: hidden;
}

.marquee-track { overflow: hidden; }

.marquee-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  white-space: nowrap;
  animation: marqueeScroll 36s linear infinite;
  width: max-content;
}

.marquee-inner span {
  font-family: var(--font-display-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-metal);
}

.marquee-dot {
  display: inline-block;
  width: 3px !important;
  height: 3px !important;
  border-radius: 50%;
  background-color: var(--c-accent) !important;
  flex-shrink: 0;
}

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

/* =============================================================================
 * 10. GATEWAY BENTO
 * ============================================================================= */
.gateway-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 480px) {
  .gateway-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .gateway-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
  }

  .gateway-bento__item--large {
    grid-column: span 2;
  }

  .gateway-bento__item--open {
    grid-column: span 1;
  }
}

.gateway-bento__item { min-height: 220px; }

.gateway-card-v2 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  background-color: var(--c-steel);
  /* マイクロインタラクション */
  transition: transform var(--dur-base) var(--ease-precise),
              box-shadow var(--dur-base) var(--ease-precise);
}

.gateway-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.25);
}

.gateway-card-v2__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* img 要素での背景写真 */
.gateway-card-v2__bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--dur-slow) var(--ease-precise),
              filter var(--dur-slow) var(--ease-precise);
  filter: brightness(0.72) saturate(0.9);
}

.gateway-card-v2:hover .gateway-card-v2__bg-img {
  transform: scale(1.05);
  filter: brightness(0.82) saturate(0.95);
}

.gateway-card-v2__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11,13,16,0.82) 0%,
    rgba(11,13,16,0.24) 52%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.gateway-card-v2__body {
  position: relative;
  z-index: 2;
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.gateway-card-v2__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: var(--font-display-en);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  background-color: var(--c-accent);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  line-height: 1.6;
  margin-bottom: var(--sp-1);
}

.gateway-card-v2__industry-tag {
  font-family: var(--font-display-en);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-metal);
}

.gateway-card-v2__title {
  font-family: var(--font-display-ja);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.2;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.gateway-card-v2__sub {
  font-size: var(--fs-small);
  color: rgba(199,205,212,0.85);
  line-height: 1.5;
}

.gateway-card-v2__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display-en);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  margin-top: var(--sp-3);
  transition: color var(--dur-fast) var(--ease-precise),
              gap var(--dur-fast) var(--ease-precise);
}

.gateway-card-v2:hover .gateway-card-v2__cta {
  color: #FFFFFF;
  gap: 10px;
}

/* その他カード */
.gateway-card-v2--open {
  background-color: var(--c-accent-weak);
  border: 1px solid var(--c-accent);
  justify-content: center;
}

.gateway-card-v2--open:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(45,108,162,.20);
}

.gateway-note {
  margin-top: var(--sp-6);
  font-size: var(--fs-small);
  color: var(--c-ink-faint);
}

/* =============================================================================
 * 11. SPEC BENTO (Material Science)
 * ============================================================================= */
.spec-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--c-line);
  border: 1px solid var(--c-line);
}

@media (min-width: 480px) {
  .spec-bento { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .spec-bento {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.spec-bento__cell {
  position: relative;
  background-color: var(--c-bg-elevated);
  padding: var(--sp-7) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  overflow: hidden;
}

.spec-bento__cell--feature {
  /* 大きいセル: フィーチャースタイル */
  background-color: var(--c-steel);
}

.spec-bento__cell--feature .spec-bento__value { color: #FFFFFF; }
.spec-bento__cell--feature .spec-bento__label { color: var(--c-metal); }
.spec-bento__cell--feature .spec-bento__desc  { color: var(--c-steel-ink); }
.spec-bento__cell--feature .spec-bento__note  { color: rgba(184,190,196,.5); }
.spec-bento__cell--feature .spec-bento__deco  { color: var(--c-accent); }

/* SVGドローオン装飾 */
.spec-bento__deco {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  width: 80px;
  height: 80px;
  color: var(--c-line);
  opacity: 0.6;
  pointer-events: none;
}

.spec-bento__cell--feature .spec-bento__deco { opacity: 0.4; }

/* ドローオン SVG パス */
.draw-on {
  transition: stroke-dashoffset 1.2s var(--ease-precise);
}

.spec-bento__cell.is-visible .draw-on {
  stroke-dashoffset: 0 !important;
}

.spec-bento__content { position: relative; z-index: 1; }

.spec-bento__value {
  font-family: var(--font-display-en);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--c-ink-strong);
  line-height: 1;
  letter-spacing: -0.02em;
}

.spec-bento__label {
  font-family: var(--font-display-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
}

.spec-bento__desc {
  font-size: var(--fs-small);
  color: var(--c-ink-muted);
  line-height: 1.6;
  max-width: 28ch;
}

.spec-bento__note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--c-ink-faint);
}

/* =============================================================================
 * 12. FEATURE ROW (交互配置)
 * ============================================================================= */
.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: center;
}

@media (min-width: 768px) {
  .feature-row { grid-template-columns: 1fr 1fr; }
  .feature-row--reverse .feature-row__visual { order: -1; }
}

.feature-row__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--c-bg-sunken);
}

.feature-row__visual img,
.feature-row__visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* CSS/SVGフォールバック (画像の後ろ) */
.feature-row__visual-svg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  /* フォールバックとして常に表示 */
  display: block;
  min-height: 100%;
}

.feature-row__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.feature-row__label {
  font-family: var(--font-display-en);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.feature-row__title {
  font-family: var(--font-display-ja);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-ink-strong);
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.feature-row__desc {
  color: var(--c-ink-muted);
  line-height: var(--lh-body);
}

.feature-row__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.feature-row__list-item {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: var(--fs-small);
  color: var(--c-ink);
  line-height: 1.6;
}

.feature-row__list-item::before {
  content: "";
  display: block;
  width: 1px;
  height: 1em;
  background-color: var(--c-accent);
  flex-shrink: 0;
  margin-top: 0.25em;
}

/* =============================================================================
 * 13. EQUIPMENT CARDS
 * ============================================================================= */
.equip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 480px) { .equip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .equip-grid { grid-template-columns: repeat(3, 1fr); } }

.equip-card {
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  background-color: var(--c-bg-elevated);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-precise),
              transform var(--dur-base) var(--ease-precise);
}

.equip-card:hover {
  border-color: var(--c-line-strong);
  transform: translateY(-2px);
}

.equip-card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--c-steel);
}

.equip-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-precise);
  z-index: 1;
}

.equip-card:hover .equip-card__img { transform: scale(1.04); }

.equip-card__img-fallback {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.equip-card__body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.equip-card__name {
  font-family: var(--font-display-ja);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--c-ink-strong);
}

.equip-card__spec {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--c-accent);
  letter-spacing: 0.02em;
}

.equip-card__desc {
  font-size: var(--fs-small);
  color: var(--c-ink-muted);
  line-height: 1.6;
  margin-top: var(--sp-2);
}

/* =============================================================================
 * 14. SCROLL STORYTELLING (ケーススタディ)
 * ============================================================================= */
.storytelling {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  margin-top: var(--sp-8);
}

@media (min-width: 900px) {
  .storytelling {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-10);
    align-items: start;
  }
}

.storytelling__sticky {
  position: relative;
}

@media (min-width: 900px) {
  .storytelling__sticky {
    position: sticky;
    top: 100px;
  }
}

.storytelling__visual {
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--c-bg-elevated);
  aspect-ratio: 4 / 3;
}

.storytelling__svg {
  width: 100%;
  height: 100%;
}

/* SVGパスのドローオン */
.storytelling__path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.0s var(--ease-precise);
}

.storytelling__path.is-drawn { stroke-dashoffset: 0; }

.storytelling__text-el {
  opacity: 0;
  transition: opacity 0.6s var(--ease-precise);
}

.storytelling__text-el.is-visible { opacity: 1; }

/* ステップインジケーター */
.storytelling__steps {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: var(--sp-4);
}

.storytelling__step {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--c-line-strong);
  transition: background-color var(--dur-base) var(--ease-precise),
              transform var(--dur-base) var(--ease-precise);
  cursor: default;
}

.storytelling__step.is-active {
  background-color: var(--c-accent);
  transform: scale(1.4);
}

/* スクロールコンテンツ */
.storytelling__scroll {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}

.storytelling__step-content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-7) 0;
  border-top: 1px solid var(--c-line);
  transition: opacity var(--dur-slow) var(--ease-precise);
}

.storytelling__step-content:first-child { border-top: none; padding-top: 0; }

.storytelling__step-label {
  font-family: var(--font-display-en);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.storytelling__step-title {
  font-family: var(--font-display-ja);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--c-ink-strong);
  line-height: 1.3;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.storytelling__step-desc {
  color: var(--c-ink-muted);
  line-height: var(--lh-body);
  font-size: var(--fs-small);
}

.storytelling__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* =============================================================================
 * 15. TAG
 * ============================================================================= */
.tag {
  font-family: var(--font-display-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  white-space: nowrap;
}

/* =============================================================================
 * 16. INDUSTRY LIST (業界詳細)
 * ============================================================================= */
.ind-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--c-line);
}

.ind-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  padding-block: var(--sp-7);
  border-bottom: 1px solid var(--c-line);
  transition: background-color var(--dur-fast) var(--ease-precise);
}

@media (min-width: 768px) {
  .ind-item {
    grid-template-columns: 180px 1fr;
    gap: var(--sp-8);
    align-items: start;
  }
}

.ind-item:hover { background-color: rgba(45,108,162,.03); }

.ind-item__label {
  font-family: var(--font-display-en);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-faint);
  padding-top: 4px;
}

.ind-item__body { display: flex; flex-direction: column; gap: var(--sp-4); }

.ind-item__title {
  font-family: var(--font-display-ja);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--c-ink-strong);
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.ind-item__desc {
  color: var(--c-ink-muted);
  line-height: var(--lh-body);
  font-size: var(--fs-small);
  max-width: 640px;
  overflow-wrap: anywhere;
}

/* =============================================================================
 * 17. OPEN CTA (業界一覧末尾)
 * ============================================================================= */
.open-cta {
  margin-top: var(--sp-8);
  padding: clamp(var(--sp-7), 8vw, var(--sp-9)) clamp(var(--sp-5), 6vw, var(--sp-7));
  background-color: var(--c-bg-elevated);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}

.open-cta__title {
  font-family: var(--font-display-ja);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--c-ink-strong);
  line-height: 1.4;
}

.open-cta__desc {
  color: var(--c-ink-muted);
  font-size: var(--fs-small);
  line-height: var(--lh-body);
  max-width: 520px;
}

/* =============================================================================
 * 18. COMPANY
 * ============================================================================= */
.company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

.company-dl {
  display: grid;
  gap: var(--sp-4);
}

.company-dl__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--sp-3);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(199,205,212,.15);
  align-items: baseline;
}

@media (min-width: 480px) {
  .company-dl__row { grid-template-columns: 110px 1fr; gap: var(--sp-4); }
}

.company-dl__row dt {
  font-family: var(--font-display-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-metal);
  padding-top: 2px;
}

.company-dl__row dd {
  color: var(--c-steel-ink);
  font-size: var(--fs-small);
  line-height: 1.7;
}

.company-dl__en {
  font-family: var(--font-display-en);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--c-metal);
  display: block;
  margin-top: 2px;
}

.company-dl__mono {
  /* FAX番号: 数値のみなので等幅OK */
  font-family: var(--font-mono);
  font-size: var(--fs-body);
  color: var(--c-steel-ink);
  letter-spacing: 0.02em;
}

.company-dl__note {
  display: block;
  font-size: 0.7rem;
  color: var(--c-ink-faint);
  font-style: italic;
  margin-top: 2px;
}

.company-tel {
  font-family: var(--font-display-en);
  font-size: 1.2rem;
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.company-tel:hover { color: var(--c-accent); }

/* =============================================================================
 * 19. CONTACT / FORM
 * ============================================================================= */
.contact-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-9);
  align-items: start;
}

@media (min-width: 768px) {
  .contact-split { grid-template-columns: 5fr 7fr; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.contact-info__title {
  font-family: var(--font-display-ja);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--c-ink-strong);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.contact-info__desc {
  color: var(--c-ink-muted);
  line-height: var(--lh-body);
  font-size: var(--fs-small);
}

.contact-info__row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  background-color: var(--c-bg-elevated);
}

.contact-info__row-label {
  font-family: var(--font-display-en);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-ink-faint);
}

.contact-info__row-value {
  font-family: var(--font-display-en);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--c-ink-strong);
  text-decoration: none;
  letter-spacing: -0.01em;
}

a.contact-info__row-value:hover { color: var(--c-accent); }

.contact-info__row-note {
  font-size: var(--fs-small);
  color: var(--c-ink-faint);
  line-height: 1.5;
}

/* Form */
.contact-form {
  background-color: var(--c-bg-elevated);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: clamp(var(--sp-5), 5vw, var(--sp-7));
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.form-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-success);
  background-color: rgba(47,125,91,.08);
  border: 1px solid rgba(47,125,91,.25);
  border-radius: var(--radius-sm);
  padding: 3px 10px;
  align-self: flex-start;
}

.form-badge::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--c-success);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.3); opacity: 0.7; }
}

.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 480px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-label {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--c-ink);
}

.form-label .required { color: var(--c-danger); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--c-ink);
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-4);
  transition: border-color var(--dur-fast) var(--ease-precise),
              box-shadow  var(--dur-fast) var(--ease-precise);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(45,108,162,.15);
}

.form-input[aria-invalid="true"],
.form-select[aria-invalid="true"],
.form-textarea[aria-invalid="true"] { border-color: var(--c-danger); }

.form-error {
  display: block;
  margin-top: var(--sp-2);
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--c-danger);
}

.form-error[hidden] { display: none; }

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: var(--lh-body);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235B636C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-note {
  font-size: 0.78rem;
  color: var(--c-ink-faint);
  line-height: 1.5;
}

/* Honeypot */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Form Success */
.form-success {
  padding: var(--sp-8) var(--sp-7);
  background-color: var(--c-bg-elevated);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-5);
  outline: none;
}

.form-success__icon { color: var(--c-success); }

.form-success__title {
  font-family: var(--font-display-ja);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--c-ink-strong);
  line-height: 1.3;
}

.form-success__desc {
  font-size: var(--fs-small);
  color: var(--c-ink-muted);
  line-height: var(--lh-body);
}

/* =============================================================================
 * 20. STICKY CONTACT BAR
 * ============================================================================= */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background-color: var(--c-steel);
  border-top: 1px solid rgba(199,205,212,.15);
  padding: var(--sp-3) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: 56px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.22);
}

.sticky-bar__text {
  font-size: var(--fs-small);
  color: var(--c-steel-ink);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-bar__text strong { font-weight: 500; color: #FFFFFF; }
.sticky-bar__sub { display: none; }

@media (min-width: 480px) { .sticky-bar__sub { display: inline; } }
@media (max-width: 400px) { .sticky-bar__text { display: none; } }

.sticky-bar__actions {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
  flex-shrink: 0;
}

.sticky-bar__btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-precise);
}

.sticky-bar__btn--primary { background-color: var(--c-accent); color: #FFFFFF; }
.sticky-bar__btn--primary:hover { background-color: var(--c-accent-hover); color: #FFFFFF; }

.sticky-bar__btn--tel {
  color: var(--c-steel-ink);
  border: 1px solid rgba(199,205,212,.3);
  background-color: transparent;
}

.sticky-bar__btn--tel:hover { color: #FFFFFF; border-color: rgba(199,205,212,.6); }

/* =============================================================================
 * 21. FOOTER
 * ============================================================================= */
.site-footer {
  background-color: var(--c-steel);
  color: var(--c-steel-ink);
  padding-block: var(--sp-10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand { display: flex; flex-direction: column; gap: var(--sp-4); }

.footer-brand__logo-en {
  font-family: var(--font-display-en);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}

.footer-brand__logo-ja {
  font-size: var(--fs-small);
  color: var(--c-metal);
  line-height: 1.5;
}

.footer-brand__address {
  font-size: var(--fs-small);
  color: var(--c-metal);
  line-height: 1.8;
  font-style: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.footer-brand__address .placeholder-note {
  font-size: 0.7rem;
  color: var(--c-ink-faint);
  font-style: italic;
}

.footer-nav__title {
  font-family: var(--font-display-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-metal);
  margin-bottom: var(--sp-4);
}

.footer-nav ul { display: flex; flex-direction: column; gap: var(--sp-3); }

.footer-nav ul a {
  font-size: var(--fs-small);
  color: var(--c-steel-ink);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-precise);
}

.footer-nav ul a:hover { color: #FFFFFF; }

.footer-bottom {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(199,205,212,.15);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  align-items: center;
}

.footer-bottom__copy { font-size: 0.72rem; color: var(--c-metal); }
.footer-bottom__links { display: flex; gap: var(--sp-5); }

.footer-bottom__pp-link {
  font-size: 0.72rem;
  color: var(--c-metal);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-precise);
}

.footer-bottom__pp-link:hover { color: #FFFFFF; }

/* =============================================================================
 * 22. SCROLL REVEAL
 * ============================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-slow) var(--ease-precise),
              transform var(--dur-slow) var(--ease-precise);
}

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

.reveal-group > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-slow) var(--ease-precise),
              transform var(--dur-slow) var(--ease-precise);
}

.reveal-group.is-visible > *:nth-child(1)  { transition-delay:   0ms; }
.reveal-group.is-visible > *:nth-child(2)  { transition-delay:  80ms; }
.reveal-group.is-visible > *:nth-child(3)  { transition-delay: 160ms; }
.reveal-group.is-visible > *:nth-child(4)  { transition-delay: 240ms; }
.reveal-group.is-visible > *:nth-child(5)  { transition-delay: 320ms; }
.reveal-group.is-visible > *:nth-child(6)  { transition-delay: 400ms; }
.reveal-group.is-visible > *:nth-child(7)  { transition-delay: 480ms; }
.reveal-group.is-visible > *:nth-child(8)  { transition-delay: 560ms; }
.reveal-group.is-visible > *:nth-child(9)  { transition-delay: 640ms; }
.reveal-group.is-visible > *:nth-child(10) { transition-delay: 720ms; }

.reveal-group.is-visible > * { opacity: 1; transform: translateY(0); }

/* =============================================================================
 * 23. UTILITIES
 * ============================================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

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

[id] { scroll-margin-top: 80px; }
