/* Fieldmark Strategy — site styles
   Palette: cream paper, deep forest green ink, one darker red accent.
   Type: Archivo for everything big and bold; Courier Prime for small typewriter labels.
   Feel: a well-kept field notebook, shown through texture and hand-drawn lines, not words. */

:root {
  --cream: #F4F1E8;
  --cream-deep: #EAE6DA;
  --card: #FBF9F3;
  --placeholder: #D8D3C4;
  --ink: #1D2A22;
  --ink-body: #3A4A3F;
  --ink-muted: #4F5E53;
  --line: #C9C3B2;
  --red: #B52E25;
  --on-dark: #EEEBE1;
  --on-dark-muted: #B9BDB1;
  --on-dark-body: #C9CCC1;
  --bird: #6F7D71;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Courier Prime", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1360px;
  --gutter: clamp(20px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream) url("../assets/paper.png") repeat;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--ink); color: var(--cream); padding: 12px 16px;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(72px, 9vw, 112px); }
.dark { background: var(--ink); color: var(--on-dark); }
.tint { background: var(--cream-deep); }

/* Small typewriter labels */
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.label { font-family: var(--mono); font-size: 15px; color: var(--ink-muted); margin-bottom: 20px; }
.dark .label { color: var(--on-dark-muted); }

.h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  text-wrap: balance;
}
.lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-body); }
.dark .lede { color: var(--on-dark-body); }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 28px;
  background: var(--red); color: var(--cream);
  font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border: 0; cursor: pointer; white-space: nowrap;
  transition: filter .2s ease;
}
.btn:hover { filter: brightness(0.9); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 13px; }
.text-link {
  font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border-bottom: 2px solid currentColor; padding: 12px 0 4px;
}
.text-link:hover, .nav a:not(.btn):hover { opacity: .65; }

/* Hand-drawn rule */
.rule { width: 100%; height: 12px; }
.rule path { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; opacity: .45; }

/* Header */
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 24px; padding-block: 24px;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand__loon { width: 48px; height: 46px; }
.brand__word { height: 20px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.nav a:not(.btn) { padding-block: 12px; }

/* Hero */
.hero { padding-block: clamp(56px, 8vw, 88px) clamp(56px, 7vw, 80px); }
.hero h1 {
  font-size: clamp(64px, 11vw, 168px);
  line-height: 0.9; font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase;
}
.circled { position: relative; display: inline-block; }
.circled svg {
  position: absolute; left: -7%; top: -14%; width: 114%; height: 128%;
  overflow: visible; pointer-events: none;
}
.circled path { fill: none; stroke: var(--red); stroke-width: 3.5; stroke-linecap: round; }
.hero__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 40px; margin-top: clamp(40px, 5vw, 56px);
}
.hero__copy { max-width: 640px; }
.hero__claim { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; font-weight: 800; margin-bottom: 16px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* Spot the mark */
.flock { padding-block: clamp(40px, 6vw, 64px) clamp(36px, 5vw, 56px); }
.flock__art { cursor: crosshair; }
.flock__art svg { width: 100%; height: auto; }
.flock__birds { fill: none; stroke: var(--bird); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.flock__mark { fill: none; stroke: var(--bird); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .4s ease, stroke-width .4s ease; }
.flock__note { opacity: 0; transition: opacity .6s ease; }
.flock__note path { fill: none; stroke: var(--on-dark); stroke-width: 1.6; stroke-linecap: round; }
.flock__note text { font-family: var(--mono); }
.flock.is-revealed .flock__mark { stroke: var(--red); stroke-width: 4; }
.flock.is-revealed .flock__note { opacity: 1; }
.flock__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 28px; }
.flock__caption { font-family: var(--mono); font-size: 16px; color: var(--on-dark-body); }
.btn-outline {
  min-height: 44px; padding: 0 22px; background: transparent; color: var(--on-dark);
  border: 1.5px solid var(--on-dark); font: 700 13px/1 var(--sans); letter-spacing: 0.14em;
  text-transform: uppercase; cursor: pointer;
}
.btn-outline:hover { background: var(--on-dark); color: var(--ink); }

/* Section heads */
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.head .lede { max-width: 460px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 48px; }
.step { position: relative; padding-top: 28px; }
.step svg { position: absolute; top: 0; left: 0; width: 100%; height: 6px; }
.step svg path { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.step .mono { font-size: 15px; color: var(--ink-muted); margin-bottom: 14px; }
.step h3 { font-size: 28px; font-weight: 800; text-transform: uppercase; margin-bottom: 16px; }
.step p:last-child { font-size: 18px; line-height: 1.6; color: var(--ink-body); }

/* Check-up */
.split { display: flex; flex-wrap: wrap; gap: 56px 80px; align-items: flex-start; }
.split__main { flex: 1 1 460px; }
.split__side { flex: 1 1 360px; }
.checkup__intro { margin: 28px 0 20px; max-width: 560px; font-size: 20px; line-height: 1.55; }
.checklist { margin: 0 0 36px; padding: 0 0 0 22px; max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--ink-body); }
.checklist li + li { margin-top: 8px; }
.card { background: var(--card); border: 1.5px solid var(--ink); padding: clamp(24px, 3vw, 36px); }
.facts { margin: 8px 0 0; }
.facts div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0; border-top: 1px dashed #A9AA9E; }
.facts dt { font-family: var(--mono); font-size: 15px; color: var(--ink-muted); }
.facts dd { margin: 0; font-size: 18px; font-weight: 700; text-align: right; }
.card__note { margin-top: 24px; font-size: 16px; color: var(--ink-body); }

/* Brand band */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 40px; }
.marquee__track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: scroll 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { display: flex; align-items: center; gap: 56px; padding-right: 56px; white-space: nowrap;
  font-size: clamp(28px, 3.4vw, 48px); font-weight: 900; letter-spacing: 0.02em; text-transform: uppercase; }
.marquee__track li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
@keyframes scroll { to { transform: translateX(-50%); } }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px; padding-block: 56px clamp(72px, 9vw, 112px); }
.quote { margin: 0; display: flex; flex-direction: column; gap: 24px; }
.quote blockquote { margin: 0; font-size: 22px; line-height: 1.45; font-weight: 500; }
.quote figcaption { font-family: var(--mono); font-size: 15px; color: var(--ink-muted); }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 56px 80px; align-items: center; }
.about__photo { flex: 0 1 420px; position: relative; }
.about__photo .frame { aspect-ratio: 4 / 5; background: var(--placeholder); display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 15px; color: var(--ink-body); overflow: hidden; }
.about__photo .frame img { width: 100%; height: 100%; object-fit: cover; }
.about__photo .badge { position: absolute; right: -20px; bottom: -20px; width: 88px; height: 84px; }
.about__text { flex: 1 1 460px; }
.about__body { margin-top: 28px; max-width: 620px; font-size: 19px; line-height: 1.65; color: var(--ink-body); }
.about__body p + p { margin-top: 20px; }
.about .actions { margin-top: 36px; }
.signoff { font-family: var(--mono); font-size: 15px; color: var(--ink-muted); }

/* Contact */
.contact h2 { font-size: clamp(48px, 8vw, 128px); line-height: 0.92; font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; }
.contact .lede { margin-top: 32px; max-width: 560px; }
.contact .actions { margin-top: 44px; gap: 20px 32px; }
.email { font-family: var(--mono); font-size: 18px; border-bottom: 1px solid var(--bird); padding-bottom: 2px; }
.email:hover { border-color: var(--on-dark); }

/* Footer */
.site-footer { border-top: 1px solid var(--ink-body); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 32px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.site-footer .left { display: flex; align-items: center; gap: 14px; }
.site-footer img { width: 28px; height: 27px; }
.site-footer .right { display: flex; gap: 28px; }
.site-footer a:hover { color: var(--on-dark); }

@media (max-width: 720px) {
  .nav { gap: 4px 20px; }
  /* Zoom the flock in on the standout bird so the note stays readable */
  .flock__art { overflow: hidden; }
  .flock__art svg { width: 210%; max-width: none; margin-left: -96%; }
  .about__photo .badge { right: 12px; bottom: -16px; width: 64px; height: 61px; }
}
@media (max-width: 560px) {
  .site-header .wrap { flex-wrap: nowrap; gap: 12px; }
  .nav a:not(.btn) { display: none; }
  .brand { gap: 12px; }
  .brand__word { height: 14px; }
  .nav .btn--small { padding: 0 16px; }
  .brand__loon { width: 40px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 16px; }
  .marquee__track li[aria-hidden] { display: none; }
  .flock__mark, .flock__note { transition: none; }
}
