:root {
  --bg: #f3f2ef;
  --surface: #ffffff;
  --ink: #121417;
  --muted: #5a5f66;
  --line: #ddd9d2;
  --accent: #1a4d3e;
  --accent-ink: #ffffff;
  --max: 1080px;
  --radius: 0;
  --font: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ——— Hero: full-bleed photo (person right → text left) ——— */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: #121417;
  border-bottom: 1px solid var(--line);
  color: #f5f4f1;
}
.hero--photo .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}
.hero--photo .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 42%;
  animation: hero-drift 18s ease-in-out infinite alternate;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 12, 14, 0.88) 0%, rgba(10, 12, 14, 0.62) 38%, rgba(10, 12, 14, 0.22) 62%, rgba(10, 12, 14, 0.35) 100%),
    linear-gradient(180deg, rgba(10, 12, 14, 0.35) 0%, transparent 28%, transparent 55%, rgba(10, 12, 14, 0.55) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 18vh;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(243, 242, 239, 0.35) 45%,
    var(--bg) 100%
  );
  pointer-events: none;
}

.noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  pointer-events: none;
}

@keyframes hero-drift {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

.top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem clamp(1rem, 4vw, 2rem);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 20;
}
.top-in-hero {
  position: relative;
  z-index: 10;
  background: transparent;
  border-bottom: 0;
  padding: 1.35rem clamp(1.25rem, 3vw, 3.2rem);
  color: #f5f4f1;
}
.top-in-hero .brand { color: #fff; }
.top-in-hero .nav a { color: rgba(245, 244, 241, 0.72); }
.top-in-hero .nav a:hover { color: #fff; opacity: 1; }
.top-in-hero .top-phone { color: #fff; }
.brand {
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.04em;
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
}
.nav {
  display: flex;
  gap: clamp(1rem, 2vw, 1.75rem);
  flex: 1;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.nav a { text-decoration: none; color: var(--muted); transition: opacity 0.18s ease; }
.nav a:hover { color: var(--ink); opacity: 0.7; }
.top-phone {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

.hero-content {
  position: absolute;
  z-index: 5;
  left: clamp(1.25rem, 4vw, 3.2rem);
  right: clamp(1.25rem, 4vw, 3.2rem);
  bottom: 5.5rem;
  max-width: 42rem;
}
.hero--photo .eyebrow { color: rgba(245, 244, 241, 0.7); }
.hero--photo .brand-mark { color: #fff; }
.hero--photo .headline-line-muted { color: rgba(245, 244, 241, 0.62); }
.hero--photo .lede { color: rgba(245, 244, 241, 0.9); }
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.brand-mark {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.hero h1 {
  margin: 0;
  font-size: clamp(1.65rem, 3.6vw, 2.65rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.headline-line { display: block; }
.headline-line-muted {
  color: var(--muted);
  font-weight: 500;
}
.lede {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  line-height: 1.4;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.25rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, filter 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: rgba(255, 255, 255, 0.72); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
.btn-lg { padding: 0.95rem 1.5rem; }

.hero-footer {
  position: absolute;
  z-index: 10;
  left: clamp(1.25rem, 3vw, 3.2rem);
  right: clamp(1.25rem, 3vw, 3.2rem);
  bottom: 1.35rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 0.75rem;
  color: rgba(245, 244, 241, 0.65);
  font-size: 0.8rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.hero-footer p { margin: 0; }
.hero-footer p:last-child {
  justify-self: end;
  text-align: right;
}
.hero--photo .scroll-cue { color: #c8e6d8; }
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--accent);
  transition: opacity 0.18s ease;
}
.scroll-cue:hover { opacity: 0.55; }

.hero-compact {
  position: relative;
  min-height: 0;
  color: var(--ink);
  background: var(--bg);
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1rem, 4vw, 2rem);
}
.hero-compact .brand-mark,
.hero-compact .lede,
.hero-compact h1 { color: inherit; }
.hero-compact .headline-line-muted { color: var(--muted); }

.contact-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  max-width: 28rem;
  border-top: 1px solid var(--line);
}
.contact-list li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.contact-list span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.contact-list a {
  font-weight: 700;
  text-decoration: none;
}
.contact-list a:hover { text-decoration: underline; }

.section {
  padding: clamp(2.75rem, 7vw, 4.5rem) clamp(1rem, 4vw, 2rem);
  max-width: var(--max);
  margin: 0 auto;
}
.section-surface {
  max-width: none;
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.section-inner { max-width: var(--max); margin: 0 auto; }
.section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  letter-spacing: -0.02em;
}
.section-lede { margin: 0 0 1.75rem; color: var(--muted); max-width: 36rem; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.steps li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.step-n {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.steps h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.case {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: border-color 0.15s ease;
}
.case:hover { border-color: var(--ink); }
.case-media {
  aspect-ratio: 16 / 10;
  background: #d8d4cc center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.case-media-contain {
  background-color: #eef1ef;
  background-size: contain;
}
.case-body { padding: 1.15rem 1.2rem 1.35rem; }
.case-meta {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}
.case-body h3 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.case-body p { margin: 0 0 0.85rem; color: var(--muted); font-size: 0.95rem; }
.case-link { font-weight: 700; font-size: 0.9rem; color: var(--accent); }
.more-cases { margin: 1.5rem 0 0; font-weight: 600; }
.more-cases a { color: var(--muted); }

.scope-table {
  border: 1px solid var(--line);
  background: var(--surface);
}
.scope-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.scope-row:last-child { border-bottom: 0; }
.scope-row > div {
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
}
.scope-row > div:first-child { border-right: 1px solid var(--line); }
.scope-head {
  background: var(--ink);
  color: #f5f4f1;
  font-weight: 700;
}
.scope-head > div:first-child { border-right-color: rgba(255,255,255,0.15); }

.section-cta { text-align: left; }
.cta-block {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.fine { margin: 0; color: var(--muted); font-size: 0.9rem; }
.fine a { color: var(--ink); }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.5rem clamp(1rem, 4vw, 2rem);
  border-top: 1px solid var(--line);
  background: #1a1c1e;
  color: #c8c9cb;
  font-size: 0.88rem;
}
.foot a { color: #e8e9ea; }
.foot-tools { margin: 0; opacity: 0.75; font-size: 0.82rem; }
.foot-tools a { text-decoration: none; }
.foot-tools a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero--photo .hero-bg img {
    object-position: 78% 35%;
  }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(10, 12, 14, 0.55) 0%, rgba(10, 12, 14, 0.35) 35%, rgba(10, 12, 14, 0.78) 70%, rgba(10, 12, 14, 0.92) 100%),
      linear-gradient(90deg, rgba(10, 12, 14, 0.55) 0%, transparent 55%);
  }
  .hero-content {
    bottom: 6.5rem;
    max-width: none;
  }
  .hero-footer {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .hero-footer p:last-child {
    justify-self: start;
    text-align: left;
  }
  .scroll-cue { order: -1; }
}

@media (max-width: 820px) {
  .cases { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 3rem 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 0.2rem; }
}

@media (max-width: 560px) {
  .scope-row { grid-template-columns: 1fr; }
  .scope-row > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .scope-head > div:first-child { border-bottom-color: rgba(255,255,255,0.15); }
  .top-phone { font-size: 0.82rem; }
  .hero--photo { min-height: 100svh; }
  .hero-content { bottom: 7.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero--photo .hero-bg img { animation: none; }
}
