:root {
  --background: #f8faf6;
  --surface: #ffffff;
  --surface-soft: #fbfcf8;
  --primary: #1e3a5f;
  --secondary: #2f5d50;
  --accent: #d9a441;
  --global-blue: #2563eb;
  --soft-green: #e8f5e9;
  --soft-blue: #e0f2fe;
  --soft-gold: #fff4d6;
  --soft-indigo: #eef2ff;
  --border: #d6ded5;
  --text: #1f2937;
  --muted: #64748b;
  --map-line: rgba(30, 58, 95, 0.06);
  --network-line: rgba(37, 99, 235, 0.1);
  --radius: 10px;
  --shadow: 0 18px 42px rgba(30, 58, 95, 0.08);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(115deg, transparent 0 31%, var(--map-line) 31.1% 31.25%, transparent 31.35%),
    linear-gradient(65deg, transparent 0 58%, var(--network-line) 58.1% 58.24%, transparent 58.34%),
    radial-gradient(circle at 12% 14%, rgba(224, 242, 254, 0.9), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(232, 245, 233, 0.9), transparent 24%),
    var(--background);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(var(--map-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--map-line) 1px, transparent 1px);
  background-size: 56px 56px;
}

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

p,
h1,
h2,
h3,
dl {
  margin-top: 0;
}

p {
  line-height: 1.72;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--border);
  background: rgba(248, 250, 246, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(217, 164, 65, 0.55);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 12px 26px rgba(30, 58, 95, 0.16);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--primary);
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-weight: 800;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #334155;
  font-weight: 850;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--soft-gold);
}

.section-shell {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 22px;
  padding: 34px 0 26px;
}

.brief-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.brief-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(217, 164, 65, 0.12), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(37, 99, 235, 0.1), transparent 22%);
}

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

.hero-brief {
  padding: clamp(26px, 4vw, 44px);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: clamp(2.45rem, 5.2vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.1;
}

h3 {
  color: var(--primary);
  line-height: 1.25;
}

.tagline {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: clamp(1.16rem, 2vw, 1.62rem);
  font-weight: 900;
}

.intro {
  max-width: 840px;
  color: #41546a;
  font-size: 1.03rem;
}

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

.identity-list div {
  padding: 16px;
  background: #fff;
}

.identity-list div:nth-child(5) {
  grid-column: 1 / -1;
}

.identity-list dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.identity-list dd {
  margin: 0;
  color: var(--primary);
  font-weight: 850;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.stats span {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  background: #fff;
}

.stats b {
  color: var(--secondary);
  font-size: 1.25rem;
  line-height: 1;
}

.map-card {
  padding: 24px;
}

.map-heading {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 18px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.map-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2.4rem);
}

.map-heading img {
  width: 130px;
  max-width: 100%;
}

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

.map-list li {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(90deg, #fff, var(--surface-soft));
}

.map-list li:not(:last-child)::after {
  position: absolute;
  left: 34px;
  bottom: -14px;
  width: 2px;
  height: 14px;
  content: "";
  background: linear-gradient(var(--accent), var(--global-blue));
}

.map-pin {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: var(--primary);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.map-list strong,
.map-list small {
  display: block;
}

.map-list strong {
  margin-bottom: 5px;
  color: var(--primary);
}

.map-list small {
  color: var(--muted);
  font-weight: 750;
}

.section-heading {
  max-width: 820px;
  margin: 46px 0 22px;
}

.section-heading p:last-child {
  color: var(--muted);
}

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

.profile-card,
.case-card,
.reflection-card,
.note-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(30, 58, 95, 0.05);
}

.profile-card {
  padding: 20px;
}

.profile-card span,
.reflection-card span,
.note-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-card h3,
.reflection-card h3 {
  margin-bottom: 10px;
}

.profile-card p,
.reflection-card p,
.note-card p {
  margin-bottom: 0;
  color: #465668;
}

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

.case-card {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  padding: 20px;
}

.case-card.featured {
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.11);
}

.case-card[data-group="innovation"] {
  background: linear-gradient(180deg, #fff, var(--soft-blue));
}

.case-card[data-group="education"] {
  background: linear-gradient(180deg, #fff, var(--soft-gold));
}

.case-card[data-group="responsible"] {
  background: linear-gradient(180deg, #fff, var(--soft-indigo));
}

.case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.case-meta span,
.case-meta b {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 900;
}

.case-meta span {
  color: #fff;
  background: var(--primary);
}

.case-meta b {
  color: var(--secondary);
  background: var(--soft-green);
}

.case-card[data-group="innovation"] .case-meta b {
  color: var(--global-blue);
  background: var(--soft-blue);
}

.case-card[data-group="prompt"] .case-meta b {
  color: #0f766e;
  background: #ecfeff;
}

.case-card[data-group="education"] .case-meta b {
  color: #a16207;
  background: var(--soft-gold);
}

.case-card[data-group="responsible"] .case-meta b {
  color: #3730a3;
  background: var(--soft-indigo);
}

.case-card h3 {
  min-height: 70px;
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.case-card p {
  color: #465668;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 18px;
}

.tag-list span {
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  background: #fff;
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-actions button,
.case-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
}

.case-actions button {
  border: 1px solid var(--primary);
  color: #fff;
  cursor: pointer;
  background: var(--primary);
}

.case-actions a {
  border: 1px solid var(--border);
  color: var(--primary);
  background: #fff;
}

.case-actions button:hover,
.case-actions a:hover {
  transform: translateY(-1px);
}

.reflection-section {
  padding-bottom: 54px;
}

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

.reflection-card {
  padding: 22px;
}

.site-footer {
  padding: 26px 22px 34px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
  background: #fff;
}

.site-footer p {
  margin: 4px 0;
  line-height: 1.5;
}

.case-modal {
  width: min(1120px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
}

.case-modal::backdrop {
  background: rgba(15, 23, 42, 0.55);
}

.modal-panel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.32);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  background: #fff;
}

.modal-header {
  padding: 28px 68px 20px 28px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, #fff, var(--surface-soft));
}

.modal-kicker {
  margin-bottom: 10px;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-header h2 {
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.modal-header p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.modal-body {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 18px;
  padding: 22px 28px 28px;
}

.note-stack {
  display: grid;
  gap: 10px;
  align-content: start;
}

.note-card {
  padding: 16px;
  border-left: 4px solid var(--accent);
}

.pdf-frame {
  min-height: 680px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f8fafc;
}

.pdf-frame iframe {
  width: 100%;
  height: 680px;
  border: 0;
}

@media (max-width: 1080px) {
  .hero,
  .modal-body {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .section-shell {
    width: min(100% - 24px, 1180px);
  }

  .hero-brief,
  .map-card {
    padding: 20px;
  }

  h1 {
    font-size: 2.1rem;
  }

  .identity-list,
  .stats,
  .profile-grid,
  .case-grid,
  .reflection-grid {
    grid-template-columns: 1fr;
  }

  .map-heading {
    grid-template-columns: 1fr;
  }

  .map-heading img {
    width: 110px;
  }

  .case-card {
    min-height: auto;
  }

  .case-card h3 {
    min-height: auto;
  }

  .modal-header,
  .modal-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .pdf-frame,
  .pdf-frame iframe {
    height: 560px;
    min-height: 560px;
  }
}
