:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #fffdf6;
  background: #103735;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.landscape {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: url("coastline.jpg") center / cover no-repeat;
}

.landscape-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .landscape-video { visibility: hidden; }
}

.landscape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #061e20cf, #061e2066 65%, #061e2040);
}

a { color: inherit; text-underline-offset: 0.22em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.shell { width: min(75rem, calc(100% - 3rem)); margin-inline: auto; }
main { flex: 1; }
.masthead { background: #082a2ac4; }

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.5rem;
}

.wordmark { font: 1.5rem Georgia, serif; text-decoration: none; }
nav ul { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin: 0; padding: 0; list-style: none; }
nav ul a { text-decoration: none; }
nav ul a:hover, nav a[aria-current="page"] { text-decoration: underline; }

.skip { position: absolute; top: 0; left: 0; transform: translateY(-110%); background: #fffdf6; color: #103735; padding: 0.75rem; z-index: 1; }
.skip:focus { transform: translateY(0); }

.hero { display: grid; align-items: center; }
.hero-copy { padding-block: clamp(3rem, 10vh, 8rem); }
h1, h2 { font-family: Georgia, serif; font-weight: 400; margin: 0; }
h1 { font-size: clamp(3.5rem, 10vw, 9rem); line-height: 0.95; letter-spacing: -0.055em; }
h2 { font-size: clamp(1.8rem, 4vw, 3.5rem); letter-spacing: -0.04em; }
p { line-height: 1.65; }
.hero-copy p { max-width: 30rem; font-size: clamp(1.125rem, 2vw, 1.375rem); margin-block: 1.6rem; }

.button {
  display: inline-block;
  padding: 0.9rem 1.4rem;
  background: #fffdf6;
  color: #103735;
  font-weight: 650;
  text-decoration: none;
}

.button:hover { background: #d8ebe2; }
.button:focus-visible { outline-color: #fffdf6; }

.page-heading { padding-block: clamp(3rem, 9vh, 7rem) clamp(1.5rem, 4vw, 3rem); }
.page-heading h1 { font-size: clamp(3rem, 8vw, 6rem); }
.content, .contact { padding-bottom: clamp(3rem, 7vw, 6rem); }
.services, .contact { display: grid; gap: clamp(1rem, 3vw, 2rem); }
.services { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 2rem; }
.contact { grid-template-columns: 1fr 1fr; }
.services section, .contact > * {
  background: #082a2a99;
  border: 1px solid #fffdf648;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.services h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); }
.services p, .contact p { margin-bottom: 0; }
.contact p { max-width: 32rem; }
.inboxes { margin: 0; }
.inboxes div + div { border-top: 1px solid #fffdf648; margin-top: 1rem; padding-top: 1rem; }
dt { font-weight: 650; margin-bottom: 0.4rem; }
dd { margin: 0; overflow-wrap: anywhere; }
.footer { padding-block: 1.4rem; border-top: 1px solid #fffdf648; }

@media (max-width: 44rem) {
  nav { align-items: flex-start; flex-direction: column; }
  .contact, .services { grid-template-columns: 1fr; }
}

@media (max-width: 24rem) {
  .shell { width: calc(100% - 2rem); }
  .wordmark { font-size: 1.2rem; }
}
