/* ==========================================================================
   The White Orchid, September Holiday Programme ("Bloom & Grow")
   --------------------------------------------------------------------------
   Page styling. Every value below is taken from
   design_handoff_september_holiday_programme/README.md and the prototype's
   inline styles, moved into classes per the handoff's own instruction that
   inline styling was an artifact of the prototyping runtime, not a
   recommendation. Every color/radius/shadow/spacing value is a var() token
   from colors_and_type.css, never a hardcoded hex.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
}

img { max-width: 100%; }

.container {
  max-width: 1216px;
  margin: 0 auto;
}

.container--narrow {
  max-width: 768px;
  margin: 0 auto;
}

/* =============================================================
   1. HERO
   ============================================================= */
.hero {
  position: relative;
  background: var(--bg-deep);
  color: var(--fg-on-deep);
  padding: 72px 32px 88px;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--tw-burnham) 72%, transparent);
}

.hero__watermark {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 420px;
  opacity: .16;
}

.hero__inner {
  position: relative;
}

.hero__logo {
  height: 56px;
  width: auto;
  display: block;
}

.hero__eyebrow {
  font-family: var(--font-syne);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-top: 56px;
  color: var(--fg-on-deep-soft);
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--fg-on-deep);
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.02;
  margin: 18px 0 0;
  max-width: 16em;
}

.hero__lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.35;
  margin: 22px 0 0;
  max-width: 22em;
  color: var(--fg-on-deep);
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--tw-smoke) 12%, transparent);
  border: 1px solid var(--line-on-deep);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
}

.hero__pill--accent {
  background: var(--tw-celadon);
  color: var(--tw-burnham-dk);
  border: none;
}

/* =============================================================
   2. PROGRAMME HIGHLIGHTS
   ============================================================= */
.highlights {
  position: relative;
  padding: 88px 32px;
  overflow: hidden;
}

.highlights__ornament {
  position: absolute;
  left: -160px;
  top: 40px;
  width: 460px;
  opacity: .28;
  pointer-events: none;
}

.highlights__inner {
  position: relative;
}

.highlights__eyebrow {
  font-family: var(--font-syne);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tw-burnham);
  opacity: .7;
}

.highlights__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  margin: 16px 0 0;
  max-width: 24em;
}

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card__index {
  font-family: var(--font-syne);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tw-burnham);
  opacity: .6;
}

.card__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  margin: 14px 0 12px;
}

.card__body {
  font-size: 17px;
  line-height: 1.45;
  margin: 0;
  font-weight: 300;
  text-wrap: pretty;
}

/* =============================================================
   3. THE EXCURSION (inverted)
   ============================================================= */
.excursion {
  position: relative;
  background: var(--bg-deep);
  color: var(--fg-on-deep);
  padding: 88px 32px;
  overflow: hidden;
}

.excursion__ornament {
  position: absolute;
  right: -140px;
  bottom: -100px;
  width: 480px;
  opacity: .14;
  pointer-events: none;
}

.excursion__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px;
  align-items: start;
}

.excursion__eyebrow {
  font-family: var(--font-syne);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-on-deep-soft);
}

.excursion__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.2;
  color: var(--fg-on-deep);
  margin: 16px 0 0;
}

.excursion__date {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  margin: 24px 0 0;
  color: var(--fg-on-deep);
}

.excursion__cards {
  display: grid;
  gap: 20px;
}

.excursion__card {
  border: 1px solid var(--line-on-deep);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: color-mix(in srgb, var(--tw-smoke) 8%, transparent);
}

.excursion__card p {
  font-size: 17px;
  line-height: 1.45;
  margin: 0;
  font-weight: 300;
  color: var(--fg-on-deep);
  text-wrap: pretty;
}

/* =============================================================
   4. TIMETABLE
   ============================================================= */
.timetable {
  padding: 88px 32px;
}

.timetable__eyebrow {
  font-family: var(--font-syne);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tw-burnham);
  opacity: .7;
}

.timetable__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  margin: 16px 0 8px;
}

.timetable__helper {
  font-size: 16px;
  font-weight: 300;
  margin: 0;
  opacity: .75;
}

.table-wrap {
  margin-top: 40px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  box-shadow: var(--shadow-xs);
}

.timetable table {
  border-collapse: collapse;
  width: 100%;
  min-width: 900px;
  font-size: 14px;
  table-layout: fixed;
}

.timetable thead th {
  text-align: left;
  padding: 18px 16px;
  font-family: var(--font-syne);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tw-burnham);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.timetable thead th:first-child {
  padding: 18px 20px;
  width: 150px;
  border-left: none;
}

.timetable thead th:not(:first-child) {
  border-left: 1px solid var(--line);
  width: 17%;
}

.timetable tbody th {
  text-align: left;
  padding: 14px 20px;
  font-weight: 500;
  font-size: 13px;
  color: var(--tw-burnham);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.timetable tbody tr:last-child th {
  border-bottom: none;
}

.timetable tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  vertical-align: top;
}

.timetable tbody tr:last-child td {
  border-bottom: none;
}

.timetable .activity {
  font-weight: 500;
  color: var(--fg);
}

.timetable .routine {
  font-weight: 300;
  color: var(--fg-muted);
}

.excursion-cell {
  padding: 16px;
  background: var(--tw-celadon);
  color: var(--tw-burnham-dk);
  vertical-align: top;
}

.excursion-cell__eyebrow {
  font-family: var(--font-syne);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .75;
}

.excursion-cell__title {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.25;
  margin-top: 8px;
}

/* =============================================================
   5. FEES
   ============================================================= */
.fees {
  padding: 0 32px 88px;
}

.fees__eyebrow {
  font-family: var(--font-syne);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tw-burnham);
  opacity: .7;
}

.fees__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  margin: 16px 0 0;
}

.fees__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.fee-card {
  border-radius: var(--radius-lg);
  padding: 36px;
}

.fee-card--ivory {
  background: var(--bg-raised);
  border: 1px solid var(--line);
}

.fee-card--deep {
  background: var(--bg-deep);
  color: var(--fg-on-deep);
}

.fee-card__label {
  font-family: var(--font-syne);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.fee-card--ivory .fee-card__label {
  color: var(--tw-burnham);
  opacity: .65;
}

.fee-card--deep .fee-card__label {
  color: var(--fg-on-deep-soft);
}

.fee-card__amount-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 20px;
}

.fee-card__amount {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1;
}

.fee-card__unit {
  font-size: 15px;
  font-weight: 300;
  opacity: .75;
}

.fee-card--deep .fee-card__unit {
  opacity: .8;
}

.fee-card__footnote {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.45;
  margin: 16px 0 0;
}

.fee-card--deep .fee-card__footnote {
  color: var(--fg-on-deep);
}

.fee-card__footnote--italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
}

/* =============================================================
   6. TERMS & CONDITIONS
   ============================================================= */
.terms {
  padding: 0 32px 88px;
}

.terms__eyebrow {
  font-family: var(--font-syne);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tw-burnham);
  opacity: .7;
}

.terms__intro {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  margin: 20px 0 0;
}

.terms dl {
  margin: 36px 0 0;
  display: grid;
  gap: 24px;
}

.terms .terms__item {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.terms dt {
  font-weight: 500;
  font-size: 16px;
}

.terms dd {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

/* =============================================================
   7. FOOTER / CTA
   ============================================================= */
.footer {
  position: relative;
  background: var(--bg-deep);
  color: var(--fg-on-deep);
  padding: 96px 32px;
  overflow: hidden;
}

.footer__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .08;
}

.footer__inner {
  position: relative;
  text-align: center;
}

.footer__motif {
  height: 76px;
  width: 76px;
  opacity: .55;
  filter: brightness(0) invert(1);
}

.footer__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.2;
  color: var(--fg-on-deep);
  margin: 28px 0 0;
}

.footer__lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.4;
  margin: 20px 0 0;
  color: var(--fg-on-deep);
}

.footer__paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 40px;
  text-align: center;
}

.footer__path {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__path-eyebrow {
  font-family: var(--font-syne);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-on-deep-soft);
  margin-bottom: 20px;
}

.footer__path-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.45;
  color: var(--fg-on-deep);
  max-width: 30em;
  margin: 0 0 20px;
}

.footer__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}

.footer__buttons .tw-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.footer__meta {
  font-family: var(--font-syne);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-on-deep-soft);
  margin-top: 64px;
}
