/**
 * tenant-landing — the stylesheet.
 *
 * Generic by construction. No tenant name, no tenant colour, no tenant copy.
 * The palette arrives as custom properties from the profile; the values below
 * are deliberately NEUTRAL — a near-black, a grey and a mid blue-grey that
 * belong to nobody. They exist so a tenant with no theme still gets a
 * deliberate page, and so no brand is ever encoded in this repo.
 *
 * ONE COMMITTED LOOK: white ground, the brand colour in small areas. The page
 * does not follow a dark preference — see the note under :root for why.
 *
 * Note the specificity trap if a scheme is ever reintroduced: the profile's
 * values arrive in an inline <style> AFTER this file, so anything declared here
 * at the same specificity loses to it, and an override naming the same token
 * would silently do nothing.
 */

:root {
  color-scheme: light;

  /* Tenant tokens — every one is replaced from profile.json at render time. */
  --ink: #1d2733;          /* headings, wordmark, strong text */
  --brand-blue: #35496b;   /* secondary emphasis */
  --accent: #9a3324;       /* the short rule, links, focus ring, CTA */
  --teal: #9fb3bb;         /* a third tone, used sparingly */
  --body: #55616f;         /* body copy */
  --hairline: #dde2ea;     /* thin rules */
  --surface: #ffffff;
  --surface-alt: #f4f6fa;

  /* Derived. Everything visible reads THESE, never the raw tenant token, so
     the light/dark split happens in one place. */
  --ground: var(--surface);
  --ground-alt: var(--surface-alt);
  --text: var(--body);
  --heading: var(--ink);
  --line: var(--hairline);
  --accent-text: var(--accent);
  --on-accent: #ffffff;
  /* Per-card, and a profile may override it inline. Anything that has to stay
     READABLE against the ground derives from it rather than using it raw — see
     the dark block, where an inline value cannot be replaced, only lifted. */
  --arm-accent: var(--brand-blue);
  --soft: var(--brand-blue);

  --shell: 73rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --band-space: clamp(3.5rem, 9vw, 7rem);
  --radius: 24px;
  /* One corner noticeably larger than the others — the tenant's card shape. */
  --radius-signature: 24px 24px 24px 48px;

  --sans: 'Montserrat', 'Helvetica Neue', Helvetica, system-ui, sans-serif;
}

/* ── one committed look: white leads, the brand colour accents ────────────────
   This page deliberately does NOT follow the viewer's dark preference.

   An earlier cut derived a dark ground from the tenant's own ink, on the
   reasoning that a navy-dominant identity should feel native in the dark. It
   reads as a wall of blue, and it is not what the brand looks like: their
   printed profile is white, with the brand colour carried in small areas — a
   short rule under a heading, a wordmark, a button, the marks beside a list.
   Colour earns its weight by being rare.

   So the ground is white everywhere and the blue is an accent everywhere, and
   the page a visitor sees matches the document a customer is handed.
   `color-scheme: light` is set so form controls, scrollbars and the viewport
   behind the page are painted to match rather than left dark around it. */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.005em;
}

h1, h2, h3 {
  margin: 0;
  color: var(--heading);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

a { color: var(--accent-text); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--surface);
  padding: 0.75rem 1rem;
  z-index: 20;
}
.skip-link:focus { left: 0; }

/* The signature device: a short accent rule. It appears under the eyebrow in
   the hero and under every section heading, and nowhere else — a mark used
   everywhere stops being a mark. */
.rule {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-block: 1rem 1.4rem;
}

.rule-hero {
  /* The page's one piece of unprompted motion: the tenant's own rule drawing
     itself, once, on load. */
  transform-origin: left center;
  animation: rule-in 0.6s cubic-bezier(0.22, 0.7, 0.2, 1) both;
}

@keyframes rule-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Letterspaced small caps above a heading — how the tenant titles a page. */
.eyebrow, .tag {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
}
/* The floated tag is a print device from their document and it needs the room
   a page has. On a phone it crowds the heading it is meant to label — two
   competing lines of text on one row — so below 48rem it sits above the
   heading instead, which is where a small screen reads it as a label anyway. */
.tag { color: var(--text); display: block; margin-bottom: 0.6rem; }

@media (min-width: 48rem) {
  .tag { float: right; display: inline; margin-left: 1.5rem; margin-bottom: 0; }
}

/* ── masthead ─────────────────────────────────────────────────────────────── */

.masthead {
  border-bottom: 1px solid var(--line);
  background: var(--ground);
  position: sticky;
  top: 0;
  z-index: 10;
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}

.mark { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; }
.mark-logo { display: block; width: auto; height: 2.6rem; }
.mark-text { display: grid; gap: 0.05rem; }
.mark-name { font-weight: 700; font-size: 1.1rem; color: var(--heading); letter-spacing: -0.01em; }
.mark-strap {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  /* The wordmark is one unit. Letting the strapline wrap grows the whole
     sticky header and pushes the page down on every scroll. */
  white-space: nowrap;
}

.nav { display: none; gap: 1.75rem; font-size: 0.87rem; font-weight: 600; }
.nav a { color: var(--text); text-decoration: none; padding-block: 0.4rem; white-space: nowrap; }
.nav a:hover { color: var(--heading); box-shadow: inset 0 -2px 0 var(--accent); }

.masthead-actions { display: none; gap: 0.6rem; }

@media (min-width: 64rem) {
  .nav, .masthead-actions { display: flex; }
}

/* ── mobile app shell ─────────────────────────────────────────────────────────
   Below 64rem the page behaves like an app rather than a document: a compact
   fixed masthead, a thumb-reachable bar pinned to the bottom, and the sections
   behind a slide-over drawer. Before this the nav was simply `display:none`
   under 64rem with nothing in its place — a phone had no way to reach any
   section at all, which is most of the traffic this page will ever get.

   The document still scrolls natively. A 100dvh shell with an inner scroller is
   right for a console view, but on a content page it fights the iOS URL bar,
   breaks anchor links and loses scroll restoration — the app feel here comes
   from the chrome, not from taking scrolling away. */

.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* 44px: a tap target a thumb can actually hit. */
  width: 2.75rem;
  height: 2.75rem;
  margin-inline-start: auto;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--ground);
  color: var(--heading);
  cursor: pointer;
}
.menu-bars { display: grid; gap: 0.28rem; width: 1.1rem; }
.menu-bars span { display: block; height: 2px; border-radius: 2px; background: currentColor; }
.menu-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.scrim {
  position: fixed;
  inset: 0;
  background: rgb(6 30 66 / 0.45);
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 20;
}
.scrim.is-open { opacity: 1; }

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(20rem, 84vw);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--ground);
  border-inline-start: 1px solid var(--line);
  box-shadow: -18px 0 40px rgb(6 30 66 / 0.18);
  transform: translateX(100%);
  transition: transform 0.26s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 21;
  /* Clear the notch and the home indicator on a real handset. */
  padding: max(0.9rem, env(safe-area-inset-top)) 1.1rem
           max(1.1rem, env(safe-area-inset-bottom)) 1.1rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open { transform: translateX(0); }

.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.drawer-title {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}
.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-inline-end: -0.5rem;
  border: 0;
  background: none;
  color: var(--heading);
  cursor: pointer;
  border-radius: 0.75rem;
}
.drawer-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.drawer-nav { display: grid; margin-block: 0.4rem; }
.drawer-nav a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding-inline: 0.15rem;
  border-bottom: 1px solid var(--line);
  color: var(--heading);
  text-decoration: none;
  font-weight: 600;
}
.drawer-nav a:last-child { border-bottom: 0; }
.drawer-nav a:active { color: var(--accent-text); }

.drawer-actions { display: grid; gap: 0.55rem; margin-top: auto; padding-top: 1rem; }
.drawer-actions .button { width: 100%; min-height: 3rem; }

@media (min-width: 64rem) {
  .menu-button, .drawer, .scrim { display: none; }
}

/* A drawer that scrolls the page behind it feels like a web page, not an app. */
body.menu-open { overflow: hidden; }

/* ── buttons ──────────────────────────────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--accent-text);
  color: var(--accent-text);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.button:hover { background: color-mix(in srgb, var(--accent-text) 10%, transparent); }
.button-solid { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.button-solid:hover { background: color-mix(in srgb, var(--accent) 86%, #000000); border-color: transparent; }
.button-quiet { border-color: var(--line); color: var(--heading); }
.button-quiet:hover { border-color: var(--heading); background: transparent; }
.button-wide { width: 100%; }

/* ── hero ─────────────────────────────────────────────────────────────────── */

.hero { padding-block: clamp(3rem, 10vw, 6.5rem) clamp(2.5rem, 7vw, 4.5rem); }
.hero-copy { max-width: 46rem; }

.hero-line {
  font-size: clamp(2.2rem, 1.1rem + 5vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 18ch;
  text-wrap: balance;
}

.hero-name {
  margin: 1.4rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
}

.hero-summary {
  margin-top: 1.5rem;
  max-width: 40rem;
  font-size: 1.06rem;
  line-height: 1.8;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

.arm-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.arm-jump a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.arm-jump a::before {
  content: "";
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.arm-jump a:hover { color: var(--accent-text); }

/* ── bands ────────────────────────────────────────────────────────────────── */

.band { padding-block: var(--band-space); }
.band-alt { background: var(--ground-alt); }
.band-contact { border-top: 1px solid var(--line); }

.band-head { margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.band-head h2 { font-size: clamp(1.7rem, 1.1rem + 2.1vw, 2.6rem); max-width: 20ch; clear: none; }
.band-intro { max-width: 52ch; }

/* ── cards ────────────────────────────────────────────────────────────────── */

.grid-2 { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }

@media (min-width: 52rem) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-signature);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.card-icon { display: block; color: var(--arm-accent); margin-bottom: 1.1rem; }
.card-icon .icon { display: block; }

.card-title { font-size: 1.22rem; margin-bottom: 0.7rem; }
.card-lede { color: var(--text); margin-bottom: 1.25rem; }

.card-points { display: grid; gap: 0.6rem; }
.card-points li { position: relative; padding-left: 1.5rem; line-height: 1.6; }
.card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.card-note {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ── projects ─────────────────────────────────────────────────────────────── */

.projects { border-bottom: 1px solid var(--line); margin-bottom: 3rem; }
.projects li {
  display: grid;
  gap: 0.15rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
}
.project-name { font-weight: 600; color: var(--heading); }
.project-detail { font-size: 0.94rem; }

@media (min-width: 48rem) {
  .projects li { grid-template-columns: minmax(0, 1fr) minmax(0, 16rem); gap: 2rem; align-items: baseline; }
}

.customers h3 { font-size: 1.05rem; margin-bottom: 1.1rem; }
.customer-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.customer-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.88rem;
}

/* ── in development ───────────────────────────────────────────────────────── */

/* Held narrower than the page: a figure, a place and its status belong in one
   glance, and a full-width row strands the status word a screen away from the
   number it qualifies. */
.plants { max-width: 54rem; border-bottom: 1px solid var(--line); }
.plant { display: grid; gap: 0.3rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.plant-figure {
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--heading);
  /* A figure broken across two lines reads as two figures. */
  white-space: nowrap;
}
.plant-name { font-weight: 600; font-size: 1.05rem; color: var(--heading); }
.plant-detail { font-size: 0.94rem; }
.plant-status {
  justify-self: start;
  align-self: center;
  border: 1px solid var(--accent-text);
  border-radius: 999px;
  color: var(--accent-text);
  padding: 0.15rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

@media (min-width: 48rem) {
  .plant {
    grid-template-columns: 9.5rem minmax(0, 1fr) auto;
    gap: 0.2rem 2.5rem;
    align-items: center;
  }
  .plant-figure { grid-row: span 2; }
  .plant-status { grid-column: 3; grid-row: span 2; margin-top: 0; }
}

/* The caveat is body text beside the figures, never fine print under them. */
.caveat {
  margin-top: 2rem;
  max-width: 56ch;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
}

/* ── enquiry and contact ──────────────────────────────────────────────────── */

.contact-grid { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }

@media (min-width: 56rem) {
  .contact-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}

.enquiry h2, .contact h2 { font-size: clamp(1.7rem, 1.1rem + 2.1vw, 2.6rem); }
.enquiry .band-intro { margin-bottom: 1.75rem; }

.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.45rem; }
.field-pair { display: grid; gap: 1.15rem; }

@media (min-width: 30rem) {
  .field-pair { grid-template-columns: 1fr 1fr; }
}

label { font-size: 0.88rem; font-weight: 600; color: var(--heading); }
.optional { color: var(--text); font-weight: 400; }

input, select, textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--heading);
  font-size: 1rem;
  font-family: inherit;
}

textarea { min-height: 9rem; resize: vertical; line-height: 1.6; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--accent-text); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--accent-text); border-width: 2px; }

.hint { font-size: 0.85rem; margin: -0.45rem 0 0; }
.field-error { font-size: 0.85rem; font-weight: 600; color: var(--accent-text); margin: 0; }

/* Hidden from sight and from the tab order, but still a labelled field: a bot
   fills it, a person never sees it. */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-size: 0.93rem; font-weight: 600; margin: 0; }
.form-status:empty { display: none; }
.form-status-ok { color: var(--soft); }
.form-status-error { color: var(--accent-text); }

.notice {
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 0.9rem 1.1rem;
  background: var(--ground-alt);
  margin-bottom: 1.75rem;
  font-size: 0.93rem;
}

.contact-intro { margin-bottom: 1.75rem; }
.contact-list { border-top: 1px solid var(--line); }
.contact-row {
  display: grid;
  gap: 0.1rem 1.5rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--line);
}
.contact-row dt { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.contact-row dd { font-size: 1rem; color: var(--heading); word-break: break-word; }
.contact-note { font-size: 0.9rem; margin-top: 1.4rem; }

@media (min-width: 30rem) {
  .contact-row { grid-template-columns: 7rem minmax(0, 1fr); align-items: baseline; }
  .contact-row dt { padding-top: 0.3rem; }
}

/* ── footer and quick bar ─────────────────────────────────────────────────── */

.footer { border-top: 1px solid var(--line); padding-block: 2.75rem 3.25rem; }
.footer-inner { display: grid; gap: 0.3rem; }
.footer-name { font-weight: 700; color: var(--heading); margin: 0; }
.footer-note { font-size: 0.9rem; margin: 0; }

/* On a phone the two things a customer actually does are call and message.
   They stay within thumb reach the whole way down the page. */
.quickbar {
  position: fixed;
  inset: auto 0 0 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  border-top: 1px solid var(--line);
  background: var(--ground);
  z-index: 12;
  /* Sit above the home indicator rather than under it. */
  padding-bottom: env(safe-area-inset-bottom);
}
.quickbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.6rem 0.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--heading);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.01em;
  /* 56px of tab bar, the height a thumb expects to find one at. */
  min-height: 3.5rem;
  -webkit-tap-highlight-color: transparent;
}
.quickbar a + a { border-left: 1px solid var(--line); }
.quickbar a:hover { color: var(--accent-text); }
/* Pressed state instead of hover: a phone has no pointer to hover with. */
.quickbar a:active { background: var(--ground-alt, rgb(6 30 66 / 0.05)); }
.quickbar svg { display: block; }

body { padding-bottom: calc(4.2rem + env(safe-area-inset-bottom)); }

@media (min-width: 64rem) {
  .quickbar { display: none; }
  body { padding-bottom: 0; }
}

/* ── holding state ────────────────────────────────────────────────────────── */

.holding-body { display: grid; place-items: center; min-height: 100dvh; padding: var(--gutter); }
.holding { max-width: 46ch; }
.holding h1 { font-size: 1.5rem; margin-bottom: 1rem; }
.holding-detail { font-size: 0.93rem; }
.holding code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; }

/* ── motion ───────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ── equipment catalogue ──────────────────────────────────────────────────────
   Cards carry the SPEC, not a price. Which of the tenant's four trade tiers
   applies is a property of the customer, and a public page cannot know who is
   reading it — publishing any tier either leaks trade pricing to a walk-in or
   quotes retail to a distributor. A price shows only where the item's own data
   asks for it. */

.cat-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--ground);
}
.cat-cat {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.cat-model { margin: 0; font-size: 1.05rem; color: var(--heading); }
.cat-summary { margin: 0; font-size: 0.92rem; }

.cat-specs { display: grid; gap: 0.3rem; margin: 0.3rem 0 0; font-size: 0.87rem; }
.cat-specs > div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 0.3rem; }
.cat-specs > div:last-child { border-bottom: 0; }
.cat-specs dt { color: var(--text); }
.cat-specs dd { margin: 0; color: var(--heading); font-weight: 600; text-align: right; }

.cat-price { margin: 0.2rem 0 0; font-weight: 700; color: var(--heading); }

.cat-ask {
  margin-top: auto;
  padding-top: 0.7rem;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--accent-text);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.cat-ask::after { content: " →"; }
.cat-ask:hover { text-decoration: underline; }

.cat-note { margin-top: 1.25rem; font-size: 0.87rem; color: var(--text); }

/* ── the load list ────────────────────────────────────────────────────────────
   A table is the honest shape for four parallel numbers. It gets its OWN
   horizontal scroller so a wide row can never make the whole page scroll
   sideways — on a phone that reads as a broken site. */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.load-table { width: 100%; border-collapse: collapse; min-width: 34rem; }
.load-table th {
  text-align: left;
  padding: 0 0.4rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.load-table td { padding: 0.25rem 0.4rem 0.25rem 0; }
.load-table input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--ground);
  color: var(--heading);
  font: inherit;
  font-size: 0.95rem;
}
.load-table input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.load-table td[data-label="Watts"] input,
.load-table td[data-label="How many"] input,
.load-table td[data-label="Hours a day"] input { max-width: 7rem; }

.load-drop { width: 2.75rem; }
.load-remove {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 0.6rem;
  background: none;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.load-remove:hover { color: var(--accent-text); }
.load-remove:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.load-actions { margin-top: 0.9rem; }
.load-actions .button { min-height: 2.75rem; }

.load-estimate {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--heading);
}
.load-estimate:empty { display: none; }
.load-note { margin-top: 0.4rem; font-size: 0.85rem; color: var(--text); }

/* Announced to a screen reader, invisible to everyone else. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* On a phone the four columns do not fit, and a sideways swipe to reach "hours
   a day" is a field most people will never find. Below 40rem each appliance
   becomes its own card with the column name beside the input — the same markup,
   read down instead of across, so nothing is hidden and nothing scrolls. */
@media (max-width: 39.99rem) {
  .load-table { min-width: 0; }
  .table-scroll { overflow-x: visible; }

  .load-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .load-table, .load-table tbody, .load-row, .load-table td { display: block; width: 100%; }

  .load-row {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    padding: 0.85rem 0.9rem 0.9rem;
    margin-bottom: 0.75rem;
  }

  .load-table td { padding: 0; }
  .load-table td + td { margin-top: 0.55rem; }

  /* The column name, carried on the cell so the markup stays one table. */
  .load-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
  }

  .load-table td[data-label="Watts"] input,
  .load-table td[data-label="How many"] input,
  .load-table td[data-label="Hours a day"] input { max-width: none; }

  /* The remove control sits at the foot of the card it removes, in normal flow.
     An absolutely-positioned one was tried first and landed over the "Appliance"
     label — clever placement that has to be debugged is worse than plain
     placement that cannot be wrong. */
  .load-drop { width: auto; text-align: right; }
  .load-drop::before { content: none; }

  .load-actions .button { width: 100%; }
}

/* ── photography ──────────────────────────────────────────────────────────────
   Every image is the tenant's own or a supplier shot from their own materials.
   All of them carry width and height in the markup and an aspect-ratio here, so
   the space is reserved before the bytes arrive — a page that reflows as each
   photograph lands reads as broken, and it is worst on the slow connection that
   can least afford the reflow. */

.hero-figure {
  margin-top: 2.5rem;
  border-radius: var(--radius-signature);
  overflow: hidden;
  background: var(--ground-alt);
}
.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 888;
  object-fit: cover;
}

@media (min-width: 64rem) {
  /* Side by side once there is room: the statement reads first, the photograph
     confirms it. Below that they stack, copy first — an image above the fold on
     a phone pushes the thing a visitor came to read off the screen. */
  .hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
  .hero-figure { margin-top: 0; }
}

.arm-figure {
  margin: -0.25rem 0 1.4rem;
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  background: var(--ground-alt);
}
.arm-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* A product shot sits on white in the supplier's own photography, so the card
   gives it room rather than a coloured panel that would fight it. */
.cat-shot {
  position: relative;
  margin: -0.25rem 0 0.5rem;
  border-radius: calc(var(--radius) - 10px);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
}
.cat-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  /* The shots are generous with white space; pulling in keeps the unit large
     enough to recognise on a phone. */
  padding: 6%;
}
/* Said out loud, because it is the range and not this exact unit. Claiming
   otherwise would put a wrong picture beside a right spec, which is how a
   customer orders the wrong part. */
.cat-shot-note {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
  background: rgb(255 255 255 / 0.88);
  color: var(--text);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
