:root {
  --ink: #12130f;
  --muted: #5c6258;
  --paper: #fbf6e9;
  --panel: #fffdf7;
  --line: rgba(18, 19, 15, 0.16);
  --shadow: rgba(22, 25, 18, 0.18);
  --accent: #d74b38;
  --accent-2: #2474a8;
  --accent-3: #78b63f;
  --dark: #151713;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    linear-gradient(90deg, rgba(18, 19, 15, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 19, 15, 0.032) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--accent) 22%, transparent) 0 120px, transparent 122px),
    linear-gradient(180deg, rgba(255, 253, 247, 0.86), rgba(235, 229, 214, 0.72));
  overflow-x: hidden;
}

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

.poster-shell {
  width: min(100%, 1480px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(16px, 3.8vw, 56px);
  display: grid;
  place-items: center;
}

.poster-sheet {
  position: relative;
  width: min(100%, 1200px);
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(18, 19, 15, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 19, 15, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #fffdf7 0%, var(--paper) 56%, color-mix(in srgb, var(--accent-2) 13%, #f8f1df) 100%);
  background-size: 42px 42px, 42px 42px, 100% 100%;
  box-shadow: 18px 18px 0 var(--dark), 0 28px 80px var(--shadow);
}

.poster-sheet::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(18, 19, 15, 0.28);
  border-radius: 16px;
  pointer-events: none;
  z-index: 3;
}

.poster-content {
  position: relative;
  z-index: 2;
  padding: clamp(34px, 6vw, 78px);
}

.topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.brand-chip,
.audience-chip {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.82);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-chip img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.audience-chip {
  box-shadow: 4px 4px 0 var(--accent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  margin-top: clamp(32px, 5vw, 60px);
}

.hero-grid > *,
.visual-card,
.info-card,
.path-card,
.cta-panel,
.directory-card {
  min-width: 0;
}

h1 {
  margin: 0;
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(3.25rem, 7.2vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.mark {
  color: var(--accent);
}

.lead {
  max-width: 780px;
  margin: 28px 0 0;
  color: #363a32;
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  line-height: 1.82;
  font-weight: 720;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag-row span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

.visual-card {
  padding: clamp(20px, 3vw, 30px);
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: rgba(255, 253, 247, 0.82);
  box-shadow: 12px 12px 0 color-mix(in srgb, var(--accent-3) 72%, transparent);
}

.visual-window {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--panel);
}

.window-bar {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  background: var(--dark);
  color: #fffdf7;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lights {
  display: flex;
  gap: 7px;
}

.lights i {
  width: 10px;
  height: 10px;
  display: block;
  border-radius: 999px;
  background: var(--accent);
}

.lights i:nth-child(2) {
  background: #f1bd3f;
}

.lights i:nth-child(3) {
  background: var(--accent-3);
}

.window-body {
  padding: clamp(18px, 3vw, 28px);
}

.center-logo {
  display: grid;
  place-items: center;
  gap: 14px;
  text-align: center;
}

.center-logo img {
  width: min(54%, 190px);
  border-radius: 34px;
}

.center-logo strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.flow span {
  min-height: 52px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-2) 12%, #fff);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
  text-align: center;
}

.flow span:nth-child(2) {
  background: color-mix(in srgb, var(--accent) 12%, #fff);
}

.flow span:nth-child(3) {
  background: color-mix(in srgb, var(--accent-3) 16%, #fff);
}

.flow span:nth-child(4) {
  background: #fff4cf;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(34px, 5vw, 58px);
}

.info-card {
  min-height: 230px;
  padding: clamp(18px, 2.5vw, 28px);
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 7px 7px 0 rgba(18, 19, 15, 0.12);
}

.info-card small {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--dark);
  color: #fffdf7;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-card strong {
  display: block;
  margin-top: 16px;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.32;
  font-weight: 950;
}

.info-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
  font-weight: 700;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: clamp(30px, 5vw, 58px);
  padding: clamp(20px, 3.4vw, 34px);
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--dark);
  color: #fffdf7;
}

.cta-panel strong {
  display: block;
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.cta-panel p {
  margin: 10px 0 0;
  color: rgba(255, 253, 247, 0.74);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 700;
}

.cta-panel a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fffdf7;
  font-size: 0.95rem;
  font-weight: 950;
  white-space: nowrap;
}

.compact .poster-sheet {
  border-radius: 0;
}

.calm {
  --paper: #fff5e5;
  --accent: #b23b32;
  --accent-2: #477a62;
  --accent-3: #d7a543;
}

.creator {
  --paper: #f5f6f1;
  --accent: #b7f03a;
  --accent-2: #42c7d9;
  --accent-3: #ff6b52;
}

.creator .mark {
  color: var(--ink);
  background: linear-gradient(180deg, transparent 58%, var(--accent) 58%);
}

.personal {
  --paper: #eef3f7;
  --accent: #2d6cdf;
  --accent-2: #e34f3f;
  --accent-3: #2f8c72;
  background:
    linear-gradient(90deg, rgba(45, 108, 223, 0.09) 0 12%, transparent 12% 100%),
    linear-gradient(180deg, #f7fbff, #e8eef4);
}

.personal .poster-sheet {
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(45, 108, 223, 0.09) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 19, 15, 0.04) 1px, transparent 1px),
    #fbfdff;
  background-size: 36px 36px, 36px 36px, 100% 100%;
  box-shadow: 14px 14px 0 #16213a, 0 26px 70px rgba(22, 33, 58, 0.18);
}

.personal .poster-sheet::before {
  border-style: solid;
  border-color: rgba(45, 108, 223, 0.24);
  border-radius: 0;
}

.personal h1 {
  max-width: 880px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 0.96;
}

.personal .visual-card,
.personal .info-card {
  border-radius: 6px;
}

.personal .info-card:nth-child(odd) {
  background: #f4f8ff;
}

.personal .info-card:nth-child(even) {
  background: #fff8f4;
}

.impact {
  --paper: #11130f;
  --ink: #f7f3e8;
  --muted: rgba(247, 243, 232, 0.72);
  --panel: #1e211b;
  --line: rgba(247, 243, 232, 0.18);
  --accent: #ff4d39;
  --accent-2: #f1bd3f;
  --accent-3: #74e05e;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 77, 57, 0.24) 0 150px, transparent 152px),
    linear-gradient(135deg, #090a08 0%, #181b15 100%);
}

.impact .poster-sheet {
  border-radius: 0;
  border-width: 4px;
  background:
    repeating-linear-gradient(135deg, rgba(247, 243, 232, 0.05) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, #151713 0%, #202418 100%);
  box-shadow: 20px 20px 0 #ff4d39, 0 30px 90px rgba(0, 0, 0, 0.36);
}

.impact .poster-sheet::before {
  border-color: rgba(255, 77, 57, 0.5);
  border-style: solid;
  border-radius: 0;
}

.impact h1 {
  color: #fff8ec;
  text-transform: uppercase;
  font-weight: 950;
}

.impact .mark {
  color: #ff4d39;
}

.impact .lead,
.impact .info-card p,
.impact .cta-panel p {
  color: rgba(247, 243, 232, 0.76);
}

.impact .brand-chip,
.impact .audience-chip,
.impact .tag-row span,
.impact .visual-card,
.impact .info-card {
  background: #1c2018;
  color: #fff8ec;
  border-color: rgba(247, 243, 232, 0.28);
  border-radius: 0;
}

.impact .info-card small,
.impact .cta-panel a {
  background: #ff4d39;
}

.impact .flow span {
  color: #11130f;
  border-color: rgba(247, 243, 232, 0.7);
}

.students {
  --paper: #fff9e8;
  --accent: #f05a4f;
  --accent-2: #2563eb;
  --accent-3: #90c83e;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.12) 0 10%, transparent 10% 100%),
    linear-gradient(180deg, #fffdf2, #eef5ff);
}

.students .poster-sheet {
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(240, 90, 79, 0.07) 1px, transparent 1px),
    linear-gradient(135deg, #fff9e8 0%, #f1f7ff 58%, #edf7dc 100%);
  background-size: 34px 34px, 34px 34px, 100% 100%;
  box-shadow: 18px 18px 0 #171717, 0 28px 80px rgba(20, 24, 34, 0.18);
}

.students h1 {
  font-family: "Arial Black", Inter, sans-serif;
  text-transform: uppercase;
}

.students .visual-card,
.students .info-card,
.students .brand-chip,
.students .audience-chip {
  border-radius: 0;
  border-width: 3px;
}

.students .info-card:nth-child(1) {
  box-shadow: 7px 7px 0 #2563eb;
}

.students .info-card:nth-child(2) {
  box-shadow: 7px 7px 0 #f05a4f;
}

.students .info-card:nth-child(3) {
  box-shadow: 7px 7px 0 #90c83e;
}

.students .info-card:nth-child(4) {
  box-shadow: 7px 7px 0 #f1bd3f;
}

.primary {
  --paper: #f2fbff;
  --accent: #ff6b5c;
  --accent-2: #2563eb;
  --accent-3: #65d99a;
  background:
    radial-gradient(circle at 16px 16px, rgba(255, 107, 92, 0.24) 0 5px, transparent 6px),
    radial-gradient(circle at 48px 44px, rgba(37, 99, 235, 0.18) 0 5px, transparent 6px),
    linear-gradient(180deg, #f7fdff, #fff7d8);
  background-size: 68px 68px, 68px 68px, 100% 100%;
}

.primary .poster-sheet {
  border-radius: 26px;
  border-width: 4px;
  background:
    linear-gradient(90deg, rgba(72, 184, 255, 0.16) 2px, transparent 2px),
    linear-gradient(180deg, rgba(255, 107, 92, 0.1) 2px, transparent 2px),
    #fffdf4;
  background-size: 42px 42px, 42px 42px, 100% 100%;
  box-shadow: 16px 16px 0 #18314f, 0 30px 80px rgba(24, 49, 79, 0.2);
}

.primary h1 {
  font-family: "Arial Black", Inter, sans-serif;
  color: #18314f;
  text-shadow: 5px 5px 0 rgba(255, 212, 77, 0.76);
}

.primary .brand-chip,
.primary .audience-chip,
.primary .tag-row span,
.primary .visual-card,
.primary .visual-window,
.primary .info-card,
.primary .flow span,
.primary .cta-panel {
  border-radius: 18px;
}

.primary .tag-row span,
.primary .flow span {
  border-radius: 999px;
}

.home {
  --paper: #fff1d6;
  --accent: #d96f64;
  --accent-2: #5d8b68;
  --accent-3: #efaa75;
  background:
    linear-gradient(90deg, rgba(217, 111, 100, 0.1) 0 12%, transparent 12% 100%),
    linear-gradient(180deg, #fffaf0 0%, #f3dfc3 100%);
}

.home .poster-sheet {
  border-width: 1px;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(76, 50, 32, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(76, 50, 32, 0.03) 1px, transparent 1px),
    linear-gradient(135deg, #fff9ed 0%, #f7e7cc 62%, #ecd2ae 100%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
  box-shadow: 0 28px 70px rgba(92, 60, 36, 0.18);
}

.home h1,
.senior h1 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
}

.home .visual-card,
.home .info-card,
.home .cta-panel {
  border-width: 1px;
  box-shadow: 10px 10px 0 rgba(93, 139, 104, 0.18);
}

.teachers {
  --paper: #f4f0dc;
  --accent: #d85d49;
  --accent-2: #2f5f4d;
  --accent-3: #76a63d;
  background:
    linear-gradient(90deg, rgba(47, 95, 77, 0.14) 0 11%, transparent 11% 100%),
    linear-gradient(180deg, #fffaf0 0%, #e9f0e7 100%);
}

.teachers .poster-sheet {
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(47, 95, 77, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(216, 93, 73, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #fff8e8 0%, #f7fbf4 58%, #e4efe6 100%);
  background-size: 36px 36px, 36px 36px, 100% 100%;
}

.teachers .visual-window {
  background: #2f5f4d;
  color: #fff8e8;
}

.teachers .window-body,
.teachers .center-logo strong {
  color: #fff8e8;
}

.teachers .flow span {
  background: rgba(255, 248, 232, 0.92);
  color: #17211b;
}

.teachers .info-card {
  border-left: 8px solid #2f5f4d;
}

.senior {
  --paper: #fff5e5;
  --accent: #b23b32;
  --accent-2: #477a62;
  --accent-3: #d7a543;
  background:
    linear-gradient(90deg, rgba(178, 59, 50, 0.08) 0 10%, transparent 10% 100%),
    linear-gradient(180deg, #fff8ec, #f5e4ca);
}

.senior .poster-sheet {
  border-width: 1px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 14%, rgba(215, 165, 67, 0.2) 0 96px, transparent 98px),
    linear-gradient(135deg, #fffdf7 0%, #fff1d7 100%);
  box-shadow: 0 22px 60px rgba(92, 61, 33, 0.16);
}

.senior .poster-content {
  padding: clamp(34px, 5.6vw, 68px);
}

.senior h1 {
  font-size: clamp(3rem, 6vw, 6.4rem);
}

.senior .lead,
.senior .info-card p,
.senior .cta-panel p {
  font-size: clamp(1.12rem, 1.7vw, 1.34rem);
  line-height: 1.92;
}

.senior .tag-row span,
.senior .flow span,
.senior .info-card,
.senior .visual-card {
  border-radius: 22px;
}

.creator {
  background:
    linear-gradient(90deg, rgba(17, 19, 15, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 19, 15, 0.03) 1px, transparent 1px),
    #f5f6f1;
  background-size: 22px 22px;
}

.creator .poster-sheet {
  border-radius: 26px;
  background: #fcfcf7;
  box-shadow: 0 28px 70px rgba(22, 28, 18, 0.14);
}

.creator h1 {
  text-transform: none;
}

.creator .window-bar,
.creator .cta-panel,
.creator .info-card small {
  background: #11130f;
}

.creator .visual-card {
  box-shadow: 12px 12px 0 #b7f03a;
}

.creator .info-card:nth-child(1) {
  border-top: 8px solid #b7f03a;
}

.creator .info-card:nth-child(2) {
  border-top: 8px solid #42c7d9;
}

.creator .info-card:nth-child(3) {
  border-top: 8px solid #ff6b52;
}

.creator .info-card:nth-child(4) {
  border-top: 8px solid #f3b83f;
}

.directory .poster-sheet {
  border-radius: 0;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(32px, 5vw, 58px);
}

.directory-card {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 7px 7px 0 color-mix(in srgb, var(--accent-2) 70%, transparent);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.directory-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 11px 11px 0 color-mix(in srgb, var(--accent) 62%, transparent);
}

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

.directory-card small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.directory-card h2 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.68rem);
  line-height: 1.18;
}

.directory-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.68;
  font-weight: 700;
}

.directory-card span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--dark);
  color: #fffdf7;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.directory-card span::after {
  content: "→";
  color: var(--accent);
  font-size: 1.25rem;
}

@media (max-width: 1020px) {
  .hero-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

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

  .visual-card {
    max-width: 620px;
  }
}

@media (max-width: 620px) {
  .poster-shell {
    width: 100vw;
    padding: 10px;
    justify-items: start;
    overflow: hidden;
  }

  .poster-sheet {
    width: 330px;
    max-width: calc(100vw - 24px);
    border-radius: 16px;
    box-shadow: 10px 10px 0 var(--dark);
  }

  .poster-sheet::before {
    display: none;
  }

  .poster-content {
    padding: 24px 16px;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 3.7rem);
    text-wrap: auto;
  }

  .lead,
  .info-card p,
  .cta-panel p,
  .directory-card p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .flow,
  .info-grid,
  .directory-grid {
    grid-template-columns: 1fr;
  }

  .info-card,
  .directory-card {
    min-height: auto;
  }

  .cta-panel a {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}
