:root{
  --ink:#202020;
  --muted:#66615a;
  --paper:#fffdf6;
  --soft:#fff6c7;
  --line:#dfd3a0;
  --accent:#e1ad00;
  --accent-dark:#ad8200;
  --deep:#252525;
  --yellow:#f4c400;
  --max:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.65;
}
img{max-width:100%;display:block}
a{color:inherit}
.wrap{width:min(calc(100% - 2rem),var(--max));margin-inline:auto}
.narrow{max-width:760px}
.skip-link{position:absolute;left:-9999px;top:0;background:#fff;padding:.75rem;z-index:99}
.skip-link:focus{left:.5rem;top:.5rem}
.site-header{
  position:sticky;top:0;z-index:20;
  background:rgba(244,196,0,.97);
  border-bottom:1px solid #b58e00;
  backdrop-filter:blur(8px);
}
.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:2rem}
.brand{display:flex;align-items:center;gap:.8rem;text-decoration:none}
.brand-mark{
  display:grid;place-items:center;width:48px;height:48px;border-radius:8px;
  background:var(--deep);color:#fff;font-weight:800;letter-spacing:.06em
}
.brand strong,.brand small{display:block}
.brand small{font-size:.75rem;color:#3f3a2a}
.site-nav{display:flex;gap:1.25rem;align-items:center}
.site-nav a{text-decoration:none;font-size:.92rem;font-weight:700}
.site-nav a:hover{color:var(--accent)}
.menu-button{display:none;border:1px solid var(--line);background:#fff;padding:.6rem .8rem;border-radius:6px}
.hero{
  background:linear-gradient(135deg,#f4c400 0%,#ffe77a 42%,#fff8d7 100%);
  border-bottom:1px solid var(--line);
}
.hero-grid{min-height:610px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:4rem;padding-block:5rem}
.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.75rem;font-weight:800;color:var(--accent);margin:0 0 .8rem}
h1,h2,h3{line-height:1.15;margin-top:0;color:var(--deep)}
h1{font-size:clamp(2.5rem,6vw,4.8rem);letter-spacing:-.045em;margin-bottom:1.4rem}
h2{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.03em}
h3{font-size:1.25rem}
.lead{font-size:1.25rem;color:#364554;max-width:670px}
.quiet,.meta{color:var(--muted);font-size:.9rem}
.button-row{display:flex;flex-wrap:wrap;gap:.8rem;margin:2rem 0 1.5rem}
.button{
  display:inline-block;padding:.85rem 1.1rem;border-radius:7px;text-decoration:none;font-weight:800;
  border:1px solid transparent
}
.button.primary{background:var(--deep);color:#fff}
.button.primary:hover{background:#000}
.button.secondary{border-color:var(--deep);color:var(--deep);background:#fff7cf}
.button.disabled{background:#e5eaed;color:#77828b;cursor:not-allowed}
.hero-art img{filter:drop-shadow(0 24px 24px rgba(21,42,58,.14))}
.section{padding-block:5.5rem}
.section.alt{background:var(--soft);border-block:1px solid var(--line)}
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:2.5rem}
.card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:1.5rem;box-shadow:0 5px 18px rgba(21,42,58,.04)}
.card p{margin-bottom:0;color:var(--muted)}
.split{display:grid;grid-template-columns:1.1fr .9fr;gap:4rem;align-items:center}
.split.reverse{grid-template-columns:.95fr 1.05fr}
.panel{background:var(--deep);color:#fff;padding:2rem;border-radius:12px}
.panel h2,.panel h3{color:#fff}
.tick-list{padding-left:1.2rem;margin-bottom:0}
.tick-list li{margin:.65rem 0}
.steps{display:grid;gap:.8rem}
.steps>div{display:grid;grid-template-columns:46px 1fr;align-items:center;background:#fff;border:1px solid var(--line);border-radius:10px;padding:1rem}
.steps span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent);color:#fff;font-weight:800}
.steps p{margin:0}
.text-link{font-weight:800;color:var(--accent)}
.contact{text-align:center}
.notice{border-left:4px solid var(--yellow);background:#fff8cf;padding:1rem 1.2rem;text-align:left;margin-top:1.5rem}
.site-footer{background:#0d1d28;color:#dce5ea;padding:2rem 0}
.footer-inner{display:flex;justify-content:space-between;gap:2rem;font-size:.9rem}
.footer-inner p{margin:0}
.page-heading{background:var(--deep);color:#fff;padding-block:5rem}
.page-heading h1{color:#fff;margin-bottom:.8rem}
.page-heading .lead{color:#dce5ea}
.download-layout{display:grid;grid-template-columns:1.4fr .6fr;gap:2rem;align-items:start}
.download-card{
  display:flex;justify-content:space-between;gap:2rem;align-items:center;
  padding:1.5rem 0;border-top:1px solid var(--line)
}
.download-card:last-child{border-bottom:1px solid var(--line)}
.download-card p{margin:.35rem 0}
.file-type{font-size:.7rem;font-weight:800;letter-spacing:.12em;color:var(--accent)}
.warning-panel p{color:#e3ebef}
.release{background:#fff;border:1px solid var(--line);border-radius:12px;padding:2rem}
.release-head{display:flex;justify-content:space-between;gap:2rem}
.badge{height:max-content;background:#f2e1db;color:#7e2d16;border-radius:999px;padding:.35rem .7rem;font-weight:800;font-size:.78rem}
.release-data{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-top:1.5rem}
.release-data div{border-top:1px solid var(--line);padding-top:.8rem}
.release-data dt{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.release-data dd{margin:.25rem 0 0;font-weight:700}
code{background:#edf1f3;padding:.1rem .3rem;border-radius:4px}
@media(max-width:850px){
  .hero-grid,.split,.split.reverse,.download-layout{grid-template-columns:1fr;gap:2.5rem}
  .hero-grid{padding-block:3.5rem}
  .hero-art{max-width:560px;margin-inline:auto}
  .card-grid{grid-template-columns:1fr 1fr}
  .menu-button{display:block}
  .site-nav:not(.simple){display:none;position:absolute;left:1rem;right:1rem;top:70px;background:#fff;border:1px solid var(--line);padding:1rem;flex-direction:column;align-items:flex-start;box-shadow:0 12px 25px rgba(0,0,0,.1)}
  .site-nav.open{display:flex}
}
@media(max-width:560px){
  .section{padding-block:4rem}
  .card-grid,.release-data{grid-template-columns:1fr}
  .download-card,.release-head,.footer-inner{display:block}
  .download-card .button{margin-top:1rem}
  .footer-inner p+p{margin-top:.5rem}
  .brand small{display:none}
  .site-nav.simple{gap:.8rem}
}

.feature-photo{float:right;width:min(42%,360px);margin:0 0 1.5rem 2rem}.feature-photo img{border-radius:12px;box-shadow:0 12px 28px rgba(21,42,58,.12)}
.feature-photo figcaption,.gallery figcaption{font-size:.85rem;color:var(--muted);margin-top:.55rem}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.gallery figure{margin:0;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.gallery img{width:100%;height:240px;object-fit:contain;background:#fff}.gallery figcaption{padding:0 1rem 1rem}
@media(max-width:850px){.feature-photo{float:none;width:100%;max-width:420px;margin:0 0 2rem}.gallery{grid-template-columns:1fr 1fr}}@media(max-width:560px){.gallery{grid-template-columns:1fr}}
.photo-note{font-size:.88rem;color:var(--muted);margin-top:1rem}.version-grid{display:grid;gap:2rem}.version-card{display:grid;grid-template-columns:minmax(260px,.8fr) 1.2fr;gap:2rem;align-items:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:1.25rem;box-shadow:var(--shadow)}.version-card img{width:100%;max-height:480px;object-fit:contain}.image-placeholder{min-height:330px;border:2px dashed #c6aa55;border-radius:14px;background:#fff8d9;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:2rem;color:#584b22}.image-placeholder span{font-size:.9rem;margin-top:.5rem}.version-defs dt{font-weight:800;margin-top:1rem}.version-defs dd{margin:.3rem 0 0}.centred{text-align:center}.development{background:#fff1a8}.motorcycle-context{background:#fff}.notice a,.tick-list a{font-weight:700}@media(max-width:760px){.version-card{grid-template-columns:1fr}.image-placeholder{min-height:220px}}


/* v4 hero: prominent motorcycle with the genuine green module shown separately */
.hero-composite{position:relative;min-height:430px;display:flex;align-items:center;justify-content:center;padding:0 0 54px}
.hero-composite .hero-bike{width:100%;height:auto;max-height:430px;object-fit:cover;border-radius:20px;box-shadow:0 18px 48px rgba(0,0,0,.22)}
.hero-composite .hero-module{position:absolute;right:-18px;bottom:0;width:min(48%,390px);height:auto;border-radius:12px;box-shadow:0 14px 34px rgba(0,0,0,.28);border:4px solid #f4c400;background:#fff}
.notice.warning{margin-top:1.2rem;background:#fff1a8;border-left-color:#b22b19}
@media (max-width:780px){
  .hero-composite{min-height:0;padding-bottom:42px}
  .hero-composite .hero-module{right:4%;width:48%}
}

/* v4.1 corrections */
.nav-email{font-weight:800;text-decoration:underline;text-underline-offset:3px}
.hero-stack{display:grid;gap:18px;align-content:center}
.hero-bike-card,.hero-module-card{margin:0}
.hero-bike-card img{display:block;width:100%;height:auto;object-fit:contain;border-radius:20px;box-shadow:0 18px 48px rgba(0,0,0,.22)}
.hero-bike-card figcaption,.hero-module-card figcaption{font-size:.82rem;margin-top:7px;color:#514500}
.hero-module-card{width:min(56%,390px);justify-self:end;background:#f4c400;padding:7px;border-radius:14px;box-shadow:0 14px 34px rgba(0,0,0,.2)}
.hero-module-card img{display:block;width:100%;height:auto;border-radius:8px}
.contact-card{margin:24px auto 0;max-width:720px;background:#202020;color:#fff;padding:24px 28px;border-radius:12px;box-shadow:0 10px 26px rgba(0,0,0,.16)}
.contact-label{margin:0 0 8px;font-weight:700}
.contact-email{margin:0;font-size:clamp(1.25rem,3vw,2rem);font-weight:900;overflow-wrap:anywhere}
.contact-email a{color:#ffd400}
.contact-site{margin:10px 0 0;color:#eee}
@media(max-width:850px){.nav-email{display:none}.hero-module-card{width:70%;justify-self:center}}

/* v4.2: display the complete hero artwork without cropping */
.hero-bike-card img,
.hero-bike {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

/* v4.3 additions */
.site-progress{background:#222;color:#fff;text-align:center;padding:.55rem 1rem;font-size:.9rem;letter-spacing:.01em}.legacy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.5rem}.legacy-download{height:100%}.legacy-download .meta{overflow-wrap:anywhere}.legacy-download code{font-size:.72em}@media(max-width:760px){.legacy-grid{grid-template-columns:1fr}}


/* v5 multi-project landing and marine project pages */
.landing-hero{background:linear-gradient(135deg,#f4c400 0%,#ffe77a 48%,#fff8d7 100%);border-bottom:1px solid var(--line);padding:4.5rem 0 3.8rem}.landing-hero h1{max-width:900px;margin-bottom:1rem}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.35rem}.project-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;text-decoration:none;box-shadow:0 8px 26px rgba(0,0,0,.08);transition:transform .15s ease,box-shadow .15s ease}.project-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(0,0,0,.12)}.project-card>img{width:100%;height:280px;object-fit:cover;background:#f2eee0}.project-card:nth-child(2)>img{object-fit:contain;background:#111}.project-card:nth-child(3)>img{object-fit:contain;background:#070707}.project-copy{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:1.35rem}.project-copy h2{font-size:1.65rem;margin:.2rem 0 .2rem}.project-copy h3{font-size:1rem;color:var(--muted);margin-bottom:1rem}.project-copy p{color:var(--muted)}.project-copy .button{margin-top:auto}.project-status{display:inline-block;background:#fff3b5;color:#514000;font-size:.78rem;font-weight:800;padding:.28rem .55rem;border-radius:999px;margin:0 0 .4rem}.project-hero{background:linear-gradient(135deg,#f4c400 0%,#ffe77a 46%,#fff8d7 100%);border-bottom:1px solid var(--line)}.project-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:3.5rem;align-items:center;padding:4.2rem 0}.project-hero h1{font-size:clamp(2.4rem,5vw,4.2rem)}.project-hero-image{margin:0}.project-hero-image img{width:100%;max-height:560px;object-fit:contain;border-radius:18px;box-shadow:0 18px 48px rgba(0,0,0,.2);background:#111}.project-hero-image.pcb img{background:#050505}.project-hero-image figcaption,.project-photo figcaption{font-size:.85rem;color:#5e553c;margin-top:.7rem}.status-banner{display:inline-block;margin-top:1rem;background:#252525;color:#fff;padding:.6rem .85rem;border-radius:6px;font-weight:800}.project-photo{margin:0}.project-photo img{width:100%;max-height:620px;object-fit:contain;background:#fff;border-radius:14px;box-shadow:0 12px 30px rgba(0,0,0,.12)}.project-video{display:block;width:100%;max-width:820px;margin:1.5rem auto 0;border-radius:12px;background:#000;box-shadow:0 14px 34px rgba(0,0,0,.16)}.dev-gallery img{background:#080808}@media(max-width:900px){.project-grid{grid-template-columns:1fr 1fr}.project-grid .project-card:last-child{grid-column:1/-1}.project-hero-grid{grid-template-columns:1fr;gap:2rem}.project-hero-image{max-width:650px;margin-inline:auto}}@media(max-width:650px){.project-grid{grid-template-columns:1fr}.project-grid .project-card:last-child{grid-column:auto}.project-card>img{height:240px}.landing-hero{padding:3.2rem 0}.project-hero-grid{padding:3rem 0}}

/* v5.1 homepage contact selector */
.contact-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.5rem}.contact-option{display:flex;flex-direction:column;gap:.45rem;background:#202020;color:#fff;padding:1.2rem 1.3rem;border-radius:10px}.contact-option strong{color:#fff}.contact-option a{color:#f4c400;font-weight:800;overflow-wrap:anywhere}@media(max-width:760px){.contact-options{grid-template-columns:1fr}}


/* ============================================================
   v5.2 — homepage card balance and sales information
   ============================================================ */

/* Give each homepage product equal visual weight. */
.project-grid {
  align-items: stretch;
}
.project-card {
  min-width: 0;
}
.project-card > img,
.project-card:nth-child(2) > img,
.project-card:nth-child(3) > img {
  display: block;
  width: 100%;
  height: 235px;
  object-fit: contain;
  box-sizing: border-box;
  padding: 12px;
  background: #f5f0df;
}
.project-copy {
  min-height: 315px;
}
.project-copy h2 {
  line-height: 1.12;
}

/* Sales / pricing blocks. */
.sales-panel {
  background: #202020;
  color: #fff;
  border-radius: 14px;
  padding: 1.6rem 1.7rem;
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
}
.sales-panel h2,
.sales-panel h3,
.sales-panel p,
.sales-panel strong {
  color: #fff;
}
.sales-price {
  margin: .35rem 0 .65rem;
  font-size: clamp(2.25rem, 6vw, 4.2rem);
  line-height: 1;
  font-weight: 900;
  color: #f4c400 !important;
}
.sales-note {
  color: #f3f3f3 !important;
}
.sales-panel .button.secondary {
  border-color: #f4c400;
  color: #f4c400;
}
.sales-panel .button.secondary:hover {
  background: #f4c400;
  color: #171717;
}
.sales-small {
  font-size: .9rem;
  color: #e8e8e8 !important;
}

@media (max-width: 900px) {
  .project-card > img,
  .project-card:nth-child(2) > img,
  .project-card:nth-child(3) > img {
    height: 220px;
  }
  .project-copy {
    min-height: 300px;
  }
}
@media (max-width: 650px) {
  .project-copy {
    min-height: 0;
  }
}
