/* Global manufacturing and buyer-support additions. */
.global-section { max-width:1280px; margin:0 auto; padding:64px 5%; color:#173a36; }
.global-section h2 { font-size:clamp(27px,3vw,42px); line-height:1.18; margin:0 0 24px; }
.global-section p { line-height:1.75; max-width:850px; }
.global-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:28px 0; }
.global-grid article { background:#f5f4ee; border:1px solid #dce5db; border-radius:12px; padding:28px; }
.global-grid h3 { margin:10px 0 12px; font-size:21px; line-height:1.3; }
.global-grid a,.global-callout a,.rfq-page main a:not(.btn) { color:#1c5c4a; text-decoration:underline; text-underline-offset:4px; }
.global-number { color:#567763; font-size:14px; letter-spacing:2px; }
.global-callout { padding:28px; background:#edf3e9; border-left:3px solid #55765b; border-radius:6px; }
.global-section .btn { margin-top:18px; }
.global-form { max-width:860px; display:grid; gap:20px; }
.global-form label { display:flex; flex-direction:column; gap:8px; font-weight:600; }
.global-form input,.global-form textarea,.global-form select { width:100%; min-width:0; padding:14px; border:1px solid #aebeb2; border-radius:6px; background:#fff; color:#193d35; font:inherit; }
.global-form input:focus,.global-form textarea:focus,.global-form select:focus { outline:2px solid #40735b; outline-offset:2px; }
.global-form .form-row { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.global-form .btn { justify-self:start; cursor:pointer; }
.global-form .btn:disabled { opacity:.65; cursor:wait; }
.global-form .form-note { font-size:14px; font-weight:400; margin:0; }
.global-form .hp-field { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.global-form [role=status] { padding:14px 0; font-weight:600; }
.global-form [role=status]:empty { padding:0; }
.rfq-page main { padding-top:30px; }
.policy-copy { max-width:900px; }
.policy-copy h2 { font-size:25px; margin-top:32px; }
.site-search-results { padding:10px 0; max-height:55vh; overflow:auto; display:grid; gap:10px; }
.site-search-results a { display:block; padding:12px 16px; border:1px solid #dce5db; border-radius:6px; text-decoration:none; }
.home-hero .intro { max-width:650px; }
/* Homepage Hero only: preserve the shared hero and button design system. */
.home-page .home-hero {
  display: flex;
  align-items: center;
  min-height: 594px;
  background-image: linear-gradient(90deg, rgba(252,247,243,0.768) 0, rgba(252,247,243,0.72) 320px, rgba(252,247,243,0.656) 560px, rgba(252,247,243,0.36) 720px, rgba(252,247,243,0) 1000px), url("assets/home/hero-banner.webp");
  background-position: center;
}
.home-page .home-hero .hero-copy {
  width: min(820px, calc(56vw + 60px));
  padding: 128px 0 20px 50px;
  text-align: left;
  transform: translateY(-60px);
}
.home-page .home-hero .eyebrow {
  margin: 0 0 26px;
  color: #a75364;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-style: italic;
  letter-spacing: normal;
  line-height: normal;
}
.home-page .home-hero h1 {
  max-width: 770px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 3.85vw, 50px);
  font-weight: 400;
  font-style: normal;
  line-height: 1.12;
  white-space: normal;
}
.home-page .home-hero h1 em { font-style: italic; font-weight: inherit; }
.home-page .home-hero .home-hero-title-line { display: block; white-space: nowrap; }
.home-page .home-hero .intro {
  width: 520px;
  max-width: 100%;
  margin: 28px 0 53px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
}
.home-page .home-hero .hero-buttons { gap: 16px; flex-wrap: wrap; }
.home-page .home-hero .hero-buttons .btn { width: 210px; min-height: 52px; height: auto; padding: 14px 16px; }
.home-page .home-hero .btn:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
@media (max-width: 900px) {
  .global-grid, .global-form .form-row { grid-template-columns: minmax(0, 1fr); }
  .global-section { padding: 44px 20px; }
  .global-form .btn { width: 100%; min-height: 48px; justify-self: stretch; }
  .home-page .home-hero { min-height: 0; margin-inline: 20px; }
  .home-page .home-hero .hero-copy { width: min(100%, 700px); padding: 60px 28px; transform: none; }
  .home-page .home-hero h1 { font-size: clamp(32px, 5.1vw, 38px); }
  .home-page .home-hero .home-hero-title-line { white-space: normal; }
  .home-page .features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 18px 20px; }
  .home-page .features article { height: 100%; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; text-align: center; }
  .home-page .features .feature-icon { width: auto; font-size: clamp(18px, 5vw, 24px); line-height: 1; }
  .home-page .features h2 { font-size: clamp(10px, 2.8vw, 13px); line-height: 1.25; white-space: normal; overflow-wrap: anywhere; }
  .home-page .features p { display: none; }
}
@media (max-width: 700px) {
  .home-page .hero.home-hero {
    display: flex;
    align-items: center;
    min-height: 540px;
    padding: 24px 0;
    background-image: linear-gradient(180deg, #fcf7f3 0%, rgba(252, 247, 243, .97) 47%, rgba(252, 247, 243, .76) 70%, rgba(252, 247, 243, 0) 100%), url("assets/home/hero-banner.webp");
    background-position: center, 58% bottom;
    background-size: 100% 100%, cover;
  }
  .home-page .hero.home-hero .hero-copy { width: 100%; max-width: none; padding: 0 20px; }
  .home-page .hero.home-hero h1 { font-size: clamp(32px, 8.5vw, 38px); line-height: 1.12; }
  .home-page .hero.home-hero .home-hero-title-line { display: inline; white-space: normal; }
  .home-page .hero.home-hero .home-hero-title-line + .home-hero-title-line::before { content: " "; }
  .home-page .hero.home-hero .eyebrow { margin-bottom: 16px; font-size: 14px; line-height: 1.4; }
  .home-page .hero.home-hero .intro { width: 100%; margin: 18px 0 22px; font-size: 15px; line-height: 1.5; }
  .home-page .hero.home-hero .hero-buttons { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .home-page .hero.home-hero .hero-buttons .btn { width: 100%; min-height: 48px; padding: 12px 16px; }
}

/* Home project selector, with a spacious editorial image-and-copy layout. */
.home-page .start-path { max-width: none; padding: 92px 50px; color: #252936; background: #fcf9f8; font-family: "Avenir Next", Avenir, Arial, sans-serif; }
.start-path > .b2b-eyebrow { color: var(--wine); }
/* Match the section titles and descriptions in the Capabilities module below. */
.home-page .start-path h2,
.home-page .start-path-copy h3 { color: #312c2c; font-family: Georgia, "Times New Roman", serif; font-size: 32px; font-style: normal; font-weight: 400; letter-spacing: normal; line-height: 1.15; }
.start-path-navigation { display: flex; align-items: center; gap: 24px; margin: 32px 0 42px; }
.start-path-tabs { display: grid; grid-template-columns: repeat(3, 1fr); flex: 1; border-bottom: 1px solid #e8e5e6; }
.start-path-tabs button { position: relative; border: 0; border-bottom: 3px solid transparent; background: transparent; padding: 18px 12px; color: #737580; font: inherit; font-size: 16px; cursor: pointer; text-align: left; }
.start-path-tabs button span { margin-right: 12px; font-size: 12px; opacity: .65; }
.start-path-tabs button[aria-selected="true"] { color: #e72e6a; border-bottom-color: #ee3874; }
.start-path-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: center; animation: start-path-reveal .4s ease both; }
.start-path-panel[hidden] { display: none; }
.start-path-media { aspect-ratio: 1.25; overflow: hidden; border-radius: 3px; background: #f6f4f1; box-shadow: 0 12px 36px #2529360a; }
.start-path-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.start-path-copy .start-path-label { margin: 0 0 16px; color: #ad4e35; font-size: 16px; }
.start-path-copy h3 { margin: 0 0 26px; }
.start-path-copy > p:not(.start-path-label) { color: #4f4545; font-family: "Avenir Next", Avenir, Montserrat, Arial, sans-serif; font-size: 16px; font-style: normal; font-weight: 400; line-height: 1.6; margin: 0 0 22px; }
.start-path-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 12px; padding: 14px 18px 14px 24px; border-radius: 50px; box-shadow: 0 8px 35px #2529360a; color: #e72e6a; background: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
.start-path-link span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #ee3874; color: white; font-size: 23px; }
.start-path-link:hover { box-shadow: 0 8px 30px #ee38741a; }
.start-path button:focus-visible, .start-path a:focus-visible { outline: 2px solid #e72e6a; outline-offset: 5px; }
@keyframes start-path-reveal { from { opacity: .35; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  .home-page .start-path { padding: 68px 50px; }
  .start-path-navigation { gap: 12px; margin: 24px 0 28px; align-items: flex-start; }
  .start-path-tabs button { font-size: 13px; padding: 12px 6px; line-height: 1.5; }
  .start-path-tabs button span { display: block; margin: 0 0 4px; }
  .start-path-panel { grid-template-columns: 1fr; gap: 26px; }
  .start-path-media { aspect-ratio: 1.5; }
  .start-path-copy { min-height: 355px; }
  .start-path-copy h3 { margin-bottom: 20px; }
  .start-path-copy > p:not(.start-path-label) { margin-bottom: 16px; }
  .start-path-link { font-size: 13px; gap: 12px; padding-left: 18px; }
}
@media (prefers-reduced-motion: reduce) { .start-path-panel { animation: none; } }

@media (max-width: 520px) {
  .home-page .start-path { padding-inline: 20px; }
}

/* Match the project selector tabs to the Featured Products tabs. */
.start-path-navigation { margin:42px 0 52px; }
.start-path-tabs { display:flex; flex:1; min-width:0; gap:54px; overflow-x:auto; border-bottom:1px solid #e7deda; scrollbar-width:none; }
.start-path-tabs::-webkit-scrollbar { display:none; }
.start-path-tabs button {
  position:relative;
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  padding:0 0 13px;
  border:0;
  border-radius:0;
  background:transparent;
  color:#6a6060;
  white-space:nowrap;
  font-family:inherit;
  font-size:18px;
  font-weight:400;
  line-height:1.2;
  cursor:pointer;
  text-align:left;
}
.start-path-tabs button::after { position:absolute; right:0; bottom:-1px; left:0; height:2px; background:transparent; content:""; }
.start-path-tabs button:nth-child(2) { letter-spacing:-0.7px; }
.start-path-tabs button:hover,
.start-path-tabs button[aria-selected="true"] { color:var(--wine); }
.start-path-tabs button[aria-selected="true"]::after { background:var(--wine); }
.start-path-tabs button:focus-visible { outline:1px solid var(--wine); outline-offset:5px; }
@media(min-width:901px) {
  .start-path-copy { transform:translateX(-30px); }
}
@media(max-width:900px) {
  .start-path-navigation { margin:34px 0 48px; }
  .start-path-tabs { gap:44px; }
  .start-path-tabs button { padding:0 0 13px; font-size:17px; line-height:1.2; }
}
.start-path-media { width:calc(100% - 60px); justify-self:start; aspect-ratio:auto; border-radius:12px; }
.start-path-media img { display:block; width:100%; height:auto; object-fit:contain; border-radius:12px; }
.start-path-copy .start-path-link {
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:390px;
  max-width:100%;
  min-height:52px;
  margin:34px 0 0;
  padding:0 24px;
  border:0;
  border-radius:9999px;
  background:var(--wine);
  color:#fff;
  box-shadow:none;
  font-family:"Avenir Next",Avenir,Montserrat,Arial,sans-serif;
  font-size:16px;
  font-weight:400;
  text-align:center;
  transition:background .18s ease,transform .18s ease;
}
.start-path-copy .start-path-link span { display:none; }
.start-path-copy .start-path-link:hover,
.start-path-copy .start-path-link:focus-visible { background:#651825; outline:0; transform:translateY(-2px); }

/* Give homepage module calls to action a full pill radius. */
body.home-page :is(
  .hero-buttons .btn,
  .start-path-link,
  .product-inquiry-btn,
  .capability-card-copy > span,
  .built-business-heading-cta,
  .built-business-card-cta,
  .footer-buttons a
) {
  border-radius:9999px;
  font-family:"Avenir Next",Avenir,Montserrat,Arial,sans-serif;
}

@media (max-width: 700px) {
  .home-page .hero.home-hero .hero-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .home-page .hero.home-hero .hero-buttons .btn { width: 100%; min-width: 0; padding: 12px 6px; white-space: nowrap; font-size: clamp(11px, 3.2vw, 14px); }

  .home-page .built-business-dots button,
  .home-page .built-business-dots button.is-active { width: 32px; height: 32px; border: 0; background: transparent; }
  .home-page .built-business-dots button::before { width: 7px; height: 7px; }

  .home-page .home-manufacturing-highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .home-page .home-manufacturing-highlight:last-child { grid-column: auto; max-width: none; }
  .home-page .home-manufacturing-icon { width: 56px; height: 56px; }
  .home-page .home-manufacturing-icon-image { width: 44px; height: 44px; }
  .home-page .home-manufacturing-highlight h3 { margin: 12px 0 8px; font-size: 12px; overflow-wrap: anywhere; }
  .home-page .home-manufacturing-rule { width: 26px; }
  .home-page .home-manufacturing-highlight p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; margin-top: 8px; font-size: 10px; line-height: 1.4; }

  .home-page .home-manufacturing-commitments { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; margin-top: 28px; padding: 0; background: none; }
  .home-page .home-manufacturing-commitments li,
  .home-page .home-manufacturing-commitments li:first-child,
  .home-page .home-manufacturing-commitments li:last-child { grid-column: auto; padding: 10px 2px; border: 0; background: #fcf9f8; }
  .home-page .home-manufacturing-commitment-icon { width: 40px; height: 40px; }
  .home-page .home-manufacturing-commitments h4 { margin: 8px 0 0; font-size: 10px; line-height: 1.2; white-space: normal; overflow-wrap: anywhere; }
  .home-page .home-manufacturing-commitments p { display: none; }

  .home-page .home-footer .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .home-page .home-footer .footer-cta,
  .home-page .home-footer .footer-socials { grid-column: 1 / -1; }
  .home-page .home-footer .footer-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .home-page .home-footer .footer-buttons a { width: 100%; min-width: 0; padding: 10px 5px; font-size: 12px; }
  .home-page .home-footer .footer-main > .footer-column { min-width: 0; gap: 8px; font-size: 13px; }
  .home-page .home-footer .footer-main > .footer-column a { width: auto; overflow-wrap: anywhere; }
}
