:root { --ink: #193846; --muted: #526b76; }
.header nav { gap: 20px; }
.nav-blog { color: #25694f; }
.footer-blog { display: block; margin: 14px 0 8px; font-size: 13px; font-weight: 700; color: #295e51; }
.hero { gap: 50px; padding-top: 56px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(39px, 4vw, 55px); }
.hero-desc { font-size: clamp(19px, 1.65vw, 23px); line-height: 1.75; color: #274950; margin: 25px 0 18px; }
.hero-desc strong { color: #174e50; font-weight: 800; }
.small-break { display: none; }
.hero .muted { font-size: 15px; line-height: 1.95; }
.hero-tags span { font-size: 13px; font-weight: 700; }
.hero-visual { min-height: 0; align-self: center; padding: 16px; border-radius: 24px; background: #edf4f0; box-shadow: 0 18px 42px #153a4510; }
.hero-visual > img { width: 100%; height: auto; aspect-ratio: 3369 / 977; object-fit: contain; margin: 0; border-radius: 12px; }
.hero-visual figcaption { padding: 12px 3px; background: none; font-size: 12px; color: #355a58; }
.hero-materials { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.hero-materials img { background: white; border-radius: 10px; width: 100%; height: 138px; object-fit: contain; padding: 8px; }
.hero-photo-label { text-align: center; font-size: 12px; color: #486760; padding-top: 14px; }
.home-samples { padding: 76px 0; }
.home-sample-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.home-sample { padding: 20px; border-radius: 18px; }
.home-sample img { height: 216px; padding: 8px; }
.home-sample .sample-field { margin-top: 18px; font-size: 12px; color: #38735d; font-weight: 700; }
.home-sample h3 { font-size: 22px; margin: 7px 0 8px; }
.home-sample p { font-size: 14px; line-height: 1.8; }
.home-sample > span { margin-top: 20px; font-size: 13px; min-height: 42px; }
.home-path { padding-top: 76px; padding-bottom: 50px; }
.home-facility { gap: 50px; padding-top: 44px; padding-bottom: 82px; }
.home-facility .workplace-photos { gap: 22px; }
.home-facility .workplace-photos figure { background: #f1f5f0; }
.home-facility .workplace-photos .photo-detail { padding: 0; border: 0; background: #edf1ec; }
.home-facility .workplace-photos .photo-detail img { width: 100%; height: 210px; max-height: none; object-fit: cover; }
.home-facility .workplace-photos figcaption { padding: 14px 18px; }
.home-facility .workplace-photos figcaption strong { font-size: 17px; }
.home-facility .workplace-photos figcaption span { font-size: 13px; }
.home-quality-facts { display: grid; gap: 12px; margin: 24px 0; padding: 20px 0; border-top: 1px solid #d4dfdb; border-bottom: 1px solid #d4dfdb; }
.home-quality-facts span { font-size: 15px; color: #37545e; }
.home-quality-facts strong { font-weight: 800; color: #205a50; }
.home-journal { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 76px; padding: 38px; background: #f2f0f6; border: 1px solid #e2deea; border-radius: 24px; }
.home-journal h2 { font-size: 31px; }
.home-journal p:not(.eyebrow) { font-size: 14px; color: #536372; margin: 18px 0 24px; }
.journal-link { background: white; border: 1px solid #b9cfc3; color: #285c4f; border-radius: 30px; }
.journal-photo { display: block; background: white; padding: 10px; border-radius: 14px; overflow: hidden; }
.journal-photo img { width: 100%; height: 230px; object-fit: cover; border-radius: 9px; }
.journal-photo span { display: block; padding: 12px 7px 4px; font-size: 13px; color: #365d55; }
.sample-intro { display: grid; grid-template-columns: .9fr 1.2fr; align-items: center; gap: 35px; padding: 30px; margin-bottom: 32px; border: 1px solid #d8e5dd; border-radius: 18px; background: #edf4ee; }
.sample-intro h3 { font-size: 25px; }
.sample-intro p { font-size: 15px; color: #46635b; line-height: 1.9; }
.sample-caption { color: #526a71; font-size: 13px; padding-top: 20px; margin-top: 26px; border-top: 1px solid #d9e3dd; }
.sample-results { font-size: 13px; color: #527065; margin: -10px 0 22px; }
.product { scroll-margin-top: 130px; }
.product h3 { font-size: 21px; }
.product > p:last-child { font-size: 14px; color: #425d68; line-height: 1.8; }
.product .image-button { height: 280px; background: white; }
.application-pair figcaption { font-size: 14px; font-weight: 650; line-height: 1.8; color: #314e5d; }
.photo-detail { display: block; width: 100%; position: relative; padding: 0; background: #f1f4f0; border: 0; }
.photo-detail > span { position: absolute; right: 14px; bottom: 14px; display: inline-block; background: #fffefa; color: #284b54; padding: 8px 14px; border: 1px solid #c6d5ce; border-radius: 24px; font-size: 12px; font-weight: 750; box-shadow: 0 3px 12px #14332912; }
.photo-detail:hover > span { background: #e4f0e7; }
.facility-grid { gap: 26px; }
.facility-grid .wide-production, .facility-grid .wide-workshop { grid-column: 1 / -1; }
.facility-grid .wide-production img { height: auto; max-height: none; object-fit: contain; }
.facility-grid .wide-workshop img { height: auto; max-height: 540px; object-fit: contain; }
.facility-grid img { width: 100%; height: 270px; object-fit: contain; background: #e6eae5; }
.facility-grid strong { font-size: 21px; }
.facility-grid span { font-size: 15px; color: #d9e6e9; }
.facility-grid .photo-detail > span { color: #284b54; font-size: 12px; }
.equipment-summary { margin-top: 44px; }
.equipment-summary h3 { font-size: 27px; margin-bottom: 22px; }
.equipment-table-wrap { overflow-x: auto; border: 1px solid #6c879750; border-radius: 14px; }
.equipment-summary table { border-collapse: collapse; width: 100%; text-align: left; }
.equipment-summary th, .equipment-summary td { padding: 18px 24px; border-bottom: 1px solid #6c879750; font-size: 16px; }
.equipment-summary thead { background: #ffffff0b; color: #c5e0e5; }
.equipment-summary tbody tr:last-child > * { border-bottom: 0; }
.equipment-summary td strong { color: #d4f0dc; font-size: 19px; }
.iso p:not(.eyebrow), .iso-list span, .iso-list > p { color: #d5e2e5; }
.iso-list > p { font-size: 14px !important; }
.iso .certificate-btn { min-height: 48px; padding: 12px 20px; background: #fbefe4; color: #604126; border: 1px solid #dfc2a5; }
#imageDialog { width: min(1440px,96vw); max-width: 96vw; max-height: 94dvh; border-radius: 18px; padding: 20px; overflow: auto; }
#imageDialog #closeDialog { position: sticky; top: 0; z-index: 2; min-height: 44px; background: #edf3ef; border: 1px solid #c9dbd0; color: #234c43; border-radius: 24px; font-weight: 700; }
#imageDialog img { width: auto; height: auto; max-width: 100%; max-height: 74dvh; object-fit: contain; margin: 16px auto; cursor: zoom-in; background: white; }
#imageDialog img.actual-size { width: auto; height: auto; max-width: none; max-height: none; cursor: zoom-out; }
#imageDialog p { font-size: 16px; font-weight: 700; margin: 14px 0; }
.original-photo { display: flex; align-items: center; justify-content: center; width: fit-content; max-width: 100%; min-height: 46px; margin: 18px auto 4px; padding: 10px 24px; border: 1px solid #a9c9ba; border-radius: 999px; background: #eff6f1; font-size: 14px; font-weight: 750; color: #245a48; text-decoration: none; text-align: center; }
.original-photo:hover { background: #dfeee4; border-color: #7da991; color: #173f32; }
.contact-grid .lead { font-size: 18px; }
@media (max-width:1100px) {
  .header nav { gap: 12px; font-size: 13px; }
  .hero { gap: 30px; }
  .hero-materials img { height: 112px; }
  .home-sample img { height: 180px; }
  .home-journal { gap: 26px; padding: 28px; }
}
@media (max-width:900px) {
  .header nav.open { gap: 4px; }
  .header nav .nav-blog { padding: 12px 20px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 640px; }
  .hero-visual { width: 100%; }
  .hero-materials img { height: 155px; }
  .home-facility { grid-template-columns: 1fr; gap: 30px; }
  .home-facility .workplace-photos { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .home-facility .workplace-photos .photo-detail img { height: 210px; }
  .home-quality-facts { grid-template-columns: repeat(3,1fr); gap: 18px; }
  .home-quality-facts strong { display: block; }
}
@media (max-width:740px) {
  .hero { padding-top: 36px; padding-bottom: 42px; gap: 30px; }
  .hero h1 { font-size: clamp(35px,8.8vw,45px); }
  .hero-desc { font-size: 19px; }
  .hero .muted { font-size: 14px; }
  .hero-tags span { font-size: 12px; }
  .hero-visual { padding: 12px; border-radius: 18px; }
  .hero-visual > img { height: auto; margin: 0; }
  .hero-materials { gap: 7px; }
  .hero-materials img { height: 100px; padding: 5px; }
  .hero-visual figcaption, .hero-photo-label { font-size: 11px; }
  .home-samples { padding: 50px 0; }
  .home-sample-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .home-sample { padding: 12px; }
  .home-sample img { height: 145px; padding: 4px; }
  .home-sample h3 { font-size: 18px; line-height: 1.5; }
  .home-sample p { font-size: 12px; }
  .home-sample > span { font-size: 12px; padding: 8px 10px; }
  .home-sample .sample-field { font-size: 11px; margin-top: 12px; }
  .home-path { padding: 48px 0 28px; }
  .home-path h2, .home-samples h2 { font-size: 28px; }
  .home-facility { padding: 32px 0 52px; }
  .home-facility .workplace-photos { grid-template-columns: 1fr; gap: 20px; }
  .home-facility .workplace-photos .photo-detail img { height: auto; max-height: 270px; object-fit: contain; }
  .home-facility .workplace-photos figcaption span { font-size: 13px; }
  .home-quality-facts { grid-template-columns: 1fr; gap: 10px; }
  .home-quality-facts strong { display: inline; }
  .home-journal { grid-template-columns: 1fr; padding: 24px; margin-bottom: 50px; gap: 25px; }
  .home-journal h2 { font-size: 28px; }
  .journal-photo img { height: auto; }
  .sample-intro { grid-template-columns: 1fr; gap: 15px; padding: 24px; }
  .sample-intro h3 { font-size: 24px; }
  .sample-intro p { font-size: 14px; }
  .product .image-button { height: 190px; }
  .product h3 { font-size: 17px; }
  .product > p:last-child { font-size: 13px; }
  .application-pair figcaption { font-size: 13px; }
  .facility-grid { grid-template-columns: 1fr; gap: 24px; }
  .facility-grid img { height: auto; max-height: none; }
  .facility-grid strong { font-size: 19px; }
  .facility-grid span { font-size: 14px; }
  .equipment-summary th, .equipment-summary td { padding: 14px 12px; font-size: 13px; }
  .equipment-summary td strong { font-size: 16px; }
  .photo-detail > span { right: 8px; bottom: 8px; padding: 7px 11px; font-size: 11px; }
  #imageDialog { padding: 12px; max-height: 90dvh; }
  #imageDialog img { max-height: 65dvh; }
  #imageDialog p { font-size: 14px; }
}
@media (max-width:380px) {
  .small-break { display: initial; }
  .hero .actions { gap: 10px; }
  .hero .actions .btn { padding: 12px 15px; font-size: 13px; }
  .home-sample img { height: 128px; }
  .home-sample h3 { font-size: 16px; }
  .home-sample > span { font-size: 11px; }
}

/* Materials and shape families from the company sample collection. */
.home-sample-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.home-sample-range { display: flex; flex-direction: column; padding: 16px; }
.home-sample-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #f0f5f1; padding: 8px; border-radius: 12px; }
.home-sample-pair img { width: 100%; height: 160px; padding: 3px; border-radius: 7px; object-fit: contain; }
.home-sample-range h3 { font-size: 20px; min-height: 56px; margin-bottom: 8px; }
.home-sample-range .sample-range-description { font-size: 14px; line-height: 1.8; margin-bottom: 18px; }
.home-sample-range > span { align-self: flex-start; margin-top: auto; border-radius: 999px; font-size: 13px; }
.home-sample-range.tone-industry .home-sample-pair { background: #eef1e9; }
.home-sample-range.tone-beauty .home-sample-pair { background: #f7edf2; }
.home-sample-range.tone-medical .home-sample-pair { background: #f0edf8; }
.home-sample-range.tone-lifestyle .home-sample-pair { background: #f8f1e7; }
.sample-directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
.sample-jump { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; min-height: 50px; background: #fff; border: 1px solid #bfceca; border-radius: 999px; color: #2b514a; font-size: 14px; font-weight: 700; }
.sample-jump small { font-size: 13px; color: #62786d; white-space: nowrap; }
.sample-jump:hover { background: #eaf3ec; border-color: #83ac96; }
.sample-group { margin-top: 46px; padding-top: 30px; border-top: 1px solid #d2dfd9; scroll-margin-top: 112px; }
.sample-group[hidden], .product[hidden] { display: none !important; }
.sample-group-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.sample-group-heading .sample-field { margin: 0 0 6px; color: #376d59; font-size: 14px; font-weight: 700; }
.sample-group-heading h2 { font-size: 30px; }
.sample-group-heading h2 > span { color: #526d62; font-size: 17px; font-weight: 600; letter-spacing: 0; margin-left: 8px; white-space: nowrap; }
.sample-group-heading p:last-child { font-size: 16px; color: #536c71; margin-top: 12px; max-width: 820px; }
.sample-back-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 18px; border: 1px solid #bbcdc2; border-radius: 999px; background: #fff; color: #315c50; font-size: 13px; font-weight: 700; white-space: nowrap; }
.sample-back-link:hover { background: #eaf3ec; }
.sample-group .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 22px; }
.sample-group .product .image-button { height: 240px; background: white; border: 1px solid #d9e2de; border-radius: 14px; padding: 12px; }
.sample-group .product .image-button img { width: 100%; height: 100%; object-fit: contain; background: white; }
.sample-image-hint { background: #fff; border: 1px solid #c2d5ca; border-radius: 999px !important; padding: 5px 10px; color: #315e4e !important; font-size: 12px !important; font-weight: 700; }
.sample-group .product h3 { font-size: 18px; margin-top: 16px; }
.sample-group .product > p:last-child { font-size: 14px; line-height: 1.8; margin-top: 8px; min-height: 0; }
.tone-beauty .sample-group-heading .sample-field { color: #8e4c67; }
.tone-medical .sample-group-heading .sample-field { color: #675383; }
.tone-lifestyle .sample-group-heading .sample-field { color: #87613a; }
.journal-link { border-radius: 999px; }
#sampleFilters { scroll-margin-top: 110px; }
@media (max-width:1100px) {
  .home-sample-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-sample-range h3 { min-height: 0; }
  .home-sample-pair img { height: 180px; }
  .sample-directory { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sample-group .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width:740px) {
  .home-sample-grid { gap: 14px; }
  .home-sample-range { padding: 12px; }
  .home-sample-pair { padding: 5px; gap: 4px; }
  .home-sample-pair img { height: 124px; padding: 2px; }
  .home-sample-range h3 { font-size: 18px; }
  .home-sample-range .sample-range-description { font-size: 13px; }
  .home-sample-range > span { padding: 8px 12px; font-size: 12px; }
  .sample-directory { gap: 8px; margin-bottom: 24px; }
  .sample-jump { padding: 10px 12px; font-size: 13px; min-height: 48px; }
  .sample-jump small { font-size: 12px; }
  .sample-group { margin-top: 34px; padding-top: 24px; scroll-margin-top: 100px; }
  .sample-group-heading { display: block; margin-bottom: 24px; }
  .sample-group-heading h2 { font-size: 26px; }
  .sample-group-heading h2 > span { font-size: 15px; }
  .sample-group-heading p:last-child { font-size: 15px; }
  .sample-back-link { margin-top: 18px; }
  .sample-group .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px 14px; }
  .sample-group .product .image-button { height: 190px; padding: 10px 6px; }
  .sample-group .product h3 { font-size: 17px; }
  .sample-group .product > p:last-child { font-size: 14px; }
  .sample-image-hint { right: 7px !important; bottom: 7px !important; font-size: 11px !important; padding: 4px 8px; }
  .original-photo { padding: 11px 20px; font-size: 14px; }
}
@media (max-width:380px) {
  .home-sample-pair img { height: 106px; }
  .home-sample-range h3 { font-size: 16px; }
  .sample-jump { font-size: 12px; gap: 6px; }
  .sample-group .product .image-button { height: 165px; }
}

/* Align the first-screen photo caption with the three process tags. */
@media (min-width:901px) {
  .hero { grid-template-columns: .95fr 1.05fr; align-items: stretch; gap: 44px; }
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy .eyebrow { align-self: flex-start; }
  .hero-copy .hero-tags { margin-top: auto; padding-top: 25px; }
  .hero-visual { align-self: stretch; display: flex; flex-direction: column; padding: 18px 18px 0; }
  .hero-visual .hero-materials { flex: 1; align-items: center; }
  .hero-visual .hero-materials img { height: clamp(180px,15.5vw,220px); }
  .hero-visual .hero-photo-label { display: flex; align-items: center; justify-content: center; min-height: 34px; padding-top: 0; }
}
.journal-gallery { display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; }
.journal-gallery figure { min-width: 0; overflow: hidden; border: 1px solid #d8dfd9; border-radius: 12px; background: white; }
.journal-gallery .journal-sample { grid-row: span 2; }
.journal-gallery .photo-detail { background: white; }
.journal-gallery .photo-detail img { width: 100%; height: 124px; object-fit: cover; }
.journal-gallery .journal-sample .photo-detail img { height: 284px; padding: 12px; object-fit: contain; }
.journal-gallery figcaption { font-size: 13px; color: #365d55; padding: 10px 12px; font-weight: 650; }
.journal-gallery .photo-detail > span { right: 6px; bottom: 6px; padding: 5px 9px; font-size: 11px; }
.facility-grid .wide-production .photo-detail img,
.facility-grid .wide-workshop .photo-detail img { width: 100%; aspect-ratio: 3369 / 1667; height: auto; max-height: 540px; object-fit: cover; object-position: center; }
@media (max-width:740px) {
  .hero-visual .hero-materials img { height: 124px; }
  .journal-gallery { gap: 10px; }
  .journal-gallery .photo-detail img { height: 104px; }
  .journal-gallery .journal-sample .photo-detail img { height: 248px; }
  .journal-gallery figcaption { font-size: 12px; padding: 8px 10px; }
  .facility-grid .wide-production .photo-detail img,
  .facility-grid .wide-workshop .photo-detail img { max-height: none; }
}
@media (max-width:380px) {
  .hero-visual .hero-materials img { height: 110px; }
  .journal-gallery { grid-template-columns: 1fr; }
  .journal-gallery .journal-sample { grid-row: auto; }
  .journal-gallery .journal-sample .photo-detail img { height: 220px; }
  .journal-gallery .photo-detail img { height: 160px; }
}

@media (min-width:901px) {
  body[data-page="index"] .hero.wrap { align-items: stretch; }
  body[data-page="index"] .hero .hero-copy { display: block; }
  body[data-page="index"] .hero .hero-copy .hero-tags { margin-top: 25px; padding-top: 0; }
  body[data-page="index"] .hero .hero-visual {
    align-self: stretch;
    display: grid;
    grid-template-rows: minmax(210px, 1fr) auto auto 34px;
    min-height: 100%;
    padding: 18px 18px 0;
  }
  body[data-page="index"] .hero .hero-visual > img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
  }
  body[data-page="index"] .hero .hero-visual .hero-materials { align-items: stretch; }
  body[data-page="index"] .hero .hero-visual .hero-materials img { height: 138px; }
  body[data-page="index"] .hero .hero-visual .hero-photo-label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0;
  }
}

.hero-visual figcaption.hero-facility-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 14px;
  min-height: 48px;
  padding: 10px 14px;
  margin: 12px 0;
  border: 1px solid #c8dcd0;
  border-radius: 10px;
  background: #edf5ef;
  color: #234d40;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.7;
}
.hero-facility-caption strong { font: inherit; white-space: nowrap; }
.hero-visual .hero-facility-caption span { margin-left: 0; color: inherit; font: inherit; white-space: nowrap; }
.hero-visual .hero-facility-caption span::before { content: ''; display: inline-block; height: 14px; border-left: 1px solid #a9c6b5; margin-right: 14px; vertical-align: -1px; }
.hero-facility-caption b { font: inherit; margin-left: 0; }
.facility-grid .wide-production > .photo-detail,
.facility-grid .wide-workshop > .photo-detail {
  position: relative;
  width: 100%;
  aspect-ratio: 3369 / 1667;
  overflow: hidden;
}
.facility-grid .wide-production > .photo-detail > img,
.facility-grid .wide-workshop > .photo-detail > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 50%;
}
.facility-grid .wide-production > figcaption,
.facility-grid .wide-workshop > figcaption {
  min-height: 110px;
  padding: 20px 24px;
}
@media (max-width:740px) {
  .hero-visual figcaption.hero-facility-caption { font-size: 14px; gap: 4px 10px; padding: 10px; }
  .hero-visual .hero-facility-caption span::before { height: 12px; margin-right: 10px; }
  .facility-grid .wide-production > .photo-detail,
  .facility-grid .wide-workshop > .photo-detail { aspect-ratio: 3369 / 1667; }
  .facility-grid .wide-production > figcaption,
  .facility-grid .wide-workshop > figcaption { min-height: 100px; padding: 18px; }
}
@media (max-width:380px) {
  .hero-visual figcaption.hero-facility-caption { flex-direction: column; align-items: center; gap: 1px; }
  .hero-visual .hero-facility-caption span::before { display: none; }
}

img[src="assets/production.jpg"] {
  filter: contrast(1.1) saturate(1.05) brightness(.99);
}

.facility-grid > figure > figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.facility-caption-copy { flex: 1 1 220px; min-width: 0; }
.facility-zoom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 46px;
  margin-left: auto;
  padding: 10px 18px;
  border: 1px solid #c5dfd0;
  border-radius: 999px;
  background: #edf7f0;
  color: #254f40;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.6;
  box-shadow: 0 3px 12px #0b252214;
}
.facility-zoom:hover { background: #d8eddf; border-color: #99bfa8; }
.home-facility .workplace-photos figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
}
.home-facility .facility-caption-copy { flex-basis: 230px; }
.home-facility .facility-zoom { min-height: 44px; font-size: 13px; padding: 9px 15px; }
#home-workplace { scroll-margin-top: 110px; }
#journal { scroll-margin-top: 110px; }
.home-journal { display: block; }
.home-journal .journal-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 36px; align-items: end; margin-bottom: 28px; }
.home-journal .journal-copy .eyebrow { grid-column: 1 / -1; margin: 0 0 8px; }
.home-journal .journal-copy h2 { margin: 0; }
.home-journal .journal-copy > p:not(.eyebrow) { margin: 0 0 4px; font-size: 15px; line-height: 1.9; }
.home-journal .journal-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: stretch; }
.home-journal .journal-gallery figure { display: flex; flex-direction: column; margin: 0; grid-row: auto; }
.home-journal .journal-gallery figure .photo-detail { width: 100%; padding: 0; overflow: hidden; }
.home-journal .journal-gallery figure .photo-detail img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; padding: 0; background: white; }
.home-journal .journal-gallery .journal-sample .photo-detail img { object-fit: contain; padding: 8px; }
.home-journal .journal-gallery figcaption { display: flex; flex-direction: column; flex: 1; align-items: stretch; min-height: 174px; padding: 17px; }
.home-journal .journal-gallery figcaption strong { color: #274f48; font-size: 17px; font-weight: 750; line-height: 1.6; }
.home-journal .journal-gallery figcaption p { color: #586e66; font-size: 14px; line-height: 1.8; margin: 8px 0 18px; }
.home-journal .journal-gallery figcaption .facility-zoom { align-self: flex-end; margin-top: auto; font-size: 13px; padding: 9px 15px; min-height: 44px; }
.journal-footer { display: flex; justify-content: flex-end; margin-top: 26px; }
.journal-footer .journal-link { font-size: 14px; min-height: 48px; padding: 12px 22px; }
.process-grid article[id] { scroll-margin-top: 125px; }
.process-grid article:target { outline: 3px solid #669b81; outline-offset: 5px; background: #e6f2e9; }
@media (max-width:740px) {
  .home-journal .journal-copy { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
  .home-journal .journal-copy .eyebrow { grid-column: auto; margin: 0; }
  .home-journal .journal-gallery { grid-template-columns: 1fr; gap: 20px; }
  .home-journal .journal-gallery figure .photo-detail img { aspect-ratio: 3 / 2; }
  .home-journal .journal-gallery figcaption { min-height: 166px; }
  .journal-footer { justify-content: center; }
}
@media (max-width:740px) {
  .facility-caption-copy { flex-basis: 170px; }
  .facility-zoom { font-size: 13px; min-height: 44px; padding: 9px 15px; }
}

/* Keep the complete production room 2 photo visible within its frame. */
.facility-grid .wide-workshop > .photo-detail > img {
  object-fit: contain;
  background: #e6eae5;
}

/* Keep sample categories available while browsing long galleries. */
body[data-page="products"] #sampleFilters {
  position: sticky;
  top: var(--sample-header-height, 89px);
  z-index: 19;
  margin: 30px 0 18px;
  padding: 12px 0;
  background: #fffefa;
  border-bottom: 1px solid #d2dfd9;
  box-shadow: 0 5px 10px #1833440c;
}
body[data-page="products"] .sample-group,
body[data-page="products"] .product {
  scroll-margin-top: calc(var(--sample-filter-height, 70px) + 16px);
}
@media (max-width:740px) {
  body[data-page="products"] #sampleFilters { gap: 8px; padding: 10px 0; }
  body[data-page="products"] #sampleFilters button {
    flex: 0 0 calc((100% - 16px) / 3);
    width: auto;
    min-width: 0;
    height: 42px;
    min-height: 42px;
    font-size: 13px;
  }
}

@media (min-width:1001px) {
  body[data-page="products"] #sampleFilters {
    justify-content: flex-start;
    gap: var(--sample-nav-gap, 20px);
    padding-left: var(--sample-nav-start, 0px);
    flex-wrap: nowrap;
  }
  body[data-page="products"] #sampleFilters button {
    flex: 0 0 var(--sample-nav-width, 108px);
    width: var(--sample-nav-width, 108px);
    min-width: 0;
  }
}

body[data-page="products"] #sampleFilters button[data-filter="all"].active,
body[data-page="products"] #sampleFilters button[data-filter="all"][aria-pressed="true"] {
  border-color: var(--filter-line, #b4cce7);
  box-shadow: none;
}
body[data-page="products"] #sampleFilters button[data-filter="all"]:focus:not(:focus-visible) {
  outline: none;
}
