.home-b9 {
  --ink: #20382e;
  --dark: #20382e;
  --muted: #4c6154;
  --paper: #fffaf0;
  --line: #d5c298;
  --home-frame: #ccb68a;
  --home-lift: 0 .55rem 1.5rem #55432113;
  color: var(--ink);
  background: #faf2df;
  line-height: 1.5;
}
.home-b9 .wrap { width: min(77.5rem, calc(100% - clamp(2rem, 7.2vw, 6.5rem))); margin-inline: auto; }
.home-b9 .space { padding-block: clamp(2.5rem, 4.45vw, 4rem); }
.home-b9 h2 { font-size: clamp(2.1rem, 4vw, 3.38rem); line-height: 1.05; letter-spacing: -.04em; }
.home-b9 h3, .home-b9 h4 { font-weight: 500; }
.home-b9 a { color: inherit; text-decoration: none; }
.home-b9 a:hover :is(h3, h4), .home-b9 a:hover.text-link, .home-b9 .news-copy :is(h3, h4) > a:hover {
  text-decoration: underline;
  text-underline-offset: .17em;
  text-decoration-thickness: 1px;
}
.home-b9 .text-link {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  width: fit-content;
  font-size: .875rem;
  font-weight: 700;
}
.home-b9 .section-head, .home-b9 .row-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem 1.5rem;
  margin-block-end: 1.4rem;
}
.home-b9 .section-head h2, .home-b9 .row-head h3 {
  position: relative;
  padding-inline-start: .9rem;
}
.home-b9 .section-head h2::before, .home-b9 .row-head h3::before {
  content: '';
  position: absolute;
  inset: .14em auto .13em 0;
  width: .22rem;
  border-radius: .2rem;
  background: #b78736;
}
.home-b9 :is(.section-head, .row-head) .text-link {
  min-height: 2.45rem;
  padding: .38rem .73rem;
  border: 1px solid #c9b182;
  border-radius: .38rem;
  background: #fff8e7;
}
.home-b9 :is(.section-head, .row-head) .text-link:hover { background: #f4e4c0; }
.home-b9 :is(.section-head, .row-head) .text-link span { color: #74562c; }
.home-b9 .media-frame.photo-frame {
  display: block;
  align-self: start;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: 0 0 0 1px #83775f55;
}
.home-b9 .media-frame.photo-frame > a, .home-b9 .photo-open { display: block; }
.home-b9 .media-frame.photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
}

.home-b9 .factory { padding-block-start: clamp(1.4rem, 2.5vw, 2.2rem); }
.home-b9 .factory-shell {
  position: relative;
  isolation: isolate;
  padding: clamp(1rem, 3.2vw, 2.5rem);
  color: var(--paper);
  background: linear-gradient(125deg, #294438, #20382e 79%);
  border: 1px solid #52624b;
  border-radius: .9rem;
  box-shadow: 0 .8rem 2.3rem #2b38282c;
}
.home-b9 .factory-shell::before, .home-b9 .staff-panel::before {
  content: '';
  position: absolute;
  inset: .55rem;
  z-index: -1;
  border: 1px solid #b0975c69;
  border-radius: .55rem;
  pointer-events: none;
}
.home-b9 .factory :focus-visible, .home-b9 .case-lead :focus-visible, .home-b9 .home-b9-contact :focus-visible { outline-color: #ffe1a5; }
.home-b9 .factory-intro {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(1rem, 2.7vw, 2.45rem);
}
.home-b9 .factory-intro h2 { font-size: clamp(2.35rem, 4.6vw, 4.1rem); }
.home-b9 :is(.factory-intro, .staff-copy) h2::before {
  content: '';
  display: block;
  width: 2.7rem;
  height: .16rem;
  margin-block-end: .95rem;
  border-radius: .2rem;
  background: #b88436;
}
.home-b9 .factory-intro h2::before { background: #d5aa57; }
.home-b9 .factory :is(h2, h3) { color: inherit; }
.home-b9 .factory-intro p { max-width: 34ch; margin: .85rem 0 1.3rem; color: #f1e7cf; }
.home-b9 .button.pale { color: #1b3128; background: #fff8e9; border-color: #fff8e9; }
.home-b9 .button.pale:hover { background: #ffe7b2; border-color: #ffe7b2; }
.home-b9 .factory-feature {
  min-width: 0;
  padding: .38rem .38rem 0;
  border: 1px solid #b59f66;
  border-radius: .6rem;
  background: #192f25;
}
.home-b9 .factory-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #10231b;
}
.home-b9 .factory-player { position: relative; }
.home-b9 .factory-video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}
.home-b9 .factory-video-play[hidden] { display: none; }
.home-b9 .factory-video-play span {
  display: grid;
  place-items: center;
  width: 3.55rem;
  height: 3.55rem;
  padding-inline-start: .18rem;
  border-radius: 50%;
  background: #fff8ea;
  color: var(--ink);
  box-shadow: 0 .2rem .95rem #12271b48;
}
.home-b9 .factory-video-play:hover span { background: #ffe7b2; }
.home-b9 .factory-feature figcaption { padding: .48rem .45rem .4rem; color: #f1e8d1; font-size: .78rem; }
.home-b9 .factory-stages {
  --photo-fallback: repeat(3, minmax(0, 1fr));
  display: grid;
  grid-template-columns: var(--photo-columns, var(--photo-fallback));
  gap: clamp(.65rem, 1.25vw, 1.05rem);
  margin-block-start: 1.4rem;
}
.home-b9 .factory-stage {
  min-width: 0;
  padding: .38rem .38rem 0;
  background: #304b3b;
  border: 1px solid #789080;
  border-radius: .5rem;
}
.home-b9 .factory :is(.factory-feature, .factory-stage) .photo-frame { box-shadow: 0 0 0 1px #acbba158; }
.home-b9 .factory-stage figcaption {
  margin: .75rem .4rem .62rem;
  padding: .06rem .58rem .15rem;
  border-inline-start: 2px solid #ccab67;
}
.home-b9 .factory-stage h3 { font-size: 1.31rem; }
.home-b9 .factory-stage p { margin-block-start: .3rem; color: #f1e7cf; font-size: .82rem; }

.home-b9 .product-row {
  padding: clamp(.6rem, 1.3vw, 1.08rem);
  border: 1px solid var(--home-frame);
  border-radius: .7rem;
  background: #f3e7cd;
  box-shadow: var(--home-lift);
}
.home-b9 .product-row:nth-of-type(even) { background: #f7ecd6; }
.home-b9 .product-row + .product-row { margin-block-start: 1.05rem; }
.home-b9 .row-head { gap: .5rem 1rem; padding-block-end: .67rem; margin-block-end: .75rem; border-bottom: 1px solid #dec9a3; }
.home-b9 .row-head h3 { font-size: clamp(1.5rem, 2.45vw, 2.13rem); line-height: 1.16; }
.home-b9 .row-head h3::before { width: .19rem; }
.home-b9 .row-head .text-link { min-height: 2.15rem; padding-block: .3rem; font-size: .78rem; }
.home-b9 .product-grid {
  --photo-fallback: repeat(4, minmax(0, 1fr));
  display: grid;
  grid-template-columns: var(--photo-columns, var(--photo-fallback));
  gap: clamp(.5rem, 1vw, .82rem);
}
.home-b9 :is(#standard-expandable, #custom-expandable) .product-grid { grid-auto-rows: 1fr; }
.home-b9 :is(#standard-expandable, #custom-expandable) .product-card .photo-frame {
  position: relative;
  aspect-ratio: 3 / 2;
  background: #ede4d2;
}
.home-b9 :is(#standard-expandable, #custom-expandable) .product-card .photo-frame img {
  position: absolute;
  inset: 0;
  height: 100%;
}
.home-b9 .photo-pair { display: contents; }
.home-b9 :is(.product-card, .case-card, .portrait, .application-card) {
  --card-matte: .32rem;
  min-width: 0;
  padding: var(--card-matte) var(--card-matte) 0;
  border: 1px solid #deccaa;
  border-radius: .55rem;
  background: var(--paper);
}
.home-b9 :is(.product-card, .case-card, .application-card) > a { display: block; height: 100%; outline-offset: 1px; }
.home-b9 :is(.product-card, .case-card, .application-card):hover { border-color: #a88c5a; }
.home-b9 .product-card { container-type: inline-size; }
.home-b9 .product-caption {
  display: grid;
  min-height: 4.8rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  align-items: start;
  gap: .23rem .37rem;
  padding: .66rem .39rem .72rem .5rem;
}
.home-b9 .product-caption h4 {
  font-size: clamp(1.05rem, 1.55vw, 1.38rem);
  line-height: 1.14;
  letter-spacing: -.025em;
  text-wrap: wrap;
  overflow-wrap: anywhere;
}
.home-b9 .product-caption p { grid-column: 1 / -1; color: var(--muted); font-size: .75rem; }
.home-b9 :is(#standard-expandable, #custom-expandable) .product-caption { min-height: 8.5rem; }
.home-b9 .card-arrow, .home-b9 .application-card h3 span {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid #debf80;
  border-radius: 50%;
  background: #f4e4be;
  color: #493d29;
  font: .9rem/1 var(--sans);
}
.home-b9 .product-card .media-frame:not(.photo-frame), .home-b9 .product-card .photo-pending {
  display: grid;
  aspect-ratio: 1.3;
  place-items: center;
  background: linear-gradient(135deg, #f3e9d1, #ead7ae);
  border: 1px solid #deccaa;
}
.home-b9 .asset-needed { color: #425345; padding: .55rem; font-size: .78rem; font-weight: 650; text-align: center; }
@container (max-width: 10.25rem) {
  .home-b9 .product-caption { grid-template-columns: minmax(0, 1fr); padding: .62rem .25rem; }
  .home-b9 .product-caption h4 { font-size: 1.04rem; }
  .home-b9 .product-caption p { font-size: .69rem; }
  .home-b9 .product-caption .card-arrow { display: none; }
}

.home-b9 .staff { padding-block: 1.8rem; border-block: 1px solid #dbc79e; background: linear-gradient(90deg, #f1e1bd, #efe1c2); }
.home-b9 .staff-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  gap: clamp(.75rem, 2vw, 1.95rem);
  align-items: center;
  padding: 1.25rem;
  border: 1px solid #c8ac76;
  border-radius: .68rem;
  background: #f2e3c2;
  box-shadow: var(--home-lift);
}
.home-b9 .staff-panel::before { inset: .37rem; border-color: #ddc28f; }
.home-b9 .staff-copy { padding: .6rem 0 .6rem clamp(.35rem, 1.5vw, 1.15rem); }
.home-b9 .staff-copy h2 { font-size: clamp(1.8rem, 3.2vw, 3.1rem); }
.home-b9 .staff-copy p { margin-block-start: .72rem; max-width: 34ch; color: var(--muted); }
.home-b9 .staff figure { padding: .38rem .38rem 0; border: 1px solid #bca06d; border-radius: .56rem; background: #fcf3de; }
.home-b9 .staff figcaption { padding: .62rem .45rem; color: var(--muted); font-size: .82rem; }

.home-b9 .case-lead {
  padding: .43rem;
  border: 1px solid #a99d73;
  border-radius: .82rem;
  background: #2b4739;
  box-shadow: 0 .62rem 1.56rem #43543b20;
}
.home-b9 .case-lead > a {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  align-items: center;
  border: 1px solid #718173;
}
.home-b9 .case-lead .media-frame { align-self: center; box-shadow: none; }
.home-b9 .case-lead-copy {
  display: grid;
  align-content: center;
  gap: .65rem;
  padding: 1.3rem clamp(.85rem, 2.2vw, 1.95rem);
  color: #fff6e1;
}
.home-b9 .case-lead-copy h3 { color: inherit; font-size: clamp(1.8rem, 3.65vw, 2.9rem); line-height: 1.04; }
.home-b9 .case-lead-copy > p:not(.tag) { color: #ecedda; }
.home-b9 .tag { color: #624a29; font-size: .75rem; font-weight: 720; }
.home-b9 .case-lead-copy .tag { color: #f0cc86; }
.home-b9 .case-lead-copy .text-link { padding-block-end: .15rem; border-bottom: 1px solid #d7bb7e; }
.home-b9 .credit { font-size: .75rem; }
.home-b9 :is(.case-grid, .team-grid, .application-grid) {
  --photo-fallback: repeat(5, minmax(0, 1fr));
  display: grid;
  grid-template-columns: var(--photo-columns, var(--photo-fallback));
  gap: clamp(.64rem, .95vw, .82rem);
}
.home-b9 .case-grid { margin-block-start: .9rem; }
.home-b9 .small-case-copy, .home-b9 .application-card a > div:last-child { padding: .63rem .49rem .82rem; }
.home-b9 :is(.small-case-copy, .application-card) h3 { font-size: clamp(1.07rem, 1.52vw, 1.32rem); line-height: 1.14; text-wrap: wrap; overflow-wrap: anywhere; }
.home-b9 :is(.small-case-copy, .application-card) p { margin-block-start: .42rem; color: var(--muted); font-size: .78rem; }
.home-b9 .small-case-copy small { display: block; margin-block-start: .25rem; color: var(--muted); font-size: .72rem; }

.home-b9 .team, .home-b9 .journal { padding-block: clamp(1.4rem, 2.2vw, 1.9rem); border-block: 1px solid #ddc9a2; background: #efe0bf; }
.home-b9 :is(.team, .journal) > .wrap {
  padding: clamp(.82rem, 1.7vw, 1.55rem);
  border: 1px solid #d4bf96;
  border-radius: .7rem;
  background: #f8ecd0;
  box-shadow: var(--home-lift);
}
.home-b9 .team .section-head { margin-block-end: 1.18rem; }
.home-b9 .portrait { --card-matte: .43rem; box-shadow: 0 .25rem .75rem #69573710; }
.home-b9 .portrait figcaption { padding: .58rem .36rem .65rem; text-align: center; font: 1.3rem/1.2 var(--serif); }

.home-b9 .application-card { --card-matte: .38rem; border-color: #d8bd8c; background: #fff8e8; box-shadow: 0 .3rem .95rem #5b4b2411; }
.home-b9 .application-card h3 { display: flex; justify-content: space-between; align-items: start; gap: .2rem; }
.home-b9 .application-card h3 span { flex: 0 0 1.3rem; width: 1.3rem; height: 1.3rem; font-size: .75rem; }

.home-b9 .journal { background: #edddb6; }
.home-b9 .journal > .wrap { border-color: #c8ae7d; background: #f8edcf; }
.home-b9 .news-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: .82rem; }
.home-b9 .news-stack { display: grid; gap: .75rem; }
.home-b9 .news-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  min-width: 0;
  padding: .32rem;
  border: 1px solid #ddc9a5;
  border-radius: .55rem;
  background: #fff8e7;
}
.home-b9 .news-lead, .home-b9 .news-card:not(:has(.news-photo)) { grid-template-columns: minmax(0, 1fr); align-content: start; }
.home-b9 .news-photo { display: block; min-width: 0; }
.home-b9 .news-copy { min-width: 0; padding: .52rem .66rem .61rem; }
.home-b9 .news-copy h3 { margin: .22rem 0 .42rem; font-size: clamp(1.15rem, 2vw, 1.88rem); line-height: 1.1; }
.home-b9 .news-copy p:not(.tag) { color: var(--muted); font-size: .83rem; }
.home-b9 .news-copy .tag::before {
  content: '';
  display: inline-block;
  width: .75rem;
  height: 2px;
  margin-inline-end: .31rem;
  vertical-align: middle;
  background: #b8873b;
}
.home-b9 .news-copy :is(time, .text-link) { font-size: .77rem; }
.home-b9 .news-copy .text-link { margin-block-start: .45rem; }
.home-b9 .news-copy .news-credit { margin-block-start: .3rem; font-size: .72rem; }

.home-b9 .home-b9-contact { padding-block: 1.45rem; background: #1b3128; color: var(--paper); }
.home-b9 .home-b9-contact .footer-quote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem 1.25rem;
  flex-wrap: wrap;
  padding: clamp(.92rem, 1.7vw, 1.32rem);
  border: 1px solid #af9761;
  border-inline-start: 3px solid #d6ac55;
  border-radius: .5rem;
  background: #263f32;
}
.home-b9 .home-b9-contact h2 { color: inherit; font-size: clamp(1.85rem, 3.5vw, 2.48rem); }
.home-b9 .home-b9-contact p { margin-block-start: .45rem; font-size: .88rem; color: #efe4cc; }
.home-b9 .home-b9-contact .actions { margin: 0; }
.home-b9 .home-b9-contact .button.gold { background: #dfb453; color: #253a2e; border-color: #dfb453; }
.home-b9 .home-b9-contact .button.gold:hover { background: #efc978; }
.home-b9 .home-b9-contact .button.ghost { border-color: #a6b2a1; background: transparent; }
.home-b9 .home-b9-contact .button.ghost:hover { background: #405849; }

@media (max-width: 68.74rem) {
  .home-b9 .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-b9 .product-grid--paired { grid-template-columns: minmax(0, 1fr); }
  .home-b9 .photo-pair {
    display: grid;
    grid-template-columns: var(--photo-columns, repeat(2, minmax(0, 1fr)));
    gap: inherit;
  }
  .home-b9 :is(.case-grid, .team-grid, .application-grid) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 43.75rem) {
  .home-b9 :is(.factory-intro, .staff-panel, .case-lead > a, .news-grid) { grid-template-columns: minmax(0, 1fr); }
  .home-b9 .factory-stages { grid-template-columns: minmax(0, 1fr); }
  .home-b9 :is(.case-grid, .team-grid, .application-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-b9 .staff-panel { gap: .75rem; padding: .82rem; }
  .home-b9 .staff-copy { padding: .35rem .2rem; }
  .home-b9 .staff-copy h2 { font-size: clamp(1.55rem, 6.5vw, 2rem); }
  .home-b9 .staff-copy h2::before { margin-block-end: .45rem; }
  .home-b9 :is(.factory-intro, .staff-copy) h2 br { display: none; }
  .home-b9 .section-head { gap: .55rem 1rem; margin-block-end: 1rem; }
}
@media (max-width: 22rem) {
  .home-b9 .product-grid, .home-b9 .photo-pair, .home-b9 .news-card { grid-template-columns: minmax(0, 1fr); }
  .home-b9 :is(.case-grid, .team-grid, .application-grid) { grid-template-columns: minmax(0, 1fr); }
}
