/* A24-inspired theme: neutral grotesque, monochrome, uppercase, tight kerning */
:root {
  --bg: #ffffff;
  --fg: #000000;
  --muted: #888888;
  --line: #e6e6e6;
  --bg-alt: #f1f1f1;
  --accent: #2481C4;
  --max-width: 1240px;
  --radius: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #1a1a1a;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: var(--fg);
  background: #000;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  color: #fff;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(6px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__logo {
  display: block;
  height: 3.2rem;
  width: auto;
}

.nav {
  display: flex;
  gap: 2.25rem;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

/* Hero */
.hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 6rem 0;
  color: #fff;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.7)),
    url("../assets/images/AdobeStock_2002861261-2.webp") center / cover no-repeat;
}

.hero .btn {
  background: var(--accent);
  color: #fff;
}

.hero__inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.hero__content {
  max-width: 620px;
  margin-left: auto;
  text-align: right;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 2rem;
}

.hero__title {
  font-weight: 500;
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  margin: 0 0 1.8rem;
}

.hero__subtitle {
  font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 2.6rem auto;
  max-width: 560px;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: #fff;
  color: var(--fg);
}

/* Sections */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6.5rem 1.75rem;
}

.section--alt {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  background: var(--bg-alt);
}

#approach {
  color: #fff;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.6)),
    url("../assets/images/approach-bg.webp") center / cover no-repeat;
}

#approach .section__lead {
  color: rgba(255, 255, 255, 0.9);
}

.section--alt > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.section__title {
  font-weight: 500;
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0 auto 2.4rem;
}

.section__lead {
  font-weight: 400;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0;
  border-top: 1px solid var(--fg);
}

.card {
  padding: 2.2rem 1.6rem;
  border-bottom: 1px solid var(--fg);
  border-right: 1px solid var(--line);
}

.card:last-child {
  border-right: none;
}

.card h3 {
  margin: 0 0 0.9rem;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.card p {
  margin: 0;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: -0.01em;
}

/* "What We Do": dark section on the black body */
#work {
  color: #fff;
}

#work .cards,
#work .card {
  border-color: rgba(255, 255, 255, 0.18);
}

/* Clients / partners logo bar */
.logos {
  padding: 4.5rem 0;
}

.logobar {
  max-width: var(--max-width);
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logobar__track {
  display: flex;
  width: max-content;
  animation: logo-marquee 32s linear infinite;
}

.logobar:hover .logobar__track {
  animation-play-state: paused;
}

.logobar__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

@keyframes logo-marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logobar__track {
    animation: none;
  }
}

.logo {
  height: 28px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  margin: 0 1.7rem;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity 0.15s ease;
}

.logo:hover {
  opacity: 1;
}

/* Contact / Partner section */
#contact {
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65)),
    url("../assets/images/AdobeStock_352613284.webp") center / cover no-repeat;
}

#contact .section__lead {
  max-width: 560px;
  margin: 0 auto 2.2rem;
  color: rgba(255, 255, 255, 0.9);
}

#contact .btn {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  padding-left: 2.2rem;
  padding-right: 2.2rem;
}

.footer__address,
.footer__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  line-height: 1;
  font-style: normal;
  text-align: left;
}

.footer__legal a:hover {
  color: #fff;
}

/* Contact form */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
  text-align: left;
}

.contact-form__field {
  display: grid;
  gap: 0.55rem;
}

.contact-form__label {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  line-height: 1.5;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button.btn {
  justify-self: center;
  font-family: inherit;
  cursor: pointer;
}

.contact-form button.btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.contact-form__honey {
  display: none;
}

.contact-form__status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

.contact-form__status--error {
  color: #e07070;
}

/* Footer */
.site-footer {
  padding: 2.8rem 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-top: 1px solid var(--fg);
  background: #1a1a1a;
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 3.5rem;
}

.footer__address {
  justify-self: center;
}

.footer__legal {
  justify-self: end;
}

.footer__copyright {
  margin: 0;
  text-align: right;
}

.footer__logo {
  display: block;
  width: 100px;
  height: auto;
  margin: 0;
  flex-shrink: 0;
  filter: invert(1);
  opacity: 0.5;
}
