:root {
  --ink: #1e2327;
  --graphite: #262c31;
  --paper: #fff;
  --surface: #f1f2f1;
  --muted: #525a61;
  --line: #d5d9da;
  --orange: #ffb526;
  --accent: #954600;
  --focus: #b45c00;
  color: var(--ink);
  font: 16px/1.55 Arial, Helvetica, sans-serif;
  background: var(--surface);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
html { scroll-padding-top: 24px; scroll-behavior: smooth; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
h1, h2, h3, h4 { line-height: 1.18; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.section { padding: 46px 0; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.symbol-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 20; inset: 8px auto auto 8px; padding: 10px; background: var(--paper); color: var(--ink); }
.muted { color: var(--muted); font-size: 13px; }
.eyebrow, .mini-label, .term-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .085em;
  line-height: 1.45;
}
.eyebrow { color: var(--accent); }

.site-header, .site-footer { background: var(--ink); color: var(--paper); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  position: relative;
}
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; text-decoration: none; }
.brand img { width: 48px; height: auto; aspect-ratio: 115 / 72; object-fit: contain; }
.brand span { font-size: 19px; font-weight: 800; letter-spacing: .035em; line-height: 1.05; }
.brand small { display: block; margin-top: 5px; color: #c2c7ca; font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.site-header nav { display: flex; align-items: center; gap: 18px; }
.site-header nav > a { font-size: 14px; text-decoration: none; }
.site-header a:hover, .site-footer a:hover { color: var(--orange); }
.socials { display: flex; align-items: center; gap: 4px; padding-left: 12px; border-left: 1px solid #51585d; }
.socials a { display: grid; place-items: center; width: 34px; height: 36px; }
.socials .icon { width: 17px; height: 17px; }
.phone, .footer-phone { white-space: nowrap; font-size: 14px; font-weight: 700; text-decoration: none; }
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--paper);
  border: 1px solid #62696e;
  border-radius: 3px;
  background: transparent;
}
.site-header :focus-visible, .hero-shell :focus-visible, .site-footer :focus-visible { outline-color: var(--orange); }

.hero-shell { background: var(--graphite); color: var(--paper); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 38px; align-items: center; padding-block: 46px 50px; }
.hero .eyebrow { color: var(--orange); }
.hero h1 { font-size: clamp(34px, 5.3vw, 64px); margin: 10px 0 14px; letter-spacing: -.04em; }
.hero-lead { max-width: 64ch; color: #e0e3e5; font-size: 16px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 22px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.button-primary { color: var(--ink); background: var(--orange); }
.button-primary:hover { background: #ffd06e; }
.button-outline { border-color: #90979a; color: var(--ink); background: var(--paper); }
.button-outline:hover { border-color: var(--accent); color: var(--accent); }
.hero-link { color: #e0e3e5; font-size: 14px; text-underline-offset: 4px; }
.hero-location { display: grid; gap: 5px; padding-left: 16px; border-left: 2px solid var(--orange); color: #e0e3e5; font-size: 14px; }
.hero-location strong { color: var(--paper); font-size: 16px; }

.section-head { display: grid; gap: 7px; margin-bottom: 18px; }
.section-head h2, .request-form h2 { font-size: clamp(25px, 4vw, 37px); letter-spacing: -.027em; }
.section-head > p:not(.eyebrow) { color: var(--muted); }
.category-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 21px; }
.category-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.category-nav a:hover { border-color: var(--accent); color: var(--accent); }
.category-nav span { color: var(--muted); font-size: 11px; font-weight: 400; }
.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  align-items: start;
  gap: 22px;
}
.unit-summary {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 20px;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  padding: 16px;
}
.unit-summary h3 { font-size: 20px; margin-bottom: 13px; }
.unit-summary label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; }
#calculator-quantity {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #888f93;
  border-radius: 3px;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
}
#quantity-hint { margin: 4px 0 10px; }
.estimate-values > div { display: flex; align-items: baseline; justify-content: space-between; gap: 5px 12px; flex-wrap: wrap; padding: 7px 0; border-top: 1px solid var(--line); }
.estimate-values dt, .calculator-totals dt { color: var(--muted); font-size: 13px; }
.estimate-values dd, .calculator-totals dd { font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#summary-batch { font-size: 21px; }
.unit-summary-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 42px;
  margin-top: 12px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.unit-summary-link:hover { border-color: var(--accent); }
.operation-list { grid-column: 1; grid-row: 1; min-width: 0; }
.price-card { margin-bottom: 16px; border: 1px solid var(--line); background: var(--paper); }
.card-heading { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #f6f7f6; }
.card-heading > div { min-width: 0; flex: 1; }
.category-icon { display: inline-flex; color: var(--accent); }
.mini-label { margin-bottom: 4px; color: var(--muted); font-size: 10px; }
.card-heading h3 { font-size: 20px; }
.card-count { flex: none; color: var(--muted); font-size: 12px; white-space: nowrap; }
.rates, .storage-rates { list-style: none; margin: 0; padding: 0; }
.rate-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(68px, 100px) 44px;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
}
.rate-row:last-child { border-bottom: 0; }
.rate-row.is-selected { background: #fff5df; box-shadow: inset 3px 0 var(--orange); }
.rate-name { min-width: 0; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.rate-basis { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.rate-price { min-width: 0; text-align: right; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.3; overflow-wrap: anywhere; }
.rate-price small { font-size: 11px; }
.rate-price .unit { display: block; color: var(--muted); font-weight: 400; }
.choose-service, .selected-item button {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #9a520b;
  border-radius: 4px;
  color: var(--accent);
  background: var(--paper);
}
.choose-service:hover, .selected-item button:hover { background: #fff0d0; }
.choose-service[aria-pressed="true"] { color: var(--ink); border-color: #b16d1b; background: var(--orange); }
.card-footnote, .scope-note { padding: 10px 14px; color: var(--muted); font-size: 13px; }
.card-footnote { border-top: 1px solid var(--line); }
.scope-note { padding: 0; margin-bottom: 12px; }

.request-section { background: var(--paper); }
.request-form { max-width: 780px; }
.calculator-totals { margin-top: 12px; border-top: 1px solid var(--line); }
.calculator-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 5px 18px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
.calculator-totals .batch-total dd { font-size: 25px; }
.form-note, .estimate-note { color: var(--muted); font-size: 13px; margin: 10px 0 8px; }
.form-note:empty { display: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--accent); font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.calculator-details { margin: 8px 0 12px; border-block: 1px solid var(--line); }
.calculator-details summary { cursor: pointer; padding: 11px 0; font-weight: 700; }
.clear-selection { color: var(--accent); background: none; border: 0; text-decoration: underline; padding: 4px 0; min-height: 40px; }
.selection-group-title { color: var(--muted); font-size: 14px; margin: 8px 0 4px; }
.selected-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding: 8px 0; }
.selected-item > span { min-width: 0; overflow-wrap: anywhere; }
.selected-item b { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.empty-selection { color: var(--muted); padding-bottom: 12px; }

.storage-section { background: #e9ebea; }
.storage-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px 36px; align-items: start; }
.storage-policy h3 { font-size: 23px; margin-bottom: 8px; }
.storage-policy p, .terms-bottom p { color: var(--muted); font-size: 14px; }
.storage-rates { border-top: 1px solid #aeb5b8; }
.storage-rates li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(72px, 90px); gap: 10px; align-items: start; padding: 12px 0; border-bottom: 1px solid #aeb5b8; }

.terms-section { background: var(--paper); }
.terms-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 22px; border-top: 1px solid var(--line); }
.term-card { min-width: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.term-kicker, .term-detail { color: var(--muted); }
.term-value { font-size: clamp(20px, 2.8vw, 28px); font-weight: 700; font-variant-numeric: tabular-nums; margin: 5px 0; overflow-wrap: anywhere; }
.term-value small, .term-value span, .term-detail { font-size: 12px; }
.term-card h3 { font-size: 14px; margin-bottom: 4px; }
.terms-bottom { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin-top: 20px; }
.terms-bottom h3 { font-size: 17px; margin-bottom: 4px; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; padding-block: 18px; }
.footer-top > p { display: flex; gap: 7px; }
.footer-top p, .footer-bottom { font-size: 13px; color: #dce0e2; }
.footer-bottom { border-top: 1px solid #545c62; }
.footer-bottom > div { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .header-inner { justify-content: flex-start; }
  .header-inner .phone { margin-left: auto; }
  .menu-button { display: inline-flex; }
  .site-header nav {
    display: none;
    position: absolute;
    z-index: 10;
    inset: 100% 0 auto 0;
    background: var(--ink);
    border: 1px solid #62696e;
    padding: 8px 14px;
  }
  .site-header nav.is-open { display: grid; gap: 0; }
  .site-header nav > a { padding: 10px 0; min-height: 42px; }
  .socials { padding: 6px 0 0; border-left: 0; border-top: 1px solid #51585d; }
  .socials a { width: 44px; height: 42px; }
}

@media (max-width: 800px) {
  .wrap { width: calc(100% - 36px); }
  .hero { grid-template-columns: 1fr; gap: 22px; }
  .hero-location { align-self: start; }
  .calculator-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .unit-summary, .operation-list { position: static; grid-column: auto; grid-row: auto; }
  .terms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 28px); }
  .header-inner { min-height: 57px; gap: 8px; }
  .brand { gap: 6px; }
  .brand img { width: 39px; }
  .brand span { font-size: 15px; }
  .brand small { font-size: 7px; }
  .phone { font-size: 12px; }
  .menu-button { width: 40px; }
  .hero { gap: 18px; padding-block: 25px 29px; }
  .hero h1 { margin-block: 7px 10px; font-size: clamp(32px, 9vw, 41px); }
  .hero-lead { font-size: 15px; }
  .hero-actions { margin-top: 16px; gap: 8px 16px; }
  .hero-location { gap: 2px; }
  .section { padding: 30px 0; }
  .section-head > p { font-size: 14px; }
  .category-nav { margin-bottom: 14px; }
  .card-heading { gap: 8px; padding-inline: 10px; }
  .card-heading h3 { font-size: 17px; }
  .card-count { font-size: 11px; }
  .rate-row { grid-template-columns: minmax(0, 1fr) minmax(60px, 70px) 44px; gap: 7px; padding: 8px 10px; }
  .rate-name, .rate-price { font-size: 14px; }
  .rate-basis { font-size: 11px; }
  .storage-layout, .terms-bottom { grid-template-columns: minmax(0, 1fr); }
  .term-card h3 { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
