:root {
  --bg: #f6f1e8;
  --bg-soft: #eef3ed;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-solid: #ffffff;
  --surface: #fbf8f3;
  --text: #1c3b31;
  --muted: #65756d;
  --line: rgba(28, 59, 49, 0.12);
  --accent: #285446;
  --accent-strong: #3b6f5e;
  --sea: #7da59d;
  --shadow: 0 24px 70px rgba(53, 68, 60, 0.10);
  --radius: 18px;
  --container: min(1180px, calc(100vw - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(125, 165, 157, 0.14), transparent 22%),
    radial-gradient(circle at 82% 12%, rgba(40, 84, 70, 0.08), transparent 18%),
    linear-gradient(180deg, #f6f1e8 0%, #f4f7f2 44%, #f8f4ee 100%);
  color: var(--text);
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

h1,
h2,
h3,
.eyebrow,
.button,
.site-nav {
  font-family: "Space Grotesk", sans-serif;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3.3rem, 8vw, 6.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

h3 {
  font-size: 1.45rem;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.site-shell::before {
  top: -10rem;
  right: -12rem;
  background: rgba(125, 165, 157, 0.12);
}

.site-shell::after {
  bottom: -12rem;
  left: -12rem;
  background: rgba(40, 84, 70, 0.08);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(24px);
  background: rgba(246, 241, 232, 0.82);
  border-bottom: 1px solid rgba(28, 59, 49, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.6rem;
}

.brand img,
.footer-logo {
  width: 232px;
}

.site-header .brand img {
  filter: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 1.6rem;
  height: 2px;
  margin: 0.28rem 0;
  background: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #f8f4ee;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(40, 84, 70, 0.16);
}

.button:hover {
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.55);
  color: var(--accent);
  border: 1px solid rgba(40, 84, 70, 0.16);
  box-shadow: none;
}

.button-small {
  min-height: 2.8rem;
  padding-inline: 1.05rem;
}

.hero,
.page-hero {
  position: relative;
  padding: 5rem 0 3.5rem;
}

.page-hero.compact {
  padding-top: 6rem;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 241, 232, 0.96), rgba(246, 241, 232, 0.72)),
    linear-gradient(180deg, rgba(246, 241, 232, 0.16), rgba(246, 241, 232, 0.88) 100%);
  pointer-events: none;
}

.hero-grid,
.split-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.split-grid.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.hero-copy,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lede {
  max-width: 40rem;
  font-size: 1.12rem;
}

.narrow {
  max-width: 44rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-mini-stats {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-mini-stats div {
  min-width: 8rem;
}

.hero-mini-stats strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  color: var(--text);
}

.hero-mini-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  margin-top: 0.8rem;
  padding-left: 1.5rem;
  color: var(--text);
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sea);
  box-shadow: 0 0 16px rgba(143, 183, 179, 0.65);
}

.glass-card,
.service-card,
.quote-card,
.pill-card,
.map-frame,
.service-column,
.quote-feature {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 244, 238, 0.92));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-panel,
.contact-card {
  padding: 1.8rem;
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(28, 59, 49, 0.08);
}

.hero-panel-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
}

.signal {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--sea);
  box-shadow: 0 0 16px rgba(143, 183, 179, 0.8);
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(28, 59, 49, 0.08);
  background: rgba(255, 255, 255, 0.45);
}

.ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 1rem 0;
  color: var(--text);
  animation: ticker 28s linear infinite;
}

.ticker-track span::before {
  content: "•";
  margin-right: 2rem;
  color: var(--accent);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 4.8rem 0;
}

.section-head {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.compact-head {
  max-width: 34rem;
}

.cards {
  display: grid;
  gap: 1.25rem;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.quote-card,
.pill-card,
.service-column {
  padding: 1.5rem;
}

.service-card h3,
.quote-card strong {
  color: var(--text);
}

.card-index {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(28, 59, 49, 0.14);
  border-bottom: 1px solid rgba(28, 59, 49, 0.14);
}

.service-column {
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(28, 59, 49, 0.14);
  border-radius: 0;
  box-shadow: none;
  padding: 1.6rem 1.5rem 1.8rem;
}

.service-column:last-child {
  border-right: 0;
}

.visual-story {
  padding-top: 2rem;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.75fr 0.5fr;
  gap: 1rem;
  align-items: stretch;
}

.visual-large,
.visual-small {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.visual-large img,
.visual-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.visual-large {
  min-height: 34rem;
}

.visual-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 1rem 1rem 2rem;
}

.visual-small {
  min-height: 34rem;
}

.spotlight {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0)),
    radial-gradient(circle at top right, rgba(125, 165, 157, 0.10), transparent 28%);
}

.image-frame {
  overflow: hidden;
  border-radius: 28px;
  min-height: 28rem;
  border: 1px solid var(--line);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-visual,
.portrait-wrap {
  position: relative;
}

.spotlight-list {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(28, 59, 49, 0.12);
}

.spotlight-list div {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(28, 59, 49, 0.12);
  color: var(--text);
}

.narrative-band {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 2rem;
  align-items: end;
}

.narrative-band.slim {
  grid-template-columns: 1fr;
}

.industry-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
  margin-top: 2rem;
}

.industry-ribbon span {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(40, 84, 70, 0.16);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.66);
  font-weight: 600;
}

.full-bleed-photo {
  padding-top: 1rem;
}

.full-bleed-inner {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(28, 59, 49, 0.10);
  min-height: 34rem;
}

.full-bleed-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) brightness(0.68);
}

.full-bleed-copy {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  z-index: 2;
  max-width: 28rem;
}

.full-bleed-copy .eyebrow,
.full-bleed-copy h2 {
  color: #ffffff;
}

.full-bleed-copy h2 {
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
}

.quote-card p {
  color: var(--text);
  font-size: 1.08rem;
}

.quote-card span {
  color: var(--accent);
}

.quote-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.35fr 0.7fr;
  gap: 2rem;
  padding: 2rem;
  align-items: end;
}

.quote-feature blockquote {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.quote-meta strong,
.quote-meta span {
  display: block;
}

.quote-meta span {
  color: var(--accent);
}

.quote-side p {
  margin-top: 0;
}

.quote-side a {
  color: var(--accent);
  font-weight: 700;
  border-bottom: 1px solid rgba(40, 84, 70, 0.3);
}

.cta-band {
  padding-top: 0;
}

.cta-band-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid rgba(40, 84, 70, 0.10);
  background: linear-gradient(135deg, rgba(125, 165, 157, 0.16), rgba(255, 255, 255, 0.72));
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(28, 59, 49, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: 2rem;
}

.site-footer h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0.35rem 0;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.filter-chip {
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(40, 84, 70, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: var(--accent);
  font: inherit;
  cursor: pointer;
}

.filter-chip.active {
  background: var(--accent);
  color: #f8f4ee;
  border-color: transparent;
}

.filter-targets .service-card.is-hidden {
  display: none;
}

.glass-stack {
  display: grid;
  gap: 1rem;
}

.portrait {
  width: min(24rem, 100%);
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-link {
  display: block;
  margin: 0.7rem 0;
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 700;
}

.stack {
  flex-direction: column;
  align-items: flex-start;
}

.map-frame {
  overflow: hidden;
  padding: 0;
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 28rem;
  border: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .three-up,
  .footer-grid,
  .visual-grid,
  .narrative-band,
  .quote-feature {
    grid-template-columns: 1fr;
  }

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

  .visual-copy {
    padding: 1rem 0;
  }

  .visual-large,
  .visual-small,
  .full-bleed-inner {
    min-height: 22rem;
  }

  .service-column {
    border-right: 0;
    border-bottom: 1px solid rgba(28, 59, 49, 0.14);
  }

  .service-column:last-child {
    border-bottom: 0;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(246, 241, 232, 0.98);
    border: 1px solid rgba(28, 59, 49, 0.10);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(2.8rem, 14vw, 4.1rem);
  }

  .hero,
  .page-hero,
  .section {
    padding-block: 3.5rem;
  }

  .brand img,
  .footer-logo {
    width: 180px;
  }

  .full-bleed-copy {
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
  }
}
