/* ===========================================================================
   180 OUT — SOFT REFRESH (2026-10-19)
   Loads last, after styles.css and theme.css, and wins. Delete the <link> to
   go back. Same olive-and-coyote brand, made calmer and friendlier, the way
   the 180 Out app is built: rounded cards, the phone's own font for reading,
   sentence case, no typewriter labels, no section numbers, a lighter dark.
   =========================================================================== */

:root {
  /* A lighter dark: the page is charcoal-olive, cards sit clearly above it. */
  --ink:       #12140e;
  --bg:        #181b13;
  --bg-2:      #1d2117;
  --surface:   #242a1d;
  --surface-2: #2d3325;
  --border:    rgba(242, 238, 226, .09);
  --line:      rgba(242, 238, 226, .07);

  --text:  #f3efe4;
  --muted: #bdbcaa;
  --faint: #a3a28e;

  /* Rounded, never sharp. */
  --radius:    18px;
  --radius-lg: 24px;
  --radius-sm: 12px;

  /* Reading text in the phone's own face (SF Pro on an iPhone or Mac).
     Headlines in Archivo, slightly wide: engineered, quietly military. */
  --font-body:    -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head:    'Archivo', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: var(--font-head);
  --font-mono:    var(--font-body);
}

body {
  font-family: var(--font-body);
  font-variation-settings: normal;
  font-size: 17px;
  line-height: 1.6;
  background-color: var(--bg);
  /* No grid. Two soft glows so the dark has some light in it. */
  background-image:
    radial-gradient(1100px 620px at 85% -8%, rgba(122, 139, 76, .16), transparent 62%),
    radial-gradient(900px 640px at -12% 38%, rgba(201, 169, 110, .07), transparent 60%);
  background-size: auto;
}

/* --- Headlines ------------------------------------------------------------ */
h1, h2, h3, h4,
.hero h1, .banner h1,
.row h3, .spec-body h3, .faq-item h3, .quad-item h3, .job-region {
  font-family: var(--font-head);
  font-variation-settings: 'wdth' 108;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -.022em;
}
.hero h1 { font-size: clamp(2.7rem, 6.8vw, 5.4rem); line-height: 1; font-weight: 800; }
.banner h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); line-height: 1.02; }
h2, .closing h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.06; }
.closing h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3, .row h3, .spec-body h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.15; letter-spacing: -.015em; }
.quad-item h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.faq-item h3 { font-size: 1.15rem; letter-spacing: -.01em; }
@media (max-width: 760px) { h1, h2 { font-variation-settings: 'wdth' 104; } }

/* --- Every small label: plain sentence case, no mono, no spaced caps ------ */
.mono, .crumb, .fig figcaption, .bleed-cap, .spec-tag, .spec-list dt,
.info-tile .k, .job-kicker, .job-dates, .footer-bottom p, .field label,
.form-status, .cal-title, .cal-dow span, .cal-legend, .cal-note, .cal-cell .num,
.sched-item .d, .sched-item .t, .card .tag, .brand-text small, .footer-grid h4 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
}
.crumb { font-size: .95rem; font-weight: 600; color: var(--coyote); margin-bottom: .6rem; }
.fig figcaption, .bleed-cap { font-size: .88rem; color: var(--faint); margin-top: .7rem; }
.field label { font-size: .92rem; font-weight: 600; color: var(--muted); }
.spec-list dt { font-size: .88rem; font-weight: 600; color: var(--faint); padding-top: .05rem; }
.footer-grid h4 { font-size: .95rem; font-weight: 600; color: var(--text); }
.footer-bottom p { font-size: .88rem; }
.mono { font-size: .92rem; color: var(--faint); }
.job-kicker { font-size: .8rem; font-weight: 600; }
.job-dates { font-size: .85rem; font-weight: 600; }
.cal-title { font-weight: 600; font-size: 1.1rem; }
.cal-dow span { font-size: .78rem; font-weight: 600; }
.cal-cell .num { font-size: .8rem; }
.cal-legend { font-size: .85rem; }

/* The one spaced-caps line left: the hero's "Mobile Tactical Training",
   set in wide Archivo like a unit patch, not in a typewriter face. */
.eyebrow {
  font-family: var(--font-head); font-variation-settings: 'wdth' 125;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; color: var(--coyote);
}
.eyebrow::before { border-radius: 2px; }

/* --- No numbers ----------------------------------------------------------- */
.row-n, .quad-n, .spec-n { display: none; }

/* --- Header and menu ------------------------------------------------------ */
.header-accent, .footer-stripe { display: none; }
.site-header {
  background: rgba(24, 27, 19, .78);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav-links a {
  font-family: var(--font-body); font-size: 1rem; font-weight: 500;
  text-transform: none; letter-spacing: 0;
}
.menu-toggle { border-radius: var(--radius-sm); }
@media (max-width: 1080px) {
  .nav-links { border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: var(--bg-2); padding: .4rem 1.2rem 1.2rem; }
  .nav-links a { font-size: 1.08rem; }
  .nav .nav-links .nav-cta { border-radius: 999px; }
}

/* --- Buttons: pills ------------------------------------------------------- */
.btn, .header-inner .btn-primary {
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  text-transform: none; letter-spacing: 0;
  border-radius: 999px; min-height: 48px; padding: .75rem 1.5rem;
}
.btn-primary:hover, .btn-primary:focus-visible { transform: none; }
.btn-ghost { color: var(--coyote); font-weight: 600; }

/* --- Sections: space, not lines ------------------------------------------ */
.section { border-top: none; }
.closing { border-top: none; }
.banner { border-bottom: none; background: none; }
.banner::after { display: none; }

/* --- Cards everywhere ----------------------------------------------------- */
.card { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.card::before { display: none; }

/* Rows become cards: "What we teach", agency topics, how-we-train. */
.rows { border-top: none; margin-top: 2rem; display: grid; gap: 14px; }
.rows--2 { grid-template-columns: 1fr 1fr; column-gap: 14px; }
.row {
  grid-template-columns: 1fr minmax(200px, 36%); gap: 1.6rem;
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.row--plain, .rows--2 .row { grid-template-columns: 1fr; }
.row h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); }
.row p { margin-top: .45rem; }
.row-fig { border-radius: 16px; }

/* Four who-we-train blocks: separate rounded tiles with a little air. */
.quad { gap: 12px; background: none; border: none; border-radius: 0; overflow: visible; }
.quad-item { border-radius: 20px; background: var(--surface); border: 1px solid var(--border); padding: 1.2rem 1.3rem 1.3rem; }
.quad-item:hover { background: var(--surface-2); box-shadow: 0 0 0 1px var(--coyote); }
@media (max-width: 520px) { .quad { gap: 10px; } .quad-item { padding: 1rem .95rem 1.05rem; } }

/* Courses: each course is a card; the day count is a small pill. */
.spec { border-top: none; display: grid; gap: 14px; }
.spec-row {
  grid-template-columns: 1fr auto; gap: 1.6rem; align-items: start;
  padding: clamp(1.3rem, 2.6vw, 2rem);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.spec-list { margin-top: 1rem; }
.spec-list div { grid-template-columns: 7rem 1fr; }
.spec-foot { margin-top: 1.6rem; }
@media (max-width: 760px) {
  .spec-row { grid-template-columns: 1fr; gap: 1.1rem; }
  .spec-row .btn { justify-self: stretch; }
}
.pills { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .75rem; }
.pill, .spec-tag {
  display: inline-flex; align-items: center; margin: 0;
  padding: .28rem .75rem; border-radius: 999px;
  font-family: var(--font-body); font-size: .85rem; font-weight: 600; letter-spacing: 0; text-transform: none;
  background: rgba(201, 169, 110, .15); color: var(--coyote-lt);
}
.spec-tag { background: rgba(122, 139, 76, .22); color: #cfd8b2; }

/* Course tabs: an iPhone-style segmented control. */
.seg {
  display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 1.6rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg button {
  appearance: none; border: 0; background: transparent; color: var(--muted);
  font: 600 .98rem/1 var(--font-body); padding: .7rem 1.25rem; border-radius: 999px;
  cursor: pointer; white-space: nowrap; transition: background .2s ease, color .2s ease;
}
.seg button:hover { color: var(--text); }
.seg button[aria-selected="true"] { background: var(--coyote); color: var(--ink); }
.seg button:focus-visible { outline: 2px solid var(--coyote); outline-offset: 2px; }
.seg button:active { transform: scale(.97); }
@media (max-width: 420px) { .seg { display: flex; } .seg button { flex: 1; padding: .7rem .6rem; font-size: .92rem; } }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: tabIn .25s ease-out; }
@keyframes tabIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tab-panel { animation: none; } }

/* FAQ: tap a question to open it. */
.faq-list { border-top: none; display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 0; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--coyote); border-bottom: 2px solid var(--coyote);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-item summary:focus-visible { outline: 2px solid var(--coyote); outline-offset: -2px; border-radius: 18px; }
.faq-item p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* --- Photos: rounded --------------------------------------------------------- */
.fig-img { border-radius: var(--radius-lg); border: none; }
.bleed img { border-radius: var(--radius-lg); }
.bleed-cap { padding-bottom: 3rem; }

/* --- Map and calendar ------------------------------------------------------ */
.where-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.cal { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.cal-nav { border-radius: 10px; }
.cal-ev { border-radius: 6px; }
.leaflet-popup.job-pop .leaflet-popup-content-wrapper, .cal-tip, .job-card { border-radius: 16px; }
.cal-tip { overflow: hidden; }

/* --- About list ------------------------------------------------------------ */
.checks li::before { border-radius: 50%; }

/* --- Contact: one column ----------------------------------------------------- */
.contact-wrap { max-width: 820px; margin-inline: auto; }
.contact-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.quick {
  display: flex; flex-direction: column; gap: .2rem; padding: 1.1rem 1.3rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  color: var(--text); transition: background .2s ease, box-shadow .2s ease;
}
.quick span { font-size: .92rem; font-weight: 600; color: var(--faint); }
.quick b { font-family: var(--font-head); font-variation-settings: 'wdth' 106; font-size: 1.3rem; font-weight: 700; color: var(--coyote); letter-spacing: -.01em; overflow-wrap: anywhere; }
.quick:hover { background: var(--surface-2); box-shadow: 0 0 0 1px var(--coyote); }
.quick:active { transform: scale(.98); }
@media (max-width: 520px) { .contact-quick { grid-template-columns: 1fr; } }
.form-card { padding: clamp(1.3rem, 3vw, 2.2rem); }
.field input, .field select, .field textarea {
  border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border);
  font-family: var(--font-body); font-size: 1rem;
}
.form-card .btn { width: 100%; }

/* --- Footer ---------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(0, 0, 0, .12); }

/* Phones and tablets: cards stack to one column. */
@media (max-width: 900px) { .rows--2 { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; gap: 1rem; }
  .row-fig { grid-column: auto; }
}
.leaflet-container { font-family: var(--font-body); }

/* ===========================================================================
   Round 2 (2026-10-19): less Apple, more field. Grid texture back, a
   condensed military headline face at a lighter weight, and mixed shapes:
   plates with a clipped corner for courses and lists, soft tiles elsewhere.
   =========================================================================== */
:root {
  --font-head: 'Saira Semi Condensed', 'Arial Narrow', -apple-system, system-ui, sans-serif;
  --font-display: var(--font-head);
  --radius: 14px;
  --radius-lg: 16px;
  --cut: 18px;
}

/* The grid is back, under the two soft glows. */
body {
  background-image:
    radial-gradient(1100px 620px at 85% -8%, rgba(122, 139, 76, .16), transparent 62%),
    radial-gradient(900px 640px at -12% 38%, rgba(201, 169, 110, .07), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
}

/* Headlines: condensed, uppercase for the big ones, not so heavy. */
h1, h2, h3, h4,
.hero h1, .banner h1,
.row h3, .spec-body h3, .faq-item h3, .quad-item h3, .job-region, .quick b {
  font-family: var(--font-head);
  font-variation-settings: normal;
  letter-spacing: .005em;
}
.hero h1 { font-weight: 600; text-transform: uppercase; letter-spacing: .01em; line-height: .98; font-size: clamp(2.8rem, 7.4vw, 5.8rem); }
.banner h1, h2, .closing h2 { font-weight: 600; text-transform: uppercase; letter-spacing: .015em; line-height: 1.02; }
.banner h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.closing h2 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); }
h3, .row h3, .spec-body h3, .quad-item h3, .faq-item h3 { font-weight: 600; text-transform: none; }
.row h3, .spec-body h3 { font-size: clamp(1.4rem, 2.1vw, 1.8rem); }
.quad-item h3 { font-size: clamp(1.35rem, 1.9vw, 1.6rem); }
.faq-item h3 { font-size: 1.2rem; }
.quick b { font-weight: 600; font-size: 1.4rem; }
.eyebrow { font-family: var(--font-head); font-variation-settings: normal; font-weight: 600; font-size: .9rem; letter-spacing: .18em; }
@media (max-width: 760px) { h1, h2 { font-variation-settings: normal; } }

/* Plates: course cards and list cards get a clipped top-right corner. */
.row, .spec-row {
  position: relative; border-radius: 6px; border: 0;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.row::after, .spec-row::after {
  content: ""; position: absolute; top: 0; right: 0; width: var(--cut); height: var(--cut);
  background: linear-gradient(225deg, transparent calc(50% - 1px), rgba(201, 169, 110, .6) calc(50% - 1px), rgba(201, 169, 110, .6) calc(50% + 1px), transparent calc(50% + 1px));
  pointer-events: none;
}
.row-fig { border-radius: 4px; }

/* Soft tiles stay soft, just less round. */
.quad-item { border-radius: 14px; }
.faq-item { border-radius: 12px; }
.faq-item summary:focus-visible { border-radius: 12px; }
.card { border-radius: 16px; }
.fig-img, .bleed img { border-radius: 8px; }
.where-map, .cal { border-radius: 12px; }

/* Schedule page: a bigger map and a full month underneath it. */
.sched-page .sched-grid { grid-template-columns: 1fr; gap: 16px; }
.sched-page .where-map { height: clamp(340px, 52vh, 560px); min-height: 0; }
.sched-page .cal { padding: clamp(1rem, 2vw, 1.6rem); }
.sched-page .cal-week { min-height: clamp(4.6rem, 9vw, 6.6rem); }
.sched-page .cal-title { font-size: 1.3rem; }
.cal-cell.past .num { color: var(--faint); opacity: .45; }

/* A people photo stays tall on phones too, so no one gets cropped out. */
.fig-img.fig-img--portrait { aspect-ratio: 4 / 5; }

/* Home hero: still photo of a coached pistol string (photo replaced the video 2026-11-03). */
.hero::before {
  opacity: .62;
  background-image:
    linear-gradient(180deg, rgba(20,22,15,.35), var(--bg) 92%),
    linear-gradient(120deg, rgba(20,22,15,.55), transparent 60%),
    url("assets/hero-range.jpg");
  background-size: auto, auto, cover;
  background-position: center, center, 50% 30%;
}
@media (max-width: 760px) {
  .hero::before {
    background-image:
      linear-gradient(180deg, rgba(20,22,15,.35), var(--bg) 92%),
      linear-gradient(120deg, rgba(20,22,15,.55), transparent 60%),
      url("assets/hero-range-sm.jpg");
    background-position: center, center, 62% 30%;
  }
}

/* Courses page: topic tiles, and the small headings over the topics and course lengths. */
.step-h { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .5rem; }
.step-sub { color: var(--muted); margin-bottom: 1.2rem; max-width: 60ch; }
.tab-panel > .step-h:first-child { margin-top: .4rem; }
.quad.topics { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1rem 0 clamp(2.2rem, 4.5vw, 3.2rem); }
@media (max-width: 760px) { .quad.topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.topic-pick { cursor: pointer; }
.topic-pick:focus-visible { outline: 2px solid var(--coyote); outline-offset: 2px; }
.topic-pick[aria-pressed="true"] { background: var(--surface-2); box-shadow: inset 0 0 0 2px var(--coyote); }
.topic-pick[aria-pressed="true"] h3::after { content: " \2713"; }

/* Contact form opened from a Courses button scrolls to the form; keep its top clear of the sticky header. */
#contactForm { scroll-margin-top: 110px; }

/* Contact page: a compact "How it works" strip under the heading, so the form stays close. */
.how-h { font-size: .95rem; letter-spacing: .14em; color: var(--coyote); margin: 1.6rem 0 .7rem; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; counter-reset: step; }
.how-steps li {
  counter-increment: step; position: relative;
  padding: .8rem .95rem .85rem 2.7rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  font-size: .9rem; line-height: 1.42; color: var(--muted);
}
.how-steps li::before {
  content: counter(step); position: absolute; left: .85rem; top: .82rem;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--coyote); color: var(--ink); font-size: .78rem; font-weight: 700;
}
.how-steps b { display: block; margin-bottom: .15rem; color: var(--text); font-size: .97rem; font-weight: 600; }
@media (max-width: 760px) {
  .how-steps { grid-template-columns: 1fr; gap: 8px; }
  .how-steps li { padding: .65rem .85rem .7rem 2.5rem; font-size: .86rem; }
  .how-steps li::before { top: .68rem; left: .8rem; }
}
#form.section { padding-top: clamp(1rem, 2.5vw, 2rem); }
.banner-inner > h1 + .how-h { margin-top: 1.2rem; }

/* Courses page: photo slideshow, centered, with arrows and swipe. */
.slideshow-wrap { padding-top: 0; }
.slideshow { position: relative; max-width: 960px; margin: 0 auto; }
.slides {
  display: flex; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.slides:focus-visible { outline: 2px solid var(--coyote); outline-offset: 3px; }
/* Each photo sits in a fixed 4:3 frame; tall photos must not stretch the row. */
.slide { position: relative; flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 3; scroll-snap-align: center; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.slide-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(20, 22, 15, .72); color: var(--text); box-shadow: 0 0 0 1px var(--border);
  transition: background .2s ease, color .2s ease;
}
.slide-btn:hover { background: var(--coyote); color: var(--ink); }
.slide-btn:focus-visible { outline: 2px solid var(--coyote); outline-offset: 2px; }
.slide-btn.prev { left: 12px; }
.slide-btn.next { right: 12px; }
/* Photo counter: a small badge at the top center of the photo, so people see there are more. */
.slide-count {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2;
  margin: 0; padding: .28rem .8rem; max-width: none; white-space: nowrap; pointer-events: none;
  border-radius: 999px; background: rgba(20, 22, 15, .72); box-shadow: 0 0 0 1px var(--border);
  color: var(--text); font-size: .9rem; line-height: 1.2; text-align: center;
}
@media (max-width: 520px) {
  .slide-btn { width: 40px; height: 40px; }
  .slide-btn.prev { left: 8px; }
  .slide-btn.next { right: 8px; }
}

/* Home "What we teach": a row waiting on its photo keeps the same frame, empty. */
.row-fig--empty { background: var(--surface-2); border: 1px solid var(--border); }

/* About page: story wraps around the family photo like a newspaper column. */
.story-wrap { display: flow-root; }
.story-fig { float: left; width: min(44%, 500px); margin: .35rem clamp(1.6rem, 3.5vw, 3rem) 1.2rem 0; }
.story-wrap .feature-text, .story-wrap .feature-text p { max-width: none; }
.story-wrap .feature-text h2 { margin-top: 0; }
@media (max-width: 760px) {
  .story-fig { float: none; width: 100%; margin: 0 0 1.4rem; }
}
