/* ==========================================================================
   BuiltIN Studio — Brand-aligned design system
   Palette derived from logo: black, white, BuiltIN green
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter+Tight:wght@300;400;500;600&display=swap');

:root {
  /* Palette — logo-aligned */
  --black: #0a0a0a;
  --ink: #141414;
  --charcoal: #1f1f1f;
  --slate: #2a2a2a;
  --bone: #fafafa;
  --paper: #f1f0ec;
  --line: #e6e4de;
  --line-dark: rgba(255,255,255,0.1);
  --text: #141414;
  --text-soft: #4a4a4a;
  --text-muted: #8a8a8a;
  --text-on-dark: #f5f5f5;
  --text-soft-on-dark: rgba(245,245,245,0.7);
  --text-muted-on-dark: rgba(245,245,245,0.5);

  /* Accent — BuiltIN green from logo */
  --green: #3fa535;
  --green-bright: #4ec042;
  --green-deep: #2d7a26;

  --display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: 'Inter Tight', -apple-system, sans-serif;

  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem;
  --s5: 3rem; --s6: 4.5rem; --s7: 6.5rem; --s8: 9rem;

  --maxw: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--text);
}
h1 { font-size: clamp(2.75rem, 7.5vw, 6.5rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.5vw, 4rem); font-weight: 700; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: clamp(1.125rem, 1.5vw, 1.375rem); font-weight: 600; letter-spacing: -0.01em; }

em, .accent {
  font-style: normal;
  color: var(--green);
  font-weight: 800;
}
h1 em, h2 em, h3 em { font-weight: inherit; }

p { margin-bottom: 1em; }

.eyebrow {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before, .eyebrow::after {
  content: '';
  width: 28px; height: 1.5px;
  background: var(--green);
  display: inline-block;
}

.lead {
  font-family: var(--body);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 38em;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.scrolled { border-bottom-color: rgba(255,255,255,0.08); }
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
}

/* Logo — recreated from PNG */
.logo {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--bone);
  display: flex;
  flex-direction: column;
  line-height: 0.9;
  gap: 0.2rem;
}
.logo-row {
  display: flex;
  align-items: baseline;
  font-size: 1.65rem;
  letter-spacing: -0.04em;
}
.logo-built { color: var(--bone); }
.logo-in { color: var(--green); }
.logo-studio {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.5em;
  color: var(--bone);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.1em;
}
.logo-studio::before, .logo-studio::after {
  content: '';
  width: 12px; height: 1px;
  background: var(--bone);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.25rem 0;
  color: var(--text-soft-on-dark);
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--bone); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--bone); }

.nav-cta {
  background: var(--green) !important;
  color: var(--black) !important;
  padding: 0.7rem 1.4rem !important;
  border-radius: 2px;
  font-weight: 600 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--green-bright) !important;
  color: var(--black) !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 28px; height: 22px;
  position: relative; z-index: 101;
}
.menu-toggle span {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  background: var(--bone);
  transition: 0.3s;
}
.menu-toggle span:nth-child(1) { top: 4px; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 4px; }
.menu-toggle.open span:nth-child(1) { top: 50%; transform: rotate(45deg) translateY(-50%); background: var(--green); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { bottom: 50%; transform: rotate(-45deg) translateY(50%); background: var(--green); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 9rem 0 4rem;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--black);
  color: var(--text-on-dark);
}
.hero h1 { color: var(--bone); }
.hero h1 em { color: var(--green); font-weight: 800; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s6);
  width: 100%;
  align-items: end;
}
.hero-text { max-width: 32em; }
.hero h1 { margin-bottom: 2rem; }
.hero .lead { color: var(--text-soft-on-dark); }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted-on-dark);
}
.hero-meta .dot { width: 5px; height: 5px; background: var(--green); }
.hero-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 8s ease-out;
  filter: contrast(1.05);
}
.hero.loaded .hero-image img { transform: scale(1); }
.hero-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 70%, rgba(10,10,10,0.4));
  pointer-events: none;
}

.hero-marquee {
  position: absolute;
  bottom: 1.5rem; left: 0; right: 0;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted-on-dark);
  display: flex;
  justify-content: space-between;
  padding: 0 var(--gutter);
}

/* SECTIONS */
section { padding: var(--s7) 0; position: relative; }
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--s5);
  align-items: end;
  margin-bottom: var(--s6);
}
.section-heading h2 { max-width: 13em; }

/* INTRO */
.intro { background: var(--paper); }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: center;
}
.intro-image { aspect-ratio: 5/6; overflow: hidden; }
.intro-image img { width: 100%; height: 100%; object-fit: cover; }
.intro-content h2 { margin-bottom: 2rem; }
.intro-content p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 32em;
}
.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--black);
}
.stat-num {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  color: var(--black);
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}
.stat-num em { color: var(--green); font-weight: 800; }
.stat-label {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--black);
  border: 2px solid var(--black);
}
.service-card {
  background: var(--bone);
  padding: var(--s5) var(--s4);
  display: flex; flex-direction: column;
  min-height: 380px;
  position: relative; overflow: hidden;
  transition: background 0.4s, color 0.4s;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--black);
  transform: translateY(100%);
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 0;
}
.service-card:hover::before { transform: translateY(0); }
.service-card:hover .service-num { color: var(--green); }
.service-card:hover h3, .service-card:hover p { color: var(--bone); }
.service-card:hover .service-arrow { color: var(--green); transform: translateX(8px); }
.service-card > * { position: relative; z-index: 1; }
.service-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 2.5rem;
  transition: color 0.4s;
}
.service-card h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin-bottom: 1rem;
  max-width: 12em;
  transition: color 0.4s;
  font-weight: 700;
}
.service-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  flex-grow: 1;
  transition: color 0.4s;
}
.service-arrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s, color 0.4s;
  margin-top: auto;
}

/* WORK */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s4) var(--s3);
}
.project { position: relative; overflow: hidden; }
.project a { display: block; }
.project-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--paper);
}
.project-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.project:hover .project-image img { transform: scale(1.04); }
.project-tag {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
  display: block;
}
.project h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.project-meta { font-size: 0.85rem; color: var(--text-muted); }
.project.span-7 { grid-column: span 7; }
.project.span-5 { grid-column: span 5; }
.project.span-6 { grid-column: span 6; }
.project.span-4 { grid-column: span 4; }
.project.span-8 { grid-column: span 8; }
.project.span-12 { grid-column: span 12; }
.project.span-7 .project-image { aspect-ratio: 16/10; }
.project.span-5 .project-image { aspect-ratio: 4/5; }
.project.span-12 .project-image { aspect-ratio: 21/9; }

/* PROCESS / DARK */
.process { background: var(--black); color: var(--text-on-dark); }
.process h2, .process h3, .process h4 { color: var(--bone); }
.process h2 em { color: var(--green); }
.process .eyebrow { color: var(--green); }
.process .eyebrow::before, .process .eyebrow::after { background: var(--green); }
.process .lead { color: var(--text-soft-on-dark); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  margin-top: var(--s5);
  border-top: 1px solid var(--line-dark);
  padding-top: var(--s5);
}
.process-step h4 {
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-weight: 700;
}
.process-step h4 span {
  font-family: var(--display);
  font-weight: 600;
  color: var(--green);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
}
.process-step p {
  color: var(--text-soft-on-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* SECTORS */
.sectors { background: var(--paper); }
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}
.sector-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: var(--s4);
  cursor: pointer;
  text-decoration: none;
  color: var(--bone);
  border: 2px solid transparent;
  transition: border-color 0.3s;
}
.sector-card:hover { border-color: var(--green); }
.sector-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  z-index: 0;
  filter: brightness(0.85);
}
.sector-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.3) 60%, transparent 100%);
  z-index: 1;
}
.sector-card:hover img { transform: scale(1.06); }
.sector-card-content { position: relative; z-index: 2; }
.sector-card h3 {
  color: var(--bone);
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.sector-card p {
  color: rgba(245, 245, 245, 0.85);
  font-size: 0.9rem;
  margin: 0;
}
.sector-arrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green);
}

/* AREAS */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s6);
  align-items: start;
}
.areas-list {
  columns: 3;
  column-gap: 2rem;
  font-size: 0.95rem;
}
.areas-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
  color: var(--text-soft);
}
.areas-list li::before { content: '— '; color: var(--green); font-weight: 700; }

/* CTA */
.cta {
  background: var(--green);
  color: var(--black);
  text-align: center;
  padding: var(--s8) 0;
  position: relative;
  overflow: hidden;
}
.cta h2 {
  color: var(--black);
  max-width: 14em;
  margin: 0 auto 1.5rem;
  font-weight: 800;
}
.cta h2 em { color: var(--bone); font-weight: 800; }
.cta p {
  color: rgba(10, 10, 10, 0.8);
  font-size: 1.1rem;
  max-width: 36em;
  margin: 0 auto 3rem;
}
.cta .eyebrow { color: var(--black); }
.cta .eyebrow::before, .cta .eyebrow::after { background: var(--black); }

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 2rem;
  border-radius: 2px;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.btn-primary { background: var(--black); color: var(--bone); }
.btn-primary:hover { background: var(--bone); color: var(--black); }
.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.btn-secondary:hover {
  background: var(--black);
  color: var(--green);
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  background: var(--black);
  color: var(--text-on-dark);
  padding: var(--s6) 0 var(--s4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s4);
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .logo { margin-bottom: 1.5rem; }
.footer-brand p {
  color: var(--text-soft-on-dark);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 28em;
}
.footer-col h5 {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col a {
  color: var(--text-soft-on-dark);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s3);
  font-size: 0.8rem;
  color: var(--text-muted-on-dark);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: var(--text-soft-on-dark); }
.footer-bottom a:hover { color: var(--green); }

/* PAGE HEADERS */
.page-header {
  padding: 11rem 0 var(--s6);
  background: var(--black);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--line-dark);
  position: relative;
  overflow: hidden;
}
.page-header h1 {
  margin-bottom: 1.5rem;
  max-width: 16em;
  color: var(--bone);
  font-size: clamp(2.5rem, 6vw, 5rem);
}
.page-header h1 em { color: var(--green); }
.page-header .lead {
  max-width: 38em;
  color: var(--text-soft-on-dark);
}
.crumbs {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted-on-dark);
  margin-bottom: 2.5rem;
}
.crumbs a { color: var(--text-soft-on-dark); }
.crumbs a:hover { color: var(--green); }
.crumbs .sep { margin: 0 0.65rem; color: var(--green); }

/* PROSE */
.prose {
  max-width: 42em;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-soft);
}
.prose h2 { margin: 3rem 0 1.25rem; color: var(--text); }
.prose h2 em { color: var(--green); }
.prose h3 { margin: 2.5rem 0 1rem; color: var(--text); }
.prose p { margin-bottom: 1.5rem; }
.prose ul { margin-bottom: 1.5rem; padding-left: 0; }
.prose ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
}
.prose ul li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--green);
  font-weight: 700;
}
.prose strong { color: var(--text); font-weight: 600; }

/* SERVICE PAGES */
.service-page { padding: var(--s7) 0; }
.service-split {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--s6);
  align-items: start;
}
.service-aside {
  position: sticky;
  top: 7rem;
  padding: 2rem;
  background: var(--black);
  color: var(--bone);
  border-left: 4px solid var(--green);
}
.service-aside h3 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--bone);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}
.service-aside ul { font-size: 0.9rem; }
.service-aside ul li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--text-soft-on-dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.service-aside ul li::before {
  content: '+';
  color: var(--green);
  font-weight: 700;
  font-size: 1.2rem;
}
.service-aside ul li:last-child { border-bottom: none; }

.service-image-block {
  margin: 3rem 0;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.service-image-block img { width: 100%; height: 100%; object-fit: cover; }

/* FAQ */
.faq { background: var(--paper); }
.faq-list {
  max-width: 48em;
  margin: 0 auto;
  border-top: 2px solid var(--black);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.75rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.faq-q .plus {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--green);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a-inner {
  padding: 0 0 1.75rem;
  color: var(--text-soft);
  max-width: 42em;
  font-size: 1rem;
  line-height: 1.7;
}
.faq-a-inner a { color: var(--green); font-weight: 500; }
.faq-item.open .faq-a { max-height: 600px; }

/* FORMS */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s6);
  align-items: start;
}
.contact-info h3 {
  font-family: var(--display);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}
.contact-info h3 em { color: var(--green); }
.contact-block {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-block:last-of-type { border-bottom: none; }
.contact-block .label {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.contact-block .value {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 500;
}
.contact-block a:hover { color: var(--green); }

.form { display: grid; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-field input, .form-field textarea, .form-field select {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--line);
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--text);
  font-family: var(--body);
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-bottom-color: var(--green);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form button[type="submit"] {
  align-self: start;
  background: var(--black);
  color: var(--bone);
  padding: 1rem 2.25rem;
  border-radius: 2px;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  margin-top: 1rem;
}
.form button[type="submit"]:hover { background: var(--green); color: var(--black); }

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* RESPONSIVE */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* dynamic viewport for mobile browsers with chrome */
    background: #0a0a0a; /* solid, no transparency */
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 5.5rem 0 2rem; /* push content below the nav bar */
    z-index: 99; /* below the fixed nav (z:100) so the X button stays clickable */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.mobile-open a {
    font-size: 1.5rem;
    font-family: var(--display);
    font-weight: 700;
    color: var(--bone);
    padding: 1.1rem var(--gutter);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    text-align: left;
    letter-spacing: -0.015em;
  }
  .nav-links.mobile-open a:first-child {
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.mobile-open a.nav-cta {
    margin: 1.5rem var(--gutter) 0;
    width: auto;
    text-align: center;
    border: none !important;
    padding: 1rem 1.4rem !important;
  }
  /* When menu is open, make the nav fully opaque so it covers content cleanly */
  body.menu-open .nav {
    background: #0a0a0a;
    border-bottom-color: rgba(255,255,255,0.1);
  }
  body.menu-open { overflow: hidden; }
  .menu-toggle { display: block; }

  .hero { padding-top: 7rem; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-image { aspect-ratio: 4/3; }
  .hero-marquee { display: none; }

  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .intro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .project.span-7, .project.span-5, .project.span-6, .project.span-4, .project.span-8, .project.span-12 {
    grid-column: span 1;
  }
  .project .project-image { aspect-ratio: 4/3 !important; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .sectors-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; gap: 2rem; }
  .areas-list { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .service-split { grid-template-columns: 1fr; gap: 3rem; }
  .service-aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .intro-stats { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 600px) {
  .areas-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
}

.text-center { text-align: center; }


/* ========================================================================
   PAGE-SPECIFIC LAYOUTS
   Migrated from inline <style> blocks during PHP conversion.
   ======================================================================== */

/* ----- PROJECTS ----- */
.project-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s5);
    align-items: center;
    padding: var(--s6) 0;
    border-bottom: 1px solid var(--line);
  }
  .project-feature:nth-child(even) { direction: rtl; }
  .project-feature:nth-child(even) > * { direction: ltr; }
  .project-feature-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 4px;
  }
  .project-feature-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .project-feature:hover .project-feature-image img { transform: scale(1.04); }
  .project-feature-content { max-width: 32em; }
  .project-feature-content h3 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  .project-feature-content h3 em {
    color: var(--green);
    
    font-weight: 600;
  }
  .project-meta-row {
    display: flex;
    gap: 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
  }
  .project-meta-row span:not(:last-child)::after {
    content: '·';
    margin-left: 2rem;
    color: var(--green);
  }
  .project-feature-content p {
    color: var(--text-soft);
    line-height: 1.7;
  }
  @media (max-width: 980px) {
    .project-feature {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      padding: 3rem 0;
    }
    .project-feature:nth-child(even) { direction: ltr; }
  }

/* ----- SERVICE-AREAS ----- */
.region-block {
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--line);
}
.region-block:last-of-type { border-bottom: none; }
.region-grid {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: var(--s5);
  align-items: start;
}
.region-grid h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
}
.region-grid h2 em {
  color: var(--green);
  
}
.region-grid p {
  color: var(--text-soft);
  margin-top: 1rem;
}
.suburb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem 1.5rem;
  font-size: 0.92rem;
}
.suburb-grid li {
  padding: 0.4rem 0;
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
}
.suburb-grid li::before {
  content: '↳ ';
  color: var(--green);
}
@media (max-width: 980px) {
  .region-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .suburb-grid { grid-template-columns: 1fr 1fr; }
}

/* ----- ABOUT ----- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s6);
  align-items: start;
}
.story-image {
  position: sticky;
  top: 7rem;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
}
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-content { font-size: 1.0625rem; line-height: 1.75; color: var(--text-soft); }
.story-content h2 { margin: 2rem 0 1rem; }
.story-content h2:first-child { margin-top: 0; }
.story-content h2 em { color: var(--green);  font-weight: 600; }
.story-content p { margin-bottom: 1.25rem; }
.story-content strong { color: var(--text); font-weight: 500; }

.timeline {
  background: var(--text);
  color: var(--bone);
  padding: var(--s7) 0;
}
.timeline h2 { color: var(--bone); }
.timeline h2 em { color: var(--green);  }
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(245, 241, 234, 0.15);
  padding-top: 3rem;
}
.timeline-item .year {
  font-family: var(--display);
  
  color: var(--green);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.timeline-item h4 {
  color: var(--bone);
  margin-bottom: 0.75rem;
}
.timeline-item p {
  color: rgba(245, 241, 234, 0.7);
  font-size: 0.92rem;
}

.clients {
  background: var(--paper);
  text-align: center;
}
.clients-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2.5rem;
  max-width: 60em;
  margin: 3rem auto 0;
}
.clients-list span {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  color: var(--text);
  padding: 0.5rem 0;
}
.clients-list span:not(:last-child)::after {
  content: '·';
  color: var(--green);
  margin-left: 2.5rem;
}

.network {
  padding: var(--s7) 0;
}
.network-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 3rem;
}
.network-card {
  background: var(--bone);
  padding: 2rem 1.5rem;
  text-align: center;
}
.network-card h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.network-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.network-card .num {
  font-family: var(--display);
  
  color: var(--green);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: block;
}

@media (max-width: 980px) {
  .story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .story-image { position: static; aspect-ratio: 4/3; }
  .timeline-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .network-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .timeline-grid, .network-grid { grid-template-columns: 1fr; }
}

/* ----- CONTACT ----- */
.contact-section {
  padding: var(--s7) 0;
}
.map-block {
  margin-top: var(--s6);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16/6;
}
.map-block iframe { width: 100%; height: 100%; border: none; display: block; }
.contact-info > h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  margin-bottom: 2rem;
}
.contact-info > h3 em { color: var(--green);  }
.form-intro {
  margin-bottom: 2.5rem;
}
.form-intro h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}
.form-intro h2 em { color: var(--green);  font-weight: 600; }
.form-intro p { color: var(--text-soft); }



/* ========================================================================
   CONTACT FORM — Turnstile + status messages
   ======================================================================== */

/* Cloudflare Turnstile widget spacing */
.turnstile-wrap {
  margin: 0.5rem 0 1rem;
  min-height: 65px;  /* reserves space while widget is loading */
}

/* Status messages after submit redirect */
.form-status {
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  border-left: 4px solid;
  border-radius: 0 4px 4px 0;
  font-family: var(--body);
}
.form-status strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  display: block;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.form-status p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.form-status p a {
  color: var(--green);
  font-weight: 500;
  border-bottom: 1px solid var(--green);
}
.form-status-success {
  background: #eef9eb;
  border-color: var(--green);
}
.form-status-success strong { color: var(--green-deep); }
.form-status-warning {
  background: #fdf6e3;
  border-color: #c98a04;
}
.form-status-warning strong { color: #8a5d00; }
.form-status-error {
  background: #fceeee;
  border-color: #c0392b;
}
.form-status-error strong { color: #922218; }

/* Cloudflare Turnstile widget spacing */
.turnstile-wrap {
  margin: 0.5rem 0 0.5rem;
}
