/* ---------- routes ---------- */
.routes { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s8); align-items: center; }
.routes .disc { width: min(100%, 520px); justify-self: center; }
.route-list { list-style: none; margin: 0; padding: 0; border-top: var(--rule); }
.route-list li { display: grid; grid-template-columns: 5rem minmax(0, 1fr) auto; gap: var(--s5); align-items: center; padding: 14px 0; border-bottom: var(--rule-soft); }
.route-list .country { font-family: var(--display); font-weight: 700; font-size: 1.625rem; text-transform: uppercase; line-height: 1; }
.route-list .note { font-size: .9375rem; color: var(--ink-3); text-align: right; }
@media (max-width: 960px) { .routes { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .route-list li { grid-template-columns: 4.2rem 1fr; } .route-list .note { grid-column: 2; text-align: left; } }

/* ---------- cargo ---------- */
.cargo { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0; border: var(--rule); }
.cargo > div { padding: var(--s6); }
.cargo > div + div { border-left: var(--rule); background: var(--paper-2); }
.spec { list-style: none; margin: 0; padding: 0; }
.spec li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--s4); padding: 14px 0; border-bottom: var(--rule-soft); }
.spec li:last-child { border-bottom: 0; }
.spec b { font-family: var(--display); font-weight: 700; font-size: 1.3125rem; text-transform: uppercase; line-height: 1.1; }
.spec span { color: var(--ink-2); }
.nope { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: var(--s4) 0 var(--s5); }
.nope li { border: 1px solid var(--ink); padding: 4px 10px; font-size: .9375rem; background: var(--paper); }
@media (max-width: 960px) { .cargo { grid-template-columns: 1fr; } .cargo > div + div { border-left: 0; border-top: var(--rule); } }
@media (max-width: 520px) { .spec li { grid-template-columns: 1fr; gap: 2px; } .cargo > div { padding: var(--s5); } }

/* ---------- inquiry block ---------- */
.inquiry { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: var(--s8); }
.inquiry aside { position: sticky; top: 100px; align-self: start; }
.inquiry aside .person { border: var(--rule); margin-top: var(--s5); }
.form-wrap { border: var(--rule); background: var(--white); padding: var(--s6); }
.form-wrap .field input, .form-wrap .field select, .form-wrap .field textarea { background: var(--paper); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldgroup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); grid-column: 1 / -1; }
.fieldgroup[hidden] { display: none; }
.group-title { grid-column: 1 / -1; font-family: var(--display); font-weight: 700; font-size: 1.3125rem; text-transform: uppercase; padding-top: var(--s3); border-top: var(--rule); margin-top: var(--s2); }
@media (max-width: 960px) { .inquiry { grid-template-columns: 1fr; gap: var(--s6); } .inquiry aside { position: static; } }
@media (max-width: 680px) { .fieldgroup { grid-template-columns: 1fr; } .form-wrap { padding: var(--s5) var(--s4); } }

/* ---------- jobs ---------- */
.jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: var(--rule); border-left: var(--rule); }
.job { padding: var(--s6); border-right: var(--rule); border-bottom: var(--rule); display: grid; gap: var(--s4); align-content: start; }
.job h3 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); }
.job dl { margin: 0; display: grid; grid-template-columns: 7.5rem 1fr; gap: 6px 16px; }
.job dt { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.job dd { margin: 0; }
@media (max-width: 860px) { .jobs { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .job dl { grid-template-columns: 1fr; } .job dt { margin-top: 8px; } .job { padding: var(--s5); } }

/* ---------- materials ---------- */
.mat-filter { display: flex; flex-wrap: wrap; gap: 0; border: var(--rule); width: fit-content; margin-bottom: var(--s6); }
.mat-filter button { font: inherit; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; padding: 12px 18px; background: transparent; border: 0; border-right: var(--rule); cursor: pointer; color: var(--ink); min-height: 48px; }
.mat-filter button:last-child { border-right: 0; }
.mat-filter button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.mat-filter button:hover:not([aria-pressed="true"]) { background: var(--paper-2); }

.mats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--rule); border-left: var(--rule); }
.mat { background: var(--paper); display: grid; grid-template-rows: auto 1fr; border-right: var(--rule); border-bottom: var(--rule); }
.mat-photo { border-bottom: var(--rule); }
.mat[hidden] { display: none; }
.mat-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); position: relative; }
.mat-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mat:hover .mat-photo img { transform: scale(1.05); }
.mat-photo.blank { display: grid; place-content: center; justify-items: center; gap: var(--s3); padding: var(--s4); background: var(--paper-2); }
.mat-photo.blank .scale { width: 70%; }
.mat-photo.blank em { font-style: normal; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .875rem; color: var(--ink-3); }
@media (max-width: 1080px) and (min-width: 721px) { .mats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mat-photo.blank span { font-family: var(--display); font-weight: 800; font-size: clamp(2.25rem, 3.4vw, 3rem); color: var(--ink); letter-spacing: -0.01em; line-height: 1; }
.mat-body { padding: var(--s4) var(--s4) 0; display: grid; grid-template-rows: auto 1fr auto; }
.mat h3 { font-size: 1.4375rem; margin-bottom: 4px; }
.mat .frac { font-size: .9375rem; color: var(--ink-3); }
.band { display: grid; grid-template-columns: 1fr auto; border-top: var(--rule); margin: var(--s4) calc(var(--s4) * -1) 0; }
.band > * { padding: 10px var(--s4); }
.band .price { font-family: var(--display); font-weight: 800; font-size: 1.75rem; line-height: 1; }
.band .price small { font-family: var(--text); font-weight: 500; font-size: .8125rem; color: var(--ink-3); display: block; margin-top: 4px; letter-spacing: 0; }
.band .stock { border-left: var(--rule); display: flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: .875rem; letter-spacing: .05em; }
.band .stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

.rates { width: 100%; border-collapse: collapse; }
.rates caption { text-align: left; font-family: var(--display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; padding-bottom: var(--s3); }
.rates th, .rates td { padding: 14px 12px; border-bottom: var(--rule-soft); text-align: left; vertical-align: baseline; }
.rates thead th { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); font-size: .9375rem; border-bottom: var(--rule); }
.rates td.num, .rates th.num { text-align: right; white-space: nowrap; }
.rates td.num { font-family: var(--display); font-weight: 700; font-size: 1.3125rem; }
.rates-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s8); align-items: start; }
.notes { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.notes li { padding-left: 22px; position: relative; color: var(--ink-2); }
.notes li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--red); }
@media (max-width: 960px) { .rates-wrap { grid-template-columns: 1fr; gap: var(--s6); } }

/* containers: a fixed set of four positions */
.bins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--rule); border-left: var(--rule); }
.bin { border-right: var(--rule); border-bottom: var(--rule); padding: var(--s5); display: grid; gap: var(--s3); align-content: start; background: var(--paper); }
.bin .slot { height: 128px; display: flex; align-items: flex-end; border-bottom: var(--rule); padding-bottom: 10px; }
.bin svg { display: block; height: auto; }
.bin .vol { font-family: var(--display); font-weight: 800; font-size: clamp(2.75rem, 4.4vw, 4rem); line-height: .9; }
.bin .vol sup { font-size: .45em; vertical-align: .9em; }
.bin .what { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1.0625rem; }
.bin .use { font-size: .9375rem; color: var(--ink-3); min-height: 2.8em; }
.bin .cost { font-family: var(--display); font-weight: 800; font-size: 1.875rem; line-height: 1; padding-top: var(--s3); border-top: var(--rule-soft); }
.bin .cost small { font-family: var(--text); font-weight: 500; font-size: .8125rem; color: var(--ink-3); }
@media (max-width: 1080px) { .bins { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .bins { grid-template-columns: 1fr; } .bin .slot { height: 96px; } }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--ink); border: var(--rule); margin-top: var(--s7); }
.duo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
@media (max-width: 640px) { .duo { grid-template-columns: 1fr; } }

.open-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .9375rem; }
.open-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--grey); }
.open-pill.is-open::before { background: var(--red); box-shadow: 0 0 0 4px rgba(237,28,36,.18); }

/* ---------- small screens ---------- */
@media (max-width: 720px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .mosaic figure { grid-column: span 1 !important; grid-row: span 1 !important; }
  .mosaic figure:first-child { grid-column: span 2 !important; grid-row: span 2 !important; }
  .mosaic figure:nth-child(2) { grid-row: span 2 !important; }
  .mats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mat-photo { aspect-ratio: 1; }
  .mat h3 { font-size: 1.1875rem; }
  .mat-body { padding: var(--s3) var(--s3) 0; }
  .band { grid-template-columns: 1fr; margin: var(--s3) calc(var(--s3) * -1) 0; }
  .band > * { padding: 8px var(--s3); }
  .band .price { font-size: 1.5rem; }
  .band .stock { border-left: 0; border-top: var(--rule-soft); }
  .mat-filter { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .mat-filter button { flex: none; }
  .dhero-disc { width: min(64vw, 260px); }
}

/* ---------- legal text ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: var(--s7) 0 var(--s3); }
.legal p, .legal .notes { max-width: 68ch; }
.band .stock.out { color: var(--ink-3); }
.band .stock.out::before { background: var(--grey); }
.band .stock.out { color: var(--red-ink); line-height: 1.15; text-align: left; }
.band .stock.out::before { align-self: flex-start; margin-top: .3em; }
