:root {
  color-scheme: light;
  --cream: #f5efe6;
  --cream-soft: #fbf8f2;
  --ink: #171716;
  --muted: #5f5a51;
  --forest: #123f3d;
  --forest-deep: #082f35;
  --blue: #1c6d8b;
  --ochre: #c99b42;
  --rust: #9f4d2d;
  --line: rgba(23, 23, 22, 0.14);
  --line-light: rgba(255, 255, 255, 0.2);
  --overview-feature-title-max: 20ch;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url("./contour-lines.svg") center top / cover no-repeat;
  opacity: 0.45;
  pointer-events: none;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.workshop-overview-page {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 100vh;
}

.overview-hero {
  position: relative;
  color: #f9f5ee;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(90deg, rgba(8, 47, 53, 0.98) 0%, rgba(18, 63, 61, 0.96) 58%, rgba(28, 109, 139, 0.92) 100%);
}

.overview-hero-inner {
  width: min(1120px, calc(100% - 48px));
  min-height: 560px;
  margin: 0 auto;
  padding: 68px 0 84px;
  display: flex;
  align-items: center;
}

.overview-copy {
  max-width: 780px;
}

.landing-subtitle {
  margin: 0 0 18px;
  color: var(--rust);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.overview-hero .landing-subtitle {
  color: #f0c263;
}

.landing-subtitle a {
  color: inherit;
  text-decoration: none;
}

.landing-subtitle a:hover,
.landing-subtitle a:focus-visible {
  text-decoration: underline;
  outline: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.03;
}

.landing-title {
  margin: 0;
  max-width: 17ch;
  font-size: 4.35rem;
  text-wrap: balance;
}

.overview-feature-title {
  max-width: var(--overview-feature-title-max);
}

h3 {
  font-size: 2.7rem;
}

.landing-summary,
.session-description {
  color: var(--muted);
  line-height: 1.72;
}

.landing-summary {
  max-width: 72ch;
  margin: 26px 0 0;
  font-size: 1.375rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.overview-hero .landing-summary {
  color: rgba(249, 245, 238, 0.78);
}

.session-section {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0 110px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.session-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.session-card,
.empty-session-card {
  position: relative;
  min-height: 260px;
  padding: 40px;
  border: 1px solid var(--line);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(251, 248, 242, 0.96), rgba(255, 255, 255, 0.82));
}

.session-card {
  display: block;
}

.session-card:hover,
.session-card:focus-within {
  border-color: rgba(18, 63, 61, 0.28);
}

.session-card-full,
.session-card-closed {
  background:
    linear-gradient(180deg, rgba(251, 248, 242, 0.78), rgba(255, 255, 255, 0.7));
}

.session-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.session-card h3,
.empty-session-card h3 {
  color: var(--forest-deep);
  font-size: 3.1rem;
}

.session-date {
  margin: 14px 0 0;
  color: var(--forest);
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.35;
}

.session-description {
  margin: 22px 0 0;
  font-size: 1rem;
}

.session-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin: 26px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(23, 23, 22, 0.12);
}

.session-facts dd {
  padding: 0;
}

.session-metric {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
  min-width: 0;
}

.session-metric-price {
  min-width: 260px;
}

.session-facts dd {
  display: contents;
  margin: 0;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.32;
}

.session-fact-copy {
  min-width: 0;
}

.session-fact-value {
  display: block;
}

.session-price-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.28rem;
}

.session-fact-meta {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.28;
}

.session-metric-seats .session-fact-meta {
  display: inline;
  margin-top: 0;
  margin-left: 0.2em;
}

.session-price-current {
  white-space: nowrap;
}

.session-price-note {
  color: var(--muted);
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.3;
}

.session-fact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin: 0;
  color: var(--forest);
  background: rgba(18, 63, 61, 0.08);
  border-radius: 999px;
}

.session-fact-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.session-action {
  margin: 28px 0 0;
}

.session-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  color: #fffaf2;
  background: var(--forest);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.session-button:hover,
.session-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.session-card-full .session-button,
.session-card-closed .session-button {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(18, 63, 61, 0.22);
}

.empty-session-card {
  max-width: 760px;
  min-height: 320px;
}

/* Partner spotlight — full-bleed Plus Hosting brand-purple band with centred cream offer card.
   Shared with the directory (root) page. */
.partner-spotlight {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  padding: clamp(72px, 9vw, 124px) 0;
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 255, 255, 0.12), transparent 40%),
    radial-gradient(circle at 88% 84%, rgba(255, 213, 122, 0.10), transparent 44%),
    linear-gradient(135deg, #7849d4 0%, #6437bf 50%, #4d2a92 100%);
}

.partner-spotlight-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.partner-spotlight-copy {
  max-width: 56ch;
}

.partner-spotlight-kicker {
  color: #f5d57a;
}

.partner-spotlight-title {
  max-width: 18ch;
  color: #ffffff;
  font-size: clamp(2.6rem, 4.4vw, 3.85rem);
}

.partner-spotlight-summary {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.86);
}

/* Cream "promo" card — centred content, native-purple Plus Hosting logo */
.partner-spotlight-offer {
  position: relative;
  padding: clamp(2rem, 3.6vw, 2.8rem) clamp(1.55rem, 3.4vw, 2.4rem);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf6ec 100%);
  color: var(--ink);
  text-align: center;
  box-shadow:
    0 30px 60px -22px rgba(40, 14, 96, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.partner-spotlight-eyebrow {
  display: inline-block;
  margin: 0 auto 1.4rem;
  padding: 0.48rem 1.05rem;
  border-radius: 6px;
  background: linear-gradient(135deg, #fb8500, #ffb703);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 10px 20px -8px rgba(251, 133, 0, 0.55);
  transform: rotate(-1.8deg);
}

.partner-spotlight-logo {
  display: block;
  width: min(220px, 72%);
  height: auto;
  margin: 0.2rem auto 1rem;
  filter: none;
}

.partner-spotlight-name {
  margin: 0 auto 1rem;
  color: var(--forest-deep);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.15;
}

.partner-spotlight-benefits {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 0.4rem auto 1.2rem;
  padding: 0;
  width: max-content;
  max-width: 100%;
  text-align: left;
}

.partner-spotlight-benefits li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
}

.partner-spotlight-benefits li::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #6437bf;
  box-shadow: 0 0 0 6px rgba(100, 55, 191, 0.16);
}

.partner-spotlight-microcopy {
  margin: 0 auto 1.3rem;
  max-width: 38ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.partner-spotlight-action {
  margin: 0;
}

.partner-spotlight-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid #6437bf;
  border-radius: 999px;
  color: #ffffff;
  background: #6437bf;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.partner-spotlight-button:hover,
.partner-spotlight-button:focus-visible {
  transform: translateY(-1px);
  background: #7849d4;
  border-color: #7849d4;
  outline: none;
}

@media (max-width: 900px) {
  .overview-hero-inner {
    min-height: auto;
    padding: 58px 0 68px;
  }

  .landing-title {
    max-width: 15ch;
    font-size: 3rem;
  }

  .overview-feature-title {
    max-width: var(--overview-feature-title-max);
  }

  .session-section {
    padding: 64px 0 76px;
  }

  .session-facts {
    gap: 22px;
  }

  .session-card h3,
  .empty-session-card h3 {
    font-size: 2.65rem;
  }

  .partner-spotlight {
    padding: 64px 0 76px;
  }

  .partner-spotlight-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    width: min(100% - 48px, 1180px);
  }

  .partner-spotlight-title {
    max-width: 16ch;
    font-size: 2.7rem;
    line-height: 1.06;
  }

  .partner-spotlight-offer {
    border-radius: 24px;
  }
}

@media (max-width: 560px) {
  .overview-hero-inner,
  .session-section {
    width: min(100% - 28px, 1120px);
  }

  .overview-hero-inner {
    padding: 42px 0 52px;
  }

  .landing-subtitle {
    font-size: 0.78rem;
  }

  .landing-title {
    max-width: none;
    font-size: 2.4rem;
    line-height: 1.08;
  }

  h3 {
    font-size: 2.1rem;
  }

  .session-card h3,
  .empty-session-card h3 {
    font-size: 2.1rem;
  }

  .landing-summary,
  .session-description {
    margin-top: 20px;
    font-size: 1.05rem;
  }

  .session-card,
  .empty-session-card {
    min-height: 0;
    padding: 28px;
  }

  .session-facts {
    gap: 16px 18px;
  }

  .partner-spotlight {
    padding: 52px 0 62px;
  }

  .partner-spotlight-inner {
    width: min(100% - 28px, 1180px);
    gap: 28px;
  }

  .partner-spotlight-title {
    max-width: none;
    font-size: 2.2rem;
    line-height: 1.08;
  }

  .partner-spotlight-offer {
    padding: 24px;
    border-radius: 22px;
  }

  .partner-spotlight-logo {
    width: min(180px, 60%);
  }

  .partner-spotlight-button {
    width: 100%;
    min-height: 46px;
  }
}
