/* ═══════════════════════════════════════════════════════
   VATS Studio — page theme
   Rule: hero + nav + footer = dark (#0b0b0b).
         Everything else    = cream (#f4f2ec), edge-to-edge.
   ═══════════════════════════════════════════════════════ */

/* Cream base so body gutters match the light sections */
html { overflow-x: hidden; }
body { background: #f4f2ec; }

/* ── Full-bleed helper ─────────────────────────────────
   Sections + hero + footer live inside .page (90vw centred).
   Stretch all to 100vw; restore padding = page gutter so
   inner content stays at the exact same horizontal position.
   ──────────────────────────────────────────────────────*/
.section,
.hero-grid,
.hero-bottom,
.vsi-services,
.site-footer {
  box-sizing: border-box;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding-left:  max(5vw, calc((100vw - 1440px) / 2));
  padding-right: max(5vw, calc((100vw - 1440px) / 2));
}
@media (max-width: 1100px) {
  .section, .hero-grid, .hero-bottom, .vsi-services, .site-footer {
    padding-left: 4vw;
    padding-right: 4vw;
  }
}
@media (max-width: 760px) {
  .section, .hero-grid, .hero-bottom, .vsi-services, .site-footer {
    padding-left: 5.5vw;
    padding-right: 5.5vw;
  }
}

/* ── Dark zones ────────────────────────────────────────*/
.hero-grid,
.hero-bottom { background: #0b0b0b; }
.site-footer  { background: #0b0b0b; }

/* Footer keeps its dark-theme tokens intact */
.site-footer {
  --champagne: #e6d8b8;
  --muted:     #b3aa97;
  --line:      #34332f;
  --grey:      #8a8a8a;
  color: #e6d8b8;
}

/* ── Light zones — single cream, unified ───────────────*/
.section    { background: #f4f2ec; border-top-color: #d4d0c6; }
.vsi-services { background: #f4f2ec; border-top: 1px solid #d4d0c6; }

/* ── Uniform vertical spacing — same gap before every heading ── */
.section          { padding-top: 90px; padding-bottom: 90px; }
.light-section    { padding-top: 90px !important; padding-bottom: 90px !important; }
.vsi-services     { padding-top: 90px; padding-bottom: 90px; }
.industries-live  { margin-top: 0; }
@media (max-width: 760px) {
  .section, .light-section, .vsi-services { padding-top: 60px !important; padding-bottom: 60px !important; }
}

/* Kill the old #eee8da shade and the old -4vw margin trick */
.light-section {
  background:    #f4f2ec !important;
  margin-left:   -50vw   !important;
  padding-left:  max(5vw, calc((100vw - 1440px) / 2)) !important;
  padding-right: max(5vw, calc((100vw - 1440px) / 2)) !important;
  left: 50% !important;
}
@media (max-width: 1100px) {
  .light-section { padding-left: 4vw !important; padding-right: 4vw !important; }
}
@media (max-width: 760px) {
  .light-section { padding-left: 5.5vw !important; padding-right: 5.5vw !important; }
}

/* ── CSS-variable overrides for light sections ─────────
   Redefine the dark-theme tokens inside .section so every
   component that uses var(--champagne), var(--muted) etc.
   automatically reads the correct light-theme value.
   ──────────────────────────────────────────────────────*/
.section {
  --line:      #d4d0c6;
  --muted:     #5a5450;
  --champagne: #191918;
  --grey:      #7a7060;
  color: #191918;
}

/* ── Heading colour — all section h2s match the grey of
   WHAT WE DO. and PROJECTS. (#8a8578 Oswald 500)
   ──────────────────────────────────────────────────────*/
.section h2,
.section h2[data-reveal] { color: #8a8578; }
/* PROJECTS. — same grey, already Oswald via .sw-heading */
.section .sw-heading { color: #8a8578; }
/* Smaller content h3s stay dark for readability */
.section h3 { color: #191918; }
.stu-team h3 { color: #f4efe4; }
.vsi-services h3 { color: #191918; }

.section p   { color: #5a5450; }
.section .section-label  { color: #c04000; }
.section .text-link      { color: #191918; border-color: #191918; }
.section .text-link:hover{ color: #ff6a00; }

/* ── Content alignment — vsi-inner must match the 90vw
   page grid so WHAT WE DO. left-aligns with PROJECTS.
   ──────────────────────────────────────────────────────*/
.vsi-inner { width: min(1440px, 90vw); }
@media (max-width: 1100px) { .vsi-inner { width: 92vw; } }
@media (max-width: 760px)  { .vsi-inner { width: 89vw; } }

/* hero-bottom stays dark-themed */
.hero-bottom { color: #e6d8b8; }
.hero-bottom p        { color: #b3aa97 !important; }
.hero-bottom p strong { color: #ff6a00 !important; }

/* ── Section-specific fixes ────────────────────────────*/

/* Selected work — project cards readable on cream */
.work-preview > div { background: #e0ddd6; }
.work-preview h3    { color: #191918; }
.work-preview p     { color: #5a5450; }

/* Industries — world tabs on cream */
.world-tabs button { color: #5a5450; border-bottom-color: #d4d0c6; }
.world-tabs button[aria-selected=true] { color: #191918; border-bottom-color: #ff6a00; }
.world-caption strong { color: #191918; }

/* Studio photo */
.short-process span { border-top-color: #d4d0c6; color: #5a5450; }

/* Client strip */
.client-strip > div { color: #191918; }
.client-strip span  { color: #ff6a00; }

/* FAQ */
.faq-list details,
.faq-list details:last-child { border-color: #d4d0c6; }
.faq-list summary  { color: #191918; }
.faq-answer p      { color: #5a5450; }
.faq-list summary > span { color: #ff6a00; }

/* Section-top subheadings (not the main h2) stay legible */
.section .section-top p    { color: #5a5450; }

/* ── Industry demos — demo left, animated caption right ── */
.world-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 5vw;
  align-items: center;
}
.world-demo-col .product-demo { margin: 0; max-width: none; }
.world-caption-col { padding: 20px 0; }
#world-title {
  display: block;
  font: 500 clamp(28px, 3.8vw, 54px)/1.2 Oswald, Arial, sans-serif;
  letter-spacing: -.04em;
  color: #191918;
}
@media (max-width: 760px) {
  .world-layout { grid-template-columns: 1fr; gap: 32px; }
  .world-caption-col { order: -1; }
  #world-title { font-size: clamp(26px, 7vw, 40px); }
}

/* FAQ — all-questions link sits below the list */
.faq-all-link { display: inline-block; margin-top: 32px; }

/* ── FAQ two-column layout ─────────────────────────────── */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6vw;
  align-items: start;
}
.faq-img-col {
  position: sticky;
  top: 120px;
}
.faq-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  cursor: default;
  will-change: transform;
  transform-style: preserve-3d;
  transition: box-shadow .4s ease;
  box-shadow: 0 8px 28px rgba(0,0,0,.10);
}
.faq-img-wrap:hover {
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
}
.faq-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  pointer-events: none;
}
.faq-content-col .sw-heading { margin-bottom: 32px; }
@media (max-width: 760px) {
  .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .faq-img-col { position: static; }
}

/* FAQ heading — right-aligned to match the right edge of the questions */
.faq-content-col .sw-heading { margin-left: 0; padding-left: 0; text-align: right; }

/* ── Stats section (homepage) ─────────────────────────── */
.stats-section {
  background: #0b0b0b !important;
  color: #f4efe4;
  --champagne: #f4efe4;
  --grey: #8a8a8a;
  --muted: #b3aa97;
  border-top: none !important;
}
.stats-section .section-label { color: #ff6a00; }
.stats-section h2 { color: #f4efe4 !important; }
.stats-section p { color: #b3aa97; }

.stats-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 72px;
}
.stats-heading {
  font: 500 clamp(32px, 4.5vw, 62px)/1.1 Oswald, Impact, sans-serif;
  letter-spacing: -0.04em;
  color: #f4efe4;
  margin: 12px 0 0;
}
.stats-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: #b3aa97;
  max-width: 320px;
  margin: 0;
  align-self: end;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  opacity: 0;
  transform: translateY(32px);
}
.stat-item:nth-child(2) { padding-top: 48px; }
.stat-item:nth-child(3) { padding-top: 96px; }
.stat-item:nth-child(4) { padding-top: 144px; }

.stat-number {
  font: 600 clamp(60px, 7.5vw, 110px)/1 Oswald, Impact, sans-serif;
  letter-spacing: -0.035em;
  color: #f4efe4;
  margin: 0;
}
.stat-suffix {
  color: #ff6a00;
}
.stats-section .stat-label {
  font-size: 13px;
  line-height: 1.5;
  color: #8a8a8a;
  margin: 14px 0 0;
}
.stat-line {
  height: 2px;
  margin-top: 18px;
  border-radius: 1px;
  background: linear-gradient(90deg, #ff6a00 0%, #d4652a 40%, rgba(138,138,138,0.3) 100%);
}
.stat-item:nth-child(2) .stat-line {
  background: linear-gradient(90deg, #d4652a 0%, #b3aa97 40%, rgba(138,138,138,0.2) 100%);
}
.stat-item:nth-child(3) .stat-line {
  background: linear-gradient(90deg, #8a8a8a 0%, #5a5a5a 40%, rgba(138,138,138,0.15) 100%);
}
.stat-item:nth-child(4) .stat-line {
  background: linear-gradient(90deg, #ff6a00 0%, #e6d8b8 40%, rgba(138,138,138,0.2) 100%);
}

.no-js .stat-item {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .stat-item { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .stats-top { gap: 30px; margin-bottom: 56px; }
  .stat-item:nth-child(2) { padding-top: 32px; }
  .stat-item:nth-child(3) { padding-top: 64px; }
  .stat-item:nth-child(4) { padding-top: 96px; }
}
@media (max-width: 760px) {
  .stats-top { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
  .stats-subtitle { max-width: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item:nth-child(1) { padding-top: 0; }
  .stat-item:nth-child(2) { padding-top: 32px; }
  .stat-item:nth-child(3) { padding-top: 0; }
  .stat-item:nth-child(4) { padding-top: 32px; }
  .stat-number { font-size: clamp(48px, 12vw, 72px); }
}

/* ── Footer legal row ─────────────────────────────────── */
.footer-legal {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-legal a {
  color: var(--grey);
  font-size: 10px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--champagne); }

/* ── Enquiry section (inline lead form on service/industry/location pages) ── */
.enq-section { background: #191918 !important; border-top: none; }
.enq-section .section-label { color: #d4652a; }
.enq-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
  max-width: 1100px;
}
.enq-title {
  font-family: Oswald, Impact, sans-serif;
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: #f4efe4;
  margin: 0 0 16px;
  line-height: 1.15;
}
.enq-title span { color: #d4652a; }
.enq-tagline { font-size: 15px; line-height: 1.7; color: #a09080; margin: 0 0 24px; }
.enq-bullets { list-style: none; padding: 0; margin: 0; }
.enq-bullets li {
  font-size: 14px;
  color: #a09080;
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.enq-bullets li:first-child { border-top: 1px solid rgba(255,255,255,.07); }
.enq-bullets li::before { content: '→'; position: absolute; left: 0; color: #d4652a; font-weight: 700; }

/* Form card */
.enq-form-card {
  background: #fff;
  border-radius: 14px;
  padding: clamp(24px, 3vw, 40px);
}
.enq-honeypot { display: none !important; }
.enq-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.enq-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7a6e5e;
}
.enq-field input,
.enq-field textarea,
.enq-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e4e0d8;
  border-radius: 8px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  color: #191918;
  background: #f9f7f4;
  box-sizing: border-box;
  transition: border-color .2s;
  outline: none;
  resize: none;
}
.enq-field input:focus,
.enq-field textarea:focus { border-color: #d4652a; background: #fff; }
.enq-field input::placeholder,
.enq-field textarea::placeholder { color: #b0a898; }
.enq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.enq-submit {
  width: 100%;
  padding: 14px;
  background: #d4652a;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s;
  margin-top: 8px;
}
.enq-submit:hover { opacity: .88; }
.enq-submit:disabled { opacity: .5; cursor: not-allowed; }
.enq-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 48px 24px;
  text-align: center;
}
.enq-check {
  width: 52px; height: 52px;
  background: #d4652a;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
}
.enq-success p { font-size: 16px; color: #3a3630; margin: 0; font-weight: 600; }
.enq-success small { font-size: 13px; color: #7a6e5e; }

@media (max-width: 900px) {
  .enq-inner { grid-template-columns: 1fr; }
  .enq-row { grid-template-columns: 1fr; }
}

/* ── Footer social links — remove hover underline ─── */
.footer-socials a {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

/* ── Ask AI footer strip ──────────────────────────── */
.footer-ask-ai {
  margin-top: 18px;
}
.footer-ask-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d4652a;
  margin: 0 0 10px;
}
.footer-ai-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-ai-icons a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #1e1d1a;
  border: 1px solid rgba(244,239,228,0.06);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.footer-ai-icons a:hover {
  border-color: #d4652a;
  background: #2a2520;
  transform: translateY(-2px);
}
.footer-ai-icons svg {
  width: 18px;
  height: 18px;
}
.footer-ai-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1e1d1a;
  color: #f4efe4;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid #d4652a;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 9999;
}
.footer-ai-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
