/* ---------- Brand tokens: black and orange, from the brochure ---------- */
:root {
  --black: #000000;          /* matches the logo's background exactly */
  --charcoal: #141517;       /* dark sections */
  --steel: #23262b;          /* cards on dark */
  --orange: #F07A1E;         /* brochure orange */
  --orange-dark: #c95f0f;
  --paper: #f3f2ef;          /* light sections */
  --ink: #1a1b1e;            /* body text on light */
  --muted: #5d6068;          /* secondary text on light */
  --muted-dark: #b9bcc3;     /* secondary text on dark */
  --line: #d9d8d3;
  --white: #ffffff;
  --radius: 4px;
  --max: 1180px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 17px;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

a { color: var(--orange-dark); }
img, video { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  /* the brochure's angled corners */
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.btn-primary { background: var(--orange); color: var(--black); }
.btn-primary:hover { background: var(--white); }
.btn-ghost { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.25); }

.eyebrow {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin: 0 0 8px;
}

/* ---------- Header ---------- */
.site-header { background: var(--black); color: var(--white); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-block: 6px;
}
.logo img { height: 80px; width: auto; }
.site-nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.site-nav a:not(.btn) {
  color: var(--white); text-decoration: none; font-weight: 600;
  font-family: "Barlow Condensed", sans-serif; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.site-nav a:not(.btn):hover { color: var(--orange); }
.site-nav .btn { padding: 10px 20px; font-size: 1.05rem; }

/* ---------- Hero: real photo with a dark fade on the left ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 70% 40%;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.7) 38%, rgba(0,0,0,0) 70%);
}
/* orange 46-degree wedge on the bottom edge */
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2;
  height: 28px;
  background: var(--orange);
  clip-path: polygon(0 100%, 0 30%, 34% 30%, 36% 100%);
}
.hero-inner {
  position: relative; z-index: 3;
  padding-block: 96px 120px;
  max-width: var(--max);
}
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); max-width: 11ch; }
.hero h1 span { color: var(--orange); display: block; }
.hero .eyebrow { color: var(--orange); }
.hero .lead { font-size: 1.3rem; max-width: 30ch; color: #e4e5e8; font-style: italic; margin: 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.badge {
  display: inline-flex; flex-direction: column;
  margin-top: 36px; padding: 10px 18px;
  border: 2px solid var(--orange); background: rgba(0,0,0,0.65);
  font-family: "Barlow Condensed", sans-serif; text-transform: uppercase;
}
.badge span { letter-spacing: 0.12em; font-weight: 700; font-size: 0.95rem; }
.badge strong { color: var(--orange); font-size: 2.4rem; line-height: 1; }

/* ---------- Feature strip ---------- */
.feature-strip { background: var(--charcoal); color: var(--white); }
.feature-strip ul {
  list-style: none; margin: 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  padding-block: 26px;
}
.feature-strip li {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; padding: 6px 8px;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  text-transform: uppercase; font-size: 1rem; line-height: 1.15;
  border-left: 1px solid rgba(255,255,255,0.14);
}
.feature-strip li:first-child { border-left: 0; }
.feature-strip svg, .benefits svg, .addon-text svg {
  width: 40px; height: 40px; flex: none;
  fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.feature-strip svg text { fill: var(--orange); stroke: none; font: 800 9px "Barlow Condensed", sans-serif; }

/* ---------- Sections ---------- */
.section { padding-block: 88px; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-dark .eyebrow { color: var(--orange); }
.section-title { font-size: clamp(2.1rem, 4.4vw, 3.3rem); max-width: 18ch; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.photo { margin: 0; }
.photo img { width: 100%; height: auto; border-radius: var(--radius); }
.video-frame video { width: 100%; height: auto; border-radius: var(--radius); background: var(--black); }

.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid var(--line); }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 16px; height: 8px; border-left: 4px solid var(--orange); border-bottom: 4px solid var(--orange);
  transform: rotate(-46deg);
}

/* Pull quote */
.quote-band { background: var(--orange); color: var(--black); padding-block: 56px; }
.quote-band blockquote {
  margin: 0 auto; max-width: 30ch; text-align: center;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-style: italic;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.15; text-wrap: balance;
}

/* Audience cards */
.audience { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.audience article {
  background: var(--steel); padding: 26px 24px;
  border-top: 4px solid var(--orange);
}
.audience h3 { font-size: 1.7rem; margin-bottom: 8px; }
.audience p { margin: 0; color: var(--muted-dark); }

/* Benefits */
.benefits { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.benefits li { display: flex; gap: 18px; align-items: flex-start; }
.benefits svg {
  width: 52px; height: 52px; padding: 9px;
  border: 2px solid var(--orange); border-radius: 50%;
}
.benefits strong {
  display: block; font-family: "Barlow Condensed", sans-serif; font-size: 1.35rem;
  text-transform: uppercase; line-height: 1.1; margin-bottom: 2px;
}
.benefits div { color: var(--muted); }
.benefits strong { color: var(--ink); }

/* Specs */
.specs { margin: 24px 0 0; display: grid; gap: 0; }
.specs div {
  display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.specs dt {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--orange-dark);
}
.specs dd { margin: 0; font-weight: 600; }

/* Models */
.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 36px; }
.model {
  background: var(--charcoal); color: var(--white);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 12px;
  background-image: linear-gradient(134deg, var(--charcoal) 78%, var(--orange) 78%, var(--orange) 80%, var(--charcoal) 80%);
}
.model h3 { font-size: 2rem; margin: 0; }
.model p { margin: 0; color: var(--muted-dark); }
.model .btn { margin-top: auto; align-self: flex-start; }
.models-price { margin-top: 22px; color: var(--muted); }
.models-price strong { color: var(--ink); font-size: 1.2rem; }

/* Add-ons */
.addons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.addons figure { margin: 0; background: var(--white); border: 1px solid var(--line); }
.addons img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.addons figcaption, .addon-text { padding: 16px 18px 20px; color: var(--muted); }
.addons figcaption strong, .addon-text strong {
  display: block; color: var(--ink);
  font-family: "Barlow Condensed", sans-serif; font-size: 1.4rem; text-transform: uppercase;
}
.addon-price { color: var(--orange-dark); white-space: nowrap; }
.addon-text {
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px; justify-content: center;
}
.addon-text svg { width: 56px; height: 56px; margin-bottom: 6px; }

/* Closing band */
.cta-band { background: var(--black); color: var(--white); text-align: center; padding-block: 80px; }
.cta-band h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: none; font-style: italic; }
.cta-band h2 span { color: var(--orange); }
.cta-band p { color: var(--muted-dark); max-width: 52ch; margin: 0 auto; }
.cta-band .actions { justify-content: center; }
.cta-band .warranty {
  margin-top: 28px; font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--orange);
}

/* ---------- Product list cards (Models page) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; background: var(--white); }
.card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.card-top { background: var(--charcoal); color: var(--white); padding: 18px 22px; }
.card-top h3 { font-size: 1.8rem; margin: 0; }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.price { font-family: "Barlow Condensed", sans-serif; font-size: 2rem; color: var(--ink); font-weight: 700; }
.price small { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.card-body .btn { margin-top: auto; text-align: center; }
.section-intro { color: var(--muted); max-width: 60ch; margin-bottom: 36px; }

/* ---------- Builder (configurator) ---------- */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 20px; }
legend { font-family: "Barlow Condensed", sans-serif; font-size: 1.35rem; font-weight: 700; text-transform: uppercase; padding: 0 6px; }
fieldset div > div { margin: 6px 0; }
.helptext { color: var(--muted); font-size: 0.95rem; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 4px; }
.form-row input, .form-row textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #c4c3bd; border-radius: var(--radius); font: inherit;
}
.errorlist { color: #b3261e; margin: 4px 0; padding-left: 18px; }
.summary { position: sticky; top: 20px; background: var(--charcoal); color: var(--white); padding: 24px; }
.summary .price { color: var(--orange); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--muted-dark); padding-block: 44px; font-size: 0.98rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.site-footer strong { color: var(--white); text-transform: uppercase; font-family: "Barlow Condensed", sans-serif; letter-spacing: 0.08em; }
.site-footer a { color: var(--white); }
.site-footer img { width: 160px; height: auto; }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .feature-strip ul { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 18px; }
  .feature-strip li:nth-child(5) { border-left: 0; }
  .audience, .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Phones ---------- */
@media (max-width: 820px) {
  .split, .builder, .models { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split-media-right .photo { order: -1; }
  .section { padding-block: 60px; }
  /* On phones the photo sits above the headline instead of behind it */
  .hero-photo { position: static; height: auto; aspect-ratio: 16 / 11; object-position: 75% 40%; }
  .hero::before { display: none; }
  .hero-inner { padding-block: 32px 72px; }
  .logo img { height: 62px; }
  .site-nav { gap: 14px; }
}
@media (max-width: 560px) {
  .feature-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-strip li { border-left: 0; }
  .audience, .addons { grid-template-columns: minmax(0, 1fr); }
  .site-nav a:not(.btn) { font-size: 1rem; }
  .specs div { grid-template-columns: 7rem minmax(0, 1fr); }
}
