/* BASIC Design Solutions
   Brand: mostly white and ink, one Deep Blue band per page (the footer), BASIC Blue for things you click.
   One type family (Archivo): wide headlines echo the BASIC wordmark, body text stays normal width.
   Full brand guide: BDS Brand Guide (design system page). */
:root {
  /* Brand colors */
  --ink: #14171c;          /* headlines and body text */
  --ink-muted: #5b6772;    /* secondary text, fine print */
  --deep-blue: #04364f;    /* footer band, big color fields */
  --basic-blue: #0077a8;   /* buttons, links, section labels */
  --sphere-cyan: #4ec6f0;  /* small highlights on deep-blue only, never text on white */
  --mist: #eaf2f7;         /* tinted panels and callouts */
  --line: #d6dfe6;         /* borders and rules */
  --surface: #ffffff;      /* background */
  --alert: #b3261e;        /* form errors only */

  /* Older names used in page inline styles */
  --ink-2: var(--ink-muted);
  --rule: var(--line);

  --font: "Archivo", Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.5rem, 3vw, 1.75rem);
  --step-3: clamp(1.75rem, 4vw, 2.25rem);
  --step-4: clamp(2.25rem, 6.5vw, 3.75rem);
  --frame: 72rem;
  --radius: 4px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.625;
  font-stretch: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--basic-blue); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--basic-blue); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font); line-height: 1.15; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: var(--step-3); font-weight: 700; font-stretch: 112%; }
h2 { font-size: var(--step-2); font-weight: 700; font-stretch: 112%; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
p { margin: 0; max-width: 65ch; }

/* Section label: ALL CAPS, wide tracking, echoes "DESIGN SOLUTIONS, INC." */
.eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--basic-blue); }

.wrap {
  max-width: var(--frame);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }

/* Header: white, full logo, "Request a quote" button */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--surface); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: 160px; height: auto; }
.nav { display: flex; gap: 0.25rem 1.5rem; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding-block: 0.25rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--basic-blue); }
.nav a[aria-current="page"] { border-bottom-color: var(--basic-blue); }
.nav a.btn { color: #fff; border-bottom: 0; padding: 0.6rem 1rem; }
.nav-toggle { display: none; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; background: none; border: 1px solid var(--line); color: var(--ink); font: inherit; font-weight: 600; padding: 0.5rem 0.9rem; border-radius: var(--radius); cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 0.5rem max(16px, env(safe-area-inset-right, 0px)) 1rem max(16px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a { padding-block: 0.7rem; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--basic-blue); }
  .nav a.btn { margin-top: 0.75rem; padding: 0.8rem 1rem; }
}

/* Hero: white, with the wide display headline */
.hero { border-bottom: 1px solid var(--line); }
.hero .wrap { padding-block: clamp(3rem, 8vw, 5.5rem); display: grid; gap: 1.25rem; }
.display { font-size: var(--step-4); font-weight: 800; font-stretch: 125%; letter-spacing: -0.01em; line-height: 1.05; max-width: 18ch; }
.hero .lede { font-size: var(--step-1); color: var(--ink-muted); max-width: 52ch; line-height: 1.5; }
.hero .actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.75rem; }
.hero .spec { font-size: var(--step--1); color: var(--ink-muted); }

/* Buttons: BASIC Blue fill, white label, 4px corners */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; font-size: 1rem; line-height: 1.2; padding: 0.8rem 1.25rem; border-radius: var(--radius); border: 1px solid var(--basic-blue); background: var(--basic-blue); color: #fff; cursor: pointer; font-family: inherit; }
.btn:hover { background: #00658f; border-color: #00658f; color: #fff; }
.btn.ghost { background: transparent; color: var(--basic-blue); }
.btn.ghost:hover { background: var(--mist); color: var(--basic-blue); }

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 4.5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; align-content: start; gap: 0.6rem; margin-bottom: 2rem; }
.section-head p { color: var(--ink-muted); font-size: var(--step-1); line-height: 1.5; }
.page-title { padding-block: clamp(2.5rem, 6vw, 4rem) 0; display: grid; gap: 0.75rem; }
.page-title h1 { font-size: var(--step-3); font-weight: 700; font-stretch: 112%; }
.page-title p { font-size: var(--step-1); color: var(--ink-muted); line-height: 1.5; }

/* Reasons: a list with thin rules, not cards */
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2rem 3rem; list-style: none; padding: 0; margin: 0; }
.reasons li { display: grid; gap: 0.35rem; align-content: start; border-top: 1px solid var(--line); padding-top: 1rem; }
.reasons p { color: var(--ink-muted); }

/* Steps: the logo's dot progression, slim marks growing into the blue sphere.
   The brand graphic, so one use per page. */
.steps { list-style: none; padding: 0; margin: 0; display: grid; counter-reset: s; --n: 4; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: start; padding-block: 1.1rem; border-top: 1px solid var(--line); }
.steps li::before { content: ""; justify-self: center; height: 1.75rem; width: 0.3rem; border-radius: 50%; background: var(--ink); margin-top: 0.15rem; }
.steps li:nth-child(2)::before { width: 0.65rem; }
.steps li:nth-child(3)::before { width: 1rem; }
.steps li:nth-child(4)::before { width: 1.35rem; }
.steps li:last-child::before { width: 1.75rem; background: radial-gradient(circle at 32% 26%, #a8e4fc 0, #4ec6f0 18%, #0096cc 32%, #00587d 44%, #002a3c 52%); }
.steps li div { display: grid; gap: 0.2rem; min-width: 0; }
.steps li div::before { content: "Step " counter(s); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--basic-blue); }
.steps p { color: var(--ink-muted); }

/* Catalog */
.cat-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.cat-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.4rem 0.8rem; border: 1px solid var(--line); border-radius: var(--radius); }
.cat-nav a:hover { border-color: var(--basic-blue); color: var(--basic-blue); }
.category { display: grid; gap: 1.25rem; padding-block: 2rem; border-top: 1px solid var(--line); scroll-margin-top: 6rem; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1.5rem; }
.item { display: grid; gap: 0.6rem; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem 0.75rem 1rem; }
.item .ph { aspect-ratio: 1 / 1; max-width: 100%; border-radius: 2px; background: var(--mist); display: grid; place-items: center; overflow: hidden; }
.item .ph img { width: 100%; height: 100%; object-fit: contain; }
.item .ph span { font-size: var(--step--1); color: var(--ink-muted); padding: 1rem; text-align: center; }
.item h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.item .meta { display: flex; justify-content: space-between; gap: 0.75rem; align-items: baseline; font-size: var(--step--1); color: var(--ink-muted); }
.item .price { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; font-size: 1rem; }
.item p.desc { font-size: var(--step--1); color: var(--ink-muted); }
.item a.quote { font-size: var(--step--1); font-weight: 600; }

/* Price table */
.table-wrap { overflow-x: auto; }
table.prices { border-collapse: collapse; width: 100%; min-width: 30rem; font-variant-numeric: tabular-nums; }
table.prices th, table.prices td { text-align: right; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); }
table.prices th:first-child, table.prices td:first-child { text-align: left; padding-left: 0; }
table.prices thead th { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; border-bottom: 1px solid var(--ink); }
table.prices tbody th { font-weight: 600; }
.note { font-size: var(--step--1); color: var(--ink-muted); margin-top: 1rem; }

/* Split rows */
.split { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.split > * { min-width: 0; }

/* Callout band: Mist panel */
.band { background: var(--mist); }
.band .wrap { padding-block: clamp(2.5rem, 6vw, 3.5rem); display: flex; gap: 1.5rem 3rem; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.band h2 { font-size: var(--step-2); }
.band p { color: var(--ink-muted); margin-top: 0.5rem; }

/* Forms */
form.bds { display: grid; gap: 1.1rem; max-width: 40rem; }
.row2 { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-size: var(--step--1); color: var(--ink-muted); }
.field .req { color: var(--alert); }
input, select, textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid #a9b6c0; border-radius: 2px; padding: 0.65rem 0.75rem; width: 100%; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--basic-blue); }
textarea { min-height: 8rem; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.checks label { display: inline-flex; gap: 0.45rem; align-items: center; font-weight: 400; }
.checks input { width: auto; accent-color: var(--basic-blue); }
.form-status { font-weight: 600; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.contact-lines { display: grid; gap: 0.35rem; font-size: var(--step-1); font-weight: 600; }
.contact-lines a { color: var(--ink); text-decoration: none; }
.contact-lines a:hover { color: var(--basic-blue); }

/* Drop product */
.drop-card { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) { .drop-card { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.drop-card .ph { aspect-ratio: 1/1; max-width: 100%; display: grid; place-items: center; border-radius: var(--radius); }
.price-big { font-size: var(--step-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; }
.facts li { padding-block: 0.55rem; border-top: 1px solid var(--line); color: var(--ink-muted); }
details { border-top: 1px solid var(--line); padding-block: 1rem; }
details summary { font-weight: 600; cursor: pointer; }
details p { color: var(--ink-muted); margin-top: 0.5rem; }

/* Footer: the page's one Deep Blue band */
.site-foot { background: var(--deep-blue); color: #fff; }
.site-foot .wrap { padding-block: 3rem 2rem; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); font-size: 0.95rem; }
.site-foot img { width: 180px; height: auto; margin-bottom: 1rem; }
.site-foot b { display: block; margin-bottom: 0.5rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sphere-cyan); }
.site-foot p { color: #fff; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.3rem; }
.site-foot .fine { grid-column: 1 / -1; border-top: 1px solid #ffffff33; padding-top: 1.25rem; font-size: var(--step--1); color: #ffffffcc; max-width: none; }
