/*
Theme Name: VantaData
Theme URI: https://vantadata.co.uk
Author: VantaData
Description: A clean, premium black and gold theme for data analysis consultancy.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: vantadata
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #c9a84c;
  --gold-light: #e8cc80;
  --black: #0a0a0a;
  --black-2: #111111;
  --black-3: #1a1a1a;
  --border: #2a2a2a;
  --text: #f0ead8;
  --text-muted: #888888;
  --text-dim: #666666;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Typography ───────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
}

h1 { font-size: clamp(38px, 5vw, 60px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 16px; font-family: var(--font-sans); font-weight: 500; }

p { color: var(--text-muted); font-size: 14px; line-height: 1.85; }

.tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 14px;
  display: block;
}

/* ── Layout ───────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

/* ── Buttons ──────────────────────────────────────── */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 13px 28px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.2s ease;
}
.btn-gold:hover { background: var(--gold-light); color: var(--black); }

.btn-outline {
  display: inline-block;
  border: 0.5px solid #3a3a3a;
  color: var(--text);
  padding: 13px 28px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  transition: border-color 0.2s ease;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── Navigation ───────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 0.5px solid var(--border);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 48px;
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text);
}
.site-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  font-weight: 300;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-links .nav-cta {
  border: 0.5px solid var(--gold);
  color: var(--gold);
  padding: 9px 22px;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links .nav-cta:hover { background: var(--gold); color: var(--black); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ── Hero ─────────────────────────────────────────── */
#hero {
  padding: 100px 48px 90px;
  border-bottom: 0.5px solid var(--border);
}

#hero h1 { margin-bottom: 24px; }
#hero h1 em { font-style: italic; color: var(--gold); }
#hero .hero-sub {
  font-size: 15px;
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.85;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Services ─────────────────────────────────────── */
#services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 0.5px solid var(--border);
}

.services-header {
  padding: 60px 48px;
  border-right: 0.5px solid var(--border);
}
.services-header h2 { margin-bottom: 16px; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.service-item {
  padding: 36px;
  border-left: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  transition: background 0.2s ease;
}
.service-item:hover { background: var(--black-2); }
.service-item:nth-child(odd) { border-left: none; }
.service-item:nth-last-child(-n+2) { border-bottom: none; }

.svc-num {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 0.1em;
  display: block;
}

.service-item h3 { margin-bottom: 8px; }
.service-item p { font-size: 13px; }

/* ── About ────────────────────────────────────────── */
#about {
  border-bottom: 0.5px solid var(--border);
}

.about-left {
  padding: 60px 48px;
}
.about-left h2 { margin-bottom: 20px; }

.about-body {
  font-size: 15px;
  color: #999;
  line-height: 1.9;
  margin-bottom: 32px;
}
.about-body strong { color: var(--text); font-weight: 400; }

.about-quote {
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
  border-left: 1.5px solid var(--gold);
  padding-left: 20px;
}

.about-right {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.about-right h2 { margin-bottom: 8px; }
.about-right > div > p { font-size: 13px; margin-top: 6px; }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.stat-block { background: var(--black-2); padding: 28px 24px; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 40px;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 6px;
  display: block;
  font-weight: 300;
}

/* ── Contact ──────────────────────────────────────── */
#contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-left {
  padding: 60px 48px;
  background: var(--gold);
  border-right: 0.5px solid var(--border);
}
.contact-left .tag { color: rgba(10,10,10,0.55); }
.contact-left h2 { color: var(--black); margin-bottom: 16px; }
.contact-left p { color: rgba(10,10,10,0.7); font-size: 14px; }

.contact-right { padding: 60px 48px; }

.form-field { margin-bottom: 20px; }

.form-field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
  font-weight: 400;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--black-2);
  border: 0.5px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  font-size: 13px;
  font-family: var(--font-sans);
  border-radius: 2px;
  outline: none;
  font-weight: 300;
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { height: 110px; resize: none; }

.form-submit {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 13px 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s ease;
}
.form-submit:hover { background: var(--gold-light); }

/* ── Footer ───────────────────────────────────────── */
#site-footer {
  padding: 28px 48px;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal { text-align: right; }
.footer-legal .footer-copy { line-height: 1.9; }

.footer-logo {
  font-family: var(--font-serif);
  font-size: 15px;
  color: #555;
}
.footer-logo span { color: var(--gold); }
.footer-copy { font-size: 12px; color: #444; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .nav-inner { padding: 18px 24px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--black); border-bottom: 0.5px solid var(--border); padding: 24px; gap: 20px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  #hero { padding: 60px 24px; }
  #services { grid-template-columns: 1fr; }
  .services-header { padding: 40px 24px; border-right: none; border-bottom: 0.5px solid var(--border); }
  .services-grid { grid-template-columns: 1fr; }
  .service-item { border-left: none !important; }
  .service-item:nth-last-child(-n+2) { border-bottom: 0.5px solid var(--border); }
  .service-item:last-child { border-bottom: none; }

  #about { grid-template-columns: 1fr; }
  .about-left { padding: 40px 24px; border-right: none; border-bottom: 0.5px solid var(--border); }
  .about-right { padding: 40px 24px; }

  #contact { grid-template-columns: 1fr; }
  .contact-left { padding: 40px 24px; border-right: none; border-bottom: 0.5px solid var(--border); }
  .contact-right { padding: 40px 24px; }

  #site-footer { padding: 24px; flex-direction: column; text-align: center; }
}
/* ── Form notices (appended) ──────────────────────── */
.form-notice {
  padding: 14px 18px;
  border-radius: 2px;
  font-size: 13px;
  margin-bottom: 24px;
  font-weight: 400;
}
.form-success {
  background: rgba(201, 168, 76, 0.12);
  border: 0.5px solid var(--gold);
  color: var(--gold);
}
.form-error {
  background: rgba(200, 60, 60, 0.1);
  border: 0.5px solid #a33;
  color: #f88;
}

/* ── Legal Pages ──────────────────────────────────── */
#legal-page {
  min-height: 70vh;
  border-bottom: 0.5px solid var(--border);
}

.legal-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 48px 80px;
}

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 0.5px solid var(--border);
}

.legal-header h1 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 10px;
}

.legal-date {
  font-size: 13px;
  color: var(--text-dim);
  font-style: italic;
  margin-top: 6px;
}

.legal-body { color: var(--text-muted); font-size: 14px; line-height: 1.85; }

.legal-body h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text);
  margin: 36px 0 12px;
  font-weight: 400;
}

.legal-body h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin: 24px 0 8px;
}

.legal-body p { margin-bottom: 16px; }

.legal-body ul {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}

.legal-body ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 14px;
}

.legal-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.legal-body a { color: var(--gold); text-decoration: underline; }
.legal-body a:hover { color: var(--gold-light); }
.legal-body strong { color: var(--text); font-weight: 500; }

/* ── Footer legal nav ─────────────────────────────── */
.footer-legal-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 16px 48px;
  border-top: 0.5px solid var(--border);
  background: var(--black-2);
}

.footer-legal-nav a {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

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

@media (max-width: 900px) {
  .legal-inner { padding: 40px 24px 60px; }
  .footer-legal-nav { padding: 16px 24px; }
}

/* ── Form consent line ────────────────────────────── */
.form-consent {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 16px;
  font-weight: 300;
}
.form-consent a { color: var(--gold); text-decoration: underline; }
