/*
Theme Name: Campfire
Author: Campfire Technology Services
Version: 1.0
*/

body {
  margin: 0;
  background: #120d0a;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(224, 161, 76, .18);
  background: rgba(18, 13, 10, .94);
  backdrop-filter: blur(12px);
}

.site-header-inner,
.site-footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #efc38b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.site-brand img {
  width: 42px;
  height: 42px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-nav a {
  color: #d9a36a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.site-main {
  min-height: 72vh;
}

.site-footer {
  border-top: 1px solid rgba(224, 161, 76, .18);
  background: #100c09;
}

.site-footer-inner {
  padding: 18px 0;
  color: #aa8667;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(224, 161, 76, .22);
  border-radius: 999px;
  background: rgba(224, 161, 76, .08);
  text-decoration: none;
}

.footer-social a:hover,
.footer-social a:focus {
  border-color: rgba(224, 161, 76, .6);
  background: rgba(224, 161, 76, .16);
}

.footer-social img {
  width: 16px;
  height: 16px;
  display: block;
}

@media (max-width: 760px) {
  .site-header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .site-brand {
    font-size: 16px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    width: 100%;
    gap: 10px 12px;
  }

  .site-nav a {
    flex: 0 0 auto;
    font-size: 12px;
  }
}

.campfire-page {
  --ash: #120d0a;
  --charcoal: #1b120d;
  --brown: #2a1b13;
  --bark: #633620;
  --burnt: #9d461f;
  --orange: #c8662c;
  --amber: #e0a14c;
  --paper: #e8caa4;
  --muted: #aa8667;
  --line: rgba(224, 161, 76, .22);
  color: var(--paper);
  background:
    radial-gradient(circle at 14% 7%, rgba(200, 102, 44, .23), transparent 340px),
    radial-gradient(circle at 84% 0%, rgba(99, 54, 32, .42), transparent 330px),
    linear-gradient(180deg, var(--charcoal), #23160f 58%, var(--ash));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.campfire-page * {
  box-sizing: border-box;
}

.campfire-wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.campfire-hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr);
  gap: 44px;
  align-items: center;
  padding: 56px 0;
}

.campfire-eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.campfire-page h1,
.campfire-page h2,
.campfire-page h3 {
  color: #efc38b;
  letter-spacing: 0;
}

.campfire-page h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: .96;
}

.campfire-page h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.campfire-lead {
  max-width: 720px;
  color: #b8926f;
  font-size: clamp(18px, 2vw, 21px);
}

.campfire-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.campfire-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 10px 16px;
  font-weight: 900;
  text-decoration: none !important;
}

.campfire-button.primary {
  color: #170f0a !important;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.campfire-button.secondary {
  color: #d9a36a !important;
  border-color: var(--line);
  background: rgba(224, 161, 76, .07);
}

.campfire-mark-panel,
.campfire-card,
.campfire-path,
.campfire-issue,
.campfire-process article,
.campfire-trust article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(42, 27, 19, .88);
}

.campfire-mark-panel {
  overflow: hidden;
  min-height: 560px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  background:
    radial-gradient(circle at 50% 40%, rgba(224, 161, 76, .2), transparent 230px),
    radial-gradient(circle at 50% 58%, rgba(123, 63, 34, .36), transparent 300px),
    #160f0b;
}

.campfire-mark-art {
  position: relative;
  min-height: 430px;
}

.campfire-c-ring {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 330px;
  height: 330px;
  border: 42px solid var(--orange);
  border-right-color: transparent;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  filter: drop-shadow(0 0 38px rgba(200, 102, 44, .22));
}

.campfire-log {
  position: absolute;
  left: 50%;
  top: 62%;
  width: 230px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(90deg, #633620, #7b3f22, #2a1b13);
}

.campfire-log.a {
  transform: translate(-50%, -50%) rotate(-28deg);
}

.campfire-log.b {
  transform: translate(-50%, -50%) rotate(28deg);
}

.campfire-flame,
.campfire-inner-flame {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
}

.campfire-flame {
  width: 150px;
  height: 196px;
  border-radius: 54% 46% 50% 50% / 66% 66% 34% 34%;
  background: linear-gradient(180deg, var(--amber), var(--orange) 54%, var(--burnt));
  box-shadow: 0 0 70px rgba(200, 102, 44, .42);
}

.campfire-inner-flame {
  top: 49%;
  width: 68px;
  height: 108px;
  border-radius: 54% 46% 50% 50% / 66% 66% 34% 34%;
  background: linear-gradient(180deg, #efc38b, var(--amber));
}

.campfire-panel-caption {
  border-top: 1px solid var(--line);
  padding: 18px;
}

.campfire-panel-caption strong {
  display: block;
  color: #efc38b;
  font-size: 22px;
}

.campfire-panel-caption p,
.campfire-page p,
.campfire-path p,
.campfire-issue span,
.campfire-process p,
.campfire-trust span {
  color: var(--muted);
}

.campfire-section {
  padding: 64px 0;
}

.campfire-section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.campfire-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.campfire-path {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  text-decoration: none !important;
}

.campfire-path span {
  margin-top: auto;
  color: var(--amber);
  font-size: 14px;
  font-weight: 900;
}

.campfire-issue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.campfire-issue {
  min-height: 72px;
  padding: 14px;
  color: #d9a36a;
  font-weight: 850;
}

.campfire-band {
  background:
    radial-gradient(circle at 80% 18%, rgba(200, 102, 44, .14), transparent 330px),
    #100c09;
}

.campfire-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.campfire-process article {
  min-height: 180px;
  padding: 18px;
  border: 0;
  border-radius: 0;
}

.campfire-process span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--amber);
  font-weight: 950;
}

.campfire-trust-section,
.campfire-contact {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
}

.campfire-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.campfire-trust article {
  padding: 18px;
}

.campfire-trust strong {
  display: block;
  color: #efc38b;
  font-size: 20px;
}

.campfire-contact-band {
  background:
    radial-gradient(circle at 80% 18%, rgba(200, 102, 44, .14), transparent 330px),
    #100c09;
}

@media (max-width: 860px) {
  .campfire-hero,
  .campfire-path-grid,
  .campfire-issue-grid,
  .campfire-process,
  .campfire-trust-section,
  .campfire-trust,
  .campfire-contact {
    grid-template-columns: 1fr;
  }

  .campfire-hero {
    min-height: auto;
  }

  .campfire-c-ring {
    width: 270px;
    height: 270px;
    border-width: 28px;
  }
}

@media (max-width: 520px) {
  .campfire-wrap,
  .site-header-inner,
  .site-footer-inner {
    width: calc(100vw - 28px);
    max-width: 1160px;
  }

  .campfire-page h1 {
    font-size: 34px;
    line-height: 1.06;
    max-width: 11ch;
  }

  .campfire-page h2 {
    font-size: 30px;
  }

  .campfire-lead {
    font-size: 18px;
    max-width: 30ch;
  }

  .campfire-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: calc(100vw - 28px);
  }

  .campfire-button {
    width: 100%;
  }

  .campfire-mark-panel {
    width: calc(100vw - 28px);
    min-height: 430px;
  }

  .campfire-panel-caption strong {
    font-size: 20px;
    max-width: 18ch;
  }

  .campfire-panel-caption p {
    max-width: 30ch;
  }

  .campfire-mark-art {
    min-height: 320px;
  }

  .campfire-c-ring {
    width: 230px;
    height: 230px;
    border-width: 24px;
  }

  .campfire-log {
    width: 190px;
  }

  .campfire-flame {
    width: 118px;
    height: 158px;
  }

  .campfire-inner-flame {
    width: 52px;
    height: 86px;
  }
}

.campfire-detail-hero {
  padding: 86px 0 34px;
}

.campfire-detail-page .campfire-lead {
  max-width: 840px;
}

.campfire-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.campfire-detail-grid article {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(42, 27, 19, .88);
  padding: 22px;
}

.campfire-page a {
  color: var(--amber);
}

@media (max-width: 860px) {
  .campfire-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .campfire-detail-page .campfire-lead {
    max-width: 30ch;
  }

  .site-footer-inner {
    flex-direction: column;
  }
}
