/* SEIKATSUFIX — warm graphite + amber charge · battery dock */
:root {
  --sx-graphite: #2B2A28;
  --sx-graphite-deep: #1F1E1C;
  --sx-graphite-mid: #3D3B38;
  --sx-stone: #E8E2D6;
  --sx-amber: #E09A3E;
  --sx-ice: #F7F5F1;
  --sx-cobalt: #3A5F8A;
  --sx-coral: #D9785F;
  --sx-muted: #7A756C;
  --sx-ink: #2B2A28;
  --sx-white: #FFFFFF;
  --sx-amber-soft: rgba(224, 154, 62, 0.16);
  --sx-radius: 4px;
  --sx-dock-h: 72px;
  --sx-mast-h: 56px;
  --sx-font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --sx-display: "Sora", "Noto Sans JP", sans-serif;
  --sx-ease: cubic-bezier(.22, .8, .28, 1);
  --sx-shadow: 0 18px 48px rgba(43, 42, 40, 0.12);
  /* aliases for shared components */
  --sx-slate: var(--sx-graphite);
  --sx-slate-deep: var(--sx-graphite-deep);
  --sx-slate-mid: var(--sx-graphite-mid);
  --sx-mint: var(--sx-amber);
  --sx-cyan: var(--sx-cobalt);
  --sx-cool: var(--sx-stone);
  --sx-gray: var(--sx-muted);
  --sx-mist: var(--sx-stone);
  --sx-paper: var(--sx-ice);
  --sx-mint-soft: var(--sx-amber-soft);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body.sx-site {
  margin: 0;
  font-family: var(--sx-font);
  color: var(--sx-ink);
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(224, 154, 62, 0.1), transparent 55%),
    radial-gradient(900px 480px at 100% 18%, rgba(58, 95, 138, 0.07), transparent 50%),
    linear-gradient(180deg, var(--sx-ice) 0%, var(--sx-stone) 100%);
  line-height: 1.7;
  padding-top: var(--sx-mast-h);
  padding-bottom: calc(var(--sx-dock-h) + env(safe-area-inset-bottom, 0px) + 12px);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
h1, h2, h3, b, strong { font-family: var(--sx-display); font-weight: 700; letter-spacing: -0.02em; }
h1 i, h2 i, h3 i { font-style: normal; color: var(--sx-cobalt); }

.sx-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--sx-graphite);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.sx-skip:focus { left: 0.5rem; top: 0.5rem; }

.sx-shell {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

/* —— Mast —— */
.sx-mast {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--sx-mast-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.2rem;
  background: rgba(247, 245, 241, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43, 42, 40, 0.08);
}
.sx-mast__link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.sx-mast__cell {
  width: 18px;
  height: 28px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--sx-amber), var(--sx-coral));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}
.sx-mast__text { display: flex; flex-direction: column; line-height: 1.15; }
.sx-mast__text b {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  color: var(--sx-graphite);
}
.sx-mast__text small {
  font-size: 0.68rem;
  color: var(--sx-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.sx-mast__tag {
  margin: 0;
  font-size: 0.78rem;
  color: var(--sx-muted);
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .sx-mast__tag { display: none; }
}

/* —— Battery segment dock —— */
.sx-dock {
  position: fixed;
  left: 50%;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 50;
  width: min(720px, calc(100% - 1.2rem));
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: stretch;
  padding: 0.45rem 0.5rem 0.45rem 0.55rem;
  background: var(--sx-graphite-deep);
  border: 1px solid rgba(232, 226, 214, 0.22);
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(31, 30, 28, 0.4);
}
.sx-dock__meter {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 46px;
  padding: 0.2rem 0.15rem;
  border-right: 1px solid rgba(232, 226, 214, 0.16);
}
.sx-dock__pct {
  font-family: var(--sx-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sx-amber);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.sx-dock__cap {
  width: 10px;
  height: 4px;
  border-radius: 1px 2px 2px 1px;
  background: var(--sx-stone);
  opacity: 0.7;
}
.sx-dock__pack {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
  min-width: 0;
}
.sx-dock__cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.35rem 0.2rem;
  border-radius: 5px;
  border: 1px solid rgba(232, 226, 214, 0.18);
  background: rgba(61, 59, 56, 0.55);
  overflow: hidden;
  transition: border-color 0.25s var(--sx-ease), transform 0.25s var(--sx-ease);
}
.sx-dock__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(224, 154, 62, 0.22), rgba(217, 120, 95, 0.08));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--sx-ease);
  pointer-events: none;
}
.sx-dock__cell.is-filled .sx-dock__fill {
  transform: scaleY(1);
  background: linear-gradient(180deg, rgba(224, 154, 62, 0.4), rgba(217, 120, 95, 0.16));
}
.sx-dock__cell.is-active {
  border-color: var(--sx-amber);
  box-shadow: inset 0 0 0 1px rgba(224, 154, 62, 0.35);
}
.sx-dock__cell.is-active .sx-dock__fill {
  background: linear-gradient(180deg, rgba(224, 154, 62, 0.58), rgba(217, 120, 95, 0.28));
}
.sx-dock__label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  text-align: center;
  line-height: 1.2;
}
.sx-dock__label small {
  font-family: var(--sx-display);
  font-size: 0.58rem;
  color: var(--sx-muted);
  letter-spacing: 0.08em;
}
.sx-dock__label strong {
  font-family: var(--sx-font);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--sx-stone);
  letter-spacing: 0.02em;
}
.sx-dock__cell.is-filled .sx-dock__label strong,
.sx-dock__cell.is-active .sx-dock__label strong {
  color: var(--sx-white);
}
.sx-dock__cell.is-active .sx-dock__label small {
  color: var(--sx-amber);
}
.sx-dock__cell:hover {
  transform: translateY(-1px);
  border-color: rgba(224, 154, 62, 0.45);
}
.sx-dock__caption { display: none; }

@media (max-width: 560px) {
  :root { --sx-dock-h: 68px; }
  .sx-dock {
    width: calc(100% - 0.8rem);
    padding: 0.35rem 0.4rem;
    gap: 0.35rem;
  }
  .sx-dock__meter { min-width: 38px; }
  .sx-dock__pct { font-size: 0.64rem; }
  .sx-dock__cell { min-height: 48px; padding: 0.25rem 0.1rem; }
  .sx-dock__label strong {
    font-size: 0.58rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .sx-dock__label small { font-size: 0.52rem; }
}

/* —— Shared UI —— */
.sx-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sx-cobalt);
  font-weight: 500;
}
.sx-accent {
  display: block;
  width: 42px;
  height: 2px;
  margin: 0.85rem 0 1.1rem;
  background: linear-gradient(90deg, var(--sx-amber), var(--sx-coral));
}
.sx-heading { margin: 0 0 1.8rem; }
.sx-heading--tight { margin-top: 3.2rem; }
.sx-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.25;
  color: var(--sx-graphite);
}
.sx-section { padding: 4.5rem 0 1rem; }

.sx-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.25rem;
  background: var(--sx-graphite);
  color: #fff;
  border-radius: var(--sx-radius);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: background 0.25s var(--sx-ease), transform 0.25s var(--sx-ease);
}
.sx-btn span { color: var(--sx-amber); }
.sx-btn:hover { background: var(--sx-graphite-deep); transform: translateY(-1px); }
.sx-link {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--sx-graphite);
  font-weight: 500;
  border-bottom: 1px solid rgba(224, 154, 62, 0.55);
  padding-bottom: 0.1rem;
}
.sx-link:hover { color: var(--sx-cobalt); }

.sx-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--sx-ease), transform 0.7s var(--sx-ease);
}
.sx-reveal.sx-visible,
.js .sx-reveal.sx-visible,
html.js .sx-reveal.sx-visible {
  opacity: 1;
  transform: none;
}
.no-js .sx-reveal { opacity: 1; transform: none; }

/* —— Hero: charge-rail carousel —— */
.sx-hero {
  position: relative;
  min-height: calc(100svh - var(--sx-mast-h) - 1rem);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: stretch;
  overflow: hidden;
  background: var(--sx-graphite-deep);
  color: #fff;
}
.sx-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  background:
    linear-gradient(115deg, rgba(31, 30, 28, 0.96) 0%, rgba(43, 42, 40, 0.88) 55%, rgba(43, 42, 40, 0.35) 100%);
}
.sx-hero__loc {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--sx-amber);
}
.sx-hero h1 { margin: 0; }
.sx-hero__brand {
  display: block;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
}
.sx-hero__lead {
  margin: 1.1rem 0 0.5rem;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 500;
  color: var(--sx-stone);
}
.sx-hero__sub {
  margin: 0 0 1.6rem;
  max-width: 28rem;
  color: rgba(232, 226, 214, 0.82);
  font-size: 0.95rem;
}
.sx-hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.sx-hero__ghost {
  color: var(--sx-stone);
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(224, 154, 62, 0.45);
  padding-bottom: 0.15rem;
}
.sx-hero__ghost:hover { color: #fff; }

.sx-hero__stage {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.sx-hero__slides { position: absolute; inset: 0; }
.sx-hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s var(--sx-ease), transform 1.1s var(--sx-ease);
}
.sx-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.sx-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sx-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(31, 30, 28, 0.55) 0%, transparent 35%),
    linear-gradient(0deg, rgba(31, 30, 28, 0.45) 0%, transparent 40%);
}
.sx-hero__rail {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 3;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  overflow: hidden;
}
.sx-hero__rail-fill {
  display: block;
  height: 100%;
  width: 33.333%;
  background: linear-gradient(90deg, var(--sx-amber), var(--sx-coral));
  transform-origin: left;
  transition: transform 0.55s var(--sx-ease);
}

.sx-hero__pager {
  position: absolute;
  left: clamp(2rem, 5vw, 4.5rem);
  bottom: 1.6rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.sx-hero__tick {
  appearance: none;
  border: 1px solid rgba(232, 226, 214, 0.35);
  background: rgba(31, 30, 28, 0.45);
  color: var(--sx-stone);
  width: 40px;
  height: 32px;
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--sx-display);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.sx-hero__tick.is-active {
  border-color: var(--sx-amber);
  color: #fff;
  background: rgba(224, 154, 62, 0.2);
}
.sx-hero__index {
  margin-left: 0.5rem;
  font-family: var(--sx-display);
  font-size: 0.72rem;
  color: var(--sx-muted);
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .sx-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .sx-hero__stage { min-height: 52vw; max-height: 420px; order: -1; }
  .sx-hero__copy { padding-bottom: 4.5rem; }
  .sx-hero__pager { left: 1.2rem; bottom: auto; top: calc(52vw - 3.2rem); }
  .sx-hero__rail { display: none; }
}
@media (max-width: 560px) {
  .sx-hero__stage { min-height: 58vw; }
  .sx-hero__pager { top: calc(58vw - 3rem); }
}

/* —— 2 · Battery charge cells —— */
.sx-cells {
  padding: 3.8rem 0 2rem;
}
.sx-cells__pack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.sx-cell {
  display: grid;
  gap: 1rem;
  padding: 1.15rem 1.05rem 1.25rem;
  background: var(--sx-graphite);
  color: var(--sx-stone);
  border-radius: 8px;
  border: 1px solid rgba(232, 226, 214, 0.12);
}
.sx-cell__battery {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.sx-cell__body {
  flex: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0.28rem;
  height: 36px;
  padding: 0.35rem;
  border: 1.5px solid rgba(232, 226, 214, 0.35);
  border-radius: 5px;
  background: rgba(31, 30, 28, 0.65);
}
.sx-cell__seg {
  display: block;
  border-radius: 2px;
  background: rgba(232, 226, 214, 0.12);
  transform: scaleY(0.15);
  transform-origin: bottom;
  transition: transform 0.55s var(--sx-ease), background 0.45s var(--sx-ease);
}
.sx-cell__seg.is-on {
  transform: scaleY(1);
  background: linear-gradient(180deg, var(--sx-amber), var(--sx-coral));
}
.sx-cell__nub {
  width: 6px;
  height: 16px;
  border-radius: 0 2px 2px 0;
  background: rgba(232, 226, 214, 0.45);
}
.sx-cell__value {
  margin: 0;
  font-family: var(--sx-display);
  font-size: 1.55rem;
  color: #fff;
  line-height: 1.1;
}
.sx-cell__label {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--sx-stone);
}
.sx-cell__pct {
  margin: 0.45rem 0 0;
  font-family: var(--sx-display);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sx-amber);
}
@media (max-width: 900px) {
  .sx-cells__pack { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .sx-cells__pack { grid-template-columns: 1fr; }
}

/* —— 3 · Spec sheet —— */
.sx-specs {
  padding: 2.5rem 0 1rem;
}
.sx-specs__table {
  border: 1px solid rgba(43, 42, 40, 0.12);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}
.sx-specs__head,
.sx-specs__row {
  display: grid;
  grid-template-columns: 0.85fr 0.95fr 1.6fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.15rem;
}
.sx-specs__head {
  background: var(--sx-graphite);
  color: var(--sx-stone);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sx-specs__row {
  border-top: 1px solid rgba(43, 42, 40, 0.08);
  transition: background 0.25s var(--sx-ease);
}
.sx-specs__row:hover {
  background: rgba(224, 154, 62, 0.06);
}
.sx-specs__key {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--sx-muted);
}
.sx-specs__key em {
  font-family: var(--sx-display);
  font-style: normal;
  font-size: 0.72rem;
  color: var(--sx-amber);
  letter-spacing: 0.08em;
}
.sx-specs__val {
  font-size: 1.02rem;
  color: var(--sx-graphite);
  font-weight: 700;
}
.sx-specs__detail {
  margin: 0;
  font-size: 0.9rem;
  color: var(--sx-graphite-mid);
}
@media (max-width: 720px) {
  .sx-specs__head { display: none; }
  .sx-specs__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1.15rem 1rem;
  }
  .sx-specs__val { color: var(--sx-cobalt); }
}

/* —— 4 · Product families snap carousel —— */
.sx-families { padding-top: 3.5rem; }
.sx-snap {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 340px);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(1.2rem, calc((100% - 1120px) / 2 + 1.2rem));
  padding: 0.25rem max(1.2rem, calc((100% - 1120px) / 2 + 1.2rem)) 1.2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--sx-amber) transparent;
}
.sx-snap__card {
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(43, 42, 40, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sx-snap__card figure {
  margin: 0;
  aspect-ratio: 5/4;
  overflow: hidden;
  background: var(--sx-stone);
}
.sx-snap__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--sx-ease);
}
.sx-snap__card:hover img { transform: scale(1.04); }
.sx-snap__body {
  padding: 1rem 1.05rem 1.2rem;
  display: grid;
  gap: 0.45rem;
}
.sx-snap__body h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--sx-graphite);
}
.sx-snap__body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--sx-graphite-mid);
}

.sx-chip {
  display: inline-flex;
  width: fit-content;
  padding: 0.22rem 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  border-radius: 2px;
}
.sx-chip--amber {
  background: var(--sx-amber-soft);
  color: #9a6420;
}
.sx-chip--coral {
  background: rgba(217, 120, 95, 0.16);
  color: #a14d3a;
}
.sx-chip--cobalt {
  background: rgba(58, 95, 138, 0.14);
  color: var(--sx-cobalt);
}

.sx-arrival-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(43, 42, 40, 0.12);
}
.sx-arrival-list__row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(43, 42, 40, 0.1);
}
.sx-arrival-list__row figure {
  margin: 0;
  width: 72px;
  height: 72px;
  overflow: hidden;
  background: var(--sx-stone);
}
.sx-arrival-list__row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sx-arrival-list__row h3 {
  margin: 0 0 0.15rem;
  font-size: 1rem;
  color: var(--sx-graphite);
}
.sx-arrival-list__row p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--sx-muted);
}
.sx-arrival-list__row b {
  font-size: 0.95rem;
  color: var(--sx-cobalt);
  white-space: nowrap;
}
.sx-families__cta { margin: 2rem 0 0; text-align: center; }

@media (max-width: 520px) {
  .sx-arrival-list__row {
    grid-template-columns: 56px 1fr;
  }
  .sx-arrival-list__row b {
    grid-column: 2;
  }
  .sx-arrival-list__row figure {
    width: 56px;
    height: 56px;
  }
}

/* —— 5 · Connector flowchart —— */
.sx-flow__track {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.sx-flow__node {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.75rem;
  padding: 0 0.85rem;
}
.sx-flow__num {
  font-family: var(--sx-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--sx-amber);
}
.sx-flow__pin {
  position: relative;
  display: flex;
  align-items: center;
  height: 18px;
}
.sx-flow__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sx-amber);
  box-shadow: 0 0 0 4px rgba(224, 154, 62, 0.18);
  flex-shrink: 0;
  z-index: 1;
}
.sx-flow__wire {
  position: absolute;
  left: 14px;
  right: -0.85rem;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--sx-amber), var(--sx-cobalt));
  opacity: 0.55;
  transform: translateY(-50%);
}
.sx-flow__copy h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: var(--sx-graphite);
}
.sx-flow__copy p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--sx-graphite-mid);
}
.sx-flow__shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  min-height: 280px;
  background: var(--sx-graphite);
}
.sx-flow__shot img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  opacity: 0.92;
}
.sx-flow__shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.3rem 1.4rem;
  background: linear-gradient(0deg, rgba(31, 30, 28, 0.9), transparent);
  color: #fff;
}
.sx-flow__shot strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .sx-flow__track {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .sx-flow__node {
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto;
    column-gap: 0.9rem;
    padding: 0 0 1.4rem;
  }
  .sx-flow__num {
    grid-column: 2;
    grid-row: 1;
  }
  .sx-flow__pin {
    grid-column: 1;
    grid-row: 1 / 3;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: flex-start;
    padding-top: 0.2rem;
  }
  .sx-flow__wire {
    left: 50%;
    right: auto;
    top: 14px;
    bottom: -1.4rem;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--sx-amber), var(--sx-cobalt));
  }
  .sx-flow__copy {
    grid-column: 2;
    grid-row: 2;
  }
}

/* —— 6 · Spec Q&A rows —— */
.sx-qa__sheet {
  border: 1px solid rgba(43, 42, 40, 0.12);
  background: rgba(255, 255, 255, 0.58);
}
.sx-qa__row {
  border-bottom: 1px solid rgba(43, 42, 40, 0.1);
}
.sx-qa__row:last-child { border-bottom: 0; }
.sx-qa__row summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 56px 1fr 28px;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem 1.1rem;
  font-weight: 500;
  color: var(--sx-graphite);
  transition: background 0.2s;
}
.sx-qa__row summary::-webkit-details-marker { display: none; }
.sx-qa__row summary:hover {
  background: rgba(224, 154, 62, 0.06);
}
.sx-qa__id {
  font-family: var(--sx-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--sx-amber);
}
.sx-qa__q { font-size: 0.95rem; line-height: 1.45; }
.sx-qa__toggle {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--sx-cobalt);
  position: relative;
  justify-self: end;
}
.sx-qa__toggle::before,
.sx-qa__toggle::after {
  content: "";
  position: absolute;
  background: var(--sx-cobalt);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.sx-qa__toggle::before { width: 10px; height: 1.5px; }
.sx-qa__toggle::after { width: 1.5px; height: 10px; transition: opacity 0.2s; }
.sx-qa__row[open] .sx-qa__toggle::after { opacity: 0; }
.sx-qa__row[open] summary {
  background: var(--sx-graphite);
  color: #fff;
}
.sx-qa__row[open] .sx-qa__id { color: var(--sx-amber); }
.sx-qa__row[open] .sx-qa__toggle { border-color: var(--sx-amber); }
.sx-qa__row[open] .sx-qa__toggle::before { background: var(--sx-amber); }
.sx-qa__a {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.75rem;
  padding: 0 1.1rem 1.15rem;
  background: rgba(232, 226, 214, 0.35);
  border-top: 1px dashed rgba(43, 42, 40, 0.12);
}
.sx-qa__aid {
  padding-top: 0.85rem;
  font-family: var(--sx-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--sx-coral);
}
.sx-qa__a p {
  margin: 0;
  padding-top: 0.75rem;
  font-size: 0.92rem;
  color: var(--sx-graphite-mid);
}
@media (max-width: 560px) {
  .sx-qa__row summary,
  .sx-qa__a {
    grid-template-columns: 42px 1fr 22px;
  }
  .sx-qa__a { grid-template-columns: 42px 1fr; }
}

/* —— CTA —— */
.sx-cta {
  margin: 3.5rem 0 1rem;
  padding: 0 1.2rem;
}
.sx-cta__inner {
  padding: clamp(2.2rem, 5vw, 3.5rem);
  background:
    linear-gradient(135deg, rgba(43, 42, 40, 0.97), rgba(31, 30, 28, 0.99)),
    radial-gradient(600px 300px at 90% 10%, rgba(224, 154, 62, 0.22), transparent 60%);
  color: #fff;
  border-radius: 10px;
}
.sx-cta__inner h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.25;
}
.sx-cta__inner > p { color: var(--sx-stone); max-width: 28rem; }
.sx-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-top: 1.4rem;
}
.sx-cta .sx-btn {
  background: var(--sx-amber);
  color: var(--sx-graphite-deep);
}
.sx-cta .sx-btn span { color: var(--sx-graphite); }
.sx-cta .sx-hero__ghost { color: var(--sx-stone); }
.sx-cta .sx-kicker { color: var(--sx-amber); }

/* —— Footer —— */
.sx-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: var(--sx-graphite-deep);
  color: var(--sx-stone);
}
.sx-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 0.8fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(232, 226, 214, 0.14);
}
.sx-footer__logo {
  display: inline-block;
  font-family: var(--sx-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 0.5rem;
}
.sx-footer__jp { color: var(--sx-muted); font-size: 0.85rem; }
.sx-footer address b {
  display: block;
  color: var(--sx-amber);
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
.sx-footer address a:hover { color: var(--sx-amber); }
.sx-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.sx-footer nav a:hover { color: var(--sx-amber); }
.sx-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  font-size: 0.78rem;
  color: var(--sx-muted);
}
@media (max-width: 800px) {
  .sx-footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* —— Inner pages —— */
.sx-page-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  padding: 4rem 1.2rem 2.5rem;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(31, 30, 28, 0.92), rgba(43, 42, 40, 0.55)),
    var(--image) center / cover no-repeat;
}
.sx-page-hero > div { width: min(1120px, 100%); margin-inline: auto; }
.sx-page-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
}
.sx-page-hero p:last-child {
  margin: 0;
  max-width: 36rem;
  color: var(--sx-stone);
}

.sx-service-list { padding: 3rem 0; }
.sx-service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(43, 42, 40, 0.1);
}
.sx-service-row:nth-child(even) { direction: rtl; }
.sx-service-row:nth-child(even) > * { direction: ltr; }
.sx-service-row figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 6/5;
  background: var(--sx-stone);
}
.sx-service-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sx-service-row h2 {
  margin: 0 0 0.2rem;
  font-size: 1.8rem;
  color: var(--sx-graphite);
}
.sx-service-row p {
  margin: 0 0 0.7rem;
  color: var(--sx-graphite-mid);
}
.sx-service-row small {
  display: block;
  color: var(--sx-muted);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
@media (max-width: 800px) {
  .sx-service-row,
  .sx-service-row:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

.sx-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.sx-three article {
  padding: 1.4rem 1.2rem;
  background: rgba(255, 255, 255, 0.7);
  border-left: 2px solid var(--sx-amber);
}
.sx-three span {
  display: block;
  font-family: var(--sx-display);
  font-size: 0.72rem;
  color: var(--sx-cobalt);
  letter-spacing: 0.1em;
  margin-bottom: 0.55rem;
}
.sx-three h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--sx-graphite);
}
.sx-three p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--sx-graphite-mid);
}
@media (max-width: 800px) {
  .sx-three { grid-template-columns: 1fr; }
}

.sx-editorial {
  width: min(820px, calc(100% - 2.4rem));
  margin: 3rem auto 2rem;
}
.sx-editorial h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--sx-graphite);
  line-height: 1.2;
}
.sx-editorial > p {
  color: var(--sx-graphite-mid);
  max-width: 36rem;
}

.sx-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  min-height: 420px;
  margin-bottom: 2rem;
}
.sx-feature--flip .sx-feature__image { order: 2; }
.sx-feature__image { margin: 0; overflow: hidden; }
.sx-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}
.sx-feature__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.72);
}
.sx-feature__copy h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--sx-graphite);
  line-height: 1.3;
}
.sx-feature__copy p {
  margin: 0;
  color: var(--sx-graphite-mid);
}
@media (max-width: 800px) {
  .sx-feature,
  .sx-feature--flip {
    grid-template-columns: 1fr;
  }
  .sx-feature--flip .sx-feature__image { order: 0; }
}

.sx-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.sx-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(43, 42, 40, 0.07);
  padding: 0.7rem 0.7rem 1.1rem;
}
.sx-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: var(--sx-stone);
}
.sx-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sx-card small {
  color: var(--sx-cobalt);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.sx-card h3 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1.02rem;
  color: var(--sx-graphite);
  line-height: 1.35;
}
.sx-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--sx-graphite-mid);
}
@media (max-width: 900px) {
  .sx-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sx-cards { grid-template-columns: 1fr; }
}

.sx-about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 70vh;
}
.sx-about__image { margin: 0; overflow: hidden; }
.sx-about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}
.sx-about__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.8rem, 5vw, 3.5rem);
  background: rgba(255, 255, 255, 0.65);
}
.sx-about__copy h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--sx-graphite);
  line-height: 1.2;
}
.sx-about__copy p {
  margin: 0;
  color: var(--sx-graphite-mid);
  max-width: 28rem;
}
.sx-manifesto {
  margin: 0.5rem 0 0;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  line-height: 1.55;
  color: var(--sx-graphite);
  font-family: var(--sx-display);
  font-weight: 600;
}
@media (max-width: 800px) {
  .sx-about { grid-template-columns: 1fr; }
}

.sx-contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
}
.sx-contact h2 {
  margin: 0 0 0.2rem;
  color: var(--sx-graphite);
}
.sx-contact address p { margin: 0 0 1rem; color: var(--sx-graphite-mid); }
.sx-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.sx-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--sx-graphite);
}
.sx-form .sx-wide { grid-column: 1 / -1; }
.sx-form input,
.sx-form select,
.sx-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(43, 42, 40, 0.18);
  border-radius: var(--sx-radius);
  background: #fff;
  font: inherit;
  color: var(--sx-ink);
}
.sx-form input:focus,
.sx-form select:focus,
.sx-form textarea:focus {
  outline: 2px solid rgba(224, 154, 62, 0.45);
  border-color: var(--sx-amber);
}
.sx-form label span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sx-success {
  padding: 1.4rem;
  background: var(--sx-amber-soft);
  border: 1px solid rgba(224, 154, 62, 0.35);
}
.sx-success h3 { margin: 0 0 0.4rem; color: var(--sx-graphite); }
.sx-success p { margin: 0; color: var(--sx-graphite-mid); }
@media (max-width: 800px) {
  .sx-contact { grid-template-columns: 1fr; }
  .sx-form { grid-template-columns: 1fr; }
}

.sx-not-found {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1.2rem;
}
.sx-not-found b {
  display: block;
  font-size: 4rem;
  color: var(--sx-amber);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.sx-not-found h1 {
  margin: 0.4rem 0 0.8rem;
  color: var(--sx-graphite);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  line-height: 1.3;
}
.sx-not-found p { color: var(--sx-graphite-mid); }
.sx-not-found .sx-btn { margin-top: 1.2rem; }
