/* ==========================================================================
   Budget Shipping Containers — stylesheet

   DESIGN BRIEF: price-first and tabular. The price table is the hero. Dense
   comparison tables, a spec-sheet aesthetic, minimal ornament, fast and light.
   Deliberately unlike the other brand sites in the group: no serif display
   face, no split hero, no <details> accordions, no card grids.

   NO WEBFONTS. The entire site runs on the system UI stack and a system mono
   stack for figures. That removes two render-blocking requests and a font
   swap, which is the cheapest Core Web Vitals win available and suits a brand
   whose whole argument is "fast, plain, honest numbers".

   --------------------------------------------------------------------------
   COLOUR SYSTEM AND CONTRAST (WCAG 2.1 AA needs 4.5:1 for body text,
   3:1 for large text and UI boundaries). Every ratio below is measured.

   --brand   #E87722   2.96:1 on white  → NON-TEXT USE ONLY.
                       Accent rules, bar markers, table header underlines and
                       solid fills. Never carries text on white.
                       --ink on --brand is 5.89:1, so --ink text ON an orange
                       fill is safe and that is the only text pairing allowed.
   --accent  #9A4408   6.55:1 on white, 6.02:1 on --sheet, 5.42:1 on --rule.
                       This is what links and small accent text use. It is the
                       brand orange darkened until it clears AA everywhere.
   --accent-deep #7A3606  8.91:1 on white. Hover states and solid buttons;
                       white on it is 8.91:1.
   --ink     #1A1A17   17.44:1 on white, 16.02:1 on --sheet, 14.41:1 on --rule.
                       Headings, table headers, figures.
   --body    #3A3A34   11.45:1 on white, 10.51:1 on --sheet, 9.46:1 on --rule.
                       Body copy.
   --muted   #5A5A50   6.97:1 on white,  6.40:1 on --sheet,  5.76:1 on --rule.
                       Fine print and captions — still comfortably AA.
   --slate   #0F1E2E   16.86:1 on white. Dark bands; white on it is 16.86:1.
   --sheet   #F7F5F1   background only.
   --rule    #EDE9E2   background only (zebra rows, note blocks).
   --line    #D8D2C8   1.55:1 on white → borders and rules only, never text.

   Nothing in this file puts --brand, --line, --sheet or --rule on text.
   ========================================================================== */

:root {
  --brand: #e87722;
  --accent: #9a4408;
  --accent-deep: #7a3606;
  --ink: #1a1a17;
  --body: #3a3a34;
  --muted: #5a5a50;
  --slate: #0f1e2e;
  --slate-2: #1b3247;
  --paper: #ffffff;
  --sheet: #f7f5f1;
  --rule: #ede9e2;
  --line: #d8d2c8;
  --line-2: #bfb8ab;
  --w: 1220px;
  --r: 2px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.62;
  font-variant-numeric: tabular-nums;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent-deep); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.18; letter-spacing: -0.012em; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.85rem, 4.4vw, 2.9rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin-top: 0; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.05em; padding-left: 1.2em; }
li { margin-bottom: 0.35em; }
strong { color: var(--ink); font-weight: 700; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 800px; }
.sec { padding: 46px 0; border-top: 1px solid var(--line); }
.sec-sheet { background: var(--sheet); }
.sec-tall { padding: 84px 0; }
.centred { text-align: center; }
.lead { font-size: 1.12rem; color: var(--body); max-width: 68ch; }
.fine { font-size: 0.84rem; color: var(--muted); line-height: 1.55; }
.kicker {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 10px;
}

/* ---------- Masthead: one dense row, then a live price ticker ------------- */
.mast { background: var(--paper); border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 40; }
.mast .wrap { display: flex; align-items: center; gap: 18px; min-height: 62px; }
.brand { flex: 0 0 auto; text-decoration: none; display: block; }
.brand svg { height: 34px; width: auto; display: block; }
.menu {
  list-style: none; display: flex; gap: 2px; margin: 0 auto 0 8px; padding: 0; flex-wrap: wrap;
}
.menu a {
  display: block; padding: 7px 9px; font-size: 0.83rem; font-weight: 600;
  color: var(--ink); text-decoration: none; border-radius: var(--r);
}
.menu a:hover { background: var(--rule); color: var(--accent-deep); }
.mast-act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.mast-phone {
  font-family: var(--mono); font-size: 1.02rem; font-weight: 700; color: var(--ink);
  text-decoration: none; white-space: nowrap; letter-spacing: -0.02em;
}
.mast-phone:hover { color: var(--accent-deep); }
.burger {
  display: none; width: 40px; height: 36px; background: var(--paper); border: 1px solid var(--line-2);
  border-radius: var(--r); cursor: pointer; padding: 8px 9px;
}
.burger span { display: block; height: 2px; background: var(--ink); margin: 4px 0; }

/* Price ticker — the brand's whole argument, sitting under the masthead. */
.ticker { background: var(--slate); color: #fff; font-size: 0.8rem; }
.ticker .wrap { display: flex; align-items: center; gap: 0; overflow-x: auto; scrollbar-width: thin; }
.ticker-k {
  flex: 0 0 auto; background: var(--brand); color: var(--ink); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.66rem;
  padding: 7px 11px; margin-right: 14px;
}
.ticker-i { flex: 0 0 auto; padding: 7px 16px 7px 0; white-space: nowrap; color: #fff; }
.ticker-i b { font-family: var(--mono); font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.ticker-d { flex: 0 0 auto; margin-left: auto; padding: 7px 0 7px 16px; white-space: nowrap; color: #fff; opacity: 0.86; }

/* ---------- Breadcrumb ---------------------------------------------------- */
.crumb { font-size: 0.79rem; color: var(--muted); padding: 9px 0; border-bottom: 1px solid var(--line); }
.crumb a { color: var(--muted); }
.crumb strong { color: var(--ink); font-weight: 600; }

/* ---------- Page head ----------------------------------------------------- */
.phead { padding: 34px 0 26px; border-bottom: 1px solid var(--line); }
.phead h1 { margin-bottom: 0.35em; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  display: inline-block; padding: 11px 20px; border-radius: var(--r); font-weight: 700;
  font-size: 0.94rem; text-decoration: none; border: 2px solid transparent; cursor: pointer;
  font-family: inherit; line-height: 1.3;
}
.btn-primary { background: var(--accent); color: #fff; }          /* 6.55:1 */
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-dark { background: var(--slate); color: #fff; }               /* 16.86:1 */
.btn-dark:hover { background: var(--slate-2); color: #fff; }
.btn-line { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--rule); color: var(--ink); }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-wide { display: block; width: 100%; text-align: center; }

/* ---------- The price table: the centrepiece of the whole site ------------ */
.tablewrap { overflow-x: auto; margin: 0 0 14px; -webkit-overflow-scrolling: touch; }
table.pt { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
table.pt caption { text-align: left; font-size: 0.84rem; color: var(--muted); padding-bottom: 8px; }
table.pt th, table.pt td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.pt thead th {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
  border-bottom: 3px solid var(--brand); white-space: nowrap; padding-bottom: 8px;
}
table.pt tbody th { color: var(--ink); font-weight: 700; white-space: nowrap; }
table.pt tbody tr:nth-child(even) { background: var(--sheet); }
table.pt td.num, table.pt th.num { font-family: var(--mono); font-weight: 700; color: var(--ink); letter-spacing: -0.03em; white-space: nowrap; }
table.pt td.na { font-family: var(--mono); color: var(--muted); font-weight: 400; }
table.pt tbody th a { color: var(--accent); }
.t-hero table.pt { font-size: 1rem; }
.t-hero table.pt td.num { font-size: 1.16rem; }

/* Hero: heading, one sentence, then numbers. No photo, no slogan block. */
.hero { padding: 30px 0 8px; }
.hero h1 { max-width: 20ch; }
.hero-sub { font-size: 1.1rem; color: var(--body); max-width: 62ch; margin-bottom: 22px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: start; }
.hero-side { border: 1px solid var(--line); border-top: 4px solid var(--brand); padding: 18px; background: var(--sheet); }
.hero-side h2 { font-size: 1.02rem; }
.hero-side ul { list-style: none; padding: 0; margin: 0 0 14px; font-size: 0.88rem; }
.hero-side li { padding-left: 17px; position: relative; margin-bottom: 8px; color: var(--body); }
.hero-side li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 9px; height: 2px; background: var(--brand); }

/* The dated stamp — trust device and the thing competitors do not do. */
.stamp {
  display: inline-flex; align-items: baseline; gap: 8px; background: var(--brand); color: var(--ink);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--r); margin-bottom: 14px;
}
.stamp b { font-family: var(--mono); letter-spacing: -0.02em; font-size: 0.84rem; }

/* Asterisk note, repeated wherever prices appear. */
.starnote {
  border-left: 4px solid var(--brand); background: var(--rule); padding: 13px 16px;
  font-size: 0.85rem; color: var(--body); margin: 0 0 16px; line-height: 1.55;
}
.starnote strong { color: var(--ink); }

/* Grade caveat — as-is is not sold watertight. Appears on home, hub, sizes. */
.caveat {
  border: 1px solid var(--line-2); border-left: 4px solid var(--slate); background: var(--paper);
  padding: 14px 16px; font-size: 0.9rem; margin: 0 0 16px;
}

/* ---------- Spec rows ----------------------------------------------------- */
.spec { border-top: 2px solid var(--ink); margin: 0 0 18px; }
.spec div { display: flex; gap: 14px; border-bottom: 1px solid var(--line); padding: 9px 2px; font-size: 0.92rem; }
.spec dt { flex: 0 0 42%; color: var(--muted); margin: 0; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; padding-top: 2px; }
.spec dd { flex: 1; margin: 0; color: var(--ink); font-weight: 600; }
.spec dd.num { font-family: var(--mono); letter-spacing: -0.02em; }

/* Locality at-a-glance: a bordered data block, not a card row. */
.datastrip { border: 1px solid var(--line); border-left: 5px solid var(--brand); background: var(--sheet); }
.datastrip dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.datastrip div { padding: 13px 16px; border-right: 1px solid var(--line); }
.datastrip div:last-child { border-right: 0; }
.datastrip dt { font-size: 0.68rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.datastrip dd { margin: 0; color: var(--ink); font-weight: 700; font-size: 0.94rem; line-height: 1.4; }
.datastrip dd.num { font-family: var(--mono); letter-spacing: -0.02em; }

/* ---------- Column blocks (no cards, just ruled columns) ------------------ */
.cols { display: grid; gap: 26px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col-b { border-top: 3px solid var(--brand); padding-top: 14px; }
.col-b h3 { margin-bottom: 0.4em; }
.col-b p:last-child { margin-bottom: 0; }

/* Numbered rows — the "what moves the price" list. */
.rows { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.rows li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.rows .n { font-family: var(--mono); font-weight: 700; color: var(--accent); font-size: 1.05rem; letter-spacing: -0.03em; }
.rows b { display: block; color: var(--ink); margin-bottom: 3px; }
.rows p { margin: 0; font-size: 0.93rem; }

/* Link index strip — used for grades, sizes, localities. */
.index { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.index li { margin: 0; border-bottom: 1px solid var(--line); }
.index a {
  display: grid; grid-template-columns: minmax(140px, 210px) 1fr auto; gap: 16px; align-items: baseline;
  padding: 13px 4px; text-decoration: none; color: var(--body);
}
.index a:hover { background: var(--sheet); }
.index a b { color: var(--ink); font-size: 1rem; }
.index a span { font-size: 0.9rem; color: var(--body); }
.index a em { font-family: var(--mono); font-style: normal; font-weight: 700; color: var(--accent); white-space: nowrap; letter-spacing: -0.02em; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips a {
  display: inline-block; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: var(--r);
  font-size: 0.86rem; text-decoration: none; color: var(--ink); background: var(--paper);
}
.chips a:hover { border-color: var(--accent); color: var(--accent-deep); }

/* ---------- FAQ: plain ruled question blocks, not <details> --------------- */
.qa { border-top: 2px solid var(--ink); }
.qa-i { border-bottom: 1px solid var(--line); padding: 18px 0; }
.qa-i h3 { font-size: 1.02rem; margin-bottom: 0.35em; }
.qa-i p { margin: 0; font-size: 0.96rem; }

/* ---------- Prose (guide articles) --------------------------------------- */
.prose { max-width: 76ch; }
.prose h2 { margin-top: 1.7em; padding-top: 0.5em; border-top: 3px solid var(--brand); display: inline-block; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.15em; }
.posts { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post { border-top: 3px solid var(--brand); padding-top: 13px; }
.post time { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.post h3 { margin: 5px 0 0.35em; font-size: 1.06rem; }
.post h3 a { text-decoration: none; color: var(--ink); }
.post h3 a:hover { color: var(--accent-deep); }
.post p { font-size: 0.92rem; margin: 0; }

/* ---------- Quote band: form first, argument beneath ---------------------- */
.ask { background: var(--slate); color: #fff; border-top: 0; }
.ask h2, .ask h3 { color: #fff; }
.ask-grid { display: grid; grid-template-columns: 460px minmax(0, 1fr); gap: 38px; align-items: start; }
.ask-copy p { color: #fff; opacity: 0.92; }
.ask-copy .kicker { color: #fff; opacity: 0.75; }
.ask-or { font-size: 0.9rem; margin-bottom: 12px; }
.askcard { background: var(--paper); border-radius: var(--r); padding: 20px; border-top: 5px solid var(--brand); }
.askcard h3 { font-size: 1.14rem; color: var(--ink); margin-bottom: 4px; }
.askcard .sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.askcard label { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.askcard input, .askcard select, .askcard textarea {
  width: 100%; padding: 10px 11px; border: 1px solid var(--line-2); border-radius: var(--r);
  font-family: inherit; font-size: 0.96rem; color: var(--ink); background: var(--paper); margin-bottom: 12px;
}
.askcard textarea { resize: vertical; }
.askcard input:focus, .askcard select:focus, .askcard textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
.qrow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.qstep { font-size: 0.68rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--accent); font-weight: 700; border-top: 2px solid var(--brand); padding-top: 7px; margin: 4px 0 10px; }
.qtoggle { display: flex; gap: 0; margin-bottom: 14px; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.qtoggle input { position: absolute; opacity: 0; pointer-events: none; }
.qtoggle label {
  flex: 1; text-align: center; padding: 9px 6px; margin: 0; cursor: pointer; font-size: 0.85rem;
  text-transform: none; letter-spacing: 0; color: var(--ink); background: var(--paper);
}
.qtoggle input:checked + label { background: var(--slate); color: #fff; }
.qnote { font-size: 0.79rem; color: var(--muted); margin: 10px 0 0; }
.q-ok, .q-bad { padding: 16px 18px; border-radius: var(--r); font-size: 0.96rem; }
.q-ok { background: var(--paper); border-left: 5px solid var(--brand); color: var(--body); }
.q-bad { background: #fdf2ee; border-left: 5px solid var(--accent-deep); color: var(--ink); margin-bottom: 14px; }
.q-ok a, .q-bad a { color: var(--accent-deep); }

/* ---------- Access checker ------------------------------------------------ */
.checker { border: 1px solid var(--line-2); border-top: 4px solid var(--brand); padding: 20px; background: var(--sheet); }
/* Steps are hidden by default and revealed by the .on class, which app.js
   moves. The first step carries .on in the markup so the widget is usable
   before JS runs; do not add a separate always-visible rule for step 1, or it
   stays on screen underneath every later step. */
.checker .step { display: none; }
.checker .step.on { display: block; }
.checker h3 { font-size: 1.04rem; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
button.opt {
  padding: 9px 15px; border: 1px solid var(--line-2); background: var(--paper); border-radius: var(--r);
  font-family: inherit; font-size: 0.9rem; color: var(--ink); cursor: pointer;
}
button.opt:hover { border-color: var(--accent); color: var(--accent-deep); }

/* ---------- Footer: a dense index, not a marketing block ------------------ */
.foot { background: var(--slate); color: #fff; margin-top: 0; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-top { padding: 34px 0 26px; }
.foot-top .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.foot-tag { font-size: 0.92rem; opacity: 0.9; max-width: 56ch; margin: 14px 0 0; }
.foot-nap { text-align: right; }
.foot-k { display: block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; margin-bottom: 6px; }
.foot-phone { display: block; font-family: var(--mono); font-size: 1.34rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 4px; }
.foot-mid { border-top: 1px solid rgba(255, 255, 255, 0.18); padding: 26px 0; }
.foot-mid .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot-mid h4 { color: #fff; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; opacity: 0.8; }
.foot-mid ul { list-style: none; padding: 0; margin: 0; font-size: 0.88rem; }
.foot-mid li { margin-bottom: 6px; }
.foot-base {
  border-top: 1px solid rgba(255, 255, 255, 0.18); padding: 15px 0 90px; font-size: 0.79rem; opacity: 0.86;
}
.foot-base .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Mobile action bar */
.actionbar { display: none; }

/* ---------- Responsive ---------------------------------------------------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; }
  .ask-grid { grid-template-columns: 1fr; }
  .datastrip dl { grid-template-columns: repeat(2, 1fr); }
  .datastrip div:nth-child(2) { border-right: 0; }
  .foot-mid .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .burger { display: block; order: 3; }
  .mast .wrap { flex-wrap: wrap; gap: 10px; }
  .menu {
    display: none; order: 4; width: 100%; margin: 0; flex-direction: column; gap: 0;
    border-top: 1px solid var(--line); padding: 6px 0 10px;
  }
  .menu.show { display: flex; }
  .menu a { padding: 10px 4px; font-size: 0.96rem; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .mast-act { margin-left: auto; }
  .cols-2, .cols-3, .posts, .qrow { grid-template-columns: 1fr; }
  .foot-top .wrap { grid-template-columns: 1fr; }
  .foot-nap { text-align: left; }
  .actionbar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; gap: 8px; padding: 8px;
    background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line-2);
  }
  .actionbar .btn { flex: 1; text-align: center; padding: 12px 8px; font-size: 0.93rem; }
  .sec { padding: 34px 0; }
  .index a { grid-template-columns: 1fr auto; }
  .index a span { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .datastrip dl { grid-template-columns: 1fr; }
  .datastrip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .datastrip div:last-child { border-bottom: 0; }
  .spec div { flex-direction: column; gap: 2px; }
  .spec dt { flex: none; }
  .ask-grid { gap: 26px; }
  .askcard { padding: 16px; }
  table.pt { font-size: 0.88rem; }
  table.pt th, table.pt td { padding: 9px 8px; }
  .rows li { grid-template-columns: 32px 1fr; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .mast, .ticker, .actionbar, .ask, .foot-mid { display: none; }
}
