/* IKYCORP — shared stylesheet.
   Plain CSS, system fonts, no external dependencies.
   Palette: vivid blue + tangerine on cool neutrals. */

:root {
  --blue: #1b4dff;          /* 5.9:1 on white — safe for text */
  --blue-deep: #0f2fb8;
  --blue-bright: #3d7bff;
  --blue-soft: #7fa2ff;
  --blue-tint: #e8eeff;
  --blue-wash: #f3f6ff;

  --tang: #ff7a1a;          /* fills and large shapes only */
  --tang-light: #ffb27a;
  --tang-tint: #fff0e4;
  --tang-ink: #b84a00;      /* 5.2:1 on white — for small tangerine text */

  --ink: #0b1220;
  --ink-2: #263046;
  --slate: #5a6478;
  --line: #e3e8f0;
  --line-2: #cfd6e3;
  --bg: #ffffff;
  --bg-2: #f5f7fb;
  --bg-3: #ecf0f6;

  --on-dark: #f5f7fb;
  --on-dark-muted: #a9b3c7;
  --on-dark-line: rgba(255, 255, 255, 0.12);

  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Noto Sans CJK KR", "Malgun Gothic",
    "맑은 고딕", system-ui, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 76rem;
  --r-s: 12px;
  --r: 20px;
  --r-l: 32px;
  --shadow-1: 0 1px 2px rgba(11, 18, 32, 0.06),
    0 10px 30px -14px rgba(11, 18, 32, 0.22);
  --shadow-2: 0 2px 6px rgba(11, 18, 32, 0.05),
    0 40px 80px -36px rgba(15, 47, 184, 0.45);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
h4,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.on-dark :focus-visible,
.on-blue :focus-visible {
  outline-color: var(--tang-light);
}

.on-tang :focus-visible {
  outline-color: var(--ink);
}

main:focus {
  outline: none;
}

.wrap {
  width: min(calc(100% - 2 * var(--gutter)), var(--max));
  margin-inline: auto;
}

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -6rem;
  z-index: 100;
  padding: 0.75rem 1.125rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mono {
  font-family: var(--mono);
  font-size: 0.9em;
  letter-spacing: 0;
}

/* ---------- Type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem 0.375rem 0.625rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-2);
}

.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--tang);
  box-shadow: 0 0 0 4px var(--tang-tint);
}

.kicker {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue);
}

.display {
  font-size: clamp(2.5rem, 1.2rem + 5.4vw, 5.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.h2 {
  font-size: clamp(1.875rem, 1.1rem + 2.8vw, 3.375rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.h3 {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 34em;
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.3125rem);
  line-height: 1.7;
  color: var(--ink-2);
}

.muted {
  color: var(--slate);
}

.hl-blue {
  color: var(--blue);
}

.hl-mark {
  background: linear-gradient(transparent 62%, var(--tang-light) 62% 92%, transparent 92%);
  padding-inline: 0.04em;
}

.section {
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
}

.section--tint {
  background: var(--bg-2);
}

.section-head {
  display: grid;
  gap: 1rem;
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.375rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.btn .icon {
  width: 1.125rem;
  height: 1.125rem;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(27, 77, 255, 0.7);
}

.btn--primary:hover {
  background: var(--blue-deep);
}

.btn--ghost {
  border-color: var(--line-2);
  background: var(--bg);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--light {
  background: #fff;
  color: var(--ink);
}

.btn--light:hover {
  background: var(--blue-tint);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--ink {
  background: var(--ink);
  color: #fff;
}

.btn--ink:hover {
  background: var(--ink-2);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding-block: 0.25rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(227, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  min-height: 4.25rem;
  padding-block: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding-block: 0.375rem;
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 1.875rem;
  height: 1.875rem;
}

.nav-list {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--bg-2);
}

.nav-list a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--ink);
  background: var(--bg-3);
}

.nav-list a[aria-current="page"] {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.08), 0 4px 12px -6px rgba(11, 18, 32, 0.2);
}

.nav-list a[aria-current="page"]::before {
  content: "";
  display: inline-block;
  width: 0.375rem;
  height: 0.375rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--tang);
  vertical-align: 0.15em;
}

@media (max-width: 40rem) {
  html {
    scroll-padding-top: 8.5rem;
  }

  .site-header nav {
    width: 100%;
  }

  .nav-list {
    justify-content: space-between;
  }

  .nav-list a {
    padding-inline: 0.75rem;
  }
}

@media (max-width: 22rem) {
  .nav-list a {
    padding-inline: 0.55rem;
    font-size: 0.875rem;
  }

  .nav-list a[aria-current="page"]::before {
    display: none;
  }
}

/* ---------- Home hero ---------- */

.hero {
  padding-top: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}

.hero-copy {
  display: grid;
  gap: 1.5rem 4rem;
  align-items: end;
}

@media (min-width: 62rem) {
  .hero-copy {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }
}

.hero-copy .display {
  margin-top: 1.25rem;
}

.hero-side {
  display: grid;
  gap: 1.75rem;
  padding-bottom: 0.5rem;
}

/* The artwork panel. The image sits on top of a CSS composition;
   if assets/hero.png is missing, the composition shows instead. */
.hero-art {
  position: relative;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  aspect-ratio: 4 / 5;
  border-radius: var(--r-l);
  overflow: hidden;
  background-color: var(--blue);
  background-image:
    url("assets/hero.png"),
    radial-gradient(circle at 74% 34%, var(--tang) 0 13%, transparent 13.3%),
    radial-gradient(circle at 74% 34%, transparent 0 21%, rgba(255, 255, 255, 0.55) 21.2% 21.5%, transparent 21.8%),
    radial-gradient(circle at 74% 34%, transparent 0 32%, rgba(255, 255, 255, 0.3) 32.2% 32.4%, transparent 32.7%),
    radial-gradient(circle at 74% 34%, transparent 0 46%, rgba(255, 255, 255, 0.16) 46.2% 46.4%, transparent 46.7%),
    radial-gradient(60% 50% at 74% 34%, rgba(255, 178, 122, 0.55), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 56px),
    radial-gradient(90% 80% at 0% 100%, #081a7a 0%, transparent 65%),
    linear-gradient(155deg, var(--blue-bright) 0%, var(--blue) 45%, var(--blue-deep) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

@media (min-width: 40rem) {
  .hero-art {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 62rem) {
  .hero-art {
    aspect-ratio: 16 / 7;
  }
}

.hero-chips {
  position: absolute;
  left: clamp(1rem, 2.5vw, 1.75rem);
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.875rem 0.5rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px -12px rgba(8, 20, 80, 0.55);
}

.chip-link:hover {
  background: #fff;
}

.chip-link .mono {
  font-weight: 500;
  color: var(--slate);
}

.chip-dot {
  display: grid;
  place-items: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  color: #fff;
}

.chip-dot .icon {
  width: 1rem;
  height: 1rem;
}

.dot-blue { background: var(--blue); color: #fff; }
.dot-tang { background: var(--tang); color: var(--ink); }
.dot-ink { background: var(--ink); color: #fff; }
.dot-soft { background: var(--bg-3); color: var(--ink); }

.hero-art:focus-within .chip-link:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 6px var(--ink);
}

/* ---------- Ticker ---------- */

.ticker {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-block: 1.125rem;
  border-block: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
}

.ticker-group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-2);
  white-space: nowrap;
}

.ticker-group li {
  display: inline-flex;
  align-items: center;
  gap: 2.25rem;
}

.ticker-group li::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
  background: var(--blue);
  transform: rotate(45deg);
}

.ticker-group li:nth-child(3n + 2)::after {
  background: var(--tang);
}

/* ---------- Product stories (home) ---------- */

.stories {
  display: grid;
  gap: clamp(4.5rem, 10vw, 8rem);
}

.story {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 60rem) {
  .story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 5rem;
  }

  .story--flip .story-copy {
    order: 2;
  }
}

.story-copy {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

.story-copy .h3 {
  font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem);
}

.story-copy .latin {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--slate);
}

.feature-list {
  display: grid;
  gap: 0.5rem;
  width: 100%;
  max-width: 28rem;
  margin-top: 0.5rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--bg);
  font-weight: 600;
}

.feature-list .icon {
  color: var(--blue);
}

.story--tang .feature-list .icon {
  color: var(--tang-ink);
}

.story--ink .feature-list .icon {
  color: var(--ink);
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-top: 0.5rem;
}

/* Stage behind each interface mock */
.stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 30rem;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 3rem);
  border-radius: var(--r-l);
  overflow: hidden;
}

.stage--blue {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 122, 26, 0.22), transparent 30%),
    radial-gradient(circle at 1px 1px, rgba(27, 77, 255, 0.18) 1px, transparent 0) 0 0 / 22px 22px,
    var(--blue-tint);
}

.stage--tang {
  background:
    radial-gradient(circle at 12% 85%, rgba(27, 77, 255, 0.2), transparent 32%),
    repeating-linear-gradient(135deg, rgba(255, 122, 26, 0.12) 0 2px, transparent 2px 18px),
    var(--tang-tint);
}

.stage--ink {
  background:
    radial-gradient(circle at 80% 80%, rgba(61, 123, 255, 0.45), transparent 40%),
    radial-gradient(circle at 15% 10%, rgba(255, 122, 26, 0.35), transparent 30%),
    var(--ink);
}

.stage-note {
  position: absolute;
  left: 1.25rem;
  top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate);
}

.stage--ink .stage-note {
  color: var(--on-dark-muted);
}

/* ---------- Interface mocks (decorative, aria-hidden) ---------- */

.mock {
  position: relative;
  width: min(100%, 21rem);
  padding: 1rem;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-2), 0 0 0 1px rgba(11, 18, 32, 0.06);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ink);
}

.mock--wide {
  width: min(100%, 34rem);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
}

.mock-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-bottom: 0.875rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--slate);
}

.mock-bar::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #22c55e;
}

.win-bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.win-bar i {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--line-2);
}

.win-bar span {
  margin-left: auto;
  margin-right: auto;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  background: #fff;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--slate);
}

.sk {
  display: block;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--bg-3);
}

.w30 { width: 30%; }
.w45 { width: 45%; }
.w60 { width: 60%; }
.w75 { width: 75%; }
.w90 { width: 90%; }

/* mateyou mock */
.m-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--bg-2);
  font-weight: 700;
  font-size: 0.75rem;
}

.m-tabs span {
  flex: 1;
  padding: 0.4rem 0;
  border-radius: 999px;
  text-align: center;
  color: var(--slate);
}

.m-tabs .on {
  background: var(--blue);
  color: #fff;
}

.m-live {
  position: relative;
  height: 8.5rem;
  margin-top: 0.875rem;
  border-radius: 18px;
  background:
    radial-gradient(circle at 70% 40%, var(--tang) 0 16%, transparent 16.5%),
    radial-gradient(circle at 70% 40%, transparent 0 26%, rgba(255, 255, 255, 0.4) 26.5% 27.5%, transparent 28%),
    linear-gradient(140deg, var(--blue-bright), var(--blue-deep));
}

.badge-live {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #ef2b4a;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.badge-live::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: #fff;
}

.m-live-bar {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  gap: 0.375rem;
}

.m-live-bar .sk {
  height: 0.4rem;
  background: rgba(255, 255, 255, 0.45);
}

.m-post {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.875rem;
  padding: 0.875rem;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.m-post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}

.m-post-head .icon {
  width: 1rem;
  height: 1rem;
  color: var(--blue);
}

.m-msg {
  display: grid;
  gap: 0.375rem;
  margin-top: 0.875rem;
}

.bubble {
  display: block;
  width: 62%;
  height: 1.75rem;
  border-radius: 14px 14px 14px 4px;
  background: var(--bg-2);
}

.bubble--me {
  justify-self: end;
  width: 46%;
  border-radius: 14px 14px 4px 14px;
  background: var(--blue);
}

.m-member {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.875rem;
  padding: 0.75rem 0.875rem;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.m-member .icon {
  color: var(--tang-light);
}

.m-member b {
  margin-left: auto;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--tang);
  color: var(--ink);
  font-size: 0.75rem;
}

.float-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-1);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
}

.float-tag .icon {
  width: 1rem;
  height: 1rem;
}

.ft-1 { right: 6%; top: 14%; }
.ft-2 { left: 5%; bottom: 14%; }

.ft-1 .icon { color: var(--blue); }
.ft-2 .icon { color: var(--tang-ink); }

@media (max-width: 34rem) {
  .float-tag {
    display: none;
  }
}

/* linkyung mock */
.l-cover {
  height: 6.5rem;
  border-radius: 18px;
  background:
    radial-gradient(circle at 25% 60%, var(--blue) 0 20%, transparent 20.5%),
    radial-gradient(circle at 25% 60%, transparent 0 30%, rgba(11, 18, 32, 0.15) 30.5% 31.5%, transparent 32%),
    linear-gradient(120deg, var(--tang-light), var(--tang));
}

.l-name {
  display: grid;
  justify-items: center;
  gap: 0.375rem;
  margin-top: 0.875rem;
}

.l-name .sk {
  height: 0.625rem;
  background: var(--ink);
  opacity: 0.85;
}

.l-name .sk + .sk {
  height: 0.45rem;
  background: var(--bg-3);
  opacity: 1;
}

.l-links {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.l-links li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 700;
}

.l-links .icon {
  width: 1.0625rem;
  height: 1.0625rem;
  color: var(--tang-ink);
}

.l-links li::after {
  content: "›";
  margin-left: auto;
  color: var(--slate);
}

.l-links li:first-child {
  border-color: transparent;
  background: var(--ink);
  color: #fff;
}

.l-links li:first-child .icon {
  color: var(--tang-light);
}

.l-links li:first-child::after {
  color: var(--on-dark-muted);
}

.l-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.375rem;
  margin-top: 0.75rem;
}

.l-grid i {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
}

.l-grid i:nth-child(1) { background: linear-gradient(160deg, var(--blue-soft), var(--blue)); }
.l-grid i:nth-child(2) { background: linear-gradient(160deg, var(--tang-light), var(--tang)); }
.l-grid i:nth-child(3) { background: linear-gradient(160deg, var(--bg-3), var(--line-2)); }

/* yumeit mock */
.y-body {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

@media (min-width: 30rem) {
  .y-body {
    grid-template-columns: 1.1fr 1fr;
  }
}

.y-panel {
  padding: 0.875rem;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.y-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.y-title .icon {
  width: 1rem;
  height: 1rem;
  color: var(--blue);
}

.y-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3rem;
}

.y-cal i {
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--bg-2);
}

.y-cal .b { background: var(--blue); }
.y-cal .t { background: var(--tang); }
.y-cal .s { background: var(--blue-tint); box-shadow: inset 0 0 0 1.5px var(--blue); }

.y-slots {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.3rem;
}

.y-slots i {
  height: 1.5rem;
  border-radius: 6px;
  background: var(--bg-2);
}

.y-slots .full {
  background: repeating-linear-gradient(135deg, var(--line-2) 0 3px, var(--bg-3) 3px 7px);
}

.y-slots .pick {
  background: var(--blue);
}

.y-legend {
  display: flex;
  gap: 0.875rem;
  margin-top: 0.625rem;
  font-size: 0.6875rem;
  color: var(--slate);
}

.y-legend span::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.3rem;
  border-radius: 2px;
  background: var(--blue);
}

.y-legend span + span::before {
  background: var(--line-2);
}

.y-wear {
  grid-column: 1 / -1;
}

.y-wear-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.y-wear-list div {
  display: grid;
  gap: 0.375rem;
}

.y-wear-list i {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--slate);
}

.y-wear-list div:nth-child(2) i {
  background: var(--tang-tint);
  color: var(--tang-ink);
}

.y-wear-list div:nth-child(3) i {
  background: var(--blue-tint);
  color: var(--blue);
}

.y-wear-list .icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* ---------- Triad (home, dark) ---------- */

.on-dark {
  background: var(--ink);
  color: var(--on-dark);
}

.on-dark .lead,
.on-dark .muted {
  color: var(--on-dark-muted);
}

.on-dark .kicker {
  color: var(--tang-light);
}

.triad {
  position: relative;
  overflow: hidden;
}

.triad::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 77, 255, 0.45), transparent 65%);
  pointer-events: none;
}

.triad .wrap {
  position: relative;
}

.triad-list {
  display: grid;
  border-top: 1px solid var(--on-dark-line);
  counter-reset: triad;
}

.triad-list li {
  display: grid;
  gap: 0.5rem 2rem;
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--on-dark-line);
}

@media (min-width: 52rem) {
  .triad-list li {
    grid-template-columns: 17rem minmax(0, 1fr) auto;
    align-items: center;
  }
}

.triad-word {
  white-space: nowrap;
  font-size: clamp(2.75rem, 1.6rem + 4.4vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.triad-list li:nth-child(1) .triad-word { color: var(--blue-soft); }
.triad-list li:nth-child(2) .triad-word { color: var(--tang-light); }
.triad-list li:nth-child(3) .triad-word { color: #fff; }

.triad-desc {
  max-width: 30em;
  font-size: 1.125rem;
  color: var(--on-dark-muted);
}

.triad-desc strong {
  display: block;
  margin-bottom: 0.125rem;
  font-size: 1.25rem;
  color: #fff;
}

.triad-list .text-link {
  color: #fff;
}

/* ---------- Closing CTA ---------- */

.cta {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.cta-panel {
  position: relative;
  display: grid;
  gap: 2rem;
  padding: clamp(2rem, 6vw, 4.5rem);
  border-radius: var(--r-l);
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
}

@media (min-width: 56rem) {
  .cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    padding-top: clamp(6rem, 9vw, 8rem);
    background:
      radial-gradient(circle at 92% 0%, var(--tang) 0 9rem, transparent 9.05rem),
      radial-gradient(circle at 92% 0%, transparent 0 13rem, rgba(255, 255, 255, 0.2) 13.05rem 13.2rem, transparent 13.25rem),
      linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  }
}

.cta-panel .lead {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.86);
}

.domain-stack {
  display: grid;
  gap: 0.5rem;
  min-width: min(100%, 19rem);
}

.domain-stack a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1.125rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 700;
  text-decoration: none;
}

.domain-stack a:hover {
  background: #fff;
  color: var(--ink);
}

.domain-stack .mono {
  font-weight: 500;
  opacity: 0.85;
}

/* ---------- Inner page hero ---------- */

.page-hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.page-hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 60rem) {
  .page-hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

.page-hero .display {
  margin-block: 1.25rem 1.5rem;
}

/* About: orbit graphic */
.orbit {
  position: relative;
  width: min(calc(100% - 5rem), 30rem);
  aspect-ratio: 1;
  margin-inline: auto;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1.5px dashed var(--line-2);
  border-radius: 50%;
}

.orbit-ring--2 {
  inset: 17%;
  border-style: solid;
  border-color: var(--blue-tint);
  background: var(--blue-wash);
}

.orbit-core {
  position: absolute;
  inset: 34%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--blue-bright), var(--blue-deep));
  color: #fff;
  font-size: clamp(0.875rem, 0.6rem + 0.8vw, 1.125rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-2);
}

.orbit-spin {
  position: absolute;
  inset: 6%;
}

.orbit-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem 0.5rem 0.5rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-1);
  font-weight: 800;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.orbit-node:nth-child(1) { left: 50%; top: 0; }
.orbit-node:nth-child(2) { left: 93%; top: 75%; }
.orbit-node:nth-child(3) { left: 7%; top: 75%; }

/* Services: stacked tiles graphic */
.tile-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(100%, 30rem);
  margin-inline: auto;
}

.tile-stack > div {
  display: grid;
  align-content: space-between;
  gap: 2.5rem;
  min-height: 12rem;
  padding: 1rem;
  border-radius: var(--r);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-1);
}

.tile-stack > div:nth-child(2) { transform: translateY(1.5rem); }
.tile-stack > div:nth-child(3) { transform: translateY(3rem); }

.tile-stack .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.tile-stack span {
  font-size: clamp(1rem, 0.8rem + 0.7vw, 1.3125rem);
  line-height: 1.25;
}

.tile-stack small {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  opacity: 0.85;
}

.tile--blue { background: var(--blue); color: #fff; }
.tile--tang { background: var(--tang); color: var(--ink); }
.tile--ink { background: var(--ink); color: #fff; }

/* ---------- About ---------- */

.statement {
  max-width: 22em;
  font-size: clamp(1.75rem, 1rem + 2.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.statement .dim {
  color: var(--slate);
}

.statement .b {
  color: var(--blue);
}

.statement .t {
  color: var(--tang-ink);
}

.map {
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--bg);
  box-shadow: var(--shadow-1);
}

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

.diagram .d-base {
  stroke: var(--line-2);
  stroke-width: 2;
  stroke-dasharray: 2 8;
  stroke-linecap: round;
}

.diagram .d-arc {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
}

.diagram .arc-blue { stroke: var(--blue); }
.diagram .arc-tang { stroke: var(--tang); }

.diagram .d-node {
  stroke: #fff;
  stroke-width: 6;
}

.diagram .n-blue { fill: var(--blue); }
.diagram .n-tang { fill: var(--tang); }
.diagram .n-ink { fill: var(--ink); }

.diagram .d-name {
  font-family: var(--sans);
  font-size: 30px;
  font-weight: 800;
  fill: var(--ink);
}

.diagram .d-domain {
  font-family: var(--mono);
  font-size: 18px;
  fill: var(--slate);
}

.diagram .d-pill {
  fill: #fff;
  stroke: var(--line-2);
  stroke-width: 1.5;
}

.diagram .d-topic {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 800;
}

.diagram .t-blue { fill: var(--blue); }
.diagram .t-tang { fill: var(--tang-ink); }

.overlaps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 48rem) {
  .overlaps {
    grid-template-columns: 1fr 1fr;
  }
}

.overlaps > div {
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem;
  border-radius: var(--r);
  background: var(--bg-2);
}

.overlaps dt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
}

.overlaps dd {
  color: var(--ink-2);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 800;
}

.pill--blue { background: var(--blue-tint); color: var(--blue); }
.pill--tang { background: var(--tang-tint); color: var(--tang-ink); }
.pill--ink { background: var(--ink); color: #fff; }

.roles {
  display: grid;
  gap: 1rem;
}

@media (min-width: 56rem) {
  .roles {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
  }

  .roles > li:first-child {
    grid-row: span 2;
  }
}

.roles > li {
  display: grid;
}

.role {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 3rem;
  min-height: 15rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-l);
  overflow: hidden;
  text-decoration: none;
}

.role-word {
  font-size: clamp(2.5rem, 1.6rem + 3vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.role p {
  max-width: 22em;
}

.role-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  font-weight: 800;
}

.role-foot .icon {
  transition: transform 0.2s var(--ease);
}

.role:hover .role-foot .icon {
  transform: translateX(4px);
}

.role--blue {
  background:
    radial-gradient(circle at 100% 0%, var(--blue-bright) 0 30%, transparent 30.5%),
    var(--blue);
  color: #fff;
}

.role--blue p { color: rgba(255, 255, 255, 0.88); }

.role--tang {
  background: var(--tang);
  color: var(--ink);
}

.role--ink {
  background: var(--ink);
  color: #fff;
}

.role--ink p { color: var(--on-dark-muted); }

.fact-sheet {
  display: grid;
  border-top: 1px solid var(--line-2);
}

.fact-sheet > div {
  display: grid;
  gap: 0.25rem 2rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 40rem) {
  .fact-sheet > div {
    grid-template-columns: 11rem minmax(0, 1fr);
    align-items: center;
  }
}

.fact-sheet dt {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate);
}

.fact-sheet dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.fact-sheet dd a {
  text-decoration: none;
}

.fact-sheet dd a:hover {
  filter: brightness(0.95);
}

.split-head {
  display: grid;
  gap: 2rem 4rem;
}

@media (min-width: 60rem) {
  .split-head {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
  }
}

/* ---------- Status (text + icon, never colour alone) ---------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem 0.25rem 0.5rem;
  border-radius: 999px;
  background: var(--tang-tint);
  color: var(--tang-ink);
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
}

.status .icon {
  width: 1rem;
  height: 1rem;
}

/* ---------- Services ---------- */

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.jump a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-weight: 700;
  text-decoration: none;
}

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

.jump .num {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.75rem;
}

.svc {
  padding-block: clamp(1rem, 2vw, 1.5rem);
}

.svc-panel {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.75rem, 5vw, 4.5rem);
  border-radius: clamp(24px, 3vw, 40px);
  overflow: hidden;
  position: relative;
}

@media (min-width: 60rem) {
  .svc-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
}

.svc-panel.on-blue {
  background:
    radial-gradient(circle at 0% 100%, rgba(8, 26, 122, 0.7), transparent 50%),
    linear-gradient(150deg, var(--blue), var(--blue-deep));
  color: #fff;
}

.svc-panel.on-tang {
  background:
    radial-gradient(circle at 100% 0%, var(--tang-light), transparent 45%),
    var(--tang);
  color: var(--ink);
}

.svc-panel.on-dark {
  background:
    radial-gradient(circle at 100% 100%, rgba(61, 123, 255, 0.5), transparent 45%),
    radial-gradient(circle at 0% 0%, rgba(255, 122, 26, 0.28), transparent 35%),
    var(--ink);
}

.svc-num {
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.svc-name {
  margin-top: 1rem;
  font-size: clamp(3rem, 1.6rem + 6vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
}

.svc-latin {
  margin-top: 0.75rem;
  font-family: var(--mono);
  font-size: 1rem;
  opacity: 0.85;
}

.svc-desc {
  max-width: 26em;
  margin-top: 1.75rem;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 500;
  line-height: 1.6;
}

.svc-intro .btn-row {
  margin-top: 2rem;
}

.svc-type {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.3rem 0.875rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.16);
}

.on-tang .svc-type {
  background: rgba(11, 18, 32, 0.1);
}

.svc-features {
  display: grid;
  gap: 0.75rem;
  align-content: center;
}

@media (min-width: 36rem) {
  .svc-features {
    grid-template-columns: 1fr 1fr;
  }
}

.svc-feature {
  display: grid;
  gap: 1.75rem;
  align-content: space-between;
  min-height: 9.5rem;
  padding: 1.25rem;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.on-tang .svc-feature {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(11, 18, 32, 0.08);
}

.on-dark .svc-feature {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--on-dark-line);
}

.svc-feature .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.svc-feature h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.svc-features--three .svc-feature:first-child {
  grid-column: 1 / -1;
}

/* Comparison table */
.table-card {
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--bg);
  box-shadow: var(--shadow-1);
  overflow-x: auto;
}

.matrix {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.matrix caption {
  padding: 1.5rem 1.5rem 0;
  text-align: left;
  color: var(--slate);
}

.matrix th,
.matrix td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.matrix tbody tr:last-child > * {
  border-bottom: 0;
}

.matrix thead th {
  padding-top: 1.5rem;
  font-size: 1.125rem;
  font-weight: 800;
}

.matrix thead th span {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate);
}

.matrix tbody th {
  font-weight: 700;
  color: var(--ink-2);
}

.matrix tbody tr:hover {
  background: var(--blue-wash);
}

.yes {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 700;
}

.yes::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat,
    var(--blue);
}

.yes-list {
  display: grid;
  gap: 0.5rem;
}

.matrix td,
.matrix tbody th {
  vertical-align: top;
}

@media (forced-colors: active) {
  .yes::before {
    background: CanvasText;
  }
}

/* ---------- Contact ---------- */

.mail-card {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
}

.mail-card::before {
  content: "";
  position: absolute;
  right: -6rem;
  top: -6rem;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 40%, rgba(255, 255, 255, 0.1) 40.5% 41%, transparent 41.5% 60%, rgba(255, 255, 255, 0.08) 60.5% 61%, transparent 61.5%),
    radial-gradient(circle, rgba(255, 122, 26, 0.55), transparent 40%);
  pointer-events: none;
}

.mail-card > * {
  position: relative;
}

.mail-card .status {
  justify-self: start;
  background: rgba(255, 178, 122, 0.16);
  color: var(--tang-light);
}

.mail-address {
  font-family: var(--mono);
  font-size: clamp(1.375rem, 0.8rem + 3vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  color: #fff;
}

.mail-note {
  max-width: 34em;
  color: var(--on-dark-muted);
}

.mail-disabled {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--on-dark-muted);
  font-weight: 700;
}

.steps {
  display: grid;
  gap: 0.75rem;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  border-radius: var(--r);
  background: var(--bg-2);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.steps strong {
  display: block;
  font-size: 1.125rem;
}

.steps p {
  color: var(--slate);
}

.directory {
  display: grid;
  gap: 1rem;
}

@media (min-width: 52rem) {
  .directory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.dir {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--bg);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}

.dir:hover {
  border-color: transparent;
  box-shadow: var(--shadow-2);
  transform: translateY(-4px);
}

.dir-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dir-badge {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
}

.dir-badge .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.dir-name {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.dir-desc {
  display: block;
  margin-top: 0.375rem;
  color: var(--slate);
}

.dir-url {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue);
}

/* ---------- Next page ---------- */

.next {
  padding-block: 0 clamp(3rem, 7vw, 5rem);
}

.next a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--r-l);
  background: var(--bg-2);
  text-decoration: none;
}

.next a:hover {
  background: var(--blue-tint);
}

.next-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate);
}

.next-title {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.next-arrow {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  transition: transform 0.25s var(--ease);
}

.next a:hover .next-arrow {
  transform: translateX(6px);
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: clamp(3.5rem, 7vw, 5rem) 2rem;
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem 3rem;
}

@media (min-width: 52rem) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

.footer-brand p {
  max-width: 22em;
  margin-top: 1rem;
  color: var(--on-dark-muted);
}

.footer-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--on-dark-muted);
}

.footer-list {
  display: grid;
  gap: 0.125rem;
  margin-top: 0.75rem;
}

.footer-list a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding-block: 0.3rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-list a:hover {
  color: var(--tang-light);
}

.footer-list .mono {
  color: var(--on-dark-muted);
  font-weight: 400;
}

.footer-word {
  margin-top: clamp(3rem, 7vw, 5rem);
  font-size: clamp(3.5rem, 1rem + 13vw, 13rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  background: linear-gradient(100deg, var(--blue-bright), var(--blue-soft) 45%, var(--tang-light) 80%, var(--tang));
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}

.colophon {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--on-dark-line);
  font-size: 0.8125rem;
  color: var(--on-dark-muted);
}

.colophon .status {
  background: rgba(255, 178, 122, 0.14);
  color: var(--tang-light);
}

/* ---------- Motion (only when the user has not asked for less) ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes art-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }
}

@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}

@keyframes bob-2 {
  50% {
    transform: translateY(calc(1.5rem - 8px));
  }
}

@keyframes bob-3 {
  50% {
    transform: translateY(calc(3rem - 8px));
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes counter-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.45;
  }
}

@keyframes reveal {
  from {
    opacity: 0.25;
    transform: translateY(40px) scale(0.97);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  a,
  .btn,
  .chip-link,
  .nav-list a {
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
      border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
      transform 0.2s var(--ease);
  }

  .btn:hover,
  .chip-link:hover {
    transform: translateY(-2px);
  }

  .rise {
    animation: rise 0.8s var(--ease) both;
  }

  .rise-2 { animation-delay: 0.08s; }
  .rise-3 { animation-delay: 0.16s; }
  .rise-4 { animation-delay: 0.24s; }

  .hero-art {
    animation: art-in 1s 0.2s var(--ease) both;
  }

  .ticker-track {
    animation: ticker 38s linear infinite;
  }

  .ticker:hover .ticker-track {
    animation-play-state: paused;
  }

  .float-tag {
    animation: bob 5s ease-in-out infinite;
  }

  .ft-2 {
    animation-delay: -2.5s;
  }

  .badge-live::before {
    animation: pulse 1.4s ease-in-out infinite;
  }

  .orbit-spin {
    animation: spin 60s linear infinite;
  }

  .orbit-spin .orbit-node {
    animation: counter-spin 60s linear infinite;
  }

  .orbit:hover .orbit-spin,
  .orbit:hover .orbit-node {
    animation-play-state: paused;
  }

  .tile-stack > div {
    animation: bob 6s ease-in-out infinite;
  }

  .tile-stack > div:nth-child(2) { animation-name: bob-2; animation-delay: -2s; }
  .tile-stack > div:nth-child(3) { animation-name: bob-3; animation-delay: -4s; }

  .role {
    transition: transform 0.25s var(--ease);
  }

  .role:hover {
    transform: translateY(-4px);
  }

  /* Scroll-linked reveal: content is visible by default and only
     animates where the browser supports view timelines. */
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 28%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* The ticker duplicates its content for a seamless loop; without motion,
   show one copy and let it wrap. */
@media (prefers-reduced-motion: reduce) {
  .ticker {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ticker-track {
    width: auto;
  }

  .ticker-group {
    flex-wrap: wrap;
    row-gap: 0.5rem;
    white-space: normal;
  }

  .ticker-group[aria-hidden="true"] {
    display: none;
  }
}

@media (forced-colors: active) {
  .hero-art,
  .stage,
  .cta-panel,
  .svc-panel,
  .role,
  .mail-card {
    border: 1px solid CanvasText;
  }

  .footer-word {
    color: CanvasText;
    background: none;
  }
}
