/* Spine Structures & Developers - Premium Structural Engineering Website
   Palette and system from brand guidelines */

:root {
  --bg-primary: #07090B;
  --bg-secondary: #0D1114;
  --bg-elevated: #13181C;
  --bg-light: #F3F1EA;
  --gold: #D3AE55;
  --gold-deep: #A87924;
  --gold-soft: #E7CE8A;
  --text-primary: #F7F5EF;
  --text-secondary: #B8BEC3;
  --text-muted: #737D84;
  --text-dark: #151719;
  --border-gold: rgba(211, 174, 85, 0.30);
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --container: 1200px;
  --header-h: 80px;
  --radius: 4px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Typography */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 42rem;
  line-height: 1.7;
}

.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

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

.section {
  padding: 5rem 0;
  position: relative;
}

.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.section-light h1,
.section-light h2,
.section-light h3 { color: var(--text-dark); }

.section-light .lead,
.section-light .text-secondary { color: #4a5056; }

.section-dark { background: var(--bg-secondary); }

.section-elevated { background: var(--bg-elevated); }

/* Gold line accent */
.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-soft));
  margin: 1.5rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  color: var(--bg-primary);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(211, 174, 85, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-gold);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(211, 174, 85, 0.08);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border-color: rgba(21, 23, 25, 0.25);
}

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

.btn-ghost {
  background: transparent;
  color: var(--gold);
  padding: 0.5rem 0;
  border: none;
}

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

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-icon { width: 1.125rem; height: 1.125rem; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(7, 9, 11, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-gold);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  z-index: 10;
  flex-shrink: 0;
}

.logo img {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .logo img {
    height: 42px;
    max-width: 150px;
  }
}

.logo-text {
  display: none !important;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--gold);
}

.nav-desktop a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .header-cta { display: inline-flex; }
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 20;
}

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

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 15;
  display: flex;
  flex-direction: column;
  padding: 6rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 0.875rem 0;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(211, 174, 85, 0.12);
}

.mobile-nav a:hover,
.mobile-nav a.active { color: var(--gold); }

.mobile-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  z-index: 1001;
  width: 0%;
  transition: width 0.1s linear;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(211, 174, 85, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(168, 121, 36, 0.05) 0%, transparent 50%),
    var(--bg-primary);
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(211, 174, 85, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(211, 174, 85, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.hero-text { max-width: 580px; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-trust {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-trust::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* Hero SVG Animation */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.structure-svg {
  width: 100%;
  max-width: 420px;
  height: auto;
}

.structure-svg .foundation,
.structure-svg .column,
.structure-svg .beam,
.structure-svg .plate,
.structure-svg .load-path,
.structure-svg .logo-mark {
  opacity: 0;
}

.structure-svg.animate .foundation {
  animation: drawIn 0.6s ease forwards 0.1s;
}
.structure-svg.animate .column {
  animation: riseIn 0.5s ease forwards;
}
.structure-svg.animate .column:nth-of-type(1) { animation-delay: 0.4s; }
.structure-svg.animate .column:nth-of-type(2) { animation-delay: 0.5s; }
.structure-svg.animate .column:nth-of-type(3) { animation-delay: 0.55s; }
.structure-svg.animate .column:nth-of-type(4) { animation-delay: 0.6s; }

.structure-svg.animate .beam {
  animation: drawIn 0.4s ease forwards;
}
.structure-svg.animate .beam:nth-of-type(1) { animation-delay: 0.85s; }
.structure-svg.animate .beam:nth-of-type(2) { animation-delay: 0.95s; }
.structure-svg.animate .beam:nth-of-type(3) { animation-delay: 1.05s; }

.structure-svg.animate .plate {
  animation: fadeUp 0.5s ease forwards;
}
.structure-svg.animate .plate:nth-of-type(1) { animation-delay: 1.15s; }
.structure-svg.animate .plate:nth-of-type(2) { animation-delay: 1.25s; }
.structure-svg.animate .plate:nth-of-type(3) { animation-delay: 1.35s; }

.structure-svg.animate .load-path {
  animation: pathDraw 0.8s ease forwards 1.5s;
}

.structure-svg.animate .logo-mark {
  animation: fadeIn 0.6s ease forwards 2.0s;
}

@keyframes drawIn {
  from { opacity: 0; stroke-dashoffset: 200; }
  to { opacity: 1; stroke-dashoffset: 0; }
}
@keyframes riseIn {
  from { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
  to { opacity: 1; transform: scaleY(1); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pathDraw {
  from { opacity: 0; stroke-dashoffset: 300; }
  to { opacity: 0.8; stroke-dashoffset: 0; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.service-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(211, 174, 85, 0.12);
  border-radius: 8px;
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, var(--gold), var(--gold-deep));
  transition: height var(--transition);
}

.service-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.service-card:hover::before { height: 100%; }

.service-card .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--gold);
  stroke-width: 1.5;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.service-card .card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-card .card-link:hover { gap: 0.6rem; }

/* Process */
.process-steps {
  display: grid;
  gap: 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(5, 1fr);
  }
  .process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
    z-index: 0;
  }
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--gold);
  background: var(--bg-primary);
  transition: all var(--transition);
}

.process-step:hover .process-num {
  background: var(--gold);
  color: var(--bg-primary);
  border-color: var(--gold);
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Project cards */
.project-card {
  background: var(--bg-elevated);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(211, 174, 85, 0.1);
  transition: all var(--transition);
}

.project-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.project-image {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-elevated));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-image .blueprint-icon {
  width: 80px;
  height: 80px;
  opacity: 0.3;
  color: var(--gold);
}

.project-body {
  padding: 1.5rem;
}

.project-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.project-body h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.project-body p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Leadership */
.leader-card {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .leader-card { grid-template-columns: 280px 1fr; }
}

.leader-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-secondary));
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.leader-portrait .monogram {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.6;
}

.leader-portrait .replace-note {
  position: absolute;
  bottom: 1rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.leader-info h3 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.leader-creds {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.leader-info p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.credential-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.credential-item {
  background: rgba(211, 174, 85, 0.08);
  border: 1px solid var(--border-gold);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--gold-soft);
}

/* Clients */
.client-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .client-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .client-grid { grid-template-columns: repeat(4, 1fr); }
}

.client-tile {
  background: var(--bg-elevated);
  border: 1px solid rgba(211, 174, 85, 0.1);
  border-radius: 6px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: all var(--transition);
  filter: grayscale(1) opacity(0.7);
}

.client-tile:hover {
  filter: grayscale(0) opacity(1);
  border-color: var(--border-gold);
  background: rgba(211, 174, 85, 0.05);
}

.client-tile img {
  max-height: 48px;
  max-width: 120px;
  object-fit: contain;
}

.client-tile .placeholder {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.05em;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.form-group label .req { color: var(--gold); }

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(211, 174, 85, 0.2);
  border-radius: var(--radius);
  color: var(--text-primary);
  transition: border-color var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(211, 174, 85, 0.15);
}

.form-control::placeholder { color: var(--text-muted); }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D3AE55' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input {
  margin-top: 0.25rem;
  accent-color: var(--gold);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.form-success,
.form-error {
  padding: 1.25rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  display: none;
}

.form-success {
  background: rgba(46, 125, 50, 0.15);
  border: 1px solid rgba(46, 125, 50, 0.4);
  color: #a5d6a7;
}

.form-error {
  background: rgba(183, 28, 28, 0.15);
  border: 1px solid rgba(183, 28, 28, 0.4);
  color: #ef9a9a;
}

.form-success.show,
.form-error.show { display: block; }

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(211, 174, 85, 0.15);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question:hover { color: var(--gold); }

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--gold);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Footer */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(211, 174, 85, 0.12);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--gold); }

.footer-contact p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(211, 174, 85, 0.1);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg { width: 28px; height: 28px; }

/* Mobile sticky bar */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(7, 9, 11, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-gold);
  z-index: 800;
  padding: 0.75rem 1rem;
  gap: 0.75rem;
}

@media (max-width: 767px) {
  .mobile-bar { display: flex; }
  .whatsapp-float { bottom: 5rem; }
  body { padding-bottom: 70px; }
}

.mobile-bar a {
  flex: 1;
  text-align: center;
  padding: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.mobile-bar a.call {
  background: rgba(211, 174, 85, 0.15);
  color: var(--gold);
}

.mobile-bar a.wa {
  background: #25D366;
  color: white;
}

.mobile-bar a.enquire {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-gold);
}

/* Page hero (interior) */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  background: var(--bg-secondary);
  position: relative;
}

.page-hero .container {
  max-width: 800px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

/* Values grid */
.values-grid {
  display: grid;
  gap: 1.5rem;
}

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

.value-item {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border-radius: 6px;
  border: 1px solid rgba(211, 174, 85, 0.08);
}

.value-item h4 {
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.value-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Contact cards */
.contact-info-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .contact-info-grid { grid-template-columns: 1fr 1.2fr; }
}

.contact-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(211, 174, 85, 0.12);
  border-radius: 8px;
  padding: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-item:last-child { margin-bottom: 0; }

.contact-item .icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(211, 174, 85, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.contact-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-item a,
.contact-item span {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.contact-item a:hover { color: var(--gold); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
}

.cta-banner h2 { margin-bottom: 0.75rem; }
.cta-banner p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 1.75rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--gold);
  color: var(--bg-primary);
  padding: 0.75rem 1.25rem;
  z-index: 2000;
  font-weight: 600;
  border-radius: 4px;
}

.skip-link:focus { top: 1rem; }

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 404 */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 1rem;
}

/* Print contact card */
@media print {
  .site-header, .whatsapp-float, .mobile-bar, .scroll-progress, .no-print {
    display: none !important;
  }
  body { background: white; color: black; }
  .print-card {
    border: 2px solid #D3AE55;
    padding: 2rem;
  }
}


/* Leadership text-led (no portrait) */
.leadership-hero-block {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.leadership-hero-block::before {
  content: '';
  position: absolute;
  inset: -2rem;
  background-image:
    linear-gradient(rgba(211, 174, 85, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(211, 174, 85, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  pointer-events: none;
  z-index: 0;
}

.leadership-hero-block > * {
  position: relative;
  z-index: 1;
}

.cred-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

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

.cred-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color var(--transition);
}

.cred-card:hover {
  border-color: var(--gold);
}

.cred-card .cred-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 0.75rem;
  color: var(--gold);
}

.cred-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-soft);
  margin: 0;
  line-height: 1.35;
}

.leader-bio {
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
}

.leader-bio p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.leader-name-block {
  margin: 1.5rem 0 0.5rem;
}

.leader-name-block h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.25rem;
}

.leader-name-block .role {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
}

/* Who We Support cards */
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.support-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(211, 174, 85, 0.12);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  transition: all var(--transition);
}

.support-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.support-card .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--gold);
}

.support-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.support-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
