/* ==========================================================================
   Hoppers Collision Centre — site styles
   Tokens follow requirements/hoppers-collision-colour-scheme.md (v2, Sep 2026:
   matched to the new signboard and spray-gun logo)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --ink-black: #0B0F1A;      /* sign panel, page background */
  --charcoal: #1C2230;       /* raised dark surfaces */
  --charcoal-line: #2A3243;
  --brand-gold: #C9955E;     /* copper-gold of "Centre" and the logo. 7.2:1 on ink */
  --gold-soft: #EFCFA6;      /* logo highlight / glow. 12.9:1 on ink */
  --gold-deep: #8C5A2E;      /* logo shadow, gradient end */
  --bronze: #8A5A2B;         /* sign tagline text, darkened for web. 5.9:1 on white, 5.2:1 on ivory */
  --bronze-deep: #5E3A19;
  --ivory: #F6F1E9;          /* the sign's lit tagline panel. Light sections */
  --white: #FFFFFF;
  --text-muted: #AEB6C4;
  --text-dark-muted: #4A5264;

  /* Type */
  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --section-pad: clamp(56px, 8vw, 104px);

  /* Radius */
  --radius-sm: 2px;
  --radius-md: 6px;
  --radius-lg: 14px;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;

  /* Effects */
  --gold-gradient: linear-gradient(135deg, var(--gold-soft) 0%, var(--brand-gold) 55%, var(--gold-deep) 100%);
  /* The sign's glowing copper edge lines */
  --glow-line: linear-gradient(90deg, transparent 0%, var(--brand-gold) 12%, var(--gold-soft) 50%, var(--brand-gold) 88%, transparent 100%);
  --glow-shadow: 0 0 10px rgba(239, 207, 166, 0.55), 0 0 22px rgba(201, 149, 94, 0.35);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--ink-black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

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

a {
  color: var(--brand-gold);
  text-decoration: none;
}

a:hover {
  color: var(--gold-soft);
}

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

h1, h2, h3, h4 {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-display);
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 2.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.75rem);
  font-weight: 700;
}

h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

p {
  margin: 0 0 var(--space-sm);
}

p:last-child {
  margin-bottom: 0;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
}

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

.skip-link {
  position: absolute;
  left: var(--space-sm);
  top: -100px;
  z-index: 200;
  padding: var(--space-xs) var(--space-sm);
  background: var(--brand-gold);
  color: var(--ink-black);
  font-weight: 700;
  border-radius: var(--radius-md);
}

.skip-link:focus {
  top: var(--space-sm);
  color: var(--ink-black);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad);
}

.section--charcoal {
  background: var(--charcoal);
}

.section--light {
  background: var(--ivory);
  color: var(--ink-black);
}

.section--white {
  background: var(--white);
  color: var(--ink-black);
}

.section-head {
  max-width: 680px;
  margin-bottom: var(--space-lg);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  color: var(--brand-gold);
}

.section--light .section-head h2,
.section--white .section-head h2 {
  color: var(--bronze);
}

.lead {
  font-size: 1.0625rem;
  line-height: 28px;
  color: var(--text-muted);
}

.section--light .lead,
.section--white .lead {
  color: var(--text-dark-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-gold);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.section--light .eyebrow,
.section--white .eyebrow {
  color: var(--bronze);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--gold {
  background: var(--brand-gold);
  color: var(--ink-black);
  box-shadow: 0 6px 20px rgba(201, 149, 94, 0.25);
}

.btn--gold:hover {
  background: var(--gold-soft);
  color: var(--ink-black);
  transform: translateY(-1px);
}

.btn--outline {
  border-color: rgba(239, 207, 166, 0.55);
  color: var(--white);
}

.btn--outline:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.btn--bronze {
  background: var(--bronze);
  color: var(--white);
}

.btn--bronze:hover {
  background: var(--bronze-deep);
  color: var(--white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}

.text-link .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}

.text-link:hover .icon {
  transform: translateX(3px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 26, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Glowing copper edge line, like the LED strips along the signboard */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--glow-line);
  box-shadow: var(--glow-shadow);
  opacity: 0.7;
  pointer-events: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand:hover {
  color: var(--white);
}

/* Brand lockup: spray-gun logo + "Hoppers Collision Centre" set like the signboard
   (mixed case, white, with "Centre" in glowing copper). */
.brand__logo {
  width: auto;
  height: 46px;
  filter: drop-shadow(0 0 6px rgba(239, 207, 166, 0.25));
}

.brand__text {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.2vw + 10px, 19px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand__accent {
  color: var(--brand-gold);
  text-shadow: 0 0 14px rgba(201, 149, 94, 0.45);
}

/* The signboard's lit tagline panel: ivory lightbox, bronze uppercase text. */
.sign-tagline {
  display: inline-block;
  margin: 0;
  padding: 6px 14px;
  background: var(--ivory);
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(239, 207, 166, 0.7), 0 0 18px rgba(239, 207, 166, 0.35);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze);
  max-width: 100%;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--charcoal-line);
  border-radius: var(--radius-md);
  background: var(--charcoal);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.site-nav {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  display: none;
  padding: var(--space-sm) var(--gutter) var(--space-md);
  background: var(--ink-black);
  border-bottom: 1px solid rgba(201, 149, 94, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a:not(.btn) {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--charcoal-line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}

.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-gold);
}

.site-nav .btn {
  width: 100%;
  margin-top: var(--space-md);
}

@media (min-width: 1100px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .site-nav ul {
    display: flex;
    gap: 4px;
  }

  .site-nav a:not(.btn) {
    position: relative;
    padding: 8px 14px;
    border: 0;
    font-size: 15px;
  }

  .site-nav a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 2px;
    background: var(--brand-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
  }

  .site-nav a:not(.btn):hover::after,
  .site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .site-nav .btn {
    width: auto;
    margin-top: 0;
    min-height: 42px;
    padding: 9px 18px;
  }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(580px, 88vh, 820px);
  padding-block: 64px 96px;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 50%;
  animation: hero-zoom 14s var(--ease) both;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 15, 26, 0.6) 0%, rgba(11, 15, 26, 0.8) 45%, rgba(11, 15, 26, 0.97) 100%);
}

@media (min-width: 900px) {
  .hero::before {
    background:
      linear-gradient(90deg, rgba(11, 15, 26, 0.97) 0%, rgba(11, 15, 26, 0.85) 35%, rgba(11, 15, 26, 0.25) 68%, rgba(11, 15, 26, 0.05) 100%),
      linear-gradient(180deg, rgba(11, 15, 26, 0) 70%, rgba(11, 15, 26, 1) 100%);
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

.hero__content {
  max-width: 820px;           /* room for "Ultimate Flawless Finish." on one line */
}

.hero__text,
.hero__stats {
  max-width: 660px;
}

.hero__title {
  margin-bottom: var(--space-md);
  font-size: clamp(2.25rem, 1.3rem + 4vw, 3.5rem);
  line-height: 1.07;
  font-weight: 800;
}

.hero__title .gold {
  display: inline-block;      /* one line on desktop; on phones "Flawless Finish." wraps as a unit */
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text {
  margin-bottom: var(--space-lg);
  font-size: 1.0625rem;
  line-height: 28px;
  color: #E4DED6;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  margin: var(--space-lg) 0 0;
  padding: var(--space-md) 0 0;
  border-top: 1px solid rgba(201, 149, 94, 0.3);
  list-style: none;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
}

.hero__stats strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-gold);
  line-height: 1.2;
}

.hero__stats span {
  font-size: 13px;
  line-height: 20px;
  color: var(--text-muted);
}

/* ---------- Tagline strip (the signboard's lit tagline panel) ---------- */
.tagline-strip {
  position: relative;
  z-index: 2;
  margin-top: -40px;
}

.tagline-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs) var(--space-md);
  padding: 16px var(--space-md);
  background: var(--ivory);
  color: var(--bronze);
  border-radius: 4px;
  box-shadow:
    0 0 0 1px rgba(239, 207, 166, 0.8),
    0 0 28px rgba(239, 207, 166, 0.35),
    var(--shadow-card);
  text-align: center;
}

.tagline-strip p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 0.8rem + 0.8vw, 1.25rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tagline-strip span {
  font-size: 13px;
  color: var(--text-dark-muted);
  letter-spacing: 0.04em;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(320px, 46vh, 460px);
  padding-block: 72px 56px;
  overflow: hidden;
  isolation: isolate;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 15, 26, 0.95) 0%, rgba(11, 15, 26, 0.7) 55%, rgba(11, 15, 26, 0.35) 100%),
    linear-gradient(180deg, rgba(11, 15, 26, 0) 55%, rgba(11, 15, 26, 1) 100%);
}

/* Contact: the shopfront, framed on the signage and entrance */
.page-hero--contact .page-hero__media img {
  object-position: 62% 30%;
}

.page-hero--plain {
  min-height: 0;
  padding-block: 88px 48px;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(201, 149, 94, 0.16), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(138, 90, 43, 0.22), transparent 50%),
    var(--ink-black);
}

.page-hero--plain::before {
  display: none;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.25rem);
}

.page-hero p {
  max-width: 620px;
  color: #E4DED6;
  font-size: 1.0625rem;
  line-height: 28px;
}

/* Split page hero (text + framed image) */
.split-hero {
  padding-block: 64px var(--section-pad);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(201, 149, 94, 0.14), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(138, 90, 43, 0.2), transparent 45%),
    var(--ink-black);
}

.split-hero h1 {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.25rem);
}

/* ---------- Split sections ---------- */
.split {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 6vw, 88px);
  }

  .split--reverse .split__media {
    order: 2;
  }
}

/* Image frame with offset gold outline */
.frame {
  position: relative;
  margin: 0 18px 18px 0;
}

.frame::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--brand-gold);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.frame--tall img {
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}

.frame--wide img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.frame__badge {
  position: absolute;
  z-index: 2;
  left: -12px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bronze);
  color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
}

.frame__badge strong {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold-soft);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: var(--space-md) 0 var(--space-lg);
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-list .icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--brand-gold);
}

.section--light .check-list .icon,
.section--white .check-list .icon {
  color: var(--bronze);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Five across on wide screens (the official service groups have five each).
   On two-column tablets the odd last card spans the row. */
@media (min-width: 640px) and (max-width: 1099px) {
  .card-grid--5 > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .card-grid--5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
  }

  .card-grid--5 .card {
    padding: 24px 20px;
  }
}

@media (min-width: 1000px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px var(--space-md);
  background: var(--charcoal);
  border: 1px solid var(--charcoal-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 149, 94, 0.5);
  box-shadow: var(--shadow-card);
}

.card:hover::before {
  transform: scaleX(1);
}

.section--charcoal .card {
  background: var(--ink-black);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 24px;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background: rgba(201, 149, 94, 0.1);
  border: 1px solid rgba(201, 149, 94, 0.35);
  color: var(--brand-gold);
}

.card__icon .icon {
  width: 26px;
  height: 26px;
}

/* Light cards (on ivory / white) */
.card--light {
  background: var(--white);
  border-color: #E6DCCD;
  color: var(--ink-black);
}

.section--white .card--light {
  background: var(--ivory);
  border-color: transparent;
}

.card--light p {
  color: var(--text-dark-muted);
}

.card--light .card__icon {
  background: rgba(138, 90, 43, 0.08);
  border-color: rgba(138, 90, 43, 0.3);
  color: var(--bronze);
}

.card--light:hover {
  border-color: rgba(138, 90, 43, 0.45);
  box-shadow: 0 12px 30px rgba(11, 15, 26, 0.12);
}

.card--light::before {
  background: linear-gradient(90deg, var(--bronze), var(--bronze-deep));
}

/* Numbered feature list (Why choose us) */
.feature {
  display: flex;
  gap: 18px;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--charcoal-line);
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--ink-black);
}

.feature__icon .icon {
  width: 22px;
  height: 22px;
}

.feature h3 {
  margin-bottom: 6px;
}

.feature p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 24px;
}

.feature-grid {
  display: grid;
  gap: 0 var(--space-lg);
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mission / vision panels */
.panel {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--charcoal);
  border: 1px solid var(--charcoal-line);
  overflow: hidden;
}

.panel::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid rgba(201, 149, 94, 0.2);
  box-shadow: 0 0 0 24px rgba(201, 149, 94, 0.04);
}

.panel--bronze {
  background: linear-gradient(135deg, var(--bronze) 0%, var(--bronze-deep) 100%);
  border-color: transparent;
}

.panel .eyebrow {
  margin-bottom: 12px;
}

.panel--bronze .eyebrow {
  color: var(--gold-soft);
}

.panel p {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.45;
  font-weight: 700;
}

.panel-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 800px) {
  .panel-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 8px 16px;
  border: 1px solid rgba(201, 149, 94, 0.45);
  border-radius: 999px;
  font-size: 14px;
  line-height: 20px;
  color: var(--gold-soft);
}

/* ---------- CTA band (styled like the signboard: dark panel, glowing copper edges) ---------- */
.cta-band {
  position: relative;
  padding-block: clamp(56px, 7vw, 88px);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 149, 94, 0.14), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(201, 149, 94, 0.12), transparent 60%),
    linear-gradient(180deg, #232836 0%, #161a25 100%);
  overflow: hidden;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--glow-line);
  box-shadow: var(--glow-shadow);
}

.cta-band::before {
  top: 0;
}

.cta-band::after {
  bottom: 0;
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 860px) {
  .cta-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-band h2 {
  margin-bottom: 8px;
  font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem);
  font-weight: 800;
}

.cta-band p {
  max-width: 580px;
  color: #D9D2C8;
}

.cta-band .btn {
  flex: none;
}

/* ---------- Gallery ---------- */
.page-hero--gallery {
  min-height: clamp(380px, 58vh, 560px);
}

.page-hero--gallery .page-hero__media img {
  object-position: 50% 62%;
}

.job-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: var(--space-md) 0 0;
  padding: 0;
  list-style: none;
}

.job-nav a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(239, 207, 166, 0.45);
  border-radius: 999px;
  background: rgba(11, 15, 26, 0.55);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: var(--gold-soft);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.job-nav a:hover {
  background: var(--brand-gold);
  color: var(--ink-black);
}

.jobs {
  display: grid;
  gap: clamp(64px, 9vw, 120px);
}

.job {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

@media (min-width: 1000px) {
  .job {
    grid-template-columns: 7fr 5fr;
    gap: clamp(40px, 5vw, 72px);
  }

  .job:nth-child(even) {
    grid-template-columns: 5fr 7fr;
  }

  .job:nth-child(even) .job__media {
    order: 2;
  }
}

.job__media {
  display: grid;
  gap: 12px;
}

.job__thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 12px;
}

.job__photo {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--charcoal);
  cursor: zoom-in;
}

.job__photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.3s var(--ease);
}

.job__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  transition: border-color 0.3s var(--ease);
  pointer-events: none;
}

.job__photo:hover img,
.job__photo:focus-visible img {
  transform: scale(1.04);
}

.job__photo:hover::after,
.job__photo:focus-visible::after {
  border-color: var(--brand-gold);
}

.job__thumb img {
  filter: brightness(0.82);
}

.job__thumb:hover img,
.job__thumb:focus-visible img {
  filter: none;
}

/* Jobs with many photos show four in the strip; the rest open in the viewer. */
.job__thumb--extra {
  display: none;
}

.job__more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 15, 26, 0.62);
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 0.9rem + 1vw, 1.5rem);
  font-weight: 800;
  color: var(--gold-soft);
  transition: background-color 0.3s var(--ease);
}

.job__photo:hover .job__more,
.job__photo:focus-visible .job__more {
  background: rgba(11, 15, 26, 0.4);
}

.job__cover {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.job__cover img {
  aspect-ratio: 16 / 10;
}

.job__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(11, 15, 26, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  color: var(--gold-soft);
}

.job__badge .icon {
  width: 15px;
  height: 15px;
}

.job__num {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-gold);
}

.job__num::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-gold), transparent);
}

.job__info h2 {
  font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.125rem);
  font-weight: 800;
}

.job__info .chips {
  margin: var(--space-md) 0;
}

.job__open {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--brand-gold);
}

.job__open:hover {
  color: var(--gold-soft);
}

/* Lightbox with previous / next */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(5, 7, 12, 0.94);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(5, 7, 12, 0.6);
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(1200px, 100vw - 32px);
  margin: 0;
  touch-action: pan-y;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: var(--radius-md);
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  text-align: center;
}

.lightbox__count {
  color: var(--brand-gold);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.lightbox__close {
  top: 16px;
  right: 16px;
  background: var(--brand-gold);
  color: var(--ink-black);
}

.lightbox__close:hover {
  background: var(--gold-soft);
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  background: rgba(28, 34, 48, 0.85);
  border: 1px solid rgba(201, 149, 94, 0.5);
  color: var(--gold-soft);
}

.lightbox__nav:hover {
  background: var(--brand-gold);
  color: var(--ink-black);
}

.lightbox__nav--prev {
  left: 16px;
}

.lightbox__nav--prev .icon {
  transform: rotate(180deg);
}

.lightbox__nav--next {
  right: 16px;
}

@media (max-width: 640px) {
  .lightbox__nav {
    top: auto;
    bottom: 20px;
    transform: none;
  }

  .lightbox__figure img {
    max-height: calc(100vh - 200px);
  }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 5fr 7fr;
    align-items: stretch;
  }
}

.contact-list {
  display: grid;
  gap: var(--space-sm);
  margin: 0 0 var(--space-md);
  padding: 0;
  list-style: none;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 18px 20px;
  background: var(--charcoal);
  border: 1px solid var(--charcoal-line);
  border-radius: var(--radius-md);
  color: var(--white);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

a.contact-item:hover {
  color: var(--white);
  border-color: var(--brand-gold);
  transform: translateX(3px);
}

.contact-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--ink-black);
}

.contact-item__icon .icon {
  width: 20px;
  height: 20px;
}

.contact-item__label {
  display: block;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-muted);
}

.contact-item__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  word-break: break-word;
}

.map {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--charcoal-line);
  background: var(--charcoal);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(201, 149, 94, 0.2);
  font-size: 15px;
  line-height: 24px;
  color: var(--text-muted);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-lg);
  padding-block: 56px 40px;
}

@media (min-width: 760px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1.2fr;
  }
}

.site-footer h2 {
  margin-bottom: var(--space-sm);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-gold);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a:not(.brand) {
  color: var(--text-muted);
}

.site-footer a:not(.brand):hover {
  color: var(--gold-soft);
}

/* Footer brand block laid out like the signboard: logo on the left spanning
   two rows, the name on top and the tagline lightbox beneath it. */
.footer-brand {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  align-items: center;
  column-gap: 14px;
  row-gap: 10px;
  margin-bottom: var(--space-md);
}

.footer-brand__logo {
  grid-row: 1 / 3;
}

.footer-brand__logo .brand__logo {
  height: clamp(70px, 6vw + 40px, 88px);
}

.footer-brand__name {
  margin: 0;
  align-self: end;
  font-size: clamp(18px, 1vw + 12px, 22px);
  color: var(--white);
}

.footer-brand .sign-tagline {
  justify-self: start;
  align-self: start;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--brand-gold);
}

.site-footer__bottom {
  padding-block: 20px;
  border-top: 1px solid var(--charcoal-line);
  font-size: 13px;
  line-height: 20px;
}

/* ---------- Misc ---------- */
.center {
  text-align: center;
}

.mt-lg {
  margin-top: var(--space-lg);
}

.note {
  margin-top: var(--space-lg);
  color: var(--text-muted);
}

.section--light .note,
.section--white .note {
  color: var(--text-dark-muted);
}

.error-page {
  display: flex;
  align-items: center;
  min-height: 70vh;
  text-align: center;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 3rem + 10vw, 9rem);
  font-weight: 800;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Reveal-on-scroll (enabled only when JS adds .js to <html>) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

.btn-row--center,
.chips--center {
  justify-content: center;
}
