@font-face{
  font-family: 'Black Ops One';
  src: url('../fonts/black-ops-one-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Special Elite';
  src: url('../fonts/special-elite-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'IBM Plex Sans';
  src: url('../fonts/ibm-plex-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'IBM Plex Sans';
  src: url('../fonts/ibm-plex-sans-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'IBM Plex Sans';
  src: url('../fonts/ibm-plex-sans-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'IBM Plex Sans';
  src: url('../fonts/ibm-plex-sans-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
:root{
  --olive: #556B4D;
  --olive-dark: #43543d;
  --khaki: #C8BA95;
  --paper: #F5F2E9;
  --paper-2: #EFEADB;
  --charcoal: #2B2B2B;
  --burgundy: #7A3B32;
  --line: rgba(43,43,43,0.14);

  /* Text color scale, darkest to lightest. Consolidates what used to be
     nine one-off grays scattered across component files. */
  --text-body: #35342f;      /* article copy, note card body text */
  --text-secondary: #45443f; /* ledes / intro paragraphs */
  --text-muted: #6a6a63;     /* labels, footer copy, captions */
  --text-faint: #8a8a80;     /* dates, metadata, small annotations */
  --border-medium: #9a9a90;  /* field-note-box clip stroke */
  --white: #ffffff;
}
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  background-image:
    radial-gradient(rgba(43,43,43,0.035) 1px, transparent 1px);
  background-size: 3px 3px;
}

a{ color: var(--burgundy); }

.wrap{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Section shells, shared across the page */
section{ padding: 76px 0; border-bottom: 1px solid var(--line); }
section:last-of-type{ border-bottom:none; }

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; scroll-behavior: auto !important; }
}
.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive-dark);
  margin: 0 0 10px;
}

h2.section-title{
  font-family: 'Special Elite', cursive;
  font-size: 1.9rem;
  margin: 0 0 40px;
  color: var(--charcoal);
}
.btn{
  display:inline-block;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration:none;
  border-radius: 3px;
  letter-spacing: 0.01em;
  transition: background-color .15s ease, color .15s ease;
}

.btn-primary{
  background: var(--olive);
  color: var(--paper);
}
.btn-primary:hover{ background: var(--burgundy); }

.btn-ghost{
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-ghost:hover{ background: var(--charcoal); color: var(--paper); }
header{
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  position: relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color: var(--charcoal);
}

.brand-name{
  font-family: 'Special Elite', cursive;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.brand-logo{
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: block;
}

nav ul{
  list-style:none;
  display:flex;
  gap: 30px;
  margin:0; padding:0;
}
nav ul li a{
  text-decoration:none;
  color: var(--charcoal);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
  transition: border-color .15s ease, color .15s ease;
}
nav ul li a:hover{
  border-color: var(--olive);
  color: var(--olive-dark);
}
nav ul li a.active{
  font-weight: 700;
  border-color: var(--olive-dark);
  color: var(--olive-dark);
}

/* ---------- Mobile nav toggle ---------- */
.nav-toggle{
  display:none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1.5px solid var(--charcoal);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}
/* One real element for the middle bar; ::before/::after generate the
   top and bottom bars, so no extra markup is needed for either. */
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after{
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--charcoal);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bar{
  position: relative;
}
.nav-toggle-bar::before{
  position: absolute;
  top: -7px;
  left: 0;
}
.nav-toggle-bar::after{
  position: absolute;
  top: 7px;
  left: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar{
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before{
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after{
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 720px){
  .nav-toggle{ display:flex; }

  nav{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  nav.is-open{ max-height: 320px; }

  nav ul{
    flex-direction: column;
    gap: 0;
    padding: 8px 28px 20px;
  }
  nav ul li a{
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  nav ul li:last-child a{ border-bottom: none; }
}
.hero{
  padding: 88px 0 76px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 48px;
  align-items:start;
}
@media (max-width: 900px){ .hero-inner{ grid-template-columns: 1fr; } }

.stamp{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy);
  border: 1.5px solid var(--burgundy);
  padding: 5px 12px;
  border-radius: 2px;
  transform: rotate(-2deg);
  margin-bottom: 28px;
}

.hero h1{
  font-family: 'Black Ops One', sans-serif;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.18;
  margin: 0 0 22px;
  color: var(--olive-dark);
  max-width: 15ch;
}
.hero .lede{
  font-size: 1.12rem;
  max-width: 560px;
  color: var(--text-secondary);
  margin: 0 0 34px;
}
.hero .lede strong{ color: var(--charcoal); }

.hero-ctas{
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Field Note box (the signature "little box") ---------- */
.field-note-box{
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 20px 22px 22px;
  position: relative;
  font-family: 'IBM Plex Mono', monospace;
  box-shadow: 0 6px 18px rgba(43,43,43,0.06);
}
.field-note-box::before{
  content: "";
  position: absolute;
  top: -9px; left: 24px;
  width: 22px; height: 16px;
  border: 1.5px solid var(--border-medium);
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  background: transparent;
}
.field-note-box .fn-title{
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin: 0 0 14px;
  font-weight: 600;
}
.field-note-box dl{
  margin:0;
  display:grid;
  grid-template-columns: auto 1fr;
  row-gap: 9px;
  column-gap: 14px;
  font-size: 0.82rem;
}
.field-note-box dt{
  color: var(--text-faint);
  text-transform: uppercase;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  padding-top: 2px;
}
.field-note-box dd{
  margin:0;
  color: var(--charcoal);
}
.polaroid{
  background: var(--white);
  padding: 14px 14px 16px;
  box-shadow: 0 10px 24px rgba(43,43,43,0.14), 0 2px 6px rgba(43,43,43,0.08);
  transform: rotate(-1.5deg);
  margin-bottom: 18px;
  position: relative;
}
.polaroid .frame{
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(45deg, rgba(43,43,43,0.05) 0 10px, transparent 10px 20px),
    var(--paper-2);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 20px;
  position: relative;
}
.polaroid .ph-label{
  font-family:'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.polaroid .ph-tag{
  position:absolute;
  top: 10px; left: 10px;
  background: var(--burgundy);
  color: var(--paper);
  font-family:'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}
.polaroid .caption{
  font-family: 'Special Elite', cursive;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align:center;
  margin: 10px 0 0;
}
.polaroid.small{ transform: rotate(1deg); }

/* Utility classes for photo-filled frames, replacing repeated inline styles */
.frame.photo{
  padding: 0;
  overflow: hidden;
}
.photo-cover{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.photo-cover--top{ object-position: center 30%; }
.photo-cover--high{ object-position: center 15%; }
.about-grid{
  display:grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items:start;
}
@media (max-width: 760px){ .about-grid{ grid-template-columns: 1fr; } }

.about-card{
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px 22px;
}
.about-card .role{
  font-family:'IBM Plex Sans', sans-serif;
  font-weight:700;
  font-size: 1.02rem;
  margin: 0 0 4px;
}
.about-card .sub{
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.tag-row{ display:flex; flex-wrap:wrap; gap:8px; }
.tag{
  font-family:'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 2px;
  color: var(--burgundy);
}

.about-copy p{ margin: 0 0 18px; }
.about-copy .signoff{
  font-family:'Special Elite', cursive;
  color: var(--olive-dark);
  font-size: 1.05rem;
}
.about-copy .btn{ margin-top: 22px; }
.notes-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 860px){ .notes-grid{ grid-template-columns: 1fr; } }

.note-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
  display:flex;
  flex-direction:column;
  overflow: visible;
}
.note-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(43,43,43,0.08);
}
.note-thumb{
  height: 190px;
  overflow: hidden;
  background: var(--paper-2);
  border-radius: 3px 3px 0 0;
  border-bottom: 1px solid var(--line);
}
.note-thumb img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.note-body{
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.note-tab{
  position:absolute;
  top: -10px; left: 18px;
  background: var(--burgundy);
  color: var(--paper);
  font-family:'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  z-index: 2;
}
.note-date{
  font-family:'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-faint);
  margin: 14px 0 10px;
}
.note-card h3{
  font-family:'IBM Plex Sans', sans-serif;
  font-size: 1.05rem;
  margin: 0 0 10px;
  line-height:1.35;
}
.note-card p{
  font-size: 0.9rem;
  color: var(--text-body);
  margin: 0 0 16px;
  flex-grow:1;
}
.note-card a{
  font-size: 0.82rem;
  font-weight:600;
  text-decoration:none;
}

/* "Coordinates" star-rating footer on each Field Note card */
.coords{
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  margin-top: auto;
  font-family:'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: var(--text-faint);
}
.coords .coord-row{
  display:flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.coords .stars{ color: var(--burgundy); letter-spacing: 1px; }
.coords-label{
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.62rem;
  color: var(--olive-dark);
  margin-bottom: 6px;
  display:block;
}
.pillars{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pillar{
  font-family:'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  border: 1px solid var(--olive);
  color: var(--olive-dark);
  padding: 9px 16px;
  border-radius: 20px;
  background: rgba(85,107,77,0.06);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
  text-decoration: none;
  display: inline-block;
}
.pillar:hover{
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(43,43,43,0.08);
  border-color: var(--burgundy);
  color: var(--burgundy);
}
footer{
  padding: 46px 0 60px;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.footer-row{
  display:flex;
  justify-content: space-between;
  align-items:center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-links{ display:flex; gap:20px; }
.footer-links a{ color:var(--text-muted); text-decoration:none; }
.footer-links a:hover{ color: var(--burgundy); }
/* Used on long-form article pages (About, individual Field Notes entries).
   Not imported into main.css since these rules aren't needed site-wide. */

.article-hero{
  border-bottom: 1px solid var(--line);
  padding: 72px 0 64px;
}
.article-hero .about-grid{
  align-items:center;
}
.article-hero h1{
  font-family: 'Black Ops One', sans-serif;
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  line-height: 1.2;
  margin: 0 0 18px;
  color: var(--olive-dark);
}
.article-hero .lede{
  font-size: 1.08rem;
  color: var(--text-secondary);
  margin: 0;
  max-width: 46ch;
}

.article-body{
  max-width: 700px;
  margin: 0 auto;
}
.article-body p{
  margin: 0 0 22px;
  font-size: 1.02rem;
  color: var(--text-body);
}

/* Drop cap on the opening paragraph */
.article-body p.opening::first-letter{
  font-family: 'Black Ops One', sans-serif;
  font-size: 3.4rem;
  float: left;
  line-height: 0.85;
  padding: 4px 8px 0 0;
  color: var(--olive-dark);
}

/* Section labels inserted between topic shifts, break up the wall of text */
.section-label{
  font-family:'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy);
  border-top: 1px dashed var(--line);
  padding-top: 28px;
  margin: 44px 0 20px;
}
.article-body > .section-label:first-of-type{
  border-top: none;
  margin-top: 8px;
}

/* Pull quotes, excerpting a line already present in the body copy */
.pull-quote{
  font-family: 'Special Elite', cursive;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--olive-dark);
  border-left: 3px solid var(--burgundy);
  padding: 4px 0 4px 24px;
  margin: 8px 0 34px;
}

/* Two placeholder photos side by side, e.g. Marvin & Maddi */
.photo-pair{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 12px 0 34px;
}
@media (max-width: 560px){
  .photo-pair{ grid-template-columns: 1fr; max-width: 320px; margin-left:auto; margin-right:auto; }
}
.photo-pair .polaroid{ margin-bottom: 0; }

/* Single standalone photo, sized to match one item in a photo-pair */
.polaroid-solo{
  max-width: 338px;
  margin: 12px auto 34px;
}

.article-closing{
  font-family:'Special Elite', cursive;
  font-size: 1.1rem;
  color: var(--olive-dark);
  border-top: 1px dashed var(--line);
  padding-top: 26px;
  margin-top: 12px;
}

/* ---------- Contact form ---------- */
.contact-wrap{
  max-width: 560px;
  margin: 0 auto;
}

.contact-form{
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-field{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive-dark);
}
.form-field input,
.form-field textarea{
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 14px;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus{
  outline: none;
  border-color: var(--olive);
  background: var(--paper);
}

.contact-form .btn{
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.contact-form .btn:disabled{
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.86rem;
  margin: 0;
  min-height: 1.2em;
}
.form-status.success{ color: var(--olive-dark); }
.form-status.error{ color: var(--burgundy); }

/* Honeypot field — visually hidden from real visitors and screen readers,
   but still present in the DOM for bots that auto-fill every input. */
.hp-field{
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  overflow: hidden;
}

/* ---------- Footer legal links ---------- */
.footer-legal{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-legal a{
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
}
.footer-legal a:hover{ color: var(--burgundy); }

/* Square variant of the polaroid frame, for square-format photos
   (matches marching.jpg / 75things.jpg at 1024x1024). Overrides the
   default 4:5 .frame aspect ratio. */
.frame.square{
  aspect-ratio: 1 / 1;
}

/* Featured image at the top of a Field Notes post — same polaroid
   treatment used elsewhere on the site, sized a bit larger and centered. */
.polaroid-feature{
  max-width: 420px;
  margin: 28px auto 8px;
}

/* Rapid inner-monologue lines — tighter spacing and a slightly different
   tone than normal narration, for the racing-thoughts effect. */
.thought-line{
  margin: 0 0 6px;
  font-style: italic;
  color: var(--text-secondary);
}

/* ---------- Interests page grid ---------- */
.interests-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px){ .interests-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .interests-grid{ grid-template-columns: 1fr; } }

.interest-card{
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper-2);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.interest-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(43,43,43,0.08);
}
.interest-thumb{
  height: 170px;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 12px;
}
.interest-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.interest-thumb .ph-label{
  font-family:'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.interest-body{ padding: 18px 20px 20px; }
.interest-body h3{
  font-family:'IBM Plex Sans', sans-serif;
  font-size: 1rem;
  margin: 0 0 8px;
}
.interest-body p{
  font-size: 0.88rem;
  color: var(--text-body);
  margin: 0;
}
