/* International Airborne Brotherhood for Peace — shared stylesheet */

:root {
  --forest: #1f3b2d;
  --forest-dark: #142a1f;
  --khaki: #c9b896;
  --khaki-light: #e8dfc8;
  --cream: #f6f2e8;
  --gold: #a8792f;
  --text-dark: #23271f;
  --text-muted: #5a5f52;
  --white: #ffffff;
  --radius: 6px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", system-ui, Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--forest-dark);
  line-height: 1.25;
  margin-top: 0;
}

a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--gold); }

img, svg { max-width: 100%; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
header.site-header {
  background: var(--forest-dark);
  border-bottom: 3px solid var(--gold);
}

.nav-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--khaki-light);
  font-family: Georgia, serif;
}

.brand svg { flex-shrink: 0; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text .name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}

.brand-text .tag {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--khaki);
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  display: inline-block;
  padding: 8px 14px;
  color: var(--khaki-light);
  font-size: 0.92rem;
  border-radius: var(--radius);
}

nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  color: var(--khaki-light);
  overflow: hidden;
}

.hero-media {
  position: relative;
  min-height: 460px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20,42,31,0) 55%, rgba(20,42,31,0.92) 100%);
}

.hero-content {
  background: linear-gradient(160deg, var(--forest) 0%, var(--forest-dark) 100%);
  padding: 72px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 260px; }
  .hero-content { padding: 48px 24px; }
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 560px;
  margin: 0 0 18px;
}

.hero p.lede {
  max-width: 500px;
  margin: 0 0 32px;
  font-size: 1.1rem;
  color: var(--khaki-light);
}

.hero .btn-row {
  justify-content: flex-start;
}

.page-hero {
  background: linear-gradient(160deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: var(--khaki-light);
  padding: 56px 24px 48px;
  text-align: center;
}

.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.page-hero p { max-width: 620px; margin: 12px auto 0; color: var(--white); font-size: 1.2rem; }

.page-hero.has-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 88px 24px 76px;
}
.page-hero.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(20,42,31,0.90) 0%, rgba(31,59,45,0.72) 100%);
}
.page-hero.has-photo.overlay-light::before {
  background: linear-gradient(160deg, rgba(20,42,31,0.60) 0%, rgba(31,59,45,0.42) 100%);
}
.page-hero.has-photo .wrap {
  position: relative;
  z-index: 1;
}
.page-hero-credit {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 6px 24px 0;
  margin: 0;
  background: var(--cream);
}
.page-hero-credit a { color: var(--text-muted); text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: #8f6726; color: var(--white); }

.btn-outline {
  background: transparent;
  border-color: var(--khaki-light);
  color: var(--khaki-light);
}
.btn-outline:hover { border-color: var(--white); color: var(--white); }

.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 64px 24px; }
section.alt { background: var(--khaki-light); }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}
.section-head p { color: var(--text-muted); }

/* Card grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid #e2dbc6;
  border-radius: var(--radius);
  padding: 28px 24px;
}

.card .icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: inline-block;
}

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }

/* Quote block */
blockquote.pull {
  border-left: 4px solid var(--gold);
  margin: 0;
  padding: 6px 0 6px 24px;
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--forest-dark);
  font-size: 1.15rem;
}
blockquote.pull cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}

/* Lists */
ul.checklist { list-style: none; padding: 0; margin: 0; }
ul.checklist li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  color: var(--text-muted);
}
ul.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Members / country list */
.region-block {
  margin: 40px 0;
}
.region-block h3 {
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
ul.member-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 40px;
}
@media (max-width: 700px) {
  ul.member-list { columns: 1; }
}
ul.member-list li {
  break-inside: avoid;
  padding: 8px 0;
  border-bottom: 1px solid #e2dbc6;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}
ul.member-list li strong {
  color: var(--forest-dark);
}

/* Placeholder note */
.note-placeholder {
  background: #fff8e6;
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #6b4f14;
  margin: 24px 0;
}

/* CTA band */
.cta-band {
  background: var(--forest-dark);
  color: var(--khaki-light);
  text-align: center;
  padding: 60px 24px;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--khaki-light); max-width: 560px; margin: 0 auto 28px; }

/* Footer */
footer.site-footer {
  background: var(--forest-dark);
  color: var(--khaki-light);
  padding: 48px 24px 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
footer.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 8px; }
footer.site-footer a { color: var(--khaki); font-size: 0.92rem; }
footer.site-footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  font-size: 0.82rem;
  color: var(--khaki);
  text-align: center;
}

/* Table (gear reviews) */
table.gear-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}
table.gear-table th, table.gear-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #e2dbc6;
  font-size: 0.92rem;
}
table.gear-table th {
  background: var(--khaki-light);
  color: var(--forest-dark);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

/* Form */
form.contact-form {
  display: grid;
  gap: 18px;
  max-width: 560px;
}
form.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
}
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfc7ab;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
}
form.contact-form textarea { min-height: 140px; resize: vertical; }
