/*
  Impact Kilimanjaro — V1 site styles
  Every color / spacing / font value here should be a var(--token),
  not a hardcoded literal. See design-system/tokens.css.
*/

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background: var(--color-white);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--lh-tight);
}

section {
  padding: var(--space-7) 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-body);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-orange-500);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-orange-600);
}

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

.btn-outline-light:hover {
  background: var(--color-white);
  color: var(--color-forest-900);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--color-forest-900);
  color: var(--color-forest-900);
}

.btn-outline-dark:hover {
  background: var(--color-forest-900);
  color: var(--color-white);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-forest-900);
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.main-nav a:not(.btn) {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.main-nav a:not(.btn):hover {
  color: var(--color-orange-500);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-forest-900);
  margin: 5px 0;
}

/* ---------- Hero ----------
   Screenshot reference: full-bleed photo, dark green scrim, centered
   two-line headline, centered subline, two centered pill buttons.
   Uncomment the background-image line below once a real photo lands at
   assets/images/hero-bg.jpg — until then this renders as a flat forest
   green so the layout is still visible/reviewable. */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(2, 48, 32, 0.55) 0%, rgba(2, 48, 32, 0.88) 100%),
    var(--hero-bg-image, none),
    var(--color-forest-900);
  background-size: cover;
  background-position: center;
  color: var(--color-text-on-dark);
  padding: var(--space-7) 0 var(--space-6);
  overflow: hidden;
  text-align: center;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange-500);
  margin-bottom: var(--space-2);
}

.hero h1 {
  font-size: var(--fs-hero);
  margin-bottom: var(--space-3);
}

.hero-tagline {
  font-size: var(--fs-body-lg);
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin: 0 auto var(--space-4);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

/* ---------- Section headings ---------- */
.section-head {
  max-width: 700px;
  margin: 0 auto var(--space-5);
  text-align: center;
}

.section-head h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-2);
}

.section-head p {
  color: var(--color-text-muted);
  font-size: var(--fs-body-lg);
}

.section-head.on-dark p {
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Photo placeholder ----------
   Visible on purpose: a dashed box with a label beats a silently blank
   or broken image. Swap the containing <img>/<div> for a real <img
   src="assets/images/..."> once Sean drops the file in. */
.photo-frame {
  border-radius: var(--radius-lg);
  border: 2px dashed var(--color-border);
  background: var(--color-cream-50);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--fs-small);
  padding: var(--space-3);
  min-height: 320px;
  aspect-ratio: 4 / 5;
}

/* ---------- About ---------- */
.about {
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-6);
  align-items: center;
}

.about-copy h2 {
  font-size: var(--fs-h2);
  color: var(--color-forest-900);
  margin-bottom: var(--space-3);
}

.about-copy p {
  color: var(--color-text-muted);
  font-size: var(--fs-body-lg);
  margin-bottom: var(--space-3);
}

/* ---------- Credibility icon tiles ---------- */
.credibility {
  background: var(--color-cream-50);
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.tile {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-3);
  text-align: center;
}

.tile-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-2);
  border-radius: 50%;
  background: rgba(253, 102, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-icon svg {
  width: 26px;
  height: 26px;
}

.tile-stat {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--color-forest-900);
  margin-bottom: 0.25rem;
}

.tile p {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.credibility-footnote {
  text-align: center;
  max-width: 720px;
  margin: var(--space-4) auto 0;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

/* ---------- Climb types (cards, lower on the page) ---------- */
.climb-types {
  background: var(--color-white);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.type-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.type-card .tag {
  display: inline-block;
  align-self: flex-start;
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-orange-500);
  margin-bottom: var(--space-2);
}

.type-card h3 {
  font-size: var(--fs-h3);
  color: var(--color-forest-900);
  margin-bottom: var(--space-2);
}

.type-card p {
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  margin-bottom: var(--space-3);
}

.type-card ul {
  list-style: none;
  margin-bottom: var(--space-4);
}

.type-card li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: var(--fs-small);
  color: var(--color-text-primary);
  margin-bottom: 0.6rem;
}

.type-card li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-orange-500);
}

.type-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Testimonials ----------
   PLACEHOLDER CONTENT — see index.html comment. Do not publish this
   section until the bracketed quotes/names are replaced with real ones. */
.testimonials {
  background: var(--color-cream-50);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.testimonial-card {
  background: var(--color-white);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.testimonial-card blockquote {
  font-size: var(--fs-body);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-text-muted);
}

/* ---------- Founder Trip (deliberately distinct visual treatment) ---------- */
.founder-trip {
  background: var(--color-cream-50);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.founder-card {
  max-width: 960px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.founder-copy {
  padding: var(--space-5);
}

.founder-copy .tag {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-orange-500);
  margin-bottom: var(--space-2);
}

.founder-copy h2 {
  font-size: var(--fs-h2);
  color: var(--color-forest-900);
  margin-bottom: var(--space-2);
}

.founder-copy p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.founder-visual {
  background: var(--color-forest-900);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.founder-visual .mountain-mark {
  width: 70%;
  height: auto;
  opacity: 0.9;
}

.founder-form {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.founder-form input {
  flex: 1 1 200px;
}

/* ---------- Forms ---------- */
.field {
  margin-bottom: var(--space-3);
}

.field label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text-primary);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text-primary);
  background: var(--color-white);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-orange-500);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

/* ---------- Enquiry ---------- */
.enquiry {
  background: var(--color-white);
}

.enquiry-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--color-charcoal-900);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-6) 0 var(--space-3);
  overflow: hidden;
}

.footer-silhouette {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0.5;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-white);
}

.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
}

.footer-contact a {
  color: var(--color-orange-500);
  font-weight: 600;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding-top: var(--space-3);
  font-size: var(--fs-small);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid,
  .tile-grid,
  .type-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .founder-card {
    grid-template-columns: 1fr;
  }

  .founder-visual {
    padding: var(--space-4);
    order: -1;
  }

  .row-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-3);
    gap: var(--space-2);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-110%);
    transition: transform 0.2s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }

  .tile-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: var(--space-6) 0;
  }
}
