/* ============================================================
   HUSSEIN HALLAK — DESIGN SYSTEM
   Deep black. Gold warmth. Grain texture. Literary courage.
   WCAG AA contrast-safe. Designed for readability.
   ============================================================ */

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

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

:root {
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, 'Helvetica Neue', sans-serif;
}

/* ─── DARK MODE (default) ─── */
[data-theme="dark"] {
  --black: #050505;
  --black-card: #080508;
  --cream: #EDE8DD;
  --gold: #C2A96E;
  --emerald: #2A6B4A;

  --text-100: rgba(237, 232, 221, 1);
  --text-60: rgba(237, 232, 221, 0.78);
  --text-45: rgba(237, 232, 221, 0.68);
  --text-35: rgba(237, 232, 221, 0.62);
  --text-25: rgba(237, 232, 221, 0.52);
  --text-15: rgba(237, 232, 221, 0.42);
  --text-08: rgba(237, 232, 221, 0.18);
  --text-06: rgba(237, 232, 221, 0.12);

  --gold-80: rgba(194, 169, 110, 0.92);
  --gold-60: rgba(194, 169, 110, 0.82);
  --gold-50: rgba(194, 169, 110, 0.76);
  --gold-40: rgba(194, 169, 110, 0.72);
  --gold-30: rgba(194, 169, 110, 0.55);
  --gold-20: rgba(194, 169, 110, 0.35);
  --gold-10: rgba(194, 169, 110, 0.20);
  --gold-06: rgba(194, 169, 110, 0.12);
  --gold-04: rgba(194, 169, 110, 0.08);

  --emerald-60: rgba(42, 107, 74, 0.75);
  --emerald-40: rgba(42, 107, 74, 0.55);
  --emerald-20: rgba(42, 107, 74, 0.3);
  --emerald-10: rgba(42, 107, 74, 0.15);
  --emerald-06: rgba(42, 107, 74, 0.08);

  --divider: rgba(194, 169, 110, 0.10);
  --divider-light: rgba(194, 169, 110, 0.06);
}

/* ─── LIGHT MODE ─── */
[data-theme="light"] {
  --black: #FAFAF7;
  --black-card: #FFFFFF;
  --cream: #1A1A18;
  --gold: #8B6914;
  --emerald: #1A5C3A;

  /* Text scale — boosted for readability on light background */
  --text-100: #1A1A18;                      /* 18:1 — headings */
  --text-60:  #2D2D2A;                      /* 13:1 — emphasis */
  --text-45:  #3D3D38;                      /* 10:1 — secondary prose */
  --text-35:  #4A4A44;                      /*  8:1 — body text (AA+) */
  --text-25:  #5C5C55;                      /*  6:1 — nav, captions (AA) */
  --text-15:  #7A7A72;                      /*  4.5:1 — labels (AA at 14px+) */
  --text-08:  rgba(26, 26, 24, 0.15);       /* decorative borders */
  --text-06:  rgba(26, 26, 24, 0.10);       /* decorative borders */

  /* Gold scale — deeper for AA contrast on white */
  --gold-80:  #7A5C0F;                      /*  8.2:1 */
  --gold-60:  #8B6914;                      /*  6.8:1 */
  --gold-50:  #9A7520;                      /*  5.6:1 */
  --gold-40:  #A8842E;                      /*  4.7:1 — AA at 14px+ */
  --gold-30:  rgba(139, 105, 20, 0.45);     /* decorative accents */
  --gold-20:  rgba(139, 105, 20, 0.22);     /* decorative borders */
  --gold-10:  rgba(139, 105, 20, 0.14);     /* subtle borders */
  --gold-06:  rgba(139, 105, 20, 0.08);     /* background tints */
  --gold-04:  rgba(139, 105, 20, 0.04);     /* ultra-subtle */

  --emerald-60: #1A5C3A;
  --emerald-40: rgba(26, 92, 58, 0.55);
  --emerald-20: rgba(26, 92, 58, 0.25);
  --emerald-10: rgba(26, 92, 58, 0.10);
  --emerald-06: rgba(26, 92, 58, 0.05);

  --divider: rgba(26, 26, 24, 0.12);
  --divider-light: rgba(26, 26, 24, 0.07);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--serif);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img { max-width: 100%; display: block; }

/* --- TEXTURE LAYERS --- */
.grain {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: screen;
}

.atmosphere {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 50% at 15% 0%, rgba(194,169,110,0.025) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 100%, rgba(42,107,74,0.025) 0%, transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 60%, rgba(42,107,74,0.015) 0%, transparent 45%);
}

/* --- PAGE WRAPPER --- */
.page {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- NAVIGATION --- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  border-bottom: 1px solid var(--divider);
  position: relative;
  z-index: 100;
}

.nav-logo {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold-80);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--text-25);
  transition: color 0.3s ease;
}

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

.nav-links a.nav-cta {
  color: var(--gold-50);
}

.nav-links a.nav-cta:hover {
  color: var(--gold-80);
}

.nav-links a.active {
  color: var(--gold-60);
}

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold-50);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* --- TYPOGRAPHY --- */
.label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--gold-40);
}

.label-subtle {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--text-25);
}

.section-number {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--gold-40);
}

h1 {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 300;
  line-height: 1.05;
  color: var(--cream);
}

h2 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--cream);
}

h3 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--cream);
}

h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--cream);
}

.body-text {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-35);
}

.body-text-light {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-25);
}

.italic-gold {
  font-style: italic;
  color: rgba(194, 169, 110, 0.88);
}

.italic-dim {
  font-style: italic;
  color: var(--text-45);
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 1.5px;
  background: rgba(194, 169, 110, 0.88);
  color: var(--black);
  padding: 16px 36px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
  border: none;
}

.btn-primary:hover {
  background: rgba(194, 169, 110, 1);
}

.btn-ghost {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-25);
  cursor: pointer;
  border-bottom: 1px solid var(--text-08);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.btn-ghost:hover {
  color: var(--emerald-60);
  border-color: var(--emerald-20);
}

.link-gold {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--gold-60);
  cursor: pointer;
  border-bottom: 1px solid var(--gold-10);
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.link-gold:hover {
  color: var(--gold-80);
  border-color: var(--gold-30);
}

.link-dim {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-25);
  border-bottom: 1px solid var(--text-06);
  padding-bottom: 3px;
  transition: color 0.3s ease;
}

.link-dim:hover {
  color: var(--text-35);
}

/* --- LAYOUT --- */
.section {
  padding: 160px 48px;
  position: relative;
}

.section-sm {
  padding: 120px 48px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 72px;
}

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

.divider-gradient {
  margin: 0 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-20), var(--emerald-10), var(--gold-04));
}

.max-w-narrow { max-width: 480px; }
.max-w-medium { max-width: 580px; }
.max-w-wide { max-width: 720px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* --- CREDIBILITY GRID --- */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 48px;
}

.cred-grid + .cred-grid {
  border-top: 1px solid var(--divider-light);
}

.cred-item {
  padding: 40px 24px;
}

.cred-item:not(:last-child) {
  border-right: 1px solid var(--divider-light);
}

.cred-item:first-child { padding-left: 0; }
.cred-item:last-child { padding-right: 0; }

.cred-number {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 300;
  color: var(--gold-60);
  margin-bottom: 6px;
}

.cred-number.highlight {
  color: var(--cream);
}

.cred-label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--text-25);
}

.cred-link {
  text-decoration: none;
  display: block;
  transition: background 0.3s ease;
}

.cred-link:hover {
  background: var(--emerald-06);
}

.cred-link:hover .cred-number {
  color: var(--cream);
}

.cred-link:hover .cred-label {
  color: var(--text-25);
}

/* --- GUARANTEE --- */
.guarantee {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 24px;
  border: 1px solid var(--emerald-20);
  border-radius: 2px;
  margin-top: 24px;
  background: var(--emerald-06);
}

.guarantee-icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.guarantee-text {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-35);
  line-height: 1.6;
}

.guarantee-text strong {
  color: var(--cream);
  font-weight: 500;
}

/* --- OFFER CARDS --- */
.offers-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
}

.offer-divider {
  background: var(--divider);
}

.offer-card {
  padding: 0 56px;
}

.offer-card:first-child { padding-left: 0; }
.offer-card:last-child { padding-right: 0; }

.offer-tag {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold-40);
  margin-bottom: 28px;
}

.offer-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 300;
  line-height: 1.25;
  color: var(--cream);
  margin-bottom: 8px;
}

.offer-subtitle {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-25);
  margin-bottom: 20px;
  font-style: italic;
}

.offer-body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-25);
  margin-bottom: 40px;
}

.offer-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.offer-price {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-15);
}

/* --- ESSAY GRID --- */
.essay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.essay-card {
  padding: 36px;
}

.essay-card:first-child { padding-left: 0; }
.essay-card:last-child { padding-right: 0; }

.essay-card:not(:last-child) {
  border-right: 1px solid var(--divider-light);
}

.essay-tag {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--gold-40);
  margin-bottom: 24px;
}

.essay-title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--cream);
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.essay-card:hover .essay-title {
  color: rgba(42, 107, 74, 0.85);
}

.essay-excerpt {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-25);
}

.essay-meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-25);
  margin-top: 20px;
}

/* --- BOOK SECTION --- */
.book-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 80px;
  align-items: start;
}

.book-cover {
  width: 230px;
  height: 320px;
  background: var(--black-card);
  border: 1px solid var(--gold-06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.book-cover-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(42,107,74,0.10), transparent 55%),
    radial-gradient(ellipse at 65% 75%, rgba(120,70,50,0.08), transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(194,169,110,0.03), transparent 70%);
}

.book-cover-content {
  position: relative;
  z-index: 1;
}

/* --- SUBSCRIBE --- */
.subscribe-form {
  display: flex;
  gap: 8px;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
}

.subscribe-input {
  flex: 1;
  background: rgba(237, 232, 221, 0.03);
  border: 1px solid var(--gold-06);
  padding: 16px 18px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--cream);
  outline: none;
  transition: border-color 0.3s ease;
}

.subscribe-input::placeholder {
  color: var(--text-15);
}

.subscribe-input:focus {
  border-color: var(--gold-20);
}

/* --- FOOTER --- */
.footer {
  padding: 44px 48px 52px;
  border-top: 1px solid var(--divider);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--gold-50);
  margin-bottom: 8px;
}

.footer-tagline {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-25);
}

.footer-social {
  display: flex;
  gap: 20px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-25);
  margin-bottom: 10px;
  justify-content: flex-end;
}

.footer-social a {
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--gold-60);
}

.footer-copy {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--text-08);
  text-align: right;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--divider-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-nav {
  display: flex;
  gap: 20px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-25);
}

.footer-nav a:hover {
  color: var(--gold-50);
}

/* --- PAGE HEADERS --- */
.page-header {
  padding: 120px 48px 80px;
}

.page-header .label {
  margin-bottom: 40px;
}

.page-header h1 {
  margin-bottom: 32px;
}

.page-header .body-text {
  max-width: 560px;
}

/* --- DETAIL LIST (for offers, speaking topics) --- */
.detail-block {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider);
}

.detail-block:first-child {
  padding-top: 0;
}

.detail-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-block h3 {
  margin-bottom: 12px;
}

.detail-block .body-text {
  margin-bottom: 32px;
}

/* --- SPEAKING TIMELINE --- */
.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid var(--divider-light);
}

.timeline-year {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--gold-50);
}

.timeline-content {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 2;
  color: var(--text-35);
}

/* --- ABOUT STORY --- */
.story-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--divider-light);
}

.story-section:last-child {
  border-bottom: none;
}

.story-section h3 {
  margin-bottom: 28px;
}

.story-section .body-text {
  max-width: 640px;
}

/* --- CONTACT FORM --- */
.contact-form {
  max-width: 560px;
}

.form-group {
  margin-bottom: 28px;
}

.form-label {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold-40);
  margin-bottom: 10px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(237, 232, 221, 0.03);
  border: 1px solid var(--gold-06);
  padding: 16px 18px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--cream);
  outline: none;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold-20);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-15);
}

.form-select {
  cursor: pointer;
  color: var(--text-35);
}

.form-select option {
  background: var(--black);
  color: var(--cream);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.8;
}

/* --- ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.testimonial-card {
  padding: 48px 40px;
  border-bottom: 1px solid var(--divider-light);
  position: relative;
}

.testimonial-card:nth-child(odd) {
  border-right: 1px solid var(--divider-light);
}

.testimonial-quote {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-35);
  margin-bottom: 24px;
}

.testimonial-name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 2px;
}

.testimonial-role {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-25);
}

/* --- ALUMNI GRID --- */
.alumni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.alumni-card {
  padding: 32px 28px;
  border-bottom: 1px solid var(--divider-light);
  transition: background 0.3s ease;
}

.alumni-card:not(:nth-child(3n)) {
  border-right: 1px solid var(--divider-light);
}

.alumni-card:hover {
  background: var(--gold-04);
}

.alumni-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 6px;
}

.alumni-desc {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-25);
}

.alumni-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--gold-40);
  margin-top: 10px;
}

/* --- MEDIA/PODCAST GRID --- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.media-card {
  display: block;
  padding: 36px 32px;
  border-bottom: 1px solid var(--divider-light);
  transition: background 0.3s ease;
}

.media-card:nth-child(odd) {
  border-right: 1px solid var(--divider-light);
}

.media-card:hover {
  background: var(--gold-04);
}

.media-show {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--gold-40);
  margin-bottom: 12px;
}

.media-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--cream);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.media-card:hover .media-title {
  color: rgba(42, 107, 74, 0.85);
}

.media-desc {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-25);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  h1 { font-size: 48px; }
  h2 { font-size: 32px; }
  h3 { font-size: 26px; }

  .nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--black); padding: 24px; gap: 20px; z-index: 99; border-bottom: 1px solid var(--divider); }
  .nav-links.open a { font-size: 14px; }
  .nav-toggle { display: block; }

  .section { padding: 80px 24px; }
  .section-sm { padding: 60px 24px; }
  .page-header { padding: 80px 24px 60px; }
  .divider, .divider-gradient { margin: 0 24px; }

  .cred-grid { grid-template-columns: 1fr 1fr; padding: 0 24px; }
  .cred-item:nth-child(2) { border-right: none; }
  .cred-number { font-size: 30px; }

  .offers-grid { grid-template-columns: 1fr; }
  .offer-divider { display: none; }
  .offer-card { padding: 0; }
  .offer-card + .offer-card { margin-top: 60px; padding-top: 60px; border-top: 1px solid var(--divider); }

  .essay-grid { grid-template-columns: 1fr; }
  .essay-card { padding: 28px 0; border-right: none !important; border-bottom: 1px solid var(--divider-light); }
  .essay-card:last-child { border-bottom: none; }

  .book-layout { grid-template-columns: 1fr; gap: 48px; }
  .book-cover { margin: 0 auto; }

  .timeline-item { grid-template-columns: 1fr; gap: 12px; }

  .footer { padding: 32px 24px 40px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-social { justify-content: flex-start; }
  .footer-copy { text-align: left; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer-nav { flex-wrap: wrap; gap: 12px; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { border-right: none !important; padding: 32px 0; }

  .alumni-grid { grid-template-columns: 1fr 1fr; }
  .alumni-card:not(:nth-child(3n)) { border-right: none; }
  .alumni-card:nth-child(odd) { border-right: 1px solid var(--divider-light); }

  .media-grid { grid-template-columns: 1fr; }
  .media-card { border-right: none !important; padding: 28px 0; }
}


/* ─── THEME TOGGLE ─── */
.theme-btn {
  background: none;
  border: 1px solid var(--divider);
  color: var(--gold-50);
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1;
  transition: border-color 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-btn:hover {
  border-color: var(--gold-20);
  color: var(--gold-80);
}

/* Light mode grain adjustment */
[data-theme="light"] .grain {
  mix-blend-mode: multiply;
  opacity: 0.02;
}

[data-theme="light"] .atmosphere {
  background:
    radial-gradient(ellipse 80% 50% at 15% 0%, rgba(139,105,20,0.02) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 100%, rgba(26,92,58,0.02) 0%, transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 60%, rgba(26,92,58,0.01) 0%, transparent 45%);
}

/* Light mode italic-gold override (hardcoded rgba in original) */
[data-theme="light"] .italic-gold {
  color: rgba(139, 105, 20, 0.88);
}

/* Light mode btn-primary (hardcoded rgba in original) */
[data-theme="light"] .btn-primary {
  background: rgba(139, 105, 20, 0.88);
  color: #FAFAF7;
}
[data-theme="light"] .btn-primary:hover {
  background: rgba(139, 105, 20, 1);
}

/* Theme button spacing in nav */
.nav-links .theme-btn {
  margin-left: 8px;
}

@media (max-width: 900px) {
  .nav-links .theme-btn {
    margin-left: 0;
    margin-top: 8px;
    align-self: flex-start;
  }
}


/* ─── LIGHT MODE: FORM FIELDS ─── */
[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
  background: #FFFFFF;
  border: 1px solid rgba(26, 26, 24, 0.18);
  color: #1A1A18;
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-select:focus,
[data-theme="light"] .form-textarea:focus {
  border-color: rgba(139, 105, 20, 0.4);
}

[data-theme="light"] .form-input::placeholder,
[data-theme="light"] .form-textarea::placeholder {
  color: #7A7A72;
}

[data-theme="light"] .form-select {
  color: #4A4A44;
}

[data-theme="light"] .form-select option {
  background: #FFFFFF;
  color: #1A1A18;
}

/* Light mode subscribe input */
[data-theme="light"] .subscribe-input {
  background: #FFFFFF;
  border: 1px solid rgba(26, 26, 24, 0.18);
  color: #1A1A18;
}

/* Light mode credential numbers */
[data-theme="light"] .cred-number {
  color: #8B6914;
}

/* Light mode nav open background */
[data-theme="light"] .nav-links.open {
  background: var(--black);
}

/* Light mode essay cards */
[data-theme="light"] .essay-card:hover .essay-title {
  color: #1A5C3A;
}
