@font-face {
  font-family: "Bebas Neue";
  src: url("/fonts/bebas-neue-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --grey: #9b9b9b;
  --grey-dark: #2a2a2a;
  --paper: #f4f4f2;
  --font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--white); color: var(--black); padding: 8px 14px; z-index: 100;
}
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}
h1 { font-size: clamp(3.6rem, 10vw, 8rem); }
h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h3 { font-size: 1.8rem; }
.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
}
.eyebrow {
  margin: 0 0 18px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--grey);
}
.lead { font-size: 1.2rem; max-width: 34em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-dark);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border-radius: 50%; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-name em { font-style: normal; color: transparent; -webkit-text-stroke: 1px var(--white); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.nav a:hover { opacity: 1; }
.nav-cta {
  opacity: 1 !important;
  border: 1px solid var(--white);
  padding: 9px 18px;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover { background: var(--white); color: var(--black); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 6px auto; transition: transform 0.25s; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--white);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-primary { background: var(--white); color: var(--black); }
.btn-primary:hover { background: transparent; color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); }
.btn-lg { padding: 20px 38px; font-size: 1rem; letter-spacing: 0.12em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  min-height: calc(100vh - 73px);
  padding: 60px var(--gutter) 80px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 40px;
}
.hero h1 .solid, .hero h1 .outline { display: block; }
.hero .lead { margin: 28px 0 0; color: #d6d6d6; }
.hero-mark img {
  width: 100%; max-width: 520px; margin-left: auto;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--grey-dark), 0 40px 90px rgba(255, 255, 255, 0.05);
}

/* Sections */
.section { padding: clamp(80px, 12vw, 150px) 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.prose p { margin: 0 0 1.2em; color: #d0d0d0; }
.about { border-top: 1px solid var(--grey-dark); }

/* Services (light section) */
.services { background: var(--paper); color: var(--black); }
.services .eyebrow { color: #666; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}
.card {
  padding: 34px 28px 40px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  transition: background 0.25s, color 0.25s;
}
.card:hover { background: var(--black); color: var(--white); }
.card-num {
  display: block; margin-bottom: 40px;
  font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 0.1em; color: #888;
}
.card h3 { margin-bottom: 14px; }
.card p { margin: 0; color: inherit; opacity: 0.8; }

/* Approach */
.steps {
  list-style: none; margin: 64px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px;
  position: relative;
}
.steps li { position: relative; padding-top: 54px; }
.steps li::before {
  content: ""; position: absolute; top: 14px; left: 0; right: -40px; height: 2px; background: var(--grey-dark);
}
.steps li:last-child::before { right: 0; background: linear-gradient(90deg, var(--grey-dark), transparent); }
.node {
  position: absolute; top: 0; left: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid var(--white); background: var(--black); z-index: 1;
}
.steps h3 { margin-bottom: 10px; }
.steps p { margin: 0; color: #c4c4c4; }

/* Contact */
.contact { border-top: 1px solid var(--grey-dark); text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact .lead { margin: 22px 0 40px; color: #d0d0d0; }

/* Footer */
.site-footer { border-top: 1px solid var(--grey-dark); padding: 36px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer-inner p { margin: 0; color: var(--grey); font-size: 0.9rem; }

/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .hero-mark { order: -1; }
  .hero-mark img { max-width: 240px; margin: 0 0 8px; }
  .two-col { grid-template-columns: 1fr; }
  .steps li::before { right: 0; }

  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black); border-bottom: 1px solid var(--grey-dark);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav.open { max-height: 360px; }
  .nav a { padding: 18px var(--gutter); border-top: 1px solid var(--grey-dark); opacity: 1; }
  .nav-cta { border: 0; border-top: 1px solid var(--grey-dark); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
}
@media (max-width: 480px) {
  .brand-name { font-size: 1.3rem; }
  .btn { width: 100%; text-align: center; }
}

/* Footer links */
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--grey); font-size: 0.9rem; text-decoration: underline; text-underline-offset: 4px; }
.footer-links a:hover { color: var(--white); }

/* Cookie consent banner */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  max-width: 760px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  padding: 18px 22px;
  background: var(--white); color: var(--black);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.consent[hidden] { display: none; }
.consent p { flex: 1 1 320px; margin: 0; font-size: 0.95rem; line-height: 1.5; }
.consent a { color: inherit; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 10px; }
.consent .btn { padding: 11px 22px; font-size: 0.78rem; cursor: pointer; font-family: inherit; border-color: var(--black); }
.consent .btn-primary { background: var(--black); color: var(--white); }
.consent .btn-primary:hover { background: var(--white); color: var(--black); }
.consent .btn-ghost { background: transparent; color: var(--black); }
.consent .btn-ghost:hover { background: var(--black); color: var(--white); }
.consent :focus-visible { outline-color: var(--black); }
@media (max-width: 480px) {
  .consent-actions { width: 100%; }
  .consent .btn { flex: 1; width: auto; }
}

/* Privacy page */
.legal { padding: clamp(60px, 9vw, 110px) 0 clamp(80px, 10vw, 130px); }
.legal h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; line-height: 0.95; font-size: clamp(3rem, 8vw, 5.5rem); margin-bottom: 12px; }
.legal .updated { color: var(--grey); margin: 0 0 48px; }
.legal h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 44px 0 10px; }
.legal p, .legal li { color: #d0d0d0; max-width: 42em; }
.legal ul { padding-left: 1.2em; }
.legal a { text-underline-offset: 3px; }
.back-link { text-decoration: none; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.8; }
.back-link:hover { opacity: 1; }

/* Company identification in the footer */
.company { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--grey-dark); }
.company p { margin: 0; color: var(--grey); font-size: 0.82rem; line-height: 1.7; max-width: 80em; }
.company a { color: inherit; text-underline-offset: 3px; white-space: nowrap; }
.company a:hover { color: var(--white); }

/* Legal notice facts */
.facts { margin: 0; max-width: 42em; }
.facts div { display: grid; grid-template-columns: 11rem 1fr; gap: 4px 24px; padding: 14px 0; border-top: 1px solid var(--grey-dark); }
.facts div:last-child { border-bottom: 1px solid var(--grey-dark); }
.facts dt { color: var(--grey); }
.facts dd { margin: 0; color: var(--white); }
.facts a { text-underline-offset: 3px; }
@media (max-width: 560px) { .facts div { grid-template-columns: 1fr; } }
