/* =============================================
   Equal Design — Stylesheet
   Typography: Fraunces (display) / DM Sans (body)
   Accent: Burnt Orange #E07820
   ============================================= */

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

/* ─── Variables ──────────────────────────────── */
:root {
  --orange:         #E07820;
  --orange-dk:      #C06010;
  --black:          #111111;
  --near-black:     #0E0D0C;
  --white:          #FFFFFF;
  --off-white:      #F6F4F1;
  --light-grey:     #E8E4DF;
  --mid-grey:       #888888;
  --text:           #1C1C1C;
  --text-muted:     #666666;

  --font-display:   'Inter', system-ui, sans-serif;
  --font-body:      'DM Sans', 'Inter', system-ui, sans-serif;
  --font:           var(--font-body);

  --max-w:          1160px;
  --radius:         6px;
  --section-pad:    clamp(4rem, 8vw, 7rem);

  --ease-out:       cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out:    cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer:    cubic-bezier(0.32, 0.72, 0, 1);
}

/* ─── Base ───────────────────────────────────── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ─── Typography ─────────────────────────────── */
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--black);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--black);
}

h3 {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--black);
}

p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.7;
}

/* ─── Layout ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: var(--section-pad) 0; }

/* ─── Eyebrow Labels ─────────────────────────── */
.eyebrow-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  display: block;
  max-width: none;
}

/* ─── Buttons ────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.22s var(--ease-out);
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
}

.btn:active {
  transform: scale(0.97) translateY(0);
  transition-duration: 100ms;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dk);
  border-color: var(--orange-dk);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: rgba(0,0,0,0.2);
}

.btn-outline:hover { border-color: var(--black); }

.btn-submit {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  padding: 1rem 2rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 4px;
  text-align: center;
}

.btn-submit:hover {
  background: var(--orange-dk);
  border-color: var(--orange-dk);
}

.btn-submit:active {
  transform: scale(0.97);
  transition-duration: 100ms;
}

/* ═══════════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

#site-header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
}

#site-header.scrolled .logo           { color: var(--black); }
#site-header.scrolled .hamburger span { background: var(--black); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.4rem 2rem;
}

.logo {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  position: relative;
  z-index: 901;
  transition: color 0.3s;
}

/* Period stays upright while "Equal" is italic */
.logo span {
  color: var(--orange);
  font-style: normal;
}

/* Hamburger */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
  z-index: 901;
  position: relative;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.32s, opacity 0.32s, background 0.3s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--black); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--black); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.menu-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--black);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-menu nav a {
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--black);
  transition: color 0.2s;
}

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

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
#hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* Warm dark base with subtle orange glow — brand-anchored */
  background:
    radial-gradient(ellipse at 78% 108%, rgba(224,120,32,0.16) 0%, transparent 52%),
    linear-gradient(160deg, #121110 0%, #0a0908 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, transparent 68%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, transparent 68%);
  pointer-events: none;
}

#hero .container {
  position: relative;
  z-index: 2;
  padding-top: 10rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
  display: block;
  max-width: none;
}

#hero h1 {
  max-width: 14ch;
  margin-bottom: 1.5rem;
  color: var(--white);
}

#hero h1 em {
  font-style: normal;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.045em;
}

/* Line-by-line reveal: overflow clips the translateY, no JS needed */
.reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.reveal-line > span {
  display: block;
  animation: lineReveal 1s var(--ease-out) both;
}

.reveal-line:nth-child(1) > span { animation-delay: 0.05s; }
.reveal-line:nth-child(2) > span { animation-delay: 0.22s; }
.reveal-line:nth-child(3) > span { animation-delay: 0.38s; }

@keyframes lineReveal {
  from { transform: translateY(108%); }
  to   { transform: translateY(0); }
}

/* Staggered fade-up for supporting hero elements */
.eyebrow       { animation: heroFade 0.7s var(--ease-out) 0.0s  both; }
.hero-sub      { animation: heroFade 0.7s var(--ease-out) 0.58s both; }
.hero-actions  { animation: heroFade 0.7s var(--ease-out) 0.72s both; }

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

/* Large decorative "=" — brand-specific, adds depth without noise */
#hero::after {
  content: '=';
  position: absolute;
  bottom: -0.18em;
  right: -0.04em;
  font-family: var(--font-display);
  font-size: clamp(22rem, 42vw, 54rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(255,255,255,0.035);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.52);
  max-width: 50ch;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Outline button inverted for dark hero */
#hero .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.22);
}

#hero .btn-outline:hover {
  border-color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.05);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem; left: 2.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.28);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-bar {
  width: 36px;
  height: 1.5px;
  background: rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.scroll-bar::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: var(--orange);
  animation: scanline 2.4s ease-in-out infinite;
}

@keyframes scanline {
  0%   { left: -100%; }
  100% { left: 100%; }
}

/* ═══════════════════════════════════════════════
   WORK / PORTFOLIO
═══════════════════════════════════════════════ */
#work {
  background: var(--off-white);
  padding-bottom: 0;
}

#work .container { margin-bottom: 3rem; }
#work h2 { margin-top: 0.5rem; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--light-grey);
}

.work-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.work-large { grid-column: span 2; }
.work-wide  { grid-column: span 2; }
.work-full  { grid-column: 1 / -1; }

.work-img {
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  transition: transform 0.38s var(--ease-out);
  background-size: cover;
  background-position: center;
}

.work-large .work-img,
.work-wide  .work-img { aspect-ratio: 16/9; }
.work-full  .work-img { aspect-ratio: 21/9; }

@media (hover: hover) and (pointer: fine) {
  .work-item:hover .work-img { transform: scale(1.03); }
}

.work-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.75rem;
  /* Gradient always visible for readability */
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.08) 55%, transparent 100%);
}

/* Category label pill — visible in default state */
.work-cat {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--orange);
  padding: 0.22rem 0.55rem;
  border-radius: 2px;
  margin-bottom: 0.55rem;
  align-self: flex-start;
}

.work-placeholder h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* Hover overlay — dark with sliding orange accent line */
.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,13,12,0.9);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transform: translateY(6px) scale(0.995);
  transition: opacity 0.24s var(--ease-out), transform 0.24s var(--ease-out);
}

.work-overlay::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease 0.1s;
}

@media (hover: hover) and (pointer: fine) {
  .work-item:hover .work-overlay         { opacity: 1; transform: translateY(0) scale(1); }
  .work-item:hover .work-overlay::before { transform: scaleX(1); }
}

.work-tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
  max-width: none;
}

.work-overlay h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════ */
#services {
  background: linear-gradient(180deg, #F6F4F1 0%, #fdf8f0 60%, #fef9ed 100%);
}

#services h2 {
  margin-top: 0.5rem;
  margin-bottom: 3.5rem;
  max-width: 18ch;
}

.services-list { border-top: 1px solid var(--light-grey); }

.service-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-top: 3rem;
}

.service-col { padding-right: 0.5rem; }

/* Service cards — 2x2 grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--light-grey);
  margin-top: 3.5rem;
}

.service-card {
  display: block;
  padding: 2.75rem 3rem 2.75rem 0;
  border-bottom: 1px solid var(--light-grey);
  transition: background 0.2s var(--ease-out);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover::before { transform: scaleX(1); }
}

/* Ghost numeral — depth without noise */
.service-card::after {
  content: attr(data-num);
  position: absolute;
  bottom: -0.18em;
  right: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(5rem, 9vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(0,0,0,0.045);
  pointer-events: none;
  user-select: none;
  transition: color 0.35s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover::after { color: rgba(224,120,32,0.09); }
}

.service-card:nth-child(odd) {
  padding-right: 3rem;
  border-right: 1px solid var(--light-grey);
}

.service-card:nth-child(even) {
  padding-left: 3rem;
  padding-right: 0;
}

/* Remove bottom border on last row */
.service-card:nth-last-child(-n+2) { border-bottom: none; }

.service-card:hover { background: rgba(224,120,32,0.04); }

.service-num {
  font-family: var(--font-body);
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 1.1rem;
}

.service-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
  margin-bottom: 0.85rem;
  transition: color 0.2s;
}

.service-card:hover h3 { color: var(--orange); }

.service-card p {
  font-size: 0.95rem;
  max-width: 44ch;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-cta {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.01em;
  display: inline-block;
  transition: transform 0.22s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-cta { transform: translateX(5px); }
}

/* ═══════════════════════════════════════════════
   WHY EQUAL
═══════════════════════════════════════════════ */
#why { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

.why-left h2 { margin: 0.5rem 0 1.25rem; }

.why-intro { margin-bottom: 2rem; }

.why-points {
  display: flex;
  flex-direction: column;
}

.why-point {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--light-grey);
}

.why-point:first-child { padding-top: 0; }
.why-point:last-child  { border-bottom: none; }

.why-num {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--orange);
  min-width: 2.5rem;
  padding-top: 0.25rem;
}

.why-point strong {
  font-family: var(--font-display);
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.why-point p {
  font-size: 0.92rem;
  max-width: none;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   STATS BAND
═══════════════════════════════════════════════ */
#stats-band {
  background: var(--near-black);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  border-top: 1px solid rgba(255,255,255,0.055);
  border-bottom: 1px solid rgba(255,255,255,0.055);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0 2.5rem 0 0;
}

.stat-item + .stat-item {
  border-left: 1px solid rgba(255,255,255,0.07);
  padding-left: 2.5rem;
  padding-right: 0;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
  max-width: 18ch;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 0;
  }

  .stat-item + .stat-item {
    border-left: none;
    padding-left: 0;
  }

  .stat-item:nth-child(even) {
    border-left: 1px solid rgba(255,255,255,0.07);
    padding-left: 2rem;
  }
}

/* ═══════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════ */
#about { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 8px;
}

.about-img { border-radius: 4px; }

/* Brand-anchored placeholder colours */
.ab1 { background: linear-gradient(145deg, #1c1a18, #2a2520); }
.ab2 { background: linear-gradient(145deg, #E07820, #C06010); margin-top: 40px; }
.ab3 { background: linear-gradient(145deg, #2a2520, #1c1a18); }
.ab4 { background: var(--light-grey); margin-top: -40px; }

.about-text h2 { margin: 0.5rem 0 1.5rem; }

.about-text p { margin-bottom: 1rem; }

.about-text .btn { margin-top: 1rem; }

/* ═══════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════ */
#contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-left h2 {
  margin: 0.5rem 0 2rem;
  max-width: 18ch;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-meta li {
  font-size: 0.93rem;
  color: var(--text-muted);
}

.contact-meta strong {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--black);
  margin-right: 0.5rem;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mid-grey);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--off-white);
  border: 1.5px solid var(--light-grey);
  border-radius: 4px;
  padding: 0.8rem 1rem;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #BBBBBB; }

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

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

/* Form status */
#form-status {
  display: none;
  padding: 0.85rem 1.1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

#form-status.success {
  display: block;
  background: #edf7ed;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

#form-status.error {
  display: block;
  background: #fdecea;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
footer {
  background: var(--near-black);
  padding: 2.25rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo { color: var(--white); }

.footer-copy {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.28);
}

.footer-links {
  display: flex;
  gap: 1.75rem;
}

.footer-links a {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255,255,255,0.38);
  transition: color 0.2s;
}

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

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1020px) {
  .why-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .work-large,
  .work-wide {
    grid-column: span 2;
  }
}

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

  .service-card:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }

  .service-card:nth-child(even) {
    padding-left: 0;
  }

  .service-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--light-grey); }
  .service-card:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
  .work-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .work-large,
  .work-wide,
  .work-full {
    grid-column: span 1;
  }

  .work-img,
  .work-large .work-img,
  .work-wide  .work-img,
  .work-full  .work-img {
    aspect-ratio: 4/3;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-img-grid {
    grid-template-rows: 160px 160px;
  }

  .ab2 { margin-top: 20px; }
  .ab4 { margin-top: -20px; }

  #hero { padding-bottom: 5rem; }

  .hero-scroll-hint { display: none; }
}

@media (max-width: 500px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn { text-align: center; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════ */
[data-reveal].reveal-ready,
[data-stagger-item].reveal-ready {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].reveal-ready.reveal-in,
[data-stagger-item].reveal-ready.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal].reveal-ready,
  [data-stagger-item].reveal-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ═══════════════════════════════════════════════
   COLOUR SWITCHER
═══════════════════════════════════════════════ */
.colour-switcher {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

/* Recessed opacity by default — less intrusive */
.colour-switcher-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  flex-shrink: 0;
  opacity: 0.65;
}

.colour-switcher-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  opacity: 1;
}

.colour-switcher-toggle svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  pointer-events: none;
}

.colour-switcher-panel {
  background: var(--white);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.colour-switcher-panel.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.colour-switcher-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
  white-space: nowrap;
}

.colour-swatches {
  display: flex;
  gap: 0.4rem;
}

.swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s, border-color 0.18s;
  flex-shrink: 0;
}

.swatch:hover { transform: scale(1.15); }

.swatch.active {
  border-color: var(--black);
  transform: scale(1.12);
}

/* ═══════════════════════════════════════════════
   CONTACT MODAL
═══════════════════════════════════════════════ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 9, 8, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-out);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: 10px;
  width: 100%;
  max-width: 520px;
  padding: 2.75rem 3rem;
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s var(--ease-out);
  max-height: 90svh;
  overflow-y: auto;
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--mid-grey);
  line-height: 1;
  padding: 0.25rem 0.4rem;
  transition: color 0.2s;
}

.modal-close:hover { color: var(--black); }

.modal-step-indicator {
  display: flex;
  gap: 6px;
  margin-bottom: 2rem;
}

.step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--light-grey);
  transition: background 0.2s, width 0.2s, border-radius 0.2s;
}

.step-dot.active {
  background: var(--orange);
  width: 18px;
  border-radius: 3px;
}

.step-dot.done {
  background: var(--orange);
  opacity: 0.3;
}

.modal-step {
  display: none;
}

.modal-step.active {
  display: block;
}

.modal-step > h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.modal-step .step-hint {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.needs-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.needs-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}

.needs-item:hover {
  border-color: var(--orange);
  background: rgba(224, 120, 32, 0.04);
}

.needs-item input[type="checkbox"] {
  accent-color: var(--orange);
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.needs-item label {
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text);
}

.needs-item:has(input:checked) {
  border-color: var(--orange);
  background: rgba(224, 120, 32, 0.07);
}

.consent-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius);
  margin-bottom: 1.75rem;
  transition: border-color 0.18s;
}

.consent-row:has(input:checked) {
  border-color: var(--orange);
}

.consent-row input[type="checkbox"] {
  accent-color: var(--orange);
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.consent-row label {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  cursor: pointer;
}

/* Honeypot — offscreen, NOT display:none */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.modal-nav {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

.btn-modal-back {
  background: transparent;
  border: 1.5px solid var(--light-grey);
  color: var(--text);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: var(--font-body);
}

.btn-modal-back:hover {
  border-color: var(--black);
  color: var(--black);
}

.btn-modal-next {
  background: var(--orange);
  color: var(--white);
  border: 1.5px solid var(--orange);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-family: var(--font-body);
}

.btn-modal-next:hover {
  background: var(--orange-dk);
  border-color: var(--orange-dk);
}

.btn-modal-next:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.modal-error {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  background: #fdecea;
  color: #c62828;
  border: 1px solid #ef9a9a;
  margin-bottom: 1rem;
  display: none;
}

.modal-error.visible {
  display: block;
}

.modal-confirm {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.modal-confirm .confirm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(224, 120, 32, 0.12);
  color: var(--orange);
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.modal-confirm h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-confirm p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* Contact section trigger area */
.contact-form-intro {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

@media (max-width: 560px) {
  .modal {
    padding: 2rem 1.5rem;
    border-radius: 8px;
  }
}
