@import url("https://fonts.googleapis.com/css2?family=AbeeZee:ital@0;1&family=Montserrat:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap");

:root {
  --bg: #040404;
  --bg-soft: #0c0f14;
  --panel: rgba(16, 18, 23, 0.88);
  --panel-strong: #0b0d12;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f6f7fb;
  --muted: #afb7c7;
  --accent-orange: #ff9c23;
  --accent-blue: #1bb5eb;
  --accent-slate: #97abc9;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --content-width: min(1180px, calc(100vw - 2rem));
  --header-height: 5.7rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 20%, rgba(27, 181, 235, 0.12), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(255, 156, 35, 0.16), transparent 24%),
    linear-gradient(180deg, #020202 0%, #07090d 44%, #020202 100%);
  color: var(--text);
  font-family: "AbeeZee", sans-serif;
  padding-top: calc(var(--header-height) + 1rem);
}

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

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

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

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}

.site-shell::before {
  top: 5rem;
  left: -8rem;
  background: rgba(27, 181, 235, 0.18);
}

.site-shell::after {
  top: 12rem;
  right: -10rem;
  background: rgba(255, 156, 35, 0.16);
}

.site-header,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--content-width);
  margin: 0 auto;
  padding: 1rem 0;
  backdrop-filter: blur(18px);
  z-index: 40;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 -1rem;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  background: rgba(0, 0, 0, 0.58);
  z-index: -1;
}

main {
  position: relative;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Space Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand img {
  width: 3rem;
}

.site-nav {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  font-family: "Space Mono", monospace;
  font-size: 0.9rem;
}

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

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  margin: 0.32rem 0;
  background: currentColor;
}

.section {
  width: var(--content-width);
  margin: 0 auto;
  padding: 6rem 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  min-height: calc(100vh - var(--header-height));
  padding-top: 1.25rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-orange);
  font-family: "Space Mono", monospace;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about-copy h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-copy,
.hero-visual {
  grid-area: 1 / 1;
}

.hero h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  max-width: 6ch;
}

.lede {
  max-width: 19ch;
  margin: 1.6rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.38;
  color: var(--text);
}

.supporting,
.work-card p,
.service-card p,
.project-card p,
.contact-card span,
.metric-copy,
.quote-card p,
.about-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-note {
  margin: 1.25rem 0 0;
  color: var(--text);
  font-family: "Space Mono", monospace;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.92;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: "Space Mono", monospace;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent-orange), #f5b649);
  border-color: transparent;
  color: #111;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.02);
}

.hero-visual {
  display: block;
}

.hero-image-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 78vh;
}

.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.48) 34%, rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.52)),
    linear-gradient(135deg, rgba(27, 181, 235, 0.12), transparent 40%, rgba(255, 156, 35, 0.12));
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-self: stretch;
  max-width: 36rem;
  padding: 0 0 3.75rem 2.4rem;
}

.hero-copy .supporting {
  max-width: 25rem;
  margin-top: 1.1rem;
  font-size: 1.06rem;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.about-copy h2 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
}

.insight-grid,
.about-layout,
.contact-grid {
  display: grid;
  gap: 1.25rem;
}

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

.metric-card,
.quote-card,
.service-card,
.work-card,
.project-card,
.contact-card,
.about-visual {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 17, 22, 0.82), rgba(7, 9, 13, 0.94));
  box-shadow: var(--shadow);
}

.metric-card,
.quote-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.metric-label,
.metric-copy,
.metric-value {
  margin: 0;
}

.metric-label,
.pill,
.card-index {
  font-family: "Space Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-label {
  color: var(--muted);
  font-size: 0.8rem;
}

.metric-value {
  margin-top: 1rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3.6rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1;
}

.metric-copy {
  margin-top: 1rem;
}

.quote-card {
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: "";
  position: absolute;
  inset: auto auto 1.8rem 1.8rem;
  width: 5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
}

.quote-card p {
  max-width: 26rem;
  margin: 0;
  padding-top: 4rem;
  font-size: 1.2rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.services-grid,
.work-grid {
  grid-template-columns: repeat(12, 1fr);
}

.service-card,
.work-card,
.project-card,
.contact-card {
  padding: 1.35rem;
  border-radius: var(--radius-md);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.service-card:hover,
.work-card:hover,
.project-card:hover,
.contact-card:hover,
.service-card:focus-within,
.work-card:focus-visible,
.project-card:focus-visible,
.contact-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.24);
}

.service-card {
  grid-column: span 4;
  min-height: 16rem;
}

.work-card {
  grid-column: span 4;
  min-height: 14rem;
}

.accent-card {
  background:
    linear-gradient(135deg, rgba(27, 181, 235, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(14, 17, 22, 0.82), rgba(7, 9, 13, 0.94));
}

.card-index {
  display: inline-block;
  color: var(--accent-orange);
  font-size: 0.78rem;
}

.service-card h3,
.work-card h3,
.project-card h3 {
  margin: 0.8rem 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.project-grid,
.contact-grid,
.about-layout {
  grid-template-columns: 1fr 1fr;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 14rem;
}

.pill {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.72rem;
}

.about-layout {
  align-items: stretch;
}

.about-copy {
  padding-right: 1rem;
}

.about-visual {
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 30rem;
  position: relative;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.contact-card {
  min-height: 9rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.contact-card strong {
  margin-top: 0.8rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1.45rem;
  line-height: 1.15;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: var(--content-width);
  margin: 0 auto;
  padding: 1.2rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 0.8rem;
}

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

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

@media (max-width: 980px) {
  :root {
    --header-height: 5.2rem;
  }

  .site-header {
    gap: 1rem;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    top: 5.2rem;
    left: 0.75rem;
    right: 0.75rem;
    display: none;
    min-width: 0;
    padding: 1.15rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(3, 4, 8, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    z-index: 12;
  }

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

  .site-nav a {
    display: block;
    width: 100%;
    font-size: 0.98rem;
    line-height: 1.4;
  }

  .hero,
  .insight-grid,
  .about-layout,
  .project-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 0.75rem;
  }

  .hero-image-frame {
    min-height: 72vh;
  }

  .hero-copy {
    max-width: 27rem;
    padding: 0 1.4rem 2.25rem;
  }

  .service-card,
  .work-card {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 5rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .site-header::before {
    inset: 0 -0.5rem;
  }

  .brand span {
    display: none;
  }

  .hero-image-frame {
    min-height: 82vh;
  }

  .hero-image-frame::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.78)),
      linear-gradient(135deg, rgba(27, 181, 235, 0.12), transparent 44%, rgba(255, 156, 35, 0.12));
  }

  .hero-copy {
    max-width: none;
    justify-content: flex-end;
    padding: 0 1rem 2rem;
  }

  .hero-copy .lede,
  .hero-copy .supporting {
    max-width: none;
  }

  .eyebrow {
    font-size: 0.88rem;
    letter-spacing: 0.18em;
  }

  .lede {
    font-size: 1.08rem;
    line-height: 1.42;
  }

  .hero-note {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
  }

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

  .service-card,
  .work-card {
    grid-column: span 1;
    min-height: auto;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
