:root {
  --red: #b81c22;
  --red-dark: #8e1218;
  --ink: #141816;
  --muted: #5a6560;
  --bg: #f7f8f7;
  --bg-alt: #ecefed;
  --white: #fff;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
}

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  background: rgba(247, 248, 247, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: var(--red);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--red-dark);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 18, 16, 0.4) 0%, rgba(14, 18, 16, 0.75) 100%);
}

.hero-content {
  position: relative;
  padding: 120px 0 64px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  max-width: 18ch;
  margin-bottom: 16px;
}

.lead {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

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

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 20px;
}

.section p + p {
  margin-top: 12px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split p {
  color: var(--muted);
}

.media {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
}

.media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
}

.card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.card h3 {
  font-size: 1.15rem;
  padding: 16px 16px 6px;
}

.card p {
  padding: 0 16px 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.pillar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.pillar-list li {
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pillar-list strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.pillar-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact p {
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 20px;
}

.contact-details a:hover {
  color: var(--red);
}

/* Footer */
.footer {
  padding: 28px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.footer .logo {
  color: var(--ink);
}

/* Responsive */
@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .split,
  .pillars,
  .contact {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .header-inner .btn-sm {
    display: none;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
