:root {
  --bg: #edede4;
  --text: #30415d;
  --muted: #5f6978;
  --line: #30415d;
  --white: #f8f8f8;
  --soft: #e0e0d1;
  --accent: #cf6766;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  width: min(calc(100% - 32px), var(--max));
  margin: 24px auto 0;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
  font-weight: 700;
}

.nav a:hover,
.project-link:hover,
.site-footer a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.hero {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  min-height: 72vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 980px;
  padding: 88px 0;
}

.label {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.label-invert {
  color: var(--bg);
}

h1,
h2,
h3 {
  font-weight: 900;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 940px;
  font-size: clamp(54px, 9vw, 118px);
  line-height: 0.9;
}

h2 {
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.96;
}

h3 {
  font-size: 30px;
  line-height: 1;
}

.intro {
  max-width: 780px;
  margin-top: 34px;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.25;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid var(--line);
  background: transparent;
  font-size: 15px;
  font-weight: 900;
}

.button:hover {
  transform: translate(-3px, -3px);
}

.button-dark {
  color: var(--bg);
  background: var(--text);
}

.button-light {
  color: var(--text);
  background: var(--bg);
  border-color: var(--bg);
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}

.section-title {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 56px;
}

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

.project {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 28px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.project-number {
  font-size: 18px;
  font-weight: 900;
  color: var(--accent);
}

.project-main p {
  max-width: 700px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 20px;
}

.project-link {
  padding-top: 6px;
  font-weight: 900;
  white-space: nowrap;
}

.bespoke {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 64px;
  width: 100%;
  padding: 96px max(16px, calc((100vw - var(--max)) / 2));
  color: var(--bg);
  background: var(--text);
}

.bespoke-copy p {
  margin-bottom: 30px;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.18;
}

.stance {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}

.stance h2 {
  max-width: 1000px;
}

.stance p:not(.label) {
  max-width: 820px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.16;
}

.integration {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 64px;
  align-items: start;
  background: var(--soft);
  padding-left: max(16px, calc((100vw - var(--max)) / 2));
  padding-right: max(16px, calc((100vw - var(--max)) / 2));
  width: 100%;
}

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

.integration-list p {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.service {
  min-height: 250px;
  padding: 24px;
  border-left: 1px solid var(--line);
}

.service:first-child {
  border-left: 0;
}

.service p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

.contact {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 96px 0 110px;
}

.contact h2 {
  max-width: 860px;
}

.contact p:not(.label) {
  max-width: 620px;
  margin: 26px 0 34px;
  color: var(--muted);
  font-size: 24px;
}

.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}


@media (max-width: 820px) {
  .site-header,
  .site-footer,
  .section-title,
  .project,
  .bespoke,
  .integration,
  .services {
    display: block;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .section,
  .bespoke,
  .contact {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: clamp(58px, 20vw, 96px);
  }

  .section-title {
    margin-bottom: 36px;
  }

  .project-number,
  .project-main,
  .project-link {
    display: block;
  }

  .project-main {
    margin-top: 16px;
  }

  .project-link {
    margin-top: 20px;
  }

  .bespoke-copy,
  .integration-list {
    margin-top: 34px;
  }

  .service {
    min-height: auto;
    padding: 26px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

}

.intro-secondary {
  margin-top: 18px;
  font-size: clamp(18px, 2vw, 25px);
}


.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 32px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.footer-top p:not(.footer-brand) {
  max-width: 520px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 22px;
  font-weight: 900;
}

.footer-legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.footer-legal p {
  margin: 0;
}

@media (max-width: 820px) {
  .footer-top,
  .footer-legal {
    display: block;
  }

  .footer-links {
    justify-content: flex-start;
    margin-top: 20px;
  }

  .footer-legal p + p {
    margin-top: 8px;
  }
}
