/* Brand colours: placeholders until the Austin Matthews logo file arrives. Change these five lines only. */
:root {
  --brand: #1A1A1A;        /* main dark brand colour */
  --brand-deep: #0B0B0B;   /* darker shade for hero and footer */
  --accent: #C4C7CB;       /* accent colour */
  --accent-soft: #E4E6E8;
  --paper: #F4F5F6;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --text-soft: #50555B;
  --on-dark: #B4B8BD;
  --rule: #DADFE4;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 1.05rem; line-height: 1.7; color: var(--text); background: var(--white); }
img { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

h1, h2, h3 { font-family: var(--display); color: inherit; margin: 0; }
h1 { font-weight: 600; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-weight: 600; font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.12; letter-spacing: -0.015em; }
h3 { font-weight: 600; font-size: 1.2rem; line-height: 1.3; margin-bottom: 8px; }
.lead { font-size: 1.18rem; color: var(--text-soft); max-width: 50ch; }

.btn { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 0.95rem; text-decoration: none; padding: 16px 30px; background: var(--brand); color: var(--white); border: 0; cursor: pointer; transition: background-color .2s; }
.btn:hover { background: #3A3D41; }
.hero .btn, .band .btn { background: var(--accent); color: var(--brand-deep); }
.hero .btn:hover, .band .btn:hover { background: var(--accent-soft); }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 14px; }
.brand .logo { height: 78px; width: auto; display: block; }
.brand-text { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.1; }
.brand-text span { display: block; font-weight: 500; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 500; font-size: 0.97rem; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { border-bottom-color: var(--brand); }
.nav .call { font-family: var(--display); font-weight: 600; white-space: nowrap; padding: 10px 16px; background: var(--brand); color: var(--white); border: 0; }
.nav .call:hover { background: var(--brand-deep); }

/* Hero */
.hero { background: var(--brand-deep); color: var(--white); }
.hero .wrap { padding-top: 104px; padding-bottom: 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.hero-image { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero h1 { max-width: 17ch; margin-bottom: 28px; }
.hero .lead { color: var(--on-dark); margin: 0 0 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { list-style: none; margin: 88px 0 0; padding: 32px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.hero-facts strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--white); margin-bottom: 4px; }
.hero-facts span { color: var(--on-dark); font-size: 0.97rem; }

/* Images */
.banner-image { display: block; width: 100%; height: clamp(280px, 40vw, 520px); object-fit: cover; }
.side-image { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 40px; }
.photo-pair { padding: 0 0 112px; }
.photo-pair .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-pair img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.quiet-line { margin: 36px 0 0; color: var(--text-soft); font-size: 0.95rem; }
.quiet-line a { color: inherit; }
.site-footer .quiet { opacity: .75; }

/* Sections */
.section { padding: 112px 0; }
.section.alt { background: var(--paper); }
.split { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.split .lead { margin-top: 20px; }

.service-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--brand); }
.service-list li { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.service-list p { margin: 0; color: var(--text-soft); }

.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--rule); margin-top: 56px; }
.clients div { background: var(--white); padding: 36px 32px; }
.clients p { margin: 0; color: var(--text-soft); }

/* Steps: a genuine sequence */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--brand); padding-top: 22px; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--text-soft); margin-bottom: 10px; }
.steps p { margin: 0; color: var(--text-soft); }

/* Feature band */
.band { background: var(--brand); color: var(--white); border-top: 1px solid #2E3135; }
.band .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 72px; align-items: center; padding-top: 104px; padding-bottom: 104px; }
.band p { color: var(--on-dark); margin: 20px 0 32px; max-width: 52ch; }
.creds { list-style: none; margin: 0; padding: 0; }
.creds li { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-family: var(--display); font-weight: 500; }
.creds li:first-child { border-top: 1px solid rgba(255,255,255,.14); }

/* Page heading */
.page-head { background: var(--brand-deep); color: var(--white); }
.page-head .wrap { padding-top: 96px; padding-bottom: 80px; }
.page-head h1 { margin-bottom: 18px; }
.page-head .lead { color: var(--on-dark); margin: 0; }

.reasons { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; }
.reasons li { border-top: 1px solid var(--rule); padding-top: 22px; }
.reasons p { margin: 0; color: var(--text-soft); }
.prose p { margin: 0 0 20px; color: var(--text-soft); font-size: 1.1rem; max-width: 58ch; }

/* CTA */
.cta { background: var(--paper); border-top: 1px solid var(--rule); }
.cta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-top: 80px; padding-bottom: 80px; }
.cta p { margin: 10px 0 0; color: var(--text-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
.details { margin: 28px 0 0; }
.details dt { font-size: 0.9rem; color: var(--text-soft); margin-top: 24px; }
.details dd { margin: 4px 0 0; font-family: var(--display); font-weight: 600; font-size: 1.2rem; overflow-wrap: anywhere; }
.details a { text-decoration: none; }
.details a:hover { text-decoration: underline; }
form { background: var(--paper); padding: 44px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
input, textarea { width: 100%; font: inherit; color: var(--text); background: var(--white); border: 1px solid #C4CBD2; padding: 13px 14px; border-radius: 0; }
input:focus, textarea:focus { border-color: var(--brand); }
textarea { min-height: 150px; resize: vertical; }
.hidden { position: absolute; left: -9999px; }
.form-note { font-size: 0.85rem; color: var(--text-soft); margin: 16px 0 0; }

/* Footer */
.site-footer { background: var(--brand-deep); color: var(--on-dark); font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 36px; padding-bottom: 36px; }
.site-footer strong { color: var(--white); font-weight: 600; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }

@media (max-width: 960px) {
  .split, .band .wrap, .contact-grid, .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .photo-pair { padding-bottom: 80px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .clients { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .hero .wrap { padding-top: 72px; padding-bottom: 72px; }
  .hero-facts { grid-template-columns: 1fr; gap: 20px; margin-top: 56px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 22px; }
  .site-header { position: static; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 14px; }
  .nav { flex-wrap: wrap; gap: 14px 22px; }
  .brand .logo { height: 62px; }
  .service-list li { grid-template-columns: 1fr; gap: 6px; }
  .steps, .reasons, .photo-pair .wrap { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 0; }
  form { padding: 26px; }
}
