/* Sila International — static prototype
   Direction: "spec plate". Brushed-steel ground, equipment rating-plate cards,
   and a temperature rail (frozen -> cooking) as the one signature element. */

:root {
  --ground: #e6e9eb;
  --plate: #f5f6f7;
  --ink: #14171a;
  --muted: #5b6369;
  --rule: #c7cdd1;
  --rule-soft: #d8dde0;

  /* operating-temperature zones (food-safety bands) */
  --frozen: #2d6aa8;
  --chilled: #5d9fc6;
  --ambient: #86919a;
  --holding: #d98a1c;
  --cooking: #c9441b;

  --f-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Public Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 6px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

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

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

.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;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(230, 233, 235, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 24px;
  min-height: 64px;
}
.wordmark {
  display: flex; align-items: baseline; gap: 8px;
  text-decoration: none;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.wordmark span { font-weight: 500; color: var(--muted); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

.quote-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 14px/1 var(--f-body);
  background: var(--ink); color: var(--plate);
  border: 0; border-radius: var(--radius);
  padding: 11px 14px; cursor: pointer;
}
.quote-toggle .count {
  font-family: var(--f-mono); font-weight: 500;
  background: var(--plate); color: var(--ink);
  border-radius: 3px; padding: 3px 6px; min-width: 22px; text-align: center;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--f-body);
  text-decoration: none;
  border-radius: var(--radius);
  padding: 14px 20px;
  border: 1px solid var(--ink);
  cursor: pointer;
}
.btn-solid { background: var(--ink); color: var(--plate); }
.btn-solid:hover { background: #2a2f34; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--plate); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 72px) 28px; }
.hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(46px, 7.2vw, 100px);
  line-height: 0.9;
  letter-spacing: 0.005em;
  margin: 0 0 24px;
  max-width: 15ch;
}
.hero h1 .cold { color: var(--frozen); }
.hero h1 .hot { color: var(--cooking); }
.hero .lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 54ch;
  margin: 0 0 30px;
}
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- signature: temperature rail ---------- */
.rail-section { padding-block: 28px 72px; }
.rail-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 8px 24px; margin-bottom: 14px;
}
.rail-head h2 {
  font: 700 15px/1.2 var(--f-body); margin: 0;
}
.rail-head p { margin: 0; color: var(--muted); font-size: 14px; }

.rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.18) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #eef0f2, #dfe3e6);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  list-style: none; margin: 0; padding: 0;
}
.zone { position: relative; border-left: 1px solid var(--rule); }
.zone:first-child { border-left: 0; }
.zone a {
  display: flex; flex-direction: column; height: 100%;
  padding: 0 18px 20px; text-decoration: none;
}
.zone .bar {
  height: 10px; margin: 0 -18px 18px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.22) 0 1px, transparent 1px 12px),
    var(--zone);
  transform-origin: left center;
  transition: height 160ms ease;
}
.zone .temp {
  font: 500 13px/1 var(--f-mono);
  color: var(--zone-ink, var(--zone));
  margin-bottom: 8px;
}
.zone .name {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: 30px; line-height: 0.95; margin-bottom: 12px;
}
.zone ul {
  list-style: none; margin: 0 0 16px; padding: 0;
  font-size: 14px; color: var(--muted);
}
.zone li { padding-block: 3px; }
.zone .go {
  margin-top: auto; font-weight: 600; font-size: 14px;
  display: inline-flex; gap: 6px; align-items: center;
}
.zone a:hover .bar { height: 16px; }
.zone a:hover .go { text-decoration: underline; text-underline-offset: 3px; }

.z-frozen  { --zone: var(--frozen); }
.z-chilled { --zone: var(--chilled); --zone-ink: #3b7fa6; }
.z-ambient { --zone: var(--ambient); --zone-ink: #66717a; }
.z-holding { --zone: var(--holding); --zone-ink: #a8660c; }
.z-cooking { --zone: var(--cooking); }

@media (prefers-reduced-motion: no-preference) {
  .rail .bar { animation: fill 700ms cubic-bezier(.2,.7,.2,1) both; }
  .rail .zone:nth-child(2) .bar { animation-delay: 90ms; }
  .rail .zone:nth-child(3) .bar { animation-delay: 180ms; }
  .rail .zone:nth-child(4) .bar { animation-delay: 270ms; }
  .rail .zone:nth-child(5) .bar { animation-delay: 360ms; }
}
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- section scaffolding ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--rule); }
.section-title {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(36px, 5vw, 60px); line-height: 0.95; margin: 0 0 12px;
  max-width: 16ch;
}
.section-intro { color: var(--muted); max-width: 58ch; margin: 0 0 36px; font-size: 17px; }

/* ---------- spec plate cards ---------- */
.plates {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
}
.plate {
  position: relative;
  background: var(--plate);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px 24px 24px;
  /* four rivets, like a rating plate */
  background-image:
    radial-gradient(circle at 12px 12px, #b9c0c5 0 3px, transparent 3.5px),
    radial-gradient(circle at calc(100% - 12px) 12px, #b9c0c5 0 3px, transparent 3.5px),
    radial-gradient(circle at 12px calc(100% - 12px), #b9c0c5 0 3px, transparent 3.5px),
    radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), #b9c0c5 0 3px, transparent 3.5px);
}
.plate h3 {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: 28px; line-height: 1; margin: 6px 0 14px;
}
.plate-photo { display: block; width: calc(100% + 48px); height: 168px; object-fit: cover; margin: -22px -24px 18px; border-radius: 5px 5px 0 0; }
.plate dl {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 14px;
  margin: 0 0 16px; padding: 12px 0; border-block: 1px solid var(--rule-soft);
  font-size: 13px;
}
.plate dt { font-family: var(--f-mono); color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: 0.06em; padding-top: 2px; }
.plate dd { margin: 0; font-family: var(--f-mono); }
.plate ul { margin: 0 0 18px; padding-left: 18px; color: var(--muted); font-size: 15px; }
.plate li { padding-block: 2px; }
.plate .more { font-weight: 600; font-size: 14px; text-underline-offset: 3px; }

.temp-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 12px/1 var(--f-mono);
  color: var(--ink);
}
.temp-tag::before {
  content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--zone);
}

/* ---------- quoting steps (a real sequence) ---------- */
.steps {
  display: grid; gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none; margin: 0; padding: 0;
  border: 1px solid var(--rule); border-radius: var(--radius); background: var(--plate);
  counter-reset: step;
}
.steps li { padding: 24px; border-left: 1px solid var(--rule); counter-increment: step; }
.steps li:first-child { border-left: 0; }
.steps li::before {
  content: "Step " counter(step);
  display: block; font: 500 12px/1 var(--f-mono); color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px;
}
.steps h3 { font-size: 19px; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- quote band + business details ---------- */
.quote-band {
  display: grid; gap: 32px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
}
.quote-band .checklist { margin: 0 0 28px; padding-left: 20px; color: var(--muted); }
.quote-band .checklist li { padding-block: 3px; }
.details {
  background: var(--plate); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 8px 22px;
}
.details h3 { font-size: 15px; margin: 14px 0 4px; }
.details dl { margin: 0; }
.details .row {
  display: flex; justify-content: space-between; gap: 16px;
  padding-block: 12px; border-top: 1px solid var(--rule-soft); font-size: 14px;
}
.details .row:first-of-type { border-top: 0; }
.details dt { color: var(--muted); }
.details dd { margin: 0; text-align: right; font-family: var(--f-mono); font-size: 13px; }

/* content the client must supply — visible on purpose, never faked */
.tbc {
  display: inline-block; font: 500 12px/1.2 var(--f-mono);
  color: #7a5a00; background: #fff3cc; border: 1px dashed #d7b441;
  border-radius: 3px; padding: 3px 6px;
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding-block: 28px 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .quote-toggle { margin-left: auto; }
  .rail { grid-template-columns: 1fr; }
  .zone { border-left: 0; border-top: 1px solid var(--rule); }
  .zone:first-child { border-top: 0; }
  .zone a { padding: 16px 18px 16px 30px; }
  .zone .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 10px; height: auto; margin: 0; transform-origin: center top; }
  .zone a:hover .bar { height: auto; width: 14px; }
  .zone ul { margin-bottom: 8px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-left: 0; border-top: 1px solid var(--rule); }
  .steps li:first-child { border-top: 0; }
  .quote-band { grid-template-columns: 1fr; }
  @media (prefers-reduced-motion: no-preference) {
    .rail .bar { animation-name: fill-v; }
  }
}
@keyframes fill-v { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- catalogue page ---------- */
.page-head { padding-block: clamp(40px, 6vw, 72px) 8px; }
.page-head h1 {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(52px, 8vw, 96px); line-height: 0.9; margin: 0 0 14px;
}
.page-head .section-intro { margin-bottom: 28px; }

.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.search input {
  font: 400 15px/1.2 var(--f-body);
  width: min(320px, 100%);
  padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--plate); color: var(--ink);
}
.search { flex: 0 1 320px; }
.search input { width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  display: inline-flex; align-items: center; gap: 7px;
  font: 500 14px/1 var(--f-body);
  padding: 10px 12px; border-radius: 999px;
  border: 1px solid var(--rule); background: var(--plate); color: var(--ink);
  cursor: pointer;
}
.chips button[class*="z-"]::before {
  content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--zone);
}
.chips button span { font: 400 12px/1 var(--f-mono); color: var(--muted); }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--plate); border-color: var(--ink); }
.chips button[aria-pressed="true"] span { color: #c3cace; }
.status { color: var(--muted); font-size: 14px; margin: 16px 0 0; min-height: 1.5em; }

.catalogue { padding-block: 16px 88px; }
.cat-group { padding-top: 36px; }
.cat-title {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: 30px; line-height: 1; margin: 0 0 16px;
  padding-bottom: 10px; border-bottom: 1px solid var(--rule);
}
.cat-title span { font: 500 13px/1 var(--f-mono); color: var(--muted); }
.products {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}
.product {
  display: flex; flex-direction: column;
  background: var(--plate); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 18px;
  border-top: 4px solid var(--zone);
}
.product h3 { font-size: 17px; line-height: 1.3; margin: 0 0 6px; }
.product p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.add {
  margin-top: auto;
  font: 600 14px/1 var(--f-body);
  padding: 11px 12px; border-radius: var(--radius);
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  cursor: pointer;
}
.add:hover { background: var(--ground); }
.add.is-added { background: var(--ink); color: var(--plate); }

/* ---------- quote list dialog ---------- */
.quote-dialog {
  margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh;
  width: min(440px, 100vw); max-width: 100vw;
  border: 0; border-left: 1px solid var(--rule);
  padding: 0; background: var(--plate); color: var(--ink);
}
.quote-dialog[open] { display: flex; flex-direction: column; }
.quote-dialog::backdrop { background: rgba(20, 23, 26, 0.45); }
.q-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; border-bottom: 1px solid var(--rule);
}
.q-head h2 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 0; }
.q-head { gap: 10px; }
.q-clear {
  margin-left: auto; background: none; border: 1px solid var(--rule); border-radius: var(--radius);
  font: 500 13px/1 var(--f-body); color: var(--muted); padding: 8px 10px; cursor: pointer;
}
.q-clear:hover { color: var(--ink); border-color: var(--ink); }
.q-note { margin: 0 0 12px; font-size: 12px; color: var(--muted); }
.q-close { font-size: 28px; line-height: 1; background: none; border: 0; cursor: pointer; padding: 4px 8px; color: var(--ink); }
.q-empty { padding: 22px; margin: 0; color: var(--muted); }
.q-items { list-style: none; margin: 0; padding: 0 22px; overflow: auto; }
.q-items li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-block: 14px; border-bottom: 1px solid var(--rule-soft);
}
.q-items strong { display: block; font-size: 15px; font-weight: 600; }
.q-items span { font-size: 13px; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--rule); border-radius: var(--radius); }
.stepper button { width: 34px; height: 34px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--ink); }
.stepper output { min-width: 28px; text-align: center; font-family: var(--f-mono); }
.q-send { margin-top: auto; padding: 18px 22px 22px; border-top: 1px solid var(--rule); background: var(--ground); }
.q-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; margin-bottom: 14px; }
.q-fields label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; }
.q-fields .wide { grid-column: 1 / -1; }
.q-fields input, .q-fields textarea {
  font: 400 15px/1.3 var(--f-body); padding: 10px 11px;
  border: 1px solid var(--rule); border-radius: var(--radius); background: var(--plate); color: var(--ink);
  width: 100%; min-width: 0;
}
.q-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) {
  .q-fields, .q-actions { grid-template-columns: 1fr; }
}

/* ---------- equipment illustrations ---------- */
.ill svg { width: 100%; height: 100%; overflow: visible; }
.ill svg * { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.ill .ns { stroke: none; }
.ill .t1 { stroke-width: 1.1; }
.ill .t2 { stroke-width: 2.4; }
.ill .t3 { stroke-width: 3.2; }
.ill .fade { opacity: 0.45; }
.ill .op { opacity: 0.82; }
.ill .op2 { opacity: 0.55; }
.ill .dash { stroke-dasharray: 2 3; }
/* materials */
.ill .st { fill: #e3e8eb; }
.ill .sd { fill: #c3ccd2; }
.ill .wh { fill: #fbfcfc; }
.ill .ink { fill: var(--ink); }
.ill .gl { fill: #d4e7f2; }
.ill .gl2 { fill: #bfd7e7; }
.ill .in { fill: #dfe7ec; }
.ill .wd { fill: #d2aa80; }
.ill .wdd { fill: #a87f5c; }
.ill .bx { fill: #cfae86; }
.ill .ct { fill: #454c52; }
.ill .bk2 { fill: #2b3035; }
.ill .bl { fill: #ece5d7; }
/* temperature accents come from the zone tokens */
.ill .fz { fill: var(--frozen); }
.ill .ch { fill: var(--chilled); }
.ill .hl { fill: var(--holding); }
.ill .ck { fill: var(--cooking); }
/* food */
.ill .mt { fill: #a5552f; }
.ill .ham { fill: #e2a293; }
.ill .hc { fill: #f3c8bd; }
.ill .gr { fill: #86ad6e; }
.ill .ye { fill: #e8c35c; }
.ill .br { fill: #d49a5b; }
.ill .dg { fill: #f1d6a3; }
.ill .cr { fill: #f4e8d0; }
.ill .be { fill: #c4574b; }
.ill .choc { fill: #6b4b3b; }
.ill .wine { fill: #8e2f3b; }
.ill .ol { fill: #4c513d; }
/* stroke colours */
.ill .swh { stroke: #fff; }
.ill .sck { stroke: var(--cooking); }
.ill .shl { stroke: var(--holding); }
.ill .sfz { stroke: var(--frozen); }
.ill .sch { stroke: var(--chilled); }
.ill .dk { stroke: #6f3219; }
.ill .swdd { stroke: #9b7452; }
.ill .sst { stroke: #9aa5ac; }
.ill .sh { fill: #14171a; opacity: 0.09; stroke: none; }

/* product card image well */
.product-media {
  height: 180px; margin: -18px -18px 14px;
  overflow: hidden; background: #dde2e5;
  border-bottom: 1px solid var(--rule-soft);
  border-radius: 4px 4px 0 0;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product > .temp-tag { margin-bottom: 8px; }
.q-items li { justify-content: flex-start; }
.q-items .q-thumb { flex: 0 0 52px; width: 52px; height: 52px; object-fit: cover; border-radius: 4px; }
.q-items .q-name { flex: 1 1 auto; }

/* illustration review sheet */
.sheet { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); padding-block: 8px 80px; list-style: none; margin: 0; }
.sheet li { background: var(--plate); border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px; text-align: center; font-size: 14px; font-weight: 600; }
.sheet .ill { display: block; width: 168px; height: 168px; margin: 0 auto 6px; }

/* preview label: keeps the shared link from passing as the live site */
.preview-bar {
  background: var(--ink); color: #eef1f3;
  font: 500 12px/1.35 var(--f-mono); letter-spacing: 0.02em;
  text-align: center; padding: 7px var(--gutter);
}

/* ---------- hero with photograph ---------- */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: clamp(24px, 4vw, 52px); align-items: center; }
.hero-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--rule); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 16 / 10; }
}

/* ---------- skip link, legal pages ---------- */
.skip {
  position: absolute; left: 12px; top: -48px; z-index: 60;
  background: var(--ink); color: var(--plate); padding: 10px 14px; border-radius: var(--radius);
  font: 600 14px/1 var(--f-body); text-decoration: none;
  transition: top 120ms ease;
}
.skip:focus { top: 12px; }
.prose { max-width: 62ch; padding-bottom: 80px; }
.prose h2 { font-size: 20px; margin: 32px 0 8px; }
.prose p { margin: 0 0 14px; color: var(--muted); font-size: 16px; }
.prose .tbc-note { background: var(--plate); border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px 16px; color: var(--ink); }
.prose .updated { font-size: 14px; }

.quote-band .actions, .page-head .actions { display: flex; flex-wrap: wrap; gap: 12px; }
