:root {
  --black: #050505;
  --ink: #111111;
  --charcoal: #1d1d1d;
  --graphite: #2a2a2a;
  --mid: #777777;
  --line: #d8d8d8;
  --soft: #f3f3f3;
  --white: #ffffff;
  --max: 1180px;
  color-scheme: light dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(18px, 4vw, 48px);
  color: var(--white);
  mix-blend-mode: difference;
}

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

.brand img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links a,
.header-cta {
  opacity: 0.78;
  transition: opacity 180ms ease;
}

.nav-links a:hover,
.header-cta:hover {
  opacity: 1;
}

.header-cta {
  border: 1px solid currentColor;
  padding: 10px 16px;
  font-size: 13px;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  place-items: end start;
  overflow: hidden;
  padding: 150px clamp(22px, 5vw, 72px) 58px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.42) 44%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.08)),
    url("assets/hero-background.png") center / cover no-repeat,
    #050505;
  color: var(--white);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 78%, transparent 100%);
  opacity: 0.26;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: min(1100px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--mid);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(64px, 10.8vw, 150px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.hero-copy {
  max-width: 720px;
  margin: 30px 0 0;
  color: #d9d9d9;
  font-size: clamp(19px, 2.2vw, 30px);
  line-height: 1.18;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid currentColor;
  font-weight: 750;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.button.secondary {
  color: var(--white);
}

.button.wide {
  width: 100%;
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 58px;
  z-index: 3;
  width: min(330px, calc(100vw - 44px));
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.44);
  padding: 22px;
  backdrop-filter: blur(14px);
}

.hero-panel span {
  display: block;
  margin-bottom: 26px;
  color: #bdbdbd;
  font-size: 12px;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  font-size: 20px;
  line-height: 1.12;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--black);
  color: var(--white);
}

.signal-strip div {
  min-height: 210px;
  padding: clamp(24px, 4vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.signal-strip span {
  color: #9a9a9a;
  font-size: 12px;
}

.signal-strip strong {
  display: block;
  margin-top: 38px;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
}

.signal-strip p {
  max-width: 370px;
  margin: 18px 0 0;
  color: #cfcfcf;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(76px, 10vw, 136px) clamp(22px, 4vw, 48px);
}

.intro-layout,
.best-layout,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.best-layout h2,
.contact h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

.intro p,
.contact-card p {
  margin: 8px 0 0;
  color: #424242;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 52px;
}

.service-list {
  border-top: 1px solid var(--ink);
}

.service-list article {
  display: grid;
  grid-template-columns: 84px minmax(170px, 0.45fr) minmax(260px, 0.75fr);
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service-list span,
.timeline span {
  color: var(--mid);
  font-size: 12px;
  text-transform: uppercase;
}

.service-list h3,
.timeline h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
}

.service-list p,
.timeline p {
  margin: 0;
  color: #4d4d4d;
  font-size: 17px;
}

.method {
  max-width: none;
  background: var(--soft);
}

.method .section-heading,
.timeline {
  max-width: var(--max);
  margin-inline: auto;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.timeline article {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  padding: 28px;
}

.timeline h3 {
  margin-top: auto;
  margin-bottom: 22px;
}

.best-practices {
  border-top: 1px solid var(--line);
}

.best-layout ul {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.best-layout li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: #383838;
  font-size: 18px;
}

.contact {
  max-width: none;
  background: var(--black);
  color: var(--white);
}

.contact > * {
  max-width: 620px;
}

.contact-phone {
  margin: 28px 0 0;
  color: #d7d7d7;
  font-size: clamp(18px, 2vw, 24px);
}

.contact-phone a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.contact-card {
  justify-self: end;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 30px;
  min-height: 0;
  width: min(100%, 480px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: clamp(24px, 4vw, 42px);
}

.contact-card p {
  color: #d7d7d7;
}

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

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.contact-form span {
  color: #d7d7d7;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: inherit;
  padding: 13px 14px;
  outline: 0;
  transition: border-color 180ms ease, background 180ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 142px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #d7d7d7;
  font-size: 14px;
}

.form-status.success {
  color: var(--white);
}

.form-status.error {
  color: #f1b8b8;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(22px, 4vw, 48px);
  background: var(--black);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  text-transform: uppercase;
}

.footer-brand,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand {
  font-weight: 750;
}

.site-footer img {
  width: 46px;
  height: 46px;
  object-fit: cover;
}

.footer-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-nav a {
  color: #dcdcdc;
  transition: color 180ms ease;
}

.footer-link-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: #dcdcdc;
  cursor: pointer;
  font: inherit;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"],
.footer-link-button:hover {
  color: var(--white);
}

.scroll-top {
  position: fixed;
  right: clamp(18px, 3vw, 36px);
  bottom: clamp(18px, 3vw, 36px);
  z-index: 55;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(5, 5, 5, 0.72);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
  backdrop-filter: blur(14px);
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  border-color: var(--white);
  background: var(--black);
}

.cookie-banner {
  position: fixed;
  left: clamp(14px, 3vw, 34px);
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 5, 5, 0.94);
  color: var(--white);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden],
.cookie-details[hidden] {
  display: none;
}

.cookie-banner__content {
  display: grid;
  gap: 10px;
}

.cookie-banner__title {
  margin: 0;
  font-size: 18px;
  font-weight: 850;
  text-transform: uppercase;
}

.cookie-banner p {
  margin: 0;
  color: #d8d8d8;
}

.cookie-banner a {
  color: var(--white);
  font-size: 13px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-transform: uppercase;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cookie-details div {
  display: grid;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  padding: 16px;
}

.cookie-details strong {
  font-size: 13px;
  text-transform: uppercase;
}

.cookie-details span {
  color: #d8d8d8;
  font-size: 14px;
}

.legal-page {
  background: var(--white);
}

.legal-header {
  position: static;
  color: var(--black);
  mix-blend-mode: normal;
  border-bottom: 1px solid var(--line);
}

.legal-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) clamp(22px, 4vw, 48px) clamp(82px, 10vw, 130px);
}

.legal-hero {
  max-width: 900px;
  margin-bottom: clamp(48px, 7vw, 84px);
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(56px, 10vw, 132px);
  line-height: 0.92;
  letter-spacing: 0;
}

.legal-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 26px 0 0;
  color: #444444;
  font-size: clamp(18px, 2.3vw, 28px);
  line-height: 1.28;
}

.legal-content {
  display: grid;
  gap: 34px;
  max-width: 860px;
}

.legal-content section {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
}

.legal-content p {
  margin: 0 0 14px;
  color: #3f3f3f;
  font-size: 17px;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .brand img {
    width: 64px;
    height: 64px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 126px;
    padding-bottom: 330px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 88px);
  }

  .hero-panel {
    left: 22px;
    right: 22px;
    bottom: 28px;
    width: auto;
  }

  .signal-strip,
  .intro-layout,
  .best-layout,
  .contact,
  .section-heading,
  .timeline {
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .service-list article {
    grid-template-columns: 56px 1fr;
  }

  .service-list p {
    grid-column: 2;
  }

  .timeline article {
    min-height: 260px;
  }

  .contact-card {
    justify-self: stretch;
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .scroll-top {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 16px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__actions .button {
    flex: 1;
  }

  .cookie-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .header-cta {
    padding-inline: 12px;
    font-size: 12px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .service-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-list p {
    grid-column: auto;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
