:root {
  --bg: #0b0d0f;
  --text: #f5f2ec;
  --muted: #8e959f;
  --line: rgba(245, 242, 236, 0.12);
  --line-strong: rgba(245, 242, 236, 0.24);
  --accent: #ff5f2f;
  --accent-soft: rgba(255, 95, 47, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), var(--line) 25%, transparent calc(25% + 1px)),
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), var(--line) 50%, transparent calc(50% + 1px)),
    linear-gradient(90deg, transparent 0, transparent calc(75% - 1px), var(--line) 75%, transparent calc(75% + 1px));
  opacity: 0.28;
  pointer-events: none;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px),
    radial-gradient(circle at 78% 70%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px);
  background-size: 18px 18px, 23px 23px;
  mix-blend-mode: screen;
}

.spotlight {
  position: fixed;
  left: var(--x, 50%);
  top: var(--y, 18%);
  z-index: -2;
  width: 44vw;
  height: 44vw;
  min-width: 360px;
  min-height: 360px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 95, 47, 0.12), transparent 62%);
  pointer-events: none;
  transition: opacity 180ms ease;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: var(--scroll, 0%);
  height: 2px;
  background: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  background: transparent;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.site-header::before {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: 100%;
  content: "";
  background:
    linear-gradient(180deg, rgba(11, 13, 15, 0.96), rgba(11, 13, 15, 0.84)),
    rgba(11, 13, 15, 0.72);
  border-bottom: 1px solid rgba(245, 242, 236, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand,
.header-cta,
.main-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.main-nav a,
.header-cta,
.project-link {
  transition: color 180ms ease;
}

.main-nav a:hover,
.header-cta:hover,
.project-link:hover {
  color: var(--text);
}

.header-cta {
  justify-self: end;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: end;
  min-height: calc(100vh - 76px);
  padding: 56px 0 68px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(40px, 6.4vw, 86px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(36px, 5.8vw, 82px);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
}

.wordmark {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min-content;
  max-width: 100%;
  margin: 0 0 28px -0.06em;
  font-family: "Archivo Black", Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(72px, 18vw, 252px);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  word-break: break-word;
  text-wrap: balance;
  transform: translateY(calc(var(--wordmark-fog, 0) * -26px));
  transition: transform 80ms linear;
}

.wordmark-letter {
  --letter-fog: 0;
  position: relative;
  display: inline-block;
  min-height: 0.82em;
  opacity: calc(1 - (var(--letter-fog) * 0.92));
  filter: blur(calc(var(--letter-fog) * 4px));
  transform: translateY(calc(var(--letter-fog) * -20px));
  transition: opacity 80ms linear, filter 80ms linear, transform 80ms linear;
}

.wordmark-letter::after {
  position: absolute;
  inset: -22% -18% -4%;
  z-index: 1;
  content: "";
  background:
    linear-gradient(
      180deg,
      rgba(11, 13, 15, 0.98) 0%,
      rgba(11, 13, 15, 0.88) 27%,
      rgba(11, 13, 15, 0.46) 52%,
      rgba(11, 13, 15, 0) 82%
    ),
    radial-gradient(ellipse at 46% 24%, rgba(245, 242, 236, 0.1), transparent 46%),
    radial-gradient(ellipse at 68% 38%, rgba(245, 242, 236, 0.07), transparent 52%);
  filter: blur(12px);
  opacity: var(--letter-fog);
  pointer-events: none;
  transform: translateY(calc((1 - var(--letter-fog)) * -48%));
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  padding: 0 18px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.42);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #140805;
}

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

.kinetic-type {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  max-width: 760px;
}

.kinetic-type span {
  color: var(--muted);
  font-family: "Archivo Black", Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(18px, 3vw, 42px);
  line-height: 0.95;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.kinetic-type span:hover {
  color: var(--accent);
  transform: translateY(-4px);
}

.mini-page div,
.dark-showcase span,
.configurator span,
.content-split span {
  background: rgba(245, 242, 236, 0.12);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  min-height: 142px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
}

.metrics span {
  color: var(--muted);
}

.intro-band {
  padding: 110px 0 96px;
}

.intro-band p {
  max-width: 920px;
  color: var(--text);
  font-size: clamp(26px, 4vw, 52px);
  line-height: 1.05;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) 1fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 44px;
}

.projects,
.process,
.testimonials,
.contact {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter {
  min-height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0 14px;
  color: var(--muted);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.filter:hover,
.filter.is-active {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

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

.project-item {
  position: relative;
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 42px;
  min-height: 420px;
  border-bottom: 1px solid var(--line);
  padding: 38px 0;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, opacity 200ms ease;
}

.project-item:hover {
  border-color: var(--line-strong);
}

.project-item.is-hidden {
  display: none;
}

.project-link {
  grid-column: 1;
  display: inline-block;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.project-visual {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 5;
  align-self: stretch;
  min-height: 330px;
  margin-bottom: 0;
  background: #f4f1ea;
  overflow: hidden;
  transform: translateX(0);
  transition: transform 260ms ease, filter 260ms ease;
}

.project-item:hover .project-visual {
  transform: translateX(10px);
  filter: saturate(1.05) contrast(1.03);
}

.visual-school {
  display: grid;
  place-items: center;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
}

.circle-one {
  width: 88px;
  height: 88px;
  right: 16%;
  top: 18%;
}

.circle-two {
  width: 48px;
  height: 48px;
  right: 32%;
  bottom: 22%;
  background: #ffbd32;
}

.circle-three {
  width: 18px;
  height: 18px;
  right: 22%;
  bottom: 12%;
}

.mini-page {
  width: min(72%, 380px);
  padding: 34px;
}

.mini-page div:first-child {
  width: 58%;
  height: 18px;
  margin-bottom: 16px;
  background: #1b2028;
}

.mini-page div:nth-child(2) {
  width: 42%;
  height: 18px;
  margin-bottom: 28px;
  background: #1b2028;
}

.mini-page div:nth-child(3) {
  width: 86%;
  height: 80px;
  background: rgba(27, 32, 40, 0.08);
}

.visual-care {
  background: #f5ebe5;
}

.photo-strip {
  height: 132px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.56), transparent),
    repeating-linear-gradient(90deg, #d5e6d7 0 58px, #f2c6bd 58px 116px, #dde7f4 116px 174px);
}

.deep-band {
  height: 64px;
  background: #142235;
}

.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  padding: 32px 44px;
}

.content-split span {
  height: 58px;
  background: rgba(20, 34, 53, 0.12);
}

.visual-cat {
  background: #111;
  padding: 42px;
}

.dark-showcase strong {
  display: block;
  max-width: 420px;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: clamp(28px, 5vw, 62px);
  line-height: 0.95;
}

.dark-showcase span {
  display: block;
  width: 62%;
  height: 12px;
  margin-bottom: 14px;
}

.dark-showcase span:last-child {
  width: 38%;
}

.visual-neon {
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.86)),
    linear-gradient(135deg, #fde6f5, #d9fbff);
}

.neon-sign {
  position: absolute;
  top: 54px;
  left: 50%;
  transform: translateX(-50%);
  color: #ff35c2;
  font-size: 52px;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(255, 53, 194, 0.74);
}

.configurator {
  display: flex;
  gap: 10px;
  margin-top: 78px;
}

.configurator span {
  width: 76px;
  height: 76px;
  background: rgba(255, 53, 194, 0.18);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tags span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.tags span + span::before {
  content: "/";
  margin-right: 10px;
  color: var(--line-strong);
}

.project-item p,
.process p,
.testimonial-grid blockquote,
.contact p,
.site-footer {
  color: var(--muted);
}

.project-item p {
  max-width: 580px;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.process-track article {
  min-height: 250px;
  border-bottom: 1px solid var(--line);
  padding: 28px 28px 28px 0;
}

.process-track span {
  display: block;
  margin-bottom: 70px;
  color: var(--accent);
  font-weight: 800;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  column-gap: 56px;
  border-top: 1px solid var(--line);
}

.testimonial-grid figure {
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}

.testimonial-grid figure:first-child {
  grid-row: span 2;
}

.testimonial-grid blockquote {
  margin: 0 0 34px;
  font-size: clamp(17px, 2vw, 22px);
}

.testimonial-grid figcaption {
  display: grid;
  gap: 2px;
}

.testimonial-grid strong {
  color: var(--text);
}

.testimonial-grid span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.contact {
  min-height: 68vh;
  display: grid;
  align-content: center;
}

.contact h2 {
  max-width: 1060px;
  margin-bottom: 34px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  font-size: 13px;
}

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

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

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.72;
  }

  50% {
    transform: scale(0.965);
    opacity: 1;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

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

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
    row-gap: 16px;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
  }

  .section-heading,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    min-height: auto;
    padding-top: 54px;
  }

  .metrics,
  .process-track {
    grid-template-columns: 1fr;
  }

  .metrics div,
  .process-track article {
    border-right: 0;
  }

  .project-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-visual {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .section,
  .site-header,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-bottom: 56px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 74px);
  }

  .intro-band,
  .projects,
  .process,
  .testimonials,
  .contact {
    padding: 70px 0;
  }

  .project-item {
    min-height: auto;
    padding: 28px 0;
  }

  .project-visual {
    height: 230px;
  }

  .content-split {
    gap: 18px;
    padding: 24px;
  }

  .site-footer {
    display: grid;
    gap: 8px;
  }
}
