/* ============================================================
   TAIVR — Global Stylesheet
   Palette: #1B4F9E (blue) | #3DBD4A (green) | #2D2D2D (near-black) | #F7F8FA (off-white)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #1B4F9E;
  --blue-dk: #133A75;
  --green:   #3DBD4A;
  --green-dk:#2E9938;
  --ink:     #2D2D2D;
  --ink-lt:  #5A5A5A;
  --bg:      #F7F8FA;
  --white:   #FFFFFF;
  --rule:    #E2E6EC;
  --serif:   'DM Serif Display', Georgia, serif;
  --sans:    'DM Sans', system-ui, sans-serif;
  --max:     1180px;
  --nav-h:   68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.nav__logo img {
  height: 36px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.active { color: var(--blue); }

.nav__links .nav-cta a {
  background: var(--green);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav__links .nav-cta a:hover { background: var(--green-dk); color: var(--white); }

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  min-width: 220px;
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}
.nav__dropdown:hover .nav__dropdown-menu { display: block; }
.nav__dropdown-menu li { list-style: none; }
.nav__dropdown-menu a {
  display: block;
  padding: 9px 20px;
  font-size: 14px;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
}
.nav__dropdown-menu a:hover { background: var(--bg); color: var(--blue); }

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
.page-wrap {
  padding-top: var(--nav-h);
}

/* ============================================================
   HERO — HOME
   ============================================================ */
.hero {
  background: var(--blue);
  color: var(--white);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: rgba(61,189,74,0.08);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  margin-bottom: 28px;
  color: var(--white);
}

.hero__title em {
  font-style: italic;
  color: var(--green);
}

.hero__lead {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__photo {
  position: relative;
}

.hero__photo img {
  width: 100%;
  border-radius: 8px;
  filter: grayscale(15%);
  object-fit: cover;
}

.hero__photo::after {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 100%; height: 100%;
  border: 2px solid var(--green);
  border-radius: 8px;
  z-index: -1;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dk); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover { background: var(--blue-dk); }

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }

/* ============================================================
   AUDIENCE CARDS — HOME
   ============================================================ */
.audience {
  padding: 80px 0;
  background: var(--bg);
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 17px;
  color: var(--ink-lt);
  max-width: 560px;
  margin-bottom: 48px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 36px 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 12px 32px rgba(27,79,158,0.10);
  transform: translateY(-3px);
}

.card__icon {
  width: 44px; height: 44px;
  background: var(--blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 22px; height: 22px; fill: var(--white); }

.card__title {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--ink);
}

.card__text {
  font-size: 15px;
  color: var(--ink-lt);
  line-height: 1.65;
  margin-bottom: 24px;
}

.card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.card:hover .card__link { gap: 10px; }

/* ============================================================
   PROGRAMMES STRIP — HOME
   ============================================================ */
.programmes-strip {
  padding: 80px 0;
  background: var(--white);
}

.programmes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.prog-card {
  border-left: 3px solid var(--green);
  padding: 28px 28px 28px 32px;
  background: var(--bg);
  border-radius: 0 8px 8px 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.prog-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(27,79,158,0.08);
}

.prog-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.prog-card__title {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--ink);
}

.prog-card__text {
  font-size: 14px;
  color: var(--ink-lt);
  line-height: 1.6;
  margin-bottom: 18px;
}

.prog-card__price {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 18px;
}

.prog-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ============================================================
   BLOG TEASER — HOME
   ============================================================ */
.blog-teaser {
  padding: 80px 0;
  background: var(--bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover {
  box-shadow: 0 12px 32px rgba(27,79,158,0.10);
  transform: translateY(-3px);
}

.blog-card__body { padding: 28px; }

.blog-card__date {
  font-size: 12px;
  color: var(--ink-lt);
  margin-bottom: 10px;
}

.blog-card__title {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--ink);
}

.blog-card__excerpt {
  font-size: 14px;
  color: var(--ink-lt);
  line-height: 1.6;
  margin-bottom: 18px;
}

.blog-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

/* ============================================================
   PAGE HERO — inner pages
   ============================================================ */
.page-hero {
  background: var(--blue);
  color: var(--white);
  padding: 72px 0 64px;
}

.page-hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.page-hero__title {
  font-family: var(--serif);
  font-size: clamp(30px, 4.5vw, 50px);
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 760px;
}

.page-hero__title em { font-style: italic; color: var(--green); }

.page-hero__lead {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 620px;
  line-height: 1.65;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.section {
  padding: 72px 0;
}

.section--bg { background: var(--bg); }
.section--blue { background: var(--blue); color: var(--white); }
.section--blue .section-title { color: var(--white); }
.section--blue .section-lead { color: rgba(255,255,255,0.8); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.two-col--wide {
  grid-template-columns: 3fr 2fr;
}

/* Pain points list */
.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.pain-list li {
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

.pain-list li strong {
  display: block;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 4px;
}

/* Engagement cards */
.engagement-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.engagement-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 32px;
}

.engagement-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.engagement-card__title {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 14px;
  color: var(--ink);
}

.engagement-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.engagement-card ul li {
  font-size: 14px;
  color: var(--ink-lt);
  padding-left: 16px;
  position: relative;
}

.engagement-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 13px;
}

/* ============================================================
   PRICING TABLE
   ============================================================ */
.pricing-table {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  margin: 40px 0;
}

.pricing-table__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid var(--rule);
  gap: 24px;
}

.pricing-table__row:last-child { border-bottom: none; }

.pricing-table__row--header {
  background: var(--blue);
  color: var(--white);
}

.pricing-table__row--header .pricing-table__label,
.pricing-table__row--header .pricing-table__price {
  color: var(--white);
  font-weight: 600;
}

.pricing-table__label {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}

.pricing-table__sublabel {
  font-size: 13px;
  color: var(--ink-lt);
  margin-top: 2px;
}

.pricing-table__price {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

/* ============================================================
   PROGRAMME DETAIL
   ============================================================ */
.building-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.block-card {
  background: var(--bg);
  border-radius: 8px;
  padding: 28px;
}

.block-card__num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--blue);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 8px;
}

.block-card__title {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 8px;
}

.block-card__text {
  font-size: 14px;
  color: var(--ink-lt);
  line-height: 1.6;
}

/* Day schedule */
.day-schedule {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.day-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.day-row:last-child { border-bottom: none; }

.day-row__day {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  padding-top: 2px;
}

.day-row__content strong {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.day-row__content span {
  font-size: 14px;
  color: var(--ink-lt);
}

/* Session schedule for workshop */
.session-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}

.session-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: start;
  gap: 0;
  border-bottom: 1px solid var(--rule);
}
.session-item:last-child { border-bottom: none; }

.session-item__time {
  padding: 18px 20px;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  height: 100%;
  display: flex;
  align-items: flex-start;
  padding-top: 20px;
}

.session-item__body {
  padding: 18px 24px;
  background: var(--white);
}

.session-item__title {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.session-item__text {
  font-size: 13px;
  color: var(--ink-lt);
  line-height: 1.55;
}

/* ============================================================
   ABOUT / NICOLE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  border-radius: 8px;
}

.about-photo::after {
  content: '';
  position: absolute;
  bottom: -10px; left: -10px;
  width: 100%; height: 100%;
  border: 2px solid var(--green);
  border-radius: 8px;
  z-index: -1;
}

.competency-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}

.competency-list li {
  list-style: none;
  font-size: 14px;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
}

.competency-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

/* ============================================================
   SPEAKING
   ============================================================ */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.topic-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--green);
  border-radius: 0 6px 6px 0;
  padding: 22px 24px;
}

.topic-card__title {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 6px;
}

.topic-card__text {
  font-size: 13px;
  color: var(--ink-lt);
  line-height: 1.55;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--blue);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}

.cta-band__title {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 40px);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-band__lead {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin: 0 auto 36px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 36px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand img {
  height: 32px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
}

.footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer__col ul a:hover { color: var(--green); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer__bottom a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer__bottom a:hover { color: var(--green); }

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(61,189,74,0.12);
  color: var(--green-dk);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.divider {
  height: 1px;
  background: var(--rule);
  margin: 48px 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__photo { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .programmes-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 280px 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    padding: 24px 20px;
    border-bottom: 1px solid var(--rule);
    gap: 0;
  }
  .nav__links.open li { border-bottom: 1px solid var(--rule); }
  .nav__links.open li:last-child { border-bottom: none; }
  .nav__links.open a { display: block; padding: 12px 0; }
  .cards { grid-template-columns: 1fr; }
  .programmes-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col--wide { grid-template-columns: 1fr; }
  .engagement-cards { grid-template-columns: 1fr; }
  .building-blocks { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 280px; }
  .competency-list { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero { padding: 60px 0; }
  .hero__inner { padding: 0 20px; }
  .session-item { grid-template-columns: 1fr; }
  .session-item__time { padding: 10px 20px; }
}
