/* ============================================================
   LondonWhiteboards — main.css
   Brand: Cormorant Garamond (headings) + DM Sans (body) + DM Mono (labels)
   ============================================================ */

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

:root {
  --brand:        #1B3A2F;
  --brand-hover:  #2C5444;
  --brand-pale:   #E8F0EB;
  --brand-rule:   #3D6B55;
  --hero-bg:      #0E1410;
  --hero-text:    #F2EFE8;
  --hero-sub:     rgba(242,239,232,0.62);
  --text:         #111111;
  --text-sec:     #666666;
  --bg:           #FAFAF8;
  --bg-alt:       #F4F2EF;
  --white:        #FFFFFF;
  --border:       #E2DDD8;
  --border-em:    #C8C2BC;
  --max-w:        1200px;
  --radius-sm:    3px;
  --radius-md:    8px;
  --radius-lg:    12px;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: auto; object-fit: cover; }
a { color: inherit; }

/* ── LAYOUT ──────────────────────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 72px 40px; }
.section-alt { background: var(--bg-alt); }
.section-white { background: var(--white); }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 0.5px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 36px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
}

.section-link {
  font-size: 12px;
  color: var(--brand);
  letter-spacing: 0.05em;
  text-decoration: none;
}

.section-link:hover { text-decoration: underline; }

/* ── BUTTONS ─────────────────────────────────────────────── */

.btn {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 13px 28px;
  cursor: pointer;
  border: none;
  transition: background 0.15s, opacity 0.15s, border-color 0.15s;
}

.btn-primary   { background: var(--hero-text); color: var(--hero-bg); }
.btn-primary:hover { opacity: 0.88; }

.btn-outline-light {
  background: transparent;
  color: var(--hero-text);
  border: 0.5px solid rgba(242,239,232,0.32);
  font-weight: 400;
}
.btn-outline-light:hover { border-color: rgba(242,239,232,0.6); }

.btn-brand     { background: var(--brand); color: #F2EFE8; }
.btn-brand:hover { background: var(--brand-hover); }

.btn-brand-outline {
  background: transparent;
  color: var(--brand);
  border: 0.5px solid var(--brand);
  font-weight: 400;
}
.btn-brand-outline:hover { background: rgba(27,58,47,0.06); }

/* ── NAVIGATION ──────────────────────────────────────────── */

.site-nav {
  background: var(--white);
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo span { color: var(--brand); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  font-size: 13px;
  color: var(--text-sec);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); }

/* ── HERO ────────────────────────────────────────────────── */

.hero {
  background: var(--hero-bg);
  background-image: url('/hero.png');
  background-size: cover;
  background-position: 60% center;
  padding: 88px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 20, 16, 0.68);
  z-index: 0;
}

.hero-geo {
  position: absolute;
  right: 80px;
  top: 48px;
  width: 380px;
  height: 380px;
  pointer-events: none;
}

.hero-geo-sq {
  position: absolute;
  border: 0.5px solid rgba(242,239,232,0.09);
  border-radius: 2px;
}

.hero-geo-sq:nth-child(1) { inset: 0; }
.hero-geo-sq:nth-child(2) { inset: 38px; opacity: 0.8; }
.hero-geo-sq:nth-child(3) { inset: 76px; opacity: 0.6; }
.hero-geo-sq:nth-child(4) { inset: 114px; opacity: 0.4; }
.hero-geo-sq:nth-child(5) { inset: 152px; opacity: 0.25; }

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-line {
  width: 36px;
  height: 1px;
  background: var(--brand-rule);
  margin-bottom: 22px;
}

.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-rule);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--hero-text);
  max-width: 600px;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 15px;
  line-height: 1.75;
  color: var(--hero-sub);
  max-width: 480px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── TRUST BAR ───────────────────────────────────────────── */

.trust-bar {
  background: var(--white);
  border-bottom: 0.5px solid var(--border);
  padding: 14px 40px;
}

.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.trust-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-sec);
  white-space: nowrap;
}

.trust-sep { width: 0.5px; height: 12px; background: var(--border-em); flex-shrink: 0; }

.trust-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.trust-tag {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--bg-alt);
  border: 0.5px solid var(--border);
  border-radius: 2px;
  color: var(--text-sec);
  letter-spacing: 0.02em;
}

/* ── STATS ROW ───────────────────────────────────────────── */

.stats { background: var(--white); border-bottom: 0.5px solid var(--border); }

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 30px 24px;
  text-align: center;
  border-right: 0.5px solid var(--border);
}

.stat:last-child { border-right: none; }

.stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  margin-bottom: 7px;
}

.stat-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-sec);
}

/* ── CASE STUDY CARDS ────────────────────────────────────── */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  display: block;
  transition: border-color 0.15s;
}

.case-card:hover { border-color: var(--border-em); }

.case-img {
  height: 220px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.case-img img { width: 100%; height: 100%; object-fit: cover; }

.case-img-ph {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--border-em);
}

.case-img-1 { background: rgba(27,58,47,0.07); }
.case-img-2 { background: rgba(44,58,80,0.07); }
.case-img-3 { background: rgba(58,44,27,0.07); }

.case-body { padding: 20px 22px 24px; }

.case-meta {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}

.case-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 10px;
}

.case-desc {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.6;
}

/* ── SERVICES GRID ───────────────────────────────────────── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service {
  padding: 30px 24px;
  border-right: 0.5px solid var(--border);
  background: var(--white);
  transition: background 0.15s;
}

.service:hover { background: var(--bg); }
.service:last-child { border-right: none; }

.service-num {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--brand);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.service-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.35;
}

.service-desc {
  font-size: 12px;
  color: var(--text-sec);
  line-height: 1.65;
}

/* ── SECTOR STRIP ────────────────────────────────────────── */

.sector-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.sector {
  padding: 22px 12px;
  border-right: 0.5px solid var(--border);
  text-align: center;
  background: var(--white);
  text-decoration: none;
  display: block;
  transition: background 0.15s;
}

.sector:hover { background: var(--bg-alt); }
.sector:last-child { border-right: none; }

.sector-icon {
  display: block;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--brand);
  border-radius: 3px;
  margin: 0 auto 10px;
  opacity: 0.65;
}

.sector-name {
  font-size: 11px;
  color: var(--text-sec);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* ── CTA BOX ─────────────────────────────────────────────── */

.cta-section { padding: 56px 40px; background: var(--white); }

.cta-box {
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--brand-pale);
  border: 0.5px solid #B8D4C0;
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 400;
  color: var(--brand);
  margin-bottom: 10px;
  line-height: 1.1;
}

.cta-text p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.7;
  max-width: 420px;
  font-weight: 300;
}

.cta-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.cta-actions .btn { text-align: center; }

/* ── PAGE HERO (inner pages) ─────────────────────────────── */

.page-hero {
  background: var(--hero-bg);
  padding: 64px 40px 56px;
}

.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-hero .hero-eyebrow { margin-bottom: 14px; }

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.12;
  color: var(--hero-text);
  max-width: 640px;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.page-hero p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--hero-sub);
  max-width: 520px;
  font-weight: 300;
  margin-bottom: 30px;
}

/* ── CONTENT BLOCK (inner pages) ─────────────────────────── */

.content-block {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 40px;
}

.content-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
  margin-top: 40px;
  line-height: 1.2;
}

.content-block h2:first-child { margin-top: 0; }

.content-block p {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.8;
  margin-bottom: 18px;
}

.content-block ul {
  margin: 0 0 18px 0;
  padding-left: 0;
  list-style: none;
}

.content-block ul li {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.7;
  padding: 6px 0 6px 20px;
  position: relative;
  border-bottom: 0.5px solid var(--border);
}

.content-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--brand);
  border-radius: 1px;
}

/* ── FAQ ─────────────────────────────────────────────────── */

.faq-list { max-width: var(--max-w); margin: 0 auto; }

.faq-item {
  border-bottom: 0.5px solid var(--border);
  padding: 20px 0;
}

.faq-q {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  cursor: pointer;
}

.faq-a {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.7;
}

/* ── ENQUIRY FORM ────────────────────────────────────────── */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-sec);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.15s;
  width: 100%;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
}

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

.form-submit { margin-top: 8px; }

/* ── FOOTER ──────────────────────────────────────────────── */

.site-footer {
  background: var(--hero-bg);
  padding: 56px 40px 32px;
}

.footer-inner { max-width: var(--max-w); margin: 0 auto; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 0.5px solid rgba(242,239,232,0.12);
  margin-bottom: 28px;
  gap: 40px;
}

.footer-brand { flex-shrink: 0; }

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hero-text);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.footer-logo span { color: var(--brand-rule); }

.footer-tagline {
  font-size: 12px;
  color: rgba(242,239,232,0.35);
  letter-spacing: 0.03em;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer-col-title {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-rule);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }

.footer-col a {
  font-size: 13px;
  color: rgba(242,239,232,0.45);
  text-decoration: none;
  transition: color 0.15s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy, .footer-url {
  font-size: 11px;
  color: rgba(242,239,232,0.25);
  letter-spacing: 0.04em;
}
