:root {
  --wortley-black: #1A1A1A;
  --wortley-deep-black: #0D0D0D;
  --wortley-yellow: #F5A623;
  --wortley-yellow-hot: #FFB82E;
  --wortley-gray: #B8B8B8;
  --wortley-dark-gray: #2A2A2A;
  --wortley-concrete: #6B6B6B;
  --wortley-off-white: #FAFAF7;
  --wortley-warm-white: #F4F1EC;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--wortley-off-white);
  color: var(--wortley-black);
  line-height: 1.6;
  overflow-x: hidden;
}

.display-font {
  font-family: 'Archivo Black', sans-serif;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.95;
}

.mono-font { font-family: 'IBM Plex Mono', monospace; }

/* HAZARD STRIPE */
.hazard-stripe {
  height: 12px;
  background: repeating-linear-gradient(
    -45deg,
    var(--wortley-yellow) 0 20px,
    var(--wortley-black) 20px 40px
  );
  width: 100%;
}

/* ====== NAV ====== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245, 166, 35, 0.2);
  padding: 16px 0;
  transition: padding 0.3s ease;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--wortley-off-white);
  text-decoration: none;
  font-family: 'Archivo Black', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-logo-mark {
  width: 44px;
  height: 40px;
  flex-shrink: 0;
}

.nav-logo-mark polygon[fill="#1A1A1A"] {
  fill: #FAFAF7;
}

.nav-logo-mark rect[fill="#F5A623"],
.nav-logo-mark polygon[fill="#F5A623"] {
  fill: #F5A623;
}

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

.nav-links a {
  color: var(--wortley-off-white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--wortley-yellow);
  transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--wortley-yellow); }

.nav-cta {
  background: var(--wortley-yellow);
  color: var(--wortley-black);
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  border: 2px solid var(--wortley-yellow);
}

.nav-cta:hover {
  background: var(--wortley-black);
  color: var(--wortley-yellow);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 2px solid var(--wortley-yellow);
  color: var(--wortley-yellow);
  padding: 8px 12px;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 12px;
}

/* ====== HERO ====== */
.hero {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at top right, rgba(245, 166, 35, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(245, 166, 35, 0.05) 0%, transparent 50%),
    linear-gradient(135deg, var(--wortley-deep-black) 0%, var(--wortley-black) 50%, var(--wortley-deep-black) 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding: 140px 40px 80px;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent 0 40px,
      rgba(245, 166, 35, 0.015) 40px 41px
    ),
    repeating-linear-gradient(
      45deg,
      transparent 0 40px,
      rgba(255, 255, 255, 0.01) 40px 41px
    );
  pointer-events: none;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(245, 166, 35, 0.06) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-meta {
  color: var(--wortley-yellow);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  flex-wrap: wrap;
}

.hero-logo {
  width: 88px;
  height: 80px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.1s forwards;
}

.hero-meta::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--wortley-yellow);
}

.hero h1 {
  color: var(--wortley-off-white);
  font-size: clamp(48px, 7vw, 104px);
  font-family: 'Archivo Black', sans-serif;
  text-transform: uppercase;
  line-height: 0.92;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero h1 .yellow { color: var(--wortley-yellow); display: inline-block; }
.hero h1 .outline {
  -webkit-text-stroke: 2px var(--wortley-off-white);
  color: transparent;
  display: inline-block;
}

.hero-sub {
  color: var(--wortley-gray);
  font-size: clamp(16px, 1.6vw, 20px);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.5;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

.btn-primary {
  background: var(--wortley-yellow);
  color: var(--wortley-black);
  padding: 20px 36px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
  border: 2px solid var(--wortley-yellow);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--wortley-black);
  transition: left 0.3s;
  z-index: -1;
}

.btn-primary:hover { color: var(--wortley-yellow); }
.btn-primary:hover::before { left: 0; }

.btn-secondary {
  background: transparent;
  color: var(--wortley-off-white);
  padding: 20px 36px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
  border: 2px solid var(--wortley-off-white);
}

.btn-secondary:hover {
  background: var(--wortley-off-white);
  color: var(--wortley-black);
}

/* Stats card on hero right */
.hero-stats {
  background: rgba(13, 13, 13, 0.85);
  border: 1px solid rgba(245, 166, 35, 0.3);
  padding: 40px;
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.9s forwards;
  position: relative;
}

.hero-stats::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 40px; height: 40px;
  border-top: 3px solid var(--wortley-yellow);
  border-left: 3px solid var(--wortley-yellow);
}

.hero-stats::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 40px; height: 40px;
  border-bottom: 3px solid var(--wortley-yellow);
  border-right: 3px solid var(--wortley-yellow);
}

.hero-stats-label {
  color: var(--wortley-yellow);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.stat-row {
  padding: 20px 0;
  border-bottom: 1px solid rgba(184, 184, 184, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.stat-row:last-child { border-bottom: none; }

.stat-value {
  color: var(--wortley-off-white);
  font-family: 'Archivo Black', sans-serif;
  font-size: 36px;
  line-height: 1;
}

.stat-value .unit {
  color: var(--wortley-yellow);
  font-size: 18px;
  margin-left: 4px;
}

.stat-label {
  color: var(--wortley-gray);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
  max-width: 140px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  color: var(--wortley-gray);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background: var(--wortley-yellow);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* ====== SECTION STRUCTURE ====== */
section {
  padding: 120px 40px;
  position: relative;
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--wortley-yellow);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--wortley-yellow);
}

.section-title {
  font-family: 'Archivo Black', sans-serif;
  text-transform: uppercase;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.section-title .yellow { color: var(--wortley-yellow); }

/* ====== SERVICES ====== */
.services {
  background: var(--wortley-black);
  color: var(--wortley-off-white);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background:
    linear-gradient(45deg, transparent 48%, rgba(245, 166, 35, 0.03) 49%, rgba(245, 166, 35, 0.03) 51%, transparent 52%);
  background-size: 30px 30px;
  pointer-events: none;
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}

.services-intro {
  color: var(--wortley-gray);
  font-size: 17px;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--wortley-yellow);
  position: relative;
  z-index: 2;
}

.service-card {
  background: var(--wortley-deep-black);
  padding: 48px 40px;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--wortley-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  background: var(--wortley-dark-gray);
  transform: translateY(-4px);
}

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

.service-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--wortley-yellow);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.service-name {
  font-family: 'Archivo Black', sans-serif;
  font-size: 36px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.service-desc {
  color: var(--wortley-gray);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
  flex-grow: 1;
}

.service-includes {
  list-style: none;
  margin-bottom: 32px;
}

.service-includes li {
  font-size: 13px;
  color: var(--wortley-off-white);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  letter-spacing: 0.03em;
}

.service-includes li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 10px; height: 2px;
  background: var(--wortley-yellow);
}

.service-link {
  color: var(--wortley-yellow);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.service-link::after {
  content: '→';
  transition: transform 0.2s;
  font-size: 16px;
}

.service-link:hover::after { transform: translateX(6px); }

/* ====== WORK GALLERY ====== */
.work {
  background: var(--wortley-off-white);
  position: relative;
}

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

.work-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--wortley-concrete);
  max-width: 300px;
  line-height: 1.6;
}

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

/* === COMING SOON STATE === */
.work-coming-soon {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px 0;
}

.work-cs-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--wortley-yellow);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.work-cs-tag::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--wortley-yellow);
}

.work-cs-tag::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--wortley-yellow);
  border-radius: 50%;
  animation: cs-pulse 1.5s ease-in-out infinite;
}

@keyframes cs-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

.work-cs-headline {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--wortley-black);
}

.work-cs-headline .yellow { color: var(--wortley-yellow); }

.work-cs-body {
  color: var(--wortley-concrete);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.work-cs-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-secondary-dark {
  background: transparent;
  color: var(--wortley-black);
  padding: 20px 32px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
  border: 2px solid var(--wortley-black);
}

.btn-secondary-dark:hover {
  background: var(--wortley-black);
  color: var(--wortley-yellow);
}

.work-cs-right {
  position: relative;
}

.work-cs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
}

.work-cs-tile {
  aspect-ratio: 1;
  background: var(--wortley-deep-black);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(245, 166, 35, 0.2);
  transition: all 0.3s ease;
}

.work-cs-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0 12px,
      rgba(245, 166, 35, 0.04) 12px 13px
    );
  pointer-events: none;
}

.work-cs-tile::after {
  content: 'COMING SOON';
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%) rotate(-12deg);
  font-family: 'Archivo Black', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(245, 166, 35, 0.5);
  border: 2px solid rgba(245, 166, 35, 0.5);
  padding: 6px 12px;
  white-space: nowrap;
}

.work-cs-tile:hover {
  border-color: var(--wortley-yellow);
  background: var(--wortley-dark-gray);
}

.work-cs-tile:hover::after {
  color: var(--wortley-yellow);
  border-color: var(--wortley-yellow);
}

.work-cs-tile-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--wortley-yellow);
  letter-spacing: 0.2em;
  position: relative;
  z-index: 1;
}

.work-cs-tile-label {
  font-family: 'Archivo Black', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--wortley-off-white);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.work-cs-tile-1 { background: var(--wortley-deep-black); }
.work-cs-tile-2 { background: var(--wortley-dark-gray); }
.work-cs-tile-3 { background: var(--wortley-dark-gray); }
.work-cs-tile-4 { background: var(--wortley-deep-black); }

.work-item {
  position: relative;
  overflow: hidden;
  background: var(--wortley-dark-gray);
  cursor: pointer;
}

.work-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(15%);
}

.work-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.work-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,13,13,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--wortley-off-white);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-item:hover .work-item-overlay { opacity: 1; }

.work-item-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--wortley-yellow);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.work-item-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
}

.work-item.wide { grid-column: span 3; grid-row: span 2; }
.work-item.tall { grid-column: span 2; grid-row: span 2; }
.work-item.square { grid-column: span 2; grid-row: span 1; }
.work-item.square-big { grid-column: span 2; grid-row: span 2; }
.work-item.small { grid-column: span 2; grid-row: span 1; }

/* ====== WHY SECTION ====== */
.why {
  background: var(--wortley-deep-black);
  color: var(--wortley-off-white);
  position: relative;
  overflow: hidden;
}

.why::before {
  content: 'CONCRETE';
  position: absolute;
  top: 50%;
  left: -2%;
  transform: translateY(-50%);
  font-family: 'Archivo Black', sans-serif;
  font-size: 22vw;
  color: rgba(245, 166, 35, 0.04);
  letter-spacing: -0.05em;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

.why-inner { position: relative; z-index: 1; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.why-card {
  padding: 40px 32px;
  border: 1px solid rgba(184, 184, 184, 0.15);
  background: rgba(26, 26, 26, 0.5);
  position: relative;
  transition: all 0.3s ease;
}

.why-card:hover {
  border-color: var(--wortley-yellow);
  transform: translateY(-6px);
}

.why-icon {
  width: 60px; height: 60px;
  background: var(--wortley-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 28px;
  color: var(--wortley-black);
  transform: skewX(-8deg);
}

.why-icon span { transform: skewX(8deg); }

.why-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.1;
}

.why-desc {
  color: var(--wortley-gray);
  font-size: 15px;
  line-height: 1.7;
}

/* ====== TRUST BAR ====== */
.trust-bar {
  background: var(--wortley-yellow);
  padding: 40px;
  color: var(--wortley-black);
}

.trust-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.trust-item {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(16px, 1.6vw, 22px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-item::before {
  content: '◆';
  color: var(--wortley-black);
  font-size: 14px;
}

/* ====== CONTACT ====== */
.contact {
  background: var(--wortley-warm-white);
  padding: 120px 40px;
}

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

.contact-info-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(36px, 4.5vw, 64px);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.contact-info-title .yellow { color: var(--wortley-yellow); }

.contact-lede {
  font-size: 17px;
  color: var(--wortley-concrete);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 460px;
}

.contact-detail {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(184, 184, 184, 0.4);
  align-items: center;
}

.contact-detail:last-child { border-bottom: none; }

.contact-detail-icon {
  width: 52px; height: 52px;
  background: var(--wortley-black);
  color: var(--wortley-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Archivo Black', sans-serif;
  transform: skewX(-8deg);
}

.contact-detail-icon span { transform: skewX(8deg); font-size: 18px; }

.contact-detail-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wortley-concrete);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-family: 'Archivo Black', sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--wortley-black);
  text-decoration: none;
}

.contact-detail-value:hover { color: var(--wortley-yellow); }

/* Form */
.contact-form-wrapper {
  background: var(--wortley-black);
  padding: 48px 40px;
  color: var(--wortley-off-white);
  position: relative;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 6px;
  background: var(--wortley-yellow);
}

.contact-form-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.contact-form-sub {
  color: var(--wortley-gray);
  font-size: 14px;
  margin-bottom: 32px;
}

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

.form-group label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wortley-yellow);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--wortley-gray);
  padding: 12px 0;
  color: var(--wortley-off-white);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  transition: border-color 0.3s;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 90px;
  font-family: 'IBM Plex Sans', sans-serif;
}

.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--wortley-black); color: var(--wortley-off-white); }

.form-submit {
  width: 100%;
  background: var(--wortley-yellow);
  color: var(--wortley-black);
  border: 2px solid var(--wortley-yellow);
  padding: 18px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 12px;
}

.form-submit:hover {
  background: transparent;
  color: var(--wortley-yellow);
}

.form-disclaimer {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--wortley-gray);
  text-align: center;
  margin-top: 16px;
  letter-spacing: 0.1em;
}

/* ====== FOOTER ====== */
footer {
  background: var(--wortley-deep-black);
  color: var(--wortley-gray);
  padding: 80px 40px 32px;
  position: relative;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  font-family: 'Archivo Black', sans-serif;
  font-size: 28px;
  color: var(--wortley-off-white);
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1;
}

.footer-logo {
  width: 60px;
  height: 55px;
  margin-bottom: 20px;
  display: block;
}

.footer-brand .yellow { color: var(--wortley-yellow); }

.footer-tag {
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-heading {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wortley-yellow);
  margin-bottom: 20px;
}

.footer-list { list-style: none; }
.footer-list li { padding: 6px 0; font-size: 14px; }

.footer-list a {
  color: var(--wortley-gray);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-list a:hover { color: var(--wortley-yellow); }

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 44px; height: 44px;
  border: 1px solid var(--wortley-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wortley-gray);
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--wortley-yellow);
  border-color: var(--wortley-yellow);
  color: var(--wortley-black);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(184, 184, 184, 0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-bottom a {
  color: var(--wortley-yellow);
  text-decoration: none;
}

/* ====== MOBILE ====== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-cta { display: none; }

  .hero {
    background-attachment: scroll;
    padding: 120px 24px 80px;
    min-height: auto;
  }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  section { padding: 80px 24px; }

  .services-header { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }
  .work-item.wide,
  .work-item.tall,
  .work-item.square,
  .work-item.square-big,
  .work-item.small {
    grid-column: span 1;
    grid-row: span 1;
  }
  .work-item.wide { grid-column: span 2; grid-row: span 2; }

  .work-coming-soon {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .work-cs-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .work-cs-ctas .btn-primary,
  .work-cs-ctas .btn-secondary-dark {
    justify-content: center;
    text-align: center;
  }

  .why-grid { grid-template-columns: 1fr; }

  .contact { padding: 80px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  footer { padding: 60px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }

  .hero h1 { font-size: clamp(40px, 12vw, 72px); }
  .section-title { font-size: clamp(32px, 9vw, 56px); }

  .scroll-indicator { display: none; }
}

/* Mobile menu open state */
.nav.menu-open .nav-links {
  display: flex;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--wortley-deep-black);
  flex-direction: column;
  padding: 24px 40px;
  border-bottom: 3px solid var(--wortley-yellow);
  gap: 20px;
}

/* Focus visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--wortley-yellow);
  outline-offset: 4px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Print */
@media print {
  .nav, .hero-ctas, .scroll-indicator, .contact-form-wrapper { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero { background-attachment: scroll; }
}

/* ====== BOOSIE CHATBOT ====== */
.boosie-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  background: var(--wortley-yellow);
  border: 3px solid var(--wortley-black);
  border-radius: 50%;
  cursor: pointer;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo Black', sans-serif;
  font-size: 11px;
  color: var(--wortley-black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  animation: boosieBounce 2.5s ease-in-out infinite;
}

.boosie-fab:hover {
  transform: scale(1.08);
  background: var(--wortley-yellow-hot);
}

.boosie-fab.open { animation: none; }

.boosie-fab-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 3px solid var(--wortley-yellow);
  animation: boosiePulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes boosieBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes boosiePulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}

.boosie-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px; height: 20px;
  background: var(--wortley-black);
  color: var(--wortley-yellow);
  border-radius: 50%;
  font-size: 11px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.boosie-panel {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 560px;
  max-height: calc(100vh - 140px);
  background: var(--wortley-off-white);
  border: 2px solid var(--wortley-black);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  display: none;
  flex-direction: column;
  z-index: 9999;
  overflow: hidden;
  animation: boosieSlideUp 0.3s ease;
}

.boosie-panel.open { display: flex; }

@keyframes boosieSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.boosie-header {
  background: var(--wortley-black);
  color: var(--wortley-off-white);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.boosie-avatar {
  width: 44px; height: 44px;
  background: var(--wortley-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo Black', sans-serif;
  font-size: 18px;
  color: var(--wortley-black);
  flex-shrink: 0;
  position: relative;
}

.boosie-avatar::after {
  content: '';
  position: absolute;
  bottom: 2px; right: 2px;
  width: 10px; height: 10px;
  background: #4ade80;
  border: 2px solid var(--wortley-black);
  border-radius: 50%;
}

.boosie-header-text { flex-grow: 1; }

.boosie-name {
  font-family: 'Archivo Black', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 4px;
}

.boosie-status {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--wortley-yellow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.boosie-close {
  background: none;
  border: none;
  color: var(--wortley-gray);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
}

.boosie-close:hover { color: var(--wortley-yellow); }

.boosie-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 20px 8px;
  background: var(--wortley-off-white);
  scroll-behavior: smooth;
}

.boosie-msg {
  margin-bottom: 14px;
  max-width: 85%;
  font-size: 14px;
  line-height: 1.5;
  animation: boosieMsgIn 0.4s ease;
}

@keyframes boosieMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.boosie-msg.bot {
  background: var(--wortley-warm-white);
  border: 1px solid rgba(184, 184, 184, 0.4);
  border-radius: 14px 14px 14px 4px;
  padding: 12px 16px;
  color: var(--wortley-black);
  margin-right: auto;
}

.boosie-msg.user {
  background: var(--wortley-black);
  color: var(--wortley-off-white);
  border-radius: 14px 14px 4px 14px;
  padding: 12px 16px;
  margin-left: auto;
  text-align: right;
}

.boosie-typing {
  display: inline-flex;
  gap: 4px;
  padding: 14px 16px;
  background: var(--wortley-warm-white);
  border: 1px solid rgba(184, 184, 184, 0.4);
  border-radius: 14px 14px 14px 4px;
  margin-bottom: 14px;
}

.boosie-typing span {
  width: 7px; height: 7px;
  background: var(--wortley-concrete);
  border-radius: 50%;
  animation: boosieTyping 1.2s infinite;
}

.boosie-typing span:nth-child(2) { animation-delay: 0.2s; }
.boosie-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes boosieTyping {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

.boosie-options {
  padding: 0 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.boosie-option {
  background: var(--wortley-off-white);
  border: 2px solid var(--wortley-black);
  color: var(--wortley-black);
  padding: 12px 16px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

.boosie-option:hover {
  background: var(--wortley-yellow);
  border-color: var(--wortley-yellow);
  transform: translateX(2px);
}

.boosie-input-wrap {
  padding: 12px 20px 16px;
  border-top: 1px solid rgba(184, 184, 184, 0.4);
  background: var(--wortley-off-white);
}

.boosie-input-row {
  display: flex;
  gap: 8px;
}

.boosie-input {
  flex-grow: 1;
  border: 2px solid var(--wortley-gray);
  background: var(--wortley-off-white);
  padding: 10px 14px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  border-radius: 10px;
  transition: border-color 0.2s;
}

.boosie-input:focus {
  outline: none;
  border-color: var(--wortley-yellow);
}

.boosie-send {
  background: var(--wortley-black);
  color: var(--wortley-yellow);
  border: 2px solid var(--wortley-black);
  padding: 10px 16px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.2s;
}

.boosie-send:hover { background: var(--wortley-yellow); color: var(--wortley-black); }

.boosie-footer {
  padding: 8px 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  color: var(--wortley-concrete);
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--wortley-warm-white);
  border-top: 1px solid rgba(184, 184, 184, 0.3);
}

@media (max-width: 600px) {
  .boosie-panel {
    bottom: 90px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
    height: 70vh;
  }
  .boosie-fab { bottom: 16px; right: 16px; }
}
