/*
Theme Name: WilCo Creative
Theme URI: https://wilcocreative.net
Author: WilCo Creative
Author URI: https://wilcocreative.net
Description: Official WilCo Creative theme — Williamson Co. Creative Agency. Built for automotive, industrial, and hospitality visual storytelling.
Version: 2.5.5
License: Private
Text Domain: wilco-creative
*/

/* ===================================================
   BRAND VARIABLES
   Palette from Wilco_Minibrand_guide_v1:
   #3CD0FC  — Brand Cyan (primary accent)
   #1FA6D9  — Mid Blue
   #177CA9  — Deep Blue
   #104862  — Navy
   #000000  — Black
   #FFFFFF  — White
   Font: Montserrat
=================================================== */
:root {
  /* Backgrounds */
  --bg:          #05080d;
  --bg-2:        #080d14;
  --bg-card:     #0c1420;
  --bg-dark:     #000000;

  /* Brand blues */
  --blue-light:  #3CD0FC;
  --blue-mid:    #1FA6D9;
  --blue-deep:   #177CA9;
  --blue-navy:   #104862;

  /* Accent = brand cyan */
  --accent:      #3CD0FC;
  --accent-dim:  rgba(60, 208, 252, 0.10);
  --accent-glow: rgba(60, 208, 252, 0.20);

  /* Text */
  --white:       #FFFFFF;
  --off-white:   #E8EDF2;
  --grey:        #7A8A9A;
  --grey-mid:    #445566;

  /* Borders */
  --border:      rgba(60, 208, 252, 0.08);
  --border-mid:  rgba(60, 208, 252, 0.15);

  /* Typography */
  --font-head:   'Montserrat', sans-serif;
  --font-body:   'Montserrat', sans-serif;

  /* Layout */
  --max:         1280px;
  --transition:  0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===================================================
   RESET
=================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--off-white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===================================================
   TYPOGRAPHY
=================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ===================================================
   LAYOUT
=================================================== */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 768px) { .container { padding: 0 20px; } }

.section-pad { padding: 120px 0; }
@media (max-width: 768px) { .section-pad { padding: 72px 0; } }

/* ===================================================
   NAVIGATION
=================================================== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

#site-header.scrolled {
  background: rgba(5, 8, 13, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}

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

/* Logo image in nav */
.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(232, 237, 242, 0.6);
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta {
  color: var(--bg) !important;
  background: var(--accent);
  padding: 11px 24px;
  border-radius: 2px;
  transition: background var(--transition), opacity var(--transition) !important;
}

.nav-cta:hover {
  background: var(--blue-mid) !important;
  color: var(--white) !important;
  opacity: 1 !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 0 24px; }
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 84px; left: 0; right: 0; bottom: 0;
  background: rgba(5, 8, 13, 0.98);
  z-index: 999;
  padding: 48px 24px;
  flex-direction: column;
  gap: 32px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: rgba(232,237,242,0.5);
  transition: color var(--transition);
}

.mobile-nav a:hover { color: var(--white); }

/* ===================================================
   HERO
=================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5,8,13,0.25) 0%,
    rgba(5,8,13,0.20) 40%,
    rgba(5,8,13,0.82) 78%,
    rgba(5,8,13,1.00) 100%
  );
}

/* Blue light streak — brand signature */
.hero-streak {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 45%;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero.ready .hero-eyebrow { opacity: 1; transform: translateY(0); }

.hero-headline {
  font-size: clamp(48px, 6.5vw, 92px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--white);
  max-width: 820px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s ease 0.4s, transform 0.9s ease 0.4s;
}

.hero.ready .hero-headline { opacity: 1; transform: translateY(0); }

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(232,237,242,0.65);
  max-width: 460px;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease 0.58s, transform 0.9s ease 0.58s;
}

.hero.ready .hero-sub { opacity: 1; transform: translateY(0); }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease 0.72s, transform 0.9s ease 0.72s;
}

.hero.ready .hero-actions { opacity: 1; transform: translateY(0); }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  opacity: 0;
  transition: opacity 1s ease 1.1s;
}

.hero.ready .hero-scroll { opacity: 1; }

.hero-scroll span {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* ===================================================
   BUTTONS
=================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: var(--accent);
  padding: 15px 36px;
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: var(--blue-mid);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--off-white);
  border: 1px solid var(--border-mid);
  padding: 15px 36px;
  border-radius: 2px;
  transition: border-color var(--transition), color var(--transition);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===================================================
   CREDENTIALS BAR
=================================================== */
.credentials {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.credentials-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.credential-num {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.credential-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--grey);
  line-height: 1.4;
  max-width: 130px;
}

.credential-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

@media (max-width: 768px) {
  .credentials-inner { justify-content: center; gap: 24px; }
  .credential-divider { display: none; }
}

/* ===================================================
   SERVICES
=================================================== */
.services { padding: 120px 0; background: var(--bg); }

.section-header { margin-bottom: 72px; }

.section-title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 14px;
  margin-bottom: 20px;
}

.section-intro {
  font-size: 16px;
  font-weight: 400;
  color: var(--grey);
  max-width: 500px;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
}

@media (max-width: 768px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--bg);
  padding: 52px 44px;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--blue-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover { background: var(--bg-card); }
.service-card:hover::before { transform: scaleX(1); }

.service-num {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 28px;
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--white);
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--grey);
  line-height: 1.75;
  margin-bottom: 32px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-mid);
  border: 1px solid rgba(31, 166, 217, 0.25);
  padding: 5px 12px;
  border-radius: 1px;
}

/* ===================================================
   WORK / PORTFOLIO
=================================================== */
.work { padding: 120px 0; background: var(--bg-2); }

.work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
  gap: 24px;
  flex-wrap: wrap;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 3px;
}

.work-grid .item-wide  { grid-column: span 2; }
.work-grid .item-tall  { grid-row: span 2; }

@media (max-width: 1024px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid .item-wide { grid-column: span 1; }
}

@media (max-width: 640px) {
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .work-grid .item-tall { grid-row: span 1; }
}

.work-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
}

.work-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-item:hover img { transform: scale(1.06); }

.work-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,8,13,0.92) 0%, rgba(5,8,13,0.1) 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

/* Blue accent line on hover */
.work-item-overlay::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--blue-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease 0.1s;
}

.work-item:hover .work-item-overlay { opacity: 1; }
.work-item:hover .work-item-overlay::before { transform: scaleX(1); }

.work-item-client {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.work-item-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

/* ===================================================
   CASE STUDY FEATURE
=================================================== */
.case-feature { padding: 120px 0; background: var(--bg); }

.case-feature-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) {
  .case-feature-inner { grid-template-columns: 1fr; gap: 48px; }
}

.case-feature-visual {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.case-feature-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.case-feature-visual:hover img { transform: scale(1.03); }

.case-feature-badge {
  position: absolute;
  top: 24px; left: 24px;
  background: var(--accent);
  color: var(--bg-dark);
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 1px;
}

/* Blue corner accent on feature image */
.case-feature-visual::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--blue-mid), transparent);
}

.case-feature-title {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 20px;
  margin-top: 16px;
  line-height: 1.08;
}

.case-feature-desc {
  font-size: 15px;
  font-weight: 400;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 36px;
}

.case-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.case-stat-num {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  display: block;
}

.case-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--grey);
  margin-top: 4px;
}

/* ===================================================
   INDUSTRIES
=================================================== */
.industries {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  margin-top: 56px;
}

@media (max-width: 900px)  { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .industries-grid { grid-template-columns: 1fr; } }

.industry-card {
  background: var(--bg-2);
  padding: 44px 32px;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}

.industry-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.industry-card:hover { background: var(--bg-card); }
.industry-card:hover::after { transform: scaleX(1); }

.industry-icon { font-size: 28px; margin-bottom: 20px; display: block; }

.industry-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.industry-desc {
  font-size: 13px;
  font-weight: 400;
  color: var(--grey);
  line-height: 1.65;
}

/* ===================================================
   PROCESS
=================================================== */
.process { padding: 120px 0; background: var(--bg); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 72px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), var(--blue-mid), transparent);
  opacity: 0.5;
}

@media (max-width: 900px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}

@media (max-width: 480px) { .process-steps { grid-template-columns: 1fr; } }

.process-step { padding: 0 28px; text-align: center; }

.process-step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto 28px;
  background: var(--bg);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(60, 208, 252, 0.15);
}

.process-step-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.process-step-desc {
  font-size: 13px;
  font-weight: 400;
  color: var(--grey);
  line-height: 1.7;
}

/* ===================================================
   ABOUT / CTA
=================================================== */
.about-cta {
  padding: 140px 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

/* Brand gradient glow */
.about-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 70% at 50% 50%, rgba(60,208,252,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.about-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

@media (max-width: 900px) {
  .about-cta-inner { grid-template-columns: 1fr; gap: 56px; }
}

.about-cta-title {
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  margin-top: 16px;
}

.about-cta-title em { font-style: normal; color: var(--accent); }

.about-cta-body {
  font-size: 16px;
  font-weight: 400;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 28px;
}

.about-cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.about-cta-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

.acta-card {
  background: var(--bg-2);
  padding: 36px 28px;
  transition: background var(--transition);
}

.acta-card:hover { background: var(--bg-card); }

.acta-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  line-height: 1;
}

.acta-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--grey);
  line-height: 1.5;
}

/* ===================================================
   FOOTER
=================================================== */
#site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 72px 0 40px;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
}

@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 580px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-inner { padding: 0 20px; }
}

.footer-logo { height: 36px; width: auto; margin-bottom: 20px; }

.footer-tagline {
  font-size: 13px;
  font-weight: 400;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 260px;
}

.footer-email {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.03em;
  transition: color var(--transition);
}

.footer-email:hover { color: var(--blue-mid); }

.footer-col-title {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 12px; }

.footer-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--grey);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy { font-size: 11px; font-weight: 400; color: var(--grey-mid); }

.footer-legal { display: flex; gap: 24px; }

.footer-legal a {
  font-size: 11px;
  color: var(--grey-mid);
  transition: color var(--transition);
}

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

/* ===================================================
   PAGE HERO (inner pages)
=================================================== */
.page-hero {
  padding: 160px 0 80px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--blue-mid), transparent);
  opacity: 0.7;
}

.page-hero-title {
  font-size: clamp(38px, 5.5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 900px;
  line-height: 1.05;
}

.page-hero-sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--grey);
  max-width: 540px;
  line-height: 1.75;
}

/* ===================================================
   CASE STUDY PAGE
=================================================== */
.cs-overview { padding: 100px 0; background: var(--bg); }

.cs-overview-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 900px) { .cs-overview-grid { grid-template-columns: 1fr; gap: 48px; } }

.cs-meta { position: sticky; top: 104px; }

.cs-meta-item {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.cs-meta-item:last-child { border-bottom: none; }

.cs-meta-label {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 8px;
}

.cs-meta-value { font-size: 14px; font-weight: 400; color: var(--off-white); line-height: 1.6; }

.cs-stats-row {
  display: flex;
  background: var(--bg-2);
  border: 1px solid var(--border);
  margin: 60px 0;
}

.cs-stat {
  flex: 1;
  padding: 36px 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}

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

.cs-stat-num {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  display: block;
}

.cs-stat-label { font-size: 12px; font-weight: 500; color: var(--grey); margin-top: 6px; }

@media (max-width: 640px) {
  .cs-stats-row { flex-direction: column; }
  .cs-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .cs-stat:last-child { border-bottom: none; }
}

.cs-content-block { margin-bottom: 72px; }

.cs-content-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.cs-content-body {
  font-size: 15px;
  font-weight: 400;
  color: rgba(232,237,242,0.72);
  line-height: 1.85;
}

.cs-content-body p { margin-bottom: 18px; }

.cs-image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-bottom: 72px;
}

@media (max-width: 640px) { .cs-image-row { grid-template-columns: 1fr; } }

.cs-image-row img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.cs-image-full { margin-bottom: 72px; }

.cs-image-full img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  object-position: center 35%;
}

.cs-deliverables {
  background: var(--bg-2);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  margin-top: 48px;
}

@media (max-width: 768px) { .deliverables-grid { grid-template-columns: 1fr 1fr; } }

.deliverable-item {
  background: var(--bg-2);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.deliverable-icon { font-size: 22px; flex-shrink: 0; }

.deliverable-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--off-white);
}

.cs-next { padding: 100px 0; background: var(--bg); text-align: center; }

/* ===================================================
   SERVICES PAGE
=================================================== */
.services-full { padding: 100px 0; background: var(--bg); }

.service-full-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.service-full-block:last-child { border-bottom: none; }
.service-full-block.reverse { direction: rtl; }
.service-full-block.reverse > * { direction: ltr; }

@media (max-width: 900px) {
  .service-full-block { grid-template-columns: 1fr; direction: ltr; gap: 48px; }
  .service-full-block.reverse > * { direction: ltr; }
}

.service-full-img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.service-full-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), transparent);
}

.service-full-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-full-img:hover img { transform: scale(1.04); }

.service-full-title {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 18px;
  margin-top: 14px;
}

.service-full-desc {
  font-size: 15px;
  font-weight: 400;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 28px;
}

.service-full-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }

.service-full-list li {
  font-size: 13px;
  font-weight: 400;
  color: var(--off-white);
  padding-left: 18px;
  position: relative;
}

.service-full-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 1px;
  background: var(--accent);
}

/* ===================================================
   CONTACT PAGE
=================================================== */
.contact-section { padding: 100px 0 120px; background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
  align-items: start;
}

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 60px; } }

.contact-info-label {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 8px;
}

.contact-info-val {
  font-size: 15px;
  font-weight: 400;
  color: var(--off-white);
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-info-val a { color: var(--accent); transition: color var(--transition); }
.contact-info-val a:hover { color: var(--blue-mid); }

.form-group { margin-bottom: 22px; }

.form-label {
  display: block;
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 10px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  padding: 14px 18px;
  border-radius: 2px;
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(60,208,252,0.08);
}

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 580px) { .form-row { grid-template-columns: 1fr; } }

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: var(--accent);
  padding: 16px 40px;
  border-radius: 2px;
  width: 100%;
  margin-top: 8px;
  transition: background var(--transition), transform var(--transition);
}

.form-submit:hover {
  background: var(--blue-mid);
  color: var(--white);
  transform: translateY(-1px);
}

/* ===================================================
   SCROLL REVEAL
=================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===================================================
   UTILITY
=================================================== */
.text-accent  { color: var(--accent); }
.text-grey    { color: var(--grey); }
.text-center  { text-align: center; }

.gradient-text {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================================
   JETPACK CONTACT FORM — themed to match WilCo brand
   Wraps Jetpack's [contact-form] output (.wilco-jetpack-form)
   and restyles its generic fields to mirror .form-input etc.
=================================================== */
.wilco-jetpack-form .grunion-field-label,
.wilco-jetpack-form label {
  display: block;
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 10px;
}

.wilco-jetpack-form input[type="text"],
.wilco-jetpack-form input[type="email"],
.wilco-jetpack-form input[type="url"],
.wilco-jetpack-form input[type="tel"],
.wilco-jetpack-form textarea,
.wilco-jetpack-form select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  padding: 14px 18px;
  border-radius: 2px;
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
  margin: 0;
}

.wilco-jetpack-form input:focus,
.wilco-jetpack-form textarea:focus,
.wilco-jetpack-form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(60,208,252,0.08);
}

.wilco-jetpack-form textarea { resize: vertical; min-height: 140px; }

/* Spacing between Jetpack field wrappers */
.wilco-jetpack-form .grunion-field-wrap,
.wilco-jetpack-form .contact-form label {
  margin-bottom: 22px;
}

/* Submit button */
.wilco-jetpack-form button[type="submit"],
.wilco-jetpack-form input[type="submit"],
.wilco-jetpack-form .pushbutton-wide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: var(--accent);
  padding: 16px 40px;
  border: none;
  border-radius: 2px;
  width: 100%;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.wilco-jetpack-form button[type="submit"]:hover,
.wilco-jetpack-form input[type="submit"]:hover,
.wilco-jetpack-form .pushbutton-wide:hover {
  background: var(--blue-mid);
  color: var(--white);
  transform: translateY(-1px);
}

/* Jetpack's success / error notices */
.wilco-jetpack-form .contact-form-submission,
.wilco-jetpack-form .grunion-error,
.wilco-jetpack-form .form-error {
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  color: var(--grey);
  padding: 20px;
  border-radius: 2px;
  font-size: 14px;
}

/* ===================================================
   CONTACT FORM SUCCESS MESSAGE (post-submit, ?sent=1)
   On-brand confirmation that replaces Jetpack's default
   "Back / Thank you for your response" banner.
=================================================== */
.form-success {
  background: rgba(0, 200, 120, 0.08);
  border: 1px solid rgba(0, 200, 120, 0.35);
  padding: 24px;
  border-radius: 2px;
  margin-bottom: 32px;
}
.form-success-title {
  color: #00c878;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}
.form-success-text {
  color: var(--grey);
  font-size: 14px;
  margin-top: 8px;
}

/* ===================================================
   Hide Jetpack's inline AJAX success block.
   Jetpack's new Interactivity form ships its "Thank you for your
   response / Back" success block in the markup and is supposed to keep
   it hidden until submit, but its runtime doesn't initialize reliably
   when the form is rendered in this template — so it shows on page load.
   We force it hidden and drive our own .form-success confirmation
   (see #wilco-contact-confirm script in page-contact.php).
=================================================== */
.wilco-jetpack-form .contact-form-submission { display: none !important; }

/* ===================================================
   FEATURED SERVICES (homepage "What We Do")
=================================================== */
.service-card.is-featured { background: var(--bg-card); }
.service-card.is-featured::before { transform: scaleX(1); }
.svc-feat-tag {
  display:inline-block; font-family:var(--font-head); font-size:9px; font-weight:700;
  letter-spacing:.2em; text-transform:uppercase; color:var(--accent);
  border:1px solid var(--accent); padding:5px 12px; border-radius:999px; margin-bottom:22px;
}

/* ===================================================
   RETAINER TIERS + SPECIALIZED RETAINERS
=================================================== */
.retainer-kicker { font-family:var(--font-head); font-weight:700; font-size:15px; letter-spacing:.18em; text-transform:uppercase; color:var(--accent); margin-bottom:8px; }
.retainer-sub { font-family:var(--font-body); font-size:15px; line-height:1.6; color:var(--grey); max-width:620px; margin:0 auto 36px; }
.tier-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:stretch; text-align:left; }
.tier { display:flex; flex-direction:column; background:var(--bg-card); border:1px solid var(--border); border-radius:3px; padding:38px 30px; }
.tier.is-popular { border:1px solid var(--accent); box-shadow:0 18px 60px rgba(60,208,252,.10); position:relative; }
.tier-badge { position:absolute; top:-12px; left:50%; transform:translateX(-50%); background:var(--accent); color:var(--bg-dark); font-family:var(--font-head); font-size:10px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; padding:6px 16px; border-radius:999px; white-space:nowrap; }
.tier-name { font-family:var(--font-head); font-weight:700; font-size:22px; color:var(--white); margin-bottom:6px; }
.tier-tag { font-family:var(--font-body); font-size:13.5px; color:var(--grey); margin-bottom:22px; }
.tier-price { font-family:var(--font-head); font-weight:800; font-size:34px; color:var(--accent); line-height:1; margin-bottom:2px; }
.tier-price span { font-size:14px; color:var(--grey); font-weight:500; }
.tier-price-note { font-family:var(--font-body); font-size:12px; color:var(--grey-mid); margin-bottom:26px; }
.tier-list { list-style:none; padding:0; margin:0 0 30px; display:flex; flex-direction:column; gap:13px; flex-grow:1; }
.tier-list li { position:relative; padding-left:24px; font-family:var(--font-body); font-size:14px; line-height:1.5; color:var(--off-white); }
.tier-list li::before { content:"\2713"; position:absolute; left:0; color:var(--accent); font-weight:700; }
.tier-cta { display:block; text-align:center; font-family:var(--font-head); font-size:11px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; padding:15px; border-radius:2px; text-decoration:none; transition:background var(--transition),color var(--transition),border-color var(--transition); }
.tier-cta.is-solid { background:var(--accent); color:var(--bg-dark); }
.tier-cta.is-solid:hover { background:var(--blue-mid); color:var(--white); }
.tier-cta.is-ghost { border:1px solid var(--border-mid); color:var(--accent); }
.tier-cta.is-ghost:hover { border-color:var(--accent); }
.spec-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:24px; text-align:left; }
.spec-card { background:var(--bg); border:1px solid var(--border); border-radius:3px; padding:34px 30px; display:flex; flex-direction:column; }
.spec-label { align-self:flex-start; font-family:var(--font-head); font-size:9px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; padding:5px 12px; border-radius:999px; margin-bottom:20px; }
.spec-label.is-flag { background:var(--accent); color:var(--bg-dark); }
.spec-label.is-addon { border:1px solid var(--border-mid); color:var(--accent); }
.spec-label.is-layer { border:1px solid var(--border-mid); color:var(--grey); }
.spec-name { font-family:var(--font-head); font-weight:700; font-size:21px; color:var(--white); margin-bottom:12px; }
.spec-desc { font-family:var(--font-body); font-size:14px; line-height:1.65; color:var(--grey); margin-bottom:18px; flex-grow:1; }
.spec-price { font-family:var(--font-head); font-weight:700; font-size:15px; color:var(--accent); }
@media (max-width: 900px) { .tier-grid, .spec-grid { grid-template-columns:1fr; } }

/* Retainer tier output callout (asset volume + production days) */
.tier-output { background: var(--accent-dim); border: 1px solid var(--border-mid); border-radius: 2px; padding: 16px 18px; margin-bottom: 24px; }
.tier-output .out-assets { display: flex; flex-direction: column; gap: 3px; font-family: var(--font-head); line-height: 1; }
.tier-output .out-assets .out-num { color: var(--accent); font-weight: 800; font-size: 34px; letter-spacing: -.02em; }
.tier-output .out-assets .out-lbl { font-family: var(--font-body); font-weight: 500; font-size: 12.5px; color: var(--grey); letter-spacing: .02em; }
.tier-output .out-sub { font-family: var(--font-body); font-size: 12.5px; color: var(--grey); margin-top: 8px; }
.tier-output .out-sub strong { color: var(--off-white); font-weight: 600; }

/* ===================================================
   HOMEPAGE RETAINER TEASER
=================================================== */
.rt-teaser-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-bottom:36px; }
.rt-teaser-card { background:var(--bg-card); border:1px solid var(--border); border-radius:3px; padding:30px 28px; display:flex; flex-direction:column; position:relative; }
.rt-teaser-card.is-pop { border:1px solid var(--accent); box-shadow:0 18px 50px rgba(60,208,252,.10); }
.rt-teaser-badge { position:absolute; top:-11px; left:28px; background:var(--accent); color:var(--bg-dark); font-family:var(--font-head); font-size:9px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; padding:5px 12px; border-radius:999px; }
.rt-teaser-name { font-family:var(--font-head); font-weight:700; font-size:20px; color:var(--white); margin-bottom:6px; }
.rt-teaser-tag { font-family:var(--font-body); font-size:13px; color:var(--grey); margin-bottom:16px; }
.rt-teaser-price { font-family:var(--font-head); font-weight:800; font-size:26px; color:var(--accent); line-height:1; margin-bottom:4px; }
.rt-teaser-price span { font-size:13px; color:var(--grey); font-weight:500; }
.rt-teaser-out { display:flex; flex-direction:column; gap:2px; line-height:1; margin-bottom:18px; }
.rt-teaser-out .rt-teaser-num { font-family:var(--font-head); font-weight:800; font-size:28px; color:var(--accent); letter-spacing:-.02em; }
.rt-teaser-out .rt-teaser-lbl { font-family:var(--font-body); font-weight:500; font-size:12.5px; color:var(--grey); }
.rt-teaser-link { margin-top:auto; font-family:var(--font-head); font-size:10px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); text-decoration:none; }
@media (max-width:850px){ .rt-teaser-grid{ grid-template-columns:1fr; } }

/* ===================================================
   RETAINERS PAGE (dedicated)
=================================================== */
.rt-sectitle { font-family:var(--font-head); font-weight:800; font-size:clamp(28px,3.5vw,44px); color:var(--white); letter-spacing:-.01em; line-height:1.05; margin:0 0 18px; }
.rt-why { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:8px; }
.rt-why-card { background:var(--bg-card); border:1px solid var(--border); border-radius:3px; padding:34px 30px; }
.rt-why-num { font-family:var(--font-head); font-weight:800; font-size:13px; letter-spacing:.2em; color:var(--accent); margin-bottom:16px; }
.rt-why-title { font-family:var(--font-head); font-weight:700; font-size:20px; color:var(--white); margin-bottom:12px; }
.rt-why-text { font-family:var(--font-body); font-size:14px; line-height:1.65; color:var(--grey); }
.rt-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:8px; }
.rt-step { border-top:2px solid var(--border-mid); padding-top:22px; }
.rt-step-num { font-family:var(--font-head); font-weight:800; font-size:28px; color:var(--accent); line-height:1; margin-bottom:14px; }
.rt-step-title { font-family:var(--font-head); font-weight:700; font-size:17px; color:var(--white); margin-bottom:10px; }
.rt-step-text { font-family:var(--font-body); font-size:13.5px; line-height:1.6; color:var(--grey); }
@media (max-width:900px){ .rt-why, .rt-steps { grid-template-columns:1fr; } }


/* ===================================================
   CASE STUDY PAGES (cs-*) — shared across case studies
=================================================== */
/* ─── CASE STUDY PAGE STYLES ────────────────────────── */
.cs-page { padding-top: 0; }
.cs-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* HERO */
.cs-hero {
    position: relative; min-height: 90vh;
    display: flex; align-items: flex-end; padding-bottom: 80px;
    overflow: hidden;
}
.cs-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center 30%;
    transform: scale(1.05);
    transition: transform 8s ease;
}
.cs-hero:hover .cs-hero-bg { transform: scale(1.0); }
.cs-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.30) 45%, rgba(0,0,0,.10) 100%);
}
.cs-hero-content { position: relative; z-index: 2; padding: 0 60px; max-width: 1200px; margin: 0 auto; width: 100%; }
.cs-breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.cs-breadcrumb a { color: rgba(255,255,255,.5); transition: color .3s; }
.cs-breadcrumb a:hover { color: var(--accent); }
.cs-breadcrumb span:last-child { color: var(--accent); }
.cs-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.cs-tag { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(60,208,252,.3); border-radius: 4px; padding: 4px 12px; }
.cs-hero-title { font-size: clamp(48px,7vw,96px); font-weight: 900; color: #fff; letter-spacing: -.04em; line-height: 1; margin-bottom: 16px; }
.cs-hero-sub { font-size: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.cs-hero-scroll { position: absolute; right: 48px; bottom: 48px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cs-scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, transparent, var(--accent)); animation: scrollPulse 2s ease infinite; }
.cs-hero-scroll span { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
@keyframes scrollPulse { 0%,100%{opacity:.4} 50%{opacity:1} }

/* SHARED */
.cs-section { padding: 100px 0; }
.cs-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 12px; }
.cs-section-title { font-size: clamp(32px,4vw,52px); font-weight: 900; color: var(--white); letter-spacing: -.03em; line-height: 1.05; margin-bottom: 32px; }
.cs-body { font-size: 16px; color: var(--grey); line-height: 1.8; margin-bottom: 20px; max-width: 560px; }
.cs-body--wide { max-width: 720px; }

/* OVERVIEW */
.cs-overview { background: var(--bg); padding-bottom: 0; }
.cs-overview-content { max-width: 760px; padding: 100px 40px 80px; margin: 0 auto; text-align: center; }
.cs-overview-content .cs-body { margin: 0 auto 20px; }
.cs-stats-strip { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px 0; }
.cs-stats-grid { display: flex; align-items: center; justify-content: center; gap: 0; }
.cs-stat { text-align: center; padding: 0 60px; }
.cs-stat-num { display: block; font-size: clamp(40px,5vw,64px); font-weight: 900; color: var(--accent); letter-spacing: -.04em; line-height: 1; }
.cs-stat-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-mid); margin-top: 8px; }
.cs-stat-divider { width: 1px; height: 60px; background: var(--border-mid); flex-shrink: 0; }

/* BRIEF */
.cs-brief { background: #080c12; }
.cs-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.cs-col-title { font-size: clamp(22px,2.5vw,32px); font-weight: 800; color: var(--white); letter-spacing: -.02em; margin-bottom: 20px; line-height: 1.1; }

/* PRODUCTION */
.cs-production { background: var(--bg); }
.cs-prod-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 2px; align-items: stretch; min-height: 520px; }
.cs-prod-row--reverse { direction: rtl; }
.cs-prod-row--reverse > * { direction: ltr; }
.cs-prod-image { overflow: hidden; position: relative; }
.cs-prod-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.cs-prod-row:hover .cs-prod-image img { transform: scale(1.03); }
.cs-prod-text { background: var(--bg-card); padding: 60px 56px; display: flex; flex-direction: column; justify-content: center; }
.cs-prod-title { font-size: clamp(24px,2.5vw,36px); font-weight: 800; color: var(--white); letter-spacing: -.025em; line-height: 1.1; margin-bottom: 20px; }
.cs-prod-text .cs-body { max-width: 100%; }

/* GALLERY */
.cs-gallery-section { background: #000; }
.cs-gallery-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3px; }
.cs-gal-full  { grid-column: span 2; overflow: hidden; aspect-ratio: 16/9; }
.cs-gal-wide  { overflow: hidden; aspect-ratio: 3/2; }
.cs-gal-item  { overflow: hidden; aspect-ratio: 3/2; }
.cs-gal-half  { overflow: hidden; aspect-ratio: 4/3; }
.cs-gal-full img { width: 100%; height: 100%; object-fit: cover; object-position: center 80%; transition: transform .7s ease; }
.cs-gal-wide img, .cs-gal-item img, .cs-gal-half img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .7s ease; }
.cs-gal-full:hover img, .cs-gal-wide:hover img, .cs-gal-item:hover img, .cs-gal-half:hover img {
    transform: scale(1.04);
}

/* DELIVERABLES */
.cs-deliverables { background: var(--bg-dark); border-top: 1px solid var(--border); }
.cs-deliverables-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.cs-deliverables-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 900px; margin: 0 auto; }
.cs-deliverables-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.cs-deliverables-list li { font-size: 14px; color: var(--off-white); padding: 14px 16px 14px 20px; border-left: 2px solid var(--accent); background: rgba(60,208,252,.05); border-radius: 0 6px 6px 0; line-height: 1.5; }

/* OUTCOME */
.cs-outcome { background: var(--bg-2); }
.cs-outcome-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.cs-outcome-image { position: relative; border-radius: 12px; overflow: hidden; }
.cs-outcome-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.cs-outcome-badge {
    position: absolute; bottom: 24px; right: 24px;
    background: rgba(0,0,0,.85); border: 1px solid var(--border-mid);
    border-radius: 10px; padding: 16px 24px; text-align: center; backdrop-filter: blur(12px);
}
.cs-outcome-badge-num { display: block; font-size: 36px; font-weight: 900; color: var(--accent); letter-spacing: -.03em; }
.cs-outcome-badge-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-mid); margin-top: 4px; }

/* CTA */
.cs-cta { background: #000; border-top: 1px solid var(--border); padding: 100px 0; }
.cs-cta-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 40px; }
.cs-cta-title { font-size: clamp(32px,4vw,56px); font-weight: 900; color: var(--white); letter-spacing: -.035em; line-height: 1.05; margin-bottom: 16px; }
.cs-cta-sub { font-size: 16px; color: var(--grey); max-width: 480px; line-height: 1.7; }
.cs-cta-actions { display: flex; gap: 16px; flex-wrap: wrap; flex-shrink: 0; }

/* RESPONSIVE */
@media(max-width:960px){
    .cs-two-col, .cs-prod-row, .cs-outcome-inner, .cs-deliverables-grid { grid-template-columns: 1fr; }
    .cs-prod-row--reverse { direction: ltr; }
    .cs-prod-row { min-height: auto; }
    .cs-prod-image { aspect-ratio: 16/9; }
    .cs-gallery-grid { grid-template-columns: 1fr; }
    .cs-gal-full, .cs-gal-wide, .cs-gal-item, .cs-gal-half { grid-column: span 1; aspect-ratio: 16/9; }
    .cs-stats-grid { flex-wrap: wrap; gap: 32px; }
    .cs-stat-divider { display: none; }
    .cs-hero-content { padding: 0 24px; }
    .cs-cta-inner { flex-direction: column; }
    .cs-container { padding: 0 24px; }
    .cs-overview-content { padding: 60px 24px 48px; }
}

/* ===================================================
   MOBILE SAFETY NET (v49)
   Forces side-by-side layouts to stack on phones, even
   where a grid was set inline or inside a per-template
   <style> block (which would otherwise win on source
   order). !important guarantees the collapse.
=================================================== */
@media (max-width: 900px) {
  .cs-two-col,
  .cs-prod-row,
  .cs-outcome-inner,
  .cs-deliverables-grid,
  .iams-line-inner {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }
}
@media (max-width: 640px) {
  /* Inline 2-up card grids: homepage Work, Work index, IAMS sections */
  .wilco-stack-2 { grid-template-columns: 1fr !important; }
  /* Multi-up galleries -> single column on phones */
  .iams-gallery-grid,
  .ggc-gallery-grid,
  .cs-gallery-grid { grid-template-columns: 1fr !important; }
  /* Trim oversized inline card padding once cards are full-width */
  [style*="padding:44px"] { padding: 26px !important; }
  [style*="padding:36px"] { padding: 24px !important; }
}

/* ===================================================
   MOBILE HERO / BANNER SIZING (v50)
   100vh + min-height:700px forced full-bleed wide images
   to crop into a zoomed vertical slice on phones, and
   100vh is buggy under the iOS Safari toolbar. Shorter,
   svh-based heights show more of the image and sit flush.
=================================================== */
@media (max-width: 768px) {
  .hero { height: auto !important; min-height: 60svh !important; padding-bottom: 48px; }
  .hero-bg, .hero-bg-rotator { background-position: center center !important; }
  .cs-hero { min-height: 56svh !important; }
  .cs-hero-bg { background-position: center center !important; }
}
/* Fallback for older iOS without the svh unit */
@supports not (height: 1svh) {
  @media (max-width: 768px) {
    .hero { min-height: 60vh !important; }
    .cs-hero { min-height: 56vh !important; }
  }
}

/* ===================================================
   MOBILE HERO TEXT (v51)
   The headline was sizing to 48px+ on phones, growing
   the text block until it collided with the fixed
   header/logo. Tighten type + stack buttons full-width.
=================================================== */
@media (max-width: 600px) {
  .hero-content { padding: 0 22px; }
  .hero-eyebrow { font-size: 9px; letter-spacing: .16em; margin-bottom: 13px; gap: 8px; flex-wrap: wrap; }
  .hero-eyebrow::before { width: 18px; }
  .hero-headline { font-size: clamp(30px, 9vw, 44px) !important; line-height: 1.04; margin-bottom: 18px; max-width: 100%; }
  .hero-sub { font-size: 15px; line-height: 1.6; max-width: 100%; margin-bottom: 26px; }
  .hero-actions { gap: 12px; width: 100%; }
  .hero-actions a { flex: 1 1 100%; justify-content: center; }
  .hero { padding-bottom: 40px; }
  .hero-scroll { display: none; }
  .cs-hero-title { font-size: clamp(38px, 12vw, 60px) !important; }
  .cs-hero-scroll { display: none; }
}

/* v53 mobile "banner on top" experiment removed in v54 —
   hero is now a single full-bleed, center-composed image
   that crops cleanly on both desktop and mobile. */
