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

:root {
  --ink: #222222;
  --soft: #4a4a4a;
  --muted: #7a7a7a;
  --paper: #ffffff;
  --mist: #f7f5f3;
  --brand: #be1622;
  --brand-deep: #9a1119;
  --line: rgba(34, 34, 34, 0.1);
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

/* —— Header (Dusan-style: logo left, caps nav right) —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.logo-mark {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.35rem;
}

.nav a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--brand);
}

.nav-cta {
  color: var(--brand) !important;
}

/* —— Hero: centered statement + floating brand marks —— */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  place-items: center;
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem);
  overflow: hidden;
  background: var(--paper);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(52rem, 92vw);
  text-align: center;
  animation: rise 0.8s ease both;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.35rem, 5.8vw, 4.1rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #111111;
  max-width: 22em;
  margin-inline: auto;
}

.hero-title em {
  font-style: italic;
  font-weight: 700;
  color: var(--brand);
}

.hero-sub {
  margin: 1.35rem auto 0;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--soft);
  font-weight: 400;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  justify-content: center;
  align-items: center;
}

.text-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand);
  transition: opacity 0.2s ease;
}

.text-link:hover {
  opacity: 0.75;
}

.text-link--quiet {
  color: var(--soft);
  font-weight: 500;
}

.float {
  position: absolute;
  width: clamp(56px, 8vw, 88px);
  height: auto;
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
  animation: drift 8s ease-in-out infinite;
}

.float--a {
  top: 14%;
  left: 10%;
  animation-delay: 0s;
}

.float--b {
  top: 22%;
  right: 12%;
  width: clamp(44px, 6vw, 68px);
  opacity: 0.55;
  animation-delay: 1.2s;
}

.float--c {
  bottom: 16%;
  left: 18%;
  width: clamp(40px, 5.5vw, 60px);
  opacity: 0.4;
  animation-delay: 2s;
}

/* —— Content bands —— */
.band {
  padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 4vw, 3rem);
}

.band--alt {
  background: var(--mist);
}

.band-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.band-grid--flip .band-copy {
  order: 1;
}

.band-grid--flip .band-visual {
  order: 2;
}

.band-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.85rem;
}

.band-title {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1.2rem;
  max-width: 16ch;
}

.band-body {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--soft);
  max-width: 36rem;
}

.band-body + .band-body {
  margin-top: 1rem;
}

/* —— Question pillars —— */
.pillars {
  padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--paper);
}

.pillars-head {
  max-width: 1080px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.pillars-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.2;
  font-weight: 700;
}

.pillar-list {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pillar {
  padding: 1.6rem 1.4rem 1.5rem;
  border-top: 2px solid var(--brand);
  background: var(--mist);
}

.pillar-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.pillar h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.pillar p {
  color: var(--soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* —— CTA —— */
.cta {
  text-align: center;
  padding: clamp(4rem, 9vw, 6rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--mist);
}

.cta-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-body {
  color: var(--soft);
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
}

/* —— Footer —— */
.site-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.75rem clamp(1.25rem, 4vw, 3rem) 2.25rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.foot-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.foot-nav a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.foot-nav a:hover {
  color: var(--brand);
}

.foot-copy {
  font-size: 0.78rem;
  color: var(--muted);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 900px) {
  .band-grid,
  .band-grid--flip {
    grid-template-columns: 1fr;
  }

  .band-grid--flip .band-copy,
  .band-grid--flip .band-visual {
    order: initial;
  }

  .pillar-list {
    grid-template-columns: 1fr;
  }

  .site-foot {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .foot-copy {
    justify-self: center;
  }

  .float--c {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero-copy {
    max-width: 30ch;
  }

  .float--a,
  .float--b {
    opacity: 0.28;
  }
}
