/* =====================================================================
   Technical Welding Services — site.css (v2)
   One stylesheet for every page. Plain CSS, no build step.

   QUICK EDITS
   - Colours, fonts, widths: change the variables in :root below.
   - Brand green is --green (#00965B, from the logo).
   - Sections are marked with numbered "== NAME ==" headings.
   ===================================================================== */

/* == 1. Variables == */
:root {
  /* Base (dark) */
  --bg:        #0d0f10;   /* page background, near-black graphite */
  --surface:   #15181a;   /* cards, header, panels */
  --surface-2: #1c2023;   /* raised panels, inputs */
  --line:      rgba(255, 255, 255, 0.09);  /* hairlines on dark */
  --line-2:    rgba(255, 255, 255, 0.16);

  /* Text */
  --text:      #eceeed;   /* off-white body text */
  --muted:     #a3abb0;   /* steel grey secondary text */
  --muted-2:   #828b91;   /* quieter labels */

  /* Brand */
  --green:       #00965B; /* logo green — accent, buttons, rules */
  --green-hi:    #14b374; /* hover / bright accent on dark */
  --green-ink:   #00744a; /* green text on LIGHT backgrounds (contrast) */
  --green-soft:  rgba(0, 150, 91, 0.12);
  --green-glow:  rgba(0, 150, 91, 0.22);

  /* Light "drawing sheet" sections (photo galleries) */
  --paper:      #e6e8e9;
  --paper-line: rgba(13, 15, 16, 0.06);
  --ink:        #15181a;
  --ink-muted:  #4b5459;

  /* Layout & type */
  --max: 1200px;
  --radius: 2px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

/* == 2. Reset & base == */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--green-hi); outline-offset: 2px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* Fine engineering-drawing grid, used as a background on hero areas */
.grid-bg {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(0, 150, 91, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 150, 91, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}

/* == 3. Header & navigation == */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 15, 16, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header::after { /* thin green rule under the header */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, var(--green) 0, var(--green) 180px, transparent 420px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; height: 4.5rem; }

.brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.brand img { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 700; font-size: 1rem; letter-spacing: -0.005em; color: var(--text); }
.brand-tag { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-top: 0.2rem; }

.nav { display: none; align-items: center; gap: 0.1rem; }
.nav a {
  position: relative; font-size: 0.875rem; font-weight: 500; color: var(--muted);
  padding: 0.5rem 0.6rem; transition: color 0.15s;
}
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); }
.nav a.active::after {
  content: ""; position: absolute; left: 0.6rem; right: 0.6rem; bottom: -0.05rem; height: 2px; background: var(--green);
}

.header-cta { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.phone-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 600; color: var(--text); white-space: nowrap;
  padding: 0.5rem 0.85rem; border: 1px solid var(--green); border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.phone-cta svg { width: 16px; height: 16px; color: var(--green-hi); flex-shrink: 0; }
.phone-cta:hover { background: var(--green); color: #06120c; }
.phone-cta:hover svg { color: #06120c; }
.phone-num { display: none; }

.menu-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 2.5rem; height: 2.5rem; padding: 0.55rem;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: transparent; cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; background: var(--text); }

.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 0.5rem 0 1rem; background: var(--bg); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 0.7rem 1.5rem; font-size: 1rem; font-weight: 500; color: var(--muted); border-left: 2px solid transparent; }
.mobile-nav a:hover { color: var(--text); background: var(--surface); }
.mobile-nav a.active { color: var(--text); border-left-color: var(--green); }

@media (min-width: 480px) { .phone-num { display: inline; } }
@media (max-width: 400px) { .brand-tag { display: none; } .brand-name { font-size: 0.9rem; } }
@media (min-width: 1140px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* == 4. Buttons == */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem; font-size: 0.95rem; font-weight: 650; line-height: 1.2;
  border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  font-family: inherit; transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.btn svg { width: 18px; height: 18px; }
/* Dark text on brand green keeps contrast high */
.btn-primary { background: var(--green); color: #06120c; border-color: var(--green); }
.btn-primary:hover { background: var(--green-hi); border-color: var(--green-hi); box-shadow: 0 0 0 4px var(--green-soft); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--green); color: var(--green-hi); }

/* == 5. Labels, titles, dimension-line divider == */
.section-label, .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-hi); margin-bottom: 0.9rem;
}
.section-label::before, .hero-eyebrow::before { content: ""; width: 1.5rem; height: 1px; background: var(--green); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 0.9rem; color: var(--text); }
.section-intro { color: var(--muted); max-width: 40rem; margin-bottom: 2.5rem; }

/* Dimension line divider (optional, not used yet): <div class="dim"><span>Label</span></div> */
.dim { display: flex; align-items: center; gap: 0.75rem; color: var(--muted-2); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 2.5rem; }
.dim::before, .dim::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.dim::before { border-left: 1px solid var(--muted-2); height: 9px; background: linear-gradient(var(--line-2), var(--line-2)) center / 100% 1px no-repeat; }
.dim::after  { border-right: 1px solid var(--muted-2); height: 9px; background: linear-gradient(var(--line-2), var(--line-2)) center / 100% 1px no-repeat; }

/* == 6. Hero (top of every page) == */
.hero { position: relative; padding: 4.5rem 0 4.75rem; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::after { /* soft green glow */
  content: ""; position: absolute; right: -10%; top: -20%; width: 55%; height: 120%;
  background: radial-gradient(ellipse at center, rgba(0, 150, 91, 0.10) 0%, transparent 65%); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 750; line-height: 1.08; letter-spacing: -0.03em; max-width: 17ch; margin-bottom: 1.25rem; }
.hero-sub { font-size: clamp(1.02rem, 1.8vw, 1.17rem); color: var(--muted); max-width: 38rem; margin-bottom: 2.25rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* Two-column hero with a photo (home, screws, barrels) */
.hero-split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .hero-split { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; } }

/* Mini spec row under hero buttons */
.hero-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.75rem; border-top: 1px solid var(--line-2); max-width: 36rem; }
.hero-specs div { padding: 0.9rem 1rem 0 0; }
.hero-specs div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
.hero-specs strong { display: block; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; color: var(--text); white-space: nowrap; }
.hero-specs span { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-top: 0.2rem; }
@media (max-width: 520px) { .hero-specs strong { font-size: 1rem; } .hero-specs div + div { padding-left: 0.7rem; } }

/* Drawing "title block" for heroes without a photo */
.title-block { border: 1px solid var(--line-2); background: rgba(21, 24, 26, 0.85); font-family: var(--mono); font-size: 0.8rem; max-width: 26rem; justify-self: end; width: 100%; }
.title-block .tb-head { padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--line-2); color: var(--green-hi); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.7rem; }
.title-block dl { display: grid; grid-template-columns: auto 1fr; }
.title-block dt, .title-block dd { padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); }
.title-block dt { color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.68rem; border-right: 1px solid var(--line); }
.title-block dd { color: var(--text); font-family: var(--font); font-size: 0.98rem; font-weight: 600; }
.title-block dl > :nth-last-child(-n+2) { border-bottom: 0; }

/* == 7. Specimen frame (product photos on DARK backgrounds) ==
   The photos are on light backgrounds, so each one sits inside a
   framed "specimen plate" with corner marks and a caption bar.     */
.specimen { position: relative; margin: 0; background: var(--surface); border: 1px solid var(--line-2); padding: 0.6rem; }
.specimen img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #d9dbdc; }
.specimen.wide img { aspect-ratio: 2 / 1; }
.specimen.contain img { object-fit: contain; background: #e6e6e6; padding: 6%; } /* small or odd-shaped photos */
.specimen figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: 0.65rem 0.2rem 0.1rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.specimen figcaption b { color: var(--green-hi); font-weight: 600; }
/* green corner registration marks */
.specimen::before, .specimen::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--green); border-style: solid; pointer-events: none; }
.specimen::before { top: -5px; left: -5px; border-width: 2px 0 0 2px; }
.specimen::after  { bottom: -5px; right: -5px; border-width: 0 2px 2px 0; }

/* == 8. Trust strip == */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--line); padding: 1rem 0; }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem 0; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: center; }
.trust-inner .sep { color: var(--green); margin: 0 1rem; user-select: none; }
@media (max-width: 540px) { .trust-inner { flex-direction: column; gap: 0.35rem; } .trust-inner .sep { display: none; } }

/* == 9. Sections == */
section { padding: 5rem 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Text + photo side by side (inner pages) */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split.flip > :first-child { order: 2; }
}
.content-inner { max-width: 44rem; }
.content-inner > p { color: var(--muted); margin-bottom: 1rem; }
.content-inner > p:last-child { margin-bottom: 0; }

/* Bulleted spec list with green ticks */
.spec-list { margin-top: 1.25rem; border-top: 1px solid var(--line); }
.spec-list li { position: relative; padding: 0.7rem 0 0.7rem 1.6rem; border-bottom: 1px solid var(--line); color: var(--text); font-size: 0.98rem; }
.spec-list li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 0.8rem; height: 1px; background: var(--green); }
.spec-list li::after { content: ""; position: absolute; left: 0.8rem; top: calc(1.25rem - 3px); width: 1px; height: 7px; background: var(--green); }

/* Highlighted capacity line */
.capacity { display: inline-block; margin-top: 0.5rem; padding: 0.75rem 1rem; border: 1px solid var(--green); border-left-width: 3px; background: var(--green-soft); color: var(--text) !important; font-weight: 600; }

/* Spec table (drawing-sheet style) */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: 0.95rem; border: 1px solid var(--line-2); }
.spec-table caption { text-align: left; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); padding-bottom: 0.5rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; font-family: var(--mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, 0.02); border-right: 1px solid var(--line); }
.spec-table td { color: var(--text); font-weight: 600; }

.ext-note { margin-top: 1.5rem; font-size: 0.95rem; color: var(--muted); }
.ext-note a { color: var(--green-hi); border-bottom: 1px solid rgba(20, 179, 116, 0.4); }
.ext-note a:hover { border-bottom-color: var(--green-hi); }

/* == 10. Service cards (home) == */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 600px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { position: relative; display: flex; flex-direction: column; gap: 0.5rem; background: var(--bg); padding: 1.75rem 1.6rem 1.9rem; transition: background 0.15s; }
.service-card:hover { background: var(--surface); }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--green); transition: width 0.25s; }
.service-card:hover::before { width: 100%; }
.service-num { position: absolute; top: 1.6rem; right: 1.6rem; font-family: var(--mono); font-size: 0.7rem; color: var(--muted-2); letter-spacing: 0.1em; }
.service-icon { width: 2.4rem; height: 2.4rem; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(0, 150, 91, 0.45); color: var(--green-hi); margin-bottom: 0.6rem; }
.service-icon svg { width: 1.15rem; height: 1.15rem; }
.service-card h3 { font-size: 1.08rem; font-weight: 650; letter-spacing: -0.01em; color: var(--text); }
.service-card p { font-size: 0.95rem; color: var(--muted); line-height: 1.6; flex-grow: 1; }
.service-more { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-top: 0.6rem; transition: color 0.15s; }
.service-card:hover .service-more { color: var(--green-hi); }

/* Info cards (pressing / on-site) */
.cards-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards-grid.three { grid-template-columns: repeat(3, 1fr); } .cards-grid.four { grid-template-columns: repeat(4, 1fr); } }
.info-card { background: var(--surface); padding: 1.6rem 1.5rem 1.8rem; border-top: 2px solid transparent; transition: border-color 0.15s; }
.section-alt .info-card { background: var(--bg); }
.info-card:hover { border-top-color: var(--green); }
.info-card .num { display: block; font-family: var(--mono); font-size: 0.7rem; color: var(--green-hi); letter-spacing: 0.12em; margin-bottom: 0.8rem; }
.info-card h3 { font-size: 1.05rem; font-weight: 650; margin-bottom: 0.4rem; }
.info-card p { font-size: 0.95rem; color: var(--muted); }

/* == 11. Gallery — LIGHT "drawing sheet" section ==
   Photos sit naturally on this light panel. To add a photo, copy one
   <li> block in the HTML and change src, width, height, alt, caption. */
.gallery-section {
  background-color: var(--paper); color: var(--ink);
  background-image:
    linear-gradient(var(--paper-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--paper-line) 1px, transparent 1px);
  background-size: 24px 24px;
  border-top: 3px solid var(--green);
}
.gallery-section .section-label { color: var(--green-ink); }
.gallery-section .section-title { color: var(--ink); }
.gallery-section .section-intro { color: var(--ink-muted); }
.gallery { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; background: #f4f5f5; border: 1px solid #c3c8cb; padding: 0.5rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #dcdedf; }
.gallery figure.contain img { object-fit: contain; background: #e6e6e6; padding: 8%; }
.gallery figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.15rem 0.1rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.gallery figcaption b { color: var(--green-ink); font-weight: 600; }
@media (min-width: 960px) { .gallery .feature { grid-column: span 2; } .gallery .feature img { aspect-ratio: auto; height: 100%; max-height: none; } }

/* == 12. Why TWS (home) == */
.why-inner { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 860px) { .why-inner { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.why-copy p { font-size: 1.15rem; color: var(--muted); line-height: 1.75; margin-top: 0.5rem; }
.why-points { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.why-point { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.why-point-num { flex-shrink: 0; font-family: var(--mono); font-size: 0.8rem; font-weight: 600; color: var(--green-hi); padding-top: 0.15rem; min-width: 2rem; }
.why-point strong { display: block; font-size: 1rem; color: var(--text); margin-bottom: 0.2rem; }
.why-point span { font-size: 0.95rem; color: var(--muted); line-height: 1.55; }

/* == 13. Contact strip (bottom of every page) == */
.contact { border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: start; } }
.contact-card { position: relative; background: var(--surface); border: 1px solid var(--line-2); border-top: 3px solid var(--green); padding: 2rem 1.75rem; }
.contact-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-row { display: flex; gap: 0.9rem; margin-bottom: 1.25rem; align-items: flex-start; }
.contact-row:last-child { margin-bottom: 0; }
.contact-row svg { width: 18px; height: 18px; color: var(--green-hi); flex-shrink: 0; margin-top: 0.25rem; }
.contact-row address { font-style: normal; color: var(--muted); line-height: 1.6; font-size: 0.98rem; }
.contact-row a { color: var(--text); font-weight: 650; font-size: 1.1rem; }
.contact-row a:hover { color: var(--green-hi); }
.contact-row .hours { color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
.contact-aside { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.contact-aside > p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }

/* Enquiry form (contact page — visual mock only) */
.enquiry-form { width: 100%; background: var(--surface); border: 1px solid var(--line-2); padding: 1.75rem; }
.enquiry-form h3 { font-size: 1.15rem; margin-bottom: 1.25rem; }
.form-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.form-field label { display: block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.form-field input, .form-field textarea {
  width: 100%; font: inherit; font-size: 0.98rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 0.7rem 0.8rem;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted-2); }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.form-field textarea { min-height: 8rem; resize: vertical; }
.form-note { margin-top: 1rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted-2); }
.map-placeholder {
  width: 100%; min-height: 11rem; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  border: 1px dashed var(--line-2);
  background-color: var(--surface);
  background-image: linear-gradient(rgba(0,150,91,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0,150,91,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* == 14. Footer == */
.site-footer { background: #090a0b; color: var(--muted); padding: 3rem 0 2rem; border-top: 1px solid var(--line); position: relative; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, var(--green), transparent 60%); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.footer-brand .brand img { width: 52px; }
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; color: var(--muted-2); max-width: 24rem; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 0.5rem 2.5rem; align-content: start; }
@media (min-width: 700px) { .footer-nav { grid-template-columns: repeat(4, auto); } }
.footer-nav a { font-size: 0.9rem; color: var(--muted); }
.footer-nav a:hover { color: var(--green-hi); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted-2); }

/* == 15. Small screens == */
@media (max-width: 640px) {
  section { padding: 3.75rem 0; }
  .hero { padding: 3rem 0 3.5rem; }
  .container { padding: 0 1.25rem; }
}

/* Contact page: email box text and "Visiting?" note (replaces old map placeholder) */
.enquiry-text { color: var(--muted); font-size: 1rem; line-height: 1.65; margin-bottom: 1.25rem; }
.visit-note { width: 100%; border: 1px solid var(--line-2); border-left: 3px solid var(--green); background: var(--surface); padding: 1.25rem 1.5rem; }
.visit-note h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.visit-note p { color: var(--muted); font-size: 0.98rem; line-height: 1.6; }

/* == 16. Contact page: live enquiry form (contact.php) == */
.contact-col { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.5rem; }
.enquiry-form h2 { font-size: 1.15rem; margin-bottom: 1.25rem; }
.visit-note h2 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.enquiry-email { width: 100%; border: 1px solid var(--line-2); background: var(--surface); padding: 1.25rem 1.5rem; }
.enquiry-email h2 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.enquiry-email .enquiry-text { font-size: 0.98rem; margin-bottom: 1rem; }
.form-field .req { color: var(--green-hi); }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: #e0605a; }
.field-err { display: none; margin-top: 0.35rem; font-size: 0.85rem; color: #f08a84; }
.field-err:not(:empty) { display: block; }
.form-consent { font-size: 0.85rem; color: var(--muted-2); line-height: 1.5; margin: 0.25rem 0 1.1rem; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.enquiry-form { position: relative; }
.form-status { display: none; margin-bottom: 1.25rem; padding: 0.9rem 1rem; border: 1px solid var(--line-2); border-left: 3px solid var(--green); background: var(--surface-2); font-size: 0.95rem; line-height: 1.55; }
.form-status strong { display: block; color: var(--text); margin-bottom: 0.15rem; }
.form-status span { color: var(--muted); }
.form-status a { color: var(--text); text-decoration: underline; }
.form-status.err { border-left-color: #e0605a; }
.form-status:target, .form-status.show { display: block; }
#sent:target ~ form { display: none; }
.enquiry-form.is-sent form { display: none; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.form-status:focus { outline: none; }

/* == 17. Privacy policy page + small links == */
.policy { max-width: 46rem; }
.policy h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; color: var(--text); margin: 2.25rem 0 0.6rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.policy h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.policy p { color: var(--muted); margin-bottom: 0.9rem; line-height: 1.7; }
.policy ul { margin: 0 0 1rem; border-top: 1px solid var(--line); }
.policy li { position: relative; padding: 0.55rem 0 0.55rem 1.6rem; border-bottom: 1px solid var(--line); color: var(--muted); line-height: 1.6; }
.policy li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 0.8rem; height: 1px; background: var(--green); }
.policy li strong, .policy p strong { color: var(--text); font-weight: 650; }
.policy a { color: var(--green-hi); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.policy address { font-style: normal; color: var(--muted); margin-bottom: 0.9rem; line-height: 1.7; }
.policy-updated { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.form-privacy { font-size: 0.85rem; color: var(--muted-2); line-height: 1.5; margin: 0.9rem 0 0; }
.form-privacy a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.form-privacy a:hover, .footer-bottom a:hover { color: var(--green-hi); }
.footer-bottom a { color: var(--muted-2); text-decoration: underline; text-underline-offset: 2px; }
.policy a[href^="tel:"] { white-space: nowrap; }

/* == 18. Footer legal line (company + VAT numbers) == */
.nowrap { white-space: nowrap; }
.footer-legal span { white-space: nowrap; }
@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; gap: 0.75rem; }
  .footer-legal { display: flex; flex-direction: column; gap: 0.3rem; }
  .footer-legal .sep { display: none; }
}

/* =====================================================================
   v3 "Workshop Blue" theme (Oct 2026). Overrides everything above.
   Light pages, steel-blue accent, Barlow type (self-hosted in fonts/).
   Logo green kept on the white header. Edit colours in the :root below.
   ===================================================================== */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Barlow-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Barlow-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Barlow-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Barlow-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/BarlowSemiCondensed-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/BarlowSemiCondensed-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}:root{
  --bg:#F5F7F9; --surface:#ffffff; --surface-2:#EEF2F5;
  --line:rgba(20,28,36,.10); --line-2:rgba(20,28,36,.18);
  --text:#141C24; --muted:#56626E; --muted-2:#7A858F;
  --blue:#1F7BC1; --blue-dk:#005F9B; --blue-lt:#7CC4F0; --slate:#293A4A; --night:#141C24;
  --green:#1F7BC1; --green-hi:#1F7BC1; --green-ink:#005F9B; --green-soft:rgba(31,123,193,.10); --green-glow:rgba(31,123,193,.2);
  --paper:#F5F7F9; --paper-line:transparent; --ink:#141C24; --ink-muted:#56626E;
  --radius:6px;
  --font:"Barlow",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --head:"Barlow Semi Condensed","Barlow",system-ui,sans-serif;
  --mono:var(--font);
}
body{font-size:1.0625rem}
h1,h2,h3,.section-title,.brand-name{font-family:var(--head)}
.grid-bg{background-image:none}

/* header: white, logo keeps its green */
.site-header{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:1px solid #E9EDF1;box-shadow:0 1px 8px rgba(20,28,36,.05)}
.site-header::after{display:none}
.header-inner{height:5rem}
.brand img{width:50px}
.brand-name{font-weight:700;text-transform:uppercase;letter-spacing:.02em;font-size:1.05rem}
.brand-tag{font-size:.78rem;letter-spacing:.02em;text-transform:none;color:var(--muted-2)}
.nav a{font-weight:600;text-transform:uppercase;letter-spacing:.04em;font-size:.86rem;color:var(--slate)}
.nav a:hover,.nav a.active{color:var(--blue)}
.nav a.active::after{height:3px;background:var(--blue);bottom:-.4rem}
.phone-cta{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:700}
.phone-cta svg{color:#fff}
.phone-cta:hover{background:var(--blue-dk);color:#fff}.phone-cta:hover svg{color:#fff}
.menu-toggle{border-color:var(--line-2);border-radius:6px}.menu-toggle span{background:var(--night)}
.mobile-nav{background:#fff;border-top:1px solid #E9EDF1;box-shadow:0 10px 20px rgba(20,28,36,.08)}
.mobile-nav a{color:var(--slate);font-weight:600;text-transform:uppercase;letter-spacing:.04em;font-size:.95rem;border-left-width:3px}
.mobile-nav a:hover{background:var(--bg);color:var(--blue)}
.mobile-nav a.active{color:var(--blue);border-left-color:var(--blue)}

/* buttons */
.btn{font-weight:700;text-transform:uppercase;letter-spacing:.04em;font-size:.9rem;padding:.95rem 1.5rem}
.btn-primary{background:var(--blue);border-color:var(--blue);color:#fff}
.btn-primary:hover{background:var(--blue-dk);border-color:var(--blue-dk);box-shadow:none}
.btn-outline{color:var(--night);border:2px solid var(--night)}
.btn-outline:hover{color:var(--blue);border-color:var(--blue)}

/* labels & titles */
.section-label,.hero-eyebrow{font-family:var(--head);font-size:.85rem;font-weight:700;letter-spacing:.14em;color:var(--blue)}
.section-label::before,.hero-eyebrow::before{display:none}
.section-title{font-size:clamp(1.9rem,3.6vw,2.6rem);text-transform:uppercase;letter-spacing:0;line-height:1.05}

/* hero: dark slate-blue band on every page */
.hero{background:linear-gradient(120deg,#0E2338 0%,#1B3A57 100%);color:#fff;border-bottom:0;padding:4.5rem 0 4.75rem;
  --text:#fff;--muted:#D3DEE8;--muted-2:#9FB3C5;--line:rgba(255,255,255,.12);--line-2:rgba(255,255,255,.22)}
.hero::after{display:none}
.hero h1{font-size:clamp(2.2rem,5vw,3.9rem);font-weight:700;text-transform:uppercase;letter-spacing:0;line-height:1.02;max-width:19ch}
.hero .hero-eyebrow{color:var(--blue-lt)}
.hero .btn-outline{color:#fff;border-color:#fff}.hero .btn-outline:hover{background:#fff;color:var(--blue-dk)}
.hero-specs{border-top:0;max-width:none;background:#fff;border-radius:12px;box-shadow:0 12px 40px rgba(0,0,0,.18);margin-top:2.5rem}
.hero-specs div{padding:1.1rem 1.25rem}
.hero-specs div+div{border-left:1px solid #E9EDF1;padding-left:1.25rem}
.hero-specs strong{font-family:var(--head);color:var(--blue-dk);font-size:1.6rem}
.hero-specs span{color:var(--muted-2);text-transform:none;letter-spacing:0;font-size:.9rem;color:#7A858F}
@media(max-width:520px){.hero-specs strong{font-size:1.15rem}.hero-specs div,.hero-specs div+div{padding:.8rem .6rem}.hero-specs span{font-size:.78rem}}
/* home: full-bleed workshop photo behind the hero */
.hero-home{background:linear-gradient(90deg,rgba(10,30,50,.94) 0%,rgba(10,30,50,.78) 50%,rgba(10,30,50,.25) 100%),url(../images/screw-lathe-flights-01-1200.jpg) center/cover;padding:6.5rem 0 5.5rem}
@media(min-width:900px){.hero-home .hero-split{grid-template-columns:1fr}.hero-home .hero-split>div:last-child{display:none}.hero-home .hero-specs{max-width:52rem}}
@media(max-width:899px){.hero-home .hero-split>div:last-child{display:none}.hero-home{background:linear-gradient(180deg,rgba(10,30,50,.9),rgba(10,30,50,.82)),url(../images/screw-lathe-flights-01-900.jpg) center/cover;padding:3.5rem 0}}

/* photos: clean rounded frames */
.specimen{background:#fff;border:0;padding:0;border-radius:12px;overflow:hidden;box-shadow:0 12px 34px rgba(0,0,0,.18)}
.specimen::before,.specimen::after{display:none}
.specimen figcaption{padding:.7rem 1rem;color:var(--muted);text-transform:none;letter-spacing:0;font-size:.88rem;background:#fff}
.hero .specimen figcaption{color:#56626E}
.specimen figcaption b{color:var(--blue-dk)}
.title-block{background:rgba(255,255,255,.06);border-radius:12px;font-family:var(--font)}
.title-block .tb-head{color:var(--blue-lt);font-family:var(--head);font-weight:700}

.trust-strip{background:#fff;border-bottom:1px solid #E9EDF1}
.trust-inner{font-family:var(--head);font-weight:600;color:var(--slate)}
.trust-inner .sep{color:var(--blue)}

/* sections */
section{padding:5.25rem 0}
.section-alt{background:var(--slate);border:0;color:#fff;--text:#fff;--muted:#C3CED8;--muted-2:#9FB3C5;--line:rgba(255,255,255,.12);--line-2:rgba(255,255,255,.22);--green-hi:var(--blue-lt);--green:var(--blue-lt)}
.section-alt .section-label{color:var(--blue-lt)}
.section-alt .specimen figcaption{color:#56626E}
.capacity{border-radius:6px;border-color:var(--blue)}
.spec-table{border-radius:10px;overflow:hidden;background:var(--surface)}
.section-alt .spec-table{background:rgba(255,255,255,.04)}
.spec-table th{text-transform:none;letter-spacing:0;font-size:.92rem;background:rgba(20,28,36,.03)}
.ext-note a{color:var(--blue);border-bottom-color:rgba(31,123,193,.4)}
.section-alt .ext-note a{color:var(--blue-lt)}

/* service cards: white, rounded, blue top edge */
.services-grid{background:none;border:0;gap:1.5rem}
.service-card{background:#fff;border-radius:12px;border-top:4px solid var(--blue);box-shadow:0 1px 2px rgba(20,28,36,.05),0 6px 20px rgba(20,28,36,.06);transition:transform .15s,box-shadow .15s}
.service-card:hover{background:#fff;transform:translateY(-2px);box-shadow:0 12px 30px rgba(20,28,36,.12)}
.service-card::before{display:none}
.service-num{font-family:var(--head);font-weight:700;font-size:.95rem;color:#B5C0CA}
.service-icon{border:0;background:rgba(31,123,193,.1);border-radius:8px;color:var(--blue)}
.service-card h3{font-size:1.4rem;text-transform:uppercase;font-weight:700;letter-spacing:0}
.service-more{font-family:var(--head);font-weight:700;font-size:.85rem;color:var(--blue)}
.cards-grid{background:none;border:0;gap:1.25rem}
.info-card{background:#fff;border-radius:12px;border-top:4px solid var(--blue);box-shadow:0 6px 20px rgba(20,28,36,.06)}
.section-alt .info-card{background:rgba(255,255,255,.06);box-shadow:none;border-top-color:var(--blue-lt)}
.info-card .num{font-family:var(--head);font-size:1.6rem;font-weight:700;color:var(--blue)}
.section-alt .info-card .num{color:var(--blue-lt)}
.info-card h3{font-size:1.3rem;text-transform:uppercase}

/* gallery */
.gallery-section{background:#fff;border-top:0}
.gallery{gap:1rem}
.gallery figure{background:none;border:0;padding:0}
.gallery img{border-radius:8px}
.gallery figcaption{text-transform:none;letter-spacing:0;font-size:.9rem;padding:.5rem .1rem 0}
.gallery figcaption b{color:var(--blue-dk)}

/* why */
.why-copy p{font-size:1.2rem}
.why-points{border-top:0;gap:1.25rem}
.why-point{border:0;border-left:3px solid var(--blue-lt);padding:.4rem 0 .4rem 1.25rem}
.why-point-num{font-family:var(--head);font-size:2rem;line-height:1;color:var(--blue-lt)}
.why-point strong{font-family:var(--head);text-transform:uppercase;font-size:1.25rem}
.why-short:not(.section-alt) .why-point-num{color:var(--blue)}
.why-short:not(.section-alt) .why-point{border-left-color:var(--blue)}

/* contact block & forms */
.contact{border-top:0;background:var(--bg)}
.contact-card,.enquiry-email,.visit-note{background:#fff;border:1px solid #E3E8ED;border-radius:12px;box-shadow:0 6px 20px rgba(20,28,36,.05)}
.contact-card{border-top:4px solid var(--blue)}
.visit-note{border-left:4px solid var(--blue)}
.contact-row svg{color:var(--blue)}
.contact-row a:hover{color:var(--blue)}
.form-field input,.form-field textarea,.form-field select{background:#fff!important;color:var(--text)!important;border:1px solid #CDD5DD!important;border-radius:6px}
.form-field input:focus,.form-field textarea:focus{border-color:var(--blue)!important;outline:2px solid rgba(31,123,193,.2)}
.form-status{background:#fff;border-radius:8px}
.field-err{color:#C62828}
.policy li::before{background:var(--blue)}
.policy a{color:var(--blue)}
.policy-updated{text-transform:none;letter-spacing:0}

/* footer: dark */
.site-footer{background:var(--night);border-top:0;color:#9AA6B2;--text:#fff;--muted:#B8C2CC;--muted-2:#8D99A5;--line:rgba(255,255,255,.1)}
.site-footer::before{display:none}
.site-footer .brand-name{color:#fff}
.footer-nav a{text-transform:uppercase;font-weight:600;letter-spacing:.04em;font-size:.85rem}
.footer-nav a:hover,.form-privacy a:hover,.footer-bottom a:hover{color:var(--blue-lt)}
.footer-bottom{font-family:var(--font);letter-spacing:0;font-size:.85rem}
.site-footer .brand img{background:#fff;border-radius:8px;padding:5px}
.form-field input[aria-invalid="true"],.form-field textarea[aria-invalid="true"]{border-color:#C62828!important}
@media(max-width:560px){.header-inner{height:4.25rem;gap:.6rem}.brand{flex-shrink:1;min-width:0}.brand img{width:40px}.brand-name{font-size:.92rem;line-height:1.1}.brand-tag{display:none}.header-cta{gap:.5rem}}
.nav a{white-space:nowrap}@media(min-width:1140px) and (max-width:1320px){.nav a{padding:.5rem .45rem;font-size:.8rem}.brand-name{font-size:.98rem}}
.hero-media{display:flex;flex-direction:column;gap:1.25rem}.hero-media .title-block{justify-self:stretch;max-width:none}
