/* ============================================================
   VISION FLOORING INC — Corporate Blueprint Design System
   Navy + Corporate Blue Palette
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* ---- TOKENS ---- */
:root {
  --navy:        #0f1c2e;
  --navy-mid:    #1a2d45;
  --navy-light:  #1e3550;
  --blue:        #2563eb;
  --blue-light:  #3b82f6;
  --blue-pale:   #60a5fa;
  --silver:      #94a3b8;
  --light:       #f8fafc;
  --white:       #ffffff;
  --slate:       #475569;
  --border:      #e2e8f0;
  --light-gray:  #f1f5f9;

  --font: 'Outfit', sans-serif;

  --nav-h: 64px;
  --max-w: 1280px;
  --section-pad: 6rem 4rem;
  --radius: 3px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
a:visited { color: inherit; }
/* Explicit :visited rules — browser security model makes inherit unreliable */
.nav-drawer a:visited              { color: rgba(255,255,255,0.55); }
.footer-col-links a:visited        { color: rgba(255,255,255,0.5); }
.footer-contact-item a:visited     { color: var(--blue-pale); }
.btn-primary:visited,
.nav-cta:visited                   { color: var(--white); }
.btn-outline:visited               { color: var(--white); }
.btn-white:visited                 { color: var(--blue); }
.info-block-value a:visited        { color: var(--navy); }
/* Focus styles — WCAG 2.1 AA */
a:focus-visible,
button:focus-visible { outline: 2px solid var(--blue-pale); outline-offset: 2px; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ---- NAV ---- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 32px;
  width: auto;
  max-width: min(200px, 46vw);
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.2s;
}
.nav-logo:hover .nav-logo-img { opacity: 1; }
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}
/* nav-drawer doubles as desktop nav on large screens */
.nav-drawer a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-drawer a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-drawer a.active { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-versions {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  border-right: 1px solid rgba(255,255,255,0.12);
  padding-right: 1.5rem;
  margin-right: 0.5rem;
}
.nav-versions:hover { color: rgba(255,255,255,0.7); }
.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--white);
  background: var(--blue);
  border: none;
  padding: 0.5rem 1.25rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-light); }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--blue);
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  transition: background 0.2s, border-color 0.2s;
}
.btn-primary:hover { background: var(--blue-light); border-color: var(--blue-light); }

.btn-outline {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.35);
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.btn-outline-blue {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue);
  background: transparent;
  border: 2px solid var(--blue);
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }

/* ---- EYEBROW / LABELS ---- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 0.75rem;
}
.eyebrow-light {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-pale);
  display: block;
  margin-bottom: 0.75rem;
}

/* ---- SECTION TITLES ---- */
.section-title {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1.15;
  color: var(--navy);
}
.section-title-lg {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
  color: var(--navy);
}
.section-title.on-dark,
.section-title-lg.on-dark { color: var(--white); }

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--navy);
  border-bottom: 3px solid var(--blue);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 2rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--blue);
  margin-left: -1px;
}
.stat-item:first-child { margin-left: 0; }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font);
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--white);
  line-height: 1;
  display: block;
}
.stat-num em { font-style: normal; color: var(--blue-pale); }
.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-top: 0.4rem;
}
.stat-context {
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255,255,255,0.28);
  display: block;
  margin-top: 0.3rem;
  line-height: 1.45;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  min-height: 50vh;
  background: var(--navy);
  padding: calc(var(--nav-h) + 5rem) 4rem 4rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 1;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,28,46,0.96) 0%, rgba(30,53,80,0.88) 100%);
  z-index: 0;
}
.page-hero-content { position: relative; z-index: 2; max-width: 720px; }
.page-hero-title {
  font-weight: 700;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.page-hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  line-height: 1.75;
}

/* ---- CARD ---- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 24px rgba(37,99,235,0.08); }

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--navy);
  padding: 5rem 4rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
}
.cta-band-headline {
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  color: var(--white);
  line-height: 1.2;
}
.cta-band-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  margin-top: 0.75rem;
  max-width: 500px;
  line-height: 1.75;
}
.cta-band-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy);
  padding: 4rem 4rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}
.footer-logo-img {
  height: 38px;
  width: auto;
  max-width: min(220px, 60vw);
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 1rem;
  display: block;
}
.footer-tagline {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  max-width: 260px;
  margin-bottom: 1.25rem;
}
.footer-license {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.05em;
}
.footer-col-title {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}
.footer-col-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col-links a {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-col-links a:hover { color: var(--white); }
.footer-contact-item {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 2;
}
.footer-contact-item a { color: var(--blue-pale); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255,255,255,0.25);
}
.footer-badges { display: flex; align-items: center; gap: 1rem; }
.footer-badge {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
}
.versions-link {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.versions-link:hover { color: rgba(255,255,255,0.6); }

/* ---- HERO GRADIENT PLACEHOLDER ---- */
.hero-img-placeholder {
  background: linear-gradient(135deg, #1a2d45 0%, #1e3a5f 35%, #243b55 60%, #2d5582 100%);
  position: relative;
  overflow: hidden;
}
.hero-img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(37,99,235,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(96,165,250,0.08) 0%, transparent 50%);
}

/* ---- PROJECT / CARD PLACEHOLDERS ---- */
.proj-img {
  height: 200px;
  background: linear-gradient(135deg, #1a2d45 0%, #2d4a6e 50%, #1e3550 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  position: relative;
  overflow: hidden;
}
.proj-img::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 40% 50%, rgba(37,99,235,0.2) 0%, transparent 65%);
}
.proj-img-alt {
  background: linear-gradient(135deg, #243b55 0%, #1a3a5c 50%, #2a4f78 100%);
}
.proj-img-alt2 {
  background: linear-gradient(135deg, #1e3550 0%, #2d5582 50%, #1a2d45 100%);
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-fade-up  { animation: fadeUp 0.6s ease both; }
.anim-fade-up2 { animation: fadeUp 0.6s 0.12s ease both; }
.anim-fade-up3 { animation: fadeUp 0.6s 0.24s ease both; }
.anim-fade-up4 { animation: fadeUp 0.6s 0.36s ease both; }

/* ---- UTILITIES ---- */
.container { max-width: var(--max-w); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- TRUST STRIP ---- */
.trust-strip {
  background: var(--navy-mid);
  padding: 0.85rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 0;
}
.trust-item + .trust-item::before {
  content: '·';
  color: var(--blue);
  font-size: 1rem;
  margin: 0 1rem;
  line-height: 1;
}

/* ---- INTRO / 2-COL LABEL-CONTENT ---- */
.intro-section { background: var(--white); padding: var(--section-pad); }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.intro-label-col { padding-top: 0.25rem; }
.intro-body { font-size: 1rem; font-weight: 300; color: var(--slate); line-height: 1.85; }
.intro-body p + p { margin-top: 1.25rem; }
.intro-body strong { color: var(--navy); font-weight: 600; }

/* ---- CALLOUT BLOCK ---- */
.callout-block {
  border-left: 3px solid var(--blue);
  background: rgba(37,99,235,0.06);
  border-radius: 0 4px 4px 0;
  padding: 0.85rem 1.25rem;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-top: 1.5rem;
  margin-bottom: 0;
}
.callout-block p { margin: 0 0 0.5rem; font-style: italic; }
.callout-block cite { font-style: normal; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; opacity: 0.75; }

/* ---- MARKET GRID (numbered 3×2) ---- */
.market-section { background: var(--light-gray); padding: var(--section-pad); }
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.market-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
}
.market-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.market-card:hover::before { transform: scaleX(1); }
.market-num {
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--border);
  margin-bottom: 0.75rem;
  display: block;
}
.market-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.market-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}
.market-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37,99,235,0.07);
  border: 1px solid rgba(37,99,235,0.15);
  border-radius: 2px;
  padding: 0.2rem 0.55rem;
}

/* ---- VALUES (manifesto rows on navy) ---- */
.values-section { background: var(--navy); padding: var(--section-pad); }
.values-section .section-title { color: var(--white); }
.values-intro {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.38);
  margin-top: 1rem;
  max-width: 520px;
  line-height: 1.75;
}
.values-list {
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.value-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: baseline;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.15s;
}
.value-row:hover { background: rgba(255,255,255,0.02); margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; }
.value-statement {
  font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.value-body {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
}

/* ---- CLIENTS BAR (ghost treatment) ---- */
.clients-bar {
  background: var(--navy);
  padding: 3.5rem 4rem;
  text-align: center;
  overflow: hidden;
}
.clients-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 2rem;
}
.clients-ghost {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.5rem 3rem;
}
.client-name {
  font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.16);
  white-space: nowrap;
  transition: color 0.2s;
}
.client-name:hover { color: rgba(255,255,255,0.42); }

/* ---- CTA BAND BLUE ---- */
.cta-band-blue {
  background: var(--blue);
  padding: 5rem 4rem;
  text-align: center;
}
.cta-band-blue .cta-band-headline { color: var(--white); }
.cta-band-blue .cta-band-sub { color: rgba(255,255,255,0.75); margin: 0.75rem auto 2rem; max-width: 540px; }
.btn-white {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue);
  background: var(--white);
  border: 2px solid var(--white);
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.btn-white:hover { background: var(--light); }

/* ---- DAN MORRIS BLOCK ---- */
.dan-block {
  background: var(--navy);
  padding: var(--section-pad);
  border-top: 3px solid var(--blue);
}
.dan-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
  align-items: center;
}
.dan-eyebrow { color: var(--blue-pale); margin-bottom: 0.5rem; }
.dan-name {
  font-weight: 600;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.dan-title {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-pale);
  margin-bottom: 1.5rem;
}
.dan-bio {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.85;
}
.dan-bio p + p { margin-top: 1rem; }
.dan-stat-col { text-align: center; }
.dan-stat-num {
  font-weight: 700;
  font-size: 5rem;
  color: var(--white);
  line-height: 1;
  display: block;
}
.dan-stat-num em { font-style: normal; color: var(--blue-pale); font-size: 3rem; vertical-align: super; }
.dan-stat-label {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-top: 0.5rem;
  line-height: 1.5;
  display: block;
}

/* ---- TIMELINE (vertical) ---- */
.timeline-section { background: var(--light-gray); padding: var(--section-pad); }
.timeline-list { margin-top: 3rem; display: flex; flex-direction: column; }
.timeline-item {
  display: grid;
  grid-template-columns: 100px 1px 1fr;
  gap: 0 2rem;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.t-year {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--blue);
  text-align: right;
  padding-top: 0.1rem;
}
.t-line {
  background: var(--border);
  position: relative;
}
.t-line::before {
  content: '';
  width: 10px; height: 10px;
  background: var(--blue);
  border-radius: 50%;
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
}
.t-title { font-weight: 600; font-size: 1rem; color: var(--navy); margin-bottom: 0.3rem; }
.t-desc { font-size: 0.9rem; font-weight: 300; color: var(--slate); line-height: 1.7; }

/* ---- CREDS BAR (about page) ---- */
.creds-bar {
  background: var(--navy-mid);
  padding: 3rem 4rem;
}
.creds-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.cred-item { text-align: center; }
.cred-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}
.cred-name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  display: block;
  margin-bottom: 0.25rem;
}
.cred-sub {
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
}

/* ---- SURFACE CARDS (services — photo-first) ---- */
.surfaces-section { background: var(--navy); padding: var(--section-pad); }
.surfaces-section .section-title { color: var(--white); }
.surfaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.surface-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.surface-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
}
.surface-card:hover .surface-img { transform: scale(1.05); }
.surface-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,28,46,0.96) 0%, rgba(15,28,46,0.55) 55%, rgba(15,28,46,0.12) 100%);
}
.surface-body {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.75rem;
}
.surface-name {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.4rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.surface-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.62);
  line-height: 1.65;
  margin: 0.6rem 0;
}
.surface-fit {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-pale);
}

/* ---- MARKET DEEP DIVE (alternating rows) ---- */
.market-deep { padding: 4rem; }
.market-deep.on-slate { background: var(--light-gray); }
.market-deep.on-white { background: var(--white); }
.market-deep-inner { max-width: var(--max-w); margin: 0 auto; }
.market-deep h3 {
  font-weight: 600;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--navy);
  margin: 0.5rem 0 1rem;
  line-height: 1.2;
}
.market-deep-body {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.85;
  max-width: 680px;
  margin-bottom: 1rem;
}

/* ---- GC FAST TRACK BAND ---- */
.gc-band {
  background: var(--blue);
  padding: 1.75rem 4rem;
  text-align: center;
}
.gc-band-phone {
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  color: var(--white);
  display: block;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}
.gc-band-label,
.gc-band-sub {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  display: block;
  margin-top: 0.3rem;
}

/* ---- FORM RADIO GROUP ---- */
.radio-group { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
.radio-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--slate);
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.radio-label:hover { border-color: var(--blue); background: rgba(37,99,235,0.04); }
.radio-label input { accent-color: var(--blue); }

/* ---- SERVICE AREA PILLS ---- */
.area-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: center;
}
.area-pill {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.5rem 1.25rem;
}

/* ---- NOTABLE PROJECTS CALLOUT ---- */
.notable-section {
  background: var(--navy);
  padding: var(--section-pad);
}
.notable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.notable-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
}
.notable-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-pale);
  margin-bottom: 0.5rem;
  display: block;
}
.notable-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.notable-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ---- CLIENT ROSTER (projects page) ---- */
.roster-section {
  background: var(--navy);
  padding: var(--section-pad);
}
.roster-section .section-title { color: var(--white); }
.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
  margin-top: 3rem;
}
.roster-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  padding: 0.55rem 0.9rem;
  letter-spacing: 0.02em;
  transition: color 0.2s, border-color 0.2s;
}
.roster-name:hover { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.25); }
.roster-name.tier-1 {
  color: rgba(255,255,255,0.65);
  border-color: rgba(37,99,235,0.3);
  font-weight: 600;
}
.roster-name.tier-1:hover { color: var(--white); border-color: var(--blue); }

/* ============================================================
   RESPONSIVE — Vision Flooring B
   Breakpoints: 768px / 480px / 375px
   ============================================================ */

@media (max-width: 768px) {
  :root {
    --section-pad: 4rem 1.5rem;
    --nav-h: 56px;
  }
}
@media (max-width: 480px) {
  :root {
    --section-pad: 3rem 1.25rem;
  }
}

/* ---- NAV HAMBURGER ---- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent; border: none;
  padding: 0; cursor: pointer; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.85); border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-bar-right { display: flex; align-items: center; gap: 0.75rem; }

/* ---- NAV DRAWER (desktop: behaves like old nav-links) ---- */
.nav-drawer {
  display: flex; align-items: center; gap: 2rem;
}

@media (max-width: 768px) {
  .site-nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .nav-drawer {
    flex-direction: column; align-items: flex-start; gap: 0;
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 2rem 1.5rem 3rem;
    z-index: 199;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav-open .nav-drawer { transform: translateX(0); }

  .nav-drawer a {
    display: block; font-size: 1.1rem; font-weight: 500;
    color: rgba(255,255,255,0.7); padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    width: 100%; letter-spacing: 0.02em; transition: color 0.2s;
  }
  .nav-drawer a:last-child { border-bottom: none; }
  .nav-drawer a:hover, .nav-drawer a.active { color: var(--white); }
  .nav-drawer .nav-versions {
    font-size: 0.75rem; color: rgba(255,255,255,0.28);
    border-right: none; padding-right: 0; margin-right: 0;
  }
  .nav-phone {
    color: var(--blue-pale) !important;
    font-weight: 600 !important; font-size: 1.1rem !important;
    margin-top: 0.5rem;
  }
  .nav-cta { font-size: 0.75rem; padding: 0.45rem 1rem; }
}
@media (max-width: 375px) {
  .nav-cta { font-size: 0.68rem; padding: 0.4rem 0.75rem; }
}

/* ---- STATS BAR ---- */
@media (max-width: 768px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item {
    padding: 1.5rem 1.25rem;
    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .stat-num { font-size: 2.4rem; }
}
@media (max-width: 480px) {
  .stat-num { font-size: 2rem; }
  .stat-context { display: none; }
  .stat-item { padding: 1.25rem 1rem; }
}
@media (max-width: 375px) {
  .stat-num { font-size: 1.8rem; }
}

/* ---- INTRO GRID ---- */
@media (max-width: 768px) {
  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .intro-label-col { padding-top: 0; }
}

/* ---- MARKET GRID ---- */
@media (max-width: 768px) {
  .market-grid { grid-template-columns: 1fr 1fr; }
  .market-card { padding: 1.5rem 1.25rem; }
  .market-num { font-size: 2rem; }
}
@media (max-width: 480px) {
  .market-grid { grid-template-columns: 1fr; }
  .market-num { font-size: 1.75rem; }
}

/* ---- VALUES ROWS ---- */
@media (max-width: 768px) {
  .values-list { margin-top: 2.5rem; }
  .value-row { grid-template-columns: 1fr; gap: 0.75rem; padding: 1.5rem 0; }
  .value-row:hover { margin: 0; padding-left: 0; padding-right: 0; background: transparent; }
  .value-statement { font-size: clamp(1.05rem, 4vw, 1.25rem); }
}

/* ---- CLIENTS BAR ---- */
@media (max-width: 768px) {
  .clients-bar { padding: 2.5rem 1.5rem; }
  .clients-ghost { gap: 0.4rem 1.5rem; }
}
@media (max-width: 480px) {
  .clients-bar { padding: 2rem 1.25rem; }
  .clients-ghost { gap: 0.35rem 1.25rem; }
  .client-name { font-size: 0.95rem; }
}

/* ---- SURFACES GRID ---- */
@media (max-width: 768px) {
  .surfaces-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .surface-card { height: 260px; }
}
@media (max-width: 480px) {
  .surfaces-grid { grid-template-columns: 1fr; }
  .surface-card { height: 220px; }
}

/* ---- MARKET DEEP DIVES ---- */
@media (max-width: 768px) { .market-deep { padding: 3rem 1.5rem; } }
@media (max-width: 480px) {
  .market-deep { padding: 2.5rem 1.25rem; }
  .market-deep-body { font-size: 0.9rem; max-width: 100%; }
}

/* ---- NOTABLE GRID ---- */
@media (max-width: 768px) {
  .notable-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .notable-card { padding: 1.5rem; }
}
@media (max-width: 480px) { .notable-grid { grid-template-columns: 1fr; } }

/* ---- CLIENT ROSTER ---- */
@media (max-width: 768px) {
  .roster-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
@media (max-width: 480px) {
  .roster-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.4rem; }
  .roster-name { font-size: 0.78rem; padding: 0.5rem 0.75rem; }
}
@media (max-width: 375px) {
  .roster-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

/* ---- FOOTER ---- */
@media (max-width: 768px) {
  .site-footer { padding: 3rem 1.5rem 1.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .footer-tagline { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-top > div:first-child { grid-column: auto; }
}

/* ---- CTA BANDS ---- */
@media (max-width: 768px) {
  .cta-band { grid-template-columns: 1fr; gap: 2rem; padding: 4rem 1.5rem; }
  .cta-band-blue { padding: 4rem 1.5rem; }
  .cta-band-actions { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .cta-band { padding: 3rem 1.25rem; }
  .cta-band-blue { padding: 3rem 1.25rem; }
}

/* ---- DAN BLOCK ---- */
@media (max-width: 768px) {
  .dan-grid { grid-template-columns: 1fr; gap: 3rem; }
  .dan-stat-col { text-align: left; display: flex; align-items: center; gap: 1.5rem; order: 2; }
  .dan-grid > div:first-child { order: 1; }
  .dan-stat-num { font-size: 3.5rem; }
}
@media (max-width: 480px) {
  .dan-stat-col { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .dan-stat-num { font-size: 3rem; }
}

/* ---- CREDENTIALS BAR ---- */
@media (max-width: 768px) {
  .creds-bar { padding: 2.5rem 1.5rem; }
  .creds-bar-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (max-width: 480px) {
  .creds-bar { padding: 2rem 1.25rem; }
  .creds-bar-grid { gap: 1rem; }
  .cred-name { font-size: 0.72rem; }
  .cred-sub { font-size: 0.65rem; }
}

/* ---- TIMELINE ---- */
@media (max-width: 480px) {
  .timeline-item { grid-template-columns: 56px 1px 1fr; gap: 0 1.25rem; }
  .t-year { font-size: 1.1rem; }
}

/* ---- PAGE HEROES ---- */
@media (max-width: 768px) {
  .page-hero { min-height: 38vh; padding: calc(var(--nav-h) + 3rem) 1.5rem 3rem; }
  .page-hero-content { max-width: 100%; }
  .page-hero-sub { font-size: 0.9rem; max-width: 100%; }
}
@media (max-width: 480px) {
  .page-hero { min-height: 32vh; padding: calc(var(--nav-h) + 2.5rem) 1.25rem 2.5rem; }
}
@media (max-width: 375px) { .page-hero { min-height: 28vh; } }

/* ---- MISC ---- */
@media (max-width: 768px) { .gc-band { padding: 1.5rem 1.5rem; } }
@media (max-width: 480px) { .gc-band { padding: 1.25rem 1rem; } }
