@font-face {
  font-family: "Apfel Grotezk";
  src: url("/assets/fonts/apfel-grotezk/apfel-grotezk_normal_400.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Apfel Grotezk";
  src: url("/assets/fonts/apfel-grotezk/apfel-grotezk_normal_600.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Coconat";
  src: url("/assets/fonts/coconat/coconat_normal_600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #f7f3ea;
  --ink: #102d33;
  --sea: #0c4751;
  --deep-sea: #082f38;
  --sand: #d7ac6c;
  --clay: #9e6044;
  --mist: #dbe9e6;
  --white: #ffffff;
  --wide: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Apfel Grotezk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.22em;
}

.site-header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(24px, calc((100vw - var(--wide)) / 2));
  border-bottom: 1px solid rgba(16, 45, 51, 0.16);
  background: var(--paper);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--deep-sea);
  text-decoration: none;
  white-space: nowrap;
}

.brand span,
.nav a,
.eyebrow,
.button {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand small {
  color: var(--clay);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  font-size: 0.86rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.brand:hover {
  color: var(--clay);
}

.hero {
  position: relative;
  min-height: 540px;
  height: calc(100svh - 150px);
  max-height: 760px;
  overflow: hidden;
  background: var(--deep-sea);
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(8, 47, 56, 0.34);
}

.hero-copy {
  position: absolute;
  left: max(24px, calc((100vw - var(--wide)) / 2));
  right: max(24px, calc((100vw - var(--wide)) / 2));
  bottom: 56px;
  max-width: 780px;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sand);
  font-size: 0.82rem;
}

.eyebrow.dark {
  color: var(--clay);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Coconat", Georgia, serif;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 4.25rem;
}

h2 {
  margin-bottom: 0;
  font-size: 3rem;
}

h3 {
  margin-bottom: 16px;
  font-size: 1.72rem;
}

.hero-copy p:last-child {
  max-width: 610px;
  margin-bottom: 0;
  font-size: 1.22rem;
}

.section-band {
  background: var(--deep-sea);
  color: var(--mist);
}

.intro,
.closing {
  padding: 74px max(24px, calc((100vw - var(--wide)) / 2));
}

.section-grid {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.section-grid h2 {
  color: var(--sand);
}

.lead {
  margin-bottom: 0;
  color: var(--paper);
  font-size: 1.2rem;
  font-weight: 600;
}

.feature-section {
  padding: 86px max(24px, calc((100vw - var(--wide)) / 2));
  background: var(--paper);
}

.section-heading {
  max-width: var(--wide);
  margin: 0 auto 48px;
}

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

.feature-grid {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.feature-grid article {
  min-height: 250px;
  padding: 28px 0 0;
  border-top: 2px solid var(--clay);
}

.feature-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--clay);
  font-size: 0.9rem;
  font-weight: 600;
}

.feature-grid p,
.closing-copy p {
  margin-bottom: 0;
}

.image-band {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: 80px max(24px, calc((100vw - var(--wide)) / 2));
  color: var(--white);
  background: url("/assets/images/urbem_beach-sea-coast-water-nature-outdoor.jpg") center / cover no-repeat;
}

.image-band::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(8, 47, 56, 0.42);
}

.image-band-copy {
  position: relative;
  max-width: 660px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.image-band-copy h2 {
  margin-bottom: 18px;
  color: var(--sand);
}

.image-band-copy p:last-child {
  margin-bottom: 0;
  font-size: 1.12rem;
}

.compact {
  align-items: center;
}

.closing-copy {
  display: grid;
  gap: 28px;
}

.button {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--sand);
  color: var(--sand);
  font-size: 0.82rem;
  text-decoration: none;
}

.button:hover {
  background: var(--sand);
  color: var(--deep-sea);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(24px, calc((100vw - var(--wide)) / 2));
  color: var(--paper);
  background: var(--ink);
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 0.78rem;
  }

  .hero {
    height: 70svh;
    min-height: 480px;
  }

  .hero-copy {
    bottom: 32px;
  }

  h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .section-grid,
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .intro,
  .closing,
  .feature-section,
  .image-band {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .feature-grid article {
    min-height: auto;
  }

  .feature-grid span {
    margin-bottom: 22px;
  }

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

@media (max-width: 460px) {
  .brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .nav {
    font-size: 0.72rem;
  }

  .hero {
    height: 68svh;
    min-height: 460px;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 2rem;
  }
}
