/* design tokens */
:root {
  --charcoal: #0a0b0b;
  --charcoal-2: #121a16;
  --charcoal-3: #1a2420;
  --cream: #e9f6ee;
  --cream-2: #d9f0e0;
  --paper: #f5fbf6;
  --ink: #0e1310;
  --ink-soft: #46564c;
  --terracotta: #008631;
  --terracotta-2: #00ab41;
  --terracotta-soft: #a9e6bb;
  --gold: #049b3c;
  --white: #ffffff;
  --line: rgba(14, 19, 16, 0.12);
  --line-onchar: rgba(233, 246, 238, 0.16);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1440px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.25s;
  --dur: 0.55s;
  --dur-slow: 0.9s;
}

/* reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* type */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--terracotta);
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.03;
  letter-spacing: -0.01em;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.2;
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 46em;
}
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; }

/* layout helpers */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.bleed-dark { background: var(--charcoal); color: var(--cream); }
.bleed-cream { background: var(--cream); }
.grid { display: grid; gap: var(--gutter); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .g-2, .g-4 { grid-template-columns: 1fr; }
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--terracotta); color: var(--white); }
.btn-primary:hover { background: var(--terracotta-2); box-shadow: 0 10px 24px -10px rgba(0, 134, 49, 0.6); }
.btn-outline-dark { border-color: var(--line-onchar); color: var(--cream); }
.btn-outline-dark:hover { background: var(--cream); color: var(--charcoal); border-color: var(--cream); }
.btn-outline-light { border-color: var(--line); color: var(--ink); }
.btn-outline-light:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ghost { padding: 0; color: var(--terracotta); gap: 8px; }
.btn-ghost svg { transition: transform var(--dur-fast) var(--ease); }
.btn-ghost:hover svg { transform: translateX(5px); }
.btn-ghost::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: currentColor;
  transform: scaleX(0.4); transform-origin: left;
  transition: transform var(--dur) var(--ease);
  opacity: 0.5;
}
.btn-ghost:hover::after { transform: scaleX(1); }

/* header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 22px 0;
  transition: padding var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 14px 0;
  border-color: var(--line-onchar);
}
.site-header.is-scrolled::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 11, 11, 0.88);
  backdrop-filter: blur(10px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); flex-shrink: 0; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-mark { height: 34px; width: auto; flex: none; }
.brand-word { font-family: var(--font-display); font-size: clamp(15px, 1.7vw, 20px); letter-spacing: 0.04em; white-space: nowrap; text-transform: uppercase; }
.brand-word b { color: var(--terracotta-2); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.main-nav a {
  position: relative;
  font-size: 14px; font-weight: 500; color: var(--cream);
  padding: 6px 0; opacity: 0.82;
  transition: opacity var(--dur-fast) var(--ease);
}
.main-nav a:hover, .main-nav a.active { opacity: 1; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--terracotta-2);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone { display: flex; align-items: center; gap: 8px; color: var(--cream); font-size: 14px; font-weight: 500; opacity: 0.9; white-space: nowrap; }
.header-phone svg { width: 16px; height: 16px; color: var(--terracotta-2); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border: none; background: none; z-index: 210;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--cream); transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1040px) {
  .main-nav { position: fixed; inset: 0; background: var(--charcoal); flex-direction: column; justify-content: center; gap: 28px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav a { font-size: 26px; font-family: var(--font-display); }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
}

@media (max-width: 480px) {
  .site-header .brand-word { font-size: 12.5px; letter-spacing: 0.02em; }
}

/* hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--charcoal); color: var(--cream);
  overflow: hidden;
  padding-top: 120px;
}
.hero-art {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: flex-end; justify-content: center;
}
.hero-art svg { width: 100%; height: auto; opacity: 0.9; }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: brightness(0.65); }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,11,11,0.15) 0%, rgba(10,11,11,0.55) 55%, rgba(10,11,11,0.98) 100%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: clamp(56px, 8vw, 96px); width: 100%; }
.hero-content .eyebrow { color: var(--terracotta-2); }
.hero-content h1 { margin-top: 18px; max-width: 16em; }
.hero-content .lede { color: rgba(233,246,238,0.8); margin-top: 22px; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 38px; flex-wrap: wrap; }

.hero-stats {
  position: relative; z-index: 2;
  display: flex; gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 28px; border-top: 1px solid var(--line-onchar);
  flex-wrap: wrap;
}
.hero-stat b { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--white); font-weight: 500; }
.hero-stat > span { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(233,246,238,0.6); }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 28px; z-index: 2;
  display: flex; align-items: center; gap: 10px; color: rgba(233,246,238,0.65);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
}
.scroll-cue .line { width: 1px; height: 30px; background: rgba(233,246,238,0.4); position: relative; overflow: hidden; }
.scroll-cue .line::after { content: ""; position: absolute; top: -100%; left: 0; right: 0; height: 100%; background: var(--terracotta-2); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }
@media (max-width: 620px) { .scroll-cue { display: none; } }

/* cinematic hero - clip-path reveal on scroll, no libs */
.cine-hero {
  position: relative;
  width: 100%;
}
.cine-hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--charcoal);
  clip-path: polygon(25% 25%, 75% 25%, 75% 75%, 25% 75%);
  will-change: clip-path;
}
.cine-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.7);
  will-change: transform;
}
.cine-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,11,11,0.15) 0%, rgba(10,11,11,0.05) 40%, rgba(10,11,11,0.75) 100%);
  pointer-events: none;
}
.cine-hero-caption {
  position: absolute;
  left: 0; right: 0; bottom: clamp(48px, 8vw, 96px);
  z-index: 1;
  text-align: center;
  color: var(--cream);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  padding: 0 var(--gutter);
}
.cine-hero-caption.is-visible { opacity: 1; transform: translateY(0); }
.cine-hero-caption .eyebrow { color: var(--terracotta-2); justify-content: center; }
.cine-hero-caption h2 { margin-top: 14px; color: var(--white); }
.cine-hero-caption p { margin: 14px auto 0; color: rgba(233,246,238,0.78); }

@media (prefers-reduced-motion: reduce) {
  .cine-hero-sticky { position: relative; height: auto; aspect-ratio: 16 / 9; clip-path: none !important; }
  .cine-hero-video { position: relative; transform: none !important; }
  .cine-hero-caption { position: relative; opacity: 1; transform: none; bottom: auto; padding: 24px var(--gutter); }
}

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }
.reveal-scale { opacity: 0; transform: scale(0.94); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }
.reveal-delay { transition-delay: 0.18s; }

/* services section */
.service-card {
  padding: 34px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(14,19,16,0.28); border-color: transparent; }
.service-card .icon { width: 46px; height: 46px; color: var(--terracotta); margin-bottom: 22px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--ink-soft); font-size: 14.5px; }
.service-card .btn-ghost { margin-top: 20px; font-size: 13.5px; }

.service-block { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.service-block.is-reverse { direction: rtl; }
.service-block.is-reverse > * { direction: ltr; }
.service-block + .service-block { margin-top: clamp(72px, 10vw, 120px); }
.service-block .art { border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.service-block .art svg,
.service-block .art img {
  width: 100%; height: auto; display: block;
  transform-origin: 50% 50%;
  animation: art-kenburns 24s ease-in-out infinite alternate;
}
@keyframes art-kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.07); }
}
@media (prefers-reduced-motion: reduce) {
  .service-block .art svg, .service-block .art img { animation: none; }
}
.service-block .num { font-family: var(--font-display); color: var(--terracotta-soft); font-size: 15vw; line-height: 1; position: absolute; }
.service-block-text { position: relative; }
.service-block-text .eyebrow { margin-bottom: 16px; }
.service-block-text h2 { margin-bottom: 18px; }
.service-block-text p { color: var(--ink-soft); margin-bottom: 22px; }
.service-block-text ul { display: grid; gap: 10px; margin-bottom: 28px; }
.service-block-text ul li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink); }
.service-block-text ul li svg { width: 16px; height: 16px; color: var(--terracotta); flex: none; }
@media (max-width: 820px) {
  .service-block, .service-block.is-reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* process steps */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); position: relative; }
.process::before { content: ""; position: absolute; top: 26px; left: 6%; right: 6%; height: 1px; background: var(--line); }
.bleed-dark .process::before { background: var(--line-onchar); }
.process-step { position: relative; }
.process-step .n {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--terracotta); color: var(--white);
  font-family: var(--font-display); font-size: 20px; margin-bottom: 24px;
  position: relative; z-index: 1;
}
.process-step h3 { margin-bottom: 10px; }
.process-step p { font-size: 14.5px; color: var(--ink-soft); }
.bleed-dark .process-step p { color: rgba(233,246,238,0.68); }
@media (max-width: 780px) {
  .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process::before { display: none; }
}
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }

/* projects grid */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-btn {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--ink-soft); font-size: 13.5px; font-weight: 600;
  transition: all var(--dur-fast) var(--ease);
}
.filter-btn:hover { border-color: var(--terracotta); color: var(--terracotta); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 34px); }
@media (max-width: 900px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .project-grid { grid-template-columns: 1fr; } }

.project-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--charcoal); aspect-ratio: 4 / 5;
  transition: opacity var(--dur) var(--ease), transform 0.15s ease-out, box-shadow var(--dur) var(--ease);
}
.project-card:hover { box-shadow: 0 30px 60px -24px rgba(10,11,11,0.5); }
.project-card.is-hidden { display: none; }
.project-card .thumb { position: absolute; inset: 0; }
.project-card .thumb svg { width: 100%; height: 100%; transition: transform 1.1s var(--ease); }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.project-card:hover .thumb svg, .project-card:hover .thumb img { transform: scale(1.07); }
.project-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,11,11,0) 40%, rgba(10,11,11,0.92) 100%);
}
.project-card .info { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; color: var(--cream); }
.project-card .tag { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta-2); margin-bottom: 8px; display: block; }
.project-card h3 { font-size: 1.25rem; }

/* testimonials */
.testimonial { max-width: 780px; margin: 0 auto; text-align: center; }
.testimonial .quote-mark { font-family: var(--font-display); font-size: 4rem; color: var(--terracotta-soft); line-height: 1; margin-bottom: 8px; }
.testimonial blockquote { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 400; line-height: 1.4; margin: 0; }
.testimonial cite { display: block; margin-top: 26px; font-style: normal; font-size: 14px; color: var(--ink-soft); }
.bleed-dark .testimonial cite { color: rgba(233,246,238,0.65); }
.t-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.t-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--line); transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.bleed-dark .t-dots button { background: var(--line-onchar); }
.t-dots button.is-active { background: var(--terracotta); transform: scale(1.3); }

/* about + value cards */
.value-card { padding: 30px 0; border-top: 1px solid var(--line); }
.value-card .icon { width: 34px; height: 34px; color: var(--terracotta); margin-bottom: 18px; }
.value-card h3 { margin-bottom: 10px; }
.value-card p { color: var(--ink-soft); font-size: 14.5px; }

.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 820px) { .about-story { grid-template-columns: 1fr; } }
.about-story .art { border-radius: var(--radius); overflow: hidden; background: var(--cream-2); aspect-ratio: 5 / 4; }
.about-story .art svg { width: 100%; height: auto; }
.about-story .art img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* cta band */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { max-width: 14em; }
.cta-band-art { position: absolute; left: -80px; top: -80px; width: 340px; opacity: 0.1; }

/* contact + quote form */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 80px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-item { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.contact-info-item:first-child { border-top: none; padding-top: 0; }
.contact-info-item .icon { width: 22px; height: 22px; color: var(--terracotta); flex: none; margin-top: 2px; }
.contact-info-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: 14.5px; color: var(--ink-soft); }
.contact-info-item a:hover { color: var(--terracotta); }

.service-area { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.service-area h4 { font-size: 15px; margin-bottom: 14px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list span { font-size: 12.5px; padding: 6px 12px; background: var(--cream-2); border-radius: 999px; color: var(--ink-soft); }

.quote-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; position: relative; }
.field label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 3px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(0,134,49,0.12);
}
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; opacity: 0.8; }
.quote-form .btn-primary { width: 100%; justify-content: center; margin-top: 6px; padding: 16px; }

.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.is-visible { display: block; }
.quote-form.is-sent form { display: none; }
.form-success .icon { width: 56px; height: 56px; color: var(--terracotta); margin: 0 auto 20px; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); font-size: 14.5px; }

.map-art { margin-top: 40px; border-radius: var(--radius); overflow: hidden; background: var(--cream-2); border: 1px solid var(--line); }
.map-art svg { width: 100%; height: auto; display: block; }

/* footer */
.site-footer { background: var(--charcoal); color: rgba(233,246,238,0.75); padding: clamp(56px, 8vw, 88px) 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: clamp(30px, 5vw, 60px); padding-bottom: 48px; border-bottom: 1px solid var(--line-onchar); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: 18px; }
@media (max-width: 900px) {
  .footer-brand .brand-word { font-size: 12px; letter-spacing: 0.01em; }
}
.footer-brand p { font-size: 14px; max-width: 30em; color: rgba(233,246,238,0.6); margin-bottom: 20px; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream); margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a, .footer-col span { font-size: 14px; color: rgba(233,246,238,0.65); transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: var(--terracotta-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: 12.5px; color: rgba(233,246,238,0.45); }

/* Counter */
[data-count] { font-variant-numeric: tabular-nums; }

/* Utility */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }

/* selection / scrollbar / focus states */
::selection { background: var(--terracotta-2); color: var(--white); }

html { scrollbar-color: var(--terracotta) var(--cream-2); scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--cream-2); }
::-webkit-scrollbar-thumb { background: var(--terracotta); border-radius: 999px; border: 2px solid var(--cream-2); }
::-webkit-scrollbar-thumb:hover { background: var(--terracotta-2); }

:focus-visible {
  outline: 2px solid var(--terracotta-2);
  outline-offset: 3px;
  border-radius: 2px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 999;
  background: var(--terracotta); color: var(--white);
  padding: 12px 20px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus-visible { top: 16px; outline-color: var(--white); }

/* preloader */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: var(--charcoal);
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.preloader img {
  width: 72px; height: auto;
  opacity: 0; transform: scale(0.8);
  animation: preloader-pop 0.7s var(--ease) forwards;
}
@keyframes preloader-pop { to { opacity: 1; transform: scale(1); } }
body.is-loaded .preloader { opacity: 0; visibility: hidden; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .preloader { transition: opacity 0.2s linear; }
  .preloader img { animation: none; opacity: 1; transform: none; }
}

/* scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 199;
  height: 3px; background: transparent;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--terracotta), var(--terracotta-2));
  transition: width 0.1s linear;
}

/* back to top btn */
.back-to-top {
  position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px);
  z-index: 150;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--charcoal); color: var(--cream);
  border: 1px solid var(--line-onchar);
  box-shadow: 0 10px 28px -8px rgba(10, 11, 11, 0.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(12px) scale(0.9); pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.back-to-top:hover { box-shadow: 0 12px 32px -6px rgba(0, 134, 49, 0.5); }
.back-to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.back-to-top:hover { background: var(--terracotta); }
.back-to-top svg:first-child { width: 18px; height: 18px; position: relative; z-index: 1; }
.back-to-top .ring { position: absolute; inset: 0; width: 52px; height: 52px; transform: rotate(-90deg); }
.back-to-top .ring circle {
  fill: none; stroke: var(--terracotta-2); stroke-width: 2;
  stroke-dasharray: 126; stroke-dashoffset: 126;
  transition: stroke-dashoffset 0.1s linear;
}
@media (max-width: 620px) { .back-to-top { bottom: 84px; } }

/* mobile cta bar */
.mobile-cta-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 190;
  gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 11, 11, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-onchar);
}
.mobile-cta-bar .btn { flex: 1; justify-content: center; padding: 13px 16px; }
.mobile-cta-bar .btn svg { width: 16px; height: 16px; }
@media (max-width: 620px) { .mobile-cta-bar { display: flex; } }

/* wave dividers */
.wave-divider { line-height: 0; }
.wave-divider svg { display: block; width: 100%; height: 56px; }
.wave-divider path { fill: currentColor; }
.wave-cream-dark { background: var(--cream); color: var(--charcoal); }
.wave-dark-paper { background: var(--charcoal); color: var(--paper); }
@media (max-width: 620px) { .wave-divider svg { height: 34px; } }

/* grain texture, dark sections */
.bleed-dark, .site-footer { position: relative; z-index: 0; }
.bleed-dark::before, .site-footer::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  opacity: 0.05; pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* button/card hover interactions */
.btn-primary, .btn-outline-dark, .btn-outline-light { overflow: hidden; }
.btn-primary::before, .btn-outline-dark::before, .btn-outline-light::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s var(--ease);
  pointer-events: none;
}
.btn-primary:hover::before, .btn-outline-dark:hover::before, .btn-outline-light:hover::before { left: 130%; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline-dark:hover, .btn-outline-light:hover { transform: translateY(-2px); }

.project-card {
  perspective: 1000px;
  transform-style: preserve-3d;
}
.project-card .thumb, .project-card .info, .project-card::after {
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

/* Decorative circle breathing motion */
.cta-band-art, .hero-art circle {
  animation: breathe 6s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.hero-art circle { animation-duration: 8s; }
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-band-art, .hero-art circle { animation: none; }
}

/* star rating + avatar */
.testimonial .stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 18px; }
.testimonial .stars svg { width: 18px; height: 18px; fill: var(--terracotta-2); }
.testimonial .t-person { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 22px; }
.testimonial .t-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--terracotta); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  flex: none;
}
.testimonial cite { margin-top: 0; text-align: left; }
