@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:#162f27; --green:#28463a; --dark:#132820; --cream:#f8f5ea;
  --ink:#21362e; --muted:#476055; --gold:#f4ce7d; --border:#cad3c5;
  --soft:#e7ede3; --white:#fffdf7; --display:"Barlow Condensed",Impact,"Arial Narrow",sans-serif;
  background:var(--cream); color:var(--ink); color-scheme:light;
  font:16px/1.57 "Segoe UI",Arial,sans-serif;
}
* { box-sizing:border-box; }
[hidden] { display:none!important; }
html { scroll-behavior:smooth; }
body { margin:0; overflow-wrap:break-word; }
img { display:block; max-width:100%; height:auto; }
a { color:inherit; text-underline-offset:.16em; }
a:hover { text-decoration-thickness:2px; }
:focus-visible { outline:3px solid #ac6b25; outline-offset:3px; }
.skip { position:fixed; z-index:10; top:8px; left:8px; transform:translateY(-180%); padding:.6em 1em; background:var(--white); color:var(--ink); }
.skip:focus { transform:none; }
.wrap { width:min(1170px,calc(100% - 80px)); margin-inline:auto; }
.mast,.site-foot { color:var(--white); background:var(--dark); }
.mast-inner,.footer-inner { display:flex; min-height:70px; align-items:center; justify-content:space-between; gap:15px; }
.mast nav,.site-foot nav { display:flex; flex-wrap:wrap; gap:.55em 1.35em; }
.mast nav a,.site-foot nav a { font-size:.9rem; text-decoration:none; }
.mast nav a:hover,.site-foot nav a:hover { text-decoration:underline; }
.brand { display:inline-flex; align-items:center; gap:9px; width:max-content; font:700 1.43rem/1 var(--display); text-transform:uppercase; text-decoration:none; letter-spacing:.02em; }
.brand img { flex:0 0 auto; }
.intro-banner { background:var(--pine); color:var(--white); border-top:1px solid #596d62; border-bottom:5px solid var(--gold); padding-block:12px clamp(24px,4vw,60px); }
.breadcrumb { display:flex; gap:.54em; flex-wrap:wrap; margin-block:0 clamp(13px,2.1vw,28px); color:#d5dfd5; font-size:.83rem; }
.hero { display:grid; grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr); gap:clamp(19px,4vw,56px); align-items:center; }
h1,h2,h3,p,figure { margin:0; }
h1,h2,h3 { font-family:var(--display); font-weight:700; line-height:.99; letter-spacing:-.012em; }
h1 { font-size:clamp(3.6rem,6.7vw,6.7rem); max-width:11ch; }
h2 { font-size:clamp(2.6rem,4.75vw,4.32rem); }
h3 { font-size:clamp(1.7rem,2.52vw,2.28rem); }
.lead { margin:.72em 0 .58em; font-size:clamp(1.01rem,1.65vw,1.25rem); }
.hero-copy > p:not(.lead) { color:#d5dfd5; }
.hero-links { margin-top:16px; display:flex; flex-wrap:wrap; gap:7px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:43px; padding:.55em .84em; font-size:.88rem; font-weight:700; line-height:1.2; border:1px solid transparent; border-radius:3px; text-decoration:none; }
.primary { background:var(--gold); color:var(--dark); }
.primary:hover { background:#ffdf99; }
.secondary { border-color:#9cad9c; }
.secondary:hover { background:#3f584d; }
.hero-art { background:#233e33; }
.hero-art img { width:100%; aspect-ratio:1.65; object-fit:cover; object-position:50% 39%; }
.hero-art figcaption { color:#e3e9dd; font-size:.85rem; padding:7px 11px; }
.stage { padding-block:clamp(33px,5.3vw,68px); scroll-margin-top:15px; }
.intro { margin-top:.7em; max-width:72ch; font-size:1.035rem; color:var(--muted); }
.measure-layout { margin-top:21px; display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:clamp(15px,3vw,36px); align-items:start; }
.canister-guide { background:var(--white); border:1px solid var(--border); }
.canister-guide img { width:100%; }
.canister-guide figcaption { color:var(--muted); font-size:.87rem; padding:9px 12px; }
.dimensions { margin:0; padding:0; list-style:none; counter-reset:method; }
.dimensions li { position:relative; counter-increment:method; padding:0 0 12px 40px; }
.dimensions li::before { content:counter(method); position:absolute; top:0; left:0; width:28px; height:28px; border-radius:50%; background:var(--gold); color:var(--dark); display:grid; place-items:center; font-weight:700; }
.dimensions h3 { font-size:clamp(1.55rem,2.4vw,2.06rem); }
.dimensions p { margin-top:4px; color:var(--muted); }
.inspection-pair { margin-top:18px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.inspection-pair article { display:grid; grid-template-columns:minmax(90px,.68fr) minmax(0,1.32fr); background:var(--white); border:1px solid var(--border); }
.inspection-pair img { width:100%; height:100%; object-fit:cover; }
.inspection-pair article div { padding:12px; }
.inspection-pair h3 { font-size:clamp(1.5rem,2.4vw,2.02rem); }
.inspection-pair p { margin-top:7px; color:var(--muted); font-size:.91rem; }
.lab-band { background:var(--soft); border-block:1px solid var(--border); }
#canister-fit,#models { scroll-margin-top:13px; }
.fit-tool { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:clamp(12px,2.4vw,27px); border:1px solid var(--border); margin-top:22px; background:var(--white); padding:clamp(12px,2.7vw,28px); }
label,legend { font-weight:700; }
label,select,input,output { font:inherit; }
.fit-controls label, .slide-label { font-weight:700; }
select,input:not([type="range"]) { width:100%; min-width:0; min-height:40px; border:1px solid #829587; border-radius:3px; background:var(--white); color:var(--ink); padding:5px 8px; }
fieldset { margin:9px 0; padding:8px; min-width:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 12px; border:1px solid var(--border); }
fieldset label { min-width:0; min-height:100%; display:flex; justify-content:space-between; flex-direction:column; font-size:.86rem; line-height:1.36; }
fieldset label input { margin-top:4px; }
legend { padding:0 5px; }
.slide-label { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:3px 11px; font-size:.94rem; }
.slide-label output { color:var(--muted); font-size:.87rem; }
input[type="range"] { display:block; width:100%; accent-color:#386451; margin:7px 0; }
.position-scale { display:flex; justify-content:space-between; align-items:center; font-size:.78rem; color:var(--muted); }
.profile { isolation:isolate; position:relative; height:190px; margin-top:8px; background:#edf0e7; border:1px solid #d3dcd0; overflow:hidden; --box-x:12%; --box-y:31%; --slat-x:12%; --cargo-x:50%; --cargo-y:45%; --cargo-left:37%; }
.profile span { display:block; position:absolute; }
.profile .cab { inset:18% auto 24% 7%; width:26%; background:#a9bead; clip-path:polygon(0 53%,20% 51%,46% 3%,80% 3%,100% 53%,100% 100%,0 100%); }
.profile .bed { inset:39% 8% 24% 32%; background:#dce6d8; border:1px solid #749184; }
.profile .canister { inset:39% auto auto 32%; width:var(--box-x); height:var(--box-y); background:#3e6555; border:1px solid #274236; z-index:2; }
.profile .slats { inset:36% auto auto 32%; width:var(--slat-x); height:3%; background:#193d30; z-index:3; }
.profile .cargo { bottom:24%; left:var(--cargo-left); width:var(--cargo-x); height:var(--cargo-y); background:#c3d9b5; border:2px solid #647e56; z-index:1; opacity:.9; }
.profile[data-state="short"] .cargo,.profile[data-state="tight"] .cargo { background:#f3ce83; border-color:#9d6b30; }
.profile[data-state="unknown"] :is(.cargo,.canister,.slats) { display:none; }
.profile .line { inset:auto 8% 23% 7%; border-bottom:2px solid #789284; }
.profile .label-front,.profile .label-rear { top:80%; font-size:.83rem; color:var(--muted); }
.profile .label-front { left:10%; }
.profile .label-rear { right:8%; }
.profile-note { margin-top:5px; font-size:.8rem; color:var(--muted); }
.fit-result { margin-top:7px; padding:8px; background:#edf2e7; border-left:3px solid #739683; }
#fit-verdict { font-weight:700; }
#fit-explanation { margin-top:3px; color:var(--muted); font-size:.86rem; }
.reading { margin:5px 0 0; display:flex; flex-wrap:wrap; gap:3px 12px; font-size:.82rem; }
.reading dt { display:inline; }
.reading dd { display:inline; margin:0; font-weight:700; }
.worked { margin:15px 0 0; border-left:3px solid #8da294; padding-left:12px; color:var(--muted); }
.worked h3 { color:var(--ink); font-size:1.8rem; }
.worked p { margin-top:4px; }
.worked ul { margin:3px 0 0; padding-left:20px; }
.models { margin-top:clamp(33px,5vw,60px); }
.model-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:19px; }
.model-grid article { display:flex; flex-direction:column; min-width:0; background:var(--white); border:1px solid var(--border); }
.model-grid img { width:100%; aspect-ratio:1.76; object-fit:cover; }
.model-text { flex:1; display:flex; flex-direction:column; padding:13px; }
.model-type { font-size:.74rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); font-weight:700; margin-bottom:5px; }
.model-text h3 + p { margin:7px 0 12px; font-size:.93rem; color:var(--muted); }
.model-actions { display:flex; flex-wrap:wrap; align-items:center; gap:7px 10px; margin-top:auto; }
.model-actions > a:first-child { font-size:.86rem; font-weight:700; }
.position-note { color:var(--muted); margin-top:14px; font-size:.9rem; }
.next-list { list-style:none; margin:17px 0 0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px 15px; }
.next-list li { border-top:2px solid #9dad9f; padding-top:8px; }
.next-list a { font-weight:700; }
.source-note { margin-top:18px; color:var(--muted); font-size:.85rem; }
@media (max-width:920px) {
  .wrap { width:calc(100% - 48px); }
  .hero { gap:17px; }
  .inspection-pair article { grid-template-columns:minmax(0,1fr); }
  .inspection-pair img { width:100%; aspect-ratio:2.35; }
}
@media (max-width:710px) {
  .wrap { width:calc(100% - 26px); }
  .mast-inner,.footer-inner { flex-direction:column; align-items:start; gap:9px; padding-block:12px; }
  .mast nav,.site-foot nav { gap:.55em 1em; }
  .hero,.fit-tool,.measure-layout { grid-template-columns:minmax(0,1fr); }
  .hero-art img { aspect-ratio:1.86; }
  .inspection-pair { gap:8px; }
  .model-grid,.next-list { grid-template-columns:minmax(0,1fr); }
  .next-list { gap:8px; }
}
@media (max-width:405px) {
  .inspection-pair { grid-template-columns:minmax(0,1fr); }
  .profile { height:146px; }
  .slide-label { display:block; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
}
