/*
 * ect-home.css
 * Front-page section styles — ECT Homepage v4
 * Matches class names in front-page.php / homepage-v4.html
 * Global styles (tokens, nav, footer) are in ect-theme-3.css
 */

/* ─── SHARED COMPONENTS ─── */
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}
.eyebrow-rule {
  display: block;
  width: 30px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
  opacity: 0.7;
}
.eyebrow.blue   { color: var(--blue); }
.eyebrow.on-blue { color: rgba(241,241,241,0.55); }

.h2 {
  font-family: 'Tungsten', sans-serif;
  font-size: clamp(36px, 4vw, 54px);
  letter-spacing: 0.055em;
  line-height: 1;
  color: var(--t-bright);
}
.h2.dark  { color: var(--t-dark); }
.h2.white { color: #F1F1F1; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 13px 30px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.18s, background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
  border: none;
}
.btn-gold    { background: var(--gold); color: var(--ink); }
.btn-gold:hover { opacity: 0.86; }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid rgba(196,150,42,0.42); }
.btn-outline:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.link-fwd {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--t-dim);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.18s;
}
.link-fwd::after { content: '→'; font-size: 13px; font-weight: 400; }
.link-fwd:hover  { color: var(--t-bright); }
.link-fwd.on-parchment       { color: var(--t-caption); }
.link-fwd.on-parchment:hover { color: var(--t-dark); }

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
  padding-bottom: 22px;
  border-bottom: 1px solid #D4C9B0;
}
.section-header-row.dark-border {
  border-bottom: 1px solid var(--rule);
}


/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1340px;
  width: 100%;
  margin: 0 auto;
  padding: 0 56px 80px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.hero-eyebrow-line { width: 44px; height: 1px; background: var(--gold); }
.hero-eyebrow-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-headline {
  font-family: 'Tungsten', sans-serif;
  font-size: clamp(64px, 8.5vw, 124px);
  line-height: 0.94;
  letter-spacing: 0.025em;
  color: var(--t-bright);
  margin-bottom: 32px;
  max-width: 900px;
}
.hero-divider {
  width: 52px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 26px;
}
.hero-sub {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.78;
  color: rgba(241,241,241,0.72);
  max-width: 600px;
  margin-bottom: 44px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}


/* ─── ABOUT STRIP ─── */
.about-strip {
  background: var(--ink);
  padding: 72px 56px;
}
.about-inner {
  max-width: 1340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 80px;
  align-items: start;
}
.about-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--t-mid);
}
.about-btns {
  display: flex;
  gap: 12px;
  padding-top: 8px;
  flex-wrap: wrap;
}


/* ─── JOURNAL (parchment) ─── */
.journal {
  background: var(--parchment);
  padding: 72px 56px 80px;
}
.journal-inner { max-width: 1340px; margin: 0 auto; }

.journal-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  gap: 3px;
}

/* Lead card */
.jcard-lead {
  background: #FAFAF5;
  display: flex;
  flex-direction: column;
}
.jcard-lead-img {
  height: 248px;
  overflow: hidden;
  position: relative;
}
.jcard-lead-img a { display: block; height: 100%; }
.jcard-lead-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
  transition: transform 0.35s;
}
.jcard-lead-img:hover img { transform: scale(1.03); }
.jcard-lead-body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Secondary cards */
.jcard {
  background: #FAFAF5;
  display: flex;
  flex-direction: column;
}
.jcard-img {
  height: 152px;
  overflow: hidden;
}
.jcard-img a { display: block; height: 100%; }
.jcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.82);
  transition: transform 0.35s;
}
.jcard-img:hover img { transform: scale(1.03); }
.jcard-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Shared article elements */
.art-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
}
.art-tag-dot {
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}
.art-title-lg {
  font-family: 'Tungsten', sans-serif;
  font-size: 26px;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--t-dark);
  margin-bottom: 12px;
}
.art-title-sm {
  font-family: 'Tungsten', sans-serif;
  font-size: 20px;
  letter-spacing: 0.04em;
  line-height: 1.08;
  color: var(--t-dark);
  margin-bottom: 10px;
}
.art-excerpt {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.82;
  color: var(--t-muted);
  flex: 1;
  margin-bottom: 16px;
}
.art-meta {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--t-caption);
  padding-top: 13px;
  border-top: 1px solid #D4C9B0;
  display: flex;
  justify-content: space-between;
}


/* ─── EXPLORERS (dark) ─── */
.explorers {
  background: var(--ink-lift);
  padding: 72px 56px;
}
.explorers-inner { max-width: 1340px; margin: 0 auto; }

.explorer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.exp-card {
  background: var(--ink);
  overflow: hidden;
  cursor: pointer;
  transition: background 0.15s;
  display: block;
  text-decoration: none;
}
.exp-card:hover { background: var(--ink-lift); }
.exp-photo {
  height: 272px;
  overflow: hidden;
  position: relative;
}
.exp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: grayscale(18%) brightness(0.88);
  transition: filter 0.25s, transform 0.35s;
}
.exp-card:hover .exp-photo img {
  filter: grayscale(0%) brightness(0.95);
  transform: scale(1.025);
}
.exp-photo::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 1;
}
.exp-card:hover .exp-photo::before { opacity: 1; }
.exp-body { padding: 18px 22px 24px; }
.exp-name {
  font-family: 'Tungsten', sans-serif;
  font-size: 21px;
  letter-spacing: 0.055em;
  line-height: 1.05;
  color: var(--t-bright);
  margin-bottom: 5px;
}
.exp-role {
  font-size: 11px;
  font-weight: 400;
  color: var(--t-mid);
  line-height: 1.45;
  margin-bottom: 12px;
}
.exp-cred {
  font-size: 10px;
  font-weight: 300;
  color: var(--t-dim);
  line-height: 1.65;
  padding-top: 11px;
  border-top: 1px solid var(--rule);
}


/* ─── CHAPTER BAND (blue) ─── */
.chapter-band {
  background: var(--blue);
  padding: 72px 56px;
}
.chapter-inner {
  max-width: 1340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.chapter-body {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(241,241,241,0.72);
  margin-top: 18px;
  margin-bottom: 26px;
}
.chapter-states {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.chapter-state {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(241,241,241,0.88);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 5px 13px;
}

/* Pillars */
.chapter-pillars { display: flex; flex-direction: column; }
.pillar { padding: 24px 0; }
.pillar:first-child { padding-top: 0; }
.pillar-divider { height: 1px; background: rgba(255,255,255,0.12); }
.pillar-num {
  font-family: 'Tungsten', sans-serif;
  font-size: 42px;
  color: rgba(241,241,241,0.14);
  line-height: 1;
  margin-bottom: 4px;
}
.pillar-title {
  font-family: 'Tungsten', sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: rgba(241,241,241,0.9);
  margin-bottom: 8px;
}
.pillar-body {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(241,241,241,0.58);
}

/* btn overrides on blue bg */
.chapter-band .btn-gold {
  background: #fff;
  color: var(--blue);
  border: none;
}
.chapter-band .btn-gold:hover {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
}


/* ─── EVENTS ─── */
.events {
  background: var(--ink);
  padding: 72px 56px;
}
.events-inner { max-width: 1340px; margin: 0 auto; }

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-bottom: 3px;
}
.ecard {
  background: var(--ink-lift);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}
.ecard:hover { background: #231F1C; }
.ecard-date {
  display: flex;
  align-items: center;
  gap: 13px;
}
.ecard-date-block {
  background: var(--gold);
  color: var(--ink);
  width: 50px;
  flex-shrink: 0;
  text-align: center;
  padding: 6px 0 5px;
}
.ecard-month {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 2px;
}
.ecard-day {
  font-family: 'Tungsten', sans-serif;
  font-size: 30px;
  letter-spacing: 0.04em;
  line-height: 1;
}
.ecard-when {
  font-size: 10px;
  font-weight: 300;
  color: var(--t-dim);
  line-height: 1.55;
}
.ecard-title {
  font-family: 'Tungsten', sans-serif;
  font-size: 21px;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--t-bright);
}
.ecard-location {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t-dim);
}
.ecard-link {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.15s;
}
.ecard-link::after { content: '→'; font-size: 12px; font-weight: 400; }
.ecard:hover .ecard-link { opacity: 0.72; }

.events-footer {
  background: var(--ink-lift);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.events-footer-note {
  font-size: 12px;
  font-weight: 300;
  color: var(--t-dim);
  line-height: 1.6;
}
.events-footer-note strong { font-weight: 600; color: var(--t-mid); }


/* ─── MAP CALLOUT ─── */
.map-callout {
  background: var(--ink-lift);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 44px 56px;
}
.map-callout-inner {
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.map-callout-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.map-callout-title {
  font-family: 'Tungsten', sans-serif;
  font-size: 28px;
  letter-spacing: 0.05em;
  color: var(--t-bright);
  line-height: 1;
  margin-bottom: 4px;
}
.map-callout-sub {
  font-size: 12px;
  font-weight: 300;
  color: var(--t-dim);
}
.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(42,51,144,0.1);
  padding: 13px 30px;
  border: 1px solid rgba(42,51,144,0.38);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.btn-blue:hover { background: var(--blue); color: #F1F1F1; border-color: var(--blue); }


/* ─── PARTNERS (parchment) ─── */
.partners {
  background: var(--parchment);
  border-top: 1px solid #D4C9B0;
  border-bottom: 1px solid #D4C9B0;
  padding: 52px 56px;
}
.partners-inner { max-width: 1340px; margin: 0 auto; }
.partners-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--t-caption);
  text-align: center;
  margin-bottom: 36px;
}
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.partner-item {
  opacity: 0.55;
  transition: opacity 0.2s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.partner-item:hover { opacity: 0.9; }
.partner-item img {
  height: 80px;
  width: auto;
  display: block;
  filter: grayscale(40%) brightness(0.75);
}


/* ─── RESPONSIVE: TABLET (≤1100px) ─── */
@media (max-width: 1100px) {
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .journal-grid { grid-template-columns: 1fr 1fr; }
  .jcard-lead { grid-column: 1 / -1; flex-direction: row; }
  .jcard-lead-img { height: auto; width: 320px; flex-shrink: 0; }
  .explorer-grid { grid-template-columns: 1fr 1fr; }
  .chapter-inner { grid-template-columns: 1fr; gap: 52px; }
  .event-grid { grid-template-columns: 1fr 1fr; }
}


/* ─── RESPONSIVE: MOBILE (≤720px) ─── */
@media (max-width: 720px) {
  .hero-content { padding: 0 24px 56px; }
  .hero-headline { font-size: clamp(46px, 13vw, 80px); line-height: 0.96; }
  .hero-sub { font-size: 14px; max-width: 100%; }
  .hero-btns { flex-direction: column; align-items: flex-start; gap: 12px; }

  .about-strip { padding: 52px 24px; }
  .about-inner { grid-template-columns: 1fr; gap: 28px; }
  .about-btns { flex-direction: column; }
  .about-btns .btn { width: 100%; justify-content: center; }

  .journal { padding: 52px 24px 60px; }
  .journal-grid { grid-template-columns: 1fr; }
  .jcard-lead { flex-direction: column; }
  .jcard-lead-img { width: 100%; height: 220px; }
  .section-header-row { flex-direction: column; align-items: flex-start; gap: 14px; }

  .explorers { padding: 52px 24px; }
  .explorer-grid { grid-template-columns: 1fr; }
  .exp-photo { height: 240px; }

  .chapter-band { padding: 52px 24px; }
  .chapter-inner { grid-template-columns: 1fr; gap: 40px; }

  .events { padding: 52px 24px; }
  .event-grid { grid-template-columns: 1fr; }
  .events-footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .events-footer .btn { width: 100%; justify-content: center; }

  .map-callout { padding: 32px 24px; }
  .map-callout-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .btn-blue { width: 100%; justify-content: center; }

  .partners { padding: 40px 24px; }
  .partners-row { gap: 28px; }
  .partner-item img { height: 60px; }
}
