:root {
  /* US Graphic Supply — darker blue & white */
  --brand: #2830a0;
  --brand-rgb: 40, 48, 160;
  --brand-hover: #1f2680;
  --brand-surface: #1a2060;
  --brand-dark: #0f1338;
  --ink: #222222;
  --ink-soft: #333333;
  --paper: #ffffff;
  --paper-muted: #eceef4;
  --white: #ffffff;
  --text: #222222;
  --text-muted: #555555;
  --accent: var(--brand);
  --accent-hover: var(--brand-hover);
  --line: #cccccc;
  --shadow: 0 18px 50px rgba(15, 19, 56, 0.18);
  --radius: 14px;
  --font: "PT Sans", system-ui, sans-serif;
  --max: 1140px;
  /* Responsive breakpoints: phone ≤599 | tablet 600–1023 | laptop ≥1024 */
  --header-height: 130px;
  /* Logo bar + Sales & Tech strip (sticky header total) */
  --header-contact-band: 2.75rem;
  --scroll-offset: calc(var(--header-height) + var(--header-contact-band));
  --logo-height: 110px;
  --section-pad: 4.5rem;
  --banner-height: 200px;
}

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

html {
  scroll-behavior: smooth;
}

.section[id] {
  scroll-margin-top: var(--scroll-offset);
}

#equipment {
  scroll-margin-top: var(--scroll-offset);
}

body {
  margin: 0;
  font-family: "PT Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #222222;
  color: var(--text);
  background: #ffffff;
  background: var(--paper);
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--white);
  z-index: 200;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: calc(100% - 2.5rem);
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: var(--logo-height);
  max-width: 420px;
  object-fit: contain;
  object-position: left center;
}

/* Equipment banner — object-fit works reliably on Android (avoid transform crop) */
.work-banner {
  width: 100%;
  height: var(--banner-height);
  overflow: hidden;
  background: #0f1338 url("./assets/work-banner.webp") center 55% / cover no-repeat;
  line-height: 0;
}

.work-banner-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 55%;
}

.section {
  padding: var(--section-pad) 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-contact {
  background: #2830a0;
  background: var(--brand);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
}

.header-contact-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 0.55rem 0;
}

.header-contact a {
  color: var(--white);
  text-decoration: none;
}

.header-contact a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #2830a0;
  background: var(--brand);
  color: #ffffff !important;
  color: var(--white) !important;
}

.nav-cta:hover {
  background: var(--brand-hover) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: calc(var(--section-pad) * 0.85) 0 calc(var(--section-pad) * 0.7);
  background:
    linear-gradient(135deg, rgba(40, 48, 160, 0.08), transparent 55%),
    var(--paper-muted);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 38rem;
  font-size: 1.08rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.section-cta {
  margin-top: 2.25rem;
  text-align: center;
}

.section-dark .section-cta .btn-primary,
.section-inventory > .container.section-cta .btn-primary {
  background: var(--white);
  color: var(--brand);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.section-dark .section-cta .btn-primary:hover,
.section-inventory > .container.section-cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.92);
}

.hero-cards {
  display: grid;
  gap: 1rem;
}

.hero-card {
  padding: 1.35rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.hero-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.hero-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #2830a0;
  background: var(--brand);
  color: #ffffff;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(40, 48, 160, 0.28);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-full {
  width: 100%;
}

/* Trust strip */
.trust-strip {
  background: #1a2060;
  background: var(--brand-surface);
  color: rgba(255, 255, 255, 0.9);
  padding: 1.25rem 0;
  border-block: none;
}

.trust-grid {
  display: grid;
  gap: 1rem;
  font-size: 0.92rem;
}

@media (min-width: 600px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-grid strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.15rem;
}

/* Sections */
.section-dark {
  background: #2830a0;
  background: var(--brand);
  color: rgba(255, 255, 255, 0.92);
}

.section-muted {
  background: var(--paper-muted);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.15;
  color: inherit;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.section-dark .section-head p,
.section-dark .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.section-dark .section-head h2 {
  color: var(--white);
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid.three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card-grid.two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.product-card,
.feature-card,
.service-item {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.section-dark .feature-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.product-card h3,
.feature-card h3,
.service-item h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: var(--ink);
}

.section-dark .feature-card h3 {
  color: var(--white);
}

.product-card ul,
.check-list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.product-card li,
.check-list li {
  margin-bottom: 0.35rem;
}

.card-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feature-tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.feature-card p,
.service-item p {
  margin: 0;
  color: var(--text-muted);
}

.section-dark .feature-card p {
  color: rgba(255, 255, 255, 0.72);
}

.text-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link:hover {
  text-decoration: underline;
}

.equipment-photo {
  margin: 1.25rem 0 0;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
}

.equipment-photo img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center center;
}

.feature-card .text-link + .equipment-photo {
  margin-top: 1rem;
}

.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* About */
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1.4fr 0.9fr;
  }
}

.about-grid h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.about-grid p {
  color: var(--text-muted);
}

.about-aside {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-aside h3 {
  margin: 0 0 0.75rem;
}

.about-aside address {
  font-style: normal;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.about-stats {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.about-stats strong {
  display: block;
  font-size: 1.35rem;
  color: var(--accent);
}

.about-stats span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Contact */
.section-contact {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.contact-copy p {
  color: var(--text-muted);
}

.contact-details {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.contact-details li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-details span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-details a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.contact-form {
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field {
  margin-bottom: 1rem;
}

.field-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 2px solid var(--brand);
  border-radius: 10px;
  font: inherit;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #888888;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-dark);
  box-shadow: 0 0 0 3px rgba(40, 48, 160, 0.2);
}

.form-status {
  min-height: 1.25rem;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.form-status.success {
  color: #166534;
}

.form-status.error {
  color: #b42318;
}

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Inventory signup */
.section-inventory {
  background: #1a2060;
  background: var(--brand-surface);
  color: rgba(255, 255, 255, 0.92);
}

.section-inventory .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.section-inventory h2 {
  color: var(--white);
}

.section-inventory .inventory-copy > p {
  color: rgba(255, 255, 255, 0.82);
}

.inventory-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .inventory-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.inventory-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.inventory-points {
  margin: 1.25rem 0 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
}

.inventory-points li {
  margin-bottom: 0.45rem;
}

.inventory-points strong {
  color: var(--white);
}

.inventory-form {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.inventory-form h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--ink);
}

.inventory-form-lead {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.section-inventory .form-status.success {
  color: #166534;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  background: #0f1338;
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.85);
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.footer-brand strong {
  color: var(--white);
}

.footer-brand p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.7;
}

/* ============================================================
   RESPONSIVE LAYOUTS — Phone · Tablet · Laptop
   Phone:   up to 599px
   Tablet:  600px – 1023px
   Laptop:  1024px and up
   ============================================================ */

/* --- PHONE --- */
@media (max-width: 599px) {
  :root {
    --header-height: 84px;
    --header-contact-band: 3rem;
    --logo-height: 64px;
    --section-pad: 2.5rem;
    --banner-height: 130px;
  }

  .container {
    width: calc(100% - 1.25rem);
    max-width: var(--max);
  }

  .brand-logo {
    max-width: 260px;
  }

  .header-contact-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    font-size: 0.78rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .trust-grid {
    grid-template-columns: 1fr;
    font-size: 0.88rem;
  }

  .card-grid.three,
  .card-grid.two,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .feature-card,
  .service-item {
    padding: 1.15rem;
  }

  .equipment-photo img {
    height: 180px;
  }

  .section-head {
    margin-bottom: 1.75rem;
  }

  .section-head h2,
  .about-grid h2,
  .contact-copy h2,
  .inventory-copy h2 {
    font-size: 1.55rem;
  }

  .about-aside {
    padding: 1.15rem;
  }

  .contact-form,
  .inventory-form {
    padding: 1.15rem;
  }

  .footer-inner {
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* --- TABLET --- */
@media (min-width: 600px) and (max-width: 1023px) {
  :root {
    --header-height: 108px;
    --header-contact-band: 2.75rem;
    --logo-height: 88px;
    --section-pad: 3.25rem;
    --banner-height: 165px;
  }

  .container {
    width: calc(100% - 2rem);
    max-width: var(--max);
  }

  .brand-logo {
    max-width: 320px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.three {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.two {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid,
  .inventory-grid {
    grid-template-columns: 1fr;
  }

  .equipment-photo img {
    height: 200px;
  }
}

@media (min-width: 900px) and (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .about-grid,
  .contact-grid,
  .inventory-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- LAPTOP / DESKTOP --- */
@media (min-width: 1024px) {
  :root {
    --header-height: 130px;
    --logo-height: 110px;
    --section-pad: 4.5rem;
    --banner-height: 200px;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
  }
}

/* Nav menu — phone & tablet */
@media (max-width: 1023px) {
  .nav-toggle {
    display: flex;
  }

  .header-inner {
    position: relative;
  }

  .nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
    justify-content: center;
  }
}

@media (min-width: 600px) and (max-width: 1023px) {
  .header-contact-inner span:last-child {
    display: inline;
  }
}
