:root {
  --orv-navy: #163649;
  --orv-sand: #f7e6b2;
  --orv-orange: #a83c1c;
  --orv-paper: #fffaf2;
  --orv-serif: Georgia, "Times New Roman", serif;
  --orv-gutter: clamp(1.25rem, 5vw, 4rem);
  --orv-width: 70rem;
  --orv-wave: clamp(1rem, 2.6vw, 2.1rem);
}

.orv-feature {
  background: var(--orv-paper);
  color: var(--orv-navy);
  padding: clamp(3.5rem, 7vw, 6.25rem) var(--orv-gutter);
  position: relative;
}

.orv-feature--sand {
  background: var(--orv-sand);
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.orv-feature--sand::before,
.orv-feature--sand::after,
.orv-reviews::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: var(--orv-wave);
  pointer-events: none;
}

.orv-feature--sand::before {
  top: 0;
  background: var(--orv-paper);
  border-radius: 0 0 58% 38% / 0 0 100% 80%;
}

.orv-feature--sand::after {
  bottom: 0;
  background: var(--orv-paper);
  border-radius: 42% 62% 0 0 / 80% 100% 0 0;
}

.orv-feature--sand:has(+ .orv-reviews)::after {
  display: none;
}

.orv-feature__inner {
  max-width: var(--orv-width);
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-areas: "copy image";
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.orv-feature--reverse .orv-feature__inner {
  grid-template-columns: 1fr 1.1fr;
  grid-template-areas: "image copy";
}

.orv-feature__copy { grid-area: copy; }

.orv-feature h2,
.orv-reviews h2,
.orv-stay h2 {
  font: 700 clamp(2rem, 4.2vw, 3.55rem)/1.08 var(--orv-serif);
  letter-spacing: -.045em;
  margin: 0 0 .35em;
  text-wrap: balance;
}

.orv-feature h2 { color: var(--orv-orange); }

.orv-feature__subtitle {
  font: italic 700 clamp(1.05rem, 2.1vw, 1.35rem)/1.3 var(--orv-serif);
  margin-block: 0 .65em;
}

.orv-feature__body {
  max-width: 42ch;
  margin-block: 0 1.3em;
}

.orv-feature__image {
  grid-area: image;
  aspect-ratio: 5 / 4;
  border-radius: 12px;
  box-shadow: 6px 6px 0 var(--orv-navy);
  overflow: hidden;
  background: var(--orv-navy);
}

.orv-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.button--orv {
  color: var(--orv-navy);
  background: var(--orv-sand);
  border-color: var(--orv-navy);
  border-radius: 999px;
  box-shadow: 2px 3px 0 var(--orv-navy);
}

.orv-feature--sand .button--orv {
  color: white;
  background: var(--orv-orange);
}

.orv-feature .button--orv:hover,
.orv-stay .button--orv:hover {
  color: var(--orv-navy);
  background: white;
}

.orv-reviews {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) var(--orv-gutter) clamp(3rem, 6vw, 5rem);
  color: white;
  background: var(--orv-orange);
  text-align: center;
}

.orv-reviews::before {
  top: 0;
  background: var(--orv-sand);
  border-radius: 0 0 44% 62% / 0 0 84% 100%;
}

.orv-reviews__quote {
  display: block;
  height: .62em;
  color: var(--orv-sand);
  font: 700 clamp(4rem, 8vw, 7rem)/1 var(--orv-serif);
  text-shadow: 3px 3px var(--orv-navy);
}

.orv-review-card {
  max-width: 46rem;
  margin: 1.65rem auto 0;
  padding: clamp(1.2rem, 4vw, 2.3rem);
  color: var(--orv-navy);
  background: var(--orv-paper);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--orv-navy);
}

.orv-review-card a { margin-top: .65rem; }

.orv-stay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "arrival copy";
  color: white;
  background: var(--orv-navy);
}

.orv-stay__copy,
.orv-stay__arrival { padding: clamp(2rem, 5vw, 4rem) var(--orv-gutter); }
.orv-stay__copy { grid-area: copy; }
.orv-stay__copy address { font-style: normal; }
.orv-stay__copy h2 { color: var(--orv-sand); }
.orv-stay__copy .action-row { margin-top: 1.2rem; }

.orv-stay__arrival {
  grid-area: arrival;
  color: var(--orv-navy);
  background: #e7ece8;
}

.orv-stay__arrival h3 { font: 700 1.6rem/1.2 var(--orv-serif); }
.orv-stay__arrival ul { padding-inline-start: 1.25rem; }

.site-footer {
  color: var(--orv-navy);
  background: var(--orv-paper);
  text-align: center;
}
.site-footer .footer-inner { grid-template-columns: 1fr; justify-items: center; }
.site-footer .footer-links { grid-column: auto; justify-content: center; }
.site-footer .footer-bottom { color: var(--orv-navy); }
.site-footer .footer-bottom a { color: inherit; }

@media (max-width: 650px) {
  .orv-feature__inner,
  .orv-feature--reverse .orv-feature__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "image";
  }

  .orv-stay {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "arrival";
  }
}

.orv-review { margin: 0; }
.orv-review + .orv-review {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.orv-review blockquote {
  margin: 0;
  font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  line-height: 1.5;
}
.orv-review figcaption {
  margin-top: .35rem;
  font-size: 1rem;
  font-weight: 700;
}
.orv-review-stars {
  margin-top: .55rem;
  color: #9A6414;
  letter-spacing: .16em;
}

.orv-review-slides.is-rotating { display: grid; }
.is-rotating .orv-review {
  grid-area: 1 / 1;
  align-self: center;
  margin: 0;
  padding: 0;
  border: 0;
  visibility: hidden;
}
.is-rotating .orv-review.is-active {
  visibility: visible;
  animation: orv-review-fade 350ms ease-out;
}
@keyframes orv-review-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .is-rotating .orv-review.is-active { animation: none; }
}
