:root {
  --ink: #101820;
  --muted: #5b6673;
  --line: #dce2e8;
  --panel: #ffffff;
  --soft: #f5f7fa;
  --blue: #1769aa;
  --blue-dark: #0a3d69;
  --yellow: #f8b620;
  --green: #1b7f55;
  --red: #a63b2c;
  --shadow: 0 12px 24px rgba(16, 24, 32, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--soft);
}

.market-ticker {
  position: sticky;
  top: 0;
  z-index: 40;
  display: block;
  min-height: 36px;
  color: #dce8f2;
  background: #08111a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 18px rgba(8, 17, 26, 0.18);
}

.market-track {
  overflow: hidden;
  width: 100%;
}

.market-marquee {
  display: flex;
  align-items: center;
  min-width: max-content;
  height: 36px;
  animation: marketScroll 32s linear infinite;
  will-change: transform;
}

.market-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.market-item,
.market-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 20px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.market-item strong {
  color: #fff;
  font-weight: 900;
}

.market-item span {
  color: #c9d8e5;
}

.market-item em {
  font-style: normal;
  font-weight: 900;
}

.market-item.up em {
  color: #60d394;
}

.market-item.down em {
  color: #ff8f7a;
}

.market-note {
  color: #9bb2c5;
}

@keyframes marketScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-25%);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 36px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transform: translateY(0);
  transition: transform 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.site-header.is-receded {
  transform: translateY(calc(-100% - 38px));
  box-shadow: none;
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 88px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 40px;
  color: #fff;
  background: var(--ink);
  border-bottom: 5px solid var(--blue);
  font-size: 18px;
  line-height: 1;
}

.brand:hover .brand-mark {
  border-bottom-color: var(--yellow);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  margin-inline: 0 auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-18px);
  transition: opacity 160ms ease, transform 180ms ease;
}

.site-header.nav-open .nav-links,
.nav-links:focus-within {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.nav-links a {
  transform-origin: left center;
}

.site-header.nav-burst .nav-links a {
  animation: navBurst 640ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.site-header.nav-burst .nav-links a:nth-child(2) {
  animation-delay: 55ms;
}

.site-header.nav-burst .nav-links a:nth-child(3) {
  animation-delay: 110ms;
}

@keyframes navBurst {
  0% {
    opacity: 0;
    transform: translateX(-220px) scale(0.82);
  }

  58% {
    opacity: 1;
    transform: translateX(10px) scale(1.03);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.nav-links a:hover,
.footer a:hover {
  color: var(--blue);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 800;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.header-action {
  margin-left: auto;
}

.header-action,
.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: none;
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.header-action:hover,
.button:hover {
  color: #fff;
  background: var(--blue-dark);
}

.wide {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(480px, 1.22fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: center;
  min-height: calc(118vh - 76px);
  padding: clamp(28px, 5vw, 66px) clamp(18px, 4vw, 56px) 36px;
  background: linear-gradient(180deg, #fff 0%, #f7f9fb 100%);
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 660px;
  margin-bottom: 14px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-text {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 26px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  max-width: 760px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--line);
}

.hero-metrics div {
  padding: 18px;
  background: #fff;
}

.hero-metrics dt {
  margin-bottom: 5px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.hero-media {
  position: relative;
  margin-right: clamp(-34px, -2vw, -14px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-media::before {
  position: absolute;
  inset: 8% 0 6% 4%;
  content: "";
  border-left: 1px solid rgba(23, 105, 170, 0.16);
  border-bottom: 1px solid rgba(23, 105, 170, 0.16);
  background:
    linear-gradient(rgba(23, 105, 170, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 105, 170, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.42;
}

.skid-scene {
  position: relative;
  width: min(100%, 720px);
  min-height: 520px;
  margin-left: auto;
  --stack-progress: 0;
}

.warehouse-line {
  position: absolute;
  left: 8%;
  right: 2%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23, 105, 170, 0.45), transparent);
}

.line-one {
  top: 22%;
}

.line-two {
  top: 72%;
}

.skid-shadow {
  position: absolute;
  left: 8%;
  right: 2%;
  bottom: 40px;
  height: 92px;
  content: "";
  border-radius: 2px;
  background: rgba(23, 105, 170, 0.08);
  filter: blur(18px);
}

.sheet-pack {
  position: absolute;
  inset: 42px 4% 128px 4%;
}

.plastic-sheet {
  position: absolute;
  left: 3%;
  right: 1%;
  height: 148px;
  border: 1.5px solid rgba(23, 105, 170, 0.62);
  border-radius: 2px;
  background:
    linear-gradient(rgba(23, 105, 170, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 105, 170, 0.18) 1px, transparent 1px),
    repeating-linear-gradient(0deg, rgba(16, 24, 32, 0.035) 0 1px, transparent 1px 15px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(198, 221, 239, 0.34));
  background-size: 32px 32px, 32px 32px, auto, auto;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.52),
    inset 0 -2px 0 rgba(23, 105, 170, 0.18),
    0 10px 18px rgba(23, 105, 170, 0.1);
  transform-origin: center;
  opacity: clamp(0.24, var(--sheet-progress), 1);
  transform: translate3d(
      calc((1 - var(--sheet-progress)) * var(--drop-x)),
      calc((1 - var(--sheet-progress)) * var(--drop-y)),
      calc((1 - var(--sheet-progress)) * var(--drop-z))
    )
    scale(calc(0.96 + (var(--sheet-progress) * 0.04)));
  transition: opacity 60ms linear, transform 60ms linear;
}

.plastic-sheet::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 7px;
  content: "";
  border: 1px solid rgba(23, 105, 170, 0.28);
  border-top: 0;
  border-radius: 0 0 2px 2px;
  background: rgba(23, 105, 170, 0.1);
}

.sheet-five {
  top: 230px;
  --drop-x: 0px;
  --drop-y: -130px;
  --drop-z: 0px;
  --sheet-progress: clamp(0, calc((var(--stack-progress) - 0.00) / 0.26), 1);
}

.sheet-four {
  top: 180px;
  --drop-x: 0px;
  --drop-y: -164px;
  --drop-z: 0px;
  --sheet-progress: clamp(0, calc((var(--stack-progress) - 0.13) / 0.26), 1);
}

.sheet-three {
  top: 130px;
  --drop-x: 0px;
  --drop-y: -198px;
  --drop-z: 0px;
  --sheet-progress: clamp(0, calc((var(--stack-progress) - 0.26) / 0.26), 1);
}

.sheet-two {
  top: 80px;
  --drop-x: 0px;
  --drop-y: -232px;
  --drop-z: 0px;
  --sheet-progress: clamp(0, calc((var(--stack-progress) - 0.39) / 0.26), 1);
}

.sheet-one {
  top: 30px;
  --drop-x: 0px;
  --drop-y: -266px;
  --drop-z: 0px;
  --sheet-progress: clamp(0, calc((var(--stack-progress) - 0.52) / 0.28), 1);
}

.sheet-label {
  position: absolute;
  left: 8%;
  top: 24px;
  color: rgba(10, 61, 105, 0.88);
  font-size: clamp(22px, 3.6vw, 46px);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wood-skid {
  position: absolute;
  left: 7%;
  right: 3%;
  bottom: 48px;
  height: 132px;
}

.deck,
.runner,
.block {
  position: absolute;
  border: 1px solid rgba(23, 105, 170, 0.38);
  background:
    linear-gradient(rgba(23, 105, 170, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 105, 170, 0.12) 1px, transparent 1px),
    rgba(245, 249, 252, 0.45);
  background-size: 18px 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.deck {
  top: 0;
  height: 18px;
  border-radius: 2px;
}

.deck-one {
  left: 0;
  right: 68%;
}

.deck-two {
  left: 35%;
  right: 35%;
}

.deck-three {
  left: 68%;
  right: 0;
}

.runner {
  left: 0;
  right: 0;
  height: 18px;
  border-radius: 2px;
}

.runner-front {
  bottom: 0;
}

.runner-back {
  bottom: 44px;
  opacity: 0.82;
}

.block {
  bottom: 18px;
  width: 70px;
  height: 62px;
  border-radius: 2px;
}

.block-one {
  left: 8%;
}

.block-two {
  left: 45%;
}

.block-three {
  right: 8%;
}

.strap {
  position: absolute;
  top: 92px;
  bottom: 116px;
  width: 11px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(8, 13, 18, 0.88), rgba(23, 105, 170, 0.88), rgba(8, 13, 18, 0.9));
  box-shadow: none;
  opacity: clamp(0, calc((var(--stack-progress) - 0.72) / 0.16), 0.94);
  transform: translateY(calc((1 - clamp(0, calc((var(--stack-progress) - 0.72) / 0.16), 1)) * -26px));
  transition: opacity 60ms linear, transform 60ms linear;
}

.strap-left {
  left: 28%;
}

.strap-right {
  right: 24%;
}

@media (prefers-reduced-motion: reduce) {
  .skid-scene {
    --stack-progress: 1;
  }

  .plastic-sheet,
  .strap {
    opacity: 1;
    transition: none;
  }
}

.portal-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.portal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.freight-tag {
  position: absolute;
  right: 1%;
  bottom: 118px;
  width: 190px;
  padding: 20px;
  color: #fff;
  border: 1px solid rgba(23, 105, 170, 0.45);
  border-radius: 2px;
  background: rgba(10, 61, 105, 0.88);
  box-shadow: 0 10px 22px rgba(16, 24, 32, 0.12);
  backdrop-filter: blur(12px);
}

.freight-tag span {
  display: block;
  margin-bottom: 7px;
  color: #cfe6f8;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.freight-tag strong {
  font-size: 21px;
  line-height: 1.05;
}

.intro-band {
  padding: 28px clamp(18px, 4vw, 56px);
  color: #fff;
  background: var(--ink);
}

.intro-band p {
  max-width: 1120px;
  margin: 0 auto;
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.35;
}

.section {
  padding: clamp(62px, 8vw, 108px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 1120px;
  margin: 0 auto 32px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.capability,
.project-card,
.form-panel,
.request-card {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--panel);
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.045);
}

.capability {
  padding: 24px;
}

.capability p,
.portal-copy p,
.quote-copy p,
.project-card p,
.request-card p {
  color: var(--muted);
  line-height: 1.55;
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 2px;
  font-weight: 900;
}

.workflow {
  background: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 180px;
  padding: 24px;
  border-left: 4px solid var(--blue);
  background: var(--soft);
}

.steps strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
}

.steps span {
  color: var(--muted);
  line-height: 1.5;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(62px, 8vw, 108px) clamp(18px, 4vw, 56px);
  background: var(--ink);
}

.quote-copy {
  max-width: 620px;
  color: #fff;
}

.quote-copy p {
  color: #d6dce3;
  font-size: 18px;
  line-height: 1.6;
}

.file-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: #e8edf2;
}

.file-list li {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.form-panel {
  padding: clamp(22px, 3vw, 34px);
}

.compact {
  max-width: 440px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(23, 105, 170, 0.12);
}

.upload-box {
  align-items: center;
  justify-items: center;
  min-height: 160px;
  margin: 8px 0 20px;
  padding: 22px;
  color: var(--muted);
  border: 2px dashed #b8c3ce;
  border-radius: 2px;
  text-align: center;
}

.upload-box input {
  width: 1px;
  min-height: 1px;
  opacity: 0;
}

.upload-box span {
  color: var(--ink);
  font-size: 18px;
}

.upload-box small {
  font-weight: 600;
}

.form-note {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.buyer-note {
  margin: 4px 0 18px;
  padding: 14px 16px;
  color: #3f4b57;
  border-left: 4px solid var(--blue);
  background: #edf4fa;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.portal-section {
  background: #fff;
}

.portal-page {
  min-height: calc(100vh - 76px);
  padding: clamp(52px, 7vw, 96px) clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, #fff 0%, #f5f7fa 100%);
}

.portal-page h1 {
  max-width: 760px;
}

.admin-page .form-panel {
  max-width: 480px;
  margin: 0 auto 28px;
}

.portal-copy,
.portal-layout,
.admin-board,
.admin-login {
  max-width: 1120px;
  margin: 0 auto;
}

.portal-layout {
  display: grid;
  grid-template-columns: 440px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.project-card {
  min-height: 306px;
  padding: 28px;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.project-meta div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--soft);
}

.project-meta span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 0 10px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pending {
  color: #7a5200;
  background: #fff1cd;
}

.approved {
  color: #fff;
  background: var(--green);
}

.reviewing {
  color: #fff;
  background: var(--blue);
}

.admin-section {
  background: var(--soft);
}

.admin-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.request-list {
  display: grid;
  gap: 14px;
}

.request-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  padding: 22px;
}

.request-card h3 {
  margin-bottom: 4px;
}

.request-card .files {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.request-actions {
  display: grid;
  gap: 10px;
  align-self: start;
}

.request-actions label {
  margin-bottom: 0;
}

.hidden {
  display: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 32px clamp(18px, 4vw, 56px);
  color: #dce2e8;
  background: #080d12;
}

.footer div {
  display: grid;
  gap: 4px;
}

.footer strong {
  color: #fff;
}

.tma-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px clamp(18px, 4vw, 56px);
  background: #fff;
  border-top: 1px solid var(--line);
}

.tma-copy {
  display: grid;
  gap: 4px;
}

.tma-kicker {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tma-copy strong {
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.1;
}

.tma-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: #1760a0;
}

.tma-text {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.tma-hex {
  width: clamp(30px, 4vw, 52px);
  aspect-ratio: 1.12;
  background: #43bfdf;
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
}

.hex-two {
  background: #43bfdf;
  transform: translateY(22%);
}

.hex-three {
  background: #1760a0;
}

.supply-notice {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #dce2e8;
  background: #030609;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  line-height: 1.45;
}

.supply-notice strong {
  flex: 0 0 auto;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.supply-notice span {
  max-width: 1180px;
}

.supply-alert {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #dce2e8;
  background: #030609;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 -10px 24px rgba(3, 6, 9, 0.24);
}

.supply-alert div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.supply-alert strong {
  flex: 0 0 auto;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.supply-alert span {
  font-size: 12px;
  line-height: 1.45;
}

.supply-alert-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 2px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.supply-alert-close:hover {
  color: #030609;
  background: #fff;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-action {
    margin-left: auto;
  }

  .hero,
  .quote-section,
  .portal-layout,
  .request-card,
  .portal-split {
    grid-template-columns: 1fr;
  }

  .capability-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 36px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-action {
    width: calc(100% - 64px);
  }

  .hero {
    min-height: auto;
  }

  .hero-metrics,
  .capability-grid,
  .steps,
  .field-grid,
  .project-meta {
    grid-template-columns: 1fr;
  }

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

  .hero-media {
    margin-right: 0;
  }

  .skid-scene {
    min-height: 420px;
  }

  .sheet-pack {
    inset: 28px 0 90px 0;
  }

  .plastic-sheet {
    height: 118px;
  }

  .sheet-five {
    top: 192px;
  }

  .sheet-four {
    top: 148px;
  }

  .sheet-three {
    top: 104px;
  }

  .sheet-two {
    top: 60px;
  }

  .sheet-one {
    top: 16px;
  }

  .wood-skid {
    left: 0;
    right: 0;
    bottom: 46px;
    height: 112px;
  }

  .strap {
    top: 70px;
    bottom: 100px;
  }

  .freight-tag {
    right: 0;
    bottom: 86px;
    width: 160px;
  }

  .footer,
  .supply-notice,
  .supply-alert,
  .supply-alert div,
  .tma-strip,
  .admin-toolbar {
    flex-direction: column;
  }

  .supply-alert {
    align-items: flex-start;
  }

  .supply-alert-close {
    position: absolute;
    top: 12px;
    right: 14px;
  }

  .supply-alert div {
    align-items: flex-start;
    padding-right: 44px;
  }

  .tma-strip {
    align-items: flex-start;
  }
}
