:root { --ink: #233229; --muted: #506156; --accent: #284d38; --wash: #edf2e9; --line: #d9e1d6; --ivory: #f7f3eb; --dark: #192c22; }
.visual-hero { min-height: calc(100vh - 5rem); min-height: calc(100svh - 5rem); position: relative; isolation: isolate; display: grid; align-items: center; overflow: hidden; color: #fff; background: var(--dark); }
.visual-hero picture, .visual-hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.visual-hero picture { z-index: -2; }
.visual-hero picture img { object-fit: cover; object-position: center; }
.visual-hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(11,24,17,.62) 0%, rgba(11,24,17,.21) 40%, transparent 62%); }
.visual-hero .hero-copy { padding-block: 3rem; max-width: 35rem; }
.visual-hero h1 { font-size: clamp(3rem,6.5vw,6.9rem); line-height: .96; letter-spacing: -.07em; max-width: 9ch; }
.visual-hero .lead { color: #f2f4ee; max-width: 31ch; }
.visual-hero .eyebrow { color: #e7efdf; }
.on-dark .button { background: #f0f3e8; border-color: #f0f3e8; color: #203c2e; }
.on-dark .button.secondary { color: #fff; background: transparent; border-color: #c3d0bc; }
.eyebrow { letter-spacing: .14em; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-heading h2, .section-heading p { margin-bottom: 0; }
.section-heading .eyebrow { margin-bottom: .55rem; }
.cream { background: var(--ivory); }
.green-panel { background: var(--dark); color: #f7f8f4; }
.green-panel p { color: #e2e9dd; }
.visual-crop { display: block; aspect-ratio: 1; overflow: hidden; position: relative; isolation: isolate; background: var(--ivory); }
.visual-crop img { position: absolute; display: block; max-width: none; width: calc(102% * var(--columns)); height: auto; left: calc(-1% - var(--col) * 102%); top: 50%; transform: translateY(calc(-25% - var(--row) * 50%)); }
.visual-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(1.3rem,5vw,4.5rem); }
.visual-split img:not(.visual-crop img) { width: 100%; object-fit: contain; }
.visual-split .lead { margin-bottom: 1.5rem; }
.visual-split .visual-crop { width: 100%; }
.visual-mosaic { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 1rem; }
.visual-tile { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: .55rem; text-decoration: none; }
.visual-tile:first-child { grid-row: span 2; }
.visual-tile .visual-crop, .visual-tile > img { aspect-ratio: 1.5; width: 100%; object-fit: contain; background: var(--ivory); align-self: start; }
.visual-tile:first-child .visual-crop { aspect-ratio: 1; }
.visual-tile-body { padding: 1rem; align-self: end; }
.visual-tile h3 { margin-bottom: .35rem; }
.visual-tile p { margin: 0; color: var(--muted); }
.visual-duo { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.visual-duo .card { margin: 0; padding: 0; overflow: hidden; }
.visual-duo .card .visual-crop { aspect-ratio: 1.65; }
.visual-duo .card img { aspect-ratio: auto; margin: 0; background: none; mix-blend-mode: normal; border-radius: 0; }
.visual-duo .card-body { padding: 1.25rem; }
.process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.process-step { border-top: 1px solid var(--line); padding-top: .85rem; }
.process-step .visual-crop { aspect-ratio: 1.7; margin-bottom: .85rem; }
.process-step .eyebrow { margin-bottom: .4rem; }
.page-cta { padding-block: clamp(2.5rem,5vw,5rem); }
.page-cta h2 { max-width: 14ch; }
.page-cta .visual-crop { aspect-ratio: 1.5; }
.media-caption { margin: .5rem 0 0; color: var(--muted); font-size: .8rem; }
.page-illustration { border-radius: .65rem; overflow: hidden; }
.editorial-cover { display: block; }
.editorial-cover .visual-crop { aspect-ratio: 1.3; }
.visual-checklist { padding: 0; list-style: none; }
.visual-checklist li { padding: .65rem 0; border-top: 1px solid var(--line); }
.faq-list h2 { margin-bottom: 1rem; }
.quote-visual { width: 100%; margin: 1.5rem 0 0; }
.quote-visual .visual-crop { aspect-ratio: 1.7; }
@media(max-width: 52rem) {
    .visual-mosaic { grid-template-columns: 1fr 1fr; }
    .visual-tile:first-child { grid-row: auto; }
    .visual-tile:first-child .visual-crop { aspect-ratio: 1.5; }
    .process-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 43rem) {
    .visual-hero { align-items: start; min-height: max(38rem,calc(100vh - 4rem)); min-height: max(38rem,calc(100svh - 4rem)); }
    .visual-hero picture img { object-position: center bottom; }
    .visual-hero::before { background: linear-gradient(180deg, rgba(11,24,17,.45), rgba(11,24,17,.1) 42%, transparent 58%); }
    .visual-hero .hero-copy { padding-top: clamp(1.5rem,6vw,3rem); max-width: 26rem; }
    .visual-hero h1 { font-size: clamp(2.25rem,9.5vw,4rem); max-width: 11ch; }
    .visual-hero .lead { font-size: .98rem; line-height: 1.4; }
    .visual-hero .button { padding: .45rem .75rem; font-size: .9rem; }
    .visual-hero .actions { margin-top: .75rem; }
    .visual-split, .visual-duo { grid-template-columns: 1fr; }
}
@media(max-width: 25rem) { .visual-tile-body { padding: .7rem; } .visual-tile p { font-size: .85rem; } }

.visual-photo { display: block; overflow: hidden; }
.visual-photo img { display: block; width: 100%; height: auto; object-fit: contain; }
.visual-mosaic .visual-tile:only-child { grid-row: auto; }

.more-featured { margin-top: 1.5rem; }

/* Layout below the mastheads on the home and editorial pages. */
.body-wide { width: min(90rem, calc(100% - clamp(2.5rem, 6vw, 6rem))); margin-inline: auto; }
.body-section { padding-block: clamp(2.25rem, 4.25vw, 4.25rem); }
.body-stack { padding-block: clamp(2rem, 3.5vw, 3.5rem); }
.body-stack > * + * { margin-block-start: clamp(1.5rem, 3vw, 3rem); }
.body-layout { max-width: 76rem; margin-inline: auto; }
.body-layout > .wp-block-heading:first-child { margin-bottom: 1rem; }
.body-paired { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: clamp(1rem, 3vw, 3rem); }
.body-paired > * { min-width: 0; }
.body-copy { max-width: 65ch; }
.body-copy h2, .body-layout h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
.body-copy p, .body-point p, .body-resource p { margin-bottom: .65rem; }
.body-photo { margin: 0; overflow: hidden; }
.body-photo .visual-crop, .body-photo .visual-photo, .body-photo > img { width: 100%; aspect-ratio: 1.65; border-radius: .6rem; overflow: hidden; }
.body-photo .visual-photo img, .body-photo > img { width: 100%; height: 100%; object-fit: cover; }
.body-paired.body-faq { grid-template-columns: minmax(0, 1fr) minmax(12rem, .48fr); }
.body-faq .body-photo .visual-crop { aspect-ratio: 1.4; }
.body-faq .body-photo { max-width: 21rem; }
.body-points { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem 1.2rem; margin: 1rem 0; }
.body-point { border-top: 1px solid var(--line); padding-top: .7rem; }
.body-point h3 { font-size: 1rem; margin-bottom: .35rem; }
.body-point p { color: var(--muted); }
.green-panel .body-point { border-color: #658073; }
.green-panel .body-point p { color: #e2e9dd; }
.body-sequence .body-points { grid-template-columns: 1fr; gap: .55rem; }
.body-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin-top: 1rem; }
.body-resources { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.body-resource { overflow: hidden; border: 1px solid var(--line); border-radius: .55rem; background: #fcfdf9; }
.body-resource .visual-crop, .body-resource .visual-photo { aspect-ratio: 2; }
.body-resource-copy { padding: .95rem; }
.body-resource-copy h3 { margin: 0 0 .45rem; }
/* One prominent family, four smaller choices, all using uncropped source images. */
.body-shell .home-families .visual-mosaic { grid-template-columns:minmax(0,1.18fr) repeat(2,minmax(0,1fr)); gap:clamp(.65rem,1.5vw,1.2rem); }
.body-shell .home-families .visual-tile:first-child { grid-row:span 2; }
.body-shell .home-families .visual-tile:only-child { grid-row:auto; }
.family-art { height:clamp(7.5rem,10vw,10.5rem); display:block; overflow:hidden; padding:.6rem; background:var(--ivory); }
.family-art img { width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; }
.home-families .visual-tile:first-child .family-art { height:clamp(14rem,20vw,21rem); }
.body-shell .visual-tile-body { align-self:start; }
.body-shell .home-feature-image .body-paired { align-items:center; }
.body-shell .home-sample-image .body-paired { align-items:center; }
.body-shell .visual-duo .card .visual-crop, .body-shell .visual-duo .card .visual-photo { aspect-ratio: 2; }
.body-shell .process-step .visual-crop, .body-shell .process-step .visual-photo { aspect-ratio: 2.15; }
.body-shell .faq-list details, .body-layout .faq-list details { border-top: 1px solid var(--line); padding: .7rem 0; }
.body-shell .faq-list summary, .body-layout .faq-list summary { cursor: pointer; font-weight: 650; }
.body-shell .faq-list details p, .body-layout .faq-list details p { margin: .55rem 0 0; }
.body-shell .page-cta { padding-block: clamp(2rem, 4vw, 3.6rem); }
.body-shell .page-cta .body-photo { max-width: 28rem; }
@media (max-width: 52rem) {
    .body-shell .home-families .visual-mosaic { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .body-shell .home-families .visual-tile:first-child { grid-row:auto; grid-column:1 / -1; }
    .home-families .visual-tile:first-child .family-art { height:clamp(9rem,28vw,14rem); }
}
@media (max-width: 43rem) {
    .body-paired, .body-paired.body-faq, .body-resources { grid-template-columns: 1fr; }
    .body-faq .body-photo { max-width: none; }
    .body-faq .body-photo .visual-crop { aspect-ratio: 2; }
}
@media (max-width: 27rem) {
    .body-points { grid-template-columns: 1fr; }
}

.quote-with-thumbnail > img { align-self: start; flex: 0 0 auto; width: 4rem; height: 4rem; object-fit: contain; border-radius: .35rem; background: var(--ivory); }
.body-resource-copy > :last-child, .body-copy > :last-child, .body-point > :last-child { margin-bottom: 0; }
.body-stack > p:first-child { max-width: 65ch; }

.site-wordmark { display:block; width:clamp(6.25rem, 10vw, 9rem); height:auto; }
.inner-masthead { background:var(--wash); padding-block:clamp(1.5rem,3vw,3rem); }
.inner-masthead-grid { display:grid; grid-template-columns:minmax(0, 1.65fr) minmax(0, 1fr); gap:clamp(1.5rem,4vw,4rem); align-items:start; }
.inner-masthead-copy { padding-block: .25rem; }
.inner-masthead h1 { font-size:clamp(2rem,4vw,3.65rem); max-width:24ch; margin-bottom:.65rem; }
.inner-masthead .lead { max-width:56ch; margin-bottom:0; }
.inner-masthead .actions { gap:.5rem; margin-top:1rem; }
.inner-masthead .button { padding:.5rem .8rem; font-size:.95rem; }
.inner-masthead-art { margin:0; }
.inner-masthead-art .visual-crop, .inner-masthead-art .visual-photo { aspect-ratio:auto; height:clamp(9.5rem, 16vw, 16rem); border-radius:.55rem; }
.inner-masthead-art .visual-photo img { width:100%; height:100%; object-fit:cover; }
.masthead-about-us .inner-masthead-art .visual-crop, .masthead-about-us .inner-masthead-art .visual-photo { height:clamp(11rem,18vw,18rem); }
:is(.masthead-faq,.masthead-samples,.masthead-quote,.masthead-inquiry-data) .inner-masthead-art .visual-crop,
:is(.masthead-faq,.masthead-samples,.masthead-quote,.masthead-inquiry-data) .inner-masthead-art .visual-photo { height:clamp(7.5rem,11vw,11rem); }
.body-shell .home-feature-image .body-photo :is(.visual-crop,.visual-photo) { height:clamp(14.5rem,25vw,24rem); aspect-ratio:auto; }
.body-shell .home-feature-image .body-photo .visual-photo img { object-fit:contain; padding:.75rem; mix-blend-mode:multiply; }
.body-shell .home-sample-image .body-photo :is(.visual-crop,.visual-photo) { height:clamp(12rem,18vw,17.25rem); aspect-ratio:auto; }
.home-sample-image .media-caption { color:#d2e0d4; }
.body-shell .visual-duo .card :is(.visual-crop,.visual-photo) { height:clamp(9rem,15vw,15rem); aspect-ratio:auto; }
.body-shell .process-step :is(.visual-crop,.visual-photo) { height:clamp(5.75rem,9vw,9.375rem); aspect-ratio:auto; }
.body-shell .body-faq .body-photo :is(.visual-crop,.visual-photo) { height:clamp(10rem,17vw,16.25rem); aspect-ratio:auto; }
.body-shell .page-cta .body-photo :is(.visual-crop,.visual-photo) { height:clamp(9rem,14vw,13.75rem); aspect-ratio:auto; }
.body-layout[id] { scroll-margin-top:1.5rem; }
@media(max-width:43rem) {
  .inner-masthead-grid { grid-template-columns:1fr; gap:1rem; }
  .inner-masthead-art .visual-crop, .inner-masthead-art .visual-photo { height:clamp(7rem,34vw,12rem); }
  .body-shell .home-feature-image .body-photo :is(.visual-crop,.visual-photo) { height:clamp(12rem,45vw,18rem); }
}

/* A support hub places the task links before the product artwork. */
.masthead-support .inner-masthead-grid { grid-template-columns:minmax(0,2fr) minmax(0,1fr); align-items:center; }
.masthead-support .inner-masthead-art :is(.visual-photo,.visual-crop) { height:clamp(9rem,13vw,13rem); }
.support-photo { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:.4rem; padding:.55rem; background:#eee2d1; }
.inner-masthead-art .support-photo img { width:100%; height:100%; min-width:0; min-height:0; object-fit:contain; mix-blend-mode:multiply; }
.support-shortcuts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.6rem; margin-top:1rem; }
.support-shortcut { display:flex; flex-direction:column; justify-content:flex-start; gap:.2rem; padding:.65rem .75rem; border:1px solid var(--line); border-radius:.45rem; color:var(--accent); background:#fff; text-decoration:none; line-height:1.35; }
.support-shortcut strong { font-size:.98rem; }
.support-shortcut span { font-size:.82rem; color:var(--muted); }
.support-shortcut:hover { border-color:var(--accent); }
.masthead-quote { padding-block:clamp(.85rem,2vw,1.55rem); }
.masthead-quote h1 { font-size:clamp(1.85rem,4vw,2.65rem); margin-bottom:.25rem; }
.masthead-quote .eyebrow { margin-bottom:.3rem; }
.quote-content { padding-block:clamp(.9rem,2.5vw,2rem); }
.quote-content .spm-quote fieldset { margin-block:0 .85rem; padding:.7rem .85rem; }
.quote-content .spm-quote-item { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.5rem; align-items:center; }
.quote-content .quote-with-thumbnail:has(img) { grid-template-columns:auto minmax(0,1fr) auto; }
.quote-content .quote-with-thumbnail img { width:3.25rem; height:3.25rem; object-fit:contain; }
.quote-content .spm-quote-item input { max-width:9rem; }
.quote-content .spm-quote-item button { min-height:2.75rem; padding:.4rem .65rem; }
@media(max-width:43rem) {
  .masthead-support .inner-masthead-grid { grid-template-columns:1fr; gap:.8rem; }
  .masthead-support .inner-masthead-art :is(.visual-photo,.visual-crop) { height:clamp(6rem,24vw,9rem); }
  .support-shortcuts { grid-template-columns:1fr; gap:.4rem; margin-top:.7rem; }
  .support-shortcut { min-height:2.75rem; padding:.48rem .62rem; }
  .quote-content .spm-quote-item { align-items:start; }
  .quote-content .spm-quote-item button { font-size:.85rem; }
}
@media(max-width:24rem) {
  .quote-content .quote-with-thumbnail:has(img) { grid-template-columns:auto minmax(0,1fr); }
  .quote-content .spm-quote-item button { grid-column:2; justify-self:start; }
}
.header-actions { display:flex; align-items:center; gap:.75rem; }
.quote-list-link { display:inline-flex; align-items:center; gap:.35rem; font-weight:650; white-space:nowrap; }
.quote-count { display:inline-grid; min-width:1.35rem; height:1.35rem; padding-inline:.2rem; place-items:center; background:var(--wash); color:var(--ink); font-size:.78rem; border-radius:1rem; }
.menu-toggle, .site-primary-nav .mobile-quote-link { display:none; }
.spm-field-error { display:block; margin:.3rem 0 .65rem; color:#9c2323; font-size:.9rem; font-weight:600; }
.spm-quote [aria-invalid="true"] { border-color:#9c2323; }
.spm-form-hint { color:var(--muted); font-size:.9rem; margin:.35rem 0 .9rem; }
@media(max-width:68rem) {
  .topbar .bar { gap:.65rem 1rem; }
  .site-primary-nav { width:100%; order:3; }
  .site-primary-nav ul { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr)); gap:.1rem .75rem; padding-top:.5rem; border-top:1px solid var(--line); }
  .site-primary-nav a { display:block; padding:.55rem .25rem; }
  .topbar .bar:has([data-menu-toggle]:not([hidden])[aria-expanded="false"]) .site-primary-nav { display:none; }
  .menu-toggle:not([hidden]) { display:inline-block; }
  .site-primary-nav .mobile-quote-link { display:inline-block; font-weight:700; }
  .header-actions .header-quote { display:none; }
}
@media(max-width:26rem) {
  .header-actions { gap:.4rem; }
  .header-actions .button { padding:.35rem .55rem; }
  .quote-list-link { font-size:.88rem; }
}
