/* Product imagery takes the lead; text stays on a clean, readable surface. */
body[data-section="categories"] { background: #fff; }
.category-crumb { display:flex; flex-wrap:wrap; gap:12px; padding-top:32px; color:#586360; font-size:13px; }
.category-crumb a:hover { color:#2a7156; }
.category-intro { padding-top:48px; padding-bottom:48px; }
.category-intro h1,.category-hero h1 { font-size:clamp(32px,4vw,56px); line-height:1.2; letter-spacing:-.025em; margin:0 0 24px; max-width:800px; text-wrap:balance; }
.category-intro p,.category-hero p { max-width:680px; color:#4a5052; font-size:18px; line-height:1.8; margin:0; }
.category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:48px 32px; padding-bottom:64px; }
.category-card { display:flex; flex-direction:column; min-width:0; height:100%; transition:transform .24s ease; }
.category-card__image { overflow:hidden; background:#f2f4f3; aspect-ratio:3/2; }
.category-card img { width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.category-card__copy { display:flex; flex-direction:column; flex:1; padding-top:22px; }
.category-card h2 { font-size:26px; margin:0 0 10px; }
.category-card p { flex:1; color:#4a5052; margin:0 0 18px; line-height:1.8; }
.category-card__copy>span,.category-link { color:#235a47; font-weight:500; font-size:14px; }
.category-card__copy>span { display:flex; justify-content:space-between; align-items:center; margin-top:auto; padding-bottom:16px; border-bottom:1px solid #e2e1da; transition:border-color .24s ease; }
.category-card__copy>span>span { display:inline-block; transition:transform .24s ease; }
@media(hover:hover) and (pointer:fine) {
 .category-card:hover { transform:translateY(-4px); }
 .category-card:hover img { transform:scale(1.025); }
 .category-card:hover .category-card__copy>span { border-color:#2a7156; }
 .category-card:hover .category-card__copy>span>span { transform:translate(3px,-3px); }
}
.category-card:focus-visible .category-card__copy>span { border-color:#2a7156; }
.category-hero { display:grid; grid-template-columns:.85fr 1.15fr; align-items:center; gap:48px; padding-block:48px 64px; }
.category-hero .category-link { display:inline-block; margin-top:28px; }
.category-hero figure { margin:0; aspect-ratio:3/2; background:#f2f4f3; overflow:hidden; }
.category-hero img { width:100%; height:100%; object-fit:cover; }
.category-hero .category-accessory-photo { background:#f0ebe2; }
.category-hero .category-accessory-photo img { object-fit:contain; }
.category-specs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:36px; padding-bottom:64px; }
.category-specs article { border-top:2px solid #183c4a; padding-top:22px; }
@supports (grid-template-rows:subgrid) {
 .category-specs article { display:grid; grid-template-rows:subgrid; grid-row:span 2; gap:0; }
}
.category-specs h2,.category-flow h2,.category-brief h2,.category-related h2 { font-size:22px; line-height:1.4; margin:0 0 20px; }
.category-specs ul { margin:0; padding-left:20px; color:#4a5052; }
.category-specs li { padding:0 0 12px 3px; line-height:1.8; }
.category-flow { background:#f2f6f5; padding-block:40px; }
.category-flow ol { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:30px; margin:0; padding-left:22px; }
.category-flow li { padding-left:4px; line-height:1.8; }
.category-flow li::marker { color:#235a47; font-weight:600; }
.category-brief { display:flex; align-items:center; justify-content:space-between; gap:32px; padding-block:60px; scroll-margin-top:110px; }
.category-brief p { max-width:620px; color:#4a5052; margin:0; }
.category-brief > div { min-width:0; }
.category-brief .btn { flex:none; min-height:44px; white-space:normal; text-align:center; }
.category-related { border-top:1px solid #e2e1da; padding-top:32px; padding-bottom:36px; }
.category-related>div { display:flex; flex-wrap:wrap; gap:16px 28px; margin-bottom:24px; }
.category-related>div a:hover { color:#235a47; }
.category-note { color:#586360; font-size:12px; padding-bottom:48px; max-width:var(--maxw); line-height:1.8; }
main a:focus-visible { outline:2px solid #2a7156; outline-offset:5px; }
@media(min-width:761px) and (max-width:1100px) {
 .meridian-shell .brand-logo { width:170px; }
 .meridian-shell .nav { gap:12px; }
 .meridian-shell .nav a { font-size:12px; }
}
@media(max-width:760px) {
 .category-crumb { padding-top:24px; font-size:12px; gap:8px; }
 .category-intro { padding-top:32px; padding-bottom:32px; }
 .category-grid { grid-template-columns:1fr; gap:36px; padding-bottom:40px; }
 .category-card h2 { font-size:24px; }
 .category-hero { grid-template-columns:1fr; gap:28px; padding-block:32px 40px; }
 .category-hero p,.category-intro p { font-size:16px; }
 .category-specs { grid-template-columns:1fr; gap:24px; padding-bottom:36px; }
 .category-specs article { padding-top:18px; }
 .category-flow ol { grid-template-columns:1fr; gap:14px; }
 .category-brief { flex-direction:column; align-items:flex-start; padding-block:36px; }
 .category-related>div { gap:16px; }
}
@media(prefers-reduced-motion:reduce) {
 .category-card,.category-card img,.category-card__copy>span,.category-card__copy>span>span { transition:none; }
 .category-card:hover,.category-card:hover img,.category-card:hover .category-card__copy>span>span { transform:none; }
}

/* Fresh surfaces separate photography, descriptions and development details. */
body[data-section="categories"] { background: #f4f8f6; }
.category-intro { padding-bottom: 40px; }
.category-intro h1, .category-hero h1 { color: #203c3d; }
.category-crumb { color: #596960; }
.category-grid { gap: 28px; }
.category-card { background: #fff; border: 1px solid #dee8e2; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 16px rgba(32, 65, 50, .035); transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.category-card__image { background: #eaf1ed; }
.category-card__copy { padding: 24px 26px 8px; }
.category-card h2 { font-size: 24px; color: #24453f; }
.category-card p { font-size: 15px; color: #61716b; }
.category-card__copy>span { color: #36695c; border-bottom: 0; padding-top: 14px; border-top: 1px solid #e4ece7; }
.category-hero figure { border-radius: 10px; border: 1px solid #dde7e1; box-shadow: 0 6px 20px rgba(32, 65, 50, .04); }
.category-specs { gap: 22px; }
.category-specs article { background: #fff; border: 1px solid #dce7e0; border-radius: 8px; padding: 24px; }
.category-specs h2 { font-size: 20px; color: #294c42; }
.category-specs ul { font-size: 15px; color: #61716b; }
.category-flow { background: #e8f0eb; border-block: 1px solid #d9e5dd; }
.category-related { border-top-color: #d6e2da; }
@media(hover:hover) and (pointer:fine) { .category-card:hover { border-color: #b7cfc1; box-shadow: 0 10px 24px rgba(32, 65, 50, .075); } }
@media(max-width:760px) { .category-grid { gap: 24px; } .category-card__copy { padding: 20px 20px 6px; } .category-card h2 { font-size: 22px; } .category-specs article { padding: 22px; } }
@media(prefers-reduced-motion:reduce) { .category-card { transition: none; } }

.category-card h2 { display:flex; align-items:baseline; justify-content:space-between; gap:1rem; line-height:1.35; }
.category-card h2 span { color:#356653; font-size:.8em; }
.category-card__copy { padding-bottom:clamp(20px,2vw,28px); }
.category-card p { margin-bottom:0; }
.category-note { font-size:.875rem; line-height:1.65; }
.category-hero h1,.category-specs h2,.category-brief h2 { text-wrap:balance; }

@media (max-width:760px) {
  .category-intro { padding-block:20px 26px; }
  .category-intro h1 { font-size:30px; margin-bottom:12px; }
  .category-grid { grid-template-columns:minmax(0,1fr); gap:0; }
  .category-card {
    display:grid; grid-template-columns:clamp(72px,25vw,112px) minmax(0,1fr);
    align-items:center; gap:clamp(12px,3.5vw,20px); padding-block:16px;
    height:auto; border:0; border-top:1px solid #d5dfd9;
    border-radius:0; box-shadow:none; background:transparent;
  }
  .category-card:last-child { border-bottom:1px solid #d5dfd9; }
  .category-card__image { aspect-ratio:1; border-radius:6px; }
  .category-card__copy { padding:0; }
  .category-card h2 { display:block; font-size:19px; margin:0 0 5px; }
  .category-card h2 span { display:none; }
  .category-card p { font-size:15px; line-height:1.55; }
}

@media (max-width:760px) {
  .category-specs { gap:0; }
  .category-specs article { display:block; grid-row:auto; padding:18px 0; border:0; border-top:1px solid #d5dfd9; border-radius:0; background:transparent; }
  .category-specs h2 { margin-bottom:10px; }
  .category-specs li { padding-block:3px; line-height:1.6; }
  .category-related { padding-block:16px; }
  .category-related .category-link { display:inline-flex; min-height:44px; align-items:center; }
}
