/* Alpha Fence Rental: flat surfaces, hairline borders, one accent, logo-led. */

:root {
  --ink:        #0B0B0B;
  --ink-2:      #3D3D3D;
  --muted:      #6B6B6B;
  --line:       #E4E4E4;
  --line-dark:  #2B2B2B;
  --surface:    #FFFFFF;
  --surface-2:  #F7F7F5;
  --dark:       #0B0B0B;
  --accent:     #FDBA4D;
  --accent-ink: #0B0B0B;
  --accent-hov: #F0A82F;
  --radius:     16px;
  --wrap:       1160px;
  --pad:        24px;
  --ease:       cubic-bezier(.22, .61, .36, 1);
  --ease-out:   cubic-bezier(.16, 1, .3, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .step-num, .btn, .footer-wordmark {
  font-family: Archivo, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.1; font-weight: 800; }
h2 { font-size: clamp(30px, 3.8vw, 46px); }
h3 { font-size: 19px; letter-spacing: -0.01em; font-weight: 700; }
p  { margin: 0; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* Clear the sticky header when a nav link jumps to a section. */
section[id] { scroll-margin-top: 88px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; }
.skip:focus { left: 0; }

[hidden] { display: none !important; }

/* ================= Buttons ================= */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 10px;
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-hov); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ================= Header ================= */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.stuck { border-bottom-color: var(--line); }

.header-inner { display: flex; align-items: center; gap: 32px; height: 88px; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; width: 200px; height: 78px; object-fit: contain; object-position: center; }

.nav { display: flex; gap: 28px; margin-right: auto; }
.nav a {
  position: relative;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.phone { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.phone svg { width: 17px; height: 17px; fill: var(--accent); }
.phone:hover { color: var(--muted); }

.menu-toggle {
  display: none; width: 42px; height: 42px;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 0; cursor: pointer;
}
.menu-toggle span {
  display: block; width: 18px; height: 2px; margin: 3.5px auto; background: var(--ink);
  transition: transform .25s var(--ease-out), opacity .2s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ================= Hero ================= */

/* Full-bleed photo behind the hero copy. The picture is desaturated and dimmed,
   then a flat scrim holds the contrast steady wherever the crop lands. */
.hero { position: relative; overflow: hidden; background: var(--dark); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.42) brightness(.66);
}
.hero-bg::after { content: ""; position: absolute; inset: 0; background: rgba(11, 11, 11, .46); }
.hero-inner { position: relative; z-index: 1; padding-top: 128px; padding-bottom: 136px; }

.hero-logo {
  width: min(340px, 74%); height: auto;
  margin-bottom: 34px;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.05s var(--ease-out) .1s;
}
body.ready .hero-logo { clip-path: inset(0 0 0 0); }

.hero-copy { max-width: 46rem; }
.hero-copy h1 { font-size: clamp(34px, 4.6vw, 58px); color: #fff; }
.hero-copy .lede { margin-top: 22px; color: rgba(255, 255, 255, .84); }

/* Outline button needs to read against the photo, not the white page. */
.hero .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .55); }
.hero .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.lede { font-size: 18.5px; color: var(--muted); max-width: 54ch; }

.hero-copy h1, .hero-copy .lede, .hero-cta {
  opacity: 0; transform: translateY(16px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}
body.ready .hero-copy h1   { opacity: 1; transform: none; transition-delay: .45s; }
body.ready .hero-copy .lede { opacity: 1; transform: none; transition-delay: .58s; }
body.ready .hero-cta        { opacity: 1; transform: none; transition-delay: .70s; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.image-placeholder {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 520 / 420;
  background: var(--surface-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 15px; font-weight: 500;
}

/* ================= Sections ================= */

.section { padding: 104px 0; }
.section-alt { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--dark); color: #fff; }
.section-dark .section-head p { color: #A5A5A5; }

.section-head { max-width: 62ch; margin-bottom: 52px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* Word-by-word rise, built by app.js */
.split .word { display: inline-block; overflow: hidden; vertical-align: top; }
.split .word > span {
  display: inline-block;
  transform: translateY(102%);
  transition: transform .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 55ms);
}
[data-anim].in .split .word > span { transform: none; }

/* ================= Reveal ================= */

/* One transition list covers reveal and the hover states of revealed elements, so a
   card's lift and border still animate after it has come in. */
[data-anim] { opacity: 0; transform: translateY(18px); }
[data-anim].in {
  opacity: 1; transform: none;
  transition:
    opacity .7s var(--ease-out) calc(var(--delay, 0) * 90ms),
    transform .45s var(--ease-out) calc(var(--delay, 0) * 90ms),
    border-color .25s var(--ease),
    padding-left .3s var(--ease-out),
    background-color .2s var(--ease);
}

/* ================= Equipment ================= */

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 30px;
  transition: border-color .25s var(--ease), transform .35s var(--ease-out),
              opacity .7s var(--ease-out);
}
.card:hover { border-color: var(--accent); }
.card .icon { width: 40px; height: 40px; color: var(--ink); margin-bottom: 22px; }
.card:hover .icon { color: var(--accent-hov); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* Icon line-art strokes itself in on reveal, and redraws on hover. */
.icon .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
[data-anim].in .icon .draw {
  animation: draw .9s var(--ease-out) forwards;
  animation-delay: calc(var(--delay, 0) * 90ms + .15s);
}
.card:hover .icon .draw { animation: draw .7s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ================= Steps ================= */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.steps li {
  position: relative;
  padding: 34px 28px 8px;
  padding-left: 28px;
}
.steps li:first-child { padding-left: 0; }
.steps li::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--line-dark);
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease-out);
  transition-delay: calc(var(--delay, 0) * 90ms);
}
.steps li.in::before { transform: scaleX(1); }
.steps li::after {
  content: ""; position: absolute; right: 0; top: 34px; bottom: 8px; width: 1px;
  background: var(--line-dark);
}
.steps li:last-child::after { display: none; }
.step-num { display: block; font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .06em; margin-bottom: 16px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: #A5A5A5; font-size: 15.5px; }

/* ================= Applications ================= */

.app-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.app-list li {
  position: relative;
  padding: 24px 0 24px 0;
  border-top: 1px solid var(--line);
  transition: padding-left .3s var(--ease-out), opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.app-list li::before {
  content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 2px;
  background: var(--accent);
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease-out);
}
.app-list li:hover { padding-left: 18px; }
.app-list li:hover::before { transform: scaleY(1); }
.app-list li:nth-child(-n+3) { padding-top: 6px; border-top: 0; }
.app-list li:nth-child(-n+3)::before { top: 6px; }
.app-list h3 { margin-bottom: 8px; }
.app-list p { color: var(--muted); font-size: 15.5px; }

/* ================= Service area ================= */

.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.city-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.city-list li {
  padding: 16px 18px; font-size: 15px; font-weight: 500;
  border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
  background: var(--surface);
}

/* ================= Contact ================= */

/* Contact details may not exist yet, so the form is the centrepiece here rather than
   a second column sitting beside an empty one. */
.quote-wrap { max-width: 780px; }
.quote-intro { margin-bottom: 40px; }
.quote-intro p { margin-top: 16px; color: var(--muted); font-size: 17px; }

.contact-list { list-style: none; margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.contact-list li + li { margin-top: 14px; }
.contact-list li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; }
.contact-list svg { width: 18px; height: 18px; flex: none; fill: none; color: var(--muted); }
.contact-list li:first-child svg { fill: var(--accent); color: var(--accent); }
.contact-list a { transition: color .2s var(--ease); }
.contact-list a:hover { color: var(--muted); }

.quote-form { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--surface); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.opt { color: var(--muted); font-weight: 400; }

.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 108px; }
.field select { appearance: none; cursor: pointer; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #CFCFCF; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 1px solid var(--ink); outline-offset: -2px;
  background: var(--surface); border-color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder { color: #9A9A9A; }

.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C0392B; }
.error { display: none; margin-top: 6px; font-size: 13px; color: #C0392B; }
.field.invalid .error { display: block; }
.field.invalid { animation: nudge .3s var(--ease); }
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-note { font-size: 14px; color: var(--muted); }
.form-note.sent { color: var(--ink); font-weight: 600; }

/* ================= Footer ================= */

.site-footer { background: var(--dark); color: #fff; padding-top: 72px; }
/* Flex, not grid: a contact column that hasn't been filled in yet is removed from
   the DOM, and the remaining columns should close ranks rather than leave a hole. */
.footer-grid { display: flex; flex-wrap: wrap; gap: 48px; padding-bottom: 56px; }
.footer-grid > :first-child { flex: 1 1 320px; }
.footer-grid > * { flex: 0 1 190px; }
.footer-lockup { display: flex; align-items: center; gap: 14px; }
.footer-mark { width: 40px; height: 40px; flex: none; }
.footer-wordmark { display: block; line-height: 1; }
.footer-wordmark strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.footer-wordmark em {
  display: block; margin-top: 5px;
  font-style: normal; font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: #A5A5A5;
}
.site-footer h3 { font-size: 14px; letter-spacing: .02em; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { color: #A5A5A5; font-size: 15px; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--accent); }

.footer-bar {
  display: flex; justify-content: flex-start; align-items: center;
  gap: 16px; flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 30px;
  border-top: 1px solid var(--line-dark);
  color: #7C7C7C; font-size: 14px;
}
.footer-bar a { order: -1; }
.footer-bar a:hover { color: var(--accent); }

/* ================= Reduced motion ================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero-logo { clip-path: none; transform: none; }
  .hero-copy h1, .hero-copy .lede, .hero-cta, .hero-art { opacity: 1; transform: none; }
  [data-anim] { opacity: 1; transform: none; }
  .split .word > span { transform: none; }
  .icon .draw { stroke-dashoffset: 0; }
}

/* ================= Responsive ================= */

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2n)::after { display: none; }
  .steps li:nth-child(3) { padding-left: 0; }
  .footer-grid { gap: 40px; }
}

@media (max-width: 900px) {
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    display: none; flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a::after { display: none; }
  .header-inner { gap: 16px; justify-content: space-between; }
  .brand { opacity: 1; transform: none; pointer-events: auto; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: block; }
  .service-grid { grid-template-columns: 1fr; gap: 40px; }

  .hero-inner { padding-top: 76px; padding-bottom: 88px; }
  .hero-logo { width: min(300px, 78%); margin-bottom: 26px; }
  .app-list { grid-template-columns: 1fr 1fr; }
  .app-list li:nth-child(3) { padding-top: 24px; border-top: 1px solid var(--line); }
  .app-list li:nth-child(3)::before { top: 24px; }
}

@media (max-width: 640px) {
  .header-actions .btn { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .phone { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 28px 0 6px; }
  .steps li::after { display: none; }
  .app-list { grid-template-columns: 1fr; gap: 0; }
  .app-list li:nth-child(n+2) { padding-top: 24px; border-top: 1px solid var(--line); }
  .app-list li:nth-child(n+2)::before { top: 24px; }
  .city-list { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form { padding: 24px 20px; }
  .footer-grid { gap: 32px; }
}

/* ============================================================
   Products, industries, gallery, product pages (added build 2)
   ============================================================ */

/* ---- Product grid + cards ---- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-grid-sm { grid-template-columns: repeat(3, 1fr); }

.prod-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s var(--ease), opacity .7s var(--ease-out), transform .45s var(--ease-out);
}
.prod-card:hover { border-color: var(--accent); }
.prod-thumb {
  aspect-ratio: 4 / 3; background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; padding: 22px;
  overflow: hidden;
}
.prod-thumb img { width: 100%; height: 100%; object-fit: contain; }
.prod-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { margin-bottom: 8px; }
.prod-body p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.prod-more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 7px;
  font-family: Archivo, Inter, sans-serif; font-size: 14px; font-weight: 700; color: var(--ink);
}
.prod-more svg { width: 17px; height: 17px; transition: transform .25s var(--ease-out); }
.prod-card:hover .prod-more svg { transform: translateX(4px); }
.prod-card:hover .prod-more { color: var(--accent-hov); }

/* ---- Industries ---- */
.ind-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ind-list > li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 30px;
  transition: border-color .25s var(--ease), opacity .7s var(--ease-out), transform .45s var(--ease-out);
}
.ind-list > li:hover { border-color: var(--accent); }
.ind-list h3 { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ind-list ul { list-style: none; margin: 0; padding: 0; }
.ind-list ul li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.ind-list ul li + li { margin-top: 12px; }
.ind-list ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 2px; background: var(--accent); }

/* ---- Gallery page: even grid of tiles, full photo opens in the viewer ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shot {
  margin: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--surface-2);
  transition: border-color .25s var(--ease), opacity .7s var(--ease-out), transform .45s var(--ease-out);
}
.shot a { display: block; aspect-ratio: 4 / 3; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.shot:hover { border-color: var(--accent); }
.shot:hover img { transform: scale(1.035); }

/* ---- Rental terms ---- */
.terms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.term {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  border-left: 3px solid var(--accent);
}
.term h3 { margin-bottom: 10px; }
.term p { color: var(--muted); font-size: 15.5px; }

/* ---- CTA band ---- */
.cta-band { background: var(--dark); color: #fff; }
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(26px, 3.2vw, 38px); }
.cta-inner p { margin: 16px 0 28px; color: #A5A5A5; font-size: 18px; }

/* ---- Breadcrumb ---- */
.crumb { border-bottom: 1px solid var(--line); }
.crumb .wrap { display: flex; align-items: center; gap: 10px; height: 54px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.crumb a { color: var(--muted); transition: color .2s var(--ease); }
.crumb a:hover { color: var(--ink); }
.crumb [aria-current] { color: var(--ink); font-weight: 600; }

/* ---- Product detail page ---- */
.pdp { padding: 56px 0 8px; }
.pdp-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pdp-media {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2);
  padding: 32px; display: flex; align-items: center; justify-content: center;
}
.pdp-media img { width: 100%; height: auto; max-height: 460px; object-fit: contain; }
.pdp-info h1 { font-size: clamp(32px, 4vw, 46px); }
.pdp-info .lede { margin: 18px 0 0; }
.pdp-specs { list-style: none; margin: 26px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.pdp-specs li { position: relative; padding-left: 22px; font-size: 15.5px; color: var(--ink-2); }
.pdp-specs li + li { margin-top: 12px; }
.pdp-specs li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px;
  border: 2px solid var(--accent); border-radius: 3px;
}
.pdp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.pdp-detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.pdp-copy h2 { margin-bottom: 20px; }
.pdp-copy p { color: var(--ink-2); font-size: 16.5px; }
.pdp-copy p + p { margin-top: 16px; }
.pdp-aside {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 8px; background: var(--surface-2);
}
.pdp-aside h3 { margin-bottom: 16px; }
.pdp-aside dl { margin: 0; }
.pdp-aside dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.pdp-aside dt { color: var(--muted); font-size: 14px; }
.pdp-aside dd { margin: 0; font-size: 14px; font-weight: 600; text-align: right; }

/* ---- Footer blurb (multi-column footer) ---- */
.footer-blurb { margin-top: 20px; color: #A5A5A5; font-size: 14.5px; max-width: 32ch; }

/* ---- Responsive additions ---- */
@media (max-width: 1080px) {
  .prod-grid, .ind-list { grid-template-columns: repeat(2, 1fr); }
  .pdp-grid { gap: 40px; }
  .pdp-detail-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 32px; }
  .pdp { padding: 36px 0 0; }
}
@media (max-width: 720px) {
  .prod-grid, .prod-grid-sm, .ind-list, .terms-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ============================================================
   Industry detail, privacy windscreens, customizations (build 3)
   ============================================================ */

/* Richer industry cards: lead sentence + labelled bullets */
.ind-list .ind-lead { color: var(--ink-2); font-size: 15.5px; margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ind-list h3 { margin-bottom: 14px; padding-bottom: 0; border-bottom: 0; }
.ind-list ul li strong { color: var(--ink); font-weight: 700; }
.ind-list ul li { padding-left: 0; }
.ind-list ul li::before { display: none; }
.ind-list ul li + li { margin-top: 14px; }

/* Windscreen benefits: flat feature grid */
.feature-list {
  list-style: none; margin: 0 0 56px; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.feature-list > li {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 28px; background: var(--surface);
  transition: border-color .25s var(--ease), opacity .7s var(--ease-out), transform .45s var(--ease-out);
}
.feature-list > li:hover { border-color: var(--accent); }
.feature-list h3 { margin-bottom: 8px; }
.feature-list p { color: var(--muted); font-size: 15.5px; }

@media (max-width: 720px) {
  .feature-list { grid-template-columns: 1fr; }
}

/* Windscreen photo + spec table */
.screen-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.screen-media {
  margin: 0; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--surface-2);
}
.screen-media img { width: 100%; height: auto; }
.screen-specs {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 26px 26px 8px;
}
.screen-specs h3 { margin-bottom: 16px; }
.screen-specs dl { margin: 0; }
.screen-specs dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.screen-specs dt { color: var(--muted); font-size: 14px; }
.screen-specs dd { margin: 0; font-size: 14px; font-weight: 600; text-align: right; }

/* Color chart */
.color-grid {
  list-style: none; margin: 0 0 56px; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.color-grid > li {
  display: flex; flex-direction: column;
  transition: opacity .7s var(--ease-out), transform .45s var(--ease-out);
}
.color-chip {
  display: block; width: 100%; aspect-ratio: 3 / 2;
  border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px;
}
.color-grid strong { font-size: 14.5px; font-weight: 600; }
.color-grid em { font-style: normal; font-size: 13px; color: var(--muted); margin-top: 2px; }

@media (max-width: 1080px) {
  .color-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .screen-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .color-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Product groups, industry photos, gallery page (build 4)
   ============================================================ */

/* Equipment grouped by category on the homepage */
.prod-group + .prod-group { margin-top: 56px; }
.prod-group-title {
  font-size: 22px; margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.prod-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Items still waiting on a photo */
.prod-thumb-empty span, .pdp-media.is-empty span { color: var(--muted); font-size: 14px; font-weight: 500; }
.pdp-media.is-empty { aspect-ratio: 4 / 3; }

/* Industry cards lead with a photo that opens that category in the gallery */
.ind-list-media > li { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.ind-media {
  display: block; aspect-ratio: 3 / 2; overflow: hidden;
  background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.ind-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.ind-list-media > li:hover .ind-media img { transform: scale(1.035); }
.ind-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.ind-body .prod-more { padding-top: 22px; }
.ind-body .prod-more:hover { color: var(--accent-hov); }
.ind-body .prod-more:hover svg { transform: translateX(4px); }

/* Standalone page heading (gallery) */
.page-top { padding-top: 56px; }
.page-title { font-size: clamp(32px, 4vw, 46px); }

/* Gallery category filter */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: -24px 0 28px; }
.tab {
  height: 40px; padding: 0 16px;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Full size photo viewer */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: var(--dark); color: #fff;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure {
  margin: 0; display: flex; flex-direction: column; align-items: center;
  max-width: min(1200px, calc(100vw - 160px));
}
.lightbox img {
  max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto;
  border-radius: var(--radius);
}
.lightbox figcaption { margin-top: 14px; font-size: 14px; color: #A5A5A5; text-align: center; max-width: 70ch; }
.lb-count { position: absolute; top: 31px; left: 24px; font-size: 14px; color: #A5A5A5; }
.lb-btn {
  position: absolute; width: 44px; height: 44px; padding: 0;
  display: grid; place-items: center;
  background: transparent; color: #fff;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 10px;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.lb-btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox :focus-visible { outline-color: #fff; }

@media (max-width: 1080px) {
  .prod-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .prod-grid.prod-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-grid-4 .prod-thumb { padding: 12px; }
  .prod-grid-4 .prod-body { padding: 16px 16px 18px; }
  .prod-grid-4 .prod-body h3 { font-size: 16px; }
  .prod-grid-4 .prod-body p { font-size: 14px; }
  .prod-group + .prod-group { margin-top: 44px; }
  .page-top { padding-top: 40px; }
  .tabs { margin-top: -20px; }
  .lightbox figure { max-width: calc(100vw - 32px); }
  .lightbox img { max-height: calc(100vh - 220px); }
  .lb-prev, .lb-next { top: auto; bottom: 24px; transform: none; }
  .lb-prev { left: calc(50% - 52px); }
  .lb-next { right: calc(50% - 52px); }
}
@media (max-width: 440px) {
  .prod-grid.prod-grid-4 { grid-template-columns: 1fr; }
}

/* Product page photo strip ("On site") and feature list inside the overview */
.pdp-photos { padding-top: 0; }
.gallery-grid.gallery-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pdp-copy .pdp-features { margin: 20px 0; padding-top: 0; border-top: 0; }
.pdp-copy .pdp-features li { font-size: 16px; }
@media (max-width: 560px) {
  .gallery-grid.gallery-grid-3 { grid-template-columns: 1fr; }
}
