
@font-face {
  font-family: "DIN W01 Regular";
  src: url("/frontend/assets/fonts/din-w01-regular.woff2") format("woff2"),
       url("/frontend/assets/fonts/din-w01-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DIN W01 Medium";
  src: url("/frontend/assets/fonts/din-w01-medium.woff2") format("woff2"),
       url("/frontend/assets/fonts/din-w01-medium.woff") format("woff");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --text: #20242a;
  --muted: #737b82;
  --line: #e7e8e8;
  --soft: #f3f4f4;
  --black: #000000;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "DIN W01 Regular", "DIN Next W01 Regular", "DIN 2014", "DIN Alternate", "Arial Narrow", Arial, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.site-header {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-header.on-hero {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 28px 0 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img { height: 21.8px; width: auto; }
.hero-brand { filter: brightness(0) invert(1); }
.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
  font-family: "DIN W01 Medium", "DIN W01 Regular", Arial, sans-serif;
}
.site-nav a { text-decoration: none; color: #fff; }
.site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
}

.hero-stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.16) 50%, rgba(0,0,0,0.24) 100%);
  pointer-events: none;
}
.hero-stage-inner {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 76px;
}
.hero-kicker {
  margin: 0;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 18px;
  line-height: 1;
  font-family: "DIN W01 Medium", "DIN W01 Regular", Arial, sans-serif;
}

main { background: #fff; }
.content-shell,
.site-footer {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
}
.hero-copy-section {
  padding: 90px 0 96px;
  max-width: 900px;
}
.hero-copy-section h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(52px, 6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.052em;
  font-weight: 400;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-family: "DIN W01 Medium", "DIN W01 Regular", Arial, sans-serif;
}
.lead {
  margin: 30px 0 0;
  max-width: 760px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.65;
}
.lead.muted { color: var(--muted); margin-top: 16px; }
.cta-row {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 56px;
  padding: 0 16px 0 24px;
  border: 0;
  border-radius: 999px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.02em;
  font-family: "DIN W01 Medium", "DIN W01 Regular", Arial, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}
.pill-button.secondary { background: #20242a; }
.pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}
.pill-icon img { width: 24px; height: 24px; }
.text-link {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 6px;
  font-family: "DIN W01 Medium", "DIN W01 Regular", Arial, sans-serif;
}

.hero-image img,
.service-image img,
.why figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-grid,
.calculator-block,
.contact-section {
  padding: 96px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 96px;
  border-top: 1px solid var(--line);
}
.intro-grid h2,
.calculator-block h2,
.contact-copy h2,
.audience h2,
.faq h2 {
  margin: 0;
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 400;
}
.intro-grid p,
.calculator-block p,
.calculator-block li,
.contact-copy p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}
.services {
  padding: 96px 0 40px;
  border-top: 1px solid var(--line);
}
.section-heading {
  max-width: 920px;
  margin-bottom: 72px;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 400;
}
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 570px;
  gap: 76px;
  align-items: center;
  padding: 64px 0;
}
.service-row.flipped .service-copy { order: 2; }
.service-row.flipped .service-image { order: 1; justify-self: start; }
.service-copy { max-width: 600px; }
.service-number { display: none; }
.service-copy h3 {
  margin: 0 0 22px;
  font-size: clamp(28px, 2.5vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 400;
}
.service-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}
.service-copy p strong { color: var(--text); }
.small-note { font-size: 15px !important; line-height: 1.45 !important; }
.service-copy .pill-button { margin-top: 16px; }
.service-image {
  margin: 0;
  width: 570px;
  height: 670px;
  overflow: hidden;
  background: var(--soft);
  justify-self: end;
}
.calculator-block { align-items: start; }
.calculator-block ol {
  margin: 24px 0 34px;
  padding-left: 22px;
}
.why {
  padding: 96px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 570px minmax(0, 1fr);
  gap: 76px;
  align-items: center;
}
.why figure {
  margin: 0;
  width: 570px;
  height: 670px;
  overflow: hidden;
  background: var(--soft);
}
.why h2 {
  margin: 0 0 40px;
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 400;
}
.why-list { display: grid; gap: 26px; }
.why-list h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 500;
  font-family: "DIN W01 Medium", "DIN W01 Regular", Arial, sans-serif;
}
.why-list p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.audience {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.audience h2 { max-width: 1040px; }
.audience-tags {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.audience-tags span {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--text);
  font-size: 16px;
}
.contact-section { align-items: start; }
.contact-details {
  margin-top: 40px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}
.contact-details strong { color: var(--text); }
.contact-form {
  padding: 34px;
  background: var(--soft);
  display: grid;
  gap: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  background: #fff;
  min-height: 54px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  outline: 1px solid transparent;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline-color: #000; }
.hp-field {
  position: absolute;
  left: -10000px;
  opacity: 0;
  pointer-events: none;
}
.consent-row {
  display: flex !important;
  align-items: flex-start;
  gap: 12px !important;
  font-size: 14px !important;
  line-height: 1.4;
  color: var(--muted) !important;
}
.consent-row input {
  width: auto;
  min-height: auto;
  margin-top: 3px;
}
.consent-row a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-button { justify-self: start; }
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.form-status.ok { color: #167a3d; }
.form-status.error { color: #b00020; }
.faq {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.faq h2 { margin-bottom: 42px; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-size: 24px;
  color: var(--text);
}
.faq p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.site-footer {
  padding: 70px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 40px;
  color: var(--muted);
}
.site-footer img {
  height: 20px;
  width: auto;
  margin-bottom: 26px;
}
.footer-links {
  display: grid;
  gap: 12px;
  text-align: right;
}
.footer-links a {
  text-decoration: none;
  color: var(--muted);
}
.footer-links a:hover { color: var(--text); }

@media (max-width: 1180px) {
  .service-row,
  .why { grid-template-columns: 1fr; }
  .service-image,
  .why figure { justify-self: start; }
  .service-row.flipped .service-copy,
  .service-row.flipped .service-image { order: initial; }
}

@media (max-width: 980px) {
  .site-header,
  .hero-stage-inner,
  .content-shell,
  .site-footer { width: min(100% - 32px, 1440px); }
  .site-header.on-hero { padding-top: 18px; }
  .brand img { height: 17.6px; }
  .site-nav {
    gap: 18px;
    font-size: 14px;
    overflow-x: auto;
  }
  .hero-stage {
    min-height: 0;
  }
  .hero-bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0.88;
  }
  .hero-stage::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.08) 45%, rgba(0,0,0,0.18) 100%);
  }
  .hero-stage-inner {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    min-height: 0;
    padding: 0;
  }
  .hero-kicker { font-size: 15px; }
  .hero-copy-section { padding: 58px 0; }
  .hero-copy-section h1 { font-size: 42px; }
  .lead,
  .intro-grid p,
  .calculator-block p,
  .calculator-block li,
  .contact-copy p { font-size: 17px; }
  .intro-grid,
  .service-row,
  .why,
  .calculator-block,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .intro-grid h2,
  .calculator-block h2,
  .contact-copy h2,
  .audience h2,
  .faq h2,
  .section-heading h2,
  .why h2 { font-size: 38px; }
  .service-copy h3 { font-size: 30px; }
  .service-image,
  .why figure {
    width: min(100%, 570px);
    height: auto;
    aspect-ratio: 570 / 670;
  }
  .intro-grid,
  .services,
  .why,
  .calculator-block,
  .audience,
  .contact-section,
  .faq { padding: 58px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .site-footer {
    display: grid;
    padding: 52px 0;
  }
  .footer-links { text-align: left; }
}

@media (max-width: 620px) {
  .site-nav a:nth-child(1),
  .site-nav a:nth-child(2),
  .site-nav a:nth-child(3),
  .site-nav a:nth-child(5) { display: none; }
  .pill-button {
    width: 100%;
    justify-content: space-between;
  }
  .cta-row { align-items: stretch; }
  .hero-kicker { font-size: 13px; letter-spacing: 0.12em; }
}


/* Thank-you page */
.thank-you-page {
  min-height: 100vh;
  background: #fff;
}

.simple-header {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0 0;
}

.simple-header .brand img {
  height: 24px;
  width: auto;
}

.thank-you-shell {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  min-height: calc(100vh - 80px);
  display: grid;
  align-items: center;
  padding: 80px 0;
}

.thank-you-card {
  max-width: 760px;
}

.thank-you-card h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 400;
}

@media (max-width: 980px) {
  .simple-header,
  .thank-you-shell {
    width: min(100% - 32px, 1440px);
  }

  .simple-header .brand img {
    height: 20px;
  }

  .thank-you-card h1 {
    font-size: 38px;
  }
}


/* SEO/accessibility utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
