/* ============================================================
   Chalk Lily — Chalky Boots CSS
   v.White-1.0 · True White Backgrounds · Centered Footer
=========================================================== */

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

html, body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  background: #FFFFFF; /* PURE WHITE */
  color: #1C1C1C;
  line-height: 1.6;
}

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

/* ============================================================
   TITLES — Serif Only
=========================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
}

/* TOKENS */
:root {
  --clr-ink: #1C1C1C;
  --clr-bronze: #B8865B;

  --clr-white: #FFFFFF;
  --clr-white-trans: rgba(255, 255, 255, 0.78); /* white veil */

  --radius-card: 4px;
  --max-wide: 1200px;

  --offset-card: 16%;
  --pad-section: 110px;
}

/* ============================================================
   GLOBAL INLINE LINKS — Bronze Standard
=========================================================== */
a {
  color: var(--clr-bronze);
  text-decoration: none;
  border-bottom: 1px solid var(--clr-bronze);
  padding-bottom: 1px;
}

a:hover {
  color: var(--clr-ink);
  border-bottom-color: var(--clr-ink);
}

/* TAB PANEL LINKS */
.cb-tab-panel a {
  color: var(--clr-bronze);
  text-decoration: none;
  border-bottom: 1px solid var(--clr-bronze);
  padding-bottom: 1px;
}

.cb-tab-panel a:hover {
  color: var(--clr-ink);
  border-bottom-color: var(--clr-ink);
}

/* ============================================================
   HEADER — Sticky · Light
=========================================================== */
.cl-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--clr-white);
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 1000;
}

.cl-header__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cl-header__logo a {
  color: var(--clr-ink);
  font-size: 1.4rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* DESKTOP NAV */
.cl-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

.cl-nav a {
  color: var(--clr-ink);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
  font-family: Inter, sans-serif;
  font-weight: 500;
}

.cl-nav a.active,
.cl-nav a:hover {
  border-bottom-color: var(--clr-bronze);
}

/* ============================================================
   HERO
=========================================================== */
.cl-hero {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
  padding-top: 110px;
  background-color: #FFFFFF;
}

.cl-hero__card {
  max-width: 520px;
  margin-left: auto;
  margin-right: var(--offset-card);
  margin-top: -40px;
  background: var(--clr-white-trans);
  padding: 36px;
  border-radius: var(--radius-card);
  backdrop-filter: blur(4px);
}

.cl-hero__card h1 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.cl-hero__card p.lead {
  font-size: 1.15rem;
  margin-bottom: 26px;
}

/* ============================================================
   BUTTONS
=========================================================== */
.cb-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius-card);
  font-size: 0.95rem;
  text-decoration: none;
  transition: all .25s;
  border: 1px solid transparent;
  font-family: Inter, sans-serif;
}

.cb-btn--primary {
  background: var(--clr-bronze);
  color: white;
}

.cb-btn--primary:hover {
  background: var(--clr-ink);
  border-color: var(--clr-ink);
}

.cb-btn--outline {
  background: transparent;
  color: var(--clr-ink);
  border: 1px solid var(--clr-ink);
}

.cb-btn--outline:hover {
  background: var(--clr-ink);
  color: white;
}

/* ============================================================
   SECTIONS
=========================================================== */
.cl-section {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: var(--pad-section) 24px;
  background: #FFFFFF;
}

.cl-section h2 {
  font-size: 1.9rem;
  margin-bottom: 34px;
}

/* TWO COLUMN */
.cl-two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 42px;
  align-items: start;
}

.cl-image-col img {
  border-radius: var(--radius-card);
  width: 100%;
}

/* ============================================================
   MINI-HERO
=========================================================== */
.cl-hero-mini {
  position: relative;
  background-size: cover;
  background-position: center right;
  padding: 150px 0;
  background-color: #FFFFFF;
}

.cl-mini__card {
  max-width: 520px;
  background: var(--clr-white-trans);
  padding: 34px;
  border-radius: var(--radius-card);
  backdrop-filter: blur(4px);
}

.cl-mini__card--right {
  margin-left: auto;
  margin-right: var(--offset-card);
}

.cl-mini__card--left {
  margin-right: auto;
  margin-left: var(--offset-card);
}

/* ============================================================
   COMING SOON
=========================================================== */
.cl-exhibit-block {
  margin-top: 22px;
  display: grid;
  gap: 26px;
}

.cl-exhibit-item h3 {
  margin-bottom: 6px;
  font-size: 1.2rem;
  color: var(--clr-bronze);
}

/* ============================================================
   TABS
=========================================================== */
.cb-tabs {
  display: flex;
  gap: 18px;
  margin-bottom: 30px;
}

.cb-tab {
  background: transparent;
  border: none;
  padding: 8px 0;
  font-size: 1rem;
  color: var(--clr-ink);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: border-color .25s;
}

.cb-tab:hover {
  border-bottom-color: var(--clr-ink);
}

.cb-tab.active {
  border-bottom-color: var(--clr-bronze);
}

.cb-panels .cb-tab-panel {
  display: none;
}

.cb-panels .cb-tab-panel.active {
  display: block;
}

/* ============================================================
   FOR AUTHORS FORM
=========================================================== */
.cl-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.cl-form input,
.cl-form textarea {
  padding: 12px;
  border: 1px solid #DDD;
  border-radius: var(--radius-card);
  background: white;
  font-size: 0.95rem;
}

/* ============================================================
   FOOTER
=========================================================== */
.cl-footer {
  background: var(--clr-ink);
  color: white;
  padding: 100px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem;
}

.cl-footer__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.cl-footer__col--logo img {
  width: 110px;
  height: auto;
  opacity: 0.95;
}

.cl-footer__text-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.cl-footer__text-row--soft {
  opacity: 0.75;
  font-size: 0.85rem;
}

.cl-footer a {
  color: white;
  text-decoration: underline;
}

/* ============================================================
   MOBILE NAV — Toggler Button
=========================================================== */
.cl-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--clr-ink);
  cursor: pointer;
  padding: 4px 8px;
}

/* ============================================================
   RESPONSIVE
=========================================================== */
@media (max-width: 768px) {

  .cl-nav {
    display: none; /* hide desktop nav */
  }

  .cl-nav-toggle {
    display: block; /* show hamburger */
  }

  .cl-hero {
    height: auto;
    padding: 140px 24px 120px;
    background-position: center top;
  }

  .cl-hero__card {
    margin: 0 auto;
    margin-top: -30px;
    max-width: 90%;
  }

  .cl-hero-mini {
    padding: 160px 24px 140px;
    background-position: center top;
  }

  .cl-mini__card--left,
  .cl-mini__card--right {
    margin: 0 auto;
    margin-top: -30px;
    max-width: 90%;
  }

  .cl-two-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ============================================================
   MOBILE OVERLAY NAV
=========================================================== */
.cl-mobile-overlay {
  position: fixed;
  inset: 0;
  background: white;
  display: none;
  z-index: 2000;
  padding: 40px 30px;
}

.cl-mobile-overlay.active {
  display: block;
}

.cl-mobile-close {
  background: none;
  border: none;
  font-size: 34px;
  cursor: pointer;
  color: var(--clr-ink);
  position: absolute;
  top: 20px;
  right: 20px;
}

.cl-mobile-nav ul {
  list-style: none;
  margin-top: 80px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cl-mobile-nav a {
  color: var(--clr-ink);
  text-decoration: none;
  font-size: 1.3rem;
  font-family: Inter, sans-serif;
  font-weight: 500;
}
