:root {
  color-scheme: light;
  --ink: #1f2428;
  --muted: #626b73;
  --line: #d9dedf;
  --paper: #fbfbf8;
  --panel: #ffffff;
  --green: #25594b;
  --green-dark: #173c33;
  --blue: #244f75;
  --gold: #b77c2f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  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;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: color-mix(in srgb, var(--paper) 88%, white);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  font-size: 18px;
  font-weight: 750;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: grid;
  align-items: end;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/assets/images/boat.jpg");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 23, 31, 0.86), rgba(8, 23, 31, 0.48) 54%, rgba(8, 23, 31, 0.18)),
    linear-gradient(0deg, rgba(8, 23, 31, 0.5), transparent 42%);
}

.hero-content {
  width: min(760px, calc(100% - 40px));
  margin: 0 clamp(20px, 6vw, 76px) 11vh;
  color: white;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f3bf70;
}

h1,
h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(54px, 10vw, 116px);
}

h2 {
  font-size: clamp(32px, 5vw, 58px);
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 23px);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  background: white;
  color: var(--green-dark);
  border-color: white;
}

.button.secondary {
  color: white;
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(20px, 6vw, 76px);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(28px, 6vw, 86px);
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.about-copy {
  color: var(--muted);
  font-size: 18px;
}

.about-copy p {
  margin: 0 0 20px;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.15fr;
  min-height: 320px;
  border-bottom: 1px solid var(--line);
}

.photo-strip img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.notes-section {
  background: #eef3f1;
}

.section-heading {
  max-width: 760px;
}

.section-heading p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.note-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.note-links a {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green-dark);
  font-weight: 750;
  text-decoration: none;
}

.note-links a:hover {
  border-color: var(--green);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding: clamp(58px, 8vw, 108px) clamp(20px, 6vw, 76px);
  background: var(--green-dark);
  color: white;
}

.contact-photo img {
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
}

.contact-copy .eyebrow {
  color: #f3bf70;
}

dl {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}

dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

dt {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 750;
}

dd {
  margin: 0;
}

dd a {
  overflow-wrap: anywhere;
}

.small-note {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.page-hero {
  padding: clamp(56px, 8vw, 110px) clamp(20px, 6vw, 76px);
  background: var(--green-dark);
  color: white;
}

.page-hero p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.talk-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.talk-item {
  grid-column: span 2;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.talk-item h2 {
  margin-bottom: 14px;
}

.talk-item p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.dark-button {
  background: var(--green-dark);
  color: white;
  border-color: var(--green-dark);
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 760px;
  }

  .about-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .photo-strip {
    grid-template-columns: 1fr;
  }

  .note-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .hero-content {
    margin-bottom: 64px;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .note-links {
    grid-template-columns: 1fr;
  }

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

  .talk-item {
    grid-column: auto;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
