/* Palette draws on green and yellow, the colors associated with Ọ̀rúnmìlà */
:root {
  --green-900: #13281d;
  --green-800: #1c3a2a;
  --green-600: #2f5d43;
  --gold-500: #c9a227;
  --gold-300: #e6cf7a;
  --cream: #f7f2e7;
  --cream-dark: #efe6d2;
  --ink: #1f1b16;
  --muted: #5d564b;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 720px; }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--green-800); }
h3 { font-size: 1.5rem; color: var(--green-800); }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-500);
  margin: 0 0 .75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  background: var(--gold-500);
  color: var(--green-900);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--gold-500);
  cursor: pointer;
  font: 600 .95rem var(--sans);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--gold-300); border-color: var(--gold-300); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(247, 242, 231, .5); }
.btn-ghost:hover { background: rgba(247, 242, 231, .1); border-color: var(--cream); }
.btn-small { padding: .5rem 1.1rem; font-size: .85rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(19, 40, 29, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 162, 39, .25);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--gold-300); text-decoration: none; letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a:not(.btn) { color: var(--cream); text-decoration: none; font-size: .92rem; opacity: .85; }
.nav-links a:not(.btn):hover { opacity: 1; color: var(--gold-300); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 6px 0; transition: transform .2s; }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201, 162, 39, .18), transparent 55%),
    linear-gradient(160deg, var(--green-900), var(--green-800) 60%, var(--green-600));
  color: var(--cream);
  padding: clamp(4rem, 10vw, 8rem) 0;
}
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(3rem, 8vw, 5.5rem); color: var(--cream); margin-bottom: 1.25rem; }
.hero h1 span { display: block; font-style: italic; font-weight: 500; color: var(--gold-300); font-size: .55em; margin-top: .3em; }
.lead { font-size: 1.15rem; max-width: 34ch; opacity: .9; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }


/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--cream-dark); }
.section-dark { background: var(--green-900); color: var(--cream); }
.section-dark h2 { color: var(--cream); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section p { color: var(--muted); }
.section-dark p { color: rgba(247, 242, 231, .8); }

.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }

.portrait-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--green-800), var(--green-600));
  border: 1px solid rgba(201, 162, 39, .4);
  display: grid; place-items: center;
  color: var(--gold-300);
  font-family: var(--serif); font-size: 1.3rem; font-style: italic;
}

blockquote {
  margin: 2rem 0 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--gold-500);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--green-800);
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  border-top: 3px solid var(--gold-500);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(19, 40, 29, .06);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 14px 32px rgba(19, 40, 29, .1); }
.card p { margin: 0; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.contact-list strong { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); font-weight: 600; }
.contact-list a { color: var(--cream); }

.contact-form {
  display: grid; gap: 1rem;
  background: rgba(247, 242, 231, .05);
  border: 1px solid rgba(201, 162, 39, .3);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
.contact-form label { display: grid; gap: .4rem; font-size: .85rem; font-weight: 500; color: rgba(247, 242, 231, .85); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 1rem;
  padding: .75rem .9rem;
  border-radius: 8px;
  border: 1px solid rgba(247, 242, 231, .2);
  background: rgba(0, 0, 0, .2);
  color: var(--cream);
}
.contact-form select option { color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--gold-500); outline-offset: 1px; border-color: transparent; }
.contact-form .btn { justify-self: start; margin-top: .5rem; }

/* Footer */
.site-footer { background: var(--green-900); color: rgba(247, 242, 231, .6); border-top: 1px solid rgba(201, 162, 39, .2); padding: 1.75rem 0; font-size: .88rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.site-footer .brand { font-size: 1.3rem; }


/* Photos */
figure { margin: 0; }
.hero-photo img {
  width: 100%; max-width: 420px; margin-left: auto;
  aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%;
  border-radius: 200px 200px var(--radius) var(--radius);
  border: 2px solid var(--gold-500);
  box-shadow: 0 0 0 10px rgba(201, 162, 39, .12), 0 30px 60px rgba(0, 0, 0, .35);
}
.portrait img, .framed img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(19, 40, 29, .18);
}
.portrait img { aspect-ratio: 4 / 5; object-position: center 25%; outline: 1px solid var(--gold-500); outline-offset: 10px; }
.framed img { aspect-ratio: 4 / 3; }
.two-col.reverse { grid-template-columns: 1.2fr 1fr; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 12px;
}
.g-item { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--green-800); }
.g-item.tall { grid-row: span 2; }
.g-item.wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.g-item:hover img { transform: scale(1.04); opacity: .92; }
.g-item:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 20, 14, .92);
  display: grid; place-items: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 12px; right: 20px; background: none; border: 0; color: var(--cream); font-size: 2.5rem; cursor: pointer; }

/* Sub-pages */
.nav-links a:not(.btn)[aria-current="page"] { color: var(--gold-300); opacity: 1; }
.hero-page h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
.hero-short { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.centered-lead { margin-inline: auto; max-width: 52ch; }
.hero-actions.centered { justify-content: center; margin-top: 2rem; }
.fine { font-size: .88rem; margin-top: 2rem; }

.checks { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .55rem; }
.checks li { position: relative; padding-left: 1.6rem; color: var(--muted); }
.checks li::before { content: "✦"; position: absolute; left: 0; color: var(--gold-500); font-size: .85rem; top: .1rem; }

.pricing { align-items: stretch; }
.pricing .card { display: flex; flex-direction: column; position: relative; }
.pricing .checks { flex: 1; margin-bottom: 1.75rem; }
.pricing .btn { align-self: flex-start; }
.price { font-family: var(--serif); font-size: 3rem; font-weight: 600; color: var(--green-800) !important; margin: .25rem 0 0 !important; line-height: 1; }
.price span { font-family: var(--sans); font-size: .9rem; font-weight: 400; color: var(--muted); margin-left: .35rem; }
.card.featured { background: var(--green-800); border-top-color: var(--gold-300); }
.card.featured h3, .card.featured .price { color: var(--cream) !important; }
.card.featured .checks li, .card.featured .price span { color: rgba(247, 242, 231, .8); }
.badge { position: absolute; top: -12px; right: 20px; margin: 0 !important; background: var(--gold-500); color: var(--green-900) !important; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .75rem; border-radius: 999px; }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn-outline:hover { background: var(--green-800); color: var(--cream); border-color: var(--green-800); }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 2rem; }
.filter { font: 500 .88rem var(--sans); padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid rgba(247, 242, 231, .35); background: transparent; color: var(--cream); cursor: pointer; }
.filter:hover { border-color: var(--gold-300); }
.filter.active { background: var(--gold-500); border-color: var(--gold-500); color: var(--green-900); }

.resources { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }
.resource { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(19, 40, 29, .07); display: flex; flex-direction: column; }
.resource[hidden] { display: none; }
.resource img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 30%; }
.resource-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.resource-body p { flex: 1; margin: 0 0 1rem; }
.resource h3 { font-size: 1.4rem; margin-top: .5rem; }
.tag { align-self: flex-start; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); background: rgba(47, 93, 67, .1); padding: .25rem .6rem; border-radius: 4px; }
.soon { font-size: .85rem; font-style: italic; color: var(--gold-500); }
.link { font-weight: 600; color: var(--green-600); text-decoration: none; font-size: .92rem; }
.link:hover { color: var(--gold-500); }
.empty { text-align: center; }

.glossary { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin: 0; }
.glossary div { background: var(--cream); border-radius: 10px; padding: 1.1rem 1.25rem; border-left: 3px solid var(--gold-500); }
.glossary dt { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--green-800); }
.glossary dd { margin: .2rem 0 0; color: var(--muted); font-size: .94rem; }

.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a { color: rgba(247, 242, 231, .75); text-decoration: none; }
.footer-links a:hover { color: var(--gold-300); }


/* Language switch, contact page, class card */
.nav-links a.lang { font-size: .8rem; font-weight: 600; letter-spacing: .08em; border: 1px solid rgba(247, 242, 231, .35); border-radius: 6px; padding: .25rem .5rem; }
.nav-links a.lang:hover { border-color: var(--gold-300); }
.contact-page { min-height: calc(100vh - 68px - 80px); }
.page-title { font-size: clamp(2.5rem, 6vw, 3.8rem); color: var(--cream); }
.notice { background: rgba(201, 162, 39, .12); border: 1px solid rgba(201, 162, 39, .45); border-radius: 10px; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.notice strong { color: var(--gold-300); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.notice p { margin: .35rem 0 0; color: var(--cream) !important; }
.notice a { color: var(--gold-300); white-space: nowrap; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; text-align: center; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 1rem; border-radius: 50%; border: 2px solid var(--gold-500); font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--green-800); }
.steps h3 { font-size: 1.35rem; }
.optional { font-weight: 400; opacity: .6; }
.class-card { max-width: 480px; margin-inline: auto; display: flex; flex-direction: column; }
.class-card .checks { margin-bottom: 1.75rem; }
.class-card .btn { align-self: flex-start; }
.next-date { margin: 1.25rem 0 0 !important; font-size: .9rem; color: rgba(247, 242, 231, .7) !important; }
.next-date strong { color: var(--gold-300); }
.section .price { margin: 1.25rem 0 1.5rem !important; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-inner, .two-col { grid-template-columns: 1fr; }
  .two-col.reverse { grid-template-columns: 1fr; }
  .hero-photo img { max-width: 300px; margin-inline: auto; }
  .portrait { max-width: 360px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .g-item.wide { grid-column: span 2; }

  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 1.25rem;
    padding: 1.5rem 16px 2rem;
    background: var(--green-900);
    border-bottom: 1px solid rgba(201, 162, 39, .25);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* Privacy page */
.legal-title { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.legal h2 { font-size: 1.6rem; margin-top: 2.25rem; }
.legal a { color: var(--green-600); }
.steps a { color: var(--green-600); font-weight: 500; }

/* Contact form extras */
.hidden-field { position: absolute; left: -9999px; }
.form-note { margin: 0; font-size: .82rem; color: rgba(247, 242, 231, .65) !important; }
.form-note a { color: var(--gold-300); }
.thanks { min-height: calc(100vh - 68px - 80px); display: grid; align-items: center; }

/* Subscribe */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.subscribe-form { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: .75rem; margin: 2rem 0 1rem; }
.subscribe-form input {
  width: 100%; font: inherit; font-size: 1rem;
  padding: .8rem 1rem; border-radius: 999px;
  border: 1px solid rgba(28, 58, 42, .25); background: #fff; color: var(--ink);
}
.subscribe-form input:focus { outline: 2px solid var(--gold-500); outline-offset: 1px; }
.subscribe .form-note { color: var(--muted) !important; }
.subscribe .form-note a { color: var(--green-600); }
@media (max-width: 640px) {
  .subscribe-form { grid-template-columns: 1fr; }
  .subscribe-form .btn { justify-self: center; }
}
