:root {
  --ink: #35151c;
  --burgundy: #5a2029;
  --deep-burgundy: #3d141c;
  --baby-blue: #58b8d0;
  --pale-blue: #dceef3;
  --soft-burgundy: #eadde0;
  --paper: #f5f1f2;
  --white: #ffffff;
  --line: rgba(90, 32, 41, .18);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.55;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(245, 241, 242, .94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--baby-blue);
  font-size: 11px;
  letter-spacing: .08em;
}

.brand-name { font-size: 15px; }

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  font-size: 14px;
}

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

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: var(--burgundy);
  font: inherit;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 120px max(24px, calc((100vw - var(--max)) / 2)) 76px;
  background:
    linear-gradient(90deg, rgba(61,20,28,.96) 0%, rgba(90,32,41,.91) 43%, rgba(90,32,41,.35) 100%),
    var(--burgundy);
  color: var(--white);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.project-status {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 600;
}

.hero .eyebrow,
.hero-note { color: var(--baby-blue); }

.hero h1,
h2 {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.02em;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(58px, 8.8vw, 126px);
}

.hero-copy {
  max-width: 660px;
  margin: 32px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  color: rgba(255,255,255,.86);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
}

.button {
  display: inline-block;
  padding: 15px 22px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.button-primary {
  background: var(--baby-blue);
  color: var(--deep-burgundy);
}

.button-primary:hover,
.button-light:hover { filter: brightness(.96); }

.button-light {
  margin-top: 24px;
  background: var(--baby-blue);
  color: var(--deep-burgundy);
}

.text-link {
  color: var(--pale-blue);
  text-decoration: none;
}

.hero-note {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 76px;
  z-index: 2;
  writing-mode: vertical-rl;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  opacity: .9;
}

.hero-art {
  position: absolute;
  inset: 0;
  opacity: .9;
}

.sun {
  position: absolute;
  top: 18%;
  right: 11%;
  width: 26vw;
  height: 26vw;
  min-width: 260px;
  min-height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(88,184,208,.52);
  background: radial-gradient(circle, rgba(88,184,208,.2), rgba(88,184,208,.02) 68%);
}

.horizon {
  position: absolute;
  right: -8%;
  width: 70%;
  height: 28%;
  border-radius: 50% 50% 0 0;
  background: rgba(88,184,208,.20);
  transform: rotate(-5deg);
}

.horizon-one { bottom: 17%; }

.horizon-two {
  bottom: 2%;
  right: -16%;
  width: 82%;
  background: rgba(88,184,208,.28);
}

.water-lines {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 36%;
  opacity: .38;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 18px,
    rgba(88,184,208,.7) 19px,
    transparent 20px
  );
}

.statement,
.section,
.projects,
.support {
  padding: 110px max(24px, calc((100vw - var(--max)) / 2));
}

.statement {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 60px;
  border-bottom: 1px solid var(--line);
}

.section-kicker { color: var(--burgundy); }

.statement-text {
  max-width: 930px;
  margin: 0;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.08;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 60px;
  margin-bottom: 60px;
}

.section-heading h2,
.split-section h2,
.contact h2,
.projects h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.card {
  min-height: 350px;
  padding: 28px 28px 28px 0;
  border-right: 1px solid var(--line);
}

.card + .card { padding-left: 28px; }
.card:last-child { border-right: 0; }

.card-number {
  display: block;
  margin-bottom: 70px;
  font-size: 12px;
  color: var(--burgundy);
}

.card h3 {
  margin: 0 0 16px;
  color: var(--burgundy);
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.05;
}

.card p { color: #68434a; }

.education-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 90px;
  padding: 110px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--baby-blue);
  color: var(--deep-burgundy);
}

.education-copy h2,
.support h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 80px);
}

.education-copy > p:last-child {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(61,20,28,.76);
  font-size: 18px;
}

.education-band .light { color: rgba(61,20,28,.68); }

.education-list {
  align-self: end;
  border-top: 1px solid rgba(61,20,28,.28);
}

.education-list div {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(61,20,28,.28);
  font-size: 18px;
}

.education-list span {
  font-size: 11px;
  opacity: .6;
}

.split-section,
.contact {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 100px;
}

.body-copy {
  padding-top: 34px;
  font-size: 18px;
}

.body-copy p:first-child { margin-top: 0; }

.small-note {
  font-size: 13px;
  color: #7a555c;
}

.projects { background: var(--soft-burgundy); }

.projects-intro {
  max-width: 560px;
  margin: 26px 0 0;
}

.project-placeholder {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 480px;
  background: var(--paper);
}

.project-landscape {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  background:
    linear-gradient(to top, rgba(61,20,28,.86) 0 32%, transparent 32%),
    linear-gradient(160deg, #dceef3 0 46%, #86c9d9 46% 63%, #5a2029 63%);
}

.project-landscape::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: 23%;
  width: 120%;
  height: 90px;
  border-radius: 50%;
  background: rgba(245,241,242,.58);
  transform: rotate(-4deg);
}

.project-sun {
  position: absolute;
  top: 14%;
  right: 14%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(90,32,41,.72);
}

.project-copy {
  align-self: end;
  padding: 48px;
}

.project-copy h3 {
  margin: 0 0 16px;
  color: var(--burgundy);
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.08;
}

.project-status { color: var(--burgundy); }

.support {
  background: var(--deep-burgundy);
  color: var(--white);
}

.support .light { color: var(--baby-blue); }
.support h2 { max-width: 880px; }

.support > p {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 18px;
}

.contact-panel {
  padding-top: 34px;
  font-size: 18px;
}

.contact-link {
  display: inline-block;
  margin: 26px 0 12px;
  color: var(--burgundy);
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: clamp(24px, 3vw, 40px);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 40px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: var(--pale-blue);
  font-size: 13px;
}

.footer-brand { color: var(--burgundy); font-weight: 600; }

.footer-meta {
  display: flex;
  gap: 26px;
  color: #714850;
}

@media (max-width: 820px) {
  .menu-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    width: 100%;
    padding: 12px 0;
  }

  .brand-name { display: none; }

  .hero {
    min-height: 790px;
    padding-top: 90px;
  }

  .hero h1 { font-size: clamp(58px, 17vw, 88px); }
  .hero-art { opacity: .65; }
  .hero-note { display: none; }

  .statement,
  .section-heading,
  .education-band,
  .split-section,
  .contact,
  .project-placeholder {
    grid-template-columns: 1fr;
  }

  .statement,
  .section-heading,
  .education-band,
  .split-section,
  .contact { gap: 34px; }

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

  .card,
  .card + .card {
    min-height: auto;
    padding: 28px 0 48px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .card-number { margin-bottom: 38px; }
  .education-list { margin-top: 20px; }
  .project-copy { padding: 34px 28px; }

  footer,
  .footer-meta { flex-direction: column; }
}
