/* Approved homepage composition. This file is loaded on the front page only.
   Shared theme styles and scripts stay intact so v49 can be restored by HTML. */
body.home {
  --paper: #121c21;
  --wash: #1b282f;
  --surface: #172329;
  --line: #34434c;
  --orange: #f69b25;
  --home-link: #ffac3c;
  background: var(--paper);
}
:root[data-theme="light"] body.home {
  --paper: #d8d6cd;
  --wash: #cac8be;
  --surface: #e6e3d9;
  --line: #aaa99f;
  --orange: #e58c24;
  --home-link: #8e4c08;
}
.home .section { padding-block: 48px; }
.home .header-inner { height: 78px; gap: 24px; }
.home .brand { width: 176px; }
.home .brand img { width: 176px; }
.home .site-navigation { gap: 22px; }
.home .header-tools { gap: 18px; }
.home .header-contact { padding-left: 18px; font-weight: 600; }
.home .home-header-phone span { padding: 0 8px 0 0; }
.home .site-header { background: #10191e; }
.home .hero { background: var(--paper); }
.home .hero-grid {
  /* Inherit the same .wrap width and gutters as every content section. */
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 24px;
  padding-block: 40px;
  min-height: 0;
  align-items: center;
}
.home .hero-copy {
  align-self: center;
  padding: 8px 0;
}
.home .hero .eyebrow { font-size: .7rem; margin-bottom: 20px; letter-spacing: .09em; }
.home .hero h1 { font-size: clamp(2rem, 3.2vw, 3.3rem); line-height: 1.08; max-width: 20ch; }
.home .hero-copy > p { margin-top: 18px; font-size: 1rem; line-height: 1.5; }
.home .hero-actions { gap: 18px 24px; flex-wrap: wrap; margin-top: 24px; }
.home .hero-actions .button { min-height: 50px; padding: 13px 20px; font-size: .875rem; gap: 14px; }
.home .hero-link { color: var(--home-link); text-decoration: underline; text-underline-offset: 5px; }
.home .hero-note { margin-top: 24px; font-size: .7rem; gap: 8px; }
.home .hero-note .line { width: 20px; }
.home .hero-visual.home-media { align-self: center; border-radius: 0; height: auto; max-height: none; }
.home .home-media-stage { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
.home .home-media-slide:first-child img { object-position: 26% 50%; }
.home .home-media-dots { left: auto; right: 16px; bottom: 12px; transform: none; }
.home .capability-strip { background: var(--paper); }
.home .capability-strip > .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 20px; gap: 24px; }
.home .home-capability { display: flex; align-items: center; gap: 14px; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.home .home-capability svg { width: 28px; height: 28px; flex: 0 0 28px; }
.home .capability-strip span::before { content: none; }
.home .home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 26px; }
.home .home-section-heading > div { min-width: 0; }
.home .home-section-heading h2 { font-size: clamp(1.55rem, 2.25vw, 2.25rem); line-height: 1.15; letter-spacing: -.025em; }
.home .home-section-heading .eyebrow { margin-bottom: 12px; color: var(--muted); font-size: .7rem; }
.home .home-section-heading p { margin-top: 12px; color: var(--muted); line-height: 1.5; }
.home .text-link { color: var(--home-link); font-size: .875rem; gap: 8px; padding-bottom: 4px; }
.home .home-section-heading > .text-link { flex-shrink: 0; margin-bottom: 3px; }
.home .home-directions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home .direction-card { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.home .direction-card:hover { border-color: var(--orange); }
.home .direction-image { overflow: hidden; min-width: 0; }
.home .direction-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.home .direction-card:hover .direction-image img { transform: scale(1.018); }
.home .direction-card--primary .direction-image { aspect-ratio: 16 / 9; }
.home .direction-card--primary:nth-child(2) .direction-image img { object-position: 50% 57%; }
.home .direction-copy { flex: 1; min-width: 0; position: relative; padding: 20px 54px 20px 22px; }
.home .direction-copy h3 { font-size: clamp(1.15rem, 1.65vw, 1.5rem); line-height: 1.18; letter-spacing: -.02em; }
.home .direction-copy p { margin-top: 9px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.home .direction-arrow { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--home-link); font-size: 1.6rem; line-height: 1; }
.home .direction-card--compact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.home .direction-card--compact .direction-image { min-height: 230px; }
.home .direction-card--compact .direction-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: 24px; }
.home .direction-card--compact .direction-arrow { position: static; margin-top: 18px; transform: none; }
.home .direction-card--compact .direction-copy h3 { font-size: clamp(1.1rem, 1.6vw, 1.45rem); overflow-wrap: break-word; }
.home .home-catalog-links { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 18px; }
.home .home-catalog-links a { display: flex; align-items: center; min-height: 44px; padding-block: 6px; color: var(--muted); font-size: .9rem; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 7px; }
.home .home-catalog-links a:hover { color: var(--ink); text-decoration-color: var(--home-link); }
.home .home-system { border-block: 1px solid var(--line); background: var(--wash); padding-block: 32px; }
.home .home-system-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .85fr); gap: 32px; align-items: center; }
.home .home-system-grid > * { min-width: 0; }
.home .home-system-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.home .home-system h2 { font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.15; }
.home .home-system-copy p { font-size: .925rem; line-height: 1.6; color: var(--muted); margin-top: 16px; }
.home .home-system-copy .text-link { margin-top: 20px; }
.home .home-system-steps { display: grid; gap: 20px; padding: 0; margin: 0; list-style: none; }
.home .home-system-steps li { display: flex; gap: 16px; }
.home .home-system-steps li > span { display: grid; place-items: center; align-self: start; width: 42px; height: 42px; flex: 0 0 42px; background: var(--surface); color: var(--muted); font-size: 1.25rem; }
.home .home-system-steps h3 { font-size: .875rem; letter-spacing: 0; line-height: 1.35; }
.home .home-system-steps p { color: var(--muted); font-size: .8rem; margin-top: 6px; line-height: 1.5; }
.home .home-equipment-selection .product-grid { gap: 22px; }
.home .home-equipment-selection .product-card { background: var(--surface); }
.home .home-equipment-selection .product-photo { aspect-ratio: 16 / 9; height: auto; }
.home .home-equipment-selection .product-info { padding: 20px 22px; }
.home .home-equipment-selection .product-info h3 { font-size: 1.25rem; }
.home .home-equipment-selection .product-info > p { font-size: .875rem; line-height: 1.5; margin: 10px 0 16px; }
.home .home-equipment-selection .card-price { font-size: 1rem; margin-top: auto; margin-bottom: 0; }
.home .home-equipment-selection .product-info .card-price-note { font-size: .75rem; line-height: 1.45; margin: 6px 0 0; }
.home .home-equipment-selection .product-info .text-link { margin-top: 18px; }
.home .home-production { padding-block: 30px; background: var(--wash); border-block: 1px solid var(--line); }
.home .home-production-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) auto; gap: 40px; align-items: center; }
.home .home-production h2 { font-size: clamp(1.4rem, 1.9vw, 1.85rem); line-height: 1.18; }
.home .home-production p { color: var(--muted); font-size: .875rem; line-height: 1.6; }
.home .home-production .text-link { justify-self: end; white-space: nowrap; }
.home .request-section { padding-block: 44px; background: var(--paper); }
.home .request-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 64px; }
.home .request-grid h2 { font-size: clamp(1.6rem, 2.4vw, 2.25rem); line-height: 1.15; }
.home .request-grid > div > p { margin-top: 16px; font-size: .95rem; }
.home .request-phone { margin-top: 22px; font-size: 1.45rem; }
.home .request-form { gap: 14px; align-content: start; }
.home .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.home .request-form label { gap: 6px; }
.home .request-form input:not([type=checkbox]):not([type=file]), .home .request-form textarea { background: var(--surface); border-color: var(--line); color: var(--ink); font-size: .9rem; }
.home .request-form .button { min-height: 48px; padding: 12px 20px; background: var(--orange); color: #1b2025; }
.home .home-request-details { min-width: 0; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.home .home-request-details summary { cursor: pointer; font-size: .85rem; min-height: 32px; padding-block: 6px; }
.home .home-request-details summary > span { color: var(--muted); font-size: .75rem; margin-left: 12px; }
.home .home-request-details > div { padding-top: 12px; display: grid; gap: 14px; }
.home .home-request-details .file-label { padding: 4px 0 0; border: 0; }
.home .home-request-details .honeypot { display: none; }
.home .preview-note { font-size: .75rem; }
.home .site-footer { padding-top: 34px; }
.home .footer-grid { padding-bottom: 26px; gap: 30px; }
.home .footer-name { font-size: 1.65rem; margin-bottom: 12px; }
.home .footer-grid h3 { margin-bottom: 16px; }
.home .footer-grid > div > a:not(.footer-name) { margin-bottom: 9px; }
.home .footer-bottom { padding-block: 18px; }

@media (max-width: 1200px) {
  .home .header-inner { gap: 18px; }
  .home .site-navigation { gap: 18px; }
  .home .home-capability { font-size: .78rem; gap: 10px; }
  .home .home-section-heading h2 { max-width: 28ch; }
  .home .direction-card--compact .direction-copy { padding: 22px; }
}
@media (max-width: 1100px) {
  .home .home-system-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .home-system-steps { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .home .home-production-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px 32px; }
  .home .home-production .text-link { grid-column: 2; justify-self: start; }
  .home .direction-card--compact .direction-copy { padding: 18px; }
  .home .direction-card--compact .direction-image { min-height: 215px; }
}
@media (max-width: 900px) {
  .home .header-inner { height: 72px; }
  .home .site-navigation { gap: 0; }
  .home .header-tools { gap: 10px; }
  .home .hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 32px; }
  .home .hero-copy { padding: 0; }
  .home .home-media-stage { aspect-ratio: 3 / 2; }
  .home .hero h1 { font-size: clamp(2rem, 4.6vw, 2.8rem); }
  .home .hero .eyebrow { font-size: .61rem; letter-spacing: .06em; }
  .home .hero-copy > p { font-size: .925rem; }
  .home .hero-note { display: none; }
  .home .hero-actions .button { width: 100%; padding-inline: 12px; }
  .home .home-capability { font-size: .8rem; }
  .home .capability-strip > .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
  .home .home-directions-grid { gap: 16px; }
  .home .direction-copy { padding: 18px 44px 18px 18px; }
  .home .direction-arrow { right: 16px; }
  .home .direction-copy p { font-size: .85rem; }
  .home .direction-card--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .direction-card--compact .direction-copy { padding: 16px; }
  .home .direction-card--compact .direction-copy h3 { font-size: 1.125rem; }
  .home .home-equipment-selection .product-grid { gap: 16px; }
  .home .home-equipment-selection .product-info { padding: 18px; }
  .home .request-grid { gap: 32px; }
}
@media (max-width: 760px) {
  .home .section { padding-block: 36px; }
  .home .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .home .hero-copy { padding: 0; }
  .home .hero h1 { max-width: 19ch; font-size: clamp(2.05rem, 5.8vw, 2.6rem); }
  .home .hero .eyebrow { font-size: .65rem; margin-bottom: 18px; }
  .home .hero-copy > p { max-width: 40em; font-size: 1rem; }
  .home .hero-actions { align-items: center; }
  .home .hero-actions .button { width: auto; padding-inline: 20px; }
  .home .home-media-stage { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
  .home .home-media-slide:first-child img { object-position: 40% 50%; }
  .home .home-section-heading { align-items: start; flex-direction: column; gap: 14px; }
  .home .home-section-heading h2 { font-size: 1.8rem; max-width: 28ch; }
  .home .home-section-heading p { font-size: .925rem; }
  .home .home-directions-grid { grid-template-columns: minmax(0, 1fr); }
  .home .direction-copy h3 { font-size: 1.25rem; }
  .home .direction-card--compact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .home .direction-card--compact .direction-image { min-height: 180px; }
  .home .direction-card--compact .direction-copy { padding: 20px; }
  .home .direction-card--compact .direction-copy h3 { font-size: 1.2rem; }
  .home .home-catalog-links { gap: 0 24px; }
  .home .home-equipment-selection .product-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .home .home-equipment-selection .product-info { padding: 20px; }
  .home .home-equipment-selection .product-info h3 { font-size: 1.35rem; }
  .home .home-equipment-selection .product-info > p { font-size: .925rem; }
  .home .home-equipment-selection .card-price { font-size: 1.1rem; }
  .home .request-grid { grid-template-columns: minmax(0, 1fr); }
  .home .request-form .button { justify-self: stretch; }
}
@media (max-width: 700px) {
  .home .home-system-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home .home-system-photo { aspect-ratio: 16 / 9; }
  .home .home-system h2 { font-size: 1.6rem; max-width: 23ch; }
  .home .home-system-steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .home .home-system-steps h3 { font-size: .95rem; }
  .home .home-system-steps p { font-size: .875rem; }
  .home .home-production-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .home .home-production .text-link { grid-column: 1; }
  .home .home-production h2 { font-size: 1.6rem; }
}
@media (max-width: 600px) {
  .home .hero-grid { padding-block: 28px; gap: 24px; }
  .home .hero-actions .button { width: 100%; }
  .home .hero-actions { gap: 18px; }
  .home .home-media-dots { bottom: 10px; right: 10px; }
  .home .home-capability { font-size: .75rem; }
  .home .home-capability svg { width: 24px; height: 24px; flex-basis: 24px; }
  .home .capability-strip > .wrap { gap: 16px; }
  .home .home-section-heading h2 { font-size: 1.65rem; }
  .home .direction-card--compact { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .home .direction-card--compact .direction-copy { padding: 16px; }
  .home .direction-card--compact .direction-copy h3 { font-size: 1.1rem; }
  .home .direction-copy h3 { font-size: 1.15rem; }
  .home .direction-copy p { font-size: .8rem; }
  .home .home-catalog-links { gap: 0 20px; }
  .home .home-catalog-links a { font-size: .85rem; }
  .home .form-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .home .request-section { padding-block: 36px; }
  .home .home-request-details summary > span { display: block; margin-left: 16px; margin-top: 3px; }
  .home .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .home .footer-grid > div:first-child { grid-column: 1 / -1; }
  .home .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .home .brand, .home .brand img { width: 140px; }
  .home .header-inner { gap: 10px; }
  .home .header-tools { gap: 8px; }
  .home .menu-toggle { padding-inline: 10px; gap: 8px; }
  .home .hero h1 { font-size: 2rem; }
  .home .direction-card--compact .direction-copy { padding: 12px; }
  .home .direction-card--compact .direction-copy h3 { font-size: 1rem; }
  .home .home-capability { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .home .direction-card, .home .direction-image img { transition: none; }
  .home .direction-card:hover .direction-image img { transform: none; }
}

/* Retain the v49 side-by-side first screen on phones held horizontally. */
@media (orientation: landscape) and (min-width: 560px) and (max-width: 900px) {
  .home .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 28px); padding-block: 24px; }
  .home .hero h1 { max-width: none; font-size: clamp(1.5rem, 3.5vw, 2rem); }
  .home .hero .eyebrow { font-size: .59rem; margin-bottom: 14px; }
  .home .hero-copy > p { margin-top: 14px; font-size: .875rem; line-height: 1.45; }
  .home .hero-actions { margin-top: 18px; gap: 12px; }
  .home .hero-actions .button { width: auto; max-width: 100%; font-size: .8rem; gap: 8px; padding: 10px 12px; }
  .home .hero-link { font-size: .85rem; }
  .home .home-media-stage { aspect-ratio: 3 / 2; }
}
