:root {
  --bg: #f7f2ea;
  --text: #1f1b17;
  --muted: #6f655b;
  --dark: #16120f;
  --light: #fffaf2;
  --line: #ded4c7;
  --accent: #8a3b24;

  --serif: 'Cormorant Garamond', serif;
  --sans: 'Inter', Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6vw;
  background: rgba(22, 18, 15, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--light);
}

.logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  gap: 32px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.main-nav a { opacity: 0.9; }
.main-nav a:hover { opacity: 1; }

.hero {
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  padding: 0 6vw 11vh;
  background:
    linear-gradient(
      90deg,
      rgba(22, 18, 15, 0.82) 0%,
      rgba(22, 18, 15, 0.46) 42%,
      rgba(22, 18, 15, 0.10) 100%
    ),
    linear-gradient(
      180deg,
      rgba(22, 18, 15, 0.18) 0%,
      rgba(22, 18, 15, 0.72) 100%
    ),
    url('/assets/img/hero.jpg') center/cover no-repeat;
  color: var(--light);
}

.hero-content {
  max-width: 600px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 600;
  margin-bottom: 14px;
  opacity: 0.85;
}

h1, h2, h3 {
  font-family: var(--serif);
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.02;
  font-weight: 500;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.15;
  font-weight: 500;
  margin-bottom: 24px;
}

h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 12px;
}

p {
  margin-top: 0;
}

.hero-text {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 520px;
  margin-bottom: 32px;
  opacity: 0.9;
}

.button {
  display: inline-block;
  border: 1px solid var(--text);
  padding: 13px 22px;
  font-weight: 500;
  font-size: .88rem;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.button:hover {
  background: var(--text);
  color: var(--light);
}

.button-light {
  border-color: var(--light);
  color: var(--light);
}

.button-light:hover {
  background: var(--light);
  color: var(--text);
}

.container {
  width: min(1120px, 88vw);
  margin: 0 auto;
}

.container.narrow {
  width: min(780px, 88vw);
}

.section {
  padding: 76px 0;
}

main > .section:first-child {
  padding-top: 96px;
}

main > .section:first-child h1 {
  margin-bottom: 32px;
}

.intro {
  padding: 56px 0 64px;
}

.intro h2 {
  max-width: 700px;
  margin-bottom: 18px;
}

.intro p {
  font-size: 1.05rem;
  max-width: 680px;
}

.authority {
  background: var(--dark);
  color: var(--light);
  padding: 56px 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.35;
}

.authority p {
  max-width: 820px;
  margin: 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.02rem;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
  margin: 28px 0 48px;
}

.card,
.path-card {
  border: 1px solid var(--line);
  padding: 28px;
  background: rgba(255,250,242,.45);
  min-height: 190px;
  transition: all 0.2s ease;
}

.card:hover,
.path-card:hover {
  transform: translateY(-4px);
  border-color: #c7b9a7;
}

.card p,
.path-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.path-card span {
  display: block;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 22px;
}

.center {
  text-align: center;
}

.work-preview .center {
  margin-top: 38px;
}

.paths {
  background: var(--light);
}

.final-cta {
  background: var(--dark);
  color: var(--light);
  padding: 72px 0;
}

.final-cta h2 {
  max-width: 720px;
  margin: 0 auto 28px;
}

.final-cta .button {
  border-color: var(--light);
  color: var(--light);
}

.final-cta .button:hover {
  background: var(--light);
  color: var(--dark);
}

.site-footer {
  padding: 42px 0;
  background: var(--dark);
  color: var(--light);
  border-top: 1px solid rgba(255,255,255,.14);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  font-size: .9rem;
}

.footer-content p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

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

  .site-header {
    padding: 18px 5vw;
    background: rgba(22, 18, 15, 0.65);
  }

  .main-nav {
    gap: 18px;
    font-size: .85rem;
  }

  .hero {
    min-height: 82vh;
    padding: 0 5vw 9vh;
  }

  h1 {
    font-size: 3.2rem;
  }

  .section {
    padding: 68px 0;
  }

  main > .section:first-child {
    padding-top: 76px;
  }

  .intro {
    padding: 48px 0 56px;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-text {
    font-size: 1.05rem;
  }

  .card,
  .path-card {
    min-height: auto;
  }
}