@font-face {
  font-family: "Barlow Condensed";
  src: url("/site/modules/BedlineHome/assets/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --pine: #172e26;
  --dark: #12261f;
  --forest: #264a3b;
  --moss: #5f776c;
  --paper: #faf8f0;
  --ivory: #f1f0e5;
  --white: #fffdf7;
  --ink: #193129;
  --muted: #4d6157;
  --gold: #f4cc78;
  --border: #c8d1c6;
  --display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --body: "Segoe UI", Arial, sans-serif;
  color-scheme: light;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.56 var(--body);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-wrap: break-word; }
main { overflow: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .16em; }
a:hover { text-decoration-thickness: 2px; }
button, select, input { font: inherit; }
:focus-visible { outline: 3px solid #a56a26; outline-offset: 3px; }
.skip { position: fixed; z-index: 10; inset: 8px auto auto 8px; transform: translateY(-180%); padding: .6em 1em; background: var(--white); color: var(--ink); }
.skip:focus { transform: none; }
.wrap { width: min(1260px, calc(100% - 96px)); margin-inline: auto; }
.mast { background: var(--dark); color: var(--white); border-bottom: 1px solid #4a5d4e; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 18px; }
.brand { display: inline-flex; gap: 10px; align-items: center; width: max-content; text-decoration: none; font: 700 1.42rem/1 var(--display); text-transform: uppercase; letter-spacing: .025em; }
.brand img { flex: 0 0 auto; }
.header-inner nav, .footer-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: .55em 1.5em; }
.header-inner nav a, .footer-inner nav a { font-size: .91rem; text-decoration: none; }
.header-inner nav a:hover, .footer-inner nav a:hover { text-decoration: underline; }
.hero { background: var(--pine); color: var(--white); border-bottom: 6px solid var(--gold); }
.hero-grid { display: grid; grid-template-columns: minmax(0,.89fr) minmax(0,1.11fr); align-items: stretch; gap: clamp(20px, 4vw, 64px); padding-block: clamp(32px, 6vw, 92px) 32px; }
.hero-copy { align-self: center; padding: 15px 0; }
.eyebrow { margin: 0 0 .65rem; color: var(--muted); font-size: .76rem; text-transform: uppercase; font-weight: 700; letter-spacing: .14em; }
.hero .eyebrow { color: var(--gold); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: .99; }
h1 { font-size: clamp(3.15rem, 6.3vw, 6.6rem); letter-spacing: -.023em; max-inline-size: 13ch; }
h2 { font-size: clamp(2.65rem, 5.1vw, 4.65rem); letter-spacing: -.018em; }
h3 { font-size: clamp(1.5rem, 2.38vw, 2.18rem); letter-spacing: -.008em; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.25rem); line-height: 1.55; max-width: 57ch; margin-top: 20px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .62rem .8rem; margin-top: 26px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; min-width: 0; border: 1px solid transparent; border-radius: 3px; padding: .58em .92em; font-weight: 700; font-size: .91em; line-height: 1.25; text-decoration: none; cursor: pointer; }
.button.primary, .amazon { background: var(--gold); color: var(--dark); }
.button.primary:hover, .amazon:hover { background: #ffe09a; }
.button.outline { color: inherit; background: transparent; border-color: currentColor; }
.button.outline:hover { background: #b7c9b92d; }
.textlink { font-weight: 700; font-size: .9rem; }
.hero-figure { margin: 0; min-width: 0; align-self: center; position: relative; }
.hero-figure > img { background: #213329; width: 100%; display: block; aspect-ratio: 1.43; height: auto; object-fit: cover; object-position: 71% 50%; border-radius: 2px; }
.hero-figure figcaption { padding: .48em .65em; text-align: right; border-bottom: 1px solid #657569; color: #e3eaef; font-size: .85rem; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 28px; padding-block: 16px 22px; color: #edf0e5; border-top: 1px solid #536753; }
.hero-foot p { max-width: 75ch; }
.hero-foot a { color: var(--gold); font-weight: 700; }
.stage { padding-block: clamp(45px, 6vw, 84px); scroll-margin-top: 14px; }
.intro { margin-top: .85rem; font-size: 1.095rem; color: var(--muted); max-width: 69ch; }
.uses, .brand-list, .models, .owner-grid { margin-top: 28px; display: grid; gap: 16px; }
.uses { grid-template-columns: repeat(4,minmax(0,1fr)); }
.use-card { background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--moss); min-width: 0; display: flex; flex-direction: column; }
.use-card > img { width: 100%; height: auto; aspect-ratio: 2/1.03; object-fit: cover; }
.use-card:last-child > img { object-position: center 55%; }
.use-card h3 { padding: 15px 15px 5px; }
.card-signal { margin: 5px 15px 12px; font-size: .95rem; color: var(--forest); }
.use-card details { margin: auto 0 0; padding: 11px 15px; border-top: 1px solid #dfe6dc; }
.use-card summary { cursor: pointer; font-weight: 700; }
.use-card details p { padding-top: .65em; color: var(--muted); }
.chapter-links { margin-top: 24px; border-top: 1px solid var(--border); padding-top: 12px; display: flex; flex-wrap: wrap; gap: 7px 22px; }
.chapter-links a { font-weight: 700; }
.laboratory { background: #e9eee4; }
.mechanism-control { margin-top: 24px; }
.control-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; max-width: 560px; }
label { display: block; font-weight: 700; }
select, input { display: block; color: var(--ink); background: var(--white); border: 1px solid #8e9d8d; border-radius: 3px; min-height: 45px; width: 100%; max-width: 100%; padding: 7px 10px; }
label > select { margin-top: 5px; }
.lab-screen { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 25px; align-items: center; margin-top: 16px; background: var(--white); border: 1px solid var(--border); padding: clamp(12px,2.25vw,28px); }
.profile { height: clamp(140px, 16vw, 200px); position: relative; margin-bottom: 8px; isolation: isolate; background: #eef0e7; border: 1px solid #d6ddcf; overflow: hidden; }
.profile span { position: absolute; display: block; }
.cab-shape { inset: 28% auto 27% 8%; width: 26%; background: #82988b; border: 2px solid #526e60; clip-path: polygon(0 49%,16% 49%,33% 6%,90% 6%,100% 55%,100% 100%,0 100%); }
.bed-shape { inset: 57% 10% 27% 34%; border: 2px solid #526e60; background: #c3d6c5; }
.ground-line { inset: auto 10% 26% 8%; border-bottom: 2px solid #526e60; }
.profile .front-label, .profile .rear-label { top: 77%; color: #40554b; font-size: .84rem; }
.front-label { left: 14%; }
.rear-label { right: 9%; }
.profile .lid { left: 34%; top: 53%; width: 56%; height: 7%; background: #1a4635; border: 1px solid #112d23; transform-origin: left center; }
.profile .canister { display: none; inset: 57% auto auto 34%; width: 12%; height: 14%; background: #658779; border: 1px solid #17352a; }
.profile [class="pack"] { display: none; left: 34%; top: 44%; width: 9%; height: 15%; background: #1a4635; border: 1px solid #102c21; }
.profile .support { display: none; left: 40%; top: 53%; width: 13%; height: 3%; background: #576c5e; transform: rotate(-51deg); transform-origin: left center; }
.profile[data-style="retract"] .canister { display: block; }
.profile[data-style="roll"][data-position="part"] .lid { width: 32%; }
.profile[data-style="roll"][data-position="part"] .pack { display: block; left: 62%; border-radius: 45%; }
.profile[data-style="roll"][data-position="full"] .lid { display: none; }
.profile[data-style="roll"][data-position="full"] .pack { display: block; border-radius: 45%; }
.profile:is([data-style="flat"],[data-style="upright"])[data-position="part"] .lid { width: 38%; }
.profile:is([data-style="flat"],[data-style="upright"])[data-position="part"] .pack { display: block; top: 48%; left: 52%; width: 20%; height: 8%; }
.profile:is([data-style="flat"],[data-style="upright"])[data-position="full"] .lid { display: none; }
.profile[data-style="flat"][data-position="full"] .pack { display: block; top: 44%; width: 19%; }
.profile[data-style="upright"][data-position="full"] .pack { display: block; top: 28%; left: 35%; width: 4%; height: 30%; transform: skewX(14deg); }
.profile[data-style="upright"][data-position="full"] .support { display: block; left: 35%; top: 43%; transform: rotate(34deg); }
.profile[data-style="retract"][data-position="part"] .lid { width: 30%; }
.profile[data-style="retract"][data-position="full"] .lid { width: 12%; }
.profile[data-style="hinged"][data-position="part"] .lid { transform: rotate(-13deg); }
.profile[data-style="hinged"][data-position="full"] .lid { transform: rotate(-30deg); }
.lab-reading p { font-size: 1rem; font-weight: 700; }
.lab-reading small { display: block; margin-top: 10px; color: var(--muted); }
.comparison-scroll { margin-top: 24px; overflow: auto; border: 1px solid var(--border); }
table { width: 100%; min-width: 0; border-collapse: collapse; }
caption { padding: 9px 12px; text-align: left; color: #3b5348; font-weight: 700; }
th, td { padding: 10px 12px; border-bottom: 1px solid #d4ddd2; vertical-align: top; text-align: left; }
thead th { background: var(--forest); color: var(--white); }
tbody tr { background: var(--white); }
tbody tr:nth-child(even) { background: #f3f3ea; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
.mechanism-table { min-width: 600px; }
.brand-list { grid-template-columns: repeat(4,minmax(0,1fr)); }
.brand-card { border: 1px solid var(--border); background: var(--white); }
.brand-card img { width: 100%; aspect-ratio: 2/1; object-fit: cover; }
.brand-card > div { padding: 13px; }
.brand-card p { margin-top: 8px; font-size: .92rem; color: var(--muted); }
.shortlist { background: #eeeee2; }
.models { grid-template-columns: repeat(2,minmax(0,1fr)); }
.model { display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid var(--border); }
.model > img { width: 100%; aspect-ratio: 2/1; object-fit: cover; }
.model-copy { display: flex; flex-direction: column; flex: 1; align-items: flex-start; padding: clamp(13px,2vw,21px); }
.model-tag { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 6px; }
.model h3 + p { margin-top: 10px; }
.model-notes { margin: 12px 0 16px; font-size: .92rem; }
.model-notes > div { margin-top: 5px; }
.model-notes dt { display: inline; color: var(--forest); font-weight: 700; }
.model-notes dt::after { content: " · "; }
.model-notes dd { display: inline; margin: 0; color: #42594e; }
.model-actions { display: flex; align-items: center; flex-wrap: wrap; margin-top: auto; gap: .75em 1em; }
.model-actions a:first-child { font-weight: 700; font-size: .93rem; }
.compare-unit { padding: clamp(12px,2vw,23px); margin-top: 22px; background: var(--white); border: 1px solid var(--border); }
.compare-unit h3 + p { margin: 4px 0 9px; }
.compare-unit .control-grid { margin-bottom: 15px; }
.compare-unit th, .compare-unit td { padding: 9px; }
.compare-unit th:first-child { width: 19%; }
.fit-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(18px,3vw,38px); align-items: start; margin-top: 25px; }
.fit-figure { margin: 0; background: var(--white); border: 1px solid var(--border); }
.fit-figure img { width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.fit-figure figcaption { color: var(--muted); padding: 13px 15px; }
.fit-copy ol { padding-left: 1.35rem; margin-block: .75rem; }
.fit-copy li { padding-bottom: 6px; }
.fit-tools { padding: clamp(13px,2vw,20px); background: #ebefe6; border-left: 4px solid #849d8b; }
.fit-tools label + input, .fit-tools label + select { margin: 4px 0; }
.feedback { font-size: .92rem; color: var(--muted); margin: 4px 0 9px; }
.fit-links { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .6em 1em; }
.fit-links li { border-top: 2px solid #a9b9a9; padding-top: 7px; font-size: .88rem; }
.fit-links li > * { display: block; }
.fit-links a { font-weight: 700; }
.owner-stage { background: #e8ede4; }
.owner-search { margin-top: 20px; display: grid; grid-template-columns: 1fr auto; max-width: 650px; gap: 5px 12px; align-items: center; }
.owner-search label, .owner-search p { grid-column: 1 / -1; }
.owner-search p { font-size: .9rem; color: var(--muted); }
.owner-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.owner-card { background: var(--white); min-width: 0; border: 1px solid var(--border); }
.owner-card img { width: 100%; aspect-ratio: 2.35/1; object-fit: cover; }
.owner-card > div { padding: 14px; }
.owner-card p { margin: .5em 0 .62em; color: var(--muted); }
.owner-card a { font-weight: 700; font-size: .94rem; }
.site-foot { background: var(--dark); color: var(--white); padding-block: 8px; }

@media (max-width: 1030px) {
  .wrap { width: calc(100% - 50px); }
  .hero-grid { gap: 24px; }
  .uses, .brand-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .header-inner nav { gap: .45em .95em; }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 30px); }
  .hero-grid, .fit-grid { grid-template-columns: minmax(0,1fr); }
  .hero-grid { padding-top: 26px; gap: 12px; }
  .hero-copy { padding: 0; }
  .hero-figure > img { aspect-ratio: 1.82; object-position: 70% 50%; }
  .hero-foot { display: block; }
  .hero-foot a { display: inline-block; margin-top: 7px; }
  .hero-actions { margin-top: 18px; }
  .header-inner, .footer-inner { align-items: start; flex-direction: column; gap: 9px; padding-block: 13px; }
  .header-inner nav, .footer-inner nav { gap: .55em 1em; }
  .header-inner nav a, .footer-inner nav a { font-size: .84rem; }
  .lab-screen { grid-template-columns: minmax(0,1fr); gap: 5px; }
  .owner-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fit-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 490px) {
  .owner-grid, .models { grid-template-columns: minmax(0,1fr); }
  .wrap { width: calc(100% - 24px); }
  .head-inner nav a { font-size: .8rem; }
  .model h3 { font-size: 2rem; }
  .uses, .brand-list { gap: 8px; }
  .use-card h3 { padding: 10px 9px 4px; }
  .card-signal { margin: 4px 9px 9px; }
  .use-card details { padding: 7px 9px; }
  .brand-card > div { padding: 9px; }
  .intro { font-size: 1rem; }
  .control-grid { gap: 7px; }
  .control-grid select { font-size: .85rem; padding-inline: 5px; }
  .compare-unit th, .compare-unit td { padding: 5px; font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
