/* ==========================================================================
   Boxed N site styles
   Mobile-first. Breakpoints step up at 640px (sm), 860px (md), 1024px (lg).
   Palette is the established brand system; two values were adjusted from the
   original mockup to meet WCAG AA contrast (see --wood-light, --footer-fine).
   ========================================================================== */

:root {
  /* brand */
  --wood:        #a88f70;
  --wood-light:  #c4ab90;   /* AA on --iron (5.86:1); mockup used --wood at 4.18:1 */
  --wood-dark:   #5f4d38;
  --wood-line:   #8a7355;
  --iron:        #2c3336;
  --sky:         #2e6e96;
  --rust:        #bd5a2c;
  --rust-dark:   #9c4a23;
  --cream:       #f2ede2;
  --paper:       #faf7f0;
  --charcoal:    #241f19;
  --field:       #5c6b47;
  --line:        #ddd3c1;

  --muted:       #4a4239;
  --footer-text: #cfc6b6;
  --footer-fine: #a89e8c;   /* AA on --iron (4.86:1); mockup used #8b8375 at 3.43:1 */

  --focus:       #1d4e6b;

  --wrap:        1100px;
  --gutter:      20px;
  --radius:      6px;

  --font-display: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --font-body:    'Source Sans 3', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
}

/* --------------------------------------------------------------- reset --- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.6;
  overflow-wrap: break-word;
}

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

img {
  height: auto;
  display: block;
}

button { font: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------------------------------------------------------- typography --- */

h1, h2, h3, h4,
.brand-name,
.nav a,
.btn,
.eyebrow,
.call-pill {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
}

h1 {
  font-size: clamp(1.9rem, 6.5vw, 3.4rem);
  line-height: 1.06;
  margin: 0 0 .6rem;
}

h2 {
  font-size: clamp(1.45rem, 4.4vw, 2.15rem);
  line-height: 1.15;
  margin: 0 0 .5rem;
}

h3 {
  font-size: clamp(1.05rem, 3vw, 1.18rem);
  line-height: 1.25;
  margin: 0 0 .45rem;
}

p { margin: 0 0 1rem; }

a { color: inherit; }

.eyebrow {
  font-size: .78rem;
  color: var(--field);
  letter-spacing: .13em;
  margin-bottom: .65rem;
}

.lead {
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  color: var(--muted);
  max-width: 46ch;
}

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

/* ------------------------------------------------------- a11y helpers --- */

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

.skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 200;
  background: var(--rust-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  transition: top .15s ease-in;
}

.skip-link:focus { top: 0; }

/* One consistent, high-contrast focus ring everywhere. */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Header sits on dark/cream, so use a light ring there to stay visible. */
.counties :focus-visible,
footer :focus-visible,
.band-field :focus-visible {
  outline-color: #ffffff;
}

/* --------------------------------------------------------- structure --- */

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding: 44px 0; }

@media (min-width: 640px) { section { padding: 56px 0; } }
@media (min-width: 860px) { section { padding: 64px 0; } }

.section-tight { padding-top: 0; }

/* The header is sticky, so an anchor target would otherwise scroll to sit
   underneath it. Offset every jump destination by more than the header height
   (91px at desktop, ~78px on mobile). */
#main,
[id].service-block,
[id].info-block,
:target {
  scroll-margin-top: 92px;
}

@media (min-width: 860px) {
  #main,
  [id].service-block,
  [id].info-block,
  :target {
    scroll-margin-top: 106px;
  }
}

/* fence-rail divider: signature motif echoing the roadside sign */
.rail {
  height: 14px;
  background:
    repeating-linear-gradient(90deg, var(--wood-dark) 0 3px, transparent 3px 90px),
    linear-gradient(var(--iron), var(--iron));
  background-size: 90px 100%, 100% 6px;
  background-position: center, center;
  background-repeat: repeat-x, no-repeat;
  opacity: .9;
}

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

header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 10px var(--gutter);
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}

.brand-group img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.15rem;
  color: var(--iron);
  font-weight: 600;
  line-height: 1;
}

.brand-name small {
  display: block;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: .66rem;
  color: var(--wood-dark);
  margin-top: 3px;
  line-height: 1.2;
}

/* Call button: always reachable, it is the primary conversion path. */
.call-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--rust);
  color: #fff;
  padding: 10px 14px;
  border-radius: 3px;
  font-size: .82rem;
  text-decoration: none;
  white-space: nowrap;
  /* Below 400px the number is hidden and only the icon shows, so hold the
     44x44 minimum tap target to stay comfortably thumb-sized. */
  min-height: 44px;
  min-width: 44px;
}

.call-pill:hover,
.call-pill:focus-visible { background: var(--rust-dark); }

/* Second line. Shown beside the main pill as a quieter, outlined twin so the
   main number still reads as the primary action. There is no room for it in
   the sticky bar on a phone, so it appears from 560px up; below that both
   numbers are still side by side in the footer of every page. */
.call-pill-alt {
  display: none;
  background: none;
  /* --rust on the cream header is 3.86:1, under the 4.5:1 AA floor for text
     this small. --rust-dark clears it at 5.26:1 and still reads as the same
     colour next to the solid pill. */
  color: var(--rust-dark);
  border: 1px solid var(--rust);
  margin-left: 8px;
}

.call-pill-alt:hover,
.call-pill-alt:focus-visible {
  background: var(--rust);
  color: #fff;
}

.call-pill-alt .call-label { display: inline; }

@media (min-width: 560px) {
  .call-pill-alt { display: inline-flex; }
}

/* The alternate number under a call-to-action button. */
.call-alt {
  margin-top: 10px;
  font-size: .9rem;
  color: var(--muted);
}

.call-alt a { font-weight: 600; }

.call-pill svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

.call-pill .call-label { display: none; }

@media (min-width: 400px) {
  .call-pill .call-label { display: inline; }
}

/* --- mobile menu button --- */

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--wood-dark);
  border-radius: 3px;
  color: var(--iron);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle:hover { background: rgba(95, 77, 56, .09); }

.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}

.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* --- nav --- */

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(36, 31, 25, .13);
  padding: 6px var(--gutter) 14px;
}

.nav[data-open="true"] { display: block; }

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  display: block;
  font-size: .95rem;
  color: var(--iron);
  text-decoration: none;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
}

.nav li:last-child a { border-bottom: none; }

.nav a:hover,
.nav a:focus-visible { color: var(--rust-dark); }

.nav a[aria-current="page"] {
  color: var(--rust-dark);
  font-weight: 600;
}

@media (min-width: 860px) {
  .nav-toggle { display: none; }

  .topbar { padding-block: 12px; }

  .brand-group img { width: 52px; height: 52px; }
  .brand-name { font-size: 1.3rem; }
  .brand-name small { font-size: .68rem; }

  .nav {
    display: block;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-right: 22px;
  }

  .nav ul {
    display: flex;
    gap: 26px;
  }

  .nav a {
    font-size: .85rem;
    padding: 8px 2px;
    border-bottom: 2px solid transparent;
  }

  .nav li:last-child a { border-bottom: 2px solid transparent; }

  .nav a:hover,
  .nav a:focus-visible { border-color: var(--rust); }

  .nav a[aria-current="page"] {
    border-color: var(--rust);
    font-weight: 400;
  }

  .call-pill { font-size: .85rem; padding: 10px 16px; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  min-height: 46px;
  border-radius: 3px;
  font-size: .88rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--rust);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible { background: var(--rust-dark); }

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

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--iron);
  color: #fff;
}

.btn-on-dark {
  border-color: #fff;
  color: #fff;
}

.btn-on-dark:hover,
.btn-on-dark:focus-visible {
  background: #fff;
  color: var(--iron);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.cta-row .btn { flex: 1 1 auto; }

@media (min-width: 480px) {
  .cta-row .btn { flex: 0 0 auto; }
}

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

.hero {
  background: linear-gradient(180deg, var(--cream), var(--paper));
  padding-top: 40px;
}

@media (min-width: 860px) { .hero { padding-top: 62px; } }

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.12fr .88fr;
    gap: 48px;
  }
}

/* On phones the headline and call-to-action come first, then the photo.
   A full screen of sign before any words buries the pitch. */
.hero-figure { margin: 0; }

.hero-figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 3px solid var(--wood-dark);
  box-shadow: 0 8px 22px rgba(36, 31, 25, .16);
  /* Keep the tall crop from eating the whole viewport on small screens. */
  max-height: 46vh;
  object-fit: cover;
  object-position: center 42%;
}

@media (min-width: 860px) {
  .hero-figure img {
    max-height: none;
    object-fit: fill;
  }
}

.hero-figure figcaption {
  font-size: .78rem;
  color: var(--wood-dark);
  margin-top: 8px;
  text-align: center;
  font-style: italic;
}

.trust-strip {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 26px;
  font-size: .87rem;
  color: var(--wood-dark);
  list-style: none;
  padding: 0;
}

@media (min-width: 640px) {
  .trust-strip {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 26px;
  }
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-strip svg {
  width: 16px;
  height: 16px;
  fill: var(--field);
  flex-shrink: 0;
}

/* ------------------------------------------- mile-marker county strip --- */

.counties {
  background: var(--iron);
  color: #fff;
  padding: 22px 0;
}

.county-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 860px) {
  .county-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.county-row .label {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--wood-light);
  text-transform: uppercase;
}

.markers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.marker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
}

.marker .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rust);
  flex-shrink: 0;
}

/* ------------------------------------------------------------- cards --- */

.grid3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 30px;
}

@media (min-width: 640px) {
  .grid3 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (min-width: 860px) {
  .grid3 { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

/* Two-up card row, e.g. the payment page's ways to pay. Separate from .grid3
   rather than an override, so it never fights .grid3's 860px three-column rule. */
.grid2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 30px;
}

@media (min-width: 640px) {
  .grid2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.card .icon {
  width: 38px;
  height: 38px;
  margin-bottom: 13px;
  fill: none;
  stroke: var(--rust-dark);
  stroke-width: 1.6;
}

.card p {
  color: var(--muted);
  font-size: .93rem;
}

.card .price {
  font-family: var(--font-display);
  color: var(--sky);
  font-size: 1.1rem;
  margin: 6px 0 8px;
}

/* Secondary price line, e.g. the annual prepay rate under the monthly one. */
.card .price-alt {
  font-size: .85rem;
  color: var(--field);
  font-weight: 600;
  margin: -4px 0 10px;
}

.card .link {
  font-size: .87rem;
  color: var(--rust-dark);
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
  padding-top: 4px;
  align-self: flex-start;
}

.card .link:hover,
.card .link:focus-visible { text-decoration: underline; }

/* ----------------------------------------------------------- two-col --- */

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

@media (min-width: 860px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.two-col figure { margin: 0; }

.two-col figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 3px solid var(--wood-dark);
}

.two-col figcaption {
  font-size: .78rem;
  color: var(--wood-dark);
  margin-top: 8px;
  font-style: italic;
}

/* -------------------------------------------------------- field band --- */

.band-field {
  background: var(--field);
  color: var(--cream);
  text-align: center;
}

.band-field h2 { color: #fff; }

.band-field p {
  max-width: 50ch;
  margin-inline: auto;
}

.band-field .cta-row { justify-content: center; }

/* ---------------------------------------------------------- services --- */

.service-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 860px) {
  .service-block {
    grid-template-columns: .5fr 1fr;
    gap: 40px;
    padding: 38px 0;
  }
}

.service-block:last-of-type { border-bottom: none; }

.service-tag {
  font-family: var(--font-display);
  color: var(--sky);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.service-price-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 16px;
}

.service-price-box .amt {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--rust-dark);
  line-height: 1.1;
}

.service-price-box .per {
  font-size: .8rem;
  color: var(--wood-dark);
}

.service-price-box .note {
  font-size: .82rem;
  color: var(--wood-dark);
  margin: 8px 0 0;
}

.service-price-box .note a {
  color: var(--rust-dark);
  font-weight: 600;
}

.service-price-box .save-line {
  font-size: .89rem;
  color: var(--field);
  font-weight: 600;
  margin: 7px 0 0;
}

.service-price-box .btn { margin-top: 14px; }

ul.feat {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

ul.feat li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .94rem;
}

ul.feat li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 12px;
  height: 2px;
  background: var(--rust);
}

/* Exclusion list: same rhythm as ul.feat, but marked with a cross so it reads
   as "not this" at a glance rather than as another feature list. */
ul.feat-no li::before {
  content: "\00D7";
  background: none;
  width: auto;
  height: auto;
  top: 0;
  left: 1px;
  color: var(--rust-dark);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.45;
}

/* Same two-column rhythm as .service-block, minus the divider rule. */
.info-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  padding: 32px 0;
}

@media (min-width: 860px) {
  .info-block {
    grid-template-columns: .5fr 1fr;
    gap: 40px;
    padding: 38px 0;
  }
}

/* Annual prepay offer. Green border marks it as the savings option, distinct
   from the rust-bordered terms strip. */
.save-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  background: var(--cream);
  border: 2px solid var(--field);
  border-radius: var(--radius);
  padding: 24px;
}

@media (min-width: 860px) {
  .save-panel {
    grid-template-columns: 1.25fr .75fr;
    gap: 36px;
    padding: 30px;
  }
}

.badge-save { background: var(--rust); }

.save-compare {
  list-style: none;
  margin: 0;
  padding: 0;
}

.save-compare li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  color: var(--muted);
}

.save-compare li:last-child { border-bottom: none; }

.save-compare .amount {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--charcoal);
  white-space: nowrap;
}

.save-compare .total {
  border-top: 2px solid var(--wood-dark);
  margin-top: 4px;
  padding-top: 13px;
  font-weight: 600;
  color: var(--charcoal);
}

.save-compare .total .amount { color: var(--field); }

/* Billing terms strip on the payment page: due date and late fee. */
.terms-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rust);
  border-radius: var(--radius);
  padding: 22px;
}

/* Three terms side by side once there is room. Below 860px they stack rather
   than going two-up, which would leave the third item orphaned on its own row. */
@media (min-width: 860px) {
  .terms-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 26px 30px;
  }
}

.term-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .74rem;
  color: var(--field);
  margin-bottom: 4px;
}

.term-value {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.4vw, 1.55rem);
  color: var(--rust-dark);
  line-height: 1.1;
  margin-bottom: 5px;
}

.term-note {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* Small status pill, e.g. "Coming soon" on the payment page. */
.badge {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .7rem;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--field);
  color: #fff;
  margin-bottom: 12px;
}

/* The primary "pay online" panel. Heavier border than a .card so it reads as
   the main event on the payment page. */
.pay-panel {
  background: var(--cream);
  border: 2px solid var(--wood-dark);
  border-radius: var(--radius);
  padding: 24px;
}

@media (min-width: 640px) {
  .pay-panel { padding: 30px; }
}

.pay-panel h2 { margin-bottom: .5rem; }

.pay-panel .pay-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.pay-panel .pay-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .94rem;
}

.pay-panel .pay-list li strong {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .86rem;
  color: var(--charcoal);
  margin-bottom: 2px;
}

/* Callout for a customer instruction. Green left rule keeps it visually
   separate from the rust-accented calls to action. */
.callout {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--field);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 20px;
}

.callout h3 {
  margin-bottom: .35rem;
}

.callout p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .93rem;
}

/* ------------------------------------------------------------- about --- */

.bio-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .bio-card {
    flex-direction: row;
    gap: 20px;
    padding: 24px;
  }
}

.bio-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wood-dark);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: .04em;
}

.bio-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.timeline {
  border-left: 2px solid var(--wood);
  padding-left: 22px;
  margin-top: 22px;
  list-style: none;
}

.timeline .tl-item {
  margin-bottom: 22px;
  position: relative;
}

.timeline .tl-item:last-child { margin-bottom: 0; }

.timeline .tl-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--rust);
  border: 2px solid var(--paper);
}

.timeline .yr {
  font-family: var(--font-display);
  color: var(--sky);
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.timeline p { margin-bottom: 0; }

.h-sub { font-size: clamp(1.2rem, 3.4vw, 1.4rem); }

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: .9fr 1.1fr;
    gap: 48px;
  }
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-line {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: .96rem;
}

.info-line svg {
  width: 20px;
  height: 20px;
  stroke: var(--rust-dark);
  fill: none;
  stroke-width: 1.7;
  flex-shrink: 0;
  margin-top: 3px;
}

.info-line a { color: var(--rust-dark); }

/* ------------------------------------------------------------- forms --- */

form.contact-form {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

@media (min-width: 640px) {
  form.contact-form { padding: 28px; }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

@media (min-width: 640px) {
  .form-row.two-up { grid-template-columns: 1fr 1fr; }
}

label {
  display: block;
  font-size: .78rem;
  font-family: var(--font-display);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--wood-dark);
}

.req {
  color: var(--rust-dark);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--wood-line);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem; /* 16px stops iOS Safari zooming on focus */
  background: #fff;
  color: var(--charcoal);
  min-height: 46px;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--focus);
}

.form-hint {
  font-size: .82rem;
  color: var(--wood-dark);
  margin: 0 0 16px;
}

.contact-form .btn { width: 100%; }

/* Honeypot: hidden from people, visible to bots. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

footer {
  background: var(--iron);
  color: var(--footer-text);
  padding: 38px 0 24px;
  font-size: .88rem;
}

.fgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 640px) {
  .fgrid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (min-width: 860px) {
  .fgrid { grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
}

footer h2 {
  font-family: var(--font-display);
  color: #fff;
  font-size: .9rem;
  letter-spacing: .08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

footer p { margin-bottom: 6px; }

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer li { margin-bottom: 6px; }

footer a {
  color: var(--footer-text);
  text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

footer .fine {
  margin-top: 28px;
  border-top: 1px solid #4a5155;
  padding-top: 16px;
  font-size: .78rem;
  color: var(--footer-fine);
}

/* -------------------------------------------------- thanks / 404 page --- */

.narrow-page {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  padding-block: 20px;
}

.narrow-page .big-mark {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
}
