/* ==========================================================================
   Evacusled Inc. — website draft, single-file shareable build
   Two pages: Overview and Product features.
   ========================================================================== */

:root {
  --petrol:      #0E2B2F;
  --petrol-deep: #07191C;
  --paper:       #F3F4EF;
  --sand:        #E2E4DA;
  --steel:       #6E827F;
  --amber:       #EFC42E;

  --measure: 64ch;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --spine: 2px;

  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--petrol);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-optical-sizing: auto;
}

h1, h2, h3, .nav, .plate, .btn, .tbl, .modelno, .wordmark, .legal, blockquote cite, .contact-line {
  font-family: var(--sans);
}

a { color: inherit; }

.wrap { max-width: 78rem; margin: 0 auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- The spine -----------------------------------------------------------
   A vertical rule with wheel ticks, echoing the underside wheel and roller
   line that runs head to base of spine. The one decorative device here.
   ------------------------------------------------------------------------ */

.spined { position: relative; padding-left: clamp(1.5rem, 4vw, 3.25rem); }

.spined::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35em; bottom: 0.35em;
  width: var(--spine);
  background: repeating-linear-gradient(to bottom, currentColor 0 7px, transparent 7px 15px);
  opacity: 0.45;
  transform-origin: top;
  animation: draw 900ms cubic-bezier(.2,.7,.3,1) both;
}

@keyframes draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .spined::before { animation: none; } }

/* --- Header --------------------------------------------------------------- */

.site-head { background: var(--petrol); color: var(--paper); padding-block: 1.25rem; }

.site-head .wrap {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: baseline; justify-content: space-between;
}

.wordmark {
  font-weight: 800; font-size: 1.2rem;
  letter-spacing: -0.015em; text-decoration: none;
}
.wordmark span { color: var(--amber); font-weight: 500; }

.nav { display: flex; gap: 1.75rem; font-size: 0.95rem; font-weight: 500; }

.nav a, .nav button {
  text-decoration: none; padding-bottom: 2px;
  border-bottom: 2px solid transparent; opacity: 0.82;
  background: none; border-top: 0; border-inline: 0;
  color: inherit; font: inherit; cursor: pointer;
}
.nav a:hover, .nav a:focus-visible, .nav button:hover, .nav button:focus-visible { opacity: 1; border-bottom-color: var(--amber); }
.nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--amber); }

/* --- Page switching ------------------------------------------------------- */


/* --- Hero ----------------------------------------------------------------- */

.hero {
  background: var(--petrol); color: var(--paper);
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5.5rem);
}

.hero h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.4rem, 5.6vw, 4.25rem);
  font-weight: 800; line-height: 1.04;
  letter-spacing: -0.028em; max-width: 19ch;
  text-wrap: balance;
}

.hero .lede {
  margin: 0; max-width: 52ch;
  font-size: clamp(1.1rem, 1.9vw, 1.3rem);
  line-height: 1.55; color: #CFD9D5;
}
.hero .lede strong { color: var(--paper); font-weight: 600; }
.hero h1 .pop { color: var(--amber); }

/* --- Equipment data plate -------------------------------------------------
   Modelled on the ID plate fixed to a medical device.
   ------------------------------------------------------------------------ */

.plate {
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  border-top: 1px solid rgba(243,244,239,0.28);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.plate div { padding: 1.15rem 1.25rem 1.3rem 0; border-bottom: 1px solid rgba(243,244,239,0.14); }
.plate dt { font-size: 0.8rem; font-weight: 500; color: #93A7A3; margin-bottom: 0.3rem; }
.plate dd { margin: 0; font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; }
.plate .note { color: var(--amber); font-weight: 500; }
.plate dt.note { color: var(--amber); }

.plate--light { margin-top: 0; border-top-color: var(--petrol); }
.plate--light div { border-bottom-color: var(--sand); }
.plate--light dt { color: var(--steel); }
.plate--light dd { color: var(--petrol); }
.plate--light .note { color: #EFC42E; }

/* --- Sections ------------------------------------------------------------- */

section { padding-block: clamp(3.25rem, 7vw, 5.5rem); }
section + section { border-top: 1px solid var(--sand); }

h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.6rem, 3.1vw, 2.35rem);
  font-weight: 700; letter-spacing: -0.022em;
  line-height: 1.12; max-width: 22ch;
}

h3 { margin: 0 0 0.4rem; font-size: 1.22rem; font-weight: 700; letter-spacing: -0.015em; }

p { max-width: var(--measure); }

.modelno {
  display: block; font-size: 0.87rem; font-weight: 500;
  color: var(--steel); margin-bottom: 0.75rem;
}

.cols {
  display: grid; gap: clamp(1.75rem, 4vw, 3.25rem);
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  margin-top: 2.25rem;
}
.cols p { font-size: 1rem; }

/* --- Comparison table ----------------------------------------------------- */

.tbl-scroll { overflow-x: auto; margin-top: 2rem; }

.tbl { width: 100%; min-width: 46rem; border-collapse: collapse; font-size: 0.96rem; }

.tbl caption {
  text-align: left; font-family: var(--serif); font-size: 1.02rem;
  color: var(--steel); padding-bottom: 1.25rem; max-width: 62ch;
}

.tbl th, .tbl td {
  text-align: left; padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--sand); vertical-align: top;
}

.tbl thead th {
  border-bottom: 2px solid var(--petrol); font-weight: 700;
  font-size: 0.98rem; letter-spacing: -0.012em; line-height: 1.3;
}

.tbl thead th small {
  display: block; font-weight: 500; font-size: 0.82rem;
  color: var(--steel); margin-top: 0.25rem;
}

.tbl tbody th { font-weight: 500; font-family: var(--serif); width: 32%; padding-left: 0; }
.tbl tbody td { font-weight: 700; color: var(--petrol); }
.tbl td.yes { font-weight: 700; color: var(--petrol); }
.tbl td.no  { color: var(--petrol); }
.tbl tbody tr:hover { background: rgba(226,228,218,0.4); }

.footnote { margin-top: 1rem; font-size: 0.92rem; color: var(--steel); max-width: 62ch; }

/* --- Evaluation call to action -------------------------------------------- */

.eval { background: var(--petrol); color: var(--paper); }
.eval h2 { color: var(--paper); }
.eval p { color: #CFD9D5; font-size: 1.1rem; }

.btn {
  display: inline-block; margin-top: 1.75rem;
  padding: 0.95rem 1.8rem; background: var(--amber);
  color: var(--petrol-deep); font-weight: 700; font-size: 1rem;
  letter-spacing: -0.01em; text-decoration: none; border-radius: 2px;
}
.btn:hover, .btn:focus-visible { background: #FAD24A; }

/* --- Testimonials --------------------------------------------------------- */

.quotes {
  display: grid; gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  margin-top: 2.25rem;
}

blockquote { margin: 0; padding-top: 1.1rem; border-top: 2px solid var(--petrol); font-size: 1.02rem; }
blockquote p { margin: 0 0 0.9rem; }

blockquote cite {
  font-style: normal; font-size: 0.85rem; font-weight: 500;
  color: var(--steel); line-height: 1.4; display: block;
}

/* --- Footer --------------------------------------------------------------- */

.site-foot { background: var(--petrol-deep); color: var(--paper); padding-block: clamp(2.75rem, 6vw, 4rem) 2rem; }

.foot-grid {
  display: grid; gap: 2rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  align-items: start;
}

.site-foot h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.9rem; color: var(--paper); }
.site-foot p { color: #A9BAB6; font-size: 0.98rem; max-width: 38ch; }

.contact-line {
  font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 700;
  letter-spacing: -0.02em; margin: 0 0 0.5rem;
}
.contact-line a { text-decoration: none; }
.contact-line a:hover, .contact-line a:focus-visible { color: var(--amber); }

.legal {
  margin-top: 2.75rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(243,244,239,0.14);
  font-size: 0.85rem; color: #7E918D;
}

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

@media (max-width: 40rem) {
  .tbl tbody th { width: 40%; }
  .nav { gap: 1.25rem; }
}
