/* ============================================================
   EACBL website — shared site styles
   Built on the EACBL design tokens. Warm, grounded, rounded.
   ============================================================ */

/* White-canvas override — page background is white; alt sections get the
   faintest warm tint so the rhythm survives without reading as cream. */
:root {
  --paper: #ffffff;
  --paper-deep: #faf7f1;
  --sand: #f5efe4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: var(--lh-relaxed);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(196,82,31,0.22); }

/* ---- Layout helpers --------------------------------------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

/* ---- Display type ----------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--text-strong);
  margin: 0;
  text-wrap: balance;
}
.h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); }
.h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.lead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--text-body);
  text-wrap: pretty;
}
.eyebrow {
  font-family: var(--font-eyebrow);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow.on-dark { color: var(--gold); }
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: currentColor;
  display: inline-block;
  opacity: 0.7;
}
.eyebrow.no-rule::before { display: none; }
p { text-wrap: pretty; }
.muted { color: var(--text-muted); }

/* ---- Seasons gradient bar --------------------------------- */
.seasons {
  height: 6px;
  background: linear-gradient(90deg,#90c030,#5e7e2e,#d6ad12,#e0810f,#c4521f,#bb2f12);
}

/* ---- Photo frame (clay band brand treatment) -------------- */
.frame {
  position: relative;
  background: var(--clay);
  padding: 10px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.frame.amber { background: var(--amber); }
.frame > img,
.frame .frame-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}
.frame-cap {
  position: absolute;
  left: 22px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(43,37,40,0.62);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

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

/* ---- Header ----------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .bar {
  height: 148px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand-lock { display: flex; align-items: center; }
.brand-logo { height: 124px; width: auto; flex: none; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-family: var(--font-body);
  font-size: 15.5px; font-weight: 500;
  color: var(--text-muted);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  transition: color var(--dur-base), background var(--dur-base);
  white-space: nowrap;
}
.nav-link:hover { color: var(--text-strong); background: rgba(196,82,31,0.06); }
.nav-link.active { color: var(--clay); font-weight: 700; }
.nav-li { display: inline-flex; align-items: center; gap: 6px; }
.icon-link {
  width: 42px; height: 42px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted); border: 1px solid var(--border);
  background: var(--card);
  transition: all var(--dur-base);
}
.icon-link:hover { color: var(--clay); border-color: var(--clay); }
.nav-toggle { display: none; }

/* mobile nav */
@media (max-width: 860px) {
  .site-header .bar { height: 96px; }
  .brand-logo { height: 76px; }
  .nav-links { gap: 2px; }
  .nav-link { padding: 8px 11px; font-size: 14px; }
  .wrap, .wrap-narrow { padding: 0 22px; }
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .desktop-only { display: none !important; }
}

/* ---- Buttons (site-level, matches DS clay) ----------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px;
  padding: 13px 24px; border-radius: var(--radius-md);
  border: 1px solid transparent; cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  text-decoration: none;
}
.btn-primary { background: var(--clay); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0) scale(0.99); background: var(--primary-active); }
.btn-ghost { background: transparent; color: var(--text-strong); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--clay); color: var(--clay); }
.btn-cream { background: var(--paper); color: var(--clay); }
.btn-cream:hover { background: #fff; transform: translateY(-1px); }

/* ---- Footer ----------------------------------------------- */
.site-footer { background: var(--bark-900); color: var(--bark-200); position: relative; overflow: hidden; }
.site-footer .foot-emblem {
  position: absolute; right: -20px; bottom: 0; height: 78%;
  opacity: 0.06; pointer-events: none;
}
.foot-word { display: flex; flex-direction: column; gap: 4px; }
.foot-word .l1 {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  letter-spacing: 0.16em; color: var(--paper); line-height: 1;
}
.foot-word .l2 {
  font-family: var(--font-body); font-weight: 600; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); line-height: 1;
}

/* ---- Lists with leaf bullets ------------------------------ */
.leaf-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.leaf-list li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.5; }
.leaf-dot {
  flex: none; margin-top: 4px;
  width: 24px; height: 24px; border-radius: var(--radius-pill);
  background: var(--leaf-tint); color: var(--leaf-deep);
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---- Cards ------------------------------------------------ */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}

/* ---- FAQ accordion ---------------------------------------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow var(--dur-base), border-color var(--dur-base);
}
.faq-item.open { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 18px;
  padding: 26px 28px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--text-strong);
}
.faq-q .q-ix {
  font-family: var(--font-mono); font-size: 13px; color: var(--clay);
  font-weight: 600; flex: none; width: 30px;
}
.faq-q .q-chevron {
  margin-left: auto; flex: none; color: var(--clay);
  transition: transform var(--dur-base) var(--ease-out);
}
.faq-item.open .q-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-out); }
.faq-a-inner {
  padding: 0 28px 28px 76px; color: var(--text-body); line-height: 1.65; font-size: 16.5px;
}
.faq-a-inner a:not(.btn) { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Carousel --------------------------------------------- */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 24px; overflow: hidden; scroll-behavior: smooth;
}
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: var(--radius-pill);
  background: var(--paper); border: 1px solid var(--border-strong);
  color: var(--bark-800); cursor: pointer; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: all var(--dur-base);
}
.carousel-arrow:hover { background: var(--clay); color: #fff; border-color: var(--clay); }
.carousel-arrow.prev { left: -14px; }
.carousel-arrow.next { right: -14px; }
.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.dot { width: 9px; height: 9px; border-radius: var(--radius-pill); background: var(--border-strong); border: none; cursor: pointer; padding: 0; transition: all var(--dur-base); }
.dot.active { background: var(--clay); width: 26px; }

/* ---- Forms ------------------------------------------------ */
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px;
  padding: 13px 15px; border-radius: var(--radius-md);
  border: 1px solid var(--border-strong); background: var(--card);
  color: var(--text-strong); transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: var(--shadow-focus); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
