/* Balanced: diagrams + text supplements + restored media */

:root {
  --bg: #eef4ff;
  --soft: #f0f4ff;
  --ink: #0c1524;
  --mute: #5a6a7e;
  --line: #d5e0f2;
  --line-2: #c8d7e8;
  --blue: #2563eb;
  --blue-d: #1d4ed8;
  --cyan: #0e7490;
  --ice: #eff6ff;
  --act: #ecfdf5;
  --act-ink: #047857;
  --rev: #fff7ed;
  --rev-ink: #c2410c;
  --r: 14px;
  --rl: 20px;
  --shadow: 0 16px 40px rgba(15, 40, 80, 0.08);
  --wrap: 1080px;
  --font: "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

/* Rich ambient background */
.page {
  position: relative;
  isolation: isolate;
  min-height: 100%;
  background: #ffffff;
}

.page-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.1;
  background:
    url("/images/brand/artria-page-background.webp") center top / cover no-repeat;
  mix-blend-mode: multiply;
}

/* Section decorations (mascots / washes) */
.section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.sec-deco {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.section > .wrap {
  position: relative;
  z-index: 1;
}

.sec-deco__img {
  position: absolute;
  width: clamp(160px, 20vw, 280px);
  height: auto;
  opacity: 0.55;
  filter: saturate(1.2) contrast(1.05) drop-shadow(0 12px 30px rgba(0, 0, 0, 0.25));
  user-select: none;
}

.band-white .sec-deco__img {
  opacity: 0.22;
  filter: saturate(1.05);
}

.sec-deco__img--left {
  left: max(-20px, calc((100vw - var(--wrap)) / 2 - 120px));
  bottom: 8%;
  transform: rotate(-6deg);
}

.sec-deco__img--right {
  right: max(-20px, calc((100vw - var(--wrap)) / 2 - 120px));
  top: 12%;
  transform: rotate(8deg);
}

.sec-deco__img--bl {
  left: max(0px, calc((100vw - var(--wrap)) / 2 - 80px));
  bottom: -4%;
  width: clamp(160px, 20vw, 280px);
  opacity: 0.2;
}

.sec-deco__img--br {
  right: max(0px, calc((100vw - var(--wrap)) / 2 - 80px));
  bottom: -2%;
  width: clamp(160px, 20vw, 280px);
  opacity: 0.2;
}

.sec-deco__img--tall {
  top: 10%;
  bottom: auto;
  width: clamp(200px, 28vw, 360px);
  opacity: 0.14;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 80%, transparent);
}

.sec-deco__wash {
  position: absolute;
  inset: auto -5% -10% auto;
  width: min(55vw, 620px);
  opacity: 0.22;
  filter: blur(0.5px);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
}

.sec-deco__wash--soft {
  inset: -5% auto auto -8%;
  width: min(60vw, 700px);
  opacity: 0.18;
  transform: scaleX(-1);
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

/* Alternating bands: white ↔ deep cool */
.band-white {
  background: #ffffff;
  color: var(--ink);
}

.band-deep {
  color: var(--ink);
  background:
    radial-gradient(ellipse 55% 70% at 8% 30%, rgba(30, 64, 175, 0.55), transparent 58%),
    radial-gradient(ellipse 50% 60% at 95% 60%, rgba(49, 46, 129, 0.5), transparent 55%),
    radial-gradient(ellipse 40% 45% at 50% 100%, rgba(14, 116, 144, 0.35), transparent 55%),
    linear-gradient(165deg, #1e3a6e 0%, #243f87 28%, #2a4a9a 55%, #1d4a7a 78%, #163a68 100%);
}

/* deep 帯上の見出し・本文は白寄りにしてコントラスト確保 */
.band-deep .eyebrow {
  color: #93c5fd;
}

.band-deep h2,
.band-deep .lede,
.band-deep .diagram-caption {
  color: #f1f5ff;
}

.band-deep .lede {
  color: #c7d7f5;
}

.band-deep .diagram-caption {
  color: #a8bde8;
}

/* deep 上のカードは明るく浮かせる */
.band-deep .diagram,
.band-deep .detail,
.band-deep .start-notes li,
.band-deep .voice,
.band-deep .support-card,
.band-deep .x-follow,
.band-deep .soon,
.band-deep .photo-diagram,
.band-deep .service-action {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 40px rgba(5, 15, 40, 0.28);
}

.band-deep .voice,
.band-deep .support-card h3,
.band-deep .x-follow h3,
.band-deep .soon h3,
.band-deep .start-notes b {
  color: var(--ink);
}

.band-deep .voice p,
.band-deep .support-card p:not(.tag),
.band-deep .x-follow p:not(.tag),
.band-deep .start-notes p,
.band-deep .soon li {
  color: var(--mute);
}

.section--soft {
  background: #ffffff;
}

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.lede {
  margin: 14px 0 24px;
  max-width: 640px;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.9;
}

.tag {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pill {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--blue-d);
  font-size: 12px;
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  transition: 0.15s transform, 0.15s background, 0.15s border-color, 0.15s box-shadow;
  white-space: nowrap;
  cursor: pointer;
}

.btn--sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

.btn--lg {
  min-height: 52px;
  padding: 0 22px;
  font-size: 15px;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.25);
}

.btn--primary:hover {
  background: var(--blue-d);
  transform: translateY(-1px);
}

.btn--secondary {
  background: #fff;
  border-color: var(--line-2);
  color: var(--ink);
}

.btn--secondary:hover {
  background: var(--soft);
}

.btn--text {
  min-height: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--mute);
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
}

.btn--text:hover {
  color: var(--ink);
  transform: none;
}

.btn--discord {
  background: #5865f2;
  color: #fff;
  box-shadow: 0 8px 22px rgba(88, 101, 242, 0.28);
}

.btn--discord:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.support-card .btn--discord {
  margin-top: 14px;
}

.btn--x {
  align-self: flex-start;
  width: auto;
  min-height: 40px;
  padding: 0 14px;
  gap: 7px;
  border-radius: 999px;
  background: #0f1419;
  color: #fff;
  box-shadow: none;
}

.btn--x:hover {
  background: #1a2028;
  transform: none;
}

.x-logo {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.cta-row--center {
  justify-content: center;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 60px;
  padding: 0 max(16px, calc((100vw - var(--wrap)) / 2));
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(1.2);
}

.header.is-on {
  border-bottom-color: rgba(191, 219, 254, 0.7);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 6px 18px rgba(15, 40, 80, 0.06);
}

.header__logo img {
  width: 84px;
}

.header__nav {
  display: flex;
  gap: 16px;
  margin-right: auto;
}

.header__nav a {
  color: var(--mute);
  font-size: 13px;
  font-weight: 600;
}

.header__nav a:hover {
  color: var(--ink);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Hero: pure white so it blends with left-white hero art (no color seam) */
.hero {
  position: relative;
  padding: 28px 0 48px;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid #e8eef6;
}

.hero__glow {
  display: none;
}

/* .wrap と併用時、width:100% で wrap 制約を潰さないこと */
.hero__stage.wrap,
.wrap.hero__stage {
  position: relative;
  width: min(100% - 40px, var(--wrap));
  max-width: var(--wrap);
  margin-inline: auto;
  box-sizing: border-box;
}

/* 画像の左右端 = 下の diagram / 見出しと同じ幅 */
.hero__visual {
  position: relative;
  z-index: 0;
  width: 100%;
  margin: 0;
  border: 0;
  background: transparent;
}

.hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border: 0;
}

/* 左の白地の上に文字を重ねる（wrap 内の左） */
.hero__copy {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(460px, 46%);
  max-width: calc(100% - 24px);
  padding: 28px 40px 28px 0;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.96) 70%,
    rgba(255, 255, 255, 0) 100%
  );
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.22;
}

.hero__lead {
  margin-top: 16px;
  max-width: 42ch;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.9;
}

.hero__lead strong {
  color: var(--ink);
}

.hero__points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.hero__points li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.hero__note {
  margin-top: 14px;
  color: #7a8a9e;
  font-size: 12px;
  font-weight: 600;
}

/* Diagrams */
.diagram {
  margin: 0 0 12px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 10px 28px rgba(15, 40, 80, 0.06),
    0 0 0 1px rgba(191, 219, 254, 0.35);
  backdrop-filter: blur(8px);
}

.diagram img {
  width: 100%;
  height: auto;
}

.diagram-caption {
  margin: 0 0 8px;
  color: var(--mute);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.photo-diagram {
  margin: 16px 0 10px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.photo-diagram img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: center;
}

/* Detail blocks */
.detail {
  margin-top: 24px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 12px 32px rgba(15, 40, 80, 0.06),
    0 0 0 1px rgba(199, 210, 254, 0.35);
  backdrop-filter: blur(10px);
}

.detail + .detail {
  margin-top: 16px;
}

.detail__head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.detail__head h3 {
  margin-top: 8px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.detail__head > div > p:not(.tag) {
  margin-top: 10px;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.85;
}

.detail__shot {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.detail__shot img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
}

.tri {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.tri__col {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.tri__col--act {
  background: var(--act);
  border-color: #bbf7d0;
}

.tri__col--rev {
  background: var(--rev);
  border-color: #fed7aa;
}

.tri__col h4 {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
}

.tri__col--act h4 {
  color: var(--act-ink);
}

.tri__col--rev h4 {
  color: var(--rev-ink);
}

.tri__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.tri__col li {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  padding-left: 12px;
  position: relative;
}

.tri__col li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--mute);
  font-weight: 800;
}

/* Compact fan flow under @drop */
.exp-compact {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.exp-compact__label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--mute);
  letter-spacing: 0.04em;
}

.exp-compact__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.exp-compact__flow i {
  font-style: normal;
  color: var(--blue);
  font-weight: 700;
}

.exp-compact__shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 520px;
}

.exp-compact__shots figure {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.exp-compact__shots img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.exp-compact__shots figcaption {
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
  color: var(--mute);
}

/* Patreon */
.patreon {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid #e7d5c4;
  background: linear-gradient(135deg, #fffaf5, #fff);
}

.patreon h4 {
  margin-top: 6px;
  font-size: 18px;
}

.patreon__copy p:not(.tag) {
  margin-top: 8px;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.8;
}

.patreon__phones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.patreon__phones figure {
  margin: 0;
  width: 120px;
}

.patreon__phones figcaption {
  margin-bottom: 6px;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--mute);
  letter-spacing: 0.06em;
}

.patreon__phones img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #fff;
}

.patreon__phones > span {
  color: #fb923c;
  font-weight: 800;
  font-size: 18px;
}

/* Cases — equal 3-column cards: media block then solid text block (no overlap) */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
  align-items: stretch;
}

.case {
  display: grid;
  grid-template-rows: 200px auto;
  overflow: hidden;
  border-radius: var(--rl);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.94);
  transition: transform 0.15s, box-shadow 0.15s;
  isolation: isolate;
  box-shadow: 0 10px 28px rgba(30, 50, 100, 0.07);
}

.case:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* 上段: 画像のみ（固定高さ・はみ出し禁止） */
.case__media {
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  overflow: hidden;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.case__art,
.case__screen {
  display: block;
  width: 100%;
  height: 200px;
  max-height: 200px;
  object-fit: cover;
  object-position: center top;
}

.case__screen {
  object-fit: contain;
  object-position: top center;
  background: #fff;
  padding: 8px;
  border-left: 1px solid var(--line);
  box-sizing: border-box;
}

/* 下段: 白地のテキスト専用エリア（画像の上に載せない） */
.case__body {
  grid-row: 2;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 18px;
  background: #fff;
  color: var(--ink);
}

.case__body span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.case__body h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  color: var(--ink);
}

.case__body p {
  margin: 0;
  color: var(--mute);
  font-size: 13px;
  line-height: 1.65;
}

.case__body em {
  display: inline-block;
  margin-top: 6px;
  font-style: normal;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.cases__cta {
  margin-top: 24px;
}

/* Start */
.start-notes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.start-notes li {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.start-notes b {
  display: block;
  font-size: 14px;
  color: var(--blue);
}

.start-notes p {
  margin-top: 8px;
  color: var(--mute);
  font-size: 13px;
  line-height: 1.65;
}

.start-panels {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  margin-top: 24px;
}

.voice {
  margin: 0;
  padding: 24px;
  border-radius: var(--rl);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  background: #fff;
}

.voice p {
  font-size: 14px;
  line-height: 1.9;
  font-weight: 500;
}

.voice footer {
  display: grid;
  gap: 2px;
  margin-top: 16px;
}

.voice footer strong {
  font-size: 14px;
}

.voice footer span {
  color: var(--mute);
  font-size: 12px;
}

.support-card {
  padding: 24px;
  border-radius: var(--rl);
  border: 1px solid #d8defc;
  background: linear-gradient(145deg, #f7f8ff, #fff);
}

.support-card h3 {
  margin-top: 6px;
  font-size: 20px;
}

.support-card p:not(.tag) {
  margin-top: 8px;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.75;
}

.x-follow {
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: var(--rl);
  border: 1px solid #d8defc;
  background: linear-gradient(145deg, #f7f8ff, #fff);
}

.x-follow__intro .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0f1419;
}

.x-follow__intro .tag .x-logo {
  width: 13px;
  height: 13px;
}

.x-follow h3 {
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.x-follow__intro > p:not(.tag) {
  margin-top: 6px;
  color: var(--mute);
  font-size: 13px;
  line-height: 1.7;
}

.x-follow__accounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.x-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  min-width: 0;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid #ead7df;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.x-card--drop {
  border-color: #f3c7d4;
  background: linear-gradient(180deg, #fff7fa 0%, #fff 42%);
}

.x-card--artria {
  border-color: #d4def6;
  background: linear-gradient(180deg, #f4f7ff 0%, #fff 42%);
}

.x-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 20, 25, 0.08);
}

.x-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.x-card__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 112px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.x-card--drop .x-card__art {
  background: #fff1f5;
}

.x-card--artria .x-card__art {
  background: #eef3ff;
}

.x-card__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.x-card__chip {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 20, 25, 0.78);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.x-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  height: 100%;
  padding: 2px 4px 2px 0;
}

.x-card__body .btn--x {
  margin-top: auto;
}

.x-card__id {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.x-card__id strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.x-card__id span {
  color: #536471;
  font-size: 13px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.x-card__body > p {
  margin: 0;
  color: var(--mute);
  font-size: 13px;
  line-height: 1.65;
  flex: 1 1 auto;
}

@media (prefers-reduced-motion: reduce) {
  .x-card {
    transition: none;
  }

  .x-card:hover {
    transform: none;
  }
}

.soon {
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: var(--rl);
  border: 1px dashed var(--line-2);
  background: var(--soft);
}

.soon h3 {
  margin-top: 6px;
  font-size: 16px;
}

.soon ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.soon li {
  font-size: 13px;
  font-weight: 600;
  color: var(--mute);
  padding-left: 12px;
  position: relative;
}

.soon li::before {
  content: "·";
  position: absolute;
  left: 0;
}

/* Final — image-forward closing */
.final {
  position: relative;
  padding: 0 0 36px;
  background: #0b1630;
}

.final__stage {
  position: relative;
  width: min(100% - 0px, 100%);
  min-height: clamp(480px, 72vh, 720px);
  overflow: hidden;
}

.final__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  z-index: 0;
}

.final__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 16, 40, 0.15) 0%, rgba(8, 16, 40, 0.35) 40%, rgba(8, 16, 40, 0.78) 100%),
    linear-gradient(90deg, rgba(8, 16, 40, 0.45) 0%, transparent 40%, transparent 60%, rgba(8, 16, 40, 0.35) 100%);
}

.final__panel {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  width: min(100% - 40px, 720px);
  padding: 28px 24px 26px;
  text-align: center;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(10, 18, 40, 0.55);
  backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  color: #f8fafc;
}

.final__panel > img {
  width: 110px;
  margin: 0 auto 14px;
  filter: brightness(1.15);
}

.final__panel h2 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1.3;
}

.final__panel > p {
  margin: 10px auto 0;
  color: #c7d4ee;
  font-size: 15px;
}

.final .cta-row {
  margin-top: 20px;
}

.final__ctas {
  gap: 10px;
}

.btn--light {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.final__x {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.final__x > p {
  margin: 0 0 10px;
  color: #c7d4ee;
  font-size: 13px;
  font-weight: 600;
}

.final__x-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.final__x-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 20, 25, 0.45);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.final__x-link:hover {
  background: rgba(15, 20, 25, 0.72);
  border-color: rgba(255, 255, 255, 0.5);
}

.final__x-link:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 3px;
}

.final__x-link span {
  color: #a8b9db;
  font-weight: 600;
}

.final__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: #a8b9db;
}

.final__links a:hover {
  color: #fff;
}

.final__fine {
  margin: 18px auto 0 !important;
  text-align: center;
  font-size: 12px !important;
  color: #7d8faf !important;
}

.service-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.service-action {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px 18px 18px;
  border-radius: var(--rl);
  border: 1px solid var(--line);
  background: #fff;
}

.service-action h3 {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.45;
}

.service-action > p:not(.tag) {
  margin: 10px 0 16px;
  color: var(--mute);
  font-size: 13px;
  line-height: 1.7;
}

.service-action .btn {
  margin-top: auto;
  width: fit-content;
}

.service-action--quiet .btn {
  min-height: auto;
}

.detail__invite {
  margin-top: 22px;
  max-width: 640px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

.example-card {
  margin-top: 20px;
  padding: 18px 18px 16px;
  border-radius: var(--rl);
  border: 1px solid var(--line);
  background: var(--ice);
}

.example-frame {
  position: relative;
  height: 480px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #e8eef8;
}

.example-frame__scroller {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  overscroll-behavior: contain;
}

.example-frame__scroller::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.example-frame__scroller img {
  display: block;
  width: 100%;
  height: auto;
}

.example-frame__fade {
  position: absolute;
  left: 0;
  right: 18px;
  height: 40px;
  pointer-events: none;
  z-index: 1;
}

.example-frame__fade--top {
  top: 0;
  background: linear-gradient(180deg, #e8eef8 0%, transparent 100%);
  opacity: 0;
}

.example-frame:not(.is-at-top) .example-frame__fade--top {
  opacity: 1;
}

.example-frame__fade--bottom {
  bottom: 0;
  background: linear-gradient(0deg, #e8eef8 0%, transparent 100%);
}

.example-frame.is-at-bottom .example-frame__fade--bottom {
  opacity: 0;
}

.example-frame__rail {
  position: absolute;
  top: 14px;
  right: 8px;
  bottom: 14px;
  z-index: 2;
  width: 4px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  pointer-events: none;
}

.example-frame__thumb {
  position: absolute;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.42);
}

.example-frame__hint {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 2;
  transform: translateX(-50%);
  margin: 0;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(200, 215, 232, 0.9);
  color: var(--mute);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  pointer-events: none;
  white-space: nowrap;
}

.example-frame.is-scrolled .example-frame__hint {
  display: none;
}

.example-card__body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.example-card h4 {
  font-size: 16px;
}

.example-card p {
  margin-top: 6px;
  color: var(--mute);
  font-size: 13px;
  line-height: 1.7;
}

.example-card .btn {
  flex: 0 0 auto;
}

.vision {
  padding-top: 28px;
}

.vision-card {
  display: grid;
  grid-template-columns: minmax(180px, 32%) minmax(0, 1fr);
  gap: 28px;
  padding: 28px 26px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.92), rgba(255, 255, 255, 0.98)),
    #fff;
  box-shadow: var(--shadow);
}

.vision-card__identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.vision-card__identity img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.vision-card__name {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 800;
}

.vision-card__role {
  margin-top: 4px;
  color: var(--mute);
  font-size: 12px;
  font-weight: 600;
}

.vision-card__copy h2 {
  margin-top: 10px;
  font-size: clamp(24px, 3.2vw, 34px);
}

.vision-card__lead,
.vision-card__copy > p {
  margin-top: 14px;
  max-width: 42rem;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.9;
}

.vision-points {
  display: grid;
  gap: 10px;
  margin: 18px 0 4px;
  padding: 0;
  list-style: none;
}

.vision-points li {
  padding: 12px 14px 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.vision-card__sign {
  display: grid;
  gap: 2px;
  margin-top: 20px;
}

.vision-card__sign strong {
  font-size: 14px;
}

.vision-card__sign span {
  color: var(--mute);
  font-size: 12px;
}

/* Sticky */
.sticky {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
}

.sticky .btn {
  width: 100%;
}

@media (max-width: 960px) {
  .header__nav {
    display: none;
  }

  .sec-deco__img,
  .sec-deco__wash {
    opacity: 0.1;
    width: min(42vw, 180px);
  }

  .sec-deco__img--tall {
    display: none;
  }

  .detail__head,
  .tri,
  .patreon,
  .cases,
  .start-notes,
  .start-panels,
  .service-actions,
  .vision-card,
  .example-card__body {
    grid-template-columns: 1fr;
  }

  .example-card__body {
    display: grid;
  }

  .exp-compact__shots {
    max-width: none;
  }

  .hero__stage {
    display: block;
  }

  .hero__visual {
    width: 100%;
  }

  .hero__visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .hero__copy {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    margin-top: 8px;
    padding: 8px 0 20px;
    background: transparent;
  }

  .detail {
    padding: 18px;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 560px) {
  .x-follow__accounts {
    grid-template-columns: 1fr;
  }

  .x-card {
    grid-template-columns: 96px 1fr;
  }


  .example-frame {
    height: 360px;
  }

  .header__actions .btn--text {
    display: none;
  }

  .cta-row .btn,
  .service-action .btn,
  .example-card .btn {
    width: 100%;
  }

  .vision-card {
    padding: 20px 16px;
    gap: 18px;
  }

  .vision-card__identity {
    border: 0;
    background: transparent;
    padding: 0;
  }

  .vision-card__name,
  .vision-card__role {
    display: none;
  }

  .vision-card__copy > p,
  .vision-card__lead {
    font-size: 14px;
    line-height: 2;
  }

  .vision-points li {
    font-size: 13px;
  }

  .sec-deco {
    display: none;
  }

  .page-bg {
    opacity: 0.08;
  }

  .sticky {
    display: block;
  }

  .final {
    padding-bottom: 88px;
  }

  .final__stage {
    min-height: 560px;
  }

  .final__panel {
    bottom: 20px;
    width: min(100% - 24px, 720px);
    padding: 22px 16px 20px;
  }

  .final__ctas .btn {
    width: 100%;
  }
}
