:root {
  --navy-950: #071225;
  --navy-900: #0a1630;
  --navy-800: #102447;

  --blue-700: #155e8c;
  --blue-600: #1f6fa8;
  --blue-500: #2d8dcc;
  --cyan-400: #56c2ff;

  --mist-100: #eef3f8;
  --mist-50: #f7fafc;
  --white: #ffffff;

  --text: #102033;
  --muted: #5e6f84;
  --line: rgba(16, 32, 51, 0.12);

  --shadow-soft: 0 12px 40px rgba(20, 40, 70, 0.08);
  --shadow-card: 0 14px 40px rgba(7, 18, 37, 0.06);
  --shadow-large: 0 24px 70px rgba(7, 18, 37, 0.12);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --max-width: 1180px;
}

/* =========================
   Base
   ========================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--mist-50);
  line-height: 1.6;
  padding-top: 98px;
}

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

p {
  color: var(--muted);
}

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

/* =========================
   Header
   ========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 28px rgba(7, 18, 37, 0.05);
}

.header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.25s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  min-width: 0;
}

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  font-family: "Noto Serif", Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  color: #162447;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

/* =========================
   Menu button
   ========================= */

.menu-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.menu-toggle {
  width: 30px;
  height: 24px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: #162447;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* =========================
   Dropdown navigation
   ========================= */

.header-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(16, 32, 51, 0.04);
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
  box-shadow: 0 18px 40px rgba(7, 18, 37, 0.08);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  pointer-events: none;

  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease;
}

.header-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.header-dropdown-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 34px 38px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
}

.dropdown-intro {
  padding-right: 10px;
  border-right: 1px solid rgba(16, 32, 51, 0.08);
}

.dropdown-intro h3 {
  margin-bottom: 12px;
  font-family: "Noto Serif", Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.05;
  color: #162447;
}

.dropdown-intro p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: #5f6b7a;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  align-content: start;
}

.dropdown-card {
  display: block;
  padding: 18px 18px 20px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.dropdown-card:hover {
  border-color: rgba(22, 36, 71, 0.18);
  box-shadow: 0 10px 24px rgba(7, 18, 37, 0.06);
  transform: translateY(-2px);
}

.dropdown-title {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
  color: #162447;
}

.dropdown-desc {
  display: block;
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.55;
  color: #5f6b7a;
}

/* =========================
   Hero - soft gradient style
   ========================= */

.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 700px;
  isolation: isolate;

  background: linear-gradient(
    to top,
    #062b38 0%,
    #0c3d4f 18%,
    #275e73 34%,
    #6f93a6 52%,
    #cfdbe3 72%,
    #f4f7f9 88%,
    #fbfcfd 100%
  );
  border-bottom: 1px solid rgba(16, 32, 51, 0.05);
}

/* subtle vertical line texture */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, 0.045) 0px,
    rgba(255, 255, 255, 0.045) 1px,
    transparent 1px,
    transparent 6px
  );

  opacity: 0.28;
}

/* soft pale wash at the top */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.20) 22%,
    rgba(255, 255, 255, 0.00) 52%
  );
}

/* =========================
   Decorative dots
   ========================= */

.hero-dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* main dot grid */
.hero-dots::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 78%;

  background-image: radial-gradient(
    circle,
    rgba(190, 225, 235, 0.25) 0 4px,
    transparent 5.5px
  );
  background-size: 44px 44px;
  background-position: center bottom;
  background-repeat: repeat;

  opacity: 0.75;

  mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.95) 16%,
    rgba(0, 0, 0, 0.72) 34%,
    rgba(0, 0, 0, 0.42) 52%,
    rgba(0, 0, 0, 0.16) 68%,
    rgba(0, 0, 0, 0.03) 80%,
    transparent 90%
  );
  -webkit-mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.95) 16%,
    rgba(0, 0, 0, 0.72) 34%,
    rgba(0, 0, 0, 0.42) 52%,
    rgba(0, 0, 0, 0.16) 68%,
    rgba(0, 0, 0, 0.03) 80%,
    transparent 90%
  );
}

/* softer second layer for a nicer blend */
.hero-dots::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 68%;

  background-image: radial-gradient(
    circle,
    rgba(190, 225, 240, 0.10) 0 3px,
    transparent 3.8px
  );
  background-size: 30px 30px;
  background-position: 15px bottom;
  background-repeat: repeat;

  opacity: 0.50;

  mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.65) 28%,
    rgba(0, 0, 0, 0.22) 56%,
    transparent 82%
  );
  -webkit-mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.65) 28%,
    rgba(0, 0, 0, 0.22) 56%,
    transparent 82%
  );
}

/* =========================
   Hero content
   ========================= */

/* =========================
   Hero content
   ========================= */

.hero {
  min-height: calc(100vh - 98px);
  min-height: calc(100svh - 98px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(120px, 22vh, 260px) 24px clamp(70px, 12vh, 120px);
  text-align: center;
  color: #ffffff;
}

.hero-eyebrow {
  margin: 0 0 16px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hero-content h1 {
  margin: 0 auto;
  max-width: 980px;
  font-family: "Noto Serif", serif;
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.hero-content p:not(.hero-eyebrow) {
  max-width: 580px;
  margin: 24px auto 0;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.92);
  color: #0b2d38;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-button:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 980px) {
  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 300px;
    padding-bottom: 100px;
  }

  .hero-dots {
    left: 24px;
    width: 300px;
    height: 360px;
    gap: 10px;
  }

  .dot-col {
    background-size: 100% 36px;
  }

  .col-1 { height: 42px; }
  .col-2 { height: 78px; }
  .col-3 { height: 118px; }
  .col-4 { height: 158px; }
  .col-5 { height: 205px; }
  .col-6 { height: 262px; }
  .col-7 { height: 320px; }
}

@media (max-width: 980px) {
  body {
    padding-top: 82px;
  }

  .hero {
    min-height: calc(100vh - 82px);
    min-height: calc(100svh - 82px);
  }

  .hero-content {
    padding: clamp(90px, 18vh, 180px) 24px 80px;
  }

  .hero-content h1 {
    font-size: clamp(3rem, 7vw, 4.4rem);
  }
}

@media (max-width: 720px) {
  body {
    padding-top: 68px;
  }

  .hero {
    min-height: calc(100vh - 68px);
    min-height: calc(100svh - 68px);
    width: min(100% - 1rem, 1200px);
    margin: 1rem auto;
    border-radius: 24px;

    background: linear-gradient(
      to top,
      #062b38 0%,
      #0f4356 24%,
      #5f8799 50%,
      #d6e0e6 76%,
      #fbfcfd 100%
    );
  }

  .hero-content {
    padding: clamp(80px, 16vh, 140px) 20px 70px;
  }

  .hero-content h1 {
    font-size: clamp(2.6rem, 11vw, 4rem);
  }

  .hero-content p:not(.hero-eyebrow) {
    font-size: 0.95rem;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 500px;
  }

  .hero-content {
    padding: 90px 18px 60px;
  }

  .hero-content h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }
}
/* =========================
   Buttons
   ========================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.button.primary {
  background: #10243a;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(16, 36, 58, 0.18);
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: #15314e;
  border: 1px solid rgba(100, 130, 170, 0.18);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* =========================
   Sections
   ========================= */

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.25rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.section-kicker {
  margin-bottom: 0.45rem;
  color: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h2 {
  max-width: 720px;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.055em;
  color: var(--navy-950);
}

.section-lede {
  max-width: 470px;
  font-size: 1rem;
}

/* =========================
   Path cards
   ========================= */

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.path-card {
  min-height: 245px;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.path-card.featured {
  background: linear-gradient(145deg, var(--navy-900), var(--blue-700));
  color: var(--white);
}

.path-card.featured h3,
.path-card.featured p,
.path-card.featured .card-link,
.path-card.featured .card-number {
  color: var(--white);
}

.card-number {
  color: var(--blue-700);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.path-card h3 {
  margin-top: 2.3rem;
  margin-bottom: 0.55rem;
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy-950);
}

.card-link {
  margin-top: 1.25rem;
  color: var(--blue-700);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* =========================
   Guide section
   ========================= */

.guide-section {
  padding-bottom: 6rem;
}

.guide-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card);
}

.guide-label,
.step-number {
  display: inline-flex;
  margin-bottom: 0.75rem;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-copy h3,
.guide-step-text h3,
.materials-panel h3 {
  margin-bottom: 0.8rem;
  color: var(--navy-950);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.guide-copy p,
.guide-step-text p,
.materials-panel p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.guide-copy p + p {
  margin-top: 0.8rem;
}

/* path links */

.guide-path-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.guide-path-links a {
  display: inline-flex;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--blue-700);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(7, 18, 37, 0.04);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.guide-path-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 141, 204, 0.35);
  color: var(--blue-500);
}

/* intro visual */

.guide-visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(rgba(16, 32, 51, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 51, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 70% 30%, rgba(86, 194, 255, 0.22), transparent 34%),
    linear-gradient(135deg, #fafdff, #dcebf7);
  background-size: 32px 32px, 32px 32px, 100% 100%, 100% 100%;
  border: 1px solid rgba(16, 32, 51, 0.08);
}

.map-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 32, 51, 0.1);
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(7, 18, 37, 0.06);
}

.node-main {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--navy-900);
  color: var(--white);
}

.node-one {
  left: 10%;
  top: 24%;
}

.node-two {
  right: 12%;
  top: 20%;
}

.node-three {
  left: 14%;
  bottom: 20%;
}

.node-four {
  right: 16%;
  bottom: 24%;
}

/* timeline */

.guide-timeline {
  display: grid;
  gap: 2rem;
  margin-top: 4rem;
}

.guide-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 3rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.guide-step.reverse {
  grid-template-columns: 420px minmax(0, 1fr);
}

.guide-step.reverse .guide-step-text {
  grid-column: 2;
  grid-row: 1;
}

.guide-step.reverse .guide-step-visual {
  grid-column: 1;
  grid-row: 1;
}

.guide-step-visual {
  min-height: 260px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  background:
    linear-gradient(rgba(16, 32, 51, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 51, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #fafdff, #dcebf7);
  background-size: 32px 32px, 32px 32px, 100% 100%;
}

/* equation visual */

.visual-equations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  place-items: center;
  padding: 2rem;
}

.visual-equations span {
  color: rgba(21, 94, 140, 0.72);
  font-family: "Noto Serif", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

/* books visual */

.visual-books {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 0.7rem;
  padding: 2rem;
}

.visual-books div {
  width: 54px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #b9dff6, #155e8c);
  box-shadow: 0 14px 28px rgba(7, 18, 37, 0.12);
}

.visual-books div:nth-child(1) {
  height: 120px;
}

.visual-books div:nth-child(2) {
  height: 170px;
}

.visual-books div:nth-child(3) {
  height: 145px;
}

.visual-books div:nth-child(4) {
  height: 200px;
}

/* code visual */

.visual-code {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 80% 20%, rgba(86, 194, 255, 0.16), transparent 34%),
    linear-gradient(135deg, #071225, #102447);
}

.visual-code pre {
  width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* chart visual */

.visual-chart::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(45, 141, 204, 0.32) 1.8px, transparent 2px);
  background-size: 28px 28px;
  opacity: 0.55;
}

.chart-line {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 180px;
  border-top: 2px solid rgba(45, 141, 204, 0.36);
  border-radius: 50%;
}

.line-one {
  bottom: 20px;
  transform: rotate(-5deg);
}

.line-two {
  bottom: 55px;
  transform: rotate(4deg);
  opacity: 0.7;
}

.line-three {
  bottom: 90px;
  transform: rotate(-10deg);
  opacity: 0.45;
}

/* materials panel */

.materials-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-top: 4rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 20%, rgba(86, 194, 255, 0.16), transparent 30%),
    linear-gradient(135deg, var(--navy-900), var(--blue-700));
  color: var(--white);
  box-shadow: var(--shadow-large);
}

.materials-panel h3,
.materials-panel p,
.materials-panel .section-kicker {
  color: var(--white);
}

.materials-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.materials-link {
  flex-shrink: 0;
  display: inline-flex;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--navy-900);
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(7, 18, 37, 0.18);
}


/* community visual */

.visual-community {
  background:
    linear-gradient(rgba(16, 32, 51, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 51, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(86, 194, 255, 0.22), transparent 36%),
    linear-gradient(135deg, #fafdff, #dcebf7);
  background-size: 32px 32px, 32px 32px, 100% 100%, 100% 100%;
}

.visual-community::before,
.visual-community::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  height: 1px;
  background: rgba(21, 94, 140, 0.16);
  transform-origin: center;
}

.visual-community::before {
  transform: translate(-50%, -50%) rotate(26deg);
}

.visual-community::after {
  transform: translate(-50%, -50%) rotate(-26deg);
}

.community-node {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 32, 51, 0.1);
  color: var(--navy-900);
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(7, 18, 37, 0.06);
}

.node-center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--navy-900);
  color: var(--white);
}

.node-a {
  left: 12%;
  top: 24%;
}

.node-b {
  right: 14%;
  top: 22%;
}

.node-c {
  left: 10%;
  bottom: 22%;
}

.node-d {
  right: 16%;
  bottom: 24%;
}

.node-e {
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
}

/* responsive */

@media (max-width: 980px) {
  .guide-intro,
  .guide-step,
  .guide-step.reverse {
    grid-template-columns: 1fr;
  }

  .guide-step.reverse .guide-step-text,
  .guide-step.reverse .guide-step-visual {
    grid-column: auto;
    grid-row: auto;
  }

  .guide-visual,
  .guide-step-visual {
    min-height: 240px;
  }

  .materials-panel {
    display: grid;
  }

  .materials-link {
    width: fit-content;
  }
}

@media (max-width: 620px) {
  .guide-intro,
  .guide-step,
  .materials-panel {
    padding: 1.25rem;
  }

  .guide-path-links a {
    width: 100%;
    justify-content: center;
  }

  .guide-visual,
  .guide-step-visual {
    min-height: 220px;
  }

  .map-node {
    font-size: 0.7rem;
    padding: 0.55rem 0.7rem;
  }
}

.community-directory {
  margin: 64px auto;
  max-width: 1180px;
  padding: 0 24px;
}

.directory-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #00537a;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.directory-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0 0 14px;
  color: #07111f;
}

.directory-header p {
  color: #4b5870;
  font-size: 1.02rem;
  line-height: 1.7;
}

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

.directory-card {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.directory-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: #07111f;
}

.directory-card p {
  margin: 0 0 18px;
  color: #566176;
  line-height: 1.55;
  font-size: 0.95rem;
}

.directory-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.directory-card li {
  margin: 9px 0;
}

.directory-card a {
  color: #003f63;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 63, 99, 0.2);
}

.directory-card a:hover {
  color: #0077aa;
  border-bottom-color: #0077aa;
}

.featured-card {
  background: linear-gradient(180deg, #eef8ff 0%, #ffffff 100%);
  border-color: #bcdff2;
}

.wide-card {
  grid-column: span 2;
}

.link-columns {
  columns: 2;
  column-gap: 32px;
}

@media (max-width: 900px) {
  .directory-grid {
    grid-template-columns: 1fr;
  }

  .wide-card {
    grid-column: span 1;
  }

  .link-columns {
    columns: 1;
  }
}



/* =========================
   Competitions
   ========================= */

.competitions-section {
  position: relative;
}

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

/* Card */

.competition-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-large);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.competition-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 141, 204, 0.35);
  box-shadow: 0 28px 80px rgba(7, 18, 37, 0.16);
}

/* Image area */

.competition-image {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(86, 194, 255, 0.3), transparent 36%),
    linear-gradient(135deg, var(--navy-950), var(--blue-700));
}

.competition-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.94;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.competition-card:hover .competition-image img {
  transform: scale(1.04);
  opacity: 1;
}

/* Placeholder image */

.competition-placeholder {
  width: 100%;
  height: 100%;
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(86, 194, 255, 0.28), transparent 32%),
    linear-gradient(135deg, #062b38 0%, #0c3d4f 48%, #6f93a6 100%);
  color: rgba(255, 255, 255, 0.92);
  font-family: "Noto Serif", Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

/* Content */

.competition-content {
  padding: 28px;
}

.competition-meta {
  margin-bottom: 12px;
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.competition-content h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.15;
}

.competition-content p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* Tags */

.competition-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.competition-tags span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 7px 11px;
  background: var(--mist-50);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
}

/* Status */

.competition-status {
  margin-top: 22px;
  color: #0f5c78;
  font-size: 0.92rem;
  font-weight: 700;
}

/* Link */

.competition-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue-600);
  font-size: 0.92rem;
  font-weight: 700;
}

.competition-link:hover {
  color: var(--blue-500);
}

/* Responsive */

@media (max-width: 900px) {
  .competition-grid {
    grid-template-columns: 1fr;
  }

  .competition-image {
    height: 210px;
  }

  .competition-placeholder {
    min-height: 210px;
  }
}

@media (max-width: 520px) {
  .competition-content {
    padding: 22px;
  }

  .competition-image {
    height: 180px;
  }

  .competition-placeholder {
    min-height: 180px;
  }
}
/* =========================
   Footer
   ========================= */

.site-footer {
  background: var(--navy-950);
  color: var(--white);
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-inner p,
.footer-inner a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 980px) {
  body {
    padding-top: 82px;
  }

  .header-inner {
    padding: 18px 40px;
  }

  .hero {
    min-height: 620px;
  }

  .section-header {
    display: grid;
  }

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

@media (max-width: 900px) {
  .header-dropdown-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .dropdown-intro {
    border-right: none;
    border-bottom: 1px solid rgba(16, 32, 51, 0.08);
    padding-right: 0;
    padding-bottom: 18px;
  }

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

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

  .competition-image {
    height: 210px;
  }
}

@media (max-width: 720px) {
  body {
    padding-top: 68px;
  }

  .header-inner {
    padding: 14px 18px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 30px;
    height: 30px;
  }

  .brand-text {
    font-size: 1.55rem;
  }

  .hero {
    width: min(100% - 1rem, 1200px);
    margin: 1rem auto;
    border-radius: 24px;
  }

  .section {
    padding: 3.7rem 1rem;
  }

  .footer-inner {
    display: grid;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 500px;
  }

  .competition-content {
    padding: 22px;
  }

  .competition-image {
    height: 180px;
  }
}


/* =========================
   Intro paper section
   White section, blue dots, vintage note paper
   ========================= */

.intro-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(72px, 10vw, 132px) 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 48%, #ffffff 100%);
  border-bottom: 1px solid rgba(16, 32, 51, 0.06);
}

.intro-section::before {
  content: "";
  position: absolute;
  inset: -10% -8%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(86, 194, 255, 0.14) 0%, rgba(86, 194, 255, 0.08) 24%, transparent 62%),
    radial-gradient(ellipse at 15% 50%, rgba(31, 111, 168, 0.08) 0%, transparent 36%),
    radial-gradient(ellipse at 85% 50%, rgba(31, 111, 168, 0.08) 0%, transparent 36%);
}

.intro-dot-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.intro-dot-field::before,
.intro-dot-field::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, #000 28%, rgba(0, 0, 0, 0.7) 48%, rgba(0, 0, 0, 0.28) 66%, transparent 86%);
  mask-image: radial-gradient(ellipse at center, #000 0%, #000 28%, rgba(0, 0, 0, 0.7) 48%, rgba(0, 0, 0, 0.28) 66%, transparent 86%);
}

.intro-dot-field::before {
  background-image: radial-gradient(circle, rgba(45, 141, 204, 0.18) 0 1.4px, transparent 1.7px);
  background-size: 18px 18px;
  opacity: 0.95;
}

.intro-dot-field::after {
  background-image: radial-gradient(circle, rgba(86, 194, 255, 0.12) 0 2.6px, transparent 3px);
  background-size: 40px 40px;
  background-position: 10px 10px;
  opacity: 0.58;
}

.intro-paper {
  position: relative;
  z-index: 2;
  width: min(100%, 1180px);
  margin: 0 auto;
 padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(84, 76, 64, 0.18);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(246, 241, 232, 0.97), rgba(241, 236, 226, 0.96)),
    repeating-linear-gradient(0deg, rgba(106, 95, 78, 0.028) 0px, rgba(106, 95, 78, 0.028) 1px, transparent 1px, transparent 5px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.18) 0px, rgba(255,255,255,0.18) 1px, transparent 1px, transparent 12px);
  box-shadow:
    0 26px 80px rgba(7, 18, 37, 0.12),
    0 2px 12px rgba(7, 18, 37, 0.05);
}

.intro-paper::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(124, 113, 92, 0.14);
  pointer-events: none;
}

.intro-paper::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(104, 92, 72, 0.12), transparent);
  pointer-events: none;
}

.foreword-paper {
  font-family: "Courier Prime", "Courier New", Courier, monospace;
}

.foreword-head {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.foreword-head::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 54px;
  height: 18px;
  opacity: 0.45;
  background:
    radial-gradient(circle at 50% 50%, rgba(183, 70, 100, 0.85) 0 1.8px, transparent 2px),
    radial-gradient(ellipse at 50% 50%, rgba(183, 70, 100, 0.55) 0 9px, transparent 10px);
}

.foreword-line {
  color: #8d6b63;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.foreword-body {
  position: relative;
  color: #3d3b38;
  font-size: clamp(0.82rem, 0.92vw, 0.92rem);
  line-height: 1.66;
}

.foreword-body p {
  max-width: 116ch;
  margin: 0 auto 0.82rem;
  color: #3f3c39;
}

.foreword-body p:last-child {
  margin-bottom: 0;
}

.foreword-body em {
  font-style: italic;
}

.foreword-body strong {
  font-weight: 700;
}

@media (max-width: 1180px) {
  .intro-section {
    padding: 56px 1rem;
  }

  .intro-paper {
    padding: 26px 20px 30px;
  }

  .intro-paper::before {
    inset: 8px;
  }

  .intro-paper::after {
    top: 54%;
  }

  .foreword-head {
    padding-bottom: 16px;
    margin-bottom: 18px;
  }

  .foreword-line {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .foreword-body {
    font-size: 0.95rem;
    line-height: 1.82;
    column-count: 2;
    column-gap: 48px;
  }
}
