/* Green Mile Detasseling — design system
   Thesis: sun-worn field Americana. Cream paper, deep corn-green ink,
   husk-gold accent. Fraunces display over Spline Sans. Real photography
   carries the mood; the type stays confident and quiet. */

:root {
  --cream: #f6f1e4;
  --cream-deep: #ede5d0;
  --ink: #1e2a17;
  --ink-soft: #45523a;
  --green: #2e5527;
  --green-deep: #16220f;
  --gold: #d9a441;
  --gold-deep: #b47f1e;
  --line: rgba(30, 42, 23, 0.16);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Spline Sans", "Avenir Next", "Helvetica Neue", sans-serif;

  --measure: 64ch;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 7vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }

p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: var(--green); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1.1rem;
}

.dark .eyebrow { color: var(--gold); }

/* ---------- status strip ---------- */
.status-strip {
  background: var(--green-deep);
  color: rgba(246, 241, 228, 0.92);
  font-size: 0.86rem;
  text-align: center;
  padding: 0.55rem var(--pad);
  letter-spacing: 0.01em;
}
.status-strip a { color: var(--gold); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand svg { width: 26px; height: 26px; flex: none; }

.site-nav { display: flex; gap: clamp(0.9rem, 2.2vw, 1.7rem); align-items: center; }

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 0.2rem 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 2px;
  background: var(--gold);
  transition: right 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.site-nav a[aria-current="page"] { color: var(--ink); }

.nav-cta {
  background: var(--green);
  color: var(--cream) !important;
  padding: 0.5rem 1.05rem !important;
  border-radius: 999px;
  font-weight: 600 !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 840px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.7rem 0.25rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-cta { margin-top: 0.6rem; text-align: center; }
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-block;
  background: var(--green);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.9rem;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.25s ease, transform 0.15s ease;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0); }
.btn:hover { color: var(--green-deep); }
.btn:active { transform: scale(0.98); }
.btn.gold { background: var(--gold); color: var(--green-deep); }
.btn.gold::before { background: var(--cream); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 18s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(15, 22, 9, 0.84) 0%, rgba(15, 22, 9, 0.44) 48%, rgba(15, 22, 9, 0.1) 74%);
}
.hero .eyebrow, .page-hero .eyebrow { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); }
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section) var(--pad) clamp(3rem, 7vw, 5.5rem);
}
.hero-content h1 { max-width: 12ch; text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero-content .lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 44ch;
  color: rgba(246, 241, 228, 0.94);
  margin-bottom: 1.8rem;
}
.hero .eyebrow { color: var(--gold); }

.hero-rise { opacity: 0; transform: translateY(28px); animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
.hero-rise:nth-child(2) { animation-delay: 0.12s; }
.hero-rise:nth-child(3) { animation-delay: 0.24s; }
.hero-rise:nth-child(4) { animation-delay: 0.38s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* page (non-home) hero */
.page-hero {
  position: relative;
  min-height: clamp(300px, 46vh, 460px);
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
}
.page-hero .hero-img { animation-duration: 14s; }
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,22,9,0.78), rgba(15,22,9,0.12) 65%);
}
.page-hero .hero-content { padding-top: clamp(4rem, 9vw, 6rem); padding-bottom: clamp(2rem, 5vw, 3.2rem); }

/* ---------- sections ---------- */
.section { padding: var(--section) var(--pad); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section.tight { padding-top: calc(var(--section) * 0.6); padding-bottom: calc(var(--section) * 0.6); }

.dark { background: var(--green-deep); color: rgba(246, 241, 228, 0.94); }
.dark h2, .dark h3 { color: var(--cream); }
.dark a { color: var(--gold); }

.paper-deep { background: var(--cream-deep); }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split figure { margin: 0; }
.split img { border-radius: 6px; }

figcaption {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 0.6rem;
  letter-spacing: 0.02em;
}
.dark figcaption { color: rgba(246, 241, 228, 0.65); }

/* big stat / pay banner */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2.5rem;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat .label { font-size: 0.95rem; margin-top: 0.5rem; color: inherit; }

/* photo strip (crew life) */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
  margin-top: 2.6rem;
}
.photo-strip img {
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  height: 100%;
}

/* season rhythm timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
  counter-reset: step;
}
.timeline > div {
  border-top: 3px solid var(--gold);
  padding-top: 1.1rem;
}
.timeline h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.timeline p { font-size: 0.95rem; color: var(--ink-soft); }
.dark .timeline p { color: rgba(246,241,228,0.75); }

/* final CTA band */
.cta-band {
  position: relative;
  color: var(--cream);
  text-align: center;
  padding: calc(var(--section) * 1.15) var(--pad);
  overflow: hidden;
}
.cta-band .hero-img { animation: none; }
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(15, 22, 9, 0.55);
}
.cta-band .section-inner { position: relative; z-index: 1; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band p { margin-inline: auto; }

/* ---------- prose pages ---------- */
.prose { max-width: 72ch; margin: 0 auto; }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; max-width: var(--measure); }
.prose li { margin-bottom: 0.55em; }
.prose li::marker { color: var(--gold-deep); }
.prose figure { margin: 2.4rem 0; }
.prose figure img { border-radius: 6px; }

/* FAQ accordion */
details.faq {
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0;
}
details.faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  padding: 0.85rem 2rem 0.85rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--gold-deep);
  transition: transform 0.25s ease;
}
details.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.faq .answer { padding: 0 0 1.2rem; color: var(--ink-soft); }

/* ---------- application form ---------- */
.form-shell { max-width: 720px; margin: 0 auto; }

.field { margin-bottom: 1.4rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.field .hint { font-size: 0.85rem; color: var(--ink-soft); margin: -0.2rem 0 0.5rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="date"], .field select, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fffdf7;
  border: 1px solid rgba(30, 42, 23, 0.28);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.35);
}
.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0 1.2rem;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.4rem 1.4rem 0.4rem;
  margin: 0 0 1.6rem;
}
legend {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  padding: 0 0.5rem;
}
.radio-line { display: flex; gap: 1.4rem; flex-wrap: wrap; padding: 0.2rem 0 0.9rem; }
.radio-line label { display: flex; gap: 0.45rem; align-items: center; font-weight: 400; margin: 0; }
.radio-line input { accent-color: var(--green); width: 1.05rem; height: 1.05rem; }

.form-note { font-size: 0.88rem; color: var(--ink-soft); }
.form-status { margin-top: 1.2rem; font-weight: 600; }
.form-status.error { color: #a33b1f; }
.form-status.ok { color: var(--green); }

/* honeypot — hidden from humans, present for bots */
.hp-wrap { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--green-deep);
  color: rgba(246, 241, 228, 0.78);
  padding: 3.2rem var(--pad) 2.4rem;
  font-size: 0.92rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-end;
}
.site-footer .brand { color: var(--cream); font-size: 1.05rem; margin-bottom: 0.5rem; }
.site-footer a { color: var(--gold); }
.footer-nav { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.footer-nav a { color: rgba(246,241,228,0.78); text-decoration: none; }
.footer-nav a:hover { color: var(--gold); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .hero-img { animation: none; }
  .hero-rise, .reveal, .reveal-stagger > * { opacity: 1; transform: none; animation: none; transition: none; }
  html { scroll-behavior: auto; }
}
