
/* Slip Testing Oxford — Surface Performance Ltd */
:root {
  --navy: #0a1f3d;
  --navy-light: #1a3458;
  --navy-deep: #061428;
  --gold: #c8a24a;
  --gold-light: #e2c47e;
  --gold-deep: #9a7d36;
  --cream: #faf7f0;
  --stone: #f1ede2;
  --text: #1a2332;
  --text-mute: #4a5568;
  --border: #e0dccf;
  --shadow-sm: 0 1px 2px rgba(10,31,61,0.06);
  --shadow: 0 4px 14px rgba(10,31,61,0.10);
  --shadow-lg: 0 18px 40px rgba(10,31,61,0.16);
  --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.18;
  color: var(--navy);
  letter-spacing: -0.015em;
  font-style: normal;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.08rem; margin-bottom: 0.4rem; }
p { margin-bottom: 1rem; color: var(--text-mute); }
p strong { color: var(--text); font-weight: 600; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-deep); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* ---- Top bar ---- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(200,162,74,0.25);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--gold-light); }
.topbar a:hover { color: #fff; }
.topbar .accred { color: rgba(255,255,255,0.6); }
.topbar .accred strong { color: var(--gold); font-weight: 600; }

/* ---- Header / nav ---- */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.brand-name { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.4rem; color: var(--navy); letter-spacing: -0.02em; line-height: 1; }
.brand-mark { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-deep); }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a { font-size: 0.94rem; color: var(--navy); font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--gold); color: var(--navy); }
.cta-button {
  display: inline-block;
  padding: 11px 22px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius);
  border: 1px solid var(--gold-deep);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.cta-button:hover { background: var(--gold-deep); color: #fff; border-color: var(--gold-deep); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); padding: 8px 12px; border-radius: var(--radius); font-size: 1.1rem; cursor: pointer; color: var(--navy); }

/* ---- Hero ---- */
.hero {
  background:
    linear-gradient(135deg, rgba(10,31,61,0.92) 0%, rgba(6,20,40,0.94) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(200,162,74,0.15) 0%, transparent 60%),
    var(--navy);
  color: #fff;
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,162,74,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,162,74,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.hero h1 { color: #fff; margin-bottom: 18px; max-width: 880px; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-lede { font-size: 1.18rem; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 720px; line-height: 1.55; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 50px; }
.hero-cta-row .cta-button { padding: 14px 28px; font-size: 0.95rem; }
.hero-secondary {
  display: inline-block; color: #fff; border: 1px solid rgba(255,255,255,0.3); padding: 13px 24px; border-radius: var(--radius);
  font-size: 0.92rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em;
}
.hero-secondary:hover { background: rgba(255,255,255,0.08); color: var(--gold-light); border-color: var(--gold-light); }
.hero-bullets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 24px; }
.hero-bullet {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 14px;
}
.hero-bullet h4 { color: #fff; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.95rem; margin: 0 0 4px 0; letter-spacing: 0; }
.hero-bullet p { color: rgba(255,255,255,0.7); font-size: 0.86rem; margin: 0; line-height: 1.45; }

/* ---- Trust strip ---- */
.trust-strip { background: var(--stone); padding: 26px 0; border-bottom: 1px solid var(--border); }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--text-mute); font-size: 0.86rem; font-family: 'JetBrains Mono', monospace; }
.trust-item .icon { color: var(--gold-deep); font-weight: 700; font-size: 1.1rem; }
.trust-item strong { color: var(--navy); font-weight: 600; }

/* ---- Sections ---- */
section { padding: 70px 0; scroll-margin-top: 80px; }
section.alt { background: var(--stone); }
section.dark { background: var(--navy); color: #fff; }
section.dark h1, section.dark h2, section.dark h3 { color: #fff; }
section.dark p { color: rgba(255,255,255,0.85); }

.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.section-head { margin-bottom: 44px; max-width: 760px; }
.section-head p { font-size: 1.08rem; line-height: 1.6; }

/* ---- Service / location grid ---- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.card h3 { font-size: 1.18rem; }
.card p { font-size: 0.93rem; line-height: 1.55; flex-grow: 1; }
.card-link {
  display: inline-block;
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}
.card-link::after { content: ' →'; transition: transform .2s; display: inline-block; }
.card-link:hover { color: var(--navy); }
.card-link:hover::after { transform: translateX(4px); }

/* ---- Two-column content ---- */
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; align-items: start; }
.two-col aside {
  background: var(--navy);
  color: #fff;
  padding: 32px;
  border-radius: var(--radius);
  position: sticky;
  top: 100px;
}
.two-col aside h3 { color: var(--gold-light); font-size: 1.05rem; margin-bottom: 14px; font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 0.08em; }
.two-col aside p { color: rgba(255,255,255,0.85); font-size: 0.92rem; }
.two-col aside a { color: var(--gold-light); }
.two-col aside .cta-button { margin-top: 14px; width: 100%; text-align: center; }

.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5rem; color: var(--navy-light); }
.prose ul, .prose ol { margin: 0 0 1.2rem 1.4rem; color: var(--text-mute); }
.prose li { margin-bottom: 0.4rem; }
.prose blockquote {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 20px;
  margin: 1.4rem 0;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  color: var(--navy-light);
  line-height: 1.5;
}

/* ---- Standards block ---- */
.standards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 26px; }
.standard {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
}
.standard h4 { color: var(--gold-light); font-family: 'JetBrains Mono', monospace; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.12em; margin-bottom: 6px; }
.standard p { color: rgba(255,255,255,0.78); font-size: 0.88rem; margin: 0; line-height: 1.5; }

/* ---- PTV Scale ---- */
.ptv-scale { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 24px 0; }
.ptv-band { padding: 20px; color: #fff; }
.ptv-band.high { background: #2d6f3a; }
.ptv-band.mod { background: #c8a24a; color: var(--navy-deep); }
.ptv-band.low { background: #b04a3d; }
.ptv-band h4 { font-family: 'JetBrains Mono', monospace; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.12em; margin-bottom: 6px; color: inherit; }
.ptv-band .ptv-num { font-family: 'Fraunces', serif; font-weight: 600; font-size: 2rem; line-height: 1; margin-bottom: 6px; }
.ptv-band p { color: inherit; opacity: 0.92; font-size: 0.86rem; margin: 0; line-height: 1.5; }

/* ---- Locations index list ---- */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.loc-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: all .2s;
}
.loc-item:hover { border-color: var(--gold); transform: translateY(-1px); }
.loc-item h4 { margin: 0 0 4px 0; font-size: 1.05rem; font-family: 'Fraunces', serif; }
.loc-item p { margin: 0; font-size: 0.85rem; color: var(--text-mute); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em; }

/* ---- Form / contact ---- */
.contact-block { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-info dl { margin: 0; }
.contact-info dt { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); margin-top: 22px; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { font-size: 1.05rem; margin-top: 4px; color: #fff; }
.contact-info dd a { color: #fff; border-bottom: 1px dotted rgba(255,255,255,0.4); }
.contact-info dd a:hover { color: var(--gold-light); }
.form-wrap { background: #fff; padding: 14px; border-radius: var(--radius); }
.form-wrap iframe { width: 100%; min-height: 760px; border: none; display: block; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 60px 0 24px; font-size: 0.9rem; }
.site-footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h5 { color: var(--gold-light); font-family: 'JetBrains Mono', monospace; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.12em; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,0.65); display: block; margin-bottom: 6px; font-size: 0.88rem; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer p { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 36px; padding-top: 22px; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.4); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em; }

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .topbar .container { font-size: 0.78rem; gap: 8px; justify-content: center; text-align: center; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; border-bottom: 1px solid var(--border); width: 100%; }
  .main-nav .cta-button { margin-top: 10px; text-align: center; width: 100%; }
  .nav-toggle { display: block; }
  .site-header .container { position: relative; }
  .hero { padding: 60px 0; }
  .two-col { grid-template-columns: 1fr; }
  .two-col aside { position: static; }
  .contact-block { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .site-footer .container { grid-template-columns: 1fr; }
  section { padding: 50px 0; }
}
