/* Homepage styles stay isolated from the product and contact pages. */
.home-design { background: #fff; }
.home-design h2 { font-size: 2.75rem; font-weight: 600; line-height: 1.2; }
.home-design h2 em { font-style: normal; color: var(--teal-light); }
.home-eyebrow { font-size: 0.72rem; font-weight: 600; margin-bottom: 22px; color: #527168; }
.home-design .hero-inner { max-width: var(--container); }
.home-design .hero-copy { max-width: 620px; }
.home-design .hero h1 { font-size: 4.5rem; font-weight: 600; line-height: 1.12; }
.home-design .hero-lead { max-width: 35ch; font-size: 1rem; line-height: 1.8; }
.home-design .hero-art img { right: -2%; bottom: 5%; height: 92%; }
.home-design .product-strip { background: #f0f3f2; }
.home-design .product-strip-item { font-size: 0.96rem; font-weight: 500; padding-block: 23px; }
.home-design .product-strip-item::before { width: 7px; height: 7px; border-radius: 50%; }
.home-section { padding: 110px 0; }
.home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.home-section-heading > p { max-width: 36ch; color: #62716b; font-size: 0.95rem; }
.home-section-heading h2 span { color: #6d8580; }
.home-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.home-category { display: block; min-width: 0; }
.home-category-image { overflow: hidden; background: #edf0ef; aspect-ratio: 4 / 5; }
.home-category-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s ease; }
.home-category:nth-child(2) { padding-top: 38px; }
.home-category:nth-child(3) { padding-top: 76px; }
.home-category:first-child img { object-position: 43% center; }
.home-category-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 24px 0 12px; }
.home-category-title h3 { font-size: 1.12rem; font-weight: 600; }
.home-category-mark { flex: none; width: 8px; height: 8px; border: 1px solid #88a59b; border-radius: 50%; transition: background 0.2s ease; }
.home-category > p { color: #62716b; font-size: 0.85rem; max-width: 36ch; }
.home-category-link { display: inline-block; font-size: 0.78rem; font-weight: 600; margin-top: 20px; padding-bottom: 5px; border-bottom: 1px solid #b5c9c0; }
.home-category:hover img { transform: scale(1.045); }
.home-category:hover .home-category-mark { background: var(--teal); border-color: var(--teal); }
.home-category:hover .home-category-link { color: var(--teal); border-color: var(--teal); }
.home-craft { background: #153e36; color: #fff; padding: 88px 0; }
.home-craft-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.home-craft-media { min-width: 0; margin: 0; }
.home-craft-media > img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; }
.home-craft-media figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; font-size: 0.68rem; padding-top: 18px; color: #b4cbc2; }
.home-craft-media figcaption span { color: #80a59a; }
.home-craft-copy .home-eyebrow { color: #a7cabe; }
.home-craft-copy > p:not(.home-eyebrow) { font-size: 0.95rem; color: #bed0c9; margin-top: 26px; max-width: 42ch; }
.home-craft-points { margin: 34px 0; display: grid; gap: 20px; }
.home-craft-points > div { padding-left: 18px; border-left: 1px solid #649b8a; }
.home-craft-points h3 { font-size: 0.9rem; font-weight: 500; margin-bottom: 5px; }
.home-craft-points p { font-size: 0.79rem; color: #a7bfb5; }
.home-inline-link { display: inline-block; min-height: 44px; padding: 10px 0; border-bottom: 1px solid #9eb6ac; font-size: 0.85rem; font-weight: 600; transition: color 0.2s ease, border-color 0.2s ease; }
.home-inline-link:hover { color: var(--teal); border-color: currentColor; }
.home-craft .home-inline-link:hover { color: var(--teal-light); }
.home-services { background: #f6f7f5; }
.home-services-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; }
.home-services-intro > p:not(.home-eyebrow) { max-width: 35ch; color: #62716b; font-size: 0.95rem; margin: 26px 0 14px; }
.home-material-note { display: flex; align-items: center; gap: 20px; margin-top: 42px; font-size: 0.72rem; line-height: 1.7; color: #6c8078; }
.home-material-line { width: 46px; height: 46px; background: repeating-linear-gradient(90deg, #bacbc2 0 1px, transparent 1px 6px); }
.home-service-list { border-top: 1px solid #cbd8d1; }
.home-service { border-bottom: 1px solid #cbd8d1; }
.home-service summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 27px 0; cursor: pointer; list-style: none; }
.home-service summary::-webkit-details-marker { display: none; }
.home-service summary h3 { font-size: 1.13rem; font-weight: 500; }
.home-service-toggle { position: relative; width: 28px; height: 28px; flex: none; border: 1px solid #b4c6bc; border-radius: 50%; }
.home-service-toggle::before, .home-service-toggle::after { content: ''; position: absolute; background: #427566; top: 12px; left: 8px; width: 10px; height: 1px; }
.home-service-toggle::after { transform: rotate(90deg); transition: transform 0.2s ease; }
.home-service[open] .home-service-toggle::after { transform: rotate(0); }
.home-service[open] summary { color: #168477; }
.home-service > p { max-width: 48ch; padding: 0 36px 27px 0; font-size: 0.89rem; color: #62716b; }
.home-process { background: #eaf0f3; padding: 88px 0; }
.home-process .home-eyebrow { color: #60767f; }
.home-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.home-timeline li { position: relative; padding: 36px 30px 0 0; border-top: 1px solid #b6c9cd; }
.home-timeline li::before { content: ''; position: absolute; width: 9px; height: 9px; background: #347972; border: 3px solid #eaf0f3; box-sizing: content-box; top: -8px; left: 0; border-radius: 50%; }
.home-timeline h3 { font-size: 0.96rem; font-weight: 600; margin-bottom: 12px; }
.home-timeline p { font-size: 0.82rem; color: #596d73; max-width: 26ch; }
.home-contact { padding: 98px 0; background: #fff; }
.home-contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.home-contact h2 { font-size: 3.25rem; }
.home-contact h2 em { color: #1b9384; }
.home-contact-actions { min-width: 220px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.home-contact-actions > p { font-size: 0.85rem; color: #62716b; }
.home-contact-phone { font-size: 0.85rem; padding: 8px 0; }
.home-contact-phone:hover { text-decoration: underline; }
.home-design a:focus-visible, .home-design summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 6px; }

@media (min-width: 1800px) {
  .home-design .hero-inner { max-width: 1460px; }
  .home-design .hero h1 { font-size: 5rem; }
}
@media (max-width: 1100px) {
  .home-design .hero h1 { font-size: 3.5rem; }
  .home-design .hero-copy { max-width: 56%; }
  .home-design .hero-art img { right: -15%; }
  .home-design h2 { font-size: 2.25rem; }
  .home-craft-grid { gap: 40px; }
  .home-services-grid { gap: 60px; }
  .home-category-grid { gap: 22px; }
  .home-category-title h3 { font-size: 1rem; }
  .home-contact h2 { font-size: 2.75rem; }
}
@media (max-width: 720px) {
  .home-section { padding: 64px 0; }
  .home-design .hero-copy { max-width: 100%; }
  .home-design .hero-inner { padding-top: calc(var(--header-h) + 28px); }
  .home-design .hero h1 { font-size: 2.6rem; margin-bottom: 16px; }
  .home-design .hero-lead { font-size: 0.9rem; line-height: 1.65; max-width: 32ch; margin-bottom: 22px; }
  .home-design .hero-art img { right: -3%; bottom: -4%; height: 110%; }
  .home-design .product-strip-item { padding-block: 19px; font-size: 0.85rem; }
  .home-design h2 { font-size: 2rem; }
  .home-eyebrow { margin-bottom: 16px; }
  .home-section-heading { display: block; margin-bottom: 32px; }
  .home-section-heading > p { margin-top: 22px; max-width: 38ch; font-size: 0.88rem; }
  .home-section-heading > a { margin-top: 16px; }
  .home-category-grid { grid-template-columns: 1fr; gap: 38px; }
  .home-category:nth-child(2), .home-category:nth-child(3) { padding-top: 0; }
  .home-category-image { aspect-ratio: 6 / 5; }
  .home-category-title { margin-top: 20px; }
  .home-category-title h3 { font-size: 1.2rem; }
  .home-category > p { max-width: 40ch; }
  .home-category-link { margin-top: 14px; }
  .home-craft { padding: 56px 0; }
  .home-craft-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-craft-media > img { aspect-ratio: 6 / 5; }
  .home-craft-copy > p:not(.home-eyebrow) { font-size: 0.89rem; }
  .home-services-grid { grid-template-columns: 1fr; gap: 34px; }
  .home-services-intro > p:not(.home-eyebrow) { font-size: 0.89rem; max-width: 40ch; }
  .home-material-note { display: none; }
  .home-service summary { padding: 23px 0; }
  .home-service summary h3 { font-size: 1rem; }
  .home-service > p { font-size: 0.84rem; padding-right: 12px; }
  .home-process { padding: 56px 0; }
  .home-timeline { grid-template-columns: 1fr; margin-left: 7px; }
  .home-timeline li { border-top: 0; border-left: 1px solid #b6c9cd; padding: 0 0 30px 26px; }
  .home-timeline li:last-child { padding-bottom: 0; }
  .home-timeline li::before { top: 2px; left: -8px; }
  .home-timeline p { max-width: 34ch; }
  .home-contact { padding: 64px 0; }
  .home-contact-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .home-contact h2 { font-size: 2.15rem; }
  .home-contact-actions { gap: 16px; }
}
@media (max-width: 720px) and (max-height: 760px) {
  .home-design .hero-inner { padding-top: calc(var(--header-h) + 20px); }
  .home-design .hero-lead { font-size: 0.83rem; margin-bottom: 16px; }
}
@media (max-width: 340px) {
  .home-design .hero h1 { font-size: 2.2rem; }
  .home-design h2 { font-size: 1.75rem; }
  .home-contact h2 { font-size: 1.8rem; }
}
@media (min-width: 480px) and (max-height: 500px) {
  .home-design .hero-copy { max-width: 58%; }
  .home-design .hero h1 { font-size: 2rem; }
  .home-design .hero-lead { font-size: 0.83rem; max-width: 40ch; margin-bottom: 16px; }
  .home-design .hero-art img { bottom: 0; height: 100%; }
}
