/* ========== Base / Theme Tokens (no visual change, just DRY) ========== */
:root {
  --bg: #fff9fc;
  --text: #222222;

  --pink-1: #ff007f;
  --pink-2: #ff5fa2;
  --pink-3: #ff9ecb;

  --nav-bg: #ffe0f0;
  --nav-border: #ffc4e0;

  --section-bg: #ffffff;
  --section-radius: 18px;

  --border-pink: #ffc4e0;

  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 10px 28px rgba(255, 0, 127, 0.3);

  --transition-fast: 0.15s ease;
  --transition-med: 0.2s ease;
}

* {
  box-sizing: border-box;
}

/* ========== Layout Shell ========== */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;

  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "header header"
    "nav main"
    "footer footer";
  min-height: 100vh;
}

/* ========== Header ========== */
header {
  grid-area: header;
  padding: 1.5rem 2rem;
  background: linear-gradient(90deg, var(--pink-1), var(--pink-2), var(--pink-3));
  color: white;
  border-bottom: 4px solid var(--pink-1);
  display: flex;
  align-items: center;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

header h1 {
  margin: 0;
  font-size: 1.9rem;
  letter-spacing: 0.03em;
}

.logo-wrapper {
  background-color: white;
  width: 68px;
  height: 68px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.logo-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  transition: filter var(--transition-fast);
}

header:hover .logo-icon {
  filter: drop-shadow(0 0 6px rgba(80, 0, 120, 0.7));
}

/* ========== Nav ========== */
nav {
  grid-area: nav;
  background-color: var(--nav-bg);
  padding-top: 1rem;
  padding-bottom: 2rem;
  border-right: 2px solid var(--nav-border);
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

nav a {
  display: block;
  padding: 0.85rem 1.4rem;
  text-decoration: none;
  color: #8a004a;
  font-weight: 600;
  font-size: 0.95rem;
  border-left: 4px solid transparent;
  transition:
    background-color var(--transition-med),
    transform var(--transition-med),
    border-left-color var(--transition-med);
}

nav a:hover,
nav a:focus {
  background-color: #ffd2e8;
  border-left-color: var(--pink-1);
  transform: translateX(6px);
}

nav a.active {
  background-color: var(--pink-3);
  border-left-color: var(--pink-1);
}

/* ========== Main Content ========== */
main {
  grid-area: main;
  padding: 2rem 3rem;
  max-width: 960px;
}

/* ========== Hero ========== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  background: radial-gradient(circle at top left, #ffe6f5 0, #ffb3d7 40%, #ffeaf8 100%);
  border-radius: 24px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.hero-text h2 {
  margin-top: 0;
  font-size: 1.6rem;
  color: #3b1230;
}

.hero-text p {
  margin: 0.4rem 0 0.8rem;
  font-size: 0.98rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--pink-1);
  color: #ffeaf8;
  margin-bottom: 0.6rem;
}

.hero-cta-row {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--pink-1), var(--pink-3));
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 0, 127, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
}

.hero-button:hover,
.hero-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(255, 0, 127, 0.35);
  opacity: 0.95;
}

.hero-secondary {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--pink-1);
  color: var(--pink-1);
  font-size: 0.9rem;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.hero-secondary:hover,
.hero-secondary:focus {
  background-color: #ffeaf8;
  transform: translateY(-1px);
}

.hero-card {
  background-color: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(255, 0, 127, 0.25);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(255, 0, 127, 0.4);
  border-color: var(--pink-1);
}

/* ========== Sections / Typography ========== */
section {
  background-color: var(--section-bg);
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.4rem;
  border-radius: var(--section-radius);
  border-left: 4px solid var(--pink-1);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-med), box-shadow 0.25s ease;
}

section:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

h2,
h3 {
  margin-top: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h2 {
  font-size: 1.35rem;
  color: var(--pink-1);
}

h3 {
  font-size: 1.1rem;
  color: #c01263;
}

p {
  margin: 0.4rem 0 0.8rem;
  font-size: 0.97rem;
}

ul,
ol {
  margin-top: 0.4rem;
  margin-bottom: 0.8rem;
  padding-left: 1.4rem;
}

li {
  margin-bottom: 0.25rem;
}

ul li::marker {
  color: var(--pink-1);
}

main a {
  color: var(--pink-1);
  text-decoration: underline;
}

main a:hover,
main a:focus {
  text-decoration: none;
}

/* ========== Tables / Quotes / Images ========== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.6rem;
  font-size: 0.95rem;
}

th,
td {
  border: 1px solid var(--border-pink);
  padding: 0.6rem 0.7rem;
  vertical-align: top;
}

th {
  background-color: #ffe0f4;
  color: #8a004a;
  font-weight: 700;
  text-align: left;
}

tr:nth-child(even) td {
  background-color: #fff3fb;
}

blockquote {
  margin: 0.6rem 0 0.8rem;
  padding: 0.8rem 1rem;
  background-color: #fff0f8;
  border-left: 4px solid var(--pink-2);
  border-radius: 10px;
  font-size: 0.93rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0.3rem auto 0.8rem;
  border-radius: 14px;
  border: 2px solid var(--border-pink);
}

.caption {
  font-size: 0.8rem;
  text-align: center;
  color: #c01263;
  margin-top: -0.5rem;
  margin-bottom: 0.8rem;
}

.advice {
  font-style: italic;
  color: grey;
}

/* ========== Buttons / Links ========== */
.back-to-top {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--pink-1);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background-color: #ffe6f5;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.back-to-top:hover,
.back-to-top:focus {
  background-color: #ffd2e8;
  transform: translateY(-1px);
}

.study-link-button {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink-1), var(--pink-2));
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 0, 127, 0.25);
}

.study-link-button:hover,
.study-link-button:focus {
  box-shadow: 0 6px 16px rgba(255, 0, 127, 0.35);
  transform: translateY(-1px);
}

/* ========== Footer ========== */
footer {
  grid-area: footer;
  text-align: center;
  padding: 0.8rem 1rem;
  font-size: 0.8rem;
  color: #8a004a;
  background-color: var(--nav-bg);
  border-top: 2px solid var(--nav-border);
}

/* ========== Notes / Study Layout ========== */
.study-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
  gap: 1.5rem;
}

.study-text > section {
  margin-bottom: 1.4rem;
}

.study-photo img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  display: block;
  margin: 0 auto 20px auto;
}

.study-photo img:hover {
  filter: drop-shadow(0 0 6px rgba(177, 140, 255, 0.6));
  transition: 0.3s ease;
}

.study-notes {
  align-self: flex-start;
  margin-top: 3rem;
}

.study-notes h2 {
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.notes-card {
  background: #ffe6f4;
  border-radius: 32px;
  padding: 1.75rem 2.25rem;
  box-shadow: 0 18px 40px rgba(255, 140, 190, 0.35);
  max-width: 900px;
  margin: 0 auto;
  border: 2px solid #ff9acb;
}

.notes-tabs {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.notes-tab {
  border: 2px solid #ff6fb3;
  background: #ffc7ea;
  color: #b0236c;
  padding: 0.6rem 2.3rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease-out;
  box-shadow: 0 6px 15px rgba(255, 111, 179, 0.3);
}

.notes-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 111, 179, 0.4);
}

.notes-tab.active {
  background: #ffffff;
  color: #ff2a8a;
}

.notes-panels {
  background: #ffeef9;
  border-radius: 24px;
  padding: 1.5rem 1.75rem;
  border: 1px dashed #ff9acb;
}

.notes-panel {
  display: none;
  animation: fadeInNotes 0.22s ease-out;
}

.notes-panel.active {
  display: block;
}

@keyframes fadeInNotes {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notes-intro {
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.notes-placeholder {
  margin: 0;
  opacity: 0.8;
}

.pdf-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.pdf-list li a {
  text-decoration: none;
  font-weight: 500;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  display: inline-block;
  background: #ffffff;
  border: 1px solid #ffb3de;
  transition: all 0.18s ease-out;
}

.pdf-list li a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 133, 198, 0.35);
}

.subhead {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #ff2a8a;
}

.notes-divider {
  border: none;
  height: 2px;
  margin: 1.25rem 0;
  background: #ffabd6;
}

.collapsible {
  width: 100%;
  background: #ff7ebe;
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1.05rem;
  cursor: pointer;
  border-radius: 14px;
  font-weight: 600;
  transition: background 0.2s ease-out, transform 0.2s ease-out;
}

.collapsible:hover {
  background: #ff2a8a;
  transform: translateY(-2px);
}

.collapsible-content {
  display: none;
  padding: 1rem 0.25rem 0.5rem;
}

.notes-images {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
}

.notes-images img {
  width: 100%;
  border-radius: 18px;
  border: 2px solid #ffcde7;
  box-shadow: 0 10px 25px rgba(255, 133, 198, 0.25);
}

.study-notes h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  color: #c01263;
}

.study-notes img {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 16px;
  border: 2px solid var(--border-pink);
  display: block;
}

/* ========== About Layout ========== */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
}

.about-photo {
  margin-top: 0.5rem;
}

.about-photo img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 1rem;
  border: 2px solid var(--border-pink);
}

.about-extra-image {
  width: 100%;
  border-radius: 14px;
  margin-top: 0.5rem;
  border: 2px solid var(--border-pink);
}

.recognition-spotlight {
  overflow: hidden;
  background: linear-gradient(145deg, #fff7fb 0%, #ffe7f3 100%);
}

.recognition-eyebrow {
  margin: 0 0 0.2rem;
  color: #8a004a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.recognition-artwork {
  position: relative;
  margin-top: 1.25rem;
  padding: 0 3.5rem 1.5rem 0;
}

.recognition-card {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(138, 0, 74, 0.18);
}

.recognition-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 118px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  filter: drop-shadow(0 8px 12px rgba(59, 18, 48, 0.22));
}

/* ========== Floating / Positioning Images ========== */
.notes-side-img {
  position: absolute;
  right: 2rem;
  top: 920px;
  width: 22vw;
  max-width: 360px;
  border-radius: 14px;
  border: 2px solid var(--border-pink);
  z-index: 5;
}

.notes-photo {
  position: absolute;
  right: 2%;
  top: 200px;
  width: 300px;
}

.notes-photo img {
  width: 100%;
  border-radius: 14px;
  border: 2px solid var(--border-pink);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.float-right {
  float: right;
  width: 40%;
  max-width: 350px;
  margin-left: 1.8rem;
  margin-bottom: 1.2rem;
  border-radius: 14px;
  border: 2px solid var(--border-pink);
}

/* ========== Behavioral Notes + GATE SVG ========== */
.behavioral-notes {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 0.75rem;
}

.behavioral-section h5 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: #b0236c;
}

.behavioral-section p {
  margin-bottom: 0.4rem;
}

.behavioral-list {
  list-style: disc;
  padding-left: 1.35rem;
  margin: 0.35rem 0 0.4rem;
}

.behavioral-example-label {
  margin-top: 0.5rem;
  font-weight: 600;
}

.gate-svg-container {
  margin: 0.75rem 0 0.4rem;
  border-radius: 24px;
  overflow: hidden;
}

.gate-graphic {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== Timeline Quick-Glance (added; same look) ========== */
.quick-glance {
  background: #ffffff;
  border-left: 4px solid var(--pink-1);
}

.quick-glance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.quick-card {
  background: #ffeef9;
  border: 1px dashed #ff9acb;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 25px rgba(255, 133, 198, 0.18);
}

.quick-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #c01263;
}

.quick-glance-note {
  margin-top: 0.9rem;
  font-weight: 600;
  color: #8a004a;
}

/* ========== Life in IB + About Callout (kept exactly) ========== */
.ib-perspective {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e2e2;
}

.ib-perspective h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.ib-quote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid #b80f2f;
  background-color: #faf6f7;
  font-style: italic;
}

.ib-personal-box {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-radius: 0.75rem;
  background: #f7f7fb;
  border: 1px solid #e0e0f0;
}

.ib-personal-box h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.ib-personal-box p + p {
  margin-top: 0.75rem;
}

.about-ib-callout {
  margin: 2.5rem 0;
  padding: 1.5rem 1.75rem;
  border-radius: 0.75rem;
  background: #fff7f7;
  border: 1px solid #ffd3d3;
}

.about-ib-callout h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.about-ib-callout p {
  margin-bottom: 0.85rem;
}

.about-ib-button {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #b80f2f;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: #b80f2f;
  background-color: #ffffff;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.about-ib-button:hover,
.about-ib-button:focus {
  background-color: #b80f2f;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ========== Responsive ========== */
@media (max-width: 700px) {
  .gate-graphic {
    min-width: 100%;
  }
}

@media (max-width: 800px) {
  /* quick glance (was separate before — merged here to remove repetition) */
  .quick-glance-grid {
    grid-template-columns: 1fr;
  }

  .float-right {
    float: right;
    width: 100%;
    margin: 1rem 0;
  }

  .notes-side-img {
    position: static;
    width: 100%;
    margin: 1rem 0;
  }

  .study-layout {
    grid-template-columns: 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-photo img {
    width: 80%;
    margin: 0 auto;
  }

  .recognition-artwork {
    padding-right: 2.5rem;
    padding-bottom: 1rem;
  }

  .recognition-badge {
    width: 92px;
  }

  body {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
      "header"
      "nav"
      "main"
      "footer";
  }

  .header-content {
    flex-direction: column;
    gap: 0.7rem;
    text-align: center;
  }

  nav {
    border-right: none;
    border-bottom: 2px solid var(--nav-border);
  }

  nav a {
    border-left: none;
    border-bottom: 1px solid var(--nav-border);
    transform: none;
  }

  nav a:hover,
  nav a:focus {
    transform: none;
  }

  main {
    padding: 1.5rem 1.2rem;
  }

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

/* ========== Recruiter-ready editorial refresh ========== */
:root {
  --bg: #f4f1ea;
  --text: #202a35;
  --pink-1: #8a715f;
  --pink-2: #a48d78;
  --pink-3: #cbb9a4;
  --nav-bg: #e6dac8;
  --nav-border: #cbb9a4;
  --section-bg: #faf9f6;
  --border-pink: #d7c8b7;
  --shadow-soft: 0 8px 24px rgba(32, 42, 53, 0.07);
  --shadow-hover: 0 14px 34px rgba(32, 42, 53, 0.12);
}

body {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

header {
  background: linear-gradient(105deg, #806957 0%, #a48d78 48%, #cbb9a4 100%);
  border-bottom-color: #243447;
  padding: 1.15rem 2rem;
}

header h1 {
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 600;
  line-height: 1.15;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.iw-logo-link,
.logo-wrapper {
  width: 64px;
  height: 64px;
  background: rgba(250, 249, 246, 0.96);
  border: 1px solid rgba(36, 52, 71, 0.12);
  box-shadow: 0 8px 20px rgba(32, 42, 53, 0.12);
}

.iw-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}

.iw-logo-link img {
  width: 58px;
  height: 58px;
  margin: 0;
  border: 0;
  border-radius: 50%;
}

.section-eyebrow {
  margin: 0 0 0.35rem;
  color: #6b5748;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.creator-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(180px, 0.7fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
}

.creator-intro > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  margin: 0;
  border-color: #d7c8b7;
  box-shadow: 0 14px 28px rgba(32, 42, 53, 0.1);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.highlights-grid article {
  min-height: 112px;
  padding: 1rem;
  border: 1px solid #d7c8b7;
  border-radius: 14px;
  background: #f4f1ea;
}

.highlights-grid strong,
.highlights-grid span {
  display: block;
}

.highlights-grid strong {
  color: #243447;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
}

.highlights-grid span {
  margin-top: 0.35rem;
  color: #5f4c3e;
  font-size: 0.86rem;
  line-height: 1.4;
}

.experience-hero {
  padding: 2.2rem;
  background: linear-gradient(135deg, #faf9f6 0%, #e6dac8 100%);
  border: 1px solid #d7c8b7;
  border-left: 5px solid #243447;
}

.experience-hero h2 {
  max-width: 760px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.18;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.experience-card {
  margin: 0;
  padding: 1.55rem;
  border-left-width: 3px;
}

.experience-card-wide {
  grid-column: 1 / -1;
}

.experience-logo {
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 9px;
  overflow: hidden;
  border: 1px solid #d7c8b7;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(32, 42, 53, 0.1);
}

.experience-logo img {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}

.experience-logo-wordmark {
  color: #fff;
  background: #243447;
  border-color: #243447;
}

.experience-logo-wordmark span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.experience-card h2 {
  margin-bottom: 0.1rem;
  color: #243447;
}

.experience-card h3 {
  margin-bottom: 0.85rem;
  color: #6b5748;
  font-family: inherit;
  font-size: 0.94rem;
}

.experience-date {
  margin: 0 0 0.35rem;
  color: #8a715f;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.values-grid article {
  padding: 1rem 1.1rem;
  border: 1px solid #d7c8b7;
  border-radius: 14px;
  background: #f4f1ea;
}

.values-grid strong,
.values-grid span {
  display: block;
}

.values-grid strong {
  color: #243447;
  font-family: Georgia, "Times New Roman", serif;
}

.values-grid span {
  margin-top: 0.35rem;
  color: #5f4c3e;
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-disclaimer {
  max-width: 900px;
  margin: 0.25rem auto 0;
  color: inherit;
  font-size: 0.72rem;
  line-height: 1.45;
  opacity: 0.82;
}

.resource-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.75fr);
  gap: 2rem;
  align-items: center;
  overflow: hidden;
}

.resource-intro-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  border: 1px solid #d7c8b7;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 12px 26px rgba(32, 42, 53, 0.1);
}

.gate-svg-container {
  max-width: 900px;
  margin: 1rem auto;
  border: 1px solid #d7c8b7;
  background: #efe7da;
}

body:not(.about-page) .logo-icon stop:first-child {
  stop-color: #243447;
}

body:not(.about-page) .logo-icon stop:last-child {
  stop-color: #8a715f;
}

header:hover .logo-icon {
  filter: drop-shadow(0 0 6px rgba(36, 52, 71, 0.28));
}

nav {
  background: linear-gradient(180deg, #e6dac8 0%, #efe7da 100%);
  border-right-color: #cbb9a4;
}

nav a {
  color: #3f342c;
  border-left-width: 3px;
}

nav a:hover,
nav a:focus {
  background-color: rgba(203, 185, 164, 0.55);
  border-left-color: #243447;
}

nav a.active {
  color: #ffffff;
  background-color: #243447;
  border-left-color: #a48d78;
}

main {
  width: min(100%, 1080px);
  max-width: 1080px;
  padding: 2.4rem 3.25rem;
}

.hero {
  background: linear-gradient(135deg, #faf9f6 0%, #e6dac8 58%, #cbb9a4 100%);
  border: 1px solid #d7c8b7;
  box-shadow: 0 18px 44px rgba(32, 42, 53, 0.1);
}

.hero-text h2,
h2 {
  color: #243447;
}

h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
}

.hero-badge,
.hero-button,
.collapsible {
  background: #243447;
  color: #faf9f6;
}

.hero-secondary,
.about-ib-button {
  color: #243447;
  border-color: #243447;
}

.hero-secondary:hover,
.hero-secondary:focus,
.back-to-top:hover,
.back-to-top:focus {
  background-color: #e6dac8;
}

.hero-card,
section,
.pdf-list li a,
.quick-glance {
  background-color: #faf9f6;
  border-color: #d7c8b7;
}

section {
  border-left-color: #8a715f;
}

section:hover,
.hero-card:hover {
  border-color: #a48d78;
  box-shadow: var(--shadow-hover);
}

h3,
.study-notes h3,
.quick-card h3,
.behavioral-section h5,
.subhead {
  color: #5f4c3e;
}

main a,
.back-to-top,
.quick-glance-note,
footer {
  color: #5f4c3e;
}

blockquote,
.quick-card,
.notes-card,
.notes-panels,
.about-ib-callout,
.ib-personal-box {
  background: #efe7da;
  border-color: #cbb9a4;
}

.notes-card {
  box-shadow: 0 18px 40px rgba(32, 42, 53, 0.1);
}

.notes-tab {
  color: #3f342c;
  background: #d7c8b7;
  border-color: #a48d78;
  box-shadow: 0 6px 15px rgba(32, 42, 53, 0.1);
}

.notes-tab.active {
  color: #243447;
  background: #faf9f6;
}

.notes-divider {
  background: #cbb9a4;
}

.notes-images img,
.pdf-list li a,
.quick-card {
  border-color: #d7c8b7;
}

.collapsible:hover {
  background: #3f5166;
}

body:not(.about-page) .gate-graphic rect:first-of-type {
  fill: #efe7da;
  stroke: #cbb9a4;
}

body:not(.about-page) .gate-graphic rect:nth-of-type(2) {
  fill: #243447;
}

body:not(.about-page) .gate-graphic [fill="#ff2a8a"] {
  fill: #243447;
}

body:not(.about-page) .gate-graphic [fill="#ff7ebe"] {
  fill: #8a715f;
}

body:not(.about-page) .gate-graphic [fill="#b0236c"] {
  fill: #5f4c3e;
}

/* Remove legacy pink interactions from every page except the IW-focused About page. */
body:not(.about-page) th {
  color: #243447;
  background: #e6dac8;
}

body:not(.about-page) tr:nth-child(even) td {
  background: #f4f1ea;
}

body:not(.about-page) blockquote,
body:not(.about-page) .back-to-top,
body:not(.about-page) .quick-card,
body:not(.about-page) .notes-card,
body:not(.about-page) .notes-panels,
body:not(.about-page) .about-ib-callout {
  background: #efe7da;
  border-color: #cbb9a4;
}

body:not(.about-page) .caption,
body:not(.about-page) .subhead,
body:not(.about-page) .study-notes h3,
body:not(.about-page) .quick-card h3,
body:not(.about-page) .quick-glance-note {
  color: #5f4c3e;
}

body:not(.about-page) .notes-tab:hover,
body:not(.about-page) .pdf-list li a:hover,
body:not(.about-page) .study-link-button:hover,
body:not(.about-page) .study-link-button:focus {
  box-shadow: 0 10px 24px rgba(32, 42, 53, 0.16);
}

body:not(.about-page) .notes-images img {
  border-color: #d7c8b7;
  box-shadow: 0 10px 25px rgba(32, 42, 53, 0.12);
}

body:not(.about-page) .study-photo img:hover {
  filter: drop-shadow(0 0 6px rgba(36, 52, 71, 0.24));
}

body:not(.about-page) .back-to-top:hover,
body:not(.about-page) .back-to-top:focus {
  background: #d7c8b7;
}

.ib-quote {
  border-left-color: #8a715f;
  background: #efe7da;
}

.about-ib-button:hover,
.about-ib-button:focus {
  color: #ffffff;
  background: #243447;
}

footer {
  background: #e6dac8;
  border-top-color: #cbb9a4;
}

body.about-page {
  --bg: #fff9fc;
  --text: #2b2028;
  --pink-1: #d14491;
  --pink-2: #e46baa;
  --pink-3: #f2a4ca;
  --nav-bg: #f8dceb;
  --nav-border: #efb8d4;
  --section-bg: #ffffff;
  --border-pink: #efb8d4;
}

body.about-page header {
  background: linear-gradient(100deg, #c93f8c 0%, #df6aaa 52%, #f1a2c9 100%);
  border-bottom-color: #8a245d;
}

body.about-page nav {
  background: linear-gradient(180deg, #f8dceb 0%, #fcecf4 100%);
  border-right-color: #efb8d4;
}

body.about-page nav a {
  color: #70204e;
}

body.about-page nav a:hover,
body.about-page nav a:focus {
  background: #f3c9df;
  border-left-color: #b72f79;
}

body.about-page nav a.active {
  color: #ffffff;
  background: #7f285b;
}

body.about-page h2,
body.about-page h3,
body.about-page main a,
body.about-page .recognition-eyebrow {
  color: #8a245d;
}

body.about-page section {
  border-left-color: #d14491;
}

body.about-page footer {
  color: #70204e;
  background: #f8dceb;
  border-top-color: #efb8d4;
}

body.about-page .about-ib-button {
  color: #8a245d;
  border-color: #8a245d;
}

body.about-page .about-ib-button:hover,
body.about-page .about-ib-button:focus {
  color: #ffffff;
  background: #8a245d;
}

@media (max-width: 800px) {
  .header-content {
    align-items: center;
  }

  .brand-lockup {
    gap: 0.5rem;
  }

  .iw-logo-link,
  .logo-wrapper {
    width: 56px;
    height: 56px;
  }

  .iw-logo-link img {
    width: 50px;
    height: 50px;
  }

  main {
    width: 100%;
    padding: 1.5rem 1.2rem;
  }

  .creator-intro,
  .experience-grid,
  .values-grid,
  .resource-intro {
    grid-template-columns: 1fr;
  }

  .experience-card-wide {
    grid-column: auto;
  }

  .creator-intro > img {
    width: min(100%, 320px);
    margin: 0 auto;
  }

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

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