/* ============================================================
   Bend Field Operations — hand-written stylesheet
   No frameworks, no preprocessors. Edit freely; this file is
   the whole design system.
   ============================================================ */

:root {
  --pine: #1e3d2f;        /* deep Central Oregon green */
  --pine-deep: #122a20;
  --moss: #2f5a43;
  --sage: #7d9b8a;
  --cream: #f7f3ea;       /* page background */
  --paper: #fffdf7;       /* card background */
  --ink: #1c2420;         /* body text */
  --slate: #43544b;       /* secondary text */
  --stone: #ddd6c4;       /* borders */
  --amber: #a85f14;       /* accent, used sparingly */
  --amber-bright: #d98a2b;
  --radius: 12px;
  --maxw: 1120px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Times New Roman", serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--pine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--moss); }

:focus-visible {
  outline: 3px solid var(--amber-bright);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection { background: var(--sage); color: var(--pine-deep); }

/* ---------- accessibility helpers ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pine-deep);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  z-index: 100;
}
.skip-link:focus { left: 0; color: var(--cream); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- layout ---------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 4.5rem 0; }
.section--tight { padding: 3rem 0; }
.section--paper { background: var(--paper); border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }

.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.2;
  color: var(--pine-deep);
  margin: 0 0 0.75rem;
}

.section .lede {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 46rem;
  margin: 0 0 2.5rem;
}

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

/* ---------- header ---------- */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--stone);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--pine-deep);
}
.brand:hover { color: var(--pine-deep); }

.brand-mark { flex: none; display: block; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 0.15rem;
}

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--pine);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--sage); color: var(--pine); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--amber); }

/* ---------- hero ---------- */

.hero {
  background:
    linear-gradient(180deg, rgba(18, 42, 32, 0.97), rgba(30, 61, 47, 0.94)),
    var(--pine-deep);
  color: var(--cream);
  overflow: hidden;
}

.hero .wrap { padding-top: 4.5rem; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 1.25rem;
  max-width: 22ch;
}
.hero h1 em { font-style: normal; color: var(--amber-bright); }

.hero .subhead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #e6e0cf;
  max-width: 40rem;
  margin: 0 0 2rem;
}

.hero .eyebrow { color: var(--amber-bright); }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero-ridge { display: block; width: 100%; height: auto; margin-bottom: -1px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--amber);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  border: 2px solid var(--amber);
}
.btn:hover { background: #8f4f10; border-color: #8f4f10; color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--sage);
}
.btn--ghost:hover { background: rgba(125, 155, 138, 0.18); border-color: var(--cream); color: var(--cream); }

.btn--dark {
  background: var(--pine);
  border-color: var(--pine);
}
.btn--dark:hover { background: var(--pine-deep); border-color: var(--pine-deep); }

/* ---------- card grids ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.section--paper .card { background: var(--cream); }

.card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--pine-deep);
  margin: 0 0 0.6rem;
}
.card p { margin: 0; color: var(--slate); }
.card p + p { margin-top: 0.6rem; }

.card .card-icon { color: var(--moss); margin-bottom: 0.9rem; display: block; }

/* ---------- wedge (per-seat pain) ---------- */

.wedge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.wedge-panel {
  border-radius: var(--radius);
  padding: 2rem;
}
.wedge-panel--old {
  background: #efe9da;
  border: 1px dashed #b3a888;
}
.wedge-panel--new {
  background: var(--pine);
  color: var(--cream);
}
.wedge-panel h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 1rem;
}
.wedge-panel--old h3 { color: var(--slate); }
.wedge-panel--new h3 { color: var(--cream); }
.wedge-panel ul { margin: 0; padding-left: 1.2rem; }
.wedge-panel li { margin-bottom: 0.55rem; }
.wedge-panel--old li { color: var(--slate); }
.wedge-panel p { margin: 1rem 0 0; }
.wedge-panel--new p { color: #e6e0cf; }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  background: var(--paper);
  border: 1px solid var(--stone);
  border-top: 4px solid var(--moss);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.steps .step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.steps h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--pine-deep);
  margin: 0 0 0.5rem;
}
.steps p { margin: 0; color: var(--slate); font-size: 0.98rem; }

/* ---------- verticals (services page) ---------- */

.vertical {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--stone);
}
.vertical:last-of-type { border-bottom: none; }
.vertical h2 { margin-top: 0; }
.vertical .pains { margin: 0; padding-left: 1.2rem; color: var(--slate); }
.vertical .pains li { margin-bottom: 0.6rem; }
.vertical .pains strong { color: var(--ink); }
.vertical .fit {
  background: var(--paper);
  border: 1px solid var(--stone);
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  padding: 1.1rem 1.35rem;
  margin-top: 1.25rem;
  color: var(--slate);
}
.vertical .fit strong { color: var(--pine-deep); }

/* ---------- proof band ---------- */

.proof {
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}
.proof .stat {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--pine);
  display: block;
  line-height: 1.1;
}
.proof p { margin: 0.4rem 0 0; color: var(--slate); }

/* ---------- prose (about page) ---------- */

.prose { max-width: 46rem; }
.prose p { margin: 0 0 1.25rem; color: #2c3831; }
.prose p:first-of-type { font-size: 1.13rem; }
.prose h2 { margin-top: 2.5rem; }
.prose ul { color: #2c3831; padding-left: 1.2rem; }
.prose li { margin-bottom: 0.5rem; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--pine-deep);
  color: var(--cream);
  padding: 4rem 0;
  text-align: left;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--cream);
}
.cta-band p { color: #d9d2bd; max-width: 40rem; margin: 0 0 1.75rem; }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-card h2 { margin-top: 0; }
.contact-email {
  font-size: 1.25rem;
  font-weight: 700;
  word-break: break-all;
}
dl.facts { margin: 0; }
dl.facts dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 1.25rem;
}
dl.facts dt:first-child { margin-top: 0; }
dl.facts dd { margin: 0.25rem 0 0; color: var(--slate); }

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  background: linear-gradient(180deg, rgba(18, 42, 32, 0.97), rgba(30, 61, 47, 0.94)), var(--pine-deep);
  color: var(--cream);
}
.page-hero .wrap { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 0.9rem;
  max-width: 26ch;
}
.page-hero p { color: #e6e0cf; max-width: 42rem; margin: 0; font-size: 1.12rem; }
.page-hero .eyebrow { color: var(--amber-bright); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--pine-deep);
  color: #cfc9b4;
  padding: 3rem 0 2.25rem;
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.site-footer .brand-name { color: var(--cream); }
.site-footer a { color: #e6e0cf; }
.site-footer nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-footer .fineprint {
  width: 100%;
  border-top: 1px solid rgba(230, 224, 207, 0.22);
  margin-top: 2rem;
  padding-top: 1.25rem;
  color: #a9a48f;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .grid, .proof { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .vertical { grid-template-columns: 1fr; gap: 1rem; }
  .wedge, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .section { padding: 3rem 0; }
  .grid, .grid--2, .proof, .steps { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 3rem; }
  .site-header .wrap { justify-content: center; text-align: center; }
  .brand { flex-direction: column; gap: 0.4rem; }
  .site-nav ul { justify-content: center; gap: 1.1rem; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
