/* ============================================================
   HONOR SUPPLY CO
   Honor firefighters by sharing what they do.
   ============================================================ */

:root {
  --paper: #ffffff;
  --ink: #141414;
  --gray: #6e675f;
  --gray-light: #a39c93;
  --surface: #f5f3f0;
  --rule: #e7e3de;
  --honor: #c2491d;

  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --measure: 64ch;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(5rem, 12vw, 10rem);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

::selection { background: var(--ink); color: var(--paper); }

/* ---------- Type ---------- */

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-light);
  display: block;
  margin-bottom: 1.5rem;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.55;
  color: var(--ink);
}

.muted { color: var(--gray); }

/* ---------- The equal mark divider ----------
   Two bars. Created equal. Honor above ourselves. */

.mark {
  width: 28px;
  border: 0;
  margin: 0 auto;
  padding: 0;
}
.mark::before, .mark::after {
  content: "";
  display: block;
  height: 3px;
  background: var(--ink);
}
.mark::before { margin-bottom: 5px; }
.mark--left { margin: 0; }

/* ---------- Layout ---------- */

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.wrap--text {
  max-width: 720px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: var(--section); padding-bottom: var(--section); }
.section--tight { padding-top: calc(var(--section) * 0.6); padding-bottom: calc(var(--section) * 0.6); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.wordmark {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav { display: flex; gap: 2rem; align-items: center; }

.site-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gray);
  transition: color 0.2s ease;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--honor);
  margin-top: 2px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink);
  padding: 0.5rem 0;
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem 0 1rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 0.75rem var(--gutter);
    width: 100%;
    font-size: 1rem;
  }
  .site-nav a[aria-current="page"]::after { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 1.8rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--paper); }

.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover, .btn--solid:focus-visible { background: var(--honor); border-color: var(--honor); }

.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

.textlink {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.textlink:hover, .textlink:focus-visible { color: var(--honor); border-color: var(--honor); }

/* ---------- Hero ---------- */

.hero-photo {
  width: 100%;
  height: min(82vh, 900px);
  object-fit: cover;
}

.hero-copy { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }

.hero-copy h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.5rem);
  max-width: 18ch;
}

.hero-copy .sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--gray);
  margin-top: 1.5rem;
  max-width: 40ch;
}

.hero-copy .btn-row { margin-top: 2.5rem; }

/* ---------- Photography ---------- */

.bleed { width: 100%; }
.bleed img { width: 100%; height: min(72vh, 780px); object-fit: cover; }

figcaption {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--gray-light);
  margin-top: 0.75rem;
}

/* ---------- Mission ---------- */

.mission { text-align: center; }

.mission blockquote {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 22ch;
  margin: 2.5rem auto 1.25rem;
}

.mission cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.mission .body {
  max-width: 58ch;
  margin: 3rem auto 0;
  color: var(--gray);
  font-size: 1.0625rem;
}

.mission .hbd {
  display: inline-block;
  margin-top: 2.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--honor);
}

/* ---------- Notes ---------- */

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: 3.5rem;
}
@media (max-width: 860px) { .notes-grid { grid-template-columns: 1fr; } }

.note-card img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}
.note-card:hover img { opacity: 0.92; }

.note-card h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  transition: color 0.2s ease;
}
.note-card:hover h3 { color: var(--honor); }

.note-card p {
  color: var(--gray);
  font-size: 0.9375rem;
  margin-top: 0.6rem;
  max-width: 42ch;
}

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }

/* ---------- Feature split (photographer, podcast) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.split img { width: 100%; height: auto; }

.split h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 1.25rem; }

.split .body { color: var(--gray); max-width: 48ch; }
.split .body + .body { margin-top: 1rem; }

.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  margin: 1.75rem 0;
}

/* ---------- Surface band ---------- */

.band { background: var(--surface); }

/* ---------- Editorial article ---------- */

.article-head { padding-top: calc(var(--section) * 0.7); padding-bottom: 3.5rem; text-align: center; }
.article-head h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); max-width: 16ch; margin: 0 auto; }
.article-head .standfirst {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gray);
  max-width: 44ch;
  margin: 1.75rem auto 0;
}
.article-head .meta {
  margin-top: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.article-body { padding-top: 4rem; padding-bottom: var(--section); }
.article-body p {
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.8;
  max-width: var(--measure);
  margin: 0 auto 1.6rem;
}
.article-body p:first-of-type::first-letter {
  font-size: 3.4em;
  float: left;
  line-height: 0.85;
  padding-right: 0.12em;
  padding-top: 0.05em;
}
.article-body .mark { margin: 3.5rem auto; }

.article-figure { margin: 3.5rem auto; max-width: 900px; padding-left: var(--gutter); padding-right: var(--gutter); }
.article-figure figcaption { text-align: center; }

.article-next { border-top: 1px solid var(--rule); }

/* ---------- Photographer profiles ---------- */

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
@media (max-width: 700px) { .profile-grid { grid-template-columns: 1fr; } }
.profile-grid img { width: 100%; height: auto; }

.qa { max-width: 720px; margin: 0 auto; }
.qa dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-top: 2.75rem;
}
.qa dd {
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-top: 0.9rem;
}
.qa dd + dd { margin-top: 1rem; }

.profile-meta {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--gray);
}
.profile-meta strong {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 0.3rem;
}
.profile-meta a { border-bottom: 1px solid var(--rule); }
.profile-meta a:hover { color: var(--honor); border-color: var(--honor); }

/* ---------- Questions list ---------- */

.questions { max-width: 720px; margin: 3rem auto 0; }
.questions li {
  list-style: none;
  font-family: var(--serif);
  font-size: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.questions li:first-child { border-top: 1px solid var(--rule); }

/* ---------- Support / products ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.product {
  border: 1px solid var(--rule);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s ease;
}
.product:hover { border-color: var(--ink); }

.product .flag { width: 44px; margin: 1.5rem auto 2rem; opacity: 0.9; }

.product h3 { font-size: 1.25rem; }
.product .kind {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-light);
}
.product .price { color: var(--gray); font-size: 0.9375rem; margin-top: 0.4rem; }
.product .textlink { display: inline-block; margin-top: 1.5rem; }

/* ---------- Contact form ---------- */

.contact-form { max-width: 640px; margin-top: 3rem; }
.contact-form label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 1.75rem 0 0.5rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23141414'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
  border-color: var(--ink);
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form .btn { margin-top: 2.25rem; }

/* ---------- Dedication + footer ---------- */

.dedication {
  text-align: center;
  padding: calc(var(--section) * 0.8) var(--gutter);
  border-top: 1px solid var(--rule);
}
.dedication p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--ink);
}
.dedication .hbd {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--honor);
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 4rem var(--gutter) 3rem;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer-flag { width: 52px; opacity: 0.9; }

.footer-nav { display: flex; gap: 1.75rem; flex-wrap: wrap; justify-content: center; }
.footer-nav a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}
.footer-nav a:hover { color: var(--ink); }

.footer-verse {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--gray);
}

.footer-legal { font-size: 0.75rem; color: var(--gray-light); }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Focus ---------- */

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
