/* =============================================================
   Tapping Frog — Mentor Through Film
   mentorthroughfilm.tappingfrog.com
   Tagline: Mentor Through Film
   Cinematic aesthetic — dark, considered, prestigious
   Gold connects to wider TF family; deep green nods to creative parent
   ============================================================= */

:root {
  --brand-primary:    #111111;   /* near black — cinematic depth */
  --brand-dark-green: #001a00;   /* very dark green — nav nod to creative parent */
  --brand-accent:     #c8963e;   /* gold — shared TF connecting element */
  --brand-accent-lt:  #ddb06a;   /* lighter gold for small text on dark */
  --brand-green:      #004100;   /* forest green — used sparingly as accent */
  --brand-light:      #f0ece4;   /* warm off-white */
  --brand-mid:        #2a2a2a;   /* dark divider */
  --brand-panel:      #1a1a1a;   /* slightly lighter dark for panels */
  --text-primary:     #f0ece4;
  --text-body:        #d4cfc8;
  --text-muted:       #888078;
  --text-inverse:     #111111;
  --text-on-light:    #1a1208;

  --font-heading:     'Cormorant Garamond', Georgia, serif;
  --font-body:        'Lato', system-ui, sans-serif;
  --font-ui:          'Lato', system-ui, sans-serif;

  --nav-height:       64px;
  --max-width:        1100px;
  --section-pad:      4.5rem;
  --radius:           3px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--brand-primary);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--brand-light);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1rem; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 0.5rem; }

p { margin-bottom: 1.1rem; max-width: 66ch; color: var(--text-body); }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-accent); text-decoration: none; }
a:hover { color: var(--brand-accent-lt); text-decoration: none; }
strong { font-weight: 700; color: var(--brand-light); }
ul, ol { padding-left: 1.4rem; margin-bottom: 1.1rem; }
li { margin-bottom: 0.5rem; }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: var(--section-pad) 0; }

.section--panel {
  background: var(--brand-panel);
}

.section--ruled {
  border-top: 1px solid var(--brand-mid);
}

.section--light {
  background: var(--brand-light);
}

.section--light h2,
.section--light h3 { color: var(--text-on-light); }
.section--light p { color: #2e2418; }
.section--light strong { color: var(--text-on-light); }

.section--green {
  background: var(--brand-green);
}

.section--green h2,
.section--green h3 { color: var(--brand-light); }
.section--green p { color: rgba(240,236,228,0.82); }

/* --- NAV --- */
#site-header { position: sticky; top: 0; z-index: 100; }

.site-nav {
  background: var(--brand-dark-green);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--brand-accent);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-nav__logo img { height: 40px; width: auto; display: block; }

.site-nav__wordmark {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--brand-light);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-nav__wordmark span {
  color: var(--brand-accent);
  font-style: normal;
  font-weight: 600;
}

.site-nav__links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  padding: 0; margin: 0;
}

.site-nav__links a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(240,236,228,0.75);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.site-nav__links a:hover,
.site-nav__links a.active { color: var(--brand-accent); }
.site-nav__links a.active {
  border-bottom: 2px solid var(--brand-accent);
  padding-bottom: 2px;
}

.site-nav__toggle {
  display: none;
  background: none; border: none;
  color: var(--brand-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- HERO --- */
.hero {
  background: var(--brand-primary);
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}

/* Film frame device — decorative corner marks */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 60px; height: 60px;
  border-color: var(--brand-accent);
  border-style: solid;
  opacity: 0.3;
}

.hero::before {
  top: 2rem; left: 2rem;
  border-width: 2px 0 0 2px;
}

.hero::after {
  bottom: 2rem; right: 2rem;
  border-width: 0 2px 2px 0;
}

.hero .tagline {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 1.5rem;
  display: block;
}

.hero h1 {
  color: #ffffff;
  max-width: 18ch;
  font-style: italic;
  line-height: 1.15;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand-accent);
}

.hero .hero__sub {
  color: rgba(240,236,228,0.65);
  font-size: 1.05rem;
  max-width: 52ch;
  margin-top: 1.25rem;
  margin-bottom: 3rem;
}

/* --- PROGRAMME CARDS --- */
.programme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--brand-mid);
  border: 1px solid var(--brand-mid);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2rem;
}

.programme-card {
  background: var(--brand-panel);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
  position: relative;
}

.programme-card:hover { background: #222222; }

.programme-card__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.75rem;
  display: block;
}

.programme-card h3 { color: var(--brand-light); margin-bottom: 0.5rem; }
.programme-card p { font-size: 0.9rem; margin-bottom: 1rem; }
.programme-card a { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* --- PATHWAY STRIP --- */
.pathway {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 2.5rem;
  border: 1px solid var(--brand-mid);
  border-radius: var(--radius);
  overflow: hidden;
}

.pathway__step {
  flex: 1;
  padding: 1.5rem 1.25rem;
  background: var(--brand-panel);
  border-right: 1px solid var(--brand-mid);
  position: relative;
  text-align: center;
}

.pathway__step:last-child { border-right: none; }

.pathway__step::after {
  content: '›';
  position: absolute;
  right: -0.6rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-accent);
  font-size: 1.2rem;
  font-weight: 700;
  z-index: 1;
}

.pathway__step:last-child::after { display: none; }

.pathway__num {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 0.4rem;
  display: block;
}

.pathway__step h3 {
  font-size: 0.95rem;
  color: var(--brand-light);
  margin-bottom: 0.25rem;
}

.pathway__step p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- MENTOR PROFILE --- */
.mentor-profile {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.mentor-profile__image {
  background: var(--brand-mid);
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mentor-profile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentor-profile__image--placeholder {
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 2rem;
}

.mentor-profile__credits {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  border-top: 1px solid var(--brand-mid);
  padding-top: 1rem;
}

.mentor-profile__credits li {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 0;
}

.mentor-profile__credits li strong {
  color: var(--brand-accent-lt);
}

/* --- PULL QUOTE --- */
.pull-quote {
  border-left: 3px solid var(--brand-accent);
  padding: 1.25rem 1.75rem;
  margin: 2.5rem 0;
  background: var(--brand-panel);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.pull-quote p {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--brand-light);
  max-width: 54ch;
}

/* --- SERVICE TIERS --- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tier {
  border: 1px solid var(--brand-mid);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  background: var(--brand-panel);
}

.tier--featured {
  border-color: var(--brand-accent);
  border-width: 2px;
  position: relative;
}

.tier--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -0.6rem;
  left: 1.5rem;
  background: var(--brand-accent);
  color: var(--text-inverse);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.tier__label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 0.4rem;
}

.tier__price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--brand-light);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.tier__cadence {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.tier ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--brand-mid);
  padding-top: 1rem;
}

.tier ul li {
  font-size: 0.85rem;
  color: var(--text-body);
  padding: 0.3rem 0 0.3rem 1.2rem;
  position: relative;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.tier ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  font-size: 0.45rem;
  color: var(--brand-accent);
  top: 0.55rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn--primary { background: var(--brand-accent); color: #111111; }
.btn--primary:hover { background: #ddb06a; color: #111111; }
.btn--outline {
  background: transparent;
  color: var(--brand-light);
  border: 1px solid rgba(240,236,228,0.35);
}
.btn--outline:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}
.btn--green {
  background: var(--brand-green);
  color: var(--brand-light);
  border: 1px solid rgba(0,65,0,0.5);
}
.btn--green:hover { background: #005200; }

/* --- FOOTER --- */
#site-footer { margin-top: 0; }

.site-footer {
  background: #0a0a0a;
  color: var(--brand-light);
  padding: 3rem 0 2rem;
  border-top: 2px solid var(--brand-accent);
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.site-footer__wordmark {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--brand-light);
  margin-bottom: 0.2rem;
}

.site-footer__wordmark span { color: var(--brand-accent); font-style: normal; }

.site-footer__copy {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  opacity: 0.5;
  margin-top: 1.25rem;
  max-width: none;
}

.site-footer__links { list-style: none; padding: 0; margin: 0; }
.site-footer__links li { margin-bottom: 0.4rem; }
.site-footer__links a {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: rgba(240,236,228,0.5);
  letter-spacing: 0.04em;
}
.site-footer__links a:hover { color: var(--brand-accent); }

.site-footer__hub-links {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  opacity: 0.4;
  margin-top: 0.75rem;
}
.site-footer__hub-links a { color: rgba(240,236,228,0.4); }
.site-footer__hub-links a:hover { color: var(--brand-accent); }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .mentor-profile { grid-template-columns: 1fr; }
  .mentor-profile__image { aspect-ratio: 4/3; max-width: 360px; }
  .pathway { flex-direction: column; }
  .pathway__step { border-right: none; border-bottom: 1px solid var(--brand-mid); }
  .pathway__step:last-child { border-bottom: none; }
  .pathway__step::after { content: '↓'; right: auto; left: 50%; top: auto; bottom: -0.7rem; transform: translateX(-50%); }
  .pathway__step:last-child::after { display: none; }
}

@media (max-width: 768px) {
  :root { --section-pad: 3rem; }

  .site-nav__wordmark { display: none; }

  .site-nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--brand-dark-green);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .site-nav__links.open { display: flex; }
  .site-nav__toggle { display: block; }
  .tier-grid { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .programme-grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0 3.5rem; }
  .hero::before, .hero::after { display: none; }
}
