:root {
  --bg: #f7f1e8;
  --surface: #ffffff;
  --ink: #172238;
  --muted: #5f6470;
  --line: #d9cfbd;
  --brand: #a20f3a;
  --brand-2: #17385f;
  --accent: #f3df9f;
  --soft-blue: #eef4fb;
  --soft-green: #f3f7ed;
  --soft-gold: #fbf4dd;
  --cream: #f7f1e8;
  --cream-2: #fffaf1;
  --maroon-soft: #f9e9ef;
  --shadow: 0 16px 40px rgba(93, 65, 36, 0.10);
  --radius: 22px;
  --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.1;
}

.brand strong { font-size: 1.15rem; letter-spacing: -0.02em; }
.brand span { font-size: 0.82rem; color: var(--muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover { color: var(--brand); }

.mobile-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--brand); color: white; box-shadow: 0 10px 25px rgba(24, 74, 140, 0.20); }
.btn-primary:hover { background: #123e78; color: white; }
.btn-secondary { background: var(--surface); color: var(--brand); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--brand); }
.btn-small { padding: 9px 14px; font-size: 0.92rem; }

.hero {
  padding: 74px 0 42px;
  background:
    radial-gradient(circle at top left, rgba(24, 74, 140, 0.14), transparent 32%),
    radial-gradient(circle at bottom right, rgba(15, 118, 110, 0.12), transparent 34%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: var(--soft-blue);
  color: var(--brand);
  border: 1px solid #cfe4ff;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 14px; }
h1 { font-size: clamp(2.4rem, 5vw, 4.25rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.55rem); letter-spacing: -0.035em; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
p { margin: 0 0 16px; }

.lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 760px;
}

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

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

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

.stat-list li {
  display: flex;
  gap: 10px;
  align-items: start;
}

.check {
  color: var(--brand-2);
  font-weight: 900;
  flex: 0 0 auto;
}

.section { padding: 58px 0; }
.section-tight { padding: 38px 0; }
.section-title { max-width: 780px; margin-bottom: 26px; }
.section-title p { color: var(--muted); font-size: 1.05rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.card.soft-blue { background: var(--soft-blue); }
.card.soft-green { background: var(--soft-green); }
.card.soft-gold { background: var(--soft-gold); }

.card ul, .content-block ul, .content-block ol {
  margin: 10px 0 0 18px;
  padding: 0;
}

.card li, .content-block li { margin-bottom: 8px; }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.pill {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.band {
  background: var(--ink);
  color: white;
  padding: 48px 0;
}
.band p { color: rgba(255,255,255,0.76); }
.band .card { color: var(--ink); }

.page-hero {
  padding: 56px 0 36px;
  background: linear-gradient(135deg, rgba(24,74,140,0.12), rgba(15,118,110,0.10));
  border-bottom: 1px solid var(--line);
}

.breadcrumb { font-size: 0.92rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 760px;
}

th, td {
  text-align: left;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th { background: #f1f6ff; font-size: 0.92rem; }
tr:last-child td { border-bottom: 0; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 14px;
}

.faq-item h3 { margin-bottom: 8px; }
.faq-item p { color: var(--muted); margin-bottom: 0; }

.cta {
  background: linear-gradient(135deg, var(--brand), #0f766e);
  color: white;
  border-radius: 30px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta p { color: rgba(255,255,255,0.82); margin-bottom: 0; }
.cta .btn { background: white; color: var(--brand); }

.footer {
  padding: 36px 0;
  background: #0f172a;
  color: white;
}
.footer p, .footer a { color: rgba(255,255,255,0.76); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 22px; }
.footer-links { display: grid; gap: 7px; }
.footer small { color: rgba(255,255,255,0.55); display: block; margin-top: 16px; }

.notice {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
  border-radius: 16px;
  padding: 16px;
}

@media (max-width: 900px) {
  .hero-grid, .grid-2, .grid-3, .grid-4, .footer-grid, .cta { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 76px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: grid; }
  .mobile-toggle { display: inline-flex; }
  .hero { padding-top: 48px; }
  .cta .btn { justify-self: start; }
}

@media print {
  .site-header, .hero-actions, .footer, .btn { display: none !important; }
  body { background: white; }
  .card, .table-wrap, .faq-item { box-shadow: none; }
}


/* Pamphlet-inspired homepage redesign, Round 1 */
.brand-with-logo {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.brand-with-logo img {
  width: 84px;
  max-height: 48px;
  object-fit: contain;
  border-radius: 6px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.pamphlet-home {
  background:
    radial-gradient(circle at top left, rgba(162, 15, 58, 0.10), transparent 28%),
    linear-gradient(180deg, #f7f1e8 0%, #fbf7ef 52%, #f7f1e8 100%);
}

.pamphlet-hero {
  padding: 38px 0 18px;
}

.pamphlet-shell {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 26px 30px;
  box-shadow: 0 20px 50px rgba(92, 62, 32, 0.12);
}

.icc-banner-card {
  display: grid;
  grid-template-columns: minmax(190px, 260px) 1fr;
  align-items: center;
  gap: 22px;
  background: #fffdf8;
  border: 1px solid #e4d8c2;
  border-radius: 24px;
  padding: 18px 22px;
}

.icc-logo-block img {
  width: 235px;
  display: block;
}

.hero-title-block {
  text-align: center;
}

.hero-title-block h1 {
  margin-bottom: 2px;
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  letter-spacing: -0.045em;
  color: #172238;
}

.site-name {
  margin: 0;
  color: var(--brand-2);
  font-weight: 800;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.audience-strip {
  margin: 14px auto 0;
  max-width: 1000px;
  display: grid;
  gap: 8px;
  text-align: center;
  background: #eef4fb;
  border: 1px solid #ccd8e6;
  border-radius: 18px;
  padding: 14px 18px;
  color: #263b55;
}

.audience-strip span {
  font-size: 0.96rem;
  color: #4b5563;
}

.course-detail-strip {
  margin: 14px auto 0;
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  background: #fffdf8;
  border: 1px solid #d9cfbd;
  border-radius: 18px;
  padding: 12px 16px;
  color: #17385f;
}

.course-detail-strip strong {
  margin-right: 4px;
}

.pamphlet-section {
  padding: 18px 0;
}

.first-section {
  padding-top: 8px;
}

.main-program-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(310px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.program-card,
.paired-card,
.location-bar,
.registration-bar {
  background: #fffdf8;
  border: 1px solid #d9cfbd;
  border-radius: 26px;
  box-shadow: 0 14px 34px rgba(92, 62, 32, 0.10);
}

.summer-card {
  overflow: hidden;
}

.program-ribbon {
  background: var(--brand);
  color: #fff;
  padding: 26px 30px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 900;
  line-height: 1.1;
  border-bottom-right-radius: 26px;
}

.program-content {
  padding: 26px 30px 30px;
}

.compact-content {
  padding: 26px;
}

.program-content h2,
.compact-content h2,
.paired-card h2 {
  color: #17385f;
}

.summer-card .program-content > h2 {
  text-align: center;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  letter-spacing: -0.01em;
}

.centered-pills {
  justify-content: center;
  margin: 22px 0;
}

.pill-cream {
  background: #fbf4dd;
}

.price-box,
.guarantee-box,
.mini-note {
  border-radius: 20px;
  text-align: center;
  padding: 16px 18px;
}

.price-box {
  background: #fff2f6;
  border: 2px solid var(--brand);
  color: #5e102b;
  display: grid;
  gap: 6px;
  font-size: 1.05rem;
}

.price-box span,
.mini-note span {
  color: #475569;
  font-weight: 700;
}

.guarantee-box {
  margin: 20px 0 24px;
  background: #fbf4dd;
  border: 1px solid #e7d9a8;
  color: #5b4a1d;
  font-weight: 800;
}

.summer-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
  gap: 24px;
  align-items: stretch;
}

.maroon-bullets {
  margin: 12px 0 0 18px;
  padding: 0;
}

.maroon-bullets li::marker {
  color: var(--brand);
}

.registration-card {
  background: #fff2f6;
  border: 2px solid #bc4268;
  border-radius: 24px;
  padding: 22px;
  text-align: center;
}

.registration-card p {
  color: #6b3f51;
  font-weight: 700;
}

.fall-card h2 {
  color: var(--brand);
}

.subhead {
  color: #17385f;
  margin-top: -6px;
}

.fall-program-block {
  margin-top: 18px;
}

.fall-program-block h3 {
  color: #17385f;
  margin-bottom: 6px;
}

.fall-program-block p {
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.mini-note {
  margin: 18px 0;
  background: #fbf4dd;
  border: 1px solid #e7d9a8;
  display: grid;
  gap: 5px;
}

.fall-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
}

.paired-card {
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
}

.vertical-divider {
  width: 1px;
  background: #d9cfbd;
}

.thin-rule {
  height: 1px;
  background: #d9cfbd;
  margin: 16px 0;
}

.final-home-section {
  padding-bottom: 38px;
}

.location-bar,
.registration-bar {
  padding: 17px 22px;
  text-align: center;
  font-size: 0.98rem;
}

.registration-bar {
  margin-top: 14px;
  font-size: 1.05rem;
}

.registration-bar a {
  font-weight: 900;
  color: #17385f;
}

@media (max-width: 980px) {
  .main-program-grid,
  .lower-grid,
  .summer-details-grid,
  .icc-banner-card,
  .paired-card {
    grid-template-columns: 1fr;
  }

  .icc-logo-block,
  .icc-logo-block img {
    margin: 0 auto;
  }

  .vertical-divider {
    width: 100%;
    height: 1px;
  }

  .fall-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pamphlet-shell,
  .program-content,
  .compact-content,
  .paired-card {
    padding: 20px;
  }

  .brand-with-logo img {
    width: 60px;
    max-height: 40px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand span {
    font-size: 0.75rem;
  }

  .program-ribbon {
    padding: 22px;
  }
}


/* Curriculum detail pages */
.curriculum-page .curriculum-hero {
  background:
    radial-gradient(circle at top left, rgba(162, 15, 58, 0.10), transparent 30%),
    linear-gradient(135deg, #fffaf1, #eef4fb);
}

.curriculum-notice {
  background: #fffaf1;
  border-color: #d9cfbd;
  color: #263b55;
  box-shadow: 0 10px 26px rgba(92, 62, 32, 0.06);
}

.phase-stack {
  display: grid;
  gap: 22px;
}

.phase-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0;
  overflow: hidden;
  background: #fffdf8;
  border: 1px solid #d9cfbd;
  border-radius: 26px;
  box-shadow: 0 14px 34px rgba(92, 62, 32, 0.10);
}

.phase-number {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  color: #fff;
  background: var(--brand);
  font-size: 1.15rem;
  font-weight: 900;
  text-align: center;
}

.phase-body {
  padding: 26px 30px;
}

.phase-body h2 {
  color: #17385f;
}

.phase-body h3 {
  color: #a20f3a;
}

.phase-green .phase-number { background: #2f6b4f; }
.phase-blue .phase-number { background: #17385f; }
.phase-gold .phase-number { background: #b78616; }
.phase-cream .phase-number { background: #7a5a2a; }
.phase-maroon .phase-number { background: var(--brand); }

.topic-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.drill-box {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  background: #fbf4dd;
  border: 1px solid #e7d9a8;
  border-radius: 18px;
  padding: 16px 18px;
  color: #4b3d16;
}

.simulation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mini-phase-card {
  background: #fffaf1;
  border: 1px solid #d9cfbd;
  border-radius: 20px;
  padding: 20px;
}

.mini-phase-card h3 {
  color: #17385f;
}

.cta-maroon {
  background: linear-gradient(135deg, var(--brand), #17385f);
}

.cta-button-stack {
  display: grid;
  gap: 10px;
  min-width: 260px;
}

.cta .btn-secondary {
  background: #fffaf1;
  color: #17385f;
  border-color: rgba(255,255,255,0.55);
}

@media (max-width: 900px) {
  .phase-card,
  .topic-columns,
  .simulation-grid {
    grid-template-columns: 1fr;
  }

  .phase-number {
    justify-content: flex-start;
  }

  .cta-button-stack {
    min-width: 0;
  }
}
