/* =========================================================
   Red Rock Pro — frontier industrial
   canyon red #C4452D · ink #0B0A09 · bone #EDE6D6 · steel #8E877C
   ========================================================= */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url(../fonts/oswald-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url(../fonts/oswald-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --red: #C4452D;
  --red-hi: #D9553B;
  --red-text: #E0654A;      /* canyon red lifted for small text on ink (AA) */
  --red-deep: #8F2F1D;
  --ink: #0B0A09;
  --ink-2: #12100E;
  --ink-3: #1A1714;
  --ink-4: #24201C;
  --bone: #EDE6D6;
  --bone-dim: #CFC7B6;
  --steel: #8E877C;
  --steel-hi: #A9A296;
  --on-red: #FFF9F0;
  --line: rgba(237, 230, 214, .12);
  --line-2: rgba(237, 230, 214, .22);

  --display: "Oswald", "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --nav-h: 76px;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font: 400 1rem/1.6 var(--body); font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--on-red); }

:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px;
  background: var(--bone); color: var(--ink); font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.display {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .94; letter-spacing: -.005em;
  margin: 0; color: var(--bone); text-wrap: balance;
}
.eyebrow, .kicker {
  font: 600 .74rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--bone-dim);
  margin: 0 0 1.4rem; display: flex; align-items: center; gap: .7em;
}
.kicker span { color: var(--red-text); font-family: var(--display); font-size: 1rem; letter-spacing: .06em; }
.kicker::after { content: ""; height: 1px; width: 56px; background: var(--line-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(196,69,45,.22); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 1.05rem 1.5rem;
  position: relative; display: inline-flex; align-items: center; gap: .7rem; padding: var(--pad);
  font: 600 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn .ico { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover .ico { transform: translate(3px, 3px); }
.btn[type="submit"]:hover .ico { transform: translateX(4px); }
.btn--red { background: var(--red); color: var(--on-red); box-shadow: 0 10px 30px -12px rgba(196,69,45,.7); }
.btn--red::before { background: var(--bone); }
.btn--red:hover { color: var(--ink); }
.btn--red:hover::before, .btn--ghost:hover::before { transform: translateY(0); }
.btn--ghost { color: var(--bone); border-color: var(--line-2); background: rgba(11,10,9,.35); backdrop-filter: blur(6px); }
.btn--ghost::before { background: var(--bone); }
.btn--ghost:hover { color: var(--ink); border-color: var(--bone); }
.btn--sm { --pad: .8rem 1.1rem; font-size: .72rem; }
.btn:active { transform: translateY(1px); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  background: linear-gradient(to bottom, rgba(11,10,9,.96), rgba(11,10,9,.88));
  backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid transparent; transition: border-color .4s, background .4s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { height: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 2rem; }
.nav__logo { display: block; flex: none; margin-right: auto; padding: 4px 0; border-radius: 2px; }
.nav__logo img { height: 52px; width: auto; transition: transform .4s var(--ease), filter .4s; }
.nav__logo:hover img { transform: translateY(-1px); filter: drop-shadow(0 6px 14px rgba(196,69,45,.35)); }
.nav__links { display: flex; gap: 2rem; }
.nav__links a { position: relative; font: 500 .9rem/1 var(--body); color: var(--bone-dim); text-decoration: none; padding: .5rem 0; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover, .nav__links a.is-current { color: var(--bone); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: transparent; border-radius: 2px; cursor: pointer;
  position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--bone); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:first-child { top: 17px; } .nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.menu { position: absolute; top: var(--nav-h); left: 0; right: 0; background: rgba(11,10,9,.98); border-bottom: 1px solid var(--line);
  padding: 1rem var(--gutter) 2rem; display: grid; }
.menu[hidden] { display: none; }
.menu a { display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line);
  font: 600 2rem/1 var(--display); text-transform: uppercase; text-decoration: none; }
.menu a i { font: 500 .8rem/1 var(--body); color: var(--red-text); font-style: normal; letter-spacing: .1em; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; align-items: flex-end; padding-top: var(--nav-h); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: var(--nav-h) 0 0 0; z-index: -2; overflow: hidden; background: var(--ink-2); }
.hero__img { width: 100%; height: 100%; object-fit: cover;
  /* Anchored to the TOP so his head is never cropped; any crop comes off the bottom. */
  object-position: 76% 0%;
  filter: saturate(.92) contrast(1.06) brightness(.86);
  transform: scale(1.04); transform-origin: 76% 10%; transition: transform 2.4s var(--ease), opacity 1.2s var(--ease); opacity: 0; will-change: transform; }
.is-ready .hero__img { transform: scale(1); opacity: 1; }
.hero__shade { position: absolute; inset: var(--nav-h) 0 0 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(11,10,9,.85) 0%, rgba(11,10,9,.25) 18%, rgba(11,10,9,0) 34%),
    linear-gradient(90deg, rgba(11,10,9,.92) 0%, rgba(11,10,9,.72) 30%, rgba(11,10,9,.25) 55%, rgba(11,10,9,0) 72%),
    linear-gradient(to top, rgba(11,10,9,1) 0%, rgba(11,10,9,.55) 22%, rgba(11,10,9,0) 50%),
    linear-gradient(120deg, rgba(196,69,45,.0) 40%, rgba(196,69,45,.10) 100%); }
.hero__content { position: relative; padding-bottom: clamp(56px, 11vh, 120px); padding-top: 3rem; }
.hero__eyebrow { color: var(--bone-dim); }
.hero__title { font-family: var(--display); font-weight: 600; text-transform: uppercase; color: var(--bone);
  font-size: clamp(3.6rem, 9.2vw, 9rem); line-height: .9; letter-spacing: -.01em; margin: 0 0 1.6rem; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .02em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.is-ready .hero__title .line > span { transform: none; }
.hero__lede { max-width: 36rem; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.6; color: var(--bone-dim); margin: 0 0 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__eyebrow, .hero__lede, .hero__actions { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero__lede { transition-delay: .35s; } .hero__actions { transition-delay: .5s; }
.is-ready .hero__eyebrow, .is-ready .hero__lede, .is-ready .hero__actions { opacity: 1; transform: none; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: clamp(56px, 11vh, 120px); width: 26px; height: 44px; border: 1px solid var(--line-2); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: var(--red); border-radius: 2px; animation: scrollcue 2s var(--ease) infinite; }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 0 } 30% { opacity: 1 } 80% { transform: translateY(16px); opacity: 0 } 100% { opacity: 0 } }

/* ---------- Proof strip ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); overflow: hidden; position: relative; }
.proof__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.proof__list li { font: 600 clamp(1rem, 1.6vw, 1.35rem)/1 var(--display); letter-spacing: .16em; color: var(--steel-hi); white-space: nowrap;
  display: flex; align-items: center; padding: 1.5rem 0; }
.proof__list li::after { content: ""; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); margin: 0 2.4rem; }
.proof__static { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* screen readers */
.proof__marquee { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.proof__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.proof:hover .proof__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(88px, 12vw, 168px) 0; position: relative; }
.section__head { max-width: 980px; margin-bottom: clamp(48px, 6vw, 84px); }
.section__lede { max-width: 40rem; color: var(--bone-dim); font-size: clamp(1.02rem, 1.3vw, 1.2rem); margin: 1.6rem 0 0; }

/* ---------- 01 Capabilities reel ---------- */
.caps { background:
  radial-gradient(1200px 500px at 85% 0%, rgba(196,69,45,.08), transparent 60%), var(--ink); }
.reel { display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.reel__tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.reel__tab { position: relative; display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; row-gap: .45rem; text-align: left;
  padding: 1.6rem .4rem 1.6rem 0; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; color: var(--steel);
  transition: color .35s var(--ease), padding .45s var(--ease); }
.reel__num { grid-row: span 2; font: 500 .95rem/1.9 var(--display); letter-spacing: .08em; color: var(--steel); transition: color .35s; }
.reel__name { font: 600 clamp(1.5rem, 2.4vw, 2.2rem)/1 var(--display); text-transform: uppercase; letter-spacing: .005em; transition: color .35s, transform .45s var(--ease); }
.reel__line { font-size: .92rem; line-height: 1.5; color: var(--steel); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.reel__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.reel__bar i { display: block; height: 100%; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
.reel__tab:hover { color: var(--bone-dim); }
.reel__tab:hover .reel__name { transform: translateX(4px); }
.reel__tab[aria-selected="true"] { color: var(--bone); }
.reel__tab[aria-selected="true"] .reel__num { color: var(--red-text); }
.reel__tab[aria-selected="true"] .reel__line { max-height: 6em; opacity: 1; }
.reel__tab[aria-selected="true"] .reel__bar i { transform: scaleX(var(--p, 1)); }
.reel.is-auto .reel__tab[aria-selected="true"] .reel__bar i { transform: scaleX(var(--p, 0)); }

.reel__stage { position: relative; background: var(--ink-3); border: 1px solid var(--line); overflow: hidden; display: grid; }
.reel__panel { grid-area: 1 / 1; display: flex; flex-direction: column; }
.reel__panel[hidden] { display: none; }
.reel__panel:focus-visible { outline-offset: -3px; }
.reel__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; flex: none; }
.reel__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.05) brightness(.88); }
.reel__media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(26,23,20,1) 0%, rgba(26,23,20,.35) 14%, rgba(26,23,20,0) 32%); }
.reel__media--rigset img { object-position: 30% 45%; }   /* unused since Oct 7 (TV reel lead is the interview setup); kept for easy swap-back */
.reel__media--drone img { object-position: 30% 30%; }
.reel__media--shed img { object-position: 70% 30%; }
.reel__media--duo { display: grid; grid-template-columns: 36% 1fr; gap: 3px; background: var(--ink); }
.reel__media--duo > span { position: relative; overflow: hidden; min-width: 0; }
.duo__lead img { object-position: 50% 50%; }   /* portrait: whole tree + machine */
.duo__side img { object-position: 30% 50%; }
.reel__media--half { grid-template-columns: 1fr 1fr; }
.reel__media--build .duo__lead img { object-position: 78% 40%; }
.reel__media--build .duo__side img { object-position: 45% 60%; }
.reel__body { position: relative; padding: clamp(20px, 2.6vw, 36px) clamp(24px, 3vw, 44px) clamp(24px, 3vw, 40px); margin-top: auto; }
.reel__tag { font: 600 .72rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--red-text); margin: 0 0 1rem; }
.reel__title { font: 600 clamp(2rem, 3.4vw, 3rem)/.95 var(--display); text-transform: uppercase; margin: 0 0 .9rem; }
.reel__copy { max-width: 36rem; color: var(--bone-dim); font-size: 1.04rem; margin: 0 0 1.6rem; }
/* panel enter animation */
.reel__panel.is-active .reel__media img, .reel__panel.is-active .reel__media svg { animation: kb 9s var(--ease) both; }
.reel__panel.is-active .reel__body > * { animation: rise .7s var(--ease) both; }
.reel__panel.is-active .reel__body > :nth-child(2) { animation-delay: .06s; }
.reel__panel.is-active .reel__body > :nth-child(3) { animation-delay: .12s; }
.reel__panel.is-active .reel__body > :nth-child(4) { animation-delay: .18s; }
@keyframes kb { from { transform: scale(1.08); opacity: .4 } 20% { opacity: 1 } to { transform: scale(1); opacity: 1 } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) } to { opacity: 1; transform: none } }

/* ---------- 02 Work gallery ---------- */
.work { background: var(--ink-2); border-top: 1px solid var(--line); }
/* Justified rows: each tile's width grows in proportion to its aspect ratio (--ar), so every
   row shares one height and no photo is cropped. Works for any filtered subset. */
.gallery { --rh: clamp(150px, 21vw, 290px); --gap: clamp(8px, 1vw, 14px); --maxh: 440px;
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--gap); align-items: flex-start; }
.tile { position: relative; min-width: 0; flex: var(--ar) 1 calc(var(--ar) * var(--rh)); aspect-ratio: var(--ar); max-width: calc(var(--ar) * var(--maxh)); }
.tile[hidden] { display: none; }
.tile.is-entering { animation: tileIn .55s var(--ease) both; }
@keyframes tileIn { from { opacity: 0; transform: scale(.97) translateY(10px); } to { opacity: 1; transform: none; } }
.tile button { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: var(--ink-3); cursor: zoom-in; overflow: hidden; display: block; text-align: left; }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05) brightness(.82);
  transition: transform 1.1s var(--ease), filter .6s var(--ease); }
.tile button::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(11,10,9,.88) 0%, rgba(11,10,9,.2) 40%, transparent 60%);
  transition: opacity .5s; }
.tile button::before { content: ""; position: absolute; inset: 0; z-index: 2; border: 1px solid var(--line); pointer-events: none; transition: border-color .5s; }
.tile__cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(14px, 1.6vw, 22px);
  display: flex; align-items: baseline; gap: .8rem; font: 600 clamp(.95rem, 1.3vw, 1.2rem)/1.15 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--bone);
  transform: translateY(4px); transition: transform .5s var(--ease); }
.tile__cap i { font: 600 .7rem/1 var(--body); font-style: normal; letter-spacing: .14em; color: var(--red-text); }
.tile__cap::after { content: ""; margin-left: auto; align-self: center; width: 28px; height: 28px; flex: none; border: 1px solid var(--line-2); border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%23EDE6D6' stroke-width='1.4'/%3E%3C/svg%3E") center/12px no-repeat;
  opacity: 0; transform: scale(.7) rotate(-90deg); transition: opacity .4s, transform .5s var(--ease), background-color .4s; }
.tile button:hover img, .tile button:focus-visible img { transform: scale(1.05); filter: saturate(1) contrast(1.05) brightness(.95); }
.tile button:hover .tile__cap, .tile button:focus-visible .tile__cap { transform: none; }
.tile button:hover .tile__cap::after, .tile button:focus-visible .tile__cap::after { opacity: 1; transform: none; background-color: var(--red); border-color: var(--red); }
.tile button:hover::before { border-color: rgba(196,69,45,.6); }
.tile button:focus-visible { outline: 2px solid var(--red-text); outline-offset: 2px; }

/* ---------- Work filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 clamp(20px, 2.4vw, 32px); }
.chip { position: relative; display: inline-flex; align-items: baseline; gap: .45rem; padding: .7rem 1.05rem; cursor: pointer;
  font: 600 .74rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim);
  background: transparent; border: 1px solid var(--line-2); border-radius: 999px; transition: color .3s, background .3s, border-color .3s; }
.chip sup { font-size: .62rem; letter-spacing: .04em; color: var(--steel); top: 0; transition: color .3s; }
.chip:hover { color: var(--bone); border-color: rgba(237,230,214,.4); }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--on-red); }
.chip[aria-pressed="true"] sup { color: rgba(255,249,240,.75); }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8,7,6,.96); color: var(--bone);
  display: grid; grid-template-rows: 1fr auto; opacity: 0; transition: opacity .35s var(--ease); }
.lightbox:not([open]) { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: clamp(16px, 4vw, 56px) clamp(8px, 4vw, 56px) 0; min-height: 0; touch-action: pan-y; user-select: none; }
.lightbox__stage img { max-width: 100%; max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8);
  transition: opacity .3s var(--ease), transform .3s var(--ease); }
.lightbox__stage img.is-swapping { opacity: 0; transform: translateX(var(--dir, 20px)); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 16px clamp(16px, 4vw, 56px) max(16px, env(safe-area-inset-bottom)); }
.lightbox__cap { margin: 0; display: flex; gap: 1rem; align-items: baseline; font: 600 1.1rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.lightbox__cap #lb-count { font: 600 .72rem/1 var(--body); letter-spacing: .14em; color: var(--red-text); }
.lightbox__ctrls { display: flex; gap: .5rem; }
.lb-btn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-2); background: transparent; border-radius: 2px; cursor: pointer; transition: background .3s, border-color .3s; }
.lb-btn svg { width: 20px; height: 20px; }
.lb-btn:hover { background: var(--red); border-color: var(--red); }

/* ---------- 03 About ---------- */
.about { background:
  radial-gradient(900px 500px at 0% 100%, rgba(196,69,45,.09), transparent 60%), var(--ink); }
.about__grid { display: grid; grid-template-columns: 4fr 8fr; grid-template-areas: "photo copy" "photo stats"; gap: clamp(32px, 4vw, 64px) clamp(40px, 6vw, 96px); align-items: start; }
.about__copy { grid-area: copy; }
.about__grid .stats { grid-area: stats; }
.about__photo { grid-area: photo; margin: 0; position: sticky; top: calc(var(--nav-h) + 24px); }
.about__photo img { width: 100%; height: auto; aspect-ratio: 1200 / 1601; object-fit: cover; border: 1px solid var(--line); filter: saturate(.9) contrast(1.05); }
.about__photo figcaption { margin-top: .9rem; font: 500 .8rem/1.4 var(--body); letter-spacing: .06em; color: var(--steel-hi); }
.about__text { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.65; color: var(--bone-dim); margin: 1.8rem 0 0; max-width: 38rem; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stat { position: relative; padding: clamp(22px, 2.6vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 200px;
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; transition: background .5s var(--ease); }
.stat::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.stat:hover { background: var(--ink-3); }
.stat:hover::before { transform: scaleX(1); }
.stat__n { position: absolute; top: clamp(18px, 2vw, 28px); left: clamp(22px, 2.6vw, 36px); font: 500 .85rem/1 var(--display); letter-spacing: .1em; color: var(--red-text); }
.stat h3 { font: 600 clamp(1.4rem, 2.2vw, 2rem)/1 var(--display); letter-spacing: .01em; margin: 0 0 .6rem; }
.stat p { margin: 0; color: var(--steel-hi); font-size: .95rem; }

/* ---------- 04 Contact ---------- */
.contact { background: var(--ink-2); border-top: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18,16,14,.97) 0%, rgba(18,16,14,.86) 45%, rgba(18,16,14,.93) 100%),
    linear-gradient(to bottom, rgba(18,16,14,1) 0%, rgba(18,16,14,0) 30%, rgba(18,16,14,0) 70%, rgba(18,16,14,1) 100%),
    url("../img/tractor-field-1600.jpg") 30% 55% / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(18,16,14,.97) 0%, rgba(18,16,14,.86) 45%, rgba(18,16,14,.93) 100%),
    linear-gradient(to bottom, rgba(18,16,14,1) 0%, rgba(18,16,14,0) 30%, rgba(18,16,14,0) 70%, rgba(18,16,14,1) 100%),
    image-set(url("../img/tractor-field-1600.webp") type("image/webp"), url("../img/tractor-field-1600.jpg") type("image/jpeg")) 30% 55% / cover no-repeat;
  filter: grayscale(.35) sepia(.15); }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; position: relative; }
.contact__alt { margin: 1.4rem 0 0; color: var(--steel-hi); }
.contact__alt + .contact__alt { margin-top: .4rem; }
.contact__alt a { color: var(--bone); text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100%/100% 1px no-repeat; padding-bottom: 2px; transition: background-size .4s var(--ease), color .3s; }
.contact__alt a:hover { color: var(--on-red); background-size: 100% 100%; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.6rem; padding: clamp(24px, 3vw, 44px); background: var(--ink-3); border: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 .72rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--bone-dim); }
.field label small { font-size: inherit; letter-spacing: .1em; color: var(--steel); font-weight: 500; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--bone); background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 2px;
  padding: .95rem 1rem; transition: border-color .3s, box-shadow .3s, background .3s; appearance: none; -webkit-appearance: none; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(237,230,214,.36); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(196,69,45,.25); background: var(--ink); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red-text); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--bone-dim); border-bottom: 1.5px solid var(--bone-dim);
  transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 2.6rem; cursor: pointer; }
.select select option { background: var(--ink-2); color: var(--bone); }
.field.is-flash select { animation: flash 1.4s var(--ease); }
@keyframes flash { 0%, 40% { border-color: var(--red); box-shadow: 0 0 0 4px rgba(196,69,45,.35); } 100% { box-shadow: 0 0 0 0 rgba(196,69,45,0); } }
.form__foot { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.form__status { margin: 0; font-size: .92rem; color: var(--bone-dim); flex: 1 1 260px; }
.form__status.is-error { color: var(--red-text); }
.form__status strong { color: var(--bone); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); background: var(--ink); }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo text nav" "logo legal legal"; gap: 1rem 2.4rem; align-items: center; }
.footer__logo { grid-area: logo; } .footer__logo img { height: 74px; width: auto; }
.footer__text { grid-area: text; }
.footer__who { margin: 0; font: 600 1.15rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.footer__trades { margin: .3rem 0 0; color: var(--steel-hi); font-size: .92rem; }
.footer__nav { grid-area: nav; display: flex; gap: 1.6rem; }
.footer__nav a { color: var(--bone-dim); text-decoration: none; font-size: .9rem; transition: color .3s; }
.footer__nav a:hover { color: var(--red-text); }
.footer__base { grid-area: legal; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.footer__legal { margin: 0; font: 500 .72rem/1 var(--body); letter-spacing: .2em; color: var(--steel); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .reel { grid-template-columns: 1fr; }
  .reel__tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; border-top: 0; gap: .5rem; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .reel__tabs::-webkit-scrollbar { display: none; }
  .reel__tab { flex: 0 0 auto; grid-template-columns: auto auto; align-items: baseline; column-gap: .6rem; padding: .95rem 1.1rem; border: 1px solid var(--line); scroll-snap-align: start; }
  .reel__num { grid-row: auto; line-height: 1; font-size: .8rem; }
  .reel__name { font-size: 1.15rem; }
  .reel__line { display: none; }
  .reel__tab:hover .reel__name { transform: none; }
  .reel__tab[aria-selected="true"] { border-color: var(--red); background: rgba(196,69,45,.08); }
  .contact__grid { grid-template-columns: 1fr; }
  .contact::before { background:
    linear-gradient(to bottom, rgba(18,16,14,.75) 0%, rgba(18,16,14,.95) 40%, rgba(18,16,14,1) 100%),
    url("../img/tractor-field-1024.jpg") 30% 0 / 100% auto no-repeat; }
  .about__grid { grid-template-columns: 1fr; grid-template-areas: "copy" "photo" "stats"; }
  .about__photo { position: static; max-width: 460px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__inner { gap: .7rem; }
  .nav__logo img { height: 42px; }
  .gallery { --rh: 34vw; --maxh: 300px; }
  .tile__cap { flex-direction: column; align-items: flex-start; gap: .35rem; font-size: .9rem; padding: 12px; }
  .tile__cap::after { display: none; }
  .footer__inner { grid-template-columns: 1fr; grid-template-areas: "logo" "text" "nav" "legal"; gap: 1.2rem; }
}
@media (max-width: 700px) {
  .hero { min-height: max(600px, 100svh); }
  .hero__img { object-position: 52% 0%; }
  .hero__shade { background:
    linear-gradient(to bottom, rgba(11,10,9,.7) 0%, rgba(11,10,9,0) 16%),
    linear-gradient(to top, rgba(11,10,9,1) 0%, rgba(11,10,9,.9) 36%, rgba(11,10,9,.35) 58%, rgba(11,10,9,0) 74%); }
  .hero__content { padding-top: 42vh; padding-bottom: 40px; }
  .hero__title { font-size: clamp(3.3rem, 16vw, 4.6rem); margin-bottom: 1.1rem; }
  .hero__lede { font-size: 1rem; margin-bottom: 1.6rem; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero__scroll { display: none; }
  .nav__cta { --pad: .72rem .9rem; font-size: .66rem; letter-spacing: .12em; }
  .reel__media { aspect-ratio: 4 / 3; }
  .reel__media--duo { grid-template-columns: 48% 1fr; }
  .reel__media--half { grid-template-columns: 1fr 1fr; }
  .duo__side img { object-position: 12% 50%; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .form__foot .btn { width: 100%; justify-content: center; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 170px; padding: 20px 16px; }
  .stat__n { left: 16px; top: 18px; }
  .stat h3 { font-size: 1.25rem; }
  .stat p { font-size: .88rem; }
  .proof__list li::after { margin: 0 1.6rem; }
  .lightbox__cap { font-size: .95rem; }
  .lb-btn { width: 44px; height: 44px; }
}
@media (max-width: 380px) {
  .nav__cta { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .proof__track { animation: none; }
  .hero__img { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Credentials (About) ---------- */
.creds { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); max-width: 38rem; }
.creds__title { margin: 0 0 1rem; font: 600 .72rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--red-text); }
.creds__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.creds__list li { position: relative; padding-left: 1.6rem; font: 500 clamp(1rem, 1.3vw, 1.15rem)/1.35 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--bone); }
.creds__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }

/* ---------- Inquiry form: dates + next step ---------- */
.fieldset { border: 0; padding: 0; margin: 0; }
.fieldset legend { padding: 0; margin-bottom: .75rem; font: 600 .72rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--bone-dim); }
.fieldset legend small { font-size: inherit; letter-spacing: .1em; color: var(--steel); font-weight: 500; text-transform: none; }
.dates { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; align-items: end; }
.date { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.date label { font: 500 .78rem/1 var(--body); color: var(--steel-hi); letter-spacing: .04em; }
.field input[type="date"] { color-scheme: dark; min-height: 3.1rem; }
.field input[type="date"]:disabled { opacity: .4; cursor: not-allowed; }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.85) sepia(.2); cursor: pointer; }
.field .check, .field .choice { font: 500 .95rem/1.3 var(--body); letter-spacing: 0; text-transform: none; }
.check, .choice { display: inline-flex; align-items: center; gap: .65rem; cursor: pointer; color: var(--bone-dim); font-size: .95rem; }
.check { min-height: 3.1rem; white-space: nowrap; }
.check input, .choice input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; flex: none; margin: 0; border: 1px solid var(--line-2); background: var(--ink-2);
  display: grid; place-items: center; transition: border-color .25s, background .25s; padding: 0; }
.check input { border-radius: 2px; }
.choice input { border-radius: 50%; }
.check input::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--on-red); border-bottom: 2px solid var(--on-red); transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .2s var(--ease); }
.choice input::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--on-red); transform: scale(0); transition: transform .2s var(--ease); }
.check input:checked, .choice input:checked { background: var(--red); border-color: var(--red); }
.check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.choice input:checked::after { transform: scale(1); }
.choices { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice { padding: .8rem 1rem; border: 1px solid var(--line-2); border-radius: 2px; background: var(--ink-2); transition: border-color .25s, background .25s, color .25s; }
.choice:hover { border-color: rgba(237,230,214,.36); color: var(--bone); }
.choice:has(input:checked) { border-color: var(--red); background: rgba(196,69,45,.1); color: var(--bone); }
.choice:has(input:focus-visible), .check:has(input:focus-visible) { outline: 2px solid var(--red-text); outline-offset: 2px; }
.check input:focus-visible, .choice input:focus-visible { outline: none; }

/* ---------- Footer contact ---------- */
.footer__contact { margin: .6rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .92rem; }
.footer__contact a { color: var(--bone); text-decoration: none; border-bottom: 1px solid rgba(196,69,45,.6); padding-bottom: 1px; transition: color .3s, border-color .3s; }
.footer__contact a:hover { color: var(--red-text); border-color: var(--red-text); }

@media (max-width: 700px) {
  .dates { grid-template-columns: 1fr 1fr; }
  .field input[type="date"] { padding: .9rem .7rem; font-size: .95rem; }
  .check { grid-column: 1 / -1; min-height: auto; }
  .choices { flex-direction: column; }
  .choice { width: 100%; }
}

/* ---------- Before/after slider (Construction panel: cabin) ---------- */
.ba { position: relative; overflow: hidden; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; background: var(--ink); }
.ba > .ba__after, .ba > .ba__before { position: absolute; inset: 0; }
.ba picture, .ba img { display: block; width: 100%; height: 100%; -webkit-user-drag: none; pointer-events: none; }
.ba img { object-position: 50% 50%; }
.ba--kitchen img { object-position: 50% 45%; }   /* 4:3 frame: 16:9 desktop keeps upper cabinets to counter run; phone (4:3) shows it all */
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba::after { z-index: 1; }
.ba__label { position: absolute; z-index: 2; top: 12px; padding: .42rem .6rem .36rem; font: 600 .68rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone); background: rgba(11,10,9,.72); transition: opacity .3s; pointer-events: none; }
.ba__label--before { left: 12px; border-left: 2px solid var(--steel); }
.ba__label--after { right: 12px; border-right: 2px solid var(--red); }
.ba.is-left .ba__label--before, .ba.is-right .ba__label--after { opacity: 0; }
.ba__handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--pos); width: 48px; margin-left: -24px; display: flex; align-items: center; justify-content: center; cursor: ew-resize; outline: none; }
.ba__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--bone); box-shadow: 0 0 0 1px rgba(11,10,9,.3), 0 0 18px rgba(0,0,0,.35); }
.ba__handle i { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--red); border: 2px solid var(--bone); box-shadow: 0 8px 24px rgba(0,0,0,.5); transition: transform .25s var(--ease); }
.ba__handle i::before, .ba__handle i::after { content: ""; position: absolute; top: 50%; margin-top: -6px; border: 6px solid transparent; }
.ba__handle i::before { left: 4px; border-right-color: var(--bone); }
.ba__handle i::after { right: 4px; border-left-color: var(--bone); }
.ba:hover .ba__handle i, .ba.is-dragging .ba__handle i { transform: scale(1.08); }
.ba__handle:focus-visible i { outline: 2px solid var(--bone); outline-offset: 4px; }
.reel__panel.is-active .reel__media--ba img { animation: none; }
.reel__panel.is-active .reel__media--ba { animation: baIn .9s var(--ease) both; }
@keyframes baIn { from { opacity: .3 } to { opacity: 1 } }
.reel__note { max-width: 36rem; margin: -.8rem 0 1.6rem; padding-left: .9rem; border-left: 2px solid var(--red); color: var(--steel-hi); font-size: .95rem; line-height: 1.5; }
.reel__panel.is-active .reel__body > :nth-child(5) { animation-delay: .24s; }

/* ---------- Gallery: grouped tiles ---------- */
.tile__stack { position: absolute; z-index: 2; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: .4rem; padding: .36rem .5rem .32rem;
  font: 600 .66rem/1 var(--body); letter-spacing: .14em; color: var(--bone); background: rgba(11,10,9,.72); pointer-events: none; }
.tile__stack::before { content: ""; width: 9px; height: 9px; border: 1.5px solid var(--bone); box-shadow: 3px -3px 0 -1.5px var(--ink), 3px -3px 0 0 var(--red); }
.tile__split { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr 1fr; gap: 3px; background: var(--ink); }
.tile__split--h { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
.tile__split--h > span { min-width: 0; }
.tile__split > span { position: relative; overflow: hidden; min-height: 0; }
.tile__split > span::before { content: attr(data-step); position: absolute; z-index: 2; left: 10px; top: 10px; padding: .34rem .5rem .3rem;
  font: 600 .62rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--bone); background: rgba(11,10,9,.72); border-left: 2px solid var(--red); }
.tile__split picture, .tile__split img { display: block; width: 100%; height: 100%; }
.tile__split--v > span:first-child img { filter: saturate(.9) contrast(1.02) brightness(.95); object-position: 50% 45%; }

/* ---------- About: electrical bay beside the credentials ---------- */
.creds__row { display: grid; grid-template-columns: 1fr minmax(160px, 220px); gap: clamp(20px, 2.4vw, 36px); align-items: start; }
.creds__fig { margin: 0; }
.creds__fig img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); filter: saturate(.9) contrast(1.05); }
.creds__fig figcaption { margin-top: .6rem; font: 500 .74rem/1.4 var(--body); letter-spacing: .05em; color: var(--steel-hi); }

@media (max-width: 700px) {
  .tile__stack { top: 6px; right: 6px; }
  .ba__label { top: 8px; font-size: .6rem; padding: .34rem .48rem .3rem; }
  .ba__label--before { left: 8px; } .ba__label--after { right: 8px; }
  .ba__handle i { width: 40px; height: 40px; }
  .tile__split > span::before { left: 6px; top: 6px; font-size: .56rem; }
  .creds__row { grid-template-columns: 1fr; }
  .creds__fig { max-width: 420px; }
}

/* Unmanned panel: wide flight shot + narrow FPV build on the right */
.reel__media--duo-r { grid-template-columns: 1fr 34%; }
.reel__media--uxs .duo__lead img { object-position: 62% 55%; }   /* golden valley: ridge + pond */
.reel__media--uxs .duo__side img { object-position: 50% 45%; }
@media (max-width: 700px) { .reel__media--duo-r { grid-template-columns: 1fr 36%; } .reel__media--uxs .duo__lead img { object-position: 74% 55%; } }   /* keeps the pond and the ridge line */

/* Earth Moving lead: Joey between the skid steer and the 329 holding the root-ball stump (2.16:1 source) */
.reel__media--stump img { object-position: 50% 62%; }
@media (max-width: 700px) { .reel__media--stump img { object-position: 46% 62%; } }   /* 4:3 crop keeps stump, Joey, and the 329 */

/* Television reel lead: interview setup. 16:9 keeps both cameras + monitor; the 4:3 phone crop keeps the main camera + monitor. */
.reel__media--interview img { object-position: 60% 40%; }
@media (max-width: 700px) { .reel__media--interview img { object-position: 84% 40%; } }

/* Honeypot for the optional contact.php handler: off-screen, not display:none (some bots skip hidden fields) */
.form__hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* inline text links (e.g. reel copy) */
.inline-link { color: #C4452D; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.inline-link:hover, .inline-link:focus-visible { color: #EDE6D6; }
.inline-link--blue { color: #3BA9FF; font-weight: 600; }
.inline-link--blue:hover, .inline-link--blue:focus-visible { color: #8FD0FF; }

/* ---------- Footer heritage (Minority Owned · Echota seal · Cherokee phrase) ---------- */
.footer__heritage { display: flex; align-items: center; gap: .9rem; }
.footer__seal { width: 44px; height: 44px; border-radius: 50%; opacity: .82; filter: saturate(.8); transition: opacity .3s; }
.footer__heritage:hover .footer__seal { opacity: 1; }
.footer__mo { font: 500 .72rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--steel-hi); }
.footer__phrase { appearance: none; background: none; border: 0; padding: .35rem 0; cursor: pointer; color: var(--steel);
  font: 400 .82rem/1.2 'Noto Sans Cherokee', 'Plantagenet Cherokee', 'Aboriginal Sans', var(--body); letter-spacing: .06em;
  border-bottom: 1px dotted rgba(196,69,45,.45); transition: color .3s; }
.footer__phrase:hover, .footer__phrase:focus-visible { color: var(--bone-dim); }
.footer__phrase:focus-visible { outline: 1px solid var(--red-text); outline-offset: 3px; }
.footer__phrase[aria-pressed="true"] { font-family: var(--body); font-style: italic; letter-spacing: .02em; }
@media (max-width: 700px) { .footer__base { flex-direction: column-reverse; align-items: flex-start; } }

/* =========================================================
   Capability pages (/television/, /unmanned/, /earth-moving/, /construction/)
   Generated by tools/build_pages.py; they share nav, footer, gallery, lightbox, and form styles above.
   ========================================================= */
.cap-hero { position: relative; min-height: max(560px, 78svh); display: flex; align-items: flex-end; padding-top: var(--nav-h); overflow: hidden; isolation: isolate; }
.cap-hero__media { position: absolute; inset: var(--nav-h) 0 0 0; z-index: -2; overflow: hidden; background: var(--ink-2); }
.cap-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, 50% 50%); filter: saturate(.9) contrast(1.06) brightness(.8);
  animation: kb 9s var(--ease) both; }
.cap-hero__shade { position: absolute; inset: var(--nav-h) 0 0 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(11,10,9,.8) 0%, rgba(11,10,9,0) 26%),
    linear-gradient(90deg, rgba(11,10,9,.92) 0%, rgba(11,10,9,.66) 34%, rgba(11,10,9,.15) 62%, rgba(11,10,9,0) 78%),
    linear-gradient(to top, rgba(11,10,9,1) 0%, rgba(11,10,9,.5) 24%, rgba(11,10,9,0) 52%),
    linear-gradient(120deg, rgba(196,69,45,0) 40%, rgba(196,69,45,.10) 100%); }
.cap-hero__content { position: relative; padding-top: 3rem; padding-bottom: clamp(48px, 9vh, 100px); }
.cap-hero__title { font-family: var(--display); font-weight: 600; text-transform: uppercase; color: var(--bone);
  font-size: clamp(3rem, 8vw, 7.4rem); line-height: .9; letter-spacing: -.01em; margin: 0 0 1.2rem; max-width: 12ch; text-wrap: balance;
  animation: rise .9s var(--ease) both; }
.cap-hero__lede { max-width: 34rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--bone-dim); margin: 0 0 2rem; animation: rise .9s .12s var(--ease) both; }
.cap-hero__actions { animation: rise .9s .22s var(--ease) both; }
.crumbs ol { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem .6rem; font: 500 .78rem/1.2 var(--body); letter-spacing: .06em; color: var(--steel-hi); }
.crumbs li + li::before { content: "/"; margin-right: .6rem; color: var(--red-text); }
.crumbs a { color: var(--bone-dim); text-decoration: none; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.crumbs a:hover { color: var(--bone); border-color: var(--red); }
.crumbs [aria-current] { color: var(--bone); }

.cap-h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.cap-brief { background: radial-gradient(1000px 460px at 90% 0%, rgba(196,69,45,.08), transparent 60%), var(--ink); padding-top: clamp(64px, 8vw, 120px); }
.cap-brief__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.cap-brief__text { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.65; color: var(--bone-dim); margin: 1.6rem 0 0; max-width: 40rem; }
.cap-list { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 40rem; }
.cap-list li { position: relative; padding: .95rem 0 .95rem 1.8rem; border-bottom: 1px solid var(--line); color: var(--bone); font-size: 1rem; line-height: 1.45; }
.cap-list li::before { content: ""; position: absolute; left: 2px; top: 1.45rem; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }
.cap-aside { position: sticky; top: calc(var(--nav-h) + 24px); padding: clamp(22px, 2.6vw, 36px); background: var(--ink-3); border: 1px solid var(--line); }
.cap-aside__t2 { margin-top: 2rem; }
.cap-aside__text { margin: 0; color: var(--bone-dim); font-size: .98rem; line-height: 1.6; }
.cap-aside__small { margin-top: .9rem; color: var(--steel-hi); font-size: .9rem; }

.cap-ba__wrap { margin: clamp(48px, 6vw, 88px) 0 0; }
.cap-ba { aspect-ratio: 4 / 3; max-width: 980px; border: 1px solid var(--line); }
.cap-ba__wrap figcaption { max-width: 40rem; margin-top: 1rem; padding-left: .9rem; border-left: 2px solid var(--red); color: var(--steel-hi); font-size: .95rem; line-height: 1.5; }

.cap-work .section__head { margin-bottom: clamp(32px, 4vw, 56px); }
.cap-group + .cap-group { margin-top: clamp(48px, 6vw, 80px); }
.cap-group__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin: 0 0 1.2rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line);
  font: 600 clamp(1.25rem, 2vw, 1.7rem)/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--bone); }
.cap-group__title small { font: 600 .7rem/1 var(--body); letter-spacing: .16em; color: var(--red-text); }

.cap-cta { background: var(--ink-2); border-top: 1px solid var(--line); padding: clamp(72px, 9vw, 128px) 0; }
.cap-cta__inner { display: grid; grid-template-columns: 1fr auto; gap: clamp(28px, 4vw, 64px); align-items: end; }
.cap-cta .section__lede { margin-top: 1.2rem; }

.cap-next { background: var(--ink); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) 0; }
.cap-next__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cap-next__card { position: relative; display: grid; grid-template-columns: auto 1fr auto; column-gap: 1rem; row-gap: .5rem; align-items: baseline; height: 100%;
  padding: clamp(20px, 2.4vw, 32px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--bone); transition: background .4s var(--ease); }
.cap-next__card::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.cap-next__card:hover, .cap-next__card:focus-visible { background: var(--ink-3); }
.cap-next__card:hover::before, .cap-next__card:focus-visible::before { transform: scaleX(1); }
.cap-next__card .reel__num { grid-row: span 2; color: var(--red-text); line-height: 1.6; }
.cap-next__name { font: 600 clamp(1.3rem, 2vw, 1.8rem)/1 var(--display); text-transform: uppercase; }
.cap-next__line { grid-column: 2; color: var(--steel-hi); font-size: .9rem; line-height: 1.45; }
.cap-next__go { grid-row: 1 / span 2; grid-column: 3; align-self: center; font-size: 1.3rem; color: var(--steel); transition: transform .4s var(--ease), color .3s; }
.cap-next__card:hover .cap-next__go { transform: translateX(4px); color: var(--red-text); }

@media (max-width: 1080px) {
  .cap-brief__grid { grid-template-columns: 1fr; }
  .cap-aside { position: static; max-width: 40rem; }
  .cap-next__list { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .cap-hero { min-height: max(520px, 82svh); }
  .cap-hero__img { object-position: var(--hero-pos-m, 50% 50%); }
  .cap-hero__shade { background:
    linear-gradient(to bottom, rgba(11,10,9,.7) 0%, rgba(11,10,9,0) 18%),
    linear-gradient(to top, rgba(11,10,9,1) 0%, rgba(11,10,9,.92) 38%, rgba(11,10,9,.35) 62%, rgba(11,10,9,0) 80%); }
  .cap-hero__content { padding-top: 34vh; padding-bottom: 36px; }
  .cap-hero__title { font-size: clamp(2.6rem, 13vw, 3.8rem); }
  .cap-hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .cap-cta__inner { grid-template-columns: 1fr; }
  .cap-cta__btn { width: 100%; justify-content: center; }
  .cap-ba { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .cap-hero__img, .cap-hero__title, .cap-hero__lede, .cap-hero__actions { animation: none; } }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
