/* Local design study. Layout and hierarchy are carried by real content. */
.editorial-site {
  --nav-height: 71px;
  --paper: #f6f7f6;
  --ink: #142a3c;
  --muted: #596770;
  --rule: #d5dce0;
  --navy: #002345;
  --section: #e9edef;
  font-family: "IBM Plex Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
html[data-theme] { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: #002345; scroll-padding-top: 98px; scrollbar-color: #9aa6ae #f6f7f6; }
.editorial-site *, .editorial-site *::before, .editorial-site *::after { box-sizing: border-box; }
.editorial-site [hidden] { display: none !important; }
.editorial-site h1, .editorial-site h2, .editorial-site h3, .editorial-site p, .editorial-site figure, .editorial-site blockquote { margin: 0; }
.editorial-site :is(h1, h2, h3) { font-family: Archivo, "IBM Plex Sans", Arial, sans-serif; }
.editorial-site a { color: inherit; }
.editorial-site button, .editorial-site input, .editorial-site textarea { font: inherit; }
.editorial-site img { max-width: 100%; }
.editorial-site :is(a, button, input, textarea, summary, [tabindex]):focus-visible { outline: 3px solid #5b92ab; outline-offset: 5px; }
.page-width { width: min(1320px, 100%); padding-inline: max(48px, env(safe-area-inset-left)) max(48px, env(safe-area-inset-right)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 200; padding: 10px 18px; background: white; color: #002345 !important; }
.skip-link:focus { top: 10px; }
.section-kicker { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .11em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 46px; padding: 12px 22px; justify-content: center; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 2px; font-size: 14px; font-weight: 500; line-height: 1.4; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.button-light { background: #f5f7f8; color: #002345 !important; }
.button-light:hover { background: #d8e5ed; }
.button-navy { background: #002345; color: #f6f8fa; border-color: #002345; }
.button-navy:hover { background: #174366; }
.button:disabled { cursor: default; opacity: .7; }
.text-link { display: inline-block; border-bottom: 1px solid #85949e; padding-bottom: 3px; font-size: 13px; line-height: 1.5; }
.text-link:hover { border-color: #002345; }
.external-link-label { color: #6d7a82; }
.site-nav { position: sticky; top: 0; z-index: 50; margin-bottom: calc(-1 * var(--nav-height)); background: transparent; color: #f6f8fa; }
.site-nav.is-scrolled { background: #002345; }
.nav-inner { min-height: var(--nav-height); display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.site-brand, .footer-brand { display: block; flex-shrink: 0; }
.site-brand img { display: block; width: 100px; height: 50px; object-fit: contain; }
.site-navigation { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.site-navigation a { padding: 10px 0; color: #d9e1e9; text-decoration: none; }
.site-navigation a:hover { color: white; text-decoration: underline; text-underline-offset: 6px; }
.site-navigation .nav-cta { padding: 9px 18px; color: #f6f8fa; border: 1px solid #8196ab; margin-left: 12px; border-radius: 2px; }
.site-navigation .nav-cta:hover { background: #f6f8fa; color: #002345; text-decoration: none; }
.menu-toggle { display: none; }
.machine-feature {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-height);
  background: #151e22; color: #f6f4ec; }
/* The heading block spans the full hero height (pulled up under the nav); the title and the
   project brief both sit at the top of their columns. */
.machine-heading { position: relative; z-index: 1; flex: 1; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 36px; margin-top: calc(-1 * var(--nav-height)); padding-top: calc(var(--nav-height) + clamp(27px, 3vw, 50px)); padding-bottom: 90px; }
.editorial-site .machine-eyebrow { color: #f5be57; margin-bottom: 6px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(16px, 2.4vw, 30px); }
.hero-cta { min-height: 54px; padding: 14px 28px; gap: 18px; font-size: 16px; font-weight: 600; box-shadow: 0 6px 24px #0009; }
.hero-contact-cta { background: #fff; }
.hero-scroll-cue { position: absolute; left: 50%; bottom: clamp(16px, 3vh, 34px); z-index: 2; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 2px; background: #0b0b0b8c; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #f6f4ec; text-decoration: none; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; font-weight: 500; letter-spacing: .11em; text-transform: uppercase; white-space: nowrap; transition: background-color .15s; }
.hero-scroll-cue span { font-family: "IBM Plex Sans", Arial, sans-serif; font-size: 16px; line-height: 1; }
.hero-scroll-cue:hover { background: #0b0b0bcc; }
.machine-heading h1 { font-size: clamp(42px, min(7vw, 13vh), 108px); letter-spacing: -.035em; line-height: .98; font-weight: 700; }
.machine-brief { margin-top: clamp(24px, 7vh, 72px); max-width: 40ch; font-size: clamp(16px, 1.45vw, 22px); line-height: 1.45; }
.machine-plate { position: absolute; inset: 0; }
.machine-plate img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.machine-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #0b0b0bf5, #0b0b0bca 22%, transparent 58%);
}
.site-section { padding-block: clamp(48px, 5vw, 76px); }
.section-introduction { display: grid; grid-template-columns: 1fr 1fr; align-items: end; column-gap: 64px; margin-bottom: 28px; }
.section-introduction .section-kicker { margin-bottom: 20px; color: #596b78; }
.section-introduction h2, .contact-introduction h2 { font-size: clamp(34px, 3.8vw, 50px); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; }
.section-introduction > p { font-size: 16px; line-height: 1.75; color: var(--muted); max-width: 410px; padding-bottom: 4px; }
.expertise-tabs { display: flex; border-bottom: 1px solid #b8c3cc; gap: 30px; margin-bottom: 36px; overflow-x: auto; scrollbar-width: thin; }
.expertise-tabs button { background: none; border: 0; border-radius: 0; border-bottom: 2px solid transparent; padding: 14px 0 16px; cursor: pointer; font-size: 14px; color: #67757e; white-space: nowrap; }
.expertise-tabs button[aria-selected=true] { border-bottom-color: #002345; color: #002345; font-weight: 600; }
.expertise-tabs button:hover { color: #002345; }
.expertise-tabs button:focus-visible { outline-offset: -4px; }
.expertise-panel { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; align-items: start; }
.expertise-panel:focus-visible { outline-offset: 10px; }
.expertise-visual img { display: block; width: 100%; height: 340px; object-fit: cover; border-radius: 2px; }
.expertise-visual figcaption { border-bottom: 1px solid var(--rule); padding: 14px 0 15px; display: flex; justify-content: space-between; gap: 16px; font-size: 12px; line-height: 1.5; }
.expertise-visual figcaption strong { font-weight: 500; }
.expertise-visual figcaption span { color: #6b7881; text-align: right; }
.expertise-copy { padding-top: 3px; }
.expertise-copy h3 { font-size: 25px; line-height: 1.2; font-weight: 500; letter-spacing: -.025em; max-width: 460px; }
.expertise-copy > p { color: var(--muted); font-size: 15px; line-height: 1.75; margin-top: 18px; max-width: 440px; }
.capability-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 23px; }
.capability-lists ul { margin: 0; padding: 0; list-style: none; }
.capability-lists li { border-top: 1px solid #dae0e3; padding: 9px 0; font-size: 14px; line-height: 1.5; color: #455965; }
.projects-section { background: #faf9f5; border-block: 1px solid #d6dde2; }
.work-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; gap: clamp(24px, 3.2vw, 56px); padding: 22px 0; border-top: 1px solid #9ca8a8; }
.work-row > img { width: 100%; aspect-ratio: 1.85; object-fit: cover; display: block; }
.work-name .section-kicker { color: #58656b; }
.work-name h3 { margin-top: 8px; font-weight: 600; font-size: clamp(23px, 2.15vw, 35px); letter-spacing: -.045em; line-height: 1.05; }
.work-notes { font-size: 15px; line-height: 1.55; color: #44545a; }
.work-notes .text-link { margin-top: 10px; }
.expertise-section { background: var(--section); border-block: 1px solid #d6dde2; }
.expertise-section .expertise-visual figcaption, .expertise-section .capability-lists li { border-color: #c9d3d9; }
.feedback-section { background: #faf9f5; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.testimonial { border-top: 1px solid #9caebc; padding-top: 24px; display: flex; flex-direction: column; gap: 30px; }
.testimonial blockquote { font-size: 16px; line-height: 1.8; color: #354c5c; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; }
.testimonial figcaption img { width: 48px; height: 52px; border-radius: 2px; object-fit: cover; flex-shrink: 0; }
.testimonial figcaption div { display: flex; flex-direction: column; font-size: 12px; line-height: 1.6; color: #627480; }
.testimonial figcaption strong { font-size: 13px; font-weight: 600; color: #203c50; margin-bottom: 3px; }
.team-section { background: #e9edef; border-block: 1px solid #d6dde2; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; max-width: 1000px; margin-inline: auto; }
.team-person { display: grid; grid-template-columns: 106px 1fr; gap: 22px; align-items: center; }
.team-person > img { display: block; width: 106px; height: 126px; object-fit: cover; border-radius: 2px; }
.team-person h3 { font-size: 18px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.team-person p { font-size: 12px; color: #607482; margin-top: 7px; line-height: 1.6; }
.contact-section { background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.contact-introduction .section-kicker { color: #596b78; margin-bottom: 22px; }
.contact-introduction > p:not(.section-kicker) { font-size: 17px; color: #596b78; line-height: 1.7; margin-top: 24px; }
.contact-main { min-width: 0; }
.contact-fit { margin-top: 28px; }
.contact-fit h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin-bottom: 6px; }
.contact-fit ul { list-style: none; margin: 0; padding: 0; }
.contact-fit li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.55; color: #3d5363; }
.contact-fit li:last-child { border-bottom: 0; }
.contact-fit li::before { content: "→"; position: absolute; left: 0; top: 11px; color: #8999a6; }
.contact-introduction .contact-email { display: inline-block; font-size: 16px; border-bottom: 1px solid #aab6bf; margin-top: 28px; padding-bottom: 5px; }
.contact-introduction .contact-locations { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px !important; margin-top: 36px !important; }
.contact-locations span { margin: 0 10px; color: #8999a6; }
.project-inquiry { width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.project-inquiry label { display: block; font-size: 14px; color: #3d5363; margin-bottom: 23px; }
.project-inquiry .optional { color: #7a8994; font-size: 12px; margin-left: 4px; }
#contact-form input, #contact-form textarea { display: block; width: 100%; min-width: 0; border: 1px solid #bcc7cf; border-radius: 2px; background: #fbfcfd; color: #162f42; padding: 12px; font-size: 16px; font-family: inherit; line-height: 1.5; margin-top: 9px; box-shadow: none; }
#contact-form input:focus, #contact-form textarea:focus { border-color: #3c657e; outline: 2px solid #b7cdd9; outline-offset: 1px; }
#contact-form textarea { min-height: 136px; resize: vertical; }
#contact-submit-status { font-size: 13px; line-height: 1.6; margin-bottom: 18px; }
#contact-submit-status:empty { display: none; }
#contact-submit-btn { min-width: 164px; }
.site-footer { background: #002345; color: #e7edf3; padding: 44px 0 25px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-bottom: 36px; }
.footer-brand img { display: block; width: 94px; height: 50px; object-fit: contain; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 26px; font-size: 12px; color: #c4d1dd; }
.footer-social { display: flex; gap: 20px; font-size: 12px; color: #c4d1dd; }
.footer-main a:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-top: 24px; border-top: 1px solid #ffffff26; font-size: 12px; color: #a8bdcf; }
.footer-bottom > p span { margin: 0 9px; }
.privacy-note { max-width: 280px; font-size: 12px; }
.privacy-note summary { cursor: pointer; }
.privacy-note p { margin-top: 12px; line-height: 1.8; }
.privacy-note a { text-decoration: underline; }
.projects-section .section-introduction, .expertise-section .section-introduction { display: block; }
.projects-section h2, .expertise-section h2 { font-weight: 600; }
@media (min-width: 1600px) {
  .page-width { width: min(1440px, 100%); padding-inline: 64px; }
}
@media (max-width: 1100px) {
  .page-width { padding-inline: 36px; }
  .section-introduction, .expertise-panel { gap: 38px; }
  .expertise-tabs { gap: 26px; }
  .expertise-tabs button { font-size: 12px; }
  .expertise-visual img { height: 320px; }
  .expertise-visual figcaption { flex-direction: column; gap: 5px; }
  .expertise-visual figcaption span { text-align: left; }
  .capability-lists { gap: 16px; }
  .capability-lists li { font-size: 12px; }
  .testimonial-grid { gap: 26px; }
  .testimonial blockquote { font-size: 15px; }
  .team-grid { gap: 28px; }
  .team-person { grid-template-columns: 80px 1fr; gap: 17px; }
  .team-person > img { width: 80px; height: 104px; }
  .team-person h3 { font-size: 16px; }
  .contact-layout { gap: 64px; }
}
@media (max-width: 760px) {
  /* Mobile: the photo sits under the title, and the project brief sits below the photo on the
     hero's dark background (the photo fades into it). --hero-brief-space reserves room for it. */
  .machine-feature { --hero-brief-space: 150px; min-height: 100vh; min-height: 100svh; padding-bottom: calc(48vw + var(--hero-brief-space)); }
  .machine-heading { position: static; }
  .machine-heading > div:first-child { position: relative; z-index: 1; align-self: start; }
  .machine-brief { position: absolute; z-index: 2; left: max(22px, env(safe-area-inset-left)); right: max(22px, env(safe-area-inset-right)); bottom: 26px; }
  .machine-plate { bottom: var(--hero-brief-space); }
  .hero-scroll-cue, .hero-actions { display: none; }
  .machine-heading { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 0; padding-block: 25px; }
  .machine-brief { margin-top: 0; }
  .machine-heading h1 { font-size: clamp(40px, 15vw, 96px); }
  .machine-brief { font-size: 15px; }
  /* Full-width photo pinned to the bottom of its area; its top edge fades out so the hero can be
     taller than the photo without a visible seam. */
  .machine-plate img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%); mask-image: linear-gradient(to bottom, transparent, #000 30%); }
  .machine-plate::after { background: linear-gradient(to top, #151e22, transparent 14%), linear-gradient(to bottom, #0b0b0b 0%, #0b0b0bf5 35%, transparent 70%); }
  .work-row { grid-template-columns: 30% 1fr; gap: 14px 20px; align-items: center; }
  .work-row > img { aspect-ratio: 1.3; }
  .work-notes { grid-column: 1 / -1; }


  html[data-theme] { scroll-padding-top: 85px; }
  .page-width { padding-inline: max(22px, env(safe-area-inset-left)) max(22px, env(safe-area-inset-right)); }
  .editorial-site { --nav-height: 75px; }
  .site-brand img { width: 87px; height: 46px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 16px; border: 1px solid #ffffff45; padding: 8px 11px; border-radius: 2px; background: none; color: #f6f8fa; font-size: 12px; cursor: pointer; }
  .menu-toggle-lines { width: 15px; height: 9px; border-block: 1px solid #d6e1eb; }
  .site-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #002345; padding: 10px 22px 24px; font-size: 15px; }
  .site-navigation.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-navigation a { padding: 13px 0; border-bottom: 1px solid #ffffff20; }
  .site-navigation .nav-cta { margin: 14px 0 0; text-align: center; padding: 12px; }
  .site-section { padding-block: 57px; }
  .section-introduction { grid-template-columns: 1fr; gap: 23px; margin-bottom: 32px; }
  .section-introduction .section-kicker { margin-bottom: 17px; }
  .section-introduction h2, .contact-introduction h2 { font-size: 36px; }
  .section-introduction > p { font-size: 15px; max-width: 480px; }
  .expertise-tabs { gap: 25px; margin-bottom: 28px; }
  .expertise-tabs button { font-size: 13px; padding-block: 12px; }
  .expertise-panel { grid-template-columns: 1fr; gap: 28px; }
  .expertise-visual img { height: 280px; }
  .expertise-visual figcaption { flex-direction: row; }
  .expertise-visual figcaption span { text-align: right; max-width: 195px; font-size: 12px; }
  .expertise-copy h3 { font-size: 25px; }
  .expertise-copy > p { font-size: 15px; max-width: 520px; }
  .capability-lists { gap: 22px; }
  .capability-lists li { font-size: 12px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 36px; }
  .testimonial { gap: 23px; }
  .testimonial blockquote { font-size: 16px; }
  .testimonial figcaption div { font-size: 12px; }
  .team-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; width: fit-content; max-width: 100%; }
  .team-person { grid-template-columns: 98px 1fr; gap: 24px; }
  .team-person > img { width: 98px; height: 112px; }
  .team-person h3 { font-size: 22px; }
  .team-person p { font-size: 14px; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .contact-introduction > p:not(.section-kicker) { font-size: 16px; margin-top: 20px; }
  .contact-introduction .contact-email { font-size: 16px; margin-top: 22px; }
  .contact-introduction .contact-locations { margin-top: 23px !important; }
  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .project-inquiry label { margin-bottom: 20px; }
  .site-footer { padding-top: 32px; }
  .footer-main { align-items: start; flex-wrap: wrap; padding-bottom: 30px; }
  .footer-main nav { gap: 18px; max-width: 220px; font-size: 12px; }
  .footer-social { width: 100%; }
  .footer-bottom { flex-wrap: wrap; gap: 14px 25px; }
  .privacy-note { width: 100%; max-width: 420px; }
}
/* Narrow phones: both ATVs get too small, so crop the hero photo to its right half (Trailblazer 001).
   The image is drawn at twice the viewport width and pinned bottom-right; the extra bottom padding
   leaves room for the vehicle below the text. */
@media (max-width: 560px) {
  .machine-feature { padding-bottom: calc(76vw + var(--hero-brief-space)); }
  .machine-plate { overflow: hidden; }
  .machine-plate img { left: auto; right: -1%; width: 200%; max-width: none; }
}
@media (max-width: 380px) {
  .page-width { padding-inline: 18px; }
  .button { padding-inline: 18px; }
  .expertise-visual figcaption { flex-direction: column; gap: 5px; }
  .expertise-visual figcaption span { max-width: none; text-align: left; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .editorial-site *, .editorial-site *::before, .editorial-site *::after { transition: none !important; animation: none !important; }
}
