:root {
  --charcoal: #111111;
  --charcoal-soft: #1a1a1a;
  --ink: #242424;
  --ash: #6e6e6e;
  --mist: #d8d4ca;
  --ivory: #f7f4ec;
  --white: #ffffff;
  --line: rgba(17, 17, 17, 0.14);
  --line-dark: rgba(247, 244, 236, 0.16);
  --shadow: 0 28px 80px rgba(17, 17, 17, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--charcoal);
  background: var(--ivory);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
}

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

#signalCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 56px);
  background: rgba(247, 244, 236, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 760;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ivory);
  background: var(--charcoal);
  border-radius: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(17, 17, 17, 0.66);
  font-size: 0.9rem;
  font-weight: 650;
}

.site-nav a:hover {
  color: var(--charcoal);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 2px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--charcoal);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-content: end;
  gap: clamp(36px, 5vw, 60px);
  padding: 118px clamp(20px, 5vw, 72px) 34px;
}

.hero-inner {
  max-width: 980px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--ash);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 13.5ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 7.2vw, 7rem);
  line-height: 0.93;
  font-weight: 500;
}

.hero-copy {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--ink);
  font-size: clamp(1.04rem, 1.45vw, 1.24rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--charcoal);
  border-radius: 2px;
  font-size: 0.92rem;
  font-weight: 760;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.primary {
  color: var(--ivory);
  background: var(--charcoal);
}

.button.secondary {
  color: var(--charcoal);
  background: transparent;
}

.button.secondary:hover {
  color: var(--ivory);
  background: var(--charcoal);
}

.button.dark {
  color: var(--charcoal);
  background: var(--ivory);
}

.banner-stage {
  position: relative;
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}

.banner-stage img {
  display: block;
  width: 100%;
  height: auto;
}

.banner-color-pop {
  position: absolute;
  top: 4%;
  right: 0;
  bottom: 2%;
  width: 25%;
  pointer-events: none;
  background:
    radial-gradient(circle at 62% 29%, rgba(255, 255, 255, 0.96), transparent 9%),
    radial-gradient(circle at 61% 29%, rgba(0, 224, 255, 0.9), transparent 18%),
    linear-gradient(135deg, #ff3d81 0%, #ffb000 32%, #18d66b 58%, #00a7ff 100%);
  mix-blend-mode: screen;
  opacity: 0.95;
}

.banner-color-pop::after {
  content: "";
  position: absolute;
  inset: -10% -8%;
  background: radial-gradient(circle at 55% 26%, rgba(0, 202, 255, 0.24), transparent 34%);
  filter: blur(18px);
}

.banner-label {
  position: absolute;
  right: clamp(14px, 2.2vw, 32px);
  top: clamp(14px, 2vw, 28px);
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  color: var(--charcoal);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
}

.banner-label span,
.banner-label strong {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.banner-label span {
  color: var(--ash);
}

.market-strip,
.showcase,
.services-band,
.method,
.contact {
  padding: 96px clamp(20px, 5vw, 72px);
}

.market-strip {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(5, minmax(120px, 1fr));
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 236, 0.72);
}

.market-strip p,
.market-strip span {
  margin: 0;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-strip p {
  color: var(--charcoal);
}

.market-strip span {
  color: var(--ash);
}

.market-strip span:last-child {
  border-right: 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 40px;
}

.section-heading.compact {
  max-width: 680px;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5.2vw, 5.1rem);
  line-height: 1;
  font-weight: 500;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 760;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.work-card {
  min-height: 292px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 236, 0.5);
}

.work-card span {
  margin-bottom: auto;
  color: var(--ash);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.work-card p,
.service-row p,
.step p {
  margin: 0;
  color: var(--ash);
  line-height: 1.7;
}

.services-band {
  color: var(--ivory);
  background: var(--charcoal);
}

.services-band .eyebrow,
.services-band p {
  color: rgba(247, 244, 236, 0.68);
}

.service-list {
  border-top: 1px solid var(--line-dark);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 0.66fr);
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-dark);
}

.method {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.82fr);
  gap: clamp(30px, 6vw, 86px);
}

.steps {
  display: grid;
  border-top: 1px solid var(--line);
}

.step {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.step span {
  display: block;
  margin-bottom: 12px;
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  color: var(--ivory);
  background: var(--charcoal-soft);
  border-top: 1px solid var(--line-dark);
}

.contact h2 {
  max-width: 900px;
}

.contact .eyebrow {
  color: rgba(247, 244, 236, 0.64);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

@media (max-width: 920px) {
  .method,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 110px;
  }

  .banner-stage {
    margin-inline: calc(clamp(20px, 5vw, 72px) * -1);
    border-left: 0;
    border-right: 0;
  }

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

  .market-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-strip p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 16px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--ivory);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3.25rem, 15vw, 5rem);
  }

  .banner-stage img {
    width: 150%;
    max-width: none;
    transform: translateX(-31%);
  }

  .banner-color-pop {
    width: 31%;
  }

  .banner-label {
    right: 12px;
    top: 12px;
    padding: 10px 12px;
  }

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

  .market-strip {
    grid-template-columns: 1fr;
  }

  .market-strip p,
  .market-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact {
    align-items: start;
  }
}

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