*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --white: #ffffff;
  --black: #111111;
  --gray: #e4e4e4;
  --gray-mid: #999999;
  --red: #ff3300;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--white);
  color: var(--black);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: crosshair;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  background: var(--white);
  border-bottom: 1px solid var(--gray);
}
.nav-logo {
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
}
.nav-logo span {
  color: var(--red);
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-mid);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--black);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--black);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-drawer.open {
  transform: translateX(0);
}
.nav-drawer-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  color: var(--black);
}
.nav-drawer-links {
  list-style: none;
  border-top: 1px solid var(--gray);
}
.nav-drawer-links li {
  border-bottom: 1px solid var(--gray);
}
.nav-drawer-links a {
  display: block;
  padding: 24px 4px;
  font-family: "DM Mono", monospace;
  color: var(--red);
  font-size: 1.5rem;
  text-transform: uppercase;
  text-decoration: none;
}

/* HERO */
.hero {
  min-height: 200vh;
  position: relative;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 48px 72px;
  overflow: hidden;
}

/* Static grid — hero background */
.hero-grid-static {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--gray) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
  pointer-events: none;
}
.hero-grid-static::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, var(--white) 100%);
}

/* Wave canvas — hero */
#waveCanvasHero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

.hero-coords {
  position: absolute;
  top: 100px;
  right: 48px;
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  color: var(--gray-mid);
  letter-spacing: 0.1em;
  line-height: 2;
  text-align: right;
  z-index: 2;
}
.hero-coords .red {
  color: var(--red);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  font-family: "DM Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeIn 0.8s 0.3s forwards;
}

.hero-title {
  font-size: clamp(3.8rem, 10vw, 9.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 0.3s 0.5s forwards;
}
.hero-title .line1 {
  display: block;
}
.hero-title .line2 {
  font-weight: 700;
}

.stamp-letter {
  display: inline-block;
  opacity: 0;
  transform: scale(1.2);
  transition:
    opacity 0.08s ease,
    transform 0.14s cubic-bezier(0.16, 1, 0.3, 1);
}
.stamp-letter.on {
  opacity: 1;
  transform: scale(1);
}

.type-cursor {
  display: inline-block;
  width: 3px;
  height: 0.75em;
  background: var(--red);
  margin-left: 3px;
  vertical-align: middle;
  position: relative;
  top: -0.05em;
  animation: blink 0.85s step-end infinite;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 64px;
  opacity: 0;
  animation: fadeIn 0.8s 1s forwards;
}
.hero-desc {
  width: 20%;
  font-family: "DM Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.9;
  color: var(--gray-mid);
  font-style: italic;
}
.hero-year {
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  color: var(--gray-mid);
  font-size: 0.78rem;
  line-height: 1.9;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 32px;
  padding-left: 20px;
  padding-top: 20px;
  width: 80%;
}
.hero-year span {
  display: block;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "DM Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s 1.8s forwards;
  z-index: 2;
}
.scroll-hint::after {
  content: "";
  width: 1px;
  height: 28px;
  background: var(--red);
  transform-origin: top;
  transform: scaleY(0);
  animation: growLine 1s 2.6s ease forwards;
}
@keyframes growLine {
  to {
    transform: scaleY(1);
  }
}

/* OCEAN SECTION */
.ocean-section {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: var(--white);
}
#waveCanvasOcean {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
}
.ocean-label {
  position: absolute;
  bottom: 32px;
  left: 48px;
  font-family: "DM Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

/* REST OF SECTIONS */
.divider {
  height: 1px;
  background: var(--gray);
  margin: 0 48px;
}
.section {
  padding: 100px 48px;
}
.sec-label {
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.disciplines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray);
}
.disc-item {
  padding: 48px 40px 48px 0;
  border-right: 1px solid var(--gray);
}
.disc-item:last-child {
  border-right: none;
  padding-left: 40px;
  padding-right: 0;
}
.disc-item:nth-child(2) {
  padding-left: 40px;
}
.disc-item:hover .disc-title {
  color: var(--red);
}
.disc-title {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.disc-body {
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--gray-mid);
  font-weight: 300;
}

.statement {
  padding: 0;
  background: var(--black);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.statement-inner {
  padding: 100px 64px 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.statement h2 {
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.statement h2 .red {
  color: var(--red);
}
.statement-sub {
  margin-top: 48px;
  font-family: "DM Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.03em;
  max-width: 420px;
}
.statement-right {
  padding: 100px 64px 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.statement-principles {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.principle {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  transition: color 0.3s;
  cursor: default;
}
.principle:hover {
  color: rgba(255, 255, 255, 0.9);
}
@media (max-width: 860px) {
  .statement {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .statement-inner {
    padding: 80px 24px 60px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .statement-right {
    padding: 60px 24px 80px;
  }
}

.clients-section {
  padding: 100px 48px;
}
.clients-legend {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 60px;
  line-height: 1.2;
}
.clients-legend em {
  font-style: italic;
  color: var(--gray-mid);
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gray);
  border-left: 1px solid var(--gray);
}
.client-cell {
  border-right: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
  padding: 32px 28px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition:
    background 0.2s,
    color 0.2s;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}
.client-cell:hover {
  background: var(--black);
  color: var(--white);
}
.client-logo {
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition:
    filter 0.2s,
    opacity 0.2s;
}
.client-cell:hover .client-logo {
  filter: grayscale(0%);
  opacity: 1;
}

.values-section {
  padding: 100px 48px;
  background: #f7f7f7;
}
.values-intro {
  font-family: "DM Mono", monospace;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gray-mid);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--gray);
}
.values-list {
  list-style: none;
  border-top: 1px solid var(--gray);
}
.val-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--gray);
  align-items: start;
}
.val-key {
  font-family: "DM Mono", monospace;
  color: var(--red);
  font-size: 1.5rem;
  text-transform: uppercase;
  padding-top: 4px;
}
.val-text {
  font-size: 0.9rem;
  line-height: 1.75;
  font-weight: 300;
  color: var(--black);
}

.impact-section {
  padding: 100px 48px;
  border-top: 1px solid var(--gray);
}
.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--gray);
  border: 1px solid var(--gray);
  margin-top: 60px;
}
.impact-item {
  background: var(--white);
  padding: 40px 32px;
}
.impact-item .i-tag {
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.impact-item .i-name {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

.contact-section {
  padding: 140px 48px 100px;
}
.contact-line {
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.95;
}
.contact-line a {
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-line a:hover {
  color: var(--red);
}
.contact-meta {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--gray);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-meta p {
  font-family: "DM Mono", monospace;
  font-size: 0.62rem;
  color: var(--gray-mid);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.6;
}

footer {
  border-top: 1px solid var(--gray);
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer p {
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-mid);
}
footer .f-mark {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── SPHERE ── */
.sphere-section {
  position: relative;
  background: var(--white);
}
.sphere-canvas-wrap {
  position: relative;
  height: 85vh;
  overflow: hidden;
}
#sphereCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.sphere-label {
  position: absolute;
  bottom: 40px;
  left: 48px;
  z-index: 2;
  pointer-events: none;
}
.sphere-pre {
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 8px;
}
.sphere-sub {
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-mid);
}
.sphere-headline {
  padding: 80px 48px 0;
  pointer-events: none;
  border-top: 1px solid var(--gray);
}
.sphere-headline-label {
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 20px;
}
.sphere-headline h3 {
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--black);
}
.sphere-headline h3 .thin {
  font-style: italic;
  color: var(--gray-mid);
}
.sphere-headline-sub {
  margin-top: 20px;
  font-family: "DM Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--gray-mid);
  font-style: italic;
  max-width: 480px;
}

/* ── BLOG ── */
.blog-section {
  padding: 100px 48px;
  background: #f7f7f7;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray);
  border: 1px solid var(--gray);
}
.blog-item {
  background: #f7f7f7;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.25s;
}
.blog-item:hover {
  background: var(--white);
}
.blog-meta {
  display: flex;
  gap: 16px;
  align-items: center;
}
.blog-date {
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-mid);
}
.blog-tag {
  font-family: "DM Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(255, 51, 0, 0.3);
  padding: 3px 10px;
}
.blog-title {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--black);
}
.blog-excerpt {
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--gray-mid);
  font-weight: 300;
  flex: 1;
}
.blog-link {
  font-family: "DM Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s;
  margin-top: auto;
}
.blog-link:hover {
  color: var(--red);
}

@media (max-width: 860px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-section {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ── SMILEY ── */
.smiley-wrap {
  padding: 0 0 40px;
  overflow: visible;
  line-height: 1;
}
.smiley-letter {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(5rem, 16vw, 14rem);
  color: var(--white);
  letter-spacing: -0.04em;
  opacity: 0;
  transform: scale(1.3);
  transition:
    opacity 0.12s ease,
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.smiley-letter.on {
  opacity: 1;
  transform: scale(1);
}

/* ── SERVICES ── */
.services-section {
  padding: 100px 48px;
  border-top: 1px solid var(--gray);
}
.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--gray);
}
.services-title {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0em;
  line-height: 1.4;
  color: var(--gray-mid);
}
.services-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--black);
}
.services-body {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--gray-mid);
  font-weight: 300;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray);
  border: 1px solid var(--gray);
}
.service-item {
  background: var(--white);
  padding: 40px 32px;
  transition: background 0.2s;
}
.service-item:hover {
  background: var(--black);
}
.service-item:hover .service-name,
.service-item:hover .service-desc,
.service-item:hover .service-num {
  color: var(--white);
}
.service-num {
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--red);
  display: block;
  margin-bottom: 20px;
  transition: color 0.2s;
}
.service-item:hover .service-num {
  color: var(--red);
}
.service-name {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--black);
  transition: color 0.2s;
}
.service-desc {
  font-size: 0.76rem;
  line-height: 1.8;
  color: var(--gray-mid);
  font-weight: 300;
  transition: color 0.2s;
}
@media (max-width: 860px) {
  .services-section {
    padding-left: 24px;
    padding-right: 24px;
  }
  .services-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ── PRINCIPLES ── */
.principles-section {
  padding: 80px 0;
  border-top: 1px solid var(--gray);
  background: var(--white);
}
.principles-list {
  display: flex;
  flex-direction: column;
  max-width: 760px;
}
.principles-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray);
  align-items: baseline;
}
.principles-label {
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gray-mid);
  font-weight: 300;
}
.principles-text {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--gray-mid);
  font-weight: 300;
}
@media (max-width: 860px) {
  .principles-section {
    padding-right: 24px;
  }
  .principles-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@media (max-width: 860px) {
  nav {
    padding: 20px 24px;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-sticky {
    padding: 100px 24px 60px;
    justify-content: center;
  }
  .hero-desc,
  .hero-year {
    width: 50%;
  }
  .hero-coords {
    display: none;
  }
  .scroll-hint {
    display: none;
  }
  .ocean-label {
    left: 24px;
  }
  .section,
  .clients-section,
  .values-section,
  .impact-section,
  .contact-section {
    padding-left: 24px;
    padding-right: 24px;
  }
  .divider {
    margin: 0 24px;
  }
  .statement {
    padding: 80px 24px;
  }
  .disciplines {
    grid-template-columns: 1fr;
  }
  .disc-item,
  .disc-item:last-child,
  .disc-item:nth-child(2) {
    border-right: none;
    border-bottom: 1px solid var(--gray);
    padding: 36px 0;
  }
  .disc-item:last-child {
    border-bottom: none;
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .val-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .impact-grid {
    grid-template-columns: 1fr;
  }
  .contact-meta {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 20px 24px;
  }
}
