/* Steffich Transport: site styles (colours at the top) */
:root {
  --ink: #172430;        /* dark text, top bar, footer */
  --navy: #24384A;       /* main brand colour */
  --green: #3F7A5A;      /* logo green: CTA box, accents */
  --green-text: #2F6449; /* green used for small text on light backgrounds */
  --mint: #9FD0B3;       /* accent text on dark backgrounds */
  --sage: #E6EFE9;       /* light green panels */
  --accent: #C4461A;     /* buttons (white text) */
  --accent-dark: #A63A13;
  --bg: #F4F2EE;         /* page background */
  --white: #FFFFFF;
  --line: #DDD8CF;       /* borders */
  --field: #C9C2B6;      /* form field borders */
  --muted: #56606A;      /* muted text */
  --on-dark: #D5DCE2;    /* body text on dark backgrounds */
  --radius: 12px;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--accent); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.hidden { position: absolute; left: -9999px; }

/* Top bar & header */
.topbar { background: var(--ink); color: var(--on-dark); font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.topbar .links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: var(--white); }
.topbar a.sister { color: var(--mint); }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; gap: 12px 32px; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.brand-logo { height: 56px; width: auto; }
@media (max-width: 480px) {
  .brand-logo { height: 36px; }
  .site-header .wrap { column-gap: 8px; }
  .header-tools { gap: 8px; }
  .header-tools .cart-link { padding: 10px 12px !important; }
  .cart-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-toggle { padding: 10px 12px !important; }
}

.nav { display: flex; flex-wrap: wrap; gap: 4px 26px; align-items: center; font-weight: 600; font-size: 16px; }
.nav a { text-decoration: none; padding: 10px 0; color: var(--ink); }
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); }
.cart-link { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: var(--white) !important; border-radius: 6px; padding: 10px 18px !important; min-height: 44px; }
.cart-link:hover { background: var(--ink); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.header-tools .cart-link { display: none; }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .header-tools .cart-link { display: inline-flex; }
  .nav .cart-link { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px;
    background: var(--white); border: 1.5px solid var(--field); border-radius: 6px;
    font: 600 16px var(--body); color: var(--ink); cursor: pointer;
  }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: 6px; }
  .nav a { padding: 14px 4px; border-top: 1px solid var(--line); }
  .site-header .wrap { flex-wrap: wrap; }
  .site-header.open .nav { display: flex; }
  .no-js .nav { display: flex; }
  .no-js .menu-toggle { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 6px; border: 2px solid transparent;
  font: 700 16px/1.2 var(--body); text-decoration: none; cursor: pointer; text-align: center;
}
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--sage); color: var(--ink); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line.light { color: var(--white); }
.btn-line.light:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-line.dark { color: var(--navy); }
.btn-line.dark:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* Type */
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-text); }
.on-dark .eyebrow, .eyebrow.light { color: var(--mint); }
.h1 { font-size: clamp(36px, 4.6vw, 54px); }
.h2 { font-size: clamp(28px, 3.3vw, 40px); }
.lead { font-size: 19px; color: var(--muted); }
.on-dark .lead, .lead.light { color: var(--on-dark); }
.muted { color: var(--muted); }
.link-arrow { font-weight: 700; }

/* Sections */
.section { padding-top: 88px; padding-bottom: 88px; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 720px; }
.section-head.row { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; max-width: none; }
.section-head.row > div { display: flex; flex-direction: column; gap: 12px; max-width: 660px; }
.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--ink); color: var(--white); }
.band-navy { background: var(--navy); color: var(--white); }
.band-sage { background: var(--sage); }
.on-dark p { color: var(--on-dark); }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 260px)), 1fr)); }
.split { display: grid; gap: 48px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.split-32 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
@media (max-width: 860px) { .split-32 { grid-template-columns: 1fr; } }
.photo { width: 100%; object-fit: cover; border-radius: 10px; background: var(--navy); aspect-ratio: 4 / 3; }

/* Hero: text panel left, photo right, full bleed */
.hero { background: var(--navy); color: var(--white); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero-copy { padding: 80px 56px 80px max(24px, calc((100vw - 1200px) / 2 + 24px)); display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.hero-copy .lead { max-width: 540px; }
.hero > img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 56px 24px; }
  .hero > img { min-height: 0; height: 300px; }
}
.page-hero { background: var(--navy); color: var(--white); }
.page-hero .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; }
.page-hero .h1 { max-width: 840px; }
.page-hero .lead { max-width: 720px; }
.page-hero strong { color: var(--white); }

/* Fact strip */
.facts { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); padding-top: 28px; padding-bottom: 28px; }
.facts strong { display: block; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 28px; line-height: 1.2; }
.facts span { color: var(--muted); }

/* Product cards (home) */
.pcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.pcard:hover { border-color: var(--navy); color: var(--ink); }
.pcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pcard div { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.pcard h3 { font-size: 19px; }
.pcard span { color: var(--muted); font-size: 15px; }
.pcard strong { margin-top: auto; padding-top: 6px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.steps li { border-top: 3px solid var(--green); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.steps .num { font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 44px; line-height: 1; color: var(--mint); }
.steps h3 { font-size: 21px; }

/* Spec tiles */
.specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.specs li { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.specs strong { display: block; }
.specs span { color: var(--muted); font-size: 15px; }

.photo-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.photo-grid img.wide { grid-column: span 2; aspect-ratio: 16 / 9; }

/* Figure cards (crane page) */
.fig { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fig figcaption { padding: 16px 18px; }
.fig h3 { font-size: 19px; }
.fig span { color: var(--muted); font-size: 15px; }

/* Value columns */
.values { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.values div { border-top: 3px solid var(--mint); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.values h3 { font-size: 21px; }

/* CTA band */
.cta { background: var(--green); color: var(--white); border-radius: 14px; padding: 48px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta > div:first-child { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.cta h2 { font-size: clamp(26px, 3vw, 34px); }
.cta p { color: var(--sage); }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 36px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.panel > div { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }

/* Shop */
.shop { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.shop-list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.product { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-wrap: wrap; scroll-margin-top: 110px; }
.product > img { flex: 1 1 240px; width: 240px; min-height: 220px; max-height: 320px; object-fit: cover; }
.product-body { flex: 999 1 320px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.product-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline; }
.product h2 { font-size: 24px; }
.product-price { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 24px; }
.product-tag { font-size: 14px; font-weight: 700; color: var(--green-text); }
.product p { color: var(--muted); font-size: 16px; }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 44px; height: 44px; border: 1px solid var(--field); background: var(--white); border-radius: 6px; font: 400 22px/1 var(--body); color: var(--ink); cursor: pointer; }
.stepper button:hover { border-color: var(--navy); }
.stepper output { min-width: 74px; text-align: center; font-weight: 700; }
.in-cart { color: var(--green-text); font-weight: 700; font-size: 15px; }
.no-js .buy { display: none; }

.summary { flex: 1 1 300px; min-width: 0; position: sticky; top: 110px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.summary h2 { font-size: 22px; }
.line { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #ECE8E1; padding-bottom: 10px; }
.total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 700; }
.note-box { background: var(--sage); border-radius: 8px; padding: 14px 16px; font-size: 15px; color: #23402F; display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 900px) { .summary { position: static; } }

/* Cart / checkout */
.checkout { display: flex; flex-wrap: wrap-reverse; gap: 32px; align-items: flex-start; }
.checkout .form { flex: 999 1 520px; min-width: 0; }
.checkout .summary { position: static; padding: 28px; }
.cart-line { display: flex; gap: 14px; align-items: center; border-bottom: 1px solid #ECE8E1; padding-bottom: 14px; }
.cart-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.cart-line .info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cart-line .info strong { line-height: 1.3; }
.cart-line .stepper button { width: 40px; height: 40px; font-size: 20px; }
.cart-line .stepper span { min-width: 28px; text-align: center; font-weight: 700; }
.remove { background: none; border: 0; padding: 8px 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }
.sum-row { display: flex; justify-content: space-between; color: var(--muted); }
.grand { display: flex; justify-content: space-between; font-size: 22px; font-weight: 700; border-top: 2px solid var(--ink); padding-top: 12px; }

/* Forms */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.form h2 { grid-column: 1 / -1; font-size: 22px; }
.form h2 + * { margin-top: -6px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  font: 400 16px var(--body); color: var(--ink); padding: 12px 14px; min-height: 48px;
  border: 1px solid var(--field); border-radius: 6px; background: var(--white); width: 100%;
}
.form textarea { resize: vertical; min-height: 100px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); outline: 2px solid var(--navy); outline-offset: 0; }
.form .hint, .form .opt { font-weight: 400; color: var(--muted); font-size: 14px; }
.form .check { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 400; }
.form .check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; flex: none; }
.form .btn { grid-column: 1 / -1; font-size: 18px; min-height: 54px; }
.form .note { grid-column: 1 / -1; color: var(--muted); font-size: 14px; text-align: center; }
.form-error { grid-column: 1 / -1; background: #FBE9E2; color: #7A2A0D; border-radius: 6px; padding: 12px 14px; font-weight: 600; }

.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-item { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; text-decoration: none; color: var(--ink); }
a.contact-item:hover { border-color: var(--navy); color: var(--ink); }
.contact-item span { display: flex; flex-direction: column; }
.contact-item small { color: var(--muted); font-size: 15px; }

/* Order received */
.receipt { max-width: 720px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 44px; display: flex; flex-direction: column; gap: 24px; }
.tick { width: 56px; height: 56px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.receipt-facts { background: var(--bg); border-radius: 10px; padding: 20px 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.receipt-facts div { display: flex; flex-direction: column; }
.receipt-facts span { color: var(--muted); font-size: 14px; }
.receipt-facts strong { font-size: 20px; }
.next { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.next li { display: flex; gap: 16px; }
.next .n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 800; }
.next p { color: var(--muted); }
.next p strong { color: var(--ink); }
@media (max-width: 640px) { .receipt { padding: 28px 22px; } }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); font-size: 15px; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 28px; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer .col { display: flex; flex-direction: column; gap: 8px; }
.site-footer strong { color: var(--white); }
.site-footer .name { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 22px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.copyright { grid-column: 1 / -1; border-top: 1px solid #2E3D4A; padding-top: 18px; font-size: 14px; color: #A9B4BD; }

@media (max-width: 640px) {
  .topbar .wrap > span { display: none; }
  .topbar .wrap { justify-content: center; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .cta { padding: 32px 24px; }
  .form { padding: 22px; }
  .panel { padding: 24px; }
}
