/* ===== Variables ===== */
:root {
  --navy: #0D1F3C;
  --navy-mid: #1A3460;
  --gold: #B8882A;
  --gold-light: #D4A84B;
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --text: #1C2B3A;
  --text-muted: #5B6E82;
  --border: #D8E0EA;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: 'Libre Baskerville', Georgia, serif;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ===== Layout ===== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
.site-nav {
  border-top: 4px solid var(--gold);
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 960px;
  margin: 0 auto;
  height: 64px;
}
.nav-brand {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-brand span {
  color: var(--gold-light);
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

/* ===== Section label / heading / rule ===== */
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.section-heading {
  margin-bottom: 12px;
}
.section-rule {
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 40px;
}

/* ===== Hero (home) ===== */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 72px;
}
.hero-eyebrow {
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.hero h1 {
  color: var(--white);
  max-width: 680px;
  margin-bottom: 0;
}
.hero-rule {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 28px 0;
}
.hero-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  line-height: 1.85;
}
.hero-cta {
  display: inline-block;
  margin-top: 36px;
  padding: 13px 30px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.hero-cta:hover {
  background: var(--gold-light);
}

/* ===== Page hero (inner pages) ===== */
.page-hero {
  background: var(--navy);
  padding: 52px 0;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 0;
}

/* ===== Specialisms (home) ===== */
.specialisms {
  padding: 72px 0;
  background: var(--off-white);
}
.specialisms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 0;
}
.specialism-card {
  background: var(--white);
  padding: 32px 28px;
  border-top: 3px solid var(--gold);
}
.specialism-card h3 {
  font-family: 'Libre Baskerville', serif;
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--navy);
}
.specialism-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0;
}

/* ===== About intro (home) ===== */
.about-intro {
  padding: 80px 0;
}
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.about-intro-body p {
  font-size: 0.97rem;
  color: #3A4A5C;
  line-height: 1.85;
}
.text-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.text-link:hover {
  color: var(--gold);
}

/* ===== About page ===== */
.about-section {
  padding: 80px 0;
}
.bio-text p {
  font-size: 0.97rem;
  color: #3A4A5C;
  line-height: 1.85;
}

/* Project list */
.project-list {
  margin-top: 0;
}
.project-item {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.project-item:last-child {
  border-bottom: 1px solid var(--border);
}
.project-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.project-meta strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
  font-family: 'Libre Baskerville', serif;
  margin-bottom: 4px;
}
.project-desc {
  font-size: 0.94rem;
  color: #3A4A5C;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Qualifications grid */
.qualifications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.qual-group .section-rule {
  margin-bottom: 0;
}
.qual-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.qual-year {
  font-size: 0.83rem;
  color: var(--text-muted);
  font-weight: 500;
  padding-top: 2px;
}
.qual-title {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
}

/* ===== Services page ===== */
.services-section {
  padding: 80px 0;
}
.service-item {
  border-top: 1px solid var(--border);
  padding: 52px 0;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: start;
}
.service-item:last-child {
  border-bottom: 1px solid var(--border);
}
.service-item h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.1rem;
  color: var(--navy);
}
.service-item h3::before {
  display: block;
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 14px;
}
.service-item p {
  font-size: 0.95rem;
  color: #3A4A5C;
  line-height: 1.8;
}
.service-item ul {
  margin: 14px 0 0 18px;
}
.service-item li {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.65;
}
.service-cta {
  background: var(--off-white);
  padding: 56px 0;
  text-align: center;
}
.service-cta h2 {
  margin-bottom: 12px;
}
.service-cta p {
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 28px;
  font-size: 0.96rem;
}

/* ===== Contact page ===== */
.contact-section {
  padding: 80px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-item {
  margin-bottom: 36px;
}
.contact-item:last-child {
  margin-bottom: 0;
}
.contact-item label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.contact-item p,
.contact-item a {
  font-size: 0.96rem;
  color: #3A4A5C;
  line-height: 1.75;
}
.contact-item a:hover {
  color: var(--navy);
  text-decoration: underline;
}
.company-box {
  background: var(--off-white);
  padding: 36px;
  border-left: 3px solid var(--gold);
}
.company-box h3 {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.company-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}
.company-row:last-child {
  margin-bottom: 0;
}
.company-row .row-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.company-row .row-value {
  font-size: 0.94rem;
  color: var(--text);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  border-top: 3px solid var(--gold);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  font-family: 'Libre Baskerville', serif;
  color: var(--white);
  font-size: 0.95rem;
}
.footer-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-align: right;
  line-height: 1.7;
}
.footer-text a {
  color: rgba(255,255,255,0.6);
}
.footer-text a:hover {
  color: var(--gold-light);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .specialisms-grid {
    grid-template-columns: 1fr;
  }
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .project-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .qualifications-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-text {
    text-align: left;
  }
  .nav-links {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .nav-brand { font-size: 0.88rem; }
  .nav-links a { font-size: 0.78rem; letter-spacing: 0.04em; }
  .nav-links { gap: 14px; }
  .hero { padding: 52px 0 48px; }
  .about-section, .services-section, .contact-section { padding: 52px 0; }
}
