:root {
  --sand: #efe0c5;
  --sand-light: #fff8ec;
  --sand-deep: #d8bd91;
  --palm: #163d35;
  --palm-deep: #0d2f2b;
  --palm-soft: #47685e;
  --sea: #13879b;
  --sea-deep: #075966;
  --sky: #7ac8e4;
  --coral: #a64737;
  --coconut: #a87548;
  --sun: #f2c468;
  --white: #fffdf8;
  --shadow: 0 28px 80px rgb(13 47 43 / 18%);
  --shadow-dark: 0 30px 80px rgb(3 42 49 / 32%);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    serif;
  --font-sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  --shell: min(1180px, calc(100vw - 56px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--palm);
  background: var(--sand);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main:focus {
  outline: none;
}

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

picture {
  display: block;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 14px;
  left: 14px;
  padding: 10px 17px;
  color: var(--white);
  background: var(--palm-deep);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-170%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 106px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(24px, 4.8vw, 76px);
  color: var(--white);
  text-shadow: 0 1px 22px rgb(0 28 24 / 46%);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
}

.wordmark__main {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.wordmark__year {
  color: var(--sun);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.site-header__place {
  margin: 0;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: min(960px, 100svh);
  overflow: hidden;
  color: var(--palm);
  background: var(--palm-deep);
}

.hero__media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero__media picture,
.hero__media img {
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  object-position: center 48%;
}

.hero__media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(5 39 33 / 34%), transparent 34%),
    linear-gradient(0deg, rgb(5 39 33 / 34%), transparent 46%),
    linear-gradient(90deg, rgb(5 39 33 / 12%), transparent 38%);
  content: "";
  pointer-events: none;
}

.hero__media figcaption {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 116px;
  color: rgb(255 253 248 / 76%);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero__card {
  position: absolute;
  z-index: 4;
  bottom: clamp(54px, 7vw, 92px);
  left: clamp(24px, 6vw, 98px);
  width: min(670px, calc(100vw - 96px));
  padding: clamp(34px, 4.4vw, 58px);
  background: rgb(255 248 236 / 94%);
  border: 1px solid rgb(255 255 255 / 56%);
  border-radius: 8px 72px 8px 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 590px;
  margin-bottom: 25px;
  font-family: var(--font-display);
  font-size: clamp(4.25rem, 6.2vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.058em;
  line-height: 0.87;
}

.hero h1 em {
  display: block;
  color: var(--sea);
  font-weight: 400;
}

.hero__intro {
  max-width: 510px;
  margin-bottom: 31px;
  color: var(--palm-soft);
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.75;
}

.journey-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentcolor;
  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.journey-link span {
  color: var(--coral);
  font-size: 1.12rem;
}

.hero__seal {
  position: absolute;
  z-index: 5;
  top: 126px;
  right: clamp(28px, 5vw, 78px);
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  color: var(--palm);
  background: rgb(255 248 236 / 86%);
  border: 1px solid rgb(255 255 255 / 66%);
  border-radius: 50%;
  box-shadow: 0 16px 45px rgb(6 47 40 / 15%);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.05;
  text-align: center;
  transform: rotate(8deg);
  backdrop-filter: blur(8px);
}

.wave {
  position: relative;
  z-index: 8;
  height: 96px;
  overflow: hidden;
  pointer-events: none;
}

.wave::before {
  position: absolute;
  bottom: -42px;
  left: 50%;
  width: 116%;
  height: 126px;
  border-radius: 50% 50% 0 0 / 68% 68% 0 0;
  content: "";
  transform: translateX(-50%);
}

.wave--sand {
  margin-top: -76px;
}

.wave--sand::before {
  background: var(--sand);
}

.wave--turquoise {
  height: 112px;
  margin-top: 44px;
}

.wave--turquoise::before {
  bottom: -45px;
  background: var(--sea-deep);
}

.wave--sand-from-turquoise {
  height: 108px;
  background: var(--sea-deep);
}

.wave--sand-from-turquoise::before {
  bottom: -48px;
  background: var(--sand);
}

.chapter-heading {
  display: grid;
  max-width: 940px;
  grid-template-columns: 82px 1fr;
  align-items: start;
  margin-bottom: 52px;
}

.chapter-heading__index {
  margin: 2px 0 0;
  color: var(--coral);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
}

.chapter-heading__index::after {
  display: block;
  width: 38px;
  margin-top: 10px;
  border-top: 1px solid currentcolor;
  content: "";
}

.chapter-heading .eyebrow {
  margin-bottom: 12px;
}

.chapter-heading h2,
.sea-memory h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.8vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 0.94;
}

.arrival {
  padding-top: clamp(74px, 9vw, 136px);
  padding-bottom: 54px;
}

.arrival__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.68fr);
  align-items: center;
}

.beach-photo {
  position: relative;
  z-index: 1;
  margin: 0;
}

.beach-photo picture {
  overflow: hidden;
  border-radius: 7px 56px 7px 7px;
  box-shadow: var(--shadow);
}

.beach-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 20%;
}

.beach-photo figcaption,
.pool-panorama figcaption,
.sea-memory__photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 8px 13px;
  color: var(--white);
  background: rgb(13 47 43 / 52%);
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.beach-photo figcaption {
  right: auto;
  left: 18px;
}

.arrival__copy {
  position: relative;
  z-index: 2;
  margin-left: -78px;
  padding: clamp(31px, 4vw, 49px);
  background: var(--sand-light);
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 7px 48px 7px 7px;
  box-shadow: 0 24px 70px rgb(30 63 54 / 13%);
}

.arrival__copy p {
  color: var(--palm-soft);
}

.arrival__copy .arrival__lead {
  color: var(--palm);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.35;
}

.arrival__copy .mantra {
  margin: 28px 0 0;
  padding-top: 22px;
  color: var(--coral);
  border-top: 1px solid rgb(168 117 72 / 28%);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
}

.blue-days {
  position: relative;
  padding: 48px 0 clamp(112px, 12vw, 178px);
  color: var(--white);
  background:
    radial-gradient(circle at 84% 12%, rgb(122 200 228 / 20%), transparent 27%),
    radial-gradient(circle at 14% 80%, rgb(242 196 104 / 9%), transparent 26%),
    var(--sea-deep);
}

.blue-days::before,
.blue-days::after {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.blue-days::before {
  top: 138px;
  right: -95px;
  width: 230px;
  height: 230px;
}

.blue-days::after {
  bottom: 80px;
  left: -135px;
  width: 320px;
  height: 320px;
}

.blue-days__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.55fr);
  gap: 76px;
  align-items: end;
  margin-bottom: 76px;
}

.chapter-heading--light {
  margin-bottom: 0;
}

.chapter-heading--light .chapter-heading__index,
.chapter-heading--light .eyebrow {
  color: var(--sun);
}

.blue-days__intro {
  max-width: 390px;
  margin-bottom: 6px;
  color: rgb(255 253 248 / 72%);
}

.pool-panorama {
  position: relative;
  margin: 0;
  padding: 10px;
  overflow: hidden;
  background: rgb(255 253 248 / 10%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 62px 8px 62px 8px;
  box-shadow: var(--shadow-dark);
}

.pool-panorama picture {
  overflow: hidden;
  border-radius: 53px 4px 53px 4px;
}

.pool-panorama img {
  aspect-ratio: 16 / 8.6;
  object-fit: cover;
  object-position: center 55%;
}

.blue-days__mantra {
  max-width: 720px;
  margin: 45px 0 0 auto;
  color: var(--sky);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 3.35rem);
  font-style: italic;
  line-height: 1.1;
  text-align: right;
}

.coconut {
  padding-top: 86px;
  padding-bottom: clamp(130px, 14vw, 210px);
}

.coconut__intro {
  max-width: 660px;
  margin: -12px 0 80px 82px;
  color: var(--palm-soft);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.48;
}

.portrait-collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 26px;
  align-items: start;
  min-height: 780px;
}

.portrait {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 11px 11px 17px;
  background: var(--white);
  box-shadow: 0 24px 65px rgb(35 67 58 / 16%);
}

.portrait__image {
  overflow: hidden;
  background: var(--sand-deep);
}

.portrait__image picture,
.portrait__image img {
  width: 100%;
  height: 100%;
}

.portrait__image img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.portrait figcaption {
  padding: 13px 4px 0;
  color: var(--palm-soft);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-style: italic;
}

.portrait--one {
  grid-column: 1 / span 4;
  transform: rotate(-1.5deg);
}

.portrait--one img {
  object-position: center 48%;
}

.portrait--two {
  grid-column: 5 / span 4;
  margin-top: 96px;
  transform: rotate(1.3deg);
}

.portrait--two img {
  object-position: center 46%;
}

.portrait--three {
  grid-column: 9 / span 4;
  margin-top: 28px;
  transform: rotate(-0.8deg);
}

.portrait--three img {
  object-position: center 45%;
}

.coconut-note {
  position: absolute;
  z-index: 3;
  right: 30%;
  bottom: 2px;
  width: min(390px, 42%);
  padding: 28px 34px;
  color: var(--palm);
  background: var(--sun);
  border-radius: 8px 35px 8px 35px;
  box-shadow: 0 20px 56px rgb(74 62 25 / 20%);
  transform: rotate(-2.5deg);
}

.coconut-note span {
  color: var(--coral);
}

.coconut-note p {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-style: italic;
  line-height: 1.15;
}

.sea-memory {
  padding-top: clamp(92px, 11vw, 162px);
  color: var(--palm);
  background:
    linear-gradient(180deg, var(--sand-light) 0%, #f7d4ab 58%, #e99575 100%);
}

.sea-memory__copy {
  padding-bottom: clamp(62px, 8vw, 108px);
  text-align: center;
}

.sea-memory__copy .eyebrow {
  color: var(--coral);
}

.sea-memory h2 {
  margin-inline: auto;
  font-size: clamp(3.2rem, 6.4vw, 6.9rem);
}

.sea-memory h2 em {
  display: block;
  color: var(--coral);
  font-weight: 400;
}

.sea-memory__copy > p:last-child {
  max-width: 590px;
  margin: 30px auto 0;
  color: var(--palm-soft);
}

.sea-memory__photo {
  position: relative;
  width: min(1380px, calc(100vw - 48px));
  margin: 0 auto;
  overflow: hidden;
  background: var(--sky);
  border-radius: 56px 56px 0 0;
  box-shadow: 0 -24px 78px rgb(113 64 43 / 16%);
}

.sea-memory__photo img {
  width: 100%;
  aspect-ratio: 16 / 8.7;
  object-fit: cover;
  object-position: center 50%;
}

.site-footer {
  position: relative;
  display: grid;
  min-height: 370px;
  place-content: center;
  overflow: hidden;
  padding: 92px 24px;
  color: var(--white);
  background: var(--palm-deep);
  text-align: center;
}

.site-footer::before,
.site-footer::after {
  position: absolute;
  left: 50%;
  width: 120%;
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.site-footer::before {
  bottom: -136px;
  height: 215px;
}

.site-footer::after {
  bottom: -91px;
  height: 176px;
}

.site-footer__title {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.8vw, 4.8rem);
  font-style: italic;
  line-height: 1;
}

.site-footer__year {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
  color: var(--sun);
  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.3em;
}

.site-footer__note {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgb(255 253 248 / 58%);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

@media (hover: hover) {
  .journey-link {
    transition:
      color 160ms ease,
      gap 160ms ease;
  }

  .journey-link:hover {
    gap: 20px;
    color: var(--coral);
  }

  .wordmark {
    transition: opacity 160ms ease;
  }

  .wordmark:hover {
    opacity: 0.76;
  }
}

@media (max-width: 1000px) {
  :root {
    --shell: min(100% - 42px, 820px);
  }

  .hero {
    min-height: 940px;
  }

  .hero__media img {
    object-position: center 54%;
  }

  .hero__card {
    width: min(690px, calc(100vw - 64px));
  }

  .arrival__layout {
    display: block;
  }

  .arrival__copy {
    width: calc(100% - 72px);
    margin: -52px 0 0 auto;
  }

  .blue-days__heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .blue-days__intro {
    margin-left: 82px;
  }

  .portrait-collage {
    min-height: 1040px;
    grid-template-columns: repeat(8, 1fr);
  }

  .portrait--one {
    grid-column: 1 / span 4;
  }

  .portrait--two {
    grid-column: 5 / span 4;
    margin-top: 74px;
  }

  .portrait--three {
    grid-column: 3 / span 4;
    margin-top: 4px;
  }

  .coconut-note {
    right: 3%;
    bottom: 62px;
    width: 43%;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .site-header {
    min-height: 82px;
    padding: 18px 20px;
  }

  .site-header__place {
    display: none;
  }

  .hero {
    min-height: 835px;
  }

  .hero__media img {
    object-position: center 55%;
  }

  .hero__card {
    right: 18px;
    bottom: 63px;
    left: 18px;
    width: auto;
    padding: 30px 27px 31px;
    border-radius: 7px 46px 7px 7px;
  }

  .hero h1 {
    margin-bottom: 22px;
    font-size: clamp(3.65rem, 16vw, 5rem);
  }

  .hero__intro {
    margin-bottom: 25px;
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .hero__seal,
  .hero__media figcaption {
    display: none;
  }

  .wave {
    height: 64px;
  }

  .wave--sand {
    margin-top: -46px;
  }

  .wave--turquoise {
    height: 82px;
    margin-top: 32px;
  }

  .wave--sand-from-turquoise {
    height: 80px;
  }

  .chapter-heading {
    grid-template-columns: 50px 1fr;
    margin-bottom: 38px;
  }

  .chapter-heading__index::after {
    width: 25px;
  }

  .chapter-heading h2 {
    font-size: clamp(2.65rem, 12vw, 4.15rem);
  }

  .arrival {
    padding-top: 70px;
  }

  .beach-photo {
    width: calc(100% + 16px);
    margin-left: -8px;
  }

  .beach-photo picture {
    border-radius: 6px 34px 6px 6px;
  }

  .beach-photo img {
    aspect-ratio: 16 / 10;
    object-position: center top;
  }

  .beach-photo figcaption {
    display: none;
  }

  .arrival__copy {
    width: calc(100% - 12px);
    margin: -30px 0 0 auto;
    padding: 28px 25px;
    border-radius: 6px 35px 6px 6px;
  }

  .arrival__copy .arrival__lead {
    font-size: 1.45rem;
  }

  .blue-days {
    padding-top: 30px;
    padding-bottom: 108px;
  }

  .blue-days__heading {
    margin-bottom: 50px;
  }

  .blue-days__intro {
    margin-left: 50px;
  }

  .pool-panorama {
    width: calc(100% + 16px);
    margin-left: -8px;
    padding: 6px;
    border-radius: 38px 6px 38px 6px;
  }

  .pool-panorama picture {
    border-radius: 32px 3px 32px 3px;
  }

  .pool-panorama img {
    aspect-ratio: 4 / 3;
  }

  .pool-panorama figcaption {
    display: none;
  }

  .blue-days__mantra {
    max-width: 90%;
    margin-top: 32px;
    font-size: 2rem;
  }

  .coconut {
    padding-top: 75px;
    padding-bottom: 128px;
  }

  .coconut__intro {
    margin: 0 0 56px 50px;
    font-size: 1.32rem;
  }

  .portrait-collage {
    min-height: 1030px;
    grid-template-columns: 1fr 1fr;
    gap: 34px 14px;
  }

  .portrait--one,
  .portrait--two,
  .portrait--three {
    grid-column: auto;
    margin-top: 0;
  }

  .portrait--one {
    grid-column: 1;
  }

  .portrait--two {
    grid-column: 2;
    margin-top: 60px;
  }

  .portrait--three {
    grid-column: 1 / -1;
    width: 58%;
    margin-top: -6px;
    margin-left: 8%;
  }

  .portrait {
    padding: 7px 7px 12px;
  }

  .portrait figcaption {
    padding-top: 9px;
    font-size: 0.72rem;
  }

  .coconut-note {
    right: 1%;
    bottom: 110px;
    width: 49%;
    padding: 22px 24px;
  }

  .sea-memory {
    padding-top: 86px;
  }

  .sea-memory h2 {
    font-size: clamp(3rem, 13vw, 4.8rem);
  }

  .sea-memory__photo {
    width: calc(100% - 24px);
    border-radius: 34px 34px 0 0;
  }

  .sea-memory__photo img {
    aspect-ratio: 4 / 3;
  }

  .sea-memory__photo figcaption {
    display: none;
  }

  .site-footer {
    min-height: 330px;
  }
}

@media (max-width: 450px) {
  .wordmark__main {
    font-size: 1.02rem;
  }

  .hero {
    min-height: 780px;
  }

  .hero__card {
    bottom: 52px;
    padding: 27px 23px;
  }

  .hero__card .eyebrow {
    font-size: 0.57rem;
    letter-spacing: 0.14em;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 15.2vw, 4.1rem);
  }

  .journey-link {
    font-size: 0.65rem;
  }

  .chapter-heading h2 {
    font-size: 2.7rem;
  }

  .arrival__copy,
  .blue-days__intro,
  .coconut__intro {
    margin-left: 0;
  }

  .portrait-collage {
    display: block;
    min-height: 0;
  }

  .portrait {
    width: 88%;
    margin-inline: auto;
  }

  .portrait--two {
    margin-top: 34px;
    margin-right: 0;
  }

  .portrait--three {
    width: 88%;
    margin-top: 34px;
    margin-left: 0;
  }

  .coconut-note {
    position: relative;
    right: auto;
    bottom: auto;
    width: 82%;
    margin: 45px auto 0;
  }

  .sea-memory__copy > p:last-child {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
