﻿/* ============================================================
   OMG Oxford - Oxfordshire Magicians Guild
   ============================================================ */

:root {
  --navy: #0a1322;
  --navy-2: #0e1a2d;
  --navy-3: #13213a;
  --gold: #c9a45c;
  --gold-bright: #ddb96f;
  --gold-deep: #a9853f;
  --cream: #f4ede0;
  --cream-2: #ece2cf;
  --ink: #1c2434;
  --text-light: #e9e5da;
  --text-muted: #a7b0bf;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 92px; }

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--navy);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85em 1.9em;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }

.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); }

.btn-outline-gold { color: var(--gold); border-color: var(--gold); background: transparent; }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }

.btn-outline-light { color: #fff; border-color: rgba(255,255,255,0.65); background: rgba(10,19,34,0.25); }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-outline-navy { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-outline-navy:hover { background: var(--ink); color: var(--cream); }

.btn-navy { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-navy:hover { background: var(--navy-3); }

/* ---------- Ornament divider ---------- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 1.3rem auto 1.6rem;
}
.ornament svg { width: 18px; height: 18px; flex: none; }
.orn-line {
  display: block;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.orn-line:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament-left { justify-content: flex-start; margin-left: 0; }
.ornament.gold-dark .orn-line { background: linear-gradient(90deg, transparent, var(--gold-deep)); }
.ornament.gold-dark .orn-line:last-child { background: linear-gradient(90deg, var(--gold-deep), transparent); }

/* ---------- Section titles ---------- */
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
}
.section-title.light { color: var(--text-light); }
.section-title.dark { color: var(--ink); }

.section-intro {
  text-align: center;
  color: #5c5647;
  max-width: 46rem;
  margin: 0 auto 2.8rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(7,12,22,0.68), rgba(7,12,22,0.30) 70%, transparent);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(8,13,24,0.88);
  box-shadow: 0 4px 24px rgba(0,0,0,0.45);
}

.header-inner {
  width: min(1320px, 94%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 2rem;
}

/* Brand lockup */
.brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  padding-top: 2px;
}
.brand-wand {
  position: absolute;
  top: -6px;
  right: -30px;
  width: 92px;
  opacity: 0.9;
  pointer-events: none;
}
.brand-omg {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.brand-city {
  font-family: var(--serif);
  font-size: 0.82rem;
  color: var(--cream);
  letter-spacing: 0.34em;
  margin: 0.32em 0 0.38em;
}
.brand-sub {
  font-size: 0.5rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  white-space: nowrap;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.main-nav > a, .nav-drop-btn {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4em 0;
  transition: color 0.2s;
}
.main-nav > a:hover, .nav-drop-btn:hover { color: var(--gold); }
.main-nav > a.active { color: var(--gold); }
.main-nav > a.nav-cta { padding: 0.85em 1.6em; }
.main-nav > a.nav-cta:hover { color: var(--navy); }

.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 0.45em; }
.nav-drop-btn svg { width: 10px; height: 7px; transition: transform 0.25s; }
.nav-drop.open .nav-drop-btn svg, .nav-drop:hover .nav-drop-btn svg { transform: rotate(180deg); }

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  min-width: 250px;
  background: rgba(10,17,30,0.97);
  border: 1px solid rgba(201,164,92,0.35);
  border-radius: 4px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  box-shadow: 0 14px 34px rgba(0,0,0,0.5);
}
.nav-drop.open .nav-drop-menu, .nav-drop:hover .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-drop-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-drop-menu a:hover { background: rgba(201,164,92,0.12); color: var(--gold); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero.jpg") center right / cover no-repeat, var(--navy);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,12,22,0.88) 0%, rgba(7,12,22,0.55) 42%, rgba(7,12,22,0.05) 70%),
    linear-gradient(0deg, rgba(10,19,34,0.9) 0%, transparent 22%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 9rem 0 6rem;
  max-width: 640px;
  margin-left: max(4%, calc((100% - 1180px) / 2 + 0px));
  margin-right: auto;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.14;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-lead {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-light);
  max-width: 30rem;
  margin-bottom: 1.2rem;
}
.hero-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 30rem;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
  position: relative;
  padding: 10rem 0 4.5rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(7,12,22,0.82), rgba(10,19,34,0.92)),
    url("../img/hero.jpg") center 30% / cover no-repeat,
    var(--navy);
}
.page-banner h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.page-banner p {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto;
}

/* ============================================================
   FOUNDER
   ============================================================ */
.founder {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 5.5rem 0 6rem;
}
.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 3.5rem;
  align-items: start;
}
.founder-photo {
  margin: 0;
  padding: 0.9rem;
  background: rgba(201,164,92,0.06);
  border: 1px solid rgba(201,164,92,0.4);
  border-radius: 3px;
}
.founder-photo img {
  width: 100%;
  border-radius: 2px;
  filter: sepia(0.12);
}
.founder-photo figcaption {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  padding: 0.9rem 0.4rem 0.2rem;
}
.eyebrow {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.founder-text h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}
.founder-text .ornament { margin: 1rem 0 1.4rem; }
.founder-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 1.1rem;
}
.founder-text p em { font-style: italic; color: var(--text-light); }
.founder-text p a { color: var(--gold); }

/* ============================================================
   MEMBERS
   ============================================================ */
.members {
  background: var(--navy-2);
  border-top: 1px solid rgba(201,164,92,0.12);
  padding: 5.5rem 0 6rem;
}
.member-row { margin-top: 3.2rem; }
.founder-grid.reverse {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
}
.founder-grid.reverse .founder-photo { max-width: 420px; justify-self: end; }

/* ============================================================
   MISSION
   ============================================================ */
.mission {
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse at 12% 20%, rgba(28,36,52,0.055), transparent 46%),
    radial-gradient(ellipse at 88% 30%, rgba(28,36,52,0.05), transparent 44%);
  color: var(--ink);
  padding: 5rem 0 5.5rem;
  text-align: center;
}
.mission .section-intro { margin-bottom: 2rem; }
.mission-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   EVENTS - REGULAR MEETINGS
   ============================================================ */
.meetings {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 5.5rem 0 6rem;
}
.section-intro.light { color: var(--text-muted); }
.meet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 0.5rem;
}
.meet-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,164,92,0.28);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.meet-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,164,92,0.55);
  box-shadow: 0 18px 44px rgba(0,0,0,0.45);
}
.meet-media { position: relative; }
.meet-media img, .meet-media .biz-illus {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.day-chip {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  background: rgba(8,13,24,0.85);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.45em 1em;
  border-radius: 2px;
}
.meet-body { padding: 1.6rem 1.8rem 1.9rem; }
.meet-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.6rem;
}
.meet-venue {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.meet-venue svg { width: 16px; height: 16px; flex: none; }
.meet-body > p:not(.meet-venue) {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

/* ============================================================
   EVENTS - AROUND OXFORDSHIRE
   ============================================================ */
.events-list {
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse at 12% 20%, rgba(28,36,52,0.055), transparent 46%),
    radial-gradient(ellipse at 88% 30%, rgba(28,36,52,0.05), transparent 44%);
  color: var(--ink);
  padding: 5.5rem 0 6rem;
}
.event-rows {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 56rem;
  margin: 0 auto;
}
.event-item {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(28,36,52,0.14);
  border-radius: 4px;
  padding: 1.2rem 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.event-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(28,36,52,0.14);
}
.event-date {
  flex: none;
  width: 74px;
  text-align: center;
  border: 1px solid rgba(28,36,52,0.35);
  border-radius: 3px;
  padding: 0.6rem 0.3rem;
  background: var(--cream);
}
.event-day {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}
.event-month {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6b6350;
  margin-top: 0.2rem;
}
.event-info { flex: 1; min-width: 0; }
.event-info h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.event-venue {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.35rem;
}
.event-info > p:not(.event-venue) {
  font-size: 0.85rem;
  font-weight: 400;
  color: #4d4839;
}
.event-tag {
  flex: none;
  align-self: flex-start;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid rgba(28,36,52,0.35);
  border-radius: 2px;
  padding: 0.4em 0.9em;
}
.events-cta {
  text-align: center;
  margin-top: 2.6rem;
  font-size: 0.92rem;
  color: #4d4839;
}
.events-cta a { color: var(--gold-deep); font-weight: 500; }

/* ============================================================
   HIRE - MAGICIAN DIRECTORY
   ============================================================ */
.magicians {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 5.5rem 0 6rem;
}
.magician-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.magician-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,164,92,0.28);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.magician-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,164,92,0.55);
  box-shadow: 0 18px 44px rgba(0,0,0,0.45);
}
.magician-media { position: relative; }
.magician-media svg,
.magician-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
}
.magician-media img { object-fit: cover; }
.sample-tag {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: rgba(8,13,24,0.85);
  border: 1px solid rgba(201,164,92,0.6);
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4em 0.9em;
  border-radius: 2px;
}
.magician-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.4rem 1.5rem 1.7rem;
}
.magician-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.45rem;
}
.magician-area {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.magician-area svg { width: 15px; height: 15px; flex: none; }
.spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.spec-tags span {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  border: 1px solid rgba(201,164,92,0.35);
  background: rgba(201,164,92,0.08);
  border-radius: 2px;
  padding: 0.35em 0.8em;
}
.magician-body > p:not(.magician-area) {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 1.3rem;
  flex-grow: 1;
}
.magician-body .btn { align-self: flex-start; }

/* ============================================================
   HIRE - HOW IT WORKS
   ============================================================ */
.how-it-works {
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse at 12% 20%, rgba(28,36,52,0.055), transparent 46%),
    radial-gradient(ellipse at 88% 30%, rgba(28,36,52,0.05), transparent 44%);
  color: var(--ink);
  padding: 5.5rem 0 6rem;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 62rem;
  margin: 2.6rem auto 0;
}
.step {
  text-align: center;
  padding: 0 1rem;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold-deep);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 1.1rem;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.55rem;
}
.step p {
  font-size: 0.87rem;
  font-weight: 400;
  color: #4d4839;
}

/* ============================================================
   HOME - WHY JOIN (BENEFITS)
   ============================================================ */
.benefits {
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse at 12% 20%, rgba(28,36,52,0.055), transparent 46%),
    radial-gradient(ellipse at 88% 30%, rgba(28,36,52,0.05), transparent 44%);
  color: var(--ink);
  padding: 5.5rem 0 6rem;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.benefit {
  text-align: center;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(28,36,52,0.12);
  border-radius: 4px;
  padding: 1.8rem 1.4rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.benefit:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(28,36,52,0.13);
}
.benefit-icon { width: 46px; height: 46px; margin: 0 auto 0.9rem; display: block; }
.benefit h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.benefit p {
  font-size: 0.82rem;
  font-weight: 400;
  color: #4d4839;
  line-height: 1.6;
}
.benefit-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(169,133,63,0.12);
  border: 1px dashed rgba(169,133,63,0.6);
}
.benefit-cta p {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
}

/* ============================================================
   HOME - COMMUNITY
   ============================================================ */
.community {
  background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
  border-top: 1px solid rgba(201,164,92,0.12);
  padding: 5.5rem 0 6rem;
}
.who-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  max-width: 54rem;
  margin: 0 auto 3.2rem;
}
.who-chip {
  font-family: var(--serif);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  border: 1px solid rgba(201,164,92,0.4);
  background: rgba(201,164,92,0.07);
  border-radius: 2px;
  padding: 0.7em 1.3em;
}
.member-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.member-mini {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,164,92,0.28);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.member-mini:hover { transform: translateY(-3px); border-color: rgba(201,164,92,0.55); }
.member-mini img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.member-mini-body { padding: 1.3rem 1.5rem 1.6rem; }
.member-mini-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.45rem;
}
.member-mini-body p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0;
}
.member-mini-join {
  display: flex;
  align-items: center;
  border-style: dashed;
}
.member-mini-join .member-mini-body { display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-start; }
.member-mini-join p { margin: 0; }

/* ============================================================
   JOIN CTA BAND
   ============================================================ */
.join-cta {
  position: relative;
  text-align: center;
  padding: 5rem 0 5.5rem;
  background:
    linear-gradient(180deg, rgba(7,12,22,0.86), rgba(10,19,34,0.94)),
    url("../img/hero.jpg") center 40% / cover no-repeat,
    var(--navy);
}
.join-cta h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.join-cta p {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-muted);
  max-width: 38rem;
  margin: 0 auto 2rem;
}
.join-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.section-cta { text-align: center; margin-top: 2.6rem; }

/* ============================================================
   MEMBERSHIP PAGE
   ============================================================ */
.membership-intro { text-align: center; }
.membership-copy {
  max-width: 44rem;
  margin: 0 auto;
  text-align: left;
}
.membership-copy p {
  font-size: 0.97rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

/* ============================================================
   RESOURCES PAGE
   ============================================================ */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.resource-card {
  text-align: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,164,92,0.28);
  border-radius: 4px;
  padding: 2rem 1.6rem;
}
.resource-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.6rem;
}
.resource-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}
.resource-status {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,164,92,0.5);
  border-radius: 2px;
  padding: 0.4em 1em;
}
.events-cta.light { color: var(--text-muted); }
.events-cta.light a { color: var(--gold); }

/* ============================================================
   PROP EXCHANGE
   ============================================================ */
.exchange-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold);
  margin: 3rem 0 1.8rem;
}
.member-mini-body .btn { margin-top: 1rem; }
.maker-mini img, .maker-mini video {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
}
.member-mini-body p a:not(.btn) { color: var(--gold); }
.listing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-style: dashed;
}
.listing-cta .magician-body { align-items: center; }
.listing-cta .magician-body .btn { align-self: center; }

/* ============================================================
   FELLOW SOCIETIES
   ============================================================ */
.societies {
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse at 12% 20%, rgba(28,36,52,0.055), transparent 46%),
    radial-gradient(ellipse at 88% 30%, rgba(28,36,52,0.05), transparent 44%);
  color: var(--ink);
  padding: 5.5rem 0 6rem;
}
.society-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
}
.society-card {
  flex: 0 1 calc((100% - 2.8rem) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(28,36,52,0.12);
  border-radius: 4px;
  padding: 1.9rem 1.6rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.society-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(28,36,52,0.13);
}
.society-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.55rem;
}
.society-card p {
  font-size: 0.84rem;
  font-weight: 400;
  color: #4d4839;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

/* ============================================================
   PILLARS
   ============================================================ */
.pillars {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 5.5rem 0 6rem;
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 3.2rem;
}
.pillar {
  text-align: center;
  padding: 0.5rem 1.4rem;
  border-left: 1px solid rgba(201,164,92,0.18);
}
.pillar:first-child { border-left: none; }
.pillar-icon { width: 52px; height: 52px; margin: 0 auto 1.1rem; }
.pillar h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.7rem;
}
.pillar p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   BUSINESSES
   ============================================================ */
.businesses {
  position: relative;
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse at 12% 20%, rgba(28,36,52,0.055), transparent 46%),
    radial-gradient(ellipse at 88% 30%, rgba(28,36,52,0.05), transparent 44%),
    radial-gradient(ellipse at 50% 95%, rgba(169,133,63,0.07), transparent 50%);
  color: var(--ink);
  padding: 5.5rem 0 6rem;
}
.businesses .section-intro { color: #5c5647; }

.biz-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
}
.biz-grid .biz-card {
  flex: 0 1 calc((100% - 3.2rem) / 3);
  min-width: 0;
}
.biz-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(28,36,52,0.12);
  border-radius: 4px;
  padding: 0 1.2rem 1.6rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.biz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(28,36,52,0.16);
}
.biz-media {
  position: relative;
  width: calc(100% + 2.4rem);
  margin: 0 -1.2rem 2.6rem;
}
.biz-media img, .biz-illus {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px 4px 0 0;
}
.biz-illus { display: block; }
.biz-badge {
  position: absolute;
  left: 50%;
  bottom: -1.55rem;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--cream);
  border: 1px solid rgba(28,36,52,0.15);
  border-radius: 3px;
  box-shadow: 0 8px 20px rgba(28,36,52,0.18);
  padding: 0.5rem 0.9rem;
  white-space: nowrap;
  color: var(--ink);
}
.biz-badge svg { width: 22px; height: 22px; flex: none; }
.biz-badge span { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.biz-badge strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.biz-badge small {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b6350;
}
.biz-more-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: -1.4rem 0 0.9rem;
}
.biz-card > p {
  font-size: 0.85rem;
  font-weight: 400;
  color: #4d4839;
  line-height: 1.65;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

/* ============================================================
   FEATURE TILES
   ============================================================ */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--navy);
}
.tile {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.tile:hover::before { transform: scale(1.05); }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,13,24,0.55), rgba(8,13,24,0.82));
}
.tile-magicians::before {
  background-image:
    radial-gradient(ellipse at 70% 20%, rgba(201,164,92,0.25), transparent 55%),
    linear-gradient(160deg, #16233a, #0a1322);
}
.tile-hire::before {
  background-image:
    radial-gradient(ellipse at 30% 80%, rgba(201,164,92,0.22), transparent 55%),
    linear-gradient(200deg, #182640, #0a1322);
}
.tile-events::before { background-image: url("../img/radcliffe.jpg"); }

.tile-content {
  position: relative;
  z-index: 1;
  padding: 3rem 2.6rem;
}
.tile-content h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.9rem;
}
.tile-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 26rem;
  margin-bottom: 1.6rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #070d18;
  padding-top: 4.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}
.footer-logo {
  width: 150px;
  margin: 0 0 1.1rem;
}
.footer-brand > p {
  font-size: 0.84rem;
  color: var(--text-muted);
  max-width: 17rem;
  margin-bottom: 1.4rem;
}
.social { display: flex; gap: 0.9rem; }
.social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201,164,92,0.4);
  border-radius: 50%;
  color: var(--gold);
  transition: background 0.25s, color 0.25s;
}
.social a:hover { background: var(--gold); color: var(--navy); }
.social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer-col a {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.55rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}
.footer-contact svg { width: 17px; height: 17px; flex: none; color: var(--gold); margin-top: 2px; }
.footer-contact a { display: inline; margin: 0; }

.footer-bottom {
  border-top: 1px solid rgba(201,164,92,0.15);
  padding: 1.2rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.76rem;
  color: #77808f;
}
.footer-legal { display: flex; gap: 1.6rem; }
.footer-legal a { color: #77808f; text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1120px) {
  .pillar-grid { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
  .pillar:nth-child(4) { border-left: none; }
  .biz-grid .biz-card { flex-basis: calc((100% - 1.6rem) / 2); }
  .meet-grid { grid-template-columns: 1fr; }
  .magician-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 2.4rem; }
  .tiles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .member-strip { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
  .society-card { flex-basis: calc((100% - 1.4rem) / 2); }
}

@media (max-width: 1500px) {
  .main-nav { gap: 1.15rem; }
  .main-nav > a, .nav-drop-btn { font-size: 0.72rem; letter-spacing: 0.1em; }
}

@media (max-width: 1100px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.4rem;
    padding: 6rem 2rem 2rem;
    background: rgba(8,13,24,0.98);
    border-left: 1px solid rgba(201,164,92,0.25);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav { gap: 0.4rem; }
  .main-nav > a, .nav-drop-btn { padding: 0.7em 0; font-size: 0.85rem; letter-spacing: 0.13em; }
  .nav-drop-menu {
    position: static;
    translate: none;
    transform: none;
    opacity: 1;
    visibility: hidden;
    display: none;
    border: none;
    box-shadow: none;
    background: transparent;
    padding-left: 0.9rem;
  }
  .nav-drop.open .nav-drop-menu { display: block; visibility: visible; }
  .main-nav > a.nav-cta { margin-top: 1.2rem; }
  .nav-toggle { display: flex; z-index: 110; }
}

@media (max-width: 900px) {
  .founder-grid, .founder-grid.reverse { grid-template-columns: 1fr; gap: 2.5rem; }
  .founder-photo { max-width: 480px; margin-inline: auto; }
  .founder-grid.reverse .founder-photo { order: -1; max-width: 400px; justify-self: center; }
  .hero-bg::after {
    background:
      linear-gradient(90deg, rgba(7,12,22,0.82) 0%, rgba(7,12,22,0.66) 55%, rgba(7,12,22,0.45) 100%),
      linear-gradient(0deg, rgba(10,19,34,0.9) 0%, transparent 25%);
  }
}

@media (max-width: 720px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { border-left: none; border-top: 1px solid rgba(201,164,92,0.18); padding-top: 2.2rem; }
  .pillar:first-child { border-top: none; }
  .biz-grid .biz-card { flex-basis: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content {
    padding-top: 10rem;
    margin-inline: auto;
    text-align: center;
  }
  .ornament-left { justify-content: center; }
  .hero-lead, .hero-body { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .site-footer { text-align: center; }
  .footer-brand > p { margin-inline: auto; }
  .footer-logo { margin-inline: auto; }
  .social { justify-content: center; }
  .footer-contact p { justify-content: center; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .event-item { flex-direction: column; align-items: center; text-align: center; }
  .event-tag { align-self: center; }
  .magician-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .society-card { flex-basis: 100%; }
}

/* Image logo in header (replaces text wordmark) */
.brand-logo-img {
  display: block;
  height: 108px;
  width: auto;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 12px rgba(201, 164, 92, 0.25));
  transition: filter 0.25s ease, transform 0.25s ease;
}
.brand:hover .brand-logo-img {
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 18px rgba(201, 164, 92, 0.45));
  transform: scale(1.03);
}
/* Tighter bar so the larger logo doesn't cost screen space */
.header-inner { padding: 0.5rem 0; }
@media (max-width: 720px) {
  .brand-logo-img { height: 80px; }
}

/* Links inside a resource card (Magic & Technology case studies) */
.resource-link {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}
.resource-link:hover {
  color: var(--cream, #f4ede0);
  text-decoration: underline;
}
