:root {
  --bg: #fafafa;
  --ink: #111111;
  --muted: #6b6b6b;
  --line: #e5e5e5;
  --pad: clamp(24px, 3vw, 48px);
  --font: "Instrument Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

.num {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.text-link {
  display: inline-block;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: opacity 0.25s;
}

.text-link:hover {
  opacity: 0.55;
}

.text-link--lg {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

/* Nav — centered wordmark, unlike SIGNAL left brand + pills */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.1rem var(--pad);
  background: rgba(250, 250, 250, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav.is-solid {
  border-bottom-color: var(--line);
}

.nav__menu {
  justify-self: start;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav__brand {
  justify-self: center;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav__right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__lang {
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.55;
}

.nav__cta {
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
}

.mobile {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-content: center;
  gap: 1.25rem;
  background: var(--bg);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.mobile[hidden] {
  display: none;
}

.mobile__close {
  position: absolute;
  top: 1.1rem;
  right: var(--pad);
  font-size: 2rem;
  line-height: 1;
}

/* Hero — split typography, no photo */
.hero {
  min-height: 92vh;
  padding: 8rem var(--pad) 4rem;
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 3rem;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.hero__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(2.8rem, 7.5vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
  max-width: 11ch;
}

.hero__title .word {
  display: inline-block;
  margin-right: 0.22em;
}

.hero__right {
  padding-bottom: 0.35rem;
}

.hero__right p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 32ch;
  margin-bottom: 1.5rem;
}

/* About */
.about {
  padding: 5rem var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  border-bottom: 1px solid var(--line);
}

.about__intro h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 12ch;
}

.about__body p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40ch;
  margin-bottom: 2rem;
}

.pillars {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pillars li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 1.05rem;
}

/* Work list + hover preview */
.work {
  padding: 5rem var(--pad);
  border-bottom: 1px solid var(--line);
}

.work__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2rem;
  margin-bottom: 3rem;
  align-items: start;
}

.work__head .num {
  margin: 0;
  padding-top: 0.35rem;
}

.work__head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 18ch;
  margin-bottom: 1rem;
}

.work__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
  min-height: 420px;
}

.work-list {
  list-style: none;
}

.work-item a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.3s;
}

.work-list:hover .work-item a {
  opacity: 0.35;
}

.work-list .work-item:hover a,
.work-item.is-active a {
  opacity: 1;
}

.work-item__name {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.work-item__meta {
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
}

.work__preview {
  position: sticky;
  top: 6rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eee;
}

.work__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s var(--ease), transform 0.6s var(--ease);
}

.work__note {
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.work__note a {
  margin-left: 0.4rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

/* Quote — text only, no dark cards */
.quote {
  padding: 6rem var(--pad);
  border-bottom: 1px solid var(--line);
  max-width: 18ch;
}

.quote blockquote {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.quote cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Approach — numbered rows, not cards */
.approach {
  padding: 5rem var(--pad);
  border-bottom: 1px solid var(--line);
}

.approach__head {
  margin-bottom: 2.5rem;
}

.approach__head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.approach__list {
  list-style: none;
  counter-reset: ap;
}

.approach__list li {
  counter-increment: ap;
  display: grid;
  grid-template-columns: 3rem 1fr 1.4fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}

.approach__list li::before {
  content: counter(ap, decimal-leading-zero);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.approach__list strong {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.approach__list p {
  color: var(--muted);
}

/* Team — names only */
.team {
  padding: 5rem var(--pad);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.team__head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 1rem;
  max-width: 14ch;
}

.team__head p {
  color: var(--muted);
  max-width: 36ch;
}

.team-list {
  list-style: none;
}

.team-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.team-list em {
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
}

.footer-cta {
  padding: 6rem var(--pad);
  display: grid;
  gap: 1.5rem;
}

.footer-cta h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 12ch;
}

.footer {
  padding: 1.5rem var(--pad) 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.footer p {
  color: var(--muted);
}

.footer__links {
  display: flex;
  gap: 1.25rem;
  font-weight: 600;
}

/* Inner pages */
.page {
  padding: 7rem 0 3rem;
}

.page-head {
  padding: 0 var(--pad) 2.5rem;
  max-width: 720px;
}

.page-head h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  max-width: 12ch;
}

.page-head p {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 46ch;
}

.filters {
  padding: 0 var(--pad) 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.filter {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.filter.is-on {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.folio {
  list-style: none;
  padding: 0 var(--pad);
}

.folio__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  align-items: center;
}

.folio__row.is-hidden {
  display: none;
}

.folio__text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-bottom: 0.35rem;
}

.folio__text span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.folio__text p {
  margin-top: 0.85rem;
  color: var(--muted);
  max-width: 36ch;
}

.folio__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #eee;
}

.folio__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.folio__row:hover .folio__media img {
  transform: scale(1.03);
}

.contact-grid {
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-page .page-head {
  padding: 0;
}

.contact-meta {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 1.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.form input,
.form textarea {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  outline: none;
  background: transparent;
  border-radius: 0;
}

.form input:focus,
.form textarea:focus {
  border-bottom-color: var(--ink);
}

.form__submit {
  justify-self: start;
  margin-top: 0.5rem;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.form__ok {
  color: var(--ink);
  font-weight: 600;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
}

@media (max-width: 900px) {
  .hero,
  .about,
  .work__layout,
  .team,
  .approach__list li,
  .folio__row,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .work__preview {
    display: none;
  }

  .approach__list li {
    gap: 0.35rem;
  }

  .approach__list li::before {
    grid-column: 1;
  }

  .approach__list strong,
  .approach__list p {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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