/* =====================================================================
 * TiRACING — Design System
 *
 * メイン       : #231815 (リッチブラック)
 * アクセント   : #e60012 (レーシングレッド)
 * ベース       : #ffffff / #f4f4f4
 * 欧文         : Barlow Condensed (DIN代替・モータースポーツ感)
 * 日本語       : Noto Sans JP
 * Mono         : JetBrains Mono
 * ===================================================================== */

/* ----- Tokens ----- */
:root {
  --ink: #0c0a0a;
  --ink-2: #231815;
  --ink-3: #2c2725;
  --paper: #ffffff;
  --paper-2: #f4f4f4;
  --paper-3: #ebe9e6;
  --line: rgba(35, 24, 21, 0.12);
  --line-2: rgba(35, 24, 21, 0.22);
  --mute: rgba(35, 24, 21, 0.6);
  --red: #e60012;
  --red-deep: #b3000e;
  --gold: #c8a55b;

  --font-jp: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Barlow Condensed", "DIN Next", Impact, "Arial Narrow Bold", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 2px;
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.4,.0,.2,1);
}

/* ----- Reset / Base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--ink-2);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease), opacity .2s var(--ease); }
a:hover { color: var(--red); }
button { font: inherit; cursor: pointer; }
em { font-style: normal; color: var(--red); }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }

.screen-reader-text { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 16px; top: 16px; width: auto; height: auto; padding: 10px 16px; background: var(--ink); color: var(--paper); z-index: 1000; }

.container { width: 100%; max-width: var(--container); padding-inline: var(--gutter); margin-inline: auto; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================================================================
 * Header
 * ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px var(--gutter);
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 38px; width: auto; }
.brand-text { font-family: var(--font-en); font-weight: 900; font-size: 28px; letter-spacing: -1px; color: var(--ink-2); }

.site-nav { display: flex; gap: 28px; justify-content: center; }
.site-nav a {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.site-nav a:hover::after, .site-nav a.current-menu-item::after { transform: scaleX(1); }

.site-header__right { display: flex; align-items: center; gap: 18px; }
.header-tel { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--font-en); }
.header-tel__lbl { font-size: 11px; letter-spacing: 0.14em; color: var(--mute); }
.header-tel__num { font-size: 22px; font-weight: 700; color: var(--ink-2); letter-spacing: -0.5px; }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  background: var(--ink-2); color: var(--paper) !important;
  font-family: var(--font-en); font-weight: 700; font-size: 14px;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.header-cta:hover { background: var(--red); transform: translateY(-1px); }
.header-cta svg { width: 12px; height: 12px; }

/* Nav toggle (mobile) */
.nav-toggle { display: none; width: 40px; height: 40px; padding: 8px; background: none; border: 1px solid var(--line); border-radius: 2px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink-2); margin: 5px 0; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .site-nav, .header-tel { display: none; }
  .nav-toggle { display: block; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 75;
  background: var(--ink); color: var(--paper);
  padding: 120px 28px 32px;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  overflow-y: auto;
}
.nav-open .mobile-menu { transform: translateX(0); }
.mobile-menu__inner { max-width: 480px; margin-inline: auto; }
.mobile-menu-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; border-top: 1px solid rgba(255,255,255,0.1); }
.mobile-menu-list li { border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-menu-list a {
  display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 16px;
  padding: 22px 4px;
  color: var(--paper) !important;
  font-family: var(--font-jp); font-weight: 600;
}
.mobile-menu-list a .num { font-family: var(--font-en); font-size: 14px; color: var(--red); letter-spacing: 0.12em; }
.mobile-menu-list a .lbl { font-size: 20px; }
.mobile-menu-list a:hover { background: rgba(230,0,18,0.08); }
.mobile-menu__meta { margin-top: 32px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.mobile-menu__meta .header-tel { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__meta .header-tel__num { color: var(--paper); font-size: 32px; }
.mobile-menu__meta .header-tel__lbl { color: rgba(255,255,255,0.5); }
.mobile-menu__hours { margin-top: 12px; color: rgba(255,255,255,0.6); font-size: 13px; font-family: var(--font-mono); }

body.nav-open { overflow: hidden; }

/* =====================================================================
 * Hero
 * ===================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
  padding: 120px 0 80px;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.hero__slide.is-active { opacity: 0.55; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(230,0,18,0.18), transparent 60%),
    linear-gradient(180deg, rgba(10,8,8,0.7) 0%, rgba(10,8,8,0.4) 50%, rgba(10,8,8,0.9) 100%);
  pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
}
.hero__noise {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 2; max-width: 1200px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--red); }

.hero__title {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(42px, 8vw, 128px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-top: 24px;
  color: var(--paper);
}
.hero__title-row { display: block; overflow: hidden; }
.hero__title em { color: var(--red); font-style: normal; }

.hero__lead {
  max-width: 640px;
  margin-top: 28px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.9;
  color: rgba(255,255,255,0.78);
}
.hero__cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero__meta {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.hero__meta-item { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 1px; height: 60px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}
.hero__scroll span {
  position: absolute; left: -1px; top: 0; width: 3px; height: 30px;
  background: var(--red);
  animation: scroll-down 2.4s var(--ease) infinite;
}
@keyframes scroll-down { 0% { top: -30px; } 100% { top: 60px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 32px;
  font-family: var(--font-en); font-weight: 700; font-size: 15px;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 13px; height: 13px; }
.btn-primary { background: var(--red); color: var(--paper) !important; border-color: var(--red); }
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-2px); color: var(--paper) !important; }
.btn-ghost { background: transparent; color: var(--paper) !important; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: var(--paper); color: var(--ink-2) !important; border-color: var(--paper); transform: translateY(-2px); }
/* Light-section variant */
section:not(.hero):not(.cta-band):not(.demo) .btn-ghost { color: var(--ink-2) !important; border-color: var(--line-2); }
section:not(.hero):not(.cta-band):not(.demo) .btn-ghost:hover { background: var(--ink-2); color: var(--paper) !important; border-color: var(--ink-2); }

/* =====================================================================
 * Marquee
 * ===================================================================== */
.marquee { background: var(--ink); color: var(--paper); padding: 22px 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
.marquee__track { display: flex; align-items: center; gap: 28px; white-space: nowrap; animation: marquee 60s linear infinite; }
.marquee__item { font-family: var(--font-en); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; }
.marquee__sep { color: var(--red); font-size: 10px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

/* =====================================================================
 * Sections / Generic
 * ===================================================================== */
.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 60px;
  max-width: 880px;
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow,
.section-head--center .kicker { justify-self: center; }
.section-head--row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; max-width: none; }
.section-head--row .section-lead { max-width: 600px; }

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
}
.section-title {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.section-title em { color: var(--red); }
.section-lead { color: var(--mute); font-size: 15px; line-height: 2; max-width: 720px; }

section { padding: clamp(80px, 12vw, 140px) 0; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-weight: 700; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px solid var(--ink-2);
  transition: gap .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow:hover { gap: 16px; color: var(--red); border-color: var(--red); }
.link-arrow svg { width: 12px; height: 12px; }
.link-arrow--lg { font-size: 16px; }

/* =====================================================================
 * Counter / Best time
 * ===================================================================== */
.counter { background: var(--paper-2); }
.counter__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--ink-2);
  background: var(--ink-2);
}
.counter__cell {
  background: var(--paper);
  padding: 40px 32px 32px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.counter__cell::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease) .2s;
}
.counter__cell.is-in::before { transform: scaleX(1); }
.counter__track { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.counter__car { font-family: var(--font-en); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; color: var(--ink-2); }
.counter__time { font-family: var(--font-en); font-weight: 900; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.02em; color: var(--ink-2); line-height: 1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.counter__date { font-family: var(--font-mono); font-size: 11px; color: var(--red); margin-top: 4px; letter-spacing: 0.08em; }

@media (max-width: 900px) {
  .counter__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .counter__grid { grid-template-columns: 1fr; }
}

/* =====================================================================
 * Concept
 * ===================================================================== */
.concept__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.concept__visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--ink-2);
  overflow: hidden;
}
.concept__visual img, .concept__placeholder {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.2) contrast(1.05);
}
.concept__placeholder { display: flex; align-items: center; justify-content: center; opacity: 0.3; padding: 60px; }
.concept__visual::after {
  content: ""; position: absolute; left: -1px; bottom: -1px; width: 40%; height: 6px; background: var(--red);
}
.concept__visual-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 24px 28px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7));
  color: var(--paper);
}
.concept__visual-no { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: rgba(255,255,255,0.7); }
.concept__visual-name { font-family: var(--font-en); font-weight: 700; font-size: 20px; letter-spacing: 0.04em; }
.concept__visual-name small { font-size: 11px; opacity: 0.7; letter-spacing: 0.1em; }

.concept__lead { font-size: 18px; line-height: 2; color: var(--ink-2); margin-top: 28px; }
.concept__body { color: var(--mute); margin-top: 16px; }
.concept .link-arrow { margin-top: 24px; }

@media (max-width: 900px) {
  .concept__grid { grid-template-columns: 1fr; }
}

/* =====================================================================
 * Features (3 columns)
 * ===================================================================== */
.features { background: var(--paper-2); position: relative; }
.features::before {
  content: ""; position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, var(--ink-2) 0 1px, transparent 1px 8px);
}
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); background: var(--paper); }
.feature-card {
  padding: 56px 40px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .25s var(--ease);
}
.feature-card:last-child { border-right: 0; }
.feature-card:hover { background: var(--paper-2); }
.feature-card__no {
  display: block;
  font-family: var(--font-en); font-weight: 700; font-size: 14px;
  letter-spacing: 0.16em; color: var(--red);
}
.feature-card__icon { display: block; width: 64px; height: 64px; color: var(--ink-2); margin: 24px 0 28px; }
.feature-card__title { font-size: 22px; font-weight: 700; color: var(--ink-2); margin-bottom: 14px; }
.feature-card__desc { color: var(--mute); font-size: 14px; line-height: 1.95; margin: 0; }

@media (max-width: 900px) {
  .features__grid { grid-template-columns: 1fr; }
  .feature-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-card:last-child { border-bottom: 0; }
}

/* =====================================================================
 * Services (4 cards)
 * ===================================================================== */
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--ink-2); }
.service-card {
  display: block;
  background: var(--paper);
  padding: 44px 40px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--ink-2) !important;
  overflow: hidden;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.service-card:nth-child(2n) { border-right: 0; }
.service-card:nth-last-child(-n+2) { border-bottom: 0; }
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: var(--ink-2);
  transform: translateY(100%);
  transition: transform .45s var(--ease);
  z-index: 0;
}
.service-card:hover { color: var(--paper) !important; }
.service-card:hover::before { transform: translateY(0); }
.service-card > * { position: relative; z-index: 1; }
.service-card__num {
  display: inline-block;
  font-family: var(--font-en); font-weight: 700; font-size: 14px;
  letter-spacing: 0.16em; color: var(--red);
}
.service-card__title { font-size: 26px; font-weight: 700; margin: 14px 0 14px; max-width: 16ch; }
.service-card__desc { font-size: 14px; line-height: 1.95; opacity: 0.78; margin-bottom: 24px; max-width: 50ch; }
.service-card__price {
  display: inline-block;
  font-family: var(--font-en); font-size: 14px; letter-spacing: 0.06em;
  padding: 8px 14px;
  background: var(--paper-2); color: var(--ink-2);
  border-radius: 2px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.service-card:hover .service-card__price { background: var(--red); color: var(--paper); }
.service-card__arrow {
  position: absolute; right: 36px; bottom: 36px;
  font-family: var(--font-en); font-size: 28px; color: var(--red);
  transition: transform .35s var(--ease);
}
.service-card:hover .service-card__arrow { transform: translate(6px, -6px); color: var(--paper); }

@media (max-width: 800px) {
  .services__grid { grid-template-columns: 1fr; }
  .service-card { border-right: 0; }
  .service-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 0; }
}

/* =====================================================================
 * Works
 * ===================================================================== */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.work-card { background: var(--paper); }
.work-card__link { display: block; color: inherit !important; }
.work-card__media {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--ink-2);
  background-size: cover; background-position: center;
  overflow: hidden;
}
.work-card__media.is-placeholder::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, var(--ink-2), var(--ink-3));
}
.work-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4));
  opacity: 0; transition: opacity .35s var(--ease);
}
.work-card__link:hover .work-card__media::after { opacity: 1; }
.work-card__badge {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 12px;
  background: var(--red); color: var(--paper);
  font-family: var(--font-en); font-weight: 700; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.work-card__plus {
  position: absolute; right: 18px; bottom: 18px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); color: var(--ink-2);
  font-size: 24px; line-height: 1; font-weight: 300;
  border-radius: 50%;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 2;
}
.work-card__link:hover .work-card__plus { opacity: 1; transform: translateY(0); }
.work-card__body { padding: 20px 4px 0; }
.work-card__type { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--red); text-transform: uppercase; }
.work-card__title { font-size: 18px; font-weight: 700; margin: 8px 0 8px; line-height: 1.5; }
.work-card__summary { font-size: 13px; color: var(--mute); margin: 0; }

@media (max-width: 900px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .works-grid { grid-template-columns: 1fr; } }

/* Works filter */
.works-filter__bar { display: flex; flex-wrap: wrap; gap: 24px; padding: 20px 0; border-block: 1px solid var(--line); margin-bottom: 40px; }
.works-filter__group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.works-filter__lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); margin-right: 4px; }
.filter-chip {
  padding: 8px 14px; background: var(--paper); border: 1px solid var(--line-2);
  font-family: var(--font-en); font-weight: 600; font-size: 12px; letter-spacing: 0.08em;
  color: var(--ink-2);
  border-radius: 999px;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-chip:hover, .filter-chip.is-active { background: var(--ink-2); color: var(--paper); border-color: var(--ink-2); }
.works-grid--filterable { grid-template-columns: repeat(3, 1fr); }
.works-item.is-hidden { display: none; }

/* =====================================================================
 * Demo (dark)
 * ===================================================================== */
.demo { background: var(--ink); color: var(--paper); position: relative; }
.demo .kicker { color: var(--red); }
.demo .section-title { color: var(--paper); }
.demo .section-lead { color: rgba(255,255,255,0.6); }
.demo__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
/* 件数別の最適化 — 少ない件数のときに横に伸び切らないように上限幅を設定 */
.demo__grid--count-1 { grid-template-columns: minmax(0, 720px); justify-content: center; }
.demo__grid--count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1080px; margin-inline: auto; }
.demo__grid--count-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.demo__grid--count-5,
.demo__grid--count-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.demo__grid--count-7,
.demo__grid--count-8,
.demo__grid--count-9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1200px) {
  .demo__grid--count-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .demo__grid,
  .demo__grid--count-1,
  .demo__grid--count-2,
  .demo__grid--count-4,
  .demo__grid--count-5,
  .demo__grid--count-6,
  .demo__grid--count-7,
  .demo__grid--count-8,
  .demo__grid--count-9 { grid-template-columns: 1fr; max-width: none; }
}
.demo-card { background: var(--ink-2); border: 1px solid rgba(255,255,255,0.08); }
.demo-card__media {
  position: relative; aspect-ratio: 16/10;
  background-color: var(--ink-3); background-size: cover; background-position: center;
}
.demo-card__media.is-placeholder::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 10px);
}
.demo-card__no { position: absolute; top: 14px; left: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: rgba(255,255,255,0.6); }
.demo-card__body { padding: 28px 28px 32px; }
.demo-card__name { font-family: var(--font-en); font-weight: 800; font-size: 24px; letter-spacing: 0.02em; color: var(--paper); }
.demo-card__spec { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--red); margin-top: 6px; }
.demo-card__time { font-family: var(--font-mono); font-size: 13px; color: rgba(255,255,255,0.78); margin-top: 14px; line-height: 1.8; }
.demo__cta { text-align: center; margin-top: 56px; }

@media (max-width: 800px) { .demo__grid { grid-template-columns: 1fr; } }

/* =====================================================================
 * Parts list
 * ===================================================================== */
.parts-preview { background: var(--paper-2); }
.parts-tabs__nav { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--ink-2); margin-bottom: 40px; }
.parts-tabs__btn,
.bt-tabs__btn {
  padding: 18px 28px;
  background: transparent;
  border: 0;
  font-family: var(--font-en); font-weight: 700; font-size: 16px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mute);
  position: relative;
}
.parts-tabs__btn::after,
.bt-tabs__btn::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.parts-tabs__btn:hover { color: var(--ink-2); }
.parts-tabs__btn.is-active,
.bt-tabs__btn.is-active { color: var(--ink-2); }
.parts-tabs__btn.is-active::after,
.bt-tabs__btn.is-active::after { transform: scaleX(1); }

.parts-tabs__panel, .bt-tabs__panel { display: none; }
.parts-tabs__panel.is-active, .bt-tabs__panel.is-active { display: block; }

.parts-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--paper); }
.parts-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
.parts-table thead { background: var(--ink-2); color: var(--paper); }
.parts-table th {
  padding: 16px 20px; text-align: left;
  font-family: var(--font-en); font-weight: 600; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.parts-table td { padding: 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.parts-table tr:last-child td { border-bottom: 0; }
.parts-table__name { width: 32%; }
.parts-table__name strong { font-weight: 700; font-size: 15px; color: var(--ink-2); }
.parts-table__excerpt { font-size: 12px; color: var(--mute); margin: 4px 0 0; }
.parts-table__spec { width: 38%; color: var(--mute); }
.parts-table__spec ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.parts-table__spec li { font-size: 13px; padding-left: 14px; position: relative; }
.parts-table__spec li::before { content: "·"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.parts-table__variants { margin-top: 10px !important; padding-top: 10px !important; border-top: 1px dashed var(--line); }
.parts-table__variants li { display: flex; justify-content: space-between; gap: 12px; padding-left: 14px; }
.parts-table__variants li::before { content: "›"; }
.parts-table__variants .vp { font-family: var(--font-en); color: var(--ink-2); font-weight: 700; }
.parts-table__price { width: 30%; text-align: right; white-space: nowrap; }
.parts-table__price .price-yen { font-family: var(--font-en); font-weight: 700; font-size: 16px; color: var(--red); margin-right: 2px; }
.parts-table__price .price-num { font-family: var(--font-en); font-weight: 900; font-size: 24px; letter-spacing: -0.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.parts-table__price .price-tax { display: inline-block; font-size: 11px; color: var(--mute); margin-left: 6px; font-family: var(--font-mono); letter-spacing: 0.05em; }
.parts-table__price .price-ask { font-family: var(--font-en); font-weight: 700; color: var(--mute); }

.parts-note { color: var(--mute); font-size: 12px; text-align: right; margin-top: 18px; font-family: var(--font-mono); }

/* =====================================================================
 * BASE オンラインショップ導線バナー
 * ===================================================================== */
.tir-base-banner {
  margin-top: 56px;
}
.tir-base-banner a {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 28px 40px;
  background: var(--paper);
  border: 1px solid var(--ink-2);
  color: var(--ink-2) !important;
  position: relative;
  overflow: hidden;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.tir-base-banner a::before {
  content: "";
  position: absolute; top: 0; left: 0; bottom: 0; width: 6px;
  background: var(--red);
  transition: width .3s var(--ease);
}
.tir-base-banner a:hover {
  background: var(--ink-2);
  color: var(--paper) !important;
  transform: translateY(-2px);
}
.tir-base-banner a:hover::before { width: 12px; }
.tir-base-banner a:hover img { filter: invert(1) brightness(1.1); }

.tir-base-banner img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  transition: filter .3s var(--ease);
}
.tir-base-banner__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  border: 2px solid var(--ink-2);
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.12em;
}
.tir-base-banner__text {
  display: block;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
}
.tir-base-banner__text strong {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--red);
  margin: 0 2px;
}
.tir-base-banner a:hover .tir-base-banner__text strong { color: var(--paper); }
.tir-base-banner__text em {
  display: inline-block;
  margin-top: 4px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mute);
  text-transform: uppercase;
}
.tir-base-banner a:hover .tir-base-banner__text em { color: rgba(255,255,255,0.7); }
.tir-base-banner__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper);
  flex-shrink: 0;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.tir-base-banner a:hover .tir-base-banner__arrow {
  background: var(--paper);
  color: var(--red);
  transform: rotate(-12deg) scale(1.08);
}
.tir-base-banner__arrow svg { width: 18px; height: 18px; }

@media (max-width: 700px) {
  .tir-base-banner a {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 22px 24px 30px;
    text-align: center;
    justify-items: center;
  }
  .tir-base-banner img { max-width: 160px; }
  .tir-base-banner__arrow { width: 48px; height: 48px; }
}
.parts-empty { padding: 40px; text-align: center; color: var(--mute); background: var(--paper); border: 1px dashed var(--line-2); }

/* =====================================================================
 * Best Time tabs
 * ===================================================================== */
.bt-tabs__nav { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--ink-2); margin-bottom: 32px; }
.bt-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); font-family: var(--font-en); }
.bt-table thead { background: var(--ink-2); color: var(--paper); }
.bt-table th { padding: 14px 18px; text-align: left; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.bt-table td { padding: 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.bt-table tr:last-child td { border-bottom: 0; }
.bt-table tr.is-top td { background: rgba(230,0,18,0.04); }
.bt-table tr.is-top { position: relative; }
.bt-table__pos { width: 64px; font-weight: 900; font-size: 22px; color: var(--red); letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
.bt-table__car strong { font-weight: 800; font-size: 16px; color: var(--ink-2); }
.bt-table__car span { font-family: var(--font-jp); font-size: 12px; color: var(--mute); }
.bt-table__time { font-weight: 900; font-size: 26px; letter-spacing: -1px; font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.bt-table tr.is-top .bt-table__time { color: var(--red); }
.bt-table__date, .bt-table__driver { font-family: var(--font-mono); font-size: 12px; color: var(--mute); letter-spacing: 0.06em; }

/* =====================================================================
 * News
 * ===================================================================== */
.news { background: var(--paper-2); }
.news__list { list-style: none; padding: 0; margin: 0; }
.news__item { border-bottom: 1px solid var(--line); }
.news__item:first-child { border-top: 1px solid var(--line); }
.news__item a {
  display: grid;
  grid-template-columns: 120px 140px 1fr 30px;
  gap: 24px;
  align-items: center;
  padding: 26px 4px;
  color: var(--ink-2) !important;
  transition: padding .25s var(--ease);
}
.news__item a:hover { padding-left: 16px; background: var(--paper); }
.news__item time { font-family: var(--font-mono); font-size: 13px; color: var(--mute); letter-spacing: 0.08em; }
.news__cat {
  display: inline-block; padding: 4px 10px;
  background: var(--ink-2); color: var(--paper);
  font-family: var(--font-en); font-weight: 600; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.news__title { font-weight: 600; }
.news__arrow { font-family: var(--font-en); color: var(--red); font-size: 20px; opacity: 0; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.news__item a:hover .news__arrow { opacity: 1; transform: translateX(6px); }

@media (max-width: 800px) {
  .news__item a { grid-template-columns: 1fr; gap: 4px; padding: 18px 4px; }
  .news__item a:hover { padding-left: 4px; }
  .news__cat { justify-self: start; }
}

/* =====================================================================
 * CTA Band
 * ===================================================================== */
.cta-band {
  position: relative;
  background: var(--ink-2);
  color: var(--paper);
  text-align: center;
  padding: clamp(100px, 14vw, 180px) 0;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.06; pointer-events: none;
  background-image: repeating-linear-gradient(45deg, var(--paper) 0 1px, transparent 1px 12px);
}
.cta-band .kicker { color: var(--red); }
.cta-band__title { font-family: var(--font-jp); font-weight: 900; font-size: clamp(32px, 5vw, 60px); line-height: 1.25; margin: 14px 0 24px; max-width: 22ch; margin-inline: auto; }
.cta-band__body { color: rgba(255,255,255,0.7); max-width: 640px; margin: 0 auto 36px; line-height: 2; }
.cta-band__actions { display: inline-flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.cta-band .btn-ghost small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; opacity: 0.7; text-transform: uppercase; }
.cta-band .btn-ghost span { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.checker-strip {
  position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background-image:
    repeating-linear-gradient(90deg, var(--paper) 0 16px, var(--red) 16px 32px);
}

/* =====================================================================
 * Footer
 * ===================================================================== */
.site-footer { background: var(--ink); color: var(--paper); padding-top: 80px; position: relative; }
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 60px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: 60px;
}
.footer-col {}
.brand--footer .brand-logo { height: 32px; filter: invert(1) brightness(1.2); }
.brand--footer .brand-text { color: var(--paper); }
.footer-about { color: rgba(255,255,255,0.65); font-size: 13px; line-height: 2; margin-top: 22px; max-width: 38ch; }
.footer-sns { display: flex; gap: 16px; margin-top: 24px; }
.footer-sns a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  font-family: var(--font-en); font-weight: 600; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.8) !important;
  transition: border-color .2s, color .2s, background .2s;
}
.footer-sns a:hover { background: var(--red); color: var(--paper) !important; border-color: var(--red); }
.footer-h { font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: 0.18em; color: var(--red); margin-bottom: 22px; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-nav a { color: rgba(255,255,255,0.75) !important; font-size: 14px; }
.footer-nav a:hover { color: var(--paper) !important; }
.footer-info { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: 13px; }
.footer-info dt { font-family: var(--font-en); font-weight: 600; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); text-transform: uppercase; font-size: 11px; padding-top: 3px; }
.footer-info dd { color: rgba(255,255,255,0.85); margin: 0; }
.footer-info a { color: var(--paper) !important; }
.footer-info a:hover { color: var(--red) !important; }

.site-footer__strip .checker {
  height: 12px;
  background-image: repeating-linear-gradient(90deg, var(--paper) 0 24px, transparent 24px 48px), repeating-linear-gradient(90deg, var(--red) 0 24px, var(--red) 24px 48px);
  background-position: 0 0, 24px 0;
}
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  padding: 22px var(--gutter);
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
.site-footer__bottom .badge { color: var(--red); }

@media (max-width: 900px) {
  .site-footer__top { grid-template-columns: 1fr; gap: 40px; }
}

/* =====================================================================
 * Page Hero (lower pages)
 * ===================================================================== */
.page-hero {
  position: relative;
  background: var(--ink-2); color: var(--paper);
  padding: 180px 0 80px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 50%, black, transparent 80%);
}
.page-hero__inner { position: relative; }
.crumbs { display: flex; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 22px; }
.crumbs a { color: rgba(255,255,255,0.75); }
.crumbs span + span::before { content: "/"; margin-right: 10px; opacity: 0.4; }
.page-hero h1 {
  font-family: var(--font-jp); font-weight: 900;
  font-size: clamp(36px, 6vw, 76px); line-height: 1.1;
  margin-top: 12px;
}
.page-hero h1 em { color: var(--red); }
.page-hero__subtitle { color: rgba(255,255,255,0.7); max-width: 720px; margin-top: 20px; line-height: 2; }

/* =====================================================================
 * Page generic
 * ===================================================================== */
.page-content { padding: clamp(64px, 9vw, 120px) 0; }
.page-content h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 60px 0 22px; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { font-size: 20px; margin: 36px 0 14px; }
.page-content p, .page-content ul, .page-content ol { color: var(--ink-2); font-size: 15px; line-height: 2; }
.page-content ul, .page-content ol { padding-left: 1.5em; }
.page-content blockquote { border-left: 3px solid var(--red); padding-left: 24px; margin: 32px 0; color: var(--mute); font-size: 16px; line-height: 1.9; }

/* About — profile block */
.profile-block {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-top: 60px;
}
.profile-block__visual { position: relative; aspect-ratio: 4/5; background: var(--ink-2); overflow: hidden; }
.profile-block__visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .profile-block { grid-template-columns: 1fr; } }

/* Service detail block */
.svc-detail {
  border-block: 1px solid var(--line);
  padding: 56px 0;
}
.svc-detail + .svc-detail { border-top: 0; }
.svc-detail__grid { display: grid; grid-template-columns: 280px 1fr; gap: 60px; align-items: start; }
.svc-detail__no { font-family: var(--font-en); font-weight: 900; font-size: 80px; line-height: 1; color: var(--red); letter-spacing: -2px; }
.svc-detail__head { font-family: var(--font-mono); font-size: 12px; color: var(--mute); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 12px; }
.svc-detail__title { font-size: 28px; margin: 16px 0 18px; }
.svc-detail__lead { font-size: 16px; line-height: 2; }
.svc-detail__price { display: inline-block; margin-top: 24px; padding: 8px 14px; background: var(--paper-2); font-family: var(--font-en); font-weight: 700; font-size: 14px; color: var(--ink-2); }
@media (max-width: 800px) { .svc-detail__grid { grid-template-columns: 1fr; gap: 24px; } }

/* Contact block */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info dl { display: grid; gap: 16px; }
.contact-info dt { font-family: var(--font-en); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.contact-info dd { font-size: 16px; margin: 0; }
.contact-info dd a { color: var(--red); font-weight: 700; }
.contact-form { background: var(--paper-2); padding: 40px; }
.cf7-placeholder { padding: 32px; background: rgba(230,0,18,0.05); border: 1px dashed var(--red); color: var(--ink-2); font-size: 14px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* Two col content */
.two-col { display: grid; grid-template-columns: 240px 1fr; gap: 60px; }
.two-col .left { position: sticky; top: 100px; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } .two-col .left { position: static; } }

/* Company info dl */
.company-info {
  display: grid;
  grid-template-columns: 220px 1fr;
  border: 1px solid var(--line);
  background: var(--paper);
}
.company-info dt {
  padding: 22px 26px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-en); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2);
}
.company-info dd {
  padding: 22px 26px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px; color: var(--ink-2);
}
.company-info dt:last-of-type, .company-info dd:last-of-type { border-bottom: 0; }
@media (max-width: 700px) {
  .company-info { grid-template-columns: 140px 1fr; }
  .company-info dt, .company-info dd { padding: 16px 18px; }
}

/* 404 */
.error-404 { text-align: center; padding: clamp(120px, 18vw, 200px) 20px; }
.error-404 h1 { font-family: var(--font-en); font-size: clamp(80px, 18vw, 220px); color: var(--red); letter-spacing: -4px; }
.error-404 p { color: var(--mute); margin: 16px 0 32px; }

/* Single news / generic article */
.single-article { padding: 100px 0; }
.single-article__meta { display: flex; gap: 18px; align-items: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--mute); margin-bottom: 16px; }
.single-article h1 { font-size: clamp(28px, 4vw, 48px); line-height: 1.3; margin-bottom: 20px; }

/* Single work */
.single-work-hero { background: var(--ink); color: var(--paper); padding: 160px 0 70px; }
.single-work-hero .kicker { color: var(--red); }
.single-work-hero h1 { font-size: clamp(32px, 4.6vw, 56px); margin-top: 14px; color: var(--paper); }
.work-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: rgba(255,255,255,0.65); }
.work-meta span strong { color: var(--paper); font-weight: 600; letter-spacing: 0.04em; }

/* Image gallery (work post content) */
.work-content img { margin: 16px 0; }

/* =====================================================================
 * Utility
 * ===================================================================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } .mb-5 { margin-bottom: 48px; }
