/* 4x4 Depot — palette pulled from the logo roundel */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #0b1114;        /* roundel ring */
  --ink-2: #162026;
  --white: #ffffff;
  --mist: #eef2f1;       /* cloud / snow cap */
  --depot: #f4b41a;      /* DEPOT yellow */
  --depot-dark: #c98d00;
  --veld: #2e8b4a;       /* mountain green */
  --sky: #1a72a8;        /* sky blue */
  --flare: #f2581a;      /* sunset orange */
  --text: #1b2328;
  --muted: #55636b;
  --line: #d7dedc;

  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--depot); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--depot); color: var(--ink); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 850; font-stretch: 112%; line-height: 1.02; text-transform: uppercase; max-width: 18ch; }
h2 em { font-style: normal; color: var(--veld); }
h3 { font-size: 1.15rem; font-weight: 800; font-stretch: 105%; text-transform: uppercase; letter-spacing: .02em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--depot); color: var(--ink); text-decoration: none;
  font: 800 .95rem/1 var(--display); font-stretch: 110%; text-transform: uppercase; letter-spacing: .04em;
  padding: 16px 22px; border: 2px solid var(--depot); border-radius: 4px; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 -2px var(--ink); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: var(--white); color: var(--ink); box-shadow: none; }
.btn-sm { padding: 11px 16px; font-size: .8rem; }
.btn-wa { background: var(--veld); border-color: var(--veld); color: var(--white); }

/* Header */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; color: var(--white); }
.header-row { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { width: 72px; height: 72px; filter: drop-shadow(0 4px 14px rgba(0,0,0,.45)); }
.logo-word { font: 900 1.05rem/1 var(--display); font-stretch: 120%; text-transform: uppercase; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; text-shadow: 0 1px 8px rgba(0,0,0,.5); position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--depot); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }

/* Hero */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--ink); }
.hero-img, .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img img { object-fit: cover; object-position: 40% 60%; animation: settle 2.4s var(--ease) both; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(11,17,20,.9) 0%, rgba(11,17,20,.65) 50%, rgba(11,17,20,.1) 85%),
  linear-gradient(0deg, rgba(11,17,20,.7) 0%, rgba(11,17,20,0) 40%),
  linear-gradient(180deg, rgba(11,17,20,.55) 0%, rgba(11,17,20,0) 22%); }
.hero-copy { position: relative; width: 100%; padding-top: 140px; padding-bottom: clamp(56px, 9vh, 96px); }
.hero h1 { font-size: clamp(2.1rem, 6.6vw, 5.6rem); white-space: nowrap; font-weight: 900; font-stretch: 118%; line-height: .92; text-transform: uppercase; letter-spacing: -.02em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; animation: rise .9s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .08s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .32s; }
.hero h1 .line:nth-child(4) > span { animation-delay: .4s; }
.hero h1 .accent { color: var(--depot); }
.hero .lede { max-width: 46ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); margin: 28px 0 32px; color: #e6ecea; animation: fade 1s .7s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; animation: fade 1s .85s both; }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Signature: the strap — webbing in the roundel's stripes, pulled taut on view */
.strap { background: var(--ink); padding: 12px 0; overflow: hidden; }
.strap span {
  display: block; height: 34px; transform-origin: left center;
  background:
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(11,17,20,.55) 10px 13px) 0 3px / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(11,17,20,.55) 10px 13px) 0 calc(100% - 3px) / 100% 2px no-repeat,
    linear-gradient(180deg,
      var(--flare) 0 20%, var(--white) 20% 30%, var(--sky) 30% 50%, var(--white) 50% 60%,
      var(--veld) 60% 80%, var(--white) 80% 90%, var(--depot) 90% 100%);
  border-radius: 2px;
}
.js .strap span { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js .strap.in span { transform: scaleX(1); }
.strap-thin { padding: 0; }
.strap-thin span { height: 8px; border-radius: 0; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Corporate */
.corporate { padding: clamp(72px, 10vw, 130px) 0; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-copy p { color: var(--muted); max-width: 52ch; }
.split-copy h2 { margin-bottom: 24px; }
.split-img { margin: 0; }
.split-img img { border-radius: 6px; aspect-ratio: 4 / 3.2; object-fit: cover; }

.steps { list-style: none; padding: 0; margin: clamp(56px, 8vw, 96px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 12%; height: 4px; background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 22px); }
.step { position: relative; padding-right: 24px; }
.step-n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--depot); font: 900 1.4rem/1 var(--display); font-stretch: 120%; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--ink); margin-bottom: 20px; }
.step:nth-child(2) .step-n { color: var(--white); background: var(--sky); box-shadow: 0 0 0 2px var(--sky); }
.step:nth-child(3) .step-n { color: var(--white); background: var(--veld); box-shadow: 0 0 0 2px var(--veld); }
.step:nth-child(4) .step-n { color: var(--white); background: var(--flare); box-shadow: 0 0 0 2px var(--flare); }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }
.js .step.reveal:nth-child(2) { transition-delay: .1s; }
.js .step.reveal:nth-child(3) { transition-delay: .2s; }
.js .step.reveal:nth-child(4) { transition-delay: .3s; }

.uses { margin-top: clamp(56px, 8vw, 88px); background: var(--mist); border-radius: 8px; padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.uses ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.uses li { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--depot); padding: 10px 14px; font-weight: 600; font-size: .95rem; border-radius: 3px; }

/* Gear: game lodges */
.gear { background: var(--ink); color: var(--white); padding: clamp(72px, 10vw, 130px) 0; }
.gear h2 em { color: var(--depot); }
.gear-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(40px, 6vw, 64px); }
.gear-head p { margin: 0; color: #b9c4c2; max-width: 54ch; }
.lodge { display: grid; grid-template-columns: 1fr; background: var(--ink-2); border: 1px solid rgba(244,180,26,.35); border-top: 6px solid var(--depot); border-radius: 6px; overflow: hidden; }
.lodge-img { margin: 0; }
.lodge-img img { width: 100%; aspect-ratio: 2.6 / 1; object-fit: cover; object-position: center 40%; }
.lodge-copy { padding: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: 1.1fr 1fr; column-gap: clamp(28px, 4vw, 56px); align-items: start; }
.lodge-copy .tag { display: inline-block; margin: 0 0 14px; background: var(--depot); color: var(--ink); font: 800 .78rem/1 var(--display); font-stretch: 110%; text-transform: uppercase; letter-spacing: .06em; padding: 7px 10px; border-radius: 3px; }
.lodge-copy h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 900; font-stretch: 112%; line-height: 1.05; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 16px; }
.lodge-copy h3 em { font-style: normal; color: var(--depot); }
.lodge-copy p:not(.tag) { color: #d3dbd9; margin: 0 0 26px; }
.lodge-b .ticks { margin-top: 0; }
.lodge-b .lodge-train { margin: 0; }
.lodge-train { border-left: 4px solid var(--veld); background: rgba(46,139,74,.14); padding: 16px 18px; margin: 4px 0 26px; border-radius: 0 4px 4px 0; }
.lodge-train strong { display: block; font-family: var(--display); font-stretch: 108%; font-size: 1.05rem; margin-bottom: 4px; }
.lodge-train span { color: #c9d3d1; font-size: .95rem; }

/* Farmers */
.farm { background: var(--white); padding: clamp(72px, 10vw, 130px) 0; }
.farm h2 em { color: var(--flare); }
.farm-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(40px, 6vw, 64px); }
.farm-head p { margin: 0; color: var(--muted); max-width: 54ch; }
.farm-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.farm-kit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.farm-kit li { background: var(--mist); border-top: 4px solid var(--flare); border-radius: 4px; padding: 18px 18px 20px; display: grid; gap: 4px; }
.farm-kit li:nth-child(1) { border-top-color: var(--depot); }
.farm-kit li:nth-child(2) { border-top-color: var(--veld); }
.farm-kit li:nth-child(3) { border-top-color: var(--sky); }
.farm-kit li:nth-child(5) { border-top-color: var(--veld); }
.farm-kit li:nth-child(6) { border-top-color: var(--sky); }
.farm-kit strong { font-family: var(--display); font-stretch: 105%; font-weight: 800; font-size: 1.02rem; }
.farm-kit span { color: var(--muted); font-size: .94rem; }
.farm-img { margin: 0; }
.farm-img img { border-radius: 6px; width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.farm-img p { margin: 16px 0 0; font-weight: 600; }

/* Training */
.training { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.training-img, .training-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.training-img img { object-fit: cover; object-position: 60% 50%; }
.training::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,17,20,0) 30%, rgba(11,17,20,.55) 60%, rgba(11,17,20,.75)); pointer-events: none; }
.training-inner { position: relative; z-index: 1; display: flex; justify-content: flex-end; padding-top: clamp(64px, 10vw, 140px); padding-bottom: clamp(64px, 10vw, 140px); }
.training-card { background: rgba(11,17,20,.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-top: 6px solid var(--depot); border-radius: 4px; padding: clamp(28px, 4vw, 44px); max-width: 540px; }
.training-card h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.training-card h2 em { color: var(--depot); }
.training-card > p { color: #d3dbd9; }
.ticks { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 9px; border-left: 3px solid var(--depot); border-bottom: 3px solid var(--depot); transform: rotate(-45deg); }
.note { font-size: .95rem; color: #9aa7a5 !important; margin-bottom: 24px; }

/* Contact */
.contact { padding: clamp(72px, 10vw, 130px) 0; background: var(--mist); }
.contact h2 em { color: var(--sky); }
.contact-lede { color: var(--muted); font-size: 1.1rem; max-width: 50ch; margin: 18px 0 40px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.person { background: var(--white); border-radius: 8px; padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line); position: relative; overflow: hidden; }
.person::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--depot); }
.person:nth-child(2)::before { background: var(--veld); }
.person h3 { font-size: 2rem; font-stretch: 118%; font-weight: 900; }
.role { margin: 4px 0 22px; color: var(--muted); }
.person-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.mail { font-weight: 600; color: var(--sky); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.enquiry { margin-top: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 3vw, 34px); }
.form-help { color: var(--muted); margin: 6px 0 20px; font-size: .95rem; }
.fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fields label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.fields .full { grid-column: 1 / -1; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--white); border: 1.5px solid #b9c3c1; border-radius: 4px; padding: 12px 12px; width: 100%; min-height: 50px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(244,180,26,.5); }
[aria-invalid="true"] { border-color: var(--flare); }
.err { color: #c23d06; font-size: .85rem; font-weight: 600; min-height: 0; }
.form-actions { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }

/* Footer */
.site-footer { background: var(--ink); color: #b9c4c2; }
.footer-row { display: flex; align-items: center; gap: 20px; padding-top: 32px; padding-bottom: 32px; flex-wrap: wrap; }
.footer-row img { width: 56px; height: 56px; }
.footer-row p { margin: 0; }
.footer-row .small { margin-left: auto; font-size: .9rem; }
.footer-row a { color: var(--depot); }

/* Responsive */
@media (max-width: 960px) {
  .nav a:not(.btn) { display: none; }
  .split, .gear-head { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .uses { grid-template-columns: 1fr; }
  .lodge, .farm-body, .farm-head { grid-template-columns: 1fr; }
  .lodge-img img { aspect-ratio: 16 / 9; }
  .lodge-copy { grid-template-columns: 1fr; }
  .lodge-a { order: 0; }
  .lodge-b { margin-top: 28px; }
  .fields { grid-template-columns: 1fr 1fr; }
  .training::after { background: rgba(11,17,20,.45); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo img { width: 56px; height: 56px; }
  .logo-word { display: none; }
  .hero { min-height: 92svh; }
  .hero h1 { font-size: 8.6vw; font-stretch: 104%; }
  .btn-wa { font-size: .82rem; }
  .hero-shade { background: linear-gradient(0deg, rgba(11,17,20,.92) 0%, rgba(11,17,20,.6) 55%, rgba(11,17,20,.35) 100%); }
  .hero-img img { object-position: 30% 50%; }
  .steps, .people, .fields { grid-template-columns: 1fr; }
  .farm-kit { grid-template-columns: 1fr; }
  .step { text-align: center; padding-right: 0; }
  .step-n { margin-left: auto; margin-right: auto; }
  .training-inner { padding-top: 240px; padding-bottom: 0; padding-left: 0; padding-right: 0; }
  .training-card { border-radius: 0; max-width: none; background: var(--ink); }
  .training::after { display: none; }
  .training-img, .training-img img { height: 320px; }
  .footer-row .small { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .strap span { transform: none; }
}
