/*
 * Home page layout — full-bleed bands.
 * Enqueued only on the front page (functions.php, is_front_page()).
 * The page leaves the generic white sheet so each section can own its
 * background, rhythm and grid instead of stacking inside one narrow column.
 */

main.cyt-home{max-width:none;margin:0;padding:0;background:var(--surface)}
main.cyt-home p{margin:0 0 1em;max-width:none}

/* One container, same optical left edge as the header and the footer */
.home-wrap,
.home-hero-inner{
  width:100%;
  max-width:var(--content-max);
  margin-inline:auto;
  padding-inline:var(--page-gutter);
}

/* --- Band rhythm ------------------------------------------------------- */
.home-band{padding-block:clamp(52px,6.5vw,92px)}
.home-band--canvas{background:var(--canvas)}
.home-band--ink{background:var(--ink);color:rgba(255,255,255,.78)}
.home-band h2{
  margin:0 0 12px;
  font-size:clamp(1.625rem,2.5vw,2.375rem);
  line-height:1.1;
  letter-spacing:-.02em;
}
.home-band--ink h2{color:#fff}
.home-head{margin-bottom:clamp(26px,3.5vw,44px)}
.home-head--row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 40px}
.home-head--row h2{margin-bottom:0}
.home-kicker{
  margin:0 0 14px;
  font-family:var(--font-mono);
  font-size:.6875rem;
  font-weight:500;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--brand-red-deep);
}
.home-kicker--light{color:var(--signal-yellow)}
.home-sub{margin:0;max-width:64ch;font-size:1rem;line-height:1.65;color:var(--muted)}
.home-band--ink .home-sub{color:rgba(255,255,255,.74)}
.home-range-foot{margin:26px 0 0}
.home-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.875rem;
  font-weight:600;
  color:var(--brand-red-deep);
  text-decoration:none;
  border-bottom:1px solid transparent;
  padding-bottom:2px;
  transition:border-color .16s ease;
}
.home-link:hover{border-bottom-color:currentColor}
.home-band--ink .home-link{color:var(--signal-yellow)}

/* --- Hero ------------------------------------------------------------- */
.home-hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#141618;
  color:#fff;
}
.home-hero-media{position:absolute;inset:0;z-index:0}
.home-hero-img{display:block;width:100%;height:100%;object-fit:cover;object-position:center right}
.home-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(100deg,rgba(14,16,18,.95) 0%,rgba(14,16,18,.9) 40%,rgba(14,16,18,.55) 68%,rgba(14,16,18,.12) 100%);
}
.home-hero-inner{
  position:relative;
  z-index:2;
  padding-block:clamp(56px,7.5vw,104px);
}
.home-hero-copy{max-width:660px}
.home-hero .home-kicker{color:var(--signal-yellow)}
.home-hero h1{
  margin:0 0 18px;
  max-width:20ch;
  font-size:clamp(2.125rem,4.4vw,3.625rem);
  line-height:1.03;
  letter-spacing:-.028em;
  color:#fff;
}
.home-hero-lead{
  margin:0 0 28px;
  max-width:56ch;
  font-size:clamp(1rem,1.35vw,1.125rem);
  line-height:1.6;
  color:rgba(255,255,255,.8);
}
/* Action row: one conversion button, one text path to the catalogue. */
.home-hero-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:18px 30px;
  margin:0;
}
.home-hero .home-hero-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:15px 27px;
  background:var(--brand-red-deep);
  border-color:var(--brand-red-deep);
  box-shadow:none;
  font-size:.9375rem;
}
.home-hero .home-hero-primary:hover{
  background:#9C1B15;
  border-color:#9C1B15;
  box-shadow:0 14px 28px -16px rgba(0,0,0,.75);
  transform:none;
}
.home-hero-arrow{
  font-family:var(--font-mono);
  font-size:1.05em;
  line-height:1;
  transition:transform .18s ease;
}
.home-hero .home-hero-primary:hover .home-hero-arrow{transform:translateX(4px)}
.home-hero-link{
  font-size:.9375rem;
  font-weight:600;
  color:#fff;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.42);
  padding-bottom:3px;
  transition:border-color .16s ease;
}
.home-hero-link:hover,
.home-hero-link:focus-visible{border-bottom-color:#fff}
@media(max-width:560px){
  .home-hero-actions{flex-direction:column;align-items:stretch;gap:20px}
  .home-hero-link{text-align:center;border-bottom-color:rgba(255,255,255,.3)}
}

/* Fact strip under the hero copy */
.home-trust{
  display:flex;
  flex-wrap:wrap;
  gap:12px 28px;
  margin:clamp(34px,4.5vw,52px) 0 0;
  padding:20px 0 0;
  border-top:1px solid rgba(255,255,255,.16);
  list-style:none;
  font-size:.8125rem;
  line-height:1.4;
  color:rgba(255,255,255,.74);
}
.home-trust li{display:flex;align-items:baseline;gap:7px}
.home-trust strong{
  font-family:var(--font-headings);
  font-size:.9375rem;
  font-weight:600;
  letter-spacing:.01em;
  color:#fff;
}

/* --- Product ranges: hairline rows in two columns --------------------- */
.home-cats{
  display:grid;
  grid-template-columns:1fr;
  margin:0;
  padding:0;
  list-style:none;
  border-top:1px solid var(--line);
}
@media(min-width:820px){
  .home-cats{grid-template-columns:1fr 1fr;column-gap:56px}
}
.home-cat a{
  display:grid;
  grid-template-columns:2.25rem minmax(0,1fr) auto 1rem;
  align-items:center;
  gap:4px 14px;
  padding:17px 4px;
  border-bottom:1px solid var(--line);
  color:var(--ink);
  text-decoration:none;
  transition:background-color .16s ease,color .16s ease;
}
.home-cat a:hover,.home-cat a:focus-visible{
  background:var(--brand-red-tint);
  color:var(--brand-red-deep);
}
.home-cat-index{
  font-family:var(--font-mono);
  font-size:.75rem;
  font-variant-numeric:tabular-nums;
  color:var(--muted);
}
.home-cat-name{
  font-family:var(--font-headings);
  font-size:1.125rem;
  font-weight:600;
  line-height:1.25;
  letter-spacing:-.012em;
}
.home-cat-meta{font-size:.8125rem;color:var(--muted);justify-self:end;white-space:nowrap}
.home-cat a:hover .home-cat-index,
.home-cat a:hover .home-cat-meta{color:inherit}
.home-cat-arrow{font-size:.9375rem;color:var(--muted);transition:transform .16s ease,color .16s ease}
.home-cat a:hover .home-cat-arrow{transform:translateX(3px);color:inherit}

/* --- Selected model: the newest model that has a photograph ---------- */
.home-feature{display:grid;gap:clamp(26px,3.4vw,56px);align-items:center}
@media(min-width:900px){.home-feature{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}}
.home-feature-media{overflow:hidden;background:var(--canvas);border-radius:var(--radius-content)}
.home-feature-media a{display:block}
.home-feature-img{display:block;width:100%;height:auto;aspect-ratio:4 / 3;object-fit:cover;transition:transform .5s ease}
.home-feature-media:hover .home-feature-img{transform:scale(1.02)}
.home-feature-body h2{margin-bottom:14px}
.home-feature-body .home-sub{font-size:1rem}
.home-specs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px 24px;
  margin:22px 0 0;
  padding:20px 0 0;
  border-top:1px solid var(--line);
}
.home-specs dt{
  margin:0;
  font-family:var(--font-mono);
  font-size:.6875rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
}
.home-specs dd{
  margin:4px 0 0;
  font-family:var(--font-headings);
  font-size:1.0625rem;
  font-weight:600;
  line-height:1.3;
  color:var(--ink);
}
/* Action row closes the featured model: a clear pause under the facts,
   and one button plus one text path, sized to match each other. */
.home-feature-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:18px 28px;
  margin:clamp(44px,5vw,68px) 0 0;
}
/* On two columns the action row closes the block: it drops to the foot of the
   copy column, level with the bottom edge of the photograph, so it reads as
   the end of the feature rather than a third line under the facts. */
@media(min-width:900px){
  .home-feature-body{display:flex;flex-direction:column}
  .home-feature-actions{margin-top:auto;padding-top:clamp(48px,5.5vw,80px)}
}
.home-feature-actions .button{
  padding:14px 26px;
  font-size:.9375rem;
  box-shadow:none;
}
.home-feature-actions .button:hover{
  background:#9C1B15;
  border-color:#9C1B15;
  box-shadow:0 12px 24px -14px rgba(36,38,41,.55);
  transform:none;
}
.home-feature-actions .home-link{
  font-size:.9375rem;
  padding-bottom:3px;
}
@media(max-width:560px){
  .home-feature-actions{flex-direction:column;align-items:stretch;gap:20px}
  .home-feature-actions .button{width:100%}
  .home-feature-actions .home-link{align-self:flex-start}
}

/* --- Other models in the range ---------------------------------------- */
.home-more{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(235px,1fr));
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}
.home-more a{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"name arrow" "cat arrow";
  align-items:center;
  gap:2px 14px;
  padding:16px 18px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  color:var(--ink);
  text-decoration:none;
  transition:border-color .16s ease,color .16s ease,background-color .16s ease;
}
.home-more a:hover,.home-more a:focus-visible{
  border-color:var(--brand-red);
  background:var(--brand-red-tint);
  color:var(--brand-red-deep);
}
.home-more-name{grid-area:name;font-family:var(--font-headings);font-size:1rem;font-weight:600;line-height:1.3}
.home-more-cat{grid-area:cat;font-size:.75rem;color:var(--muted)}
.home-more a:hover .home-more-cat{color:inherit}
.home-more-arrow{grid-area:arrow;font-size:.9375rem;color:var(--muted);transition:transform .16s ease,color .16s ease}
/* A range that still holds only one other model: don't let that single card
   stretch across the whole band. */
.home-more--single{grid-template-columns:minmax(0,520px)}
.home-more a:hover .home-more-arrow{transform:translateX(3px);color:inherit}

/* --- Split band (why us, closing CTA) --------------------------------- */
.home-split{display:grid;gap:clamp(30px,4vw,64px)}
@media(min-width:900px){
  .home-split{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:start}
}
.home-split-aside{position:relative}
.home-aside-actions{margin:24px 0 0}

/* Six capability facts */
.home-facts{
  display:grid;
  gap:24px 40px;
  margin:0;
  padding:0;
  list-style:none;
}
@media(min-width:620px){.home-facts{grid-template-columns:1fr 1fr}}
.home-facts h3{margin:0 0 6px;font-size:1rem;line-height:1.3;color:#fff}
.home-facts p{margin:0;font-size:.9375rem;line-height:1.6;color:rgba(255,255,255,.74)}

/* --- Order process: four hairline cells ------------------------------- */
.home-steps{
  display:grid;
  gap:1px;
  margin:0;
  padding:0;
  list-style:none;
  background:var(--line);
  border:1px solid var(--line);
  border-radius:var(--radius-content);
  overflow:hidden;
}
@media(min-width:860px){.home-steps{grid-template-columns:repeat(4,minmax(0,1fr))}}
.home-steps li{background:var(--surface);padding:26px 24px 28px}
.home-step-num{
  display:block;
  margin-bottom:12px;
  font-family:var(--font-mono);
  font-size:.75rem;
  font-weight:500;
  letter-spacing:.12em;
  color:var(--brand-red-deep);
}
.home-steps h3{margin:0 0 8px;font-size:1.0625rem;line-height:1.3}
.home-steps p{margin:0;font-size:.875rem;line-height:1.6;color:var(--muted)}
.home-notes{
  display:grid;
  gap:14px 40px;
  margin:26px 0 0;
  padding:22px 0 0;
  border-top:1px solid var(--line);
}
@media(min-width:760px){.home-notes{grid-template-columns:repeat(3,minmax(0,1fr))}}
.home-notes p{margin:0;font-size:.9375rem;line-height:1.6;color:var(--muted)}
.home-notes strong{display:block;margin-bottom:4px;color:var(--ink);font-weight:600}

/* --- Quality cards ---------------------------------------------------- */
.home-quality{
  display:grid;
  gap:clamp(16px,2vw,24px);
  margin:0;
  padding:0;
  list-style:none;
}
@media(min-width:760px){.home-quality{grid-template-columns:1fr 1fr}}
.home-quality li{
  padding:24px 26px 26px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-content);
}
.home-quality h3{margin:0 0 8px;font-size:1.0625rem;line-height:1.3}
.home-quality p{margin:0;font-size:.9375rem;line-height:1.6;color:var(--muted)}

/* --- FAQ: native disclosure, no JavaScript ---------------------------- */
.home-faq{border-top:1px solid var(--line);max-width:900px}
.home-faq-item{border-bottom:1px solid var(--line)}
.home-faq-item summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:19px 0;
  cursor:pointer;
  font-family:var(--font-headings);
  font-size:1.0625rem;
  font-weight:600;
  line-height:1.35;
  letter-spacing:-.008em;
  color:var(--ink);
  list-style:none;
}
.home-faq-item summary::-webkit-details-marker{display:none}
.home-faq-item summary::after{
  content:"";
  flex:none;
  width:11px;
  height:11px;
  border-right:2px solid var(--muted);
  border-bottom:2px solid var(--muted);
  transform:rotate(45deg) translateY(-2px);
  transition:transform .2s ease,border-color .2s ease;
}
.home-faq-item[open] summary::after{transform:rotate(225deg) translateY(-2px);border-color:var(--brand-red-deep)}
.home-faq-item summary:hover{color:var(--brand-red-deep)}
.home-faq-a{padding:0 0 20px}
.home-faq-a p{margin:0;max-width:76ch;font-size:.9375rem;line-height:1.65;color:var(--muted)}

/* --- Closing CTA ------------------------------------------------------ */
.home-cta{padding-block:clamp(48px,6vw,84px)}
.home-direct{
  margin:clamp(24px,3vw,34px) 0 0;
  font-size:.9375rem;
}
.home-direct a{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#fff;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.32);
  padding-bottom:2px;
}
.home-direct a:hover,.home-direct a:focus-visible{
  border-bottom-color:var(--brand-red);
  color:#fff;
}
.home-direct a span{color:var(--brand-red)}
.home-contact span{
  font-family:var(--font-mono);
  font-size:.6875rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.66);
}
.home-contact a{
  color:#fff;
  font-size:1.0625rem;
  text-decoration:none;
  font-variant-numeric:tabular-nums;
  border-bottom:1px solid transparent;
  transition:border-color .16s ease;
  width:fit-content;
}
.home-contact a:hover{border-bottom-color:rgba(255,255,255,.55)}
.home-quote{
  padding:clamp(22px,3vw,32px);
  background:var(--surface);
  color:var(--ink);
  border-radius:var(--radius-content);
  box-shadow:0 40px 70px -50px rgba(0,0,0,.7);
}
.home-quote .cyt-quote{margin:0;padding:0;background:none;border:0;box-shadow:none}
.home-quote .cyt-quote p{max-width:none}
.home-quote .cyt-quote p{color:var(--ink)}

/* --- Small screens ---------------------------------------------------- */
@media(max-width:640px){
  .home-band{padding-block:44px}
  .home-hero-inner{padding-block:44px}
  .home-hero h1{max-width:none}
  .home-hero::after{
    background:linear-gradient(180deg,rgba(14,16,18,.62) 0%,rgba(14,16,18,.9) 46%,rgba(14,16,18,.97) 100%);
  }
  .home-trust{gap:10px 18px;font-size:.75rem}
  .home-cat a{grid-template-columns:2rem minmax(0,1fr) auto .875rem;padding:15px 2px}
  .home-cat-name{font-size:1.0625rem}
  .home-cat-meta{font-size:.75rem}
  .home-specs{grid-template-columns:1fr;gap:14px}
}
