/* Protégé Academy — static rebuild
   Matches the original Concrete site's look using Typekit (proxima-nova + trajan-pro-3). */

:root {
  --bg: #ffffff;
  --text: #333333;
  --text-light: #777777;
  --text-muted: #999999;
  --border: #e5e5e5;
  --accent: #000000; /* original site uses near-black; no brand color */
  --serif: "trajan-pro-3", "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "proxima-nova", "Mulish", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; }
a:hover { opacity: 0.7; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 1.5em 0 0.5em;
}
h1 { font-size: 2.5rem; text-transform: uppercase; letter-spacing: 0.1em; }
h2 { font-size: 2rem; text-transform: uppercase; letter-spacing: 0.08em; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

/* ============ TOP BAR ============ */
.topbar {
  background: #000;
  color: #fff;
  padding: 8px 0;
  font-size: 0.85rem;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; border-bottom: none; }
.topbar a:hover { opacity: 0.7; }

/* ============ HEADER / NAV ============ */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #000;
  border-bottom: none;
}
.logo:hover { opacity: 1; }
.logo-sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--text-light);
  margin-top: 2px;
  text-align: center;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-family: var(--sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text);
  border-bottom: none;
}
.nav a:hover, .nav a.active { color: #000; border-bottom: 1px solid #000; padding-bottom: 2px; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); width: 100%; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 480px;
  background: #000 center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
}
.hero-img-stack {
  position: absolute;
  inset: 0;
}
.hero-img-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-rotate 12s infinite;
  opacity: 0;
}
.hero-img-stack img:nth-child(1) { animation-delay: 0s; }
.hero-img-stack img:nth-child(2) { animation-delay: 6s; }
@keyframes hero-rotate {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}
.hero-inner {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 0 20px 60px;
  max-width: 900px;
  z-index: 1;
}
.hero h1 {
  color: #fff;
  font-size: 3rem;
  margin: 0;
}
.hero-subtitle {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  margin-top: 12px;
  opacity: 0.9;
}
@media (max-width: 700px) {
  .hero { height: 320px; }
  .hero h1 { font-size: 2rem; }
}

/* ============ MAIN ============ */
main { display: block; }
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}
.container--narrow { max-width: 800px; }

.intro {
  text-align: center;
  margin-bottom: 40px;
}
.intro h2 {
  margin-top: 0;
}
.intro p { font-size: 1.05rem; }

.divider {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 50px auto;
  width: 60%;
}

/* ============ BUCKETS / FEATURE CARDS ============ */
.buckets {
  background: #f8f7f4;
  padding: 60px 24px;
}
.buckets-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.bucket {
  text-align: center;
  background: #fff;
  padding: 36px 24px;
  border: 1px solid var(--border);
}
.bucket h3 { margin-top: 0; }
.bucket ul { list-style: none; padding: 0; margin: 0 0 16px; }
.bucket li { font-family: var(--sans); padding: 4px 0; color: var(--text-light); }
.bucket .btn { margin-top: 8px; }
@media (max-width: 880px) {
  .buckets-inner { grid-template-columns: 1fr; }
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #000;
  background: transparent;
  border: 1px solid #000;
  padding: 12px 24px;
  cursor: pointer;
}
.btn:hover { background: #000; color: #fff; }

/* ============ CONTENT SECTIONS ============ */
.content h2:first-child { margin-top: 0; }
.content h3 { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.95rem; color: var(--text-light); }
.content ul { padding-left: 1.2em; }
.content li { margin-bottom: 6px; }

/* Programs page – 2-column dates */
.dates {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 20px 0 40px;
}
.dates h4 {
  margin: 0 0 12px;
  font-size: 0.9rem;
}
.dates ul { list-style: none; padding: 0; margin: 0; }
.dates li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
}
@media (max-width: 600px) { .dates { grid-template-columns: 1fr; } }

/* Services page price lines */
.services-section { margin-bottom: 40px; }
.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 32px;
}
.services-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dotted var(--border);
  font-size: 0.95rem;
}
.services-list .price {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  padding-left: 16px;
}
.services-note {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 8px;
}
@media (max-width: 600px) { .services-list { grid-template-columns: 1fr; } }

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
}
@media (max-width: 880px) { .contact-layout { grid-template-columns: 1fr; } }

.location-card {
  margin-bottom: 32px;
}
.location-card h3 { margin-top: 0; }
.location-card p { margin: 4px 0; }
.location-card .phone {
  font-family: var(--serif);
  font-size: 1.25rem;
  display: inline-block;
  margin: 8px 0;
  border-bottom: none;
}

/* ============ FORM ============ */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form .field { margin-bottom: 16px; }
form label {
  display: block;
  font-family: var(--sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 700;
}
form label .req { color: #c00; }
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="date"],
form input[type="time"],
form select,
form textarea {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 0;
  font-family: var(--sans);
}
form textarea { min-height: 100px; resize: vertical; }
form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: #000;
}
form .btn { margin-top: 12px; }
@media (max-width: 600px) { form .row { grid-template-columns: 1fr; } }

.form-success {
  background: #e9f7ea;
  border: 1px solid #b4dfb6;
  padding: 16px;
  color: #2c5e2e;
  margin-bottom: 16px;
}

/* ============ ACCREDITATION STRIP ============ */
.accreditation {
  background: #f8f7f4;
  padding: 40px 24px;
  text-align: center;
}
.accreditation-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.accreditation a { border-bottom: none; }
.accreditation img { max-height: 70px; width: auto; opacity: 0.85; transition: opacity 0.2s; }
.accreditation a:hover img { opacity: 1; }

/* ============ FOOTER ============ */
.site-footer {
  background: #000;
  color: #fff;
  padding: 60px 24px 30px;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-grid h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff;
  margin-bottom: 16px;
}
.footer-grid p, .footer-grid li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin: 0;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid a { color: rgba(255,255,255,0.7); border-bottom: none; }
.footer-grid a:hover { color: #fff; }
.footer-brand-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}
.socials a { display: inline-block; margin-right: 12px; font-size: 1.2rem; }
.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
