:root {
  --bg: #f2efe9;
  --text: #111111;
  --muted: #5e5a55;
  --line: rgba(17, 17, 17, 0.16);
  --container: 1280px;
  --space: 32px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.25;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

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

h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  max-width: 10ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

p {
  font-size: 1.05rem;
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(242, 239, 233, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark,
.footer-mark {
  width: 54px;
  aspect-ratio: 1;
  background: var(--text);
  clip-path: polygon(50% 0%, 92% 30%, 78% 100%, 22% 100%, 8% 30%);
  position: relative;
}

.brand-mark::after,
.footer-mark::after {
  content: "";
  position: absolute;
  width: 21px;
  height: 21px;
  right: 9px;
  bottom: 10px;
  border-radius: 50%;
  background: var(--bg);
}

.brand-text span,
.footer-brand {
  font-size: 1.85rem;
  letter-spacing: -0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  align-items: end;
  gap: 48px;
}

.hero-text {
  max-width: 440px;
  justify-self: end;
}

.hero-text p + p {
  margin-top: 18px;
}

.hero-blur {
  position: absolute;
  pointer-events: none;
  filter: blur(22px);
  opacity: 0.4;
  background: linear-gradient(90deg, rgba(0,0,0,0.15), rgba(0,0,0,0.03));
}

.hero-blur-left {
  width: 46vw;
  height: 140px;
  left: 12%;
  top: 26%;
  transform: rotate(-14deg);
}

.hero-blur-right {
  width: 30vw;
  height: 110px;
  right: 6%;
  top: 52%;
  transform: rotate(-10deg);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 54px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.team-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.18);
}

.team-role {
  font-weight: 700;
}

.team-media,
.manifesto-media {
  width: 100%;
  min-height: 340px;
  margin-bottom: 24px;
}

.placeholder-media {
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0.1)),
    repeating-linear-gradient(
      -45deg,
      rgba(17,17,17,0.05),
      rgba(17,17,17,0.05) 12px,
      rgba(17,17,17,0.02) 12px,
      rgba(17,17,17,0.02) 24px
    );
}

.values-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.values-copy {
  max-width: 480px;
}

.values-graphic {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.pentagon {
  width: min(340px, 60%);
  color: var(--text);
}

.value {
  position: absolute;
  font-size: 1rem;
  text-transform: uppercase;
  max-width: 180px;
  text-align: center;
}

.value-top {
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
}

.value-left {
  left: 10%;
  top: 48%;
  transform: translateY(-50%);
}

.value-right {
  right: 8%;
  top: 48%;
  transform: translateY(-50%);
}

.value-bottom-left {
  left: 22%;
  bottom: 28px;
}

.value-bottom-right {
  right: 14%;
  bottom: 18px;
}

.section-heading {
  margin-bottom: 48px;
}

.case-item {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-top,
.case-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-top {
  padding: 24px 0;
  text-transform: uppercase;
}

.case-body {
  padding: 34px 0 42px;
}

.case-col h3 {
  text-transform: uppercase;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.manifesto-copy h2 {
  max-width: 10ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-copy h2 {
  max-width: 8ch;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 14px 0;
  font: inherit;
  color: var(--text);
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 12px;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.checkbox span {
  text-transform: none;
  font-size: 0.95rem;
}

.button-link {
  justify-self: start;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 1.8rem;
  text-transform: uppercase;
  text-decoration: underline;
  cursor: pointer;
}

.site-footer {
  background: #0d0d0d;
  color: #f4f0ea;
  padding: 72px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-mark {
  background: #f4f0ea;
  margin-bottom: 18px;
}

.footer-mark::after {
  background: #0d0d0d;
}

.footer-title {
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: #f4f0ea;
}

.site-footer p,
.site-footer a {
  color: #f4f0ea;
  text-decoration: none;
}

.site-footer a {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .hero-grid,
  .intro-grid,
  .values-layout,
  .manifesto-grid,
  .contact-grid,
  .footer-grid,
  .case-top,
  .case-body,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero-text {
    justify-self: start;
  }

  .values-graphic {
    min-height: 460px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .section {
    padding: 84px 0;
  }

  .header-inner {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 16px 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
  }

  .team-media,
  .manifesto-media {
    min-height: 240px;
  }

  .values-graphic {
    min-height: 400px;
  }

  .value {
    font-size: 0.86rem;
    max-width: 120px;
  }

  .button-link {
    font-size: 1.45rem;
  }
}