/* ============================================================
   PREMIER SCALES — Shared Stylesheet
   Design tokens: navy/blue primary, signal red accent,
   Space Grotesk display / Inter body / IBM Plex Mono data.
   ============================================================ */

:root {
  /* Color tokens */
  --ink:        #0B1220;
  --navy:       #0B1E3D;
  --navy-2:     #122B54;
  --blue:       #1857A4;
  --blue-bright:#2C74D6;
  --red:        #D62828;
  --red-bright: #F03A3A;
  --paper:      #F4F6F9;
  --paper-2:    #E9EDF3;
  --white:      #FFFFFF;
  --steel:      #5B6B7C;
  --steel-light:#8A97A6;
  --line:       #D9DFE6;
  --line-dark:  rgba(255,255,255,0.14);

  /* Type */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Layout */
  --container: 1180px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; color: var(--steel); }
a { color: inherit; text-decoration: none; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

/* ---------- Tick-mark rule (calibration gradation motif) ---------- */
.tick-rule {
  position: relative;
  height: 14px;
  width: 100%;
  background-image: repeating-linear-gradient(
    to right,
    var(--line) 0, var(--line) 1px,
    transparent 1px, transparent 24px
  );
  background-position: bottom;
  background-repeat: repeat-x;
  background-size: auto 14px;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.tick-rule.on-dark {
  background-image: repeating-linear-gradient(
    to right,
    var(--line-dark) 0, var(--line-dark) 1px,
    transparent 1px, transparent 24px
  );
  border-bottom: 1px solid var(--line-dark);
}
.tick-rule.major::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to right,
    var(--steel-light) 0, var(--steel-light) 1px,
    transparent 1px, transparent 120px
  );
  background-position: bottom;
  background-size: auto 14px;
  opacity: 0.9;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 2px; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-bright); transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.topbar {
  background: var(--navy);
  color: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a { color: var(--paper-2); }
.topbar a:hover { color: var(--white); }
.topbar .divider { opacity: 0.4; margin: 0 8px; }

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 246, 249, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wordmark .mark {
  width: 34px; height: 34px;
  border-radius: 4px;
  background: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wordmark .mark svg { width: 20px; height: 20px; }
.wordmark span.brand-scales { color: var(--red); }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
nav.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--steel);
  position: relative;
  padding: 4px 0;
}
nav.main-nav a:hover { color: var(--ink); }
nav.main-nav a.active { color: var(--navy); }
nav.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--red);
}
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0 20px;
  border-top: 1px solid var(--line);
}
.mobile-menu a {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu.open { display: flex; }

@media (max-width: 860px) {
  nav.main-nav { display: none; }
  .nav-phone { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-dark { background: var(--navy); color: var(--paper-2); }
.section-dark p { color: var(--steel-light); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-alt { background: var(--white); }

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 64px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 70px;
}
.hero h1 { color: var(--white); }
.hero .lede { color: var(--steel-light); font-size: 1.1rem; max-width: 480px; }
.hero-ctas { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

/* LED readout signature element */
.readout-panel {
  background: #081527;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 28px 30px;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.4);
}
.readout-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-light);
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}
.readout-label .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red-bright);
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 8px var(--red-bright);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.readout-display {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--red-bright);
  text-shadow: 0 0 14px rgba(240,58,58,0.55);
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.readout-display .unit { font-size: 1.1rem; color: var(--steel-light); text-shadow: none; }
.readout-sub {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-dark);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--steel-light);
}
.readout-sub strong { color: var(--paper-2); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 0;
}
.stat {
  text-align: center;
  border-left: 1px solid var(--line);
  padding: 0 16px;
}
.stat:first-child { border-left: none; }
.stat-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--navy);
}
.stat-num span { color: var(--red); }
.stat-label {
  font-size: 0.82rem;
  color: var(--steel);
  margin-top: 6px;
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(3) { border-left: none; }
}

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(11, 30, 61, 0.08);
  border-color: var(--blue);
}
.card-icon {
  width: 46px; height: 46px;
  border-radius: 8px;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--blue); }
.card h3 { margin-bottom: 8px; }
.card .card-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}
.card-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.card-link svg { width: 14px; height: 14px; transition: transform 0.15s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

/* Process steps (real sequence -> numbering justified) */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding-top: 46px; }
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--red);
  position: absolute;
  top: 0; left: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  width: 40px;
}
@media (max-width: 900px) {
  .process-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process-list { grid-template-columns: 1fr; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 56px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: var(--steel-light); margin-bottom: 0; max-width: 460px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  color: var(--steel-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}
.footer-grid h4 { color: var(--white); font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid a, .footer-grid p { font-size: 0.9rem; color: var(--steel-light); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--steel-light);
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 54px;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero .lede { color: var(--steel-light); max-width: 620px; font-size: 1.05rem; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--steel-light);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--steel-light); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Forms ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--blue);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--steel-light); margin-top: 14px; }
#form-success {
  display: none;
  background: #EAF6EE;
  border: 1px solid #B6E0C2;
  color: #1E5B33;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  margin-top: 20px;
}
#form-success.show { display: block; }

/* ---------- Table (pricing) ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--red);
  box-shadow: 0 16px 34px rgba(214,40,40,0.12);
  position: relative;
}
.price-card.featured::before {
  content: 'MOST BOOKED';
  position: absolute;
  top: -12px; left: 28px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
}
.price-amount {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 14px 0 4px;
}
.price-amount span { font-size: 0.9rem; color: var(--steel); font-weight: 400; }
.price-list { list-style: none; padding: 0; margin: 20px 0; flex: 1; }
.price-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--steel);
  display: flex;
  gap: 10px;
}
.price-list li svg { flex-shrink: 0; width: 16px; height: 16px; stroke: var(--blue); margin-top: 2px; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card .blog-image {
  height: 160px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.blog-card .blog-image .blog-tag {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--white);
  background: rgba(0,0,0,0.35);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}
.blog-date { font-family: var(--font-mono); font-size: 0.75rem; color: var(--steel-light); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.portfolio-media {
  height: 190px;
  background: var(--navy);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.portfolio-media .sector-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.12);
  padding: 5px 12px;
  border-radius: 4px;
  border: 1px solid var(--line-dark);
}
.portfolio-body { padding: 26px 26px 28px; }
.portfolio-result {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--red);
  margin-top: 14px;
}
@media (max-width: 860px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* ---------- Team / About ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.timeline { border-left: 2px solid var(--line); padding-left: 24px; display: flex; flex-direction: column; gap: 28px; }
.timeline-item .timeline-year {
  font-family: var(--font-mono);
  color: var(--red);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

/* ---------- Map embed ---------- */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 340px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--red);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; margin-bottom: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Additions: logo, weighbridge feature, forms, reviews
   ============================================================ */

/* Logo: shows logo.png when present, falls back to the wordmark */
.wordmark .logo-img { display: block; height: 44px; width: auto; }
.wordmark .wm-text { display: none; align-items: center; gap: 10px; }
.wordmark.no-logo .logo-img { display: none; }
.wordmark.no-logo .wm-text { display: flex; }
.wordmark.on-dark { color: var(--white); }
.wordmark.on-dark .logo-img { height: 52px; background: var(--white); padding: 8px 12px; border-radius: var(--radius); }
.nav-phone { text-decoration: none; }
.mobile-menu a.mobile-book { color: var(--red); font-weight: 600; }
@media (max-width: 480px) {
  .nav-actions .nav-book { display: none; }
  .wordmark .logo-img { height: 38px; }
}

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 28px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }
a.card { color: inherit; text-decoration: none; }

/* Weighbridge feature block on the homepage */
.feature-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  background: var(--navy);
  color: var(--paper-2);
  border-radius: var(--radius);
  padding: 48px;
  border-left: 6px solid var(--red);
}
.feature-block h3 { color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.feature-block p { color: var(--steel-light); margin-bottom: 26px; }
.feature-block .card-icon { background: rgba(255,255,255,0.08); }
.feature-block .card-icon svg { stroke: var(--white); }
.feature-list { list-style: none; margin: 0; padding: 0; align-self: center; }
.feature-list li { padding: 18px 0; border-bottom: 1px solid var(--line-dark); display: grid; gap: 4px; }
.feature-list li:first-child { border-top: 1px solid var(--line-dark); }
.feature-list strong { font-family: var(--font-display); color: var(--white); font-size: 1.15rem; }
.feature-list span { color: var(--steel-light); font-size: 0.95rem; }
@media (max-width: 900px) { .feature-block { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; } }

/* Dark cards on the services weighbridge section */
.dark-card {
  background: var(--navy-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 30px;
}
.dark-card h3 { color: var(--white); }
.dark-card .price-list li { color: var(--paper-2); }
.dark-card .price-list li svg { stroke: var(--red-bright); }
.section-dark .eyebrow { color: var(--paper-2); }

/* Review prompt on homepage */
.review-prompt {
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 40px; background: var(--white);
}
.review-prompt h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.review-prompt p { margin: 0; color: var(--steel); max-width: 520px; }
.review-prompt-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
@media (max-width: 800px) { .review-prompt { flex-direction: column; align-items: flex-start; padding: 28px 24px; } }

/* Forms */
.container.narrow { max-width: 760px; }
.muted { color: var(--steel); font-size: 0.9rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.field input.invalid, .field textarea.invalid, .field select.invalid { border-color: var(--red); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--steel); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--blue); }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.form-status { display: none; padding: 16px 18px; border-radius: var(--radius); font-size: 0.92rem; margin-top: 20px; }
.form-status.success { display: block; background: #EAF6EE; border: 1px solid #B6E0C2; color: #1E5B33; }
.form-status.error { display: block; background: #FDECEC; border: 1px solid #F3B9B9; color: #8A1C1C; }
.form-status a { color: inherit; text-decoration: underline; }

/* Star rating */
.rating-field { border: 0; padding: 0; margin: 0 0 24px; }
.rating-field legend {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--steel); margin-bottom: 8px; padding: 0;
}
.star-rating { display: inline-flex; flex-direction: row-reverse; gap: 6px; }
.star-rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-rating label { cursor: pointer; line-height: 0; }
.star-rating svg { width: 40px; height: 40px; fill: var(--paper-2); stroke: var(--steel-light); stroke-width: 1; transition: fill 0.12s ease; }
.star-rating label:hover svg,
.star-rating label:hover ~ label svg,
.star-rating input:checked ~ label svg { fill: var(--red); stroke: var(--red); }
.star-rating input:focus-visible + label svg { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.rating-field.invalid legend { color: var(--red); }
.dark-card .price-list li { border-color: var(--line-dark); }
.split .process-list { grid-template-columns: 1fr; gap: 24px; }

/* ============================================================
   Photos, logo sizing, gallery
   ============================================================ */
.wordmark .logo-img { height: 50px; }
@media (max-width: 480px) { .wordmark .logo-img { height: 40px; } }
.wordmark.on-dark .logo-img { height: 64px; padding: 10px 14px; }

/* Hero photo with readout overlay */
.hero-visual { position: relative; padding-bottom: 40px; }
.hero-visual img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line-dark);
}
.hero-readout {
  position: absolute; left: -28px; bottom: 0; width: min(340px, 78%);
  padding: 18px 20px; box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}
.hero-readout .readout-display { font-size: clamp(2rem, 4vw, 2.8rem); }
@media (max-width: 900px) { .hero-readout { left: 12px; } }

/* Homepage feature block photo */
.feature-side { display: flex; flex-direction: column; gap: 22px; }
.feature-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); display: block; }

/* Photo cards */
.photo-card {
  display: block; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none;
}
.photo-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s ease; }
.photo-card:hover img { transform: scale(1.03); }
.photo-card > div { padding: 22px 24px 26px; position: relative; background: var(--white); }
.photo-card p { color: var(--steel); margin: 0; }

/* Services photo strip */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.photo-strip figure { margin: 0; position: relative; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: var(--radius); }
.photo-strip figcaption {
  position: absolute; left: 12px; bottom: 12px; background: var(--navy); color: var(--white);
  font-size: 0.8rem; font-weight: 600; padding: 5px 10px; border-radius: 4px;
}
@media (max-width: 700px) { .photo-strip { grid-template-columns: 1fr; } }

/* About photo band */
.photo-band img { display: block; width: 100%; height: clamp(260px, 42vw, 520px); object-fit: cover; }

/* Portfolio gallery */
.gallery { columns: 3 300px; column-gap: 20px; }
.gallery-item { break-inside: avoid; margin: 0 0 20px; }
.gallery-link { display: block; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.gallery-link img { display: block; width: 100%; height: auto; transition: transform 0.4s ease; }
.gallery-link:hover img { transform: scale(1.03); }
.gallery-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.gallery-item figcaption { font-size: 0.9rem; color: var(--steel); padding: 10px 2px 0; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(6, 14, 30, 0.94);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: var(--radius); display: block; margin: 0 auto; }
.lightbox figcaption { color: var(--paper-2); margin-top: 14px; font-size: 0.95rem; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,0.1); color: var(--white); border: 0;
  width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: var(--red); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox-prev, .lightbox-next { top: auto; bottom: 20px; transform: none; } }
.hero-visual img, .feature-photo, .photo-card img, .photo-strip img { height: auto; }
.wordmark .logo-img { height: 56px; }
@media (max-width: 480px) { .wordmark .logo-img { height: 42px; } }
.hero-visual { padding-bottom: 88px; }
.hero-readout { width: min(300px, 72%); padding: 14px 18px; }
.hero-readout .readout-display { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }

/* ============================================================
   Blog: articles, empty state, admin
   ============================================================ */
[hidden] { display: none !important; }
a.blog-card { display: block; color: inherit; text-decoration: none; }
.blog-card .blog-image { background-size: cover; background-position: center; }
.blog-card p { color: var(--steel); }
.blog-empty { max-width: 560px; }
.blog-empty p { color: var(--steel); margin-bottom: 24px; }

.article-head h1 { max-width: 900px; }
.article-meta { font-family: var(--font-mono); font-size: 0.85rem; color: var(--steel-light); }
.article-meta .divider { opacity: 0.4; margin: 0 8px; }
.article { max-width: 760px; }
.article-cover { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 36px; display: block; }
.article-body { font-size: 1.06rem; line-height: 1.75; }
.article-body h2 { font-size: 1.6rem; margin: 1.6em 0 0.5em; }
.article-body p, .article-body ul { margin: 0 0 1.2em; }
.article-body ul { padding-left: 1.3em; }
.article-body li { margin-bottom: 0.4em; }
.article-body a { color: var(--blue); text-decoration: underline; }
.article-back { margin-top: 40px; }

/* Admin */
.admin-body { background: var(--paper); }
.admin-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.admin-bar-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 0; flex-wrap: wrap; }
.admin-brand { display: flex; align-items: center; gap: 12px; color: var(--steel); font-weight: 600; text-decoration: none; }
.admin-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 0.92rem; }
.admin-nav a { color: var(--ink); font-weight: 500; }
.admin-nav form { margin: 0; }
.admin-main { padding: 40px 0 80px; }
.admin-title { font-size: 1.9rem; }
.admin-card { padding: 32px; }
.admin-card:hover { transform: none; }
.narrow-card { max-width: 480px; }
.admin-head-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.admin-edit-grid { display: grid; grid-template-columns: 1fr 260px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .admin-edit-grid { grid-template-columns: 1fr; } }
.admin-help { font-size: 0.9rem; color: var(--steel); }
.admin-help code { background: var(--paper-2); padding: 2px 6px; border-radius: 4px; font-size: 0.85rem; }
.admin-body-input { min-height: 380px !important; font-size: 1rem; line-height: 1.6; }
.admin-thumb { display: block; max-width: 240px; border-radius: var(--radius); margin-bottom: 4px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.admin-table th { text-align: left; font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--steel); padding: 0 12px 12px 0; }
.admin-table td { padding: 14px 12px 14px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.admin-actions { display: flex; gap: 16px; align-items: center; justify-content: flex-end; }
.admin-actions form { margin: 0; }
.admin-actions a { color: var(--blue); font-weight: 500; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 9px 12px; font: inherit; }
.inline-form .btn { padding: 9px 16px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--steel); cursor: pointer; }
.link-button:hover { color: var(--ink); text-decoration: underline; }
.link-button.danger { color: var(--red); }
.status-pill { font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.status-pill.live { background: #EAF6EE; color: #1E5B33; }
.status-pill.draft { background: var(--paper-2); color: var(--steel); }
.empty-state p { color: var(--steel); max-width: 520px; margin-bottom: 22px; }
.admin-main .form-status { margin: 0 0 20px; }
@media (max-width: 700px) {
  .admin-table thead { display: none; }
  .admin-table tr { display: block; border-top: 1px solid var(--line); padding: 12px 0; }
  .admin-table td { display: block; border: 0; padding: 4px 0; }
  .admin-actions { justify-content: flex-start; }
}
/* Photos never stretch: fixed-shape frames crop instead of distorting */
.hero-visual img, .feature-photo, .photo-card img, .photo-strip img, .photo-band img, .article-cover { object-fit: cover; object-position: center; }
.gallery-link img, .lightbox img, .admin-thumb { height: auto; object-fit: contain; }
.hero-readout .readout-sub { gap: 16px; }
/* Hero: readout sits below the photo, no overlap */
.hero-visual { padding-bottom: 0; display: flex; flex-direction: column; gap: 14px; }
.hero-readout { position: static; width: 100%; left: auto; bottom: auto; box-shadow: none; padding: 16px 20px; }
.hero-readout .readout-display { font-size: clamp(1.8rem, 3vw, 2.2rem); margin: 6px 0; }
