:root {
  /* Brand colours (logo) */
  --burgundy: #471216;
  --cream: #eedfcb;
  --accent: #c9a07f;

  /* New main theme (neutral, not red-heavy) */
  --bg: #0f1115;      /* charcoal */
  --bg-2: #131722;    /* slightly blue/neutral charcoal */

  --text: rgba(238, 223, 203, 0.94);
  --muted: rgba(238, 223, 203, 0.74);
  --muted-2: rgba(238, 223, 203, 0.60);

  --surface: rgba(238, 223, 203, 0.06);
  --surface-2: rgba(238, 223, 203, 0.09);
  --border: rgba(238, 223, 203, 0.14);

  --shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
  --radius: 18px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  line-height: 1.55;

  /* Neutral background with subtle warm accents (NOT burgundy-heavy) */
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(201, 160, 127, 0.14), transparent 55%),
    radial-gradient(900px 600px at 92% 8%, rgba(71, 18, 22, 0.18), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 17, 21, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(238, 223, 203, 0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(238, 223, 203, 0.12);
  background: rgba(0, 0, 0, 0.12);
}

.brand small {
  display: block;
  font-weight: 650;
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 2px;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(238, 223, 203, 0.14);
  background: rgba(238, 223, 203, 0.06);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 12px;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover {
  background: rgba(238, 223, 203, 0.06);
  color: var(--text);
}

.site-nav .nav-cta {
  padding: 10px 14px;
  border: 1px solid rgba(238, 223, 203, 0.28);
  background: rgba(238, 223, 203, 0.10);
  color: var(--text);
}

.site-nav .nav-cta:hover {
  background: rgba(238, 223, 203, 0.16);
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    padding: 14px 20px 18px 20px;
    display: grid;
    gap: 10px;
    background: rgba(15, 17, 21, 0.96);
    border-bottom: 1px solid rgba(238, 223, 203, 0.10);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .site-nav[data-open="true"] {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a { padding: 12px 12px; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: center;
  background-image: url("../images/Suspensionbridge.jpg");
  background-size: cover;
  background-position: center;
}

/* Neutral overlay (less burgundy/red) */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 17, 21, 0.92) 0%,
    rgba(15, 17, 21, 0.82) 42%,
    rgba(15, 17, 21, 0.58) 72%,
    rgba(15, 17, 21, 0.72) 100%
  );
}

.hero__content {
  position: relative;
  padding: 72px 0 60px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(238, 223, 203, 0.78);
  margin: 0 0 12px 0;
}

.hero__title {
  margin: 0 0 14px 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.8px;
  max-width: 18ch;
}

.hero__subtitle {
  margin: 0 0 22px 0;
  max-width: 60ch;
  color: rgba(238, 223, 203, 0.78);
  font-size: 16px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
  user-select: none;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--cream), rgba(201, 160, 127, 0.92));
  color: rgba(15, 17, 21, 0.96);
  box-shadow: 0 18px 50px rgba(201, 160, 127, 0.16);
}

.btn--ghost {
  background: rgba(238, 223, 203, 0.06);
  border-color: rgba(238, 223, 203, 0.16);
  color: var(--text);
}

.btn--soft {
  background: rgba(238, 223, 203, 0.10);
  border-color: rgba(238, 223, 203, 0.22);
}

.btn:hover { transform: translateY(-1px); }

/* Hero meta pills */
.hero__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.meta-pill {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(238, 223, 203, 0.14);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
}

.meta-pill__label {
  font-size: 12px;
  color: rgba(238, 223, 203, 0.65);
  font-weight: 800;
  letter-spacing: 0.3px;
}

.meta-pill__value {
  font-size: 14px;
  font-weight: 900;
}

/* ===== Sections ===== */
.section { padding: 70px 0; }

.section--muted {
  background: linear-gradient(180deg, rgba(238, 223, 203, 0.03), transparent 40%);
  border-top: 1px solid rgba(238, 223, 203, 0.06);
  border-bottom: 1px solid rgba(238, 223, 203, 0.06);
}

.section__head { margin-bottom: 26px; }

.section__title {
  margin: 0 0 8px 0;
  font-size: clamp(22px, 2.3vw, 32px);
  letter-spacing: -0.4px;
}

.section__subtitle {
  margin: 0;
  max-width: 70ch;
  color: var(--muted);
}

/* Grid */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 980px) {
  .grid--3 { grid-template-columns: 1fr; }
}

/* Cards */
.card {
  border: 1px solid rgba(238, 223, 203, 0.10);
  border-radius: var(--radius);
  background: rgba(238, 223, 203, 0.04);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 160, 127, 0.28);
  background: rgba(238, 223, 203, 0.05);
}

.card__media { height: 180px; overflow: hidden; }

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.card__body { padding: 18px 18px 20px 18px; }

.card__title {
  margin: 0 0 8px 0;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.card__text {
  margin: 0 0 12px 0;
  color: var(--muted);
  font-size: 14px;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 14px;
  color: rgba(238, 223, 203, 0.92);
}

.card__link:hover { text-decoration: underline; }

/* Split + features */
.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
}

.feature-list { display: grid; gap: 14px; }

.feature {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(238, 223, 203, 0.10);
  border-radius: 16px;
  background: rgba(238, 223, 203, 0.03);
}

.feature__icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(201, 160, 127, 0.16);
  border: 1px solid rgba(201, 160, 127, 0.24);
  font-weight: 900;
  color: rgba(15, 17, 21, 0.94);
}

.feature__title { margin: 0 0 4px 0; font-size: 15px; }
.feature__text { margin: 0; color: var(--muted); font-size: 13px; }

/* CTA band (subtle burgundy accent only) */
.cta-band {
  margin-top: 28px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(238, 223, 203, 0.10);
  background: linear-gradient(135deg, rgba(71, 18, 22, 0.18), rgba(201, 160, 127, 0.08));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-band__title { margin: 0 0 4px 0; font-size: 18px; }
.cta-band__text { margin: 0; color: var(--muted); font-size: 14px; max-width: 70ch; }
.cta-band__actions { display: inline-flex; gap: 10px; flex-wrap: wrap; }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(238, 223, 203, 0.08);
  padding: 34px 0;
  background: rgba(0, 0, 0, 0.14);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-title {
  margin: 0 0 10px 0;
  font-size: 14px;
  letter-spacing: 0.2px;
  color: rgba(238, 223, 203, 0.92);
}

.footer-text {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 60ch;
}

.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(238, 223, 203, 0.80); font-weight: 750; font-size: 13px; }
.footer-links a:hover { color: rgba(201, 160, 127, 0.95); }

.footer-bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(238, 223, 203, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(238, 223, 203, 0.55);
  font-size: 12px;
}

/* Errors / noscript */
.partial-error,
.noscript {
  padding: 12px 14px;
  border-radius: 12px;
  margin: 12px auto;
  width: min(var(--container), calc(100% - 40px));
  background: rgba(255, 120, 120, 0.10);
  border: 1px solid rgba(255, 120, 120, 0.22);
  color: rgba(238, 223, 203, 0.92);
}

.partial-error code,
.noscript code { font-weight: 900; }

@media (prefers-reduced-motion: reduce) {
  .btn,
  .card { transition: none; }
}