:root {
  color-scheme: light;
  --ink: #0a0a0a;
  --muted: #6b6b6b;
  --line: #e5e3de;
  --paper: #f7f4ee;
  --white: #ffffff;
  --accent: #b89657;
  --accent-dark: #8e7140;
  --accent-light: #d4be8a;
  --blue: #b89657;
  --coral: #b89657;
  --gold: #b89657;
  --lime: #d4be8a;
  --charcoal: #000000;
  --panel: rgba(255, 255, 255, 0.94);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.15);
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.07), 0 6px 20px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 12px 40px rgba(184, 150, 87, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
  --pointer-x: 50vw;
  --pointer-y: 50vh;
  font-family: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "palt" 1, "kern" 1;
  line-height: 1.78;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

::selection {
  color: var(--white);
  background: var(--accent-dark);
}

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

.cursor-spot {
  position: fixed;
  top: -160px;
  left: -160px;
  z-index: 999;
  width: 320px;
  height: 320px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 150, 87, 0.10), rgba(212, 190, 138, 0.05) 44%, transparent 72%);
  transition: opacity 200ms ease;
}

/* ── Header ───────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(20px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: block;
  width: auto;
  height: 24px;
  flex-shrink: 0;
}

.brand-line {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13.5px;
  letter-spacing: 0.01em;
}

.nav a,
.nav-link-button {
  position: relative;
  color: rgba(255, 255, 255, 0.76);
  transition: color 160ms ease;
}

.nav-link-button {
  padding: 0;
  cursor: pointer;
  border: 0;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
}

.nav a::after,
.nav-link-button::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.nav a:hover,
.nav-link-button:hover {
  color: var(--white);
}

.nav a:hover::after,
.nav-link-button:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav a.is-active {
  color: var(--white);
}

.nav a.is-active::after {
  background: var(--accent-light);
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  transition: background 160ms ease, border-color 160ms ease;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.13) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* ── Mobile nav toggle ────────────────────── */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile nav drawer ────────────────────── */

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  padding: 80px 32px 48px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(20px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 280ms ease,
    transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-drawer.is-open {
  pointer-events: auto;
  opacity: 1;
  transform: none;
}

.nav-drawer a,
.nav-drawer .nav-drawer-btn {
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.76);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease;
}

.nav-drawer a:hover,
.nav-drawer .nav-drawer-btn:hover {
  color: var(--white);
}

.nav-drawer .nav-drawer-cta {
  margin-top: 28px;
  color: var(--accent-light);
  border-bottom: 0;
  font-size: 20px;
}

/* ── Hero ─────────────────────────────────── */

.hero {
  position: relative;
  min-height: clamp(780px, 96svh, 1040px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0a0a0a;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  filter: grayscale(0.28) saturate(0.78) contrast(1.04) brightness(0.78);
}

.hero-overlay {
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(184, 150, 87, 0.10), transparent 24rem),
    linear-gradient(100deg,
      rgba(10, 10, 10, 0.98)  0%,
      rgba(10, 10, 10, 0.92) 34%,
      rgba(10, 10, 10, 0.72) 50%,
      rgba(10, 10, 10, 0.36) 66%,
      rgba(10, 10, 10, 0.10) 84%,
      transparent 100%),
    linear-gradient(180deg,
      rgba(10, 10, 10, 0.38) 0%,
      transparent 22%,
      transparent 70%,
      rgba(10, 10, 10, 0.62) 100%);
}

.hero-grid {
  display: none;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.42;
  background:
    linear-gradient(115deg, transparent 0 46%, rgba(184, 150, 87, 0.22) 46.2%, transparent 46.6%);
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  width: min(920px, 100%);
  max-width: 920px;
  padding: 150px clamp(20px, 6vw, 88px) 192px;
  color: var(--white);
}

/* ── Eyebrow ──────────────────────────────── */

.eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  flex-shrink: 0;
}

.hero .eyebrow {
  color: var(--accent-light);
}

/* ── Type scale ───────────────────────────── */

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
  line-break: strict;
}

h1 {
  max-width: 800px;
  margin-bottom: 26px;
  font-size: 88px;
  line-height: 1.0;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: keep-all;
  text-wrap: balance;
}

.lead {
  max-width: 1080px;
  margin-bottom: 24px;
  font-size: 35px;
  line-height: 1.34;
  font-weight: 600;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: keep-all;
  text-wrap: balance;
}

.hero-hl {
  background: var(--accent);
  color: #0a0a0a;
  padding: 0.08em 0.22em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  display: inline;
}

.hero-copy {
  max-width: min(820px, 100%);
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.94;
  letter-spacing: 0.012em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* ── Buttons ──────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button.primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 6px 24px rgba(184, 150, 87, 0.36);
}

.button.secondary {
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.72);
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 10px 36px rgba(184, 150, 87, 0.46);
}

.button.secondary:hover {
  border-color: rgba(0, 0, 0, 0.38);
  background: rgba(255, 255, 255, 0.92);
}

.hero .button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.hero .button.secondary:hover {
  border-color: rgba(212, 190, 138, 0.56);
  background: rgba(255, 255, 255, 0.12);
}

.button.dark {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.button.dark:hover {
  background: #1a1a1a;
}

.button.ghost {
  margin-left: 10px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
}

/* ── Hero Panel ───────────────────────────── */

.hero-panel {
  position: absolute;
  top: 118px;
  right: clamp(20px, 5vw, 72px);
  width: min(330px, 28vw);
  padding: 24px;
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(28px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
}

.panel-kicker,
.hero-facts span,
.requirements-list dt,
.day span,
.workflow-item span,
.stack-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel .panel-kicker,
.hero-facts span {
  color: var(--muted);
}

.hero-panel strong {
  display: block;
  margin-top: 4px;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.prize-panel {
  border-color: rgba(184, 150, 87, 0.16);
  border-top-color: rgba(184, 150, 87, 0.38);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(28px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
}

.prize-panel .panel-kicker {
  color: var(--accent-dark);
  letter-spacing: 0.14em;
}

.prize-panel strong {
  color: var(--ink);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: none;
}

.hero-panel p {
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.panel-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.panel-stack span {
  padding: 5px 10px;
  color: var(--accent-dark);
  border: 1px solid rgba(184, 150, 87, 0.18);
  border-radius: 999px;
  background: rgba(184, 150, 87, 0.06);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ── Hero facts bar ───────────────────────── */

.hero-facts {
  position: absolute;
  left: clamp(20px, 6vw, 88px);
  right: clamp(20px, 6vw, 88px);
  bottom: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.36);
}

.hero-facts div {
  padding: 20px 24px;
  color: var(--white);
  background: rgba(10, 10, 10, 0.58);
  transition: background 160ms ease;
}

.hero-facts div:hover {
  background: rgba(184, 150, 87, 0.18);
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12.5px;
}

.hero-facts strong {
  display: block;
  margin-top: 7px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}

/* ── Internship pulse ─────────────────────── */

.pulse-section {
  color: var(--ink);
  background: var(--white);
}

.pulse-section .section-heading {
  max-width: 1040px;
}

.pulse-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.pulse-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 240px;
  align-content: start;
  gap: 12px;
  padding: 28px;
  cursor: pointer;
  color: var(--ink);
  border: 0;
  background: var(--white);
  font: inherit;
  text-align: left;
  transition: background 180ms ease, transform 180ms ease;
}

.pulse-card:hover,
.pulse-card.is-active {
  background:
    linear-gradient(160deg, rgba(184, 150, 87, 0.04), transparent 40%),
    var(--white);
}

.pulse-card:hover {
  transform: translateY(-2px);
}

.pulse-card span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse-card strong {
  font-size: 25px;
  line-height: 1.36;
  font-weight: 800;
  letter-spacing: 0;
}

.pulse-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.82;
}

/* ── Photo band ───────────────────────────── */

.photo-band {
  display: grid;
  grid-template-columns: minmax(360px, 1.18fr) minmax(280px, 0.82fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 7vw, 108px) clamp(20px, 6vw, 88px);
  background: #eceff0;
}

.photo-band.is-muted img,
.inline-photo img,
.culture-media img {
  filter: grayscale(0.12) saturate(0.72) contrast(1.04);
}

.photo-band-main,
.inline-photo,
.culture-media {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: var(--charcoal);
  box-shadow: var(--shadow-sm);
}

.photo-band-main {
  aspect-ratio: 16 / 9;
}

.photo-band-main img,
.inline-photo img,
.culture-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-band-main img {
  object-position: center 28%;
}

.photo-band-main figcaption,
.inline-photo figcaption {
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.72);
  background: #000000;
  font-size: 12.5px;
  line-height: 1.65;
}

.photo-band-copy span {
  display: block;
  color: #415157;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.photo-band-copy strong {
  display: block;
  margin-top: 12px;
  color: #11181c;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
}

.photo-band-copy p {
  margin: 22px 0 0;
  color: #3f4b50;
  font-size: 17px;
  line-height: 1.9;
}

/* ── Required ability ─────────────────────── */

.ability-section {
  background: var(--white);
}

.ability-section .section-heading {
  max-width: 1120px;
}

.ability-lead {
  display: grid;
  max-width: 840px;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 34px;
}

.ability-lead p {
  margin: 0;
  color: #364048;
  font-size: 18px;
  line-height: 1.92;
  text-wrap: pretty;
}

.ability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.ability-grid article {
  min-height: 210px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(184, 150, 87, 0.04), transparent 46%),
    var(--white);
}

.ability-grid span {
  display: block;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ability-grid h3 {
  margin: 16px 0 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.ability-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.86;
}

/* ── Section base ─────────────────────────── */

.section {
  position: relative;
  padding: clamp(88px, 9vw, 148px) clamp(20px, 6vw, 88px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-heading .eyebrow {
  margin-bottom: 16px;
}

.section-heading h2,
.diagnosis-section h2,
.feedback-section h2,
.entry h2 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.36;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.text-nowrap {
  white-space: nowrap;
}

/* ── Interactive diagnosis ────────────────── */

.diagnosis-section {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 100% 20%, rgba(184, 150, 87, 0.11), transparent 34%),
    linear-gradient(180deg, #f5f0ee, #ede8e4);
}

.diagnosis-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: stretch;
}

.diagnosis-copy {
  display: grid;
  max-width: 840px;
  grid-template-columns: 1fr;
  gap: 16px;
  color: #364048;
  font-size: 18px;
  line-height: 1.95;
  letter-spacing: 0.006em;
}

.diagnosis-copy p {
  margin: 0;
}

.diagnosis-tool {
  position: relative;
  min-width: 0;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  color: var(--ink);
  border: solid rgba(0, 0, 0, 0.1);
  border-width: 1px 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 88% 40%, rgba(184, 150, 87, 0.10), transparent 28%),
    linear-gradient(135deg, rgba(184, 150, 87, 0.06), transparent 38%),
    rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.diagnosis-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 28px clamp(20px, 6vw, 88px) 22px;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.diagnosis-topline span,
.diagnosis-result span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.diagnosis-topline strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}

.diagnosis-count {
  margin-left: auto;
  padding: 8px 10px;
  border: 1px solid rgba(184, 150, 87, 0.15);
  border-radius: 999px;
  background: rgba(184, 150, 87, 0.06);
}

.diagnosis-dots {
  display: flex;
  gap: 8px;
}

.diagnosis-dots button {
  width: 38px;
  height: 6px;
  padding: 0;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.13);
  transition: width 180ms ease, background 180ms ease;
}

.diagnosis-dots button.is-active {
  width: 56px;
  background: var(--ink);
}

.diagnosis-dots button.is-answered {
  background: var(--accent);
}

.diagnosis-console {
  display: block;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.95));
}

.diagnosis-scoreboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  background: transparent;
}

.diagnosis-scoreboard p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.score-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 10px;
  align-items: center;
}

.score-row span {
  color: #3f4b50;
  font-size: 13px;
  font-weight: 800;
}

.score-row strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
}

.score-row i {
  grid-column: 1 / -1;
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
}

.score-row i::before {
  display: block;
  width: var(--score-width, 0%);
  height: 100%;
  content: "";
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--ink));
  transition: width 220ms ease;
}

.diagnosis-stage {
  min-width: 0;
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 76px) clamp(20px, 6vw, 88px) clamp(42px, 5vw, 76px);
  background: transparent;
}

.diagnosis-questions {
  position: relative;
  min-height: 330px;
}

.diagnosis-question {
  display: none;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.diagnosis-question.is-active {
  display: block;
  animation: diagnosisIn 180ms ease both;
}

.question-index {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  color: var(--accent-dark);
  border: 1px solid rgba(184, 150, 87, 0.18);
  border-radius: 999px;
  background: rgba(184, 150, 87, 0.07);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.diagnosis-question h3 {
  max-width: 1040px;
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(30px, 3.6vw, 58px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.diagnosis-options {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.diagnosis-options button {
  position: relative;
  max-width: 100%;
  min-height: 96px;
  padding: 18px 20px 18px 52px;
  cursor: pointer;
  color: #273237;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: normal;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.diagnosis-options button::before {
  position: absolute;
  top: 20px;
  left: 18px;
  width: 12px;
  height: 12px;
  content: "";
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-radius: 50%;
  background: transparent;
}

.diagnosis-options button:hover {
  transform: translateY(-2px);
  color: var(--ink);
  border-color: rgba(184, 150, 87, 0.34);
  background: #faf6ec;
}

.diagnosis-options button.is-selected {
  color: var(--ink);
  border-color: rgba(184, 150, 87, 0.5);
  background:
    linear-gradient(90deg, rgba(184, 150, 87, 0.12), transparent 42%),
    #fbf8ee;
}

.diagnosis-options button.is-selected::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 18px rgba(184, 150, 87, 0.28);
}

.diagnosis-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
}

.diagnosis-nav button {
  min-height: 42px;
  padding: 10px 14px;
  cursor: pointer;
  color: #3f4b50;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbf8f1;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.diagnosis-nav button:hover {
  color: var(--ink);
  border-color: rgba(184, 150, 87, 0.26);
}

.diagnosis-tool.is-complete .diagnosis-dots {
  opacity: 0.45;
}

.diagnosis-result {
  display: none;
  max-width: 1360px;
  gap: 20px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 86px) clamp(20px, 6vw, 88px) clamp(48px, 6vw, 92px);
  color: var(--ink);
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 90% 50%, rgba(184, 150, 87, 0.12), transparent 34%),
    transparent;
}

.diagnosis-result.is-complete {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  align-items: start;
}

.diagnosis-result > strong {
  grid-column: 1;
  max-width: 100%;
  font-size: clamp(34px, 3.6vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

.diagnosis-result > p {
  grid-column: 1;
  max-width: 720px;
  margin: 0;
  color: #3f4b50;
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: 0.004em;
}

.diagnosis-detail {
  grid-column: 1;
  display: grid;
  gap: 14px;
  max-width: 780px;
}

.diagnosis-detail section {
  padding: 18px 20px;
  border: 1px solid rgba(184, 150, 87, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.diagnosis-detail h4 {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.diagnosis-detail p,
.diagnosis-detail li {
  margin: 0;
  color: #3f4b50;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.004em;
}

.diagnosis-detail p + p {
  margin-top: 8px;
}

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

.diagnosis-detail li {
  position: relative;
  padding-left: 18px;
}

.diagnosis-detail li::before {
  position: absolute;
  top: 0.8em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 999px;
  background: var(--accent);
}

.diagnosis-result .diagnosis-scoreboard {
  grid-column: 2;
  grid-row: 1 / span 5;
  padding: 28px;
  border: 1px solid rgba(184, 150, 87, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.diagnosis-result .diagnosis-scoreboard p {
  grid-column: 1 / -1;
  max-width: none;
  color: var(--accent-dark);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.diagnosis-result .score-row span {
  color: #3f4b50;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.diagnosis-result .score-row strong {
  max-width: none;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
}

.diagnosis-actions {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.diagnosis-tool.is-complete .diagnosis-stage {
  display: none;
}

.diagnosis-result .button.secondary {
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.2);
  background: var(--white);
}

.diagnosis-reset {
  width: fit-content;
  padding: 0;
  cursor: pointer;
  color: var(--accent-dark);
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@keyframes diagnosisIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Prize section ────────────────────────── */

.prize-section {
  color: var(--ink);
  background: var(--paper);
}

.prize-section .section-heading {
  max-width: 1060px;
}

.prize-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: stretch;
}

.prize-amount {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  border: 1px solid rgba(184, 150, 87, 0.18);
  border-top-color: rgba(184, 150, 87, 0.42);
  border-radius: 10px;
  background:
    linear-gradient(160deg, rgba(184, 150, 87, 0.04) 0%, transparent 44%),
    var(--white);
  box-shadow: var(--shadow-sm);
}

.prize-amount span {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prize-amount strong {
  margin-top: 8px;
  color: var(--ink);
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: none;
}

.prize-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prize-copy p {
  margin: 0;
  color: #364048;
  font-size: 20px;
  line-height: 1.95;
  letter-spacing: 0.006em;
}

/* ── Manifesto ────────────────────────────── */

.manifesto {
  padding: clamp(64px, 7vw, 120px) clamp(24px, 6vw, 88px);
  background: linear-gradient(170deg, #ffffff 0%, #fdf5f2 100%);
}

.manifesto-inner {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-headline {
  margin: 0 0 clamp(28px, 3vw, 48px);
  font-family: 'Shippori Mincho B1', 'Noto Serif JP', Georgia, serif;
  font-size: clamp(30px, 3.8vw, 54px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #000;
}

.manifesto-lines {
  display: flex;
  flex-direction: column;
}

.manifesto-lines p {
  margin: 0;
  padding: clamp(12px, 1.4vw, 22px) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.8;
  letter-spacing: 0.015em;
  color: #2a2a2a;
  text-wrap: balance;
}

.manifesto-lines p:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.09);
  font-style: italic;
  color: #555;
}

.manifesto-lines p:last-child {
  font-weight: 700;
  color: #000;
  letter-spacing: 0.01em;
}

/* ── Intro ────────────────────────────────── */

.intro-copy,
.challenge-text,
.selection-copy {
  max-width: 800px;
  color: #364048;
  font-size: 18px;
  line-height: 1.96;
  letter-spacing: 0.008em;
}

.inline-photo {
  margin-top: 28px;
  aspect-ratio: 16 / 9;
}

.inline-photo img {
  object-position: center center;
}

/* ── Challenge ────────────────────────────── */

.challenge {
  background: var(--white);
}

.challenge-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.challenge-copy .section-heading {
  margin-bottom: 42px;
}

.workflow,
.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* ── Cards — shared ───────────────────────── */

.workflow-item,
.criteria-grid article,
.day,
.faq details,
.stack-grid article,
.leader-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

/* Top accent animation — light cards */
.workflow-item::before,
.criteria-grid article::before,
.day::before,
.faq details::before,
.feedback-card::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
}

/* Top accent animation — stack and leader cards */
.stack-grid article::before,
.leader-card::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
}

.workflow-item:hover,
.criteria-grid article:hover,
.day:hover,
.faq details:hover,
.stack-grid article:hover,
.leader-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 150, 87, 0.26);
  box-shadow: var(--shadow-hover);
}

.workflow-item:hover::before,
.criteria-grid article:hover::before,
.day:hover::before,
.faq details:hover::before,
.feedback-card:hover::before,
.stack-grid article:hover::before,
.leader-card:hover::before {
  transform: scaleX(1);
}

/* ── Workflow items ───────────────────────── */

.workflow-item {
  min-height: 208px;
  padding: 26px;
}

.workflow-item span,
.day span,
.stack-grid span {
  color: var(--accent);
}

.workflow-item strong {
  display: block;
  margin: 10px 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
}

.workflow-item p,
.criteria-grid p,
.day p,
.faq p,
.stack-grid p {
  position: relative;
  margin: 0;
  color: var(--muted);
  line-height: 1.84;
  letter-spacing: 0.004em;
}

/* ── Stack section ────────────────────────── */

.stack-section {
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stack-section .section-heading {
  max-width: 1060px;
}

.stack-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stack-grid article {
  min-height: 200px;
  padding: 28px;
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.stack-grid h3 {
  position: relative;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
}

.stack-grid p {
  color: var(--muted);
}

/* ── Culture photo section ────────────────── */

.culture-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 14%, rgba(184, 150, 87, 0.06), transparent 30%),
    #000000;
}

.culture-media {
  aspect-ratio: 4 / 5;
}

.culture-media img {
  object-position: 56% center;
}

.culture-copy {
  max-width: 760px;
}

.culture-copy .eyebrow {
  color: var(--accent-light);
}

.culture-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

.culture-copy p:not(.eyebrow) {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.92;
}

/* ── Evaluation ───────────────────────────── */

.evaluation {
  background: var(--white);
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.criteria-grid article {
  min-height: 188px;
  padding: 26px;
}

.criteria-grid article:last-child:nth-child(3n + 1) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 48px;
  align-items: center;
  min-height: 0;
}

.criteria-grid article:last-child:nth-child(3n + 1) h3 {
  white-space: nowrap;
}

.criteria-grid h3,
.day h3 {
  position: relative;
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: 0;
}

/* ── 5-Day program ────────────────────────── */

.program {
  background: var(--paper);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.day {
  min-height: 224px;
  padding: 24px;
}

/* ── Feedback ─────────────────────────────── */

.feedback-section {
  background: var(--white);
}

.feedback-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
}

.feedback-heading {
  max-width: 760px;
}

.feedback-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.feedback-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 150, 87, 0.26);
  box-shadow: var(--shadow-hover);
}

.feedback-card p {
  position: relative;
  margin: 0;
  color: #364048;
  font-size: 18px;
  line-height: 1.95;
  letter-spacing: 0.008em;
}

.feedback-points {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.feedback-points span {
  padding: 8px 12px;
  color: var(--accent-dark);
  border: 1px solid rgba(184, 150, 87, 0.18);
  border-radius: 999px;
  background: rgba(184, 150, 87, 0.07);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.004em;
}

/* ── Leaders ──────────────────────────────── */

.leaders-section {
  color: var(--ink);
  background: var(--white);
}

.leaders-section .section-heading {
  max-width: 1080px;
}

.leaders-section .section-heading p:not(.eyebrow) {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: 0.004em;
}

.leaders-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.leader-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.leader-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.leader-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.leader-photo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  margin: 0;
  overflow: hidden;
  border-radius: 50%;
  outline: 1.5px solid rgba(184, 150, 87, 0.18);
  outline-offset: 2px;
  background: var(--paper);
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 360ms ease;
}

.leader-card:hover .leader-photo img {
  transform: scale(1.04);
}

.leader-meta {
  flex: 1;
  min-width: 0;
}

.leader-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 6px;
  padding: 5px 9px;
  color: var(--accent-dark);
  border: 1px solid rgba(184, 150, 87, 0.18);
  border-radius: 999px;
  background: rgba(184, 150, 87, 0.06);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.leader-card h3 {
  position: relative;
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0;
}

.leader-card p {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.82;
  letter-spacing: 0.004em;
}

.leader-bio {
  flex: 1;
}

.leader-review {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.leader-review span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.leader-review p {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.72;
}

/* ── Requirements + Selection ─────────────── */

.requirements {
  background: var(--paper);
}

.selection {
  background: var(--white);
}

.requirements-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.requirements-list div {
  position: relative;
  overflow: hidden;
  min-height: 116px;
  padding: 22px;
  background: var(--white);
  transition: background 160ms ease;
}

.requirements-list div:hover {
  background: #faf6ec;
}

.requirements-list dt {
  margin-bottom: 8px;
  color: var(--accent);
}

.requirements-list dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
  line-break: strict;
  line-height: 1.72;
  letter-spacing: 0.002em;
}

.requirements-list .requirements-deadline {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
  min-height: 0;
  padding: 20px 22px;
  background: linear-gradient(120deg, rgba(184, 150, 87, 0.14), rgba(184, 150, 87, 0.04));
}

.requirements-list .requirements-deadline:hover {
  background: linear-gradient(120deg, rgba(184, 150, 87, 0.18), rgba(184, 150, 87, 0.06));
}

.requirements-deadline dt {
  margin-bottom: 0;
  font-weight: 900;
}

.requirements-deadline dd {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}

.selection {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  column-gap: clamp(40px, 8vw, 112px);
  row-gap: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

.selection-flow {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 148px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.flow-step:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 150, 87, 0.26);
  box-shadow: var(--shadow-hover);
}

.flow-step .flow-num {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.flow-step h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
}

.flow-step p {
  margin: 0;
  color: #4a5560;
  font-size: 13.5px;
  line-height: 1.7;
}

.flow-step.is-goal {
  border-color: rgba(184, 150, 87, 0.34);
  background: linear-gradient(160deg, rgba(184, 150, 87, 0.13), rgba(184, 150, 87, 0.03));
}

.flow-step.is-goal .flow-num {
  color: var(--accent-dark);
}

.selection-flow .flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  left: calc(100% + 14px);
  transform: translate(-50%, -50%);
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .selection-flow {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .selection-flow .flow-step:not(:last-child)::after {
    top: calc(100% + 7px);
    left: 50%;
    content: "↓";
    font-size: 16px;
  }
}

/* ── FAQ ──────────────────────────────────── */

.faq {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq details {
  padding: 22px 24px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.002em;
  overflow-wrap: anywhere;
  line-break: strict;
  transition: color 160ms ease;
}

.faq details[open] summary,
.faq summary:hover {
  color: var(--accent-dark);
}

.faq p {
  margin-top: 14px;
}

/* ── Entry CTA ────────────────────────────── */

.entry {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 11vw, 154px) clamp(20px, 6vw, 88px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(184, 150, 87, 0.18), transparent 42%),
    var(--charcoal);
}

.entry::before {
  position: absolute;
  right: clamp(-80px, -4vw, -32px);
  bottom: clamp(-64px, -4vw, -28px);
  content: "ENTRY";
  color: rgba(255, 255, 255, 0.045);
  font-size: clamp(104px, 20vw, 330px);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 0.72;
  pointer-events: none;
}

.entry-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(300px, 0.68fr);
  gap: clamp(36px, 8vw, 128px);
  align-items: end;
  max-width: 1180px;
}

.entry-heading {
  max-width: 760px;
}

.entry-heading span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.entry-heading p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.9;
  letter-spacing: 0.006em;
}

.entry-conversion {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.entry-conversion > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.entry-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-width: min(100%, 380px);
  min-height: 86px;
  padding: 20px 24px 20px 32px;
  color: var(--ink);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32), 0 10px 34px rgba(255, 255, 255, 0.16);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 900;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.entry-cta::after {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 48px;
  content: "→";
  color: var(--white);
  border-radius: 50%;
  background: var(--accent-dark);
  font-size: 24px;
  line-height: 1;
}

.entry-cta:hover {
  transform: translateY(-3px);
  background: #faf6ec;
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.38), 0 12px 40px rgba(255, 255, 255, 0.2);
}

.entry-sub-action {
  padding: 0;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.76);
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.entry-sub-action:hover {
  color: var(--white);
}

.entry-checklist {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: clamp(18px, 3vw, 42px);
  max-width: 1180px;
  margin-top: clamp(42px, 7vw, 86px);
}

.entry-checklist div {
  display: grid;
  gap: 10px;
  align-content: start;
}

.entry-checklist span {
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 800;
}

.entry-checklist p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.78;
}

.entry-status {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: clamp(28px, 4vw, 48px) 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.7;
}

.entry-status:empty {
  display: none;
}

/* ── Footer ───────────────────────────────── */

.footer {
  padding: clamp(60px, 7vw, 96px) clamp(20px, 6vw, 88px) 0;
  color: rgba(255, 255, 255, 0.56);
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13.5px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: block;
  width: auto;
  height: 28px;
  margin-bottom: 16px;
}

.footer-tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 12.5px;
  line-height: 1.8;
}

.footer-label {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-dl {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.footer-dl > div {
  display: grid;
  grid-template-columns: 5em 1fr;
  gap: 8px;
}

.footer-dl dt {
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  line-height: 1.7;
}

.footer-dl dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.7;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a,
.footer-link-btn {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 160ms ease;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  font-size: 13.5px;
}

.footer-nav a:hover,
.footer-link-btn:hover {
  color: var(--white);
}

.footer-copy {
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  letter-spacing: 0.01em;
}

/* ── Sticky entry + modal ─────────────────── */

.sticky-entry {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: clamp(280px, 38vw, 440px);
}

.sticky-entry-deadline {
  margin: 0;
  padding: 6px 16px;
  border: 1px solid rgba(13, 13, 13, 0.12);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.16);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.sticky-entry-deadline .deadline-label {
  margin-right: 6px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.sticky-entry a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: clamp(64px, 6vw, 80px);
  padding: 0 12px 0 clamp(24px, 3vw, 36px);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.48), 0 20px 56px rgba(0, 0, 0, 0.28);
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.sticky-entry a::before {
  display: none;
}

.sticky-entry a::after {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: clamp(44px, 4.5vw, 56px);
  height: clamp(44px, 4.5vw, 56px);
  content: "→";
  color: var(--ink);
  border-radius: 50%;
  background: var(--white);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
  line-height: 1;
}

.sticky-entry span {
  position: static;
  color: var(--white);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 900;
  letter-spacing: 0.16em;
  transform: none;
}

.sticky-entry a:hover {
  transform: translateY(-3px);
  background: #1a1a1a;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.56), 0 28px 72px rgba(0, 0, 0, 0.36);
}

/* ── Entry form page ──────────────────────── */

.entry-form-page {
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f7f3ef 0%, #fffaf6 46%, #f6f3f0 100%);
}

.form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(20px, 5vw, 64px);
  color: var(--ink);
  border-bottom: 1px solid rgba(13, 13, 13, 0.1);
  background: rgba(255, 250, 246, 0.9);
  backdrop-filter: blur(18px);
}

.form-header a {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.form-header span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.form-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 88px) 0 clamp(54px, 8vw, 104px);
}

.form-intro {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.form-back {
  width: fit-content;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.form-back::before {
  content: '< ';
}

.form-intro > p:not(.form-lead),
.form-wrap-heading p {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.form-intro h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.form-lead {
  max-width: 680px;
  margin: 0;
  color: #3e3b38;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.85;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.form-summary {
  position: sticky;
  top: 28px;
  padding-top: 8px;
}

.form-summary > p {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.form-summary dl {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(13, 13, 13, 0.14);
}

.form-summary div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(13, 13, 13, 0.14);
}

.form-summary dt {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.form-summary dd {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
}

.form-wrap-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-wrap-heading p {
  color: var(--accent);
}

.form-wrap-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.28;
}

.form-frame {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border: 1px solid rgba(13, 13, 13, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 64px rgba(13, 13, 13, 0.07);
}

.form-frame iframe:not([hidden]) {
  display: block;
  width: 100%;
  height: min(1280px, 150vh);
  border: 0;
  background: var(--white);
}

.entry-application-form {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 4vw, 44px);
}

.entry-application-form fieldset {
  display: grid;
  gap: 18px;
  min-width: 0;
  margin: 0;
  padding: 0 0 28px;
  border: 0;
  border-bottom: 1px solid rgba(13, 13, 13, 0.1);
}

.entry-application-form fieldset:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.entry-application-form legend {
  padding: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid-compact {
  max-width: 560px;
}

.entry-application-form label {
  display: grid;
  gap: 8px;
  margin: 0;
}

.entry-application-form label span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.entry-application-form input,
.entry-application-form select,
.entry-application-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  color: var(--ink);
  border: 1px solid rgba(13, 13, 13, 0.18);
  border-radius: 6px;
  background: #fbfaf7;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  resize: vertical;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.entry-application-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(13, 13, 13, 0.55) 50%),
    linear-gradient(135deg, rgba(13, 13, 13, 0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

.entry-application-form textarea {
  line-height: 1.7;
}

.entry-application-form input:focus,
.entry-application-form select:focus,
.entry-application-form textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(184, 150, 87, 0.14);
}

.entry-application-form ::placeholder {
  color: rgba(13, 13, 13, 0.36);
  font-weight: 600;
}

.education-list {
  display: grid;
  gap: 18px;
}

.education-item {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-radius: 8px;
  background: rgba(251, 250, 247, 0.72);
}

.education-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.education-item h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
}

.form-add-button,
.education-remove-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(13, 13, 13, 0.16);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.form-add-button {
  justify-self: start;
}

.form-add-button:hover,
.education-remove-button:hover {
  color: var(--accent-dark);
  border-color: rgba(184, 150, 87, 0.5);
  background: rgba(184, 150, 87, 0.07);
}

.education-remove-button {
  min-height: 36px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 12px;
}

.education-remove-button[hidden] {
  display: none;
}

.form-checkbox {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(13, 13, 13, 0.12);
  border-radius: 6px;
  background: #fbfaf7;
}

.form-checkbox input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: var(--accent-dark);
}

.form-checkbox span {
  color: #2d2a26;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 10px;
  padding: 16px 22px;
  color: var(--white);
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.form-submit:hover {
  background: var(--accent-dark);
  box-shadow: 0 12px 30px rgba(13, 13, 13, 0.16);
  transform: translateY(-1px);
}

.form-submit-note,
.form-submit-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.form-submit-status {
  min-height: 1.7em;
  color: var(--accent-dark);
  font-weight: 900;
}

.form-placeholder {
  display: grid;
  place-content: center;
  min-height: 740px;
  padding: 32px;
  color: var(--ink);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(184, 150, 87, 0.04), transparent 34%),
    var(--white);
}

.form-placeholder strong {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.36;
}

.form-placeholder p {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--muted);
}

.form-placeholder[hidden],
.form-frame iframe[hidden],
.form-submit-target[hidden] {
  display: none;
}

.is-modal-open {
  overflow: hidden;
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-layer[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.modal {
  position: relative;
  width: min(880px, 100%);
  max-height: min(760px, calc(100svh - 40px));
  overflow: auto;
  padding: clamp(28px, 4vw, 48px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background:
    radial-gradient(circle at 88% 12%, rgba(184, 150, 87, 0.14), transparent 26%),
    radial-gradient(circle at 8% 92%, rgba(184, 150, 87, 0.10), transparent 28%),
    #000000;
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.42);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 22px;
  line-height: 1;
}

.modal h2 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.modal-body {
  color: rgba(255, 255, 255, 0.74);
}

.modal-schedule,
.modal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.modal-schedule article,
.modal-grid article {
  min-height: 180px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.modal-schedule span,
.modal-grid span,
.modal-steps span {
  color: var(--lime);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-schedule strong,
.modal-grid strong {
  display: block;
  margin: 8px 0 10px;
  color: var(--white);
  font-size: 21px;
  line-height: 1.32;
}

.modal-schedule p,
.modal-grid p,
.modal-steps p {
  margin: 0;
  line-height: 1.82;
}

.modal-action {
  margin-top: 20px;
}

.modal-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modal-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

/* ── Responsive ───────────────────────────── */

@media (max-width: 1100px) {
  .hero-panel {
    display: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: fixed;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: clamp(820px, 100svh, 1120px);
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 230px;
  }

  h1 {
    font-size: 68px;
  }

  .lead {
    font-size: 29px;
  }

  .section-heading h2,
  .diagnosis-section h2,
  .feedback-section h2,
  .entry h2 {
    font-size: 28px;
  }

  .hero-facts,
  .intro,
  .photo-band,
  .diagnosis-layout,
  .challenge-layout,
  .prize-layout,
  .culture-section,
  .feedback-layout,
  .selection {
    grid-template-columns: 1fr;
  }

  .hero-facts,
  .criteria-grid,
  .timeline,
  .ability-grid,
  .stack-grid,
  .leaders-layout,
  .modal-schedule,
  .modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry-layout,
  .entry-checklist {
    grid-template-columns: 1fr;
  }

  .diagnosis-result.is-complete {
    grid-template-columns: 1fr;
  }

  .diagnosis-result .diagnosis-scoreboard,
  .diagnosis-result > strong,
  .diagnosis-result > p,
  .diagnosis-detail,
  .diagnosis-actions {
    grid-column: 1;
  }

  .diagnosis-result .diagnosis-scoreboard {
    grid-row: auto;
  }
}

@media (max-width: 1024px) {
  .form-layout {
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 40px);
  }

  .form-summary {
    position: static;
    padding-top: 0;
  }

  .form-summary dl {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px 28px;
    border-bottom: 1px solid rgba(13, 13, 13, 0.14);
  }

  .form-summary div {
    padding: 14px 0;
    border-bottom: 0;
  }

  .form-wrap {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .cursor-spot {
    display: none;
  }

  .brand-line {
    display: none;
  }

  .hero-content {
    padding: 108px 20px 24px;
  }

  h1 {
    width: min(100%, 340px);
    font-size: 40px;
    letter-spacing: 0;
    overflow-wrap: break-word;
  }

  .lead {
    width: min(100%, 330px);
    font-size: 23px;
  }

  .section-heading h2,
  .diagnosis-section h2,
  .feedback-section h2,
  .entry h2 {
    font-size: 22px;
    letter-spacing: -0.01em;
  }

  .manifesto-headline {
    font-size: 28px;
    line-height: 1.28;
  }

  .entry {
    padding-bottom: 128px;
  }

  .entry-cta {
    width: 100%;
    min-width: 0;
    min-height: 76px;
  }

  .hero-copy {
    width: min(100%, 318px);
    max-width: 318px;
    font-size: 16px;
    word-break: break-all;
  }

  .hero-facts {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    margin: 0 20px 28px;
  }

  .hero-facts div {
    padding: 14px 16px;
  }

  .diagnosis-options,
  .ability-lead,
  .ability-grid,
  .workflow,
  .criteria-grid,
  .timeline,
  .requirements-list,
  .stack-grid,
  .leaders-layout,
  .pulse-layout,
  .modal-schedule,
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .pulse-card {
    min-height: 210px;
  }

  .photo-band {
    padding: 64px 20px;
  }

  .photo-band-main,
  .inline-photo {
    aspect-ratio: 4 / 3;
  }

  .culture-media {
    aspect-ratio: 16 / 10;
  }

  .section {
    padding: 72px 20px;
  }

  .diagnosis-copy {
    grid-template-columns: 1fr;
    font-size: 16px;
  }

  .diagnosis-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .diagnosis-dots {
    width: 100%;
  }

  .diagnosis-dots button {
    flex: 1;
    width: auto;
  }

  .diagnosis-dots button.is-active {
    width: auto;
  }

  .diagnosis-scoreboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .diagnosis-scoreboard p {
    grid-column: 1 / -1;
  }

  .diagnosis-result.is-complete {
    grid-template-columns: 1fr;
  }

  .diagnosis-result .diagnosis-scoreboard,
  .diagnosis-result > strong,
  .diagnosis-result > p,
  .diagnosis-detail,
  .diagnosis-actions {
    grid-column: 1;
  }

  .diagnosis-stage {
    padding: 22px 18px;
  }

  .diagnosis-questions {
    min-height: 420px;
  }

  .diagnosis-question {
    padding: 0;
  }

  .diagnosis-question h3 {
    font-size: 25px;
  }

  .diagnosis-options button {
    min-height: auto;
  }

  .diagnosis-result {
    padding: 22px;
  }

  .diagnosis-result > strong {
    font-size: 25px;
  }

  .workflow-item,
  .criteria-grid article,
  .day,
  .stack-grid article,
  .feedback-card,
  .leader-card {
    min-height: auto;
  }

  .prize-amount {
    min-height: 190px;
    padding: 24px;
  }

  .prize-amount strong {
    font-size: 56px;
  }

  .prize-copy p {
    font-size: 17px;
  }

  .feedback-card {
    padding: 24px;
  }

  .leader-card {
    padding: 0;
  }

  .leader-content {
    padding: 22px;
  }

  .leader-card h3 {
    font-size: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sticky-entry {
    left: 16px;
    right: 16px;
    bottom: 20px;
    width: auto;
    transform: translateY(calc(100% + 24px));
  }

  .sticky-entry.is-visible {
    transform: none;
  }

  .sticky-entry a {
    width: 100%;
    height: 60px;
    padding: 0 10px 0 24px;
  }

  .modal {
    padding: 28px 20px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }

  .modal-steps li {
    grid-template-columns: 1fr;
  }

  .form-shell {
    width: min(100% - 40px, 1180px);
    min-height: auto;
    padding: 34px 0 56px;
  }

  .form-header {
    padding: 18px 20px;
  }

  .form-header a {
    max-width: 230px;
    line-height: 1.35;
  }

  .form-intro {
    margin-bottom: 30px;
  }

  .form-intro h1 {
    width: auto;
    font-size: 44px;
  }

  .form-lead {
    font-size: 16px;
  }

  .form-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .form-summary {
    position: static;
    padding-top: 0;
  }

  .form-summary dl {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .form-summary div {
    padding: 18px 0;
    border-bottom: 1px solid rgba(13, 13, 13, 0.14);
  }

  .form-wrap {
    max-width: none;
  }

  .form-wrap-heading {
    margin-bottom: 16px;
  }

  .form-wrap-heading h2 {
    font-size: 24px;
  }

  .entry-application-form {
    padding: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-placeholder {
    min-height: 620px;
  }
}

/* ── Scroll progress bar ──────────────────── */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  pointer-events: none;
  transition: width 80ms linear;
}

/* ── Header scroll state ──────────────────── */

.site-header {
  transition:
    background 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.32);
}

/* ── Scroll reveal system ─────────────────── */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 680ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js [data-reveal][data-delay="1"] { transition-delay: 80ms; }
.js [data-reveal][data-delay="2"] { transition-delay: 160ms; }
.js [data-reveal][data-delay="3"] { transition-delay: 240ms; }
.js [data-reveal][data-delay="4"] { transition-delay: 320ms; }
.js [data-reveal][data-delay="5"] { transition-delay: 400ms; }
.js [data-reveal][data-delay="6"] { transition-delay: 480ms; }

/* ── Sticky entry show / hide ─────────────── */

.sticky-entry {
  transform: translateX(-50%) translateY(calc(100% + 40px));
  opacity: 0;
  transition:
    transform 400ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 400ms ease;
}

.sticky-entry.is-visible {
  transform: translateX(-50%);
  opacity: 1;
}

/* ── Mobile sticky-entry transform override ──
   Must come after the show/hide block above so
   translateX(-50%) is neutralised on narrow screens. ── */

@media (max-width: 640px) {
  .sticky-entry { transform: translateY(calc(100% + 24px)); }
  .sticky-entry.is-visible { transform: none; }
}

/* ── Prize amount glint on count end ──────── */

.prize-amount strong {
  position: relative;
  overflow: hidden;
}

@keyframes prizeGlint {
  from { transform: translateX(-120%); }
  to   { transform: translateX(240%); }
}

.prize-amount strong.is-counted::after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: '';
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 224, 140, 0.55) 50%,
    transparent 70%
  );
  animation: prizeGlint 720ms 60ms ease-out forwards;
}

/* ── Reduced motion overrides ─────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .cursor-spot {
    display: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .sticky-entry {
    transform: none;
    opacity: 1;
    transition: none;
  }
}
