:root {
  --ink: #122a31;
  --ink-soft: #24434b;
  --sea: #173b47;
  --sea-light: #8faeb2;
  --foam: #f2f0ea;
  --paper: #faf8f2;
  --sand: #c8b79c;
  --white: #ffffff;
  --line: rgba(18, 42, 49, 0.16);
  --serif: "Italiana", "Times New Roman", serif;
  --sans: "DM Sans", "Helvetica Neue", sans-serif;
  --page-pad: clamp(1.25rem, 4.5vw, 5.5rem);
  --section-space: clamp(6rem, 12vw, 11rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-200%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 6rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-pad);
  color: var(--white);
  transition:
    background 300ms ease,
    color 300ms ease,
    height 300ms ease,
    box-shadow 300ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  height: 4.75rem;
  background: rgba(250, 248, 242, 0.96);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1;
}

.brand-name {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.5rem);
}

.site-nav a {
  position: relative;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -0.4rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 0.8rem 1.2rem;
  border: 1px solid currentColor;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 1px;
  margin: 0.35rem auto;
  background: currentColor;
  transition: transform 200ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-shade,
.hero-grain {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 58% center;
  animation: hero-settle 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 22, 28, 0.78) 0%, rgba(5, 22, 28, 0.3) 58%, rgba(5, 22, 28, 0.12) 100%),
    linear-gradient(0deg, rgba(5, 22, 28, 0.58) 0%, transparent 40%);
}

.hero-grain {
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(48rem, calc(100% - (var(--page-pad) * 2)));
  min-height: 100svh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 8rem 0 11rem;
  margin-left: var(--page-pad);
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.72);
}

.hero h1,
.section-heading h2,
.accommodation h2,
.water-heading h2,
.crew-content h2,
.adriatic-content h2,
.closing-content h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(4rem, 8vw, 8.2rem);
}

h1 em,
h2 em {
  font-weight: 400;
}

.hero-intro {
  max-width: 42rem;
  margin: 2rem 0 2.3rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
}

.hero-intro span {
  display: block;
}

.button {
  display: inline-flex;
  min-height: 3.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.95rem 1.35rem 0.95rem 1.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 220ms ease,
    color 220ms ease;
}

.button svg {
  width: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 220ms ease;
}

.button:hover svg {
  transform: translateX(0.3rem);
}

.button-light {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--white);
}

.button-light:hover {
  background: var(--white);
  color: var(--ink);
}

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

.button-dark:hover {
  background: var(--sea-light);
  color: var(--ink);
}

.hero-footer {
  position: absolute;
  z-index: 2;
  right: var(--page-pad);
  bottom: 2.3rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(4.5rem, 1fr));
  gap: clamp(1rem, 2vw, 2.5rem);
}

.hero-footer div {
  display: flex;
  flex-direction: column;
}

.hero-footer strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
}

.hero-footer span {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.57rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 2.3rem;
  left: var(--page-pad);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue i {
  display: block;
  width: 3rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.editorial-section {
  position: relative;
  padding: var(--section-space) var(--page-pad);
}

.section-number {
  position: absolute;
  top: clamp(2.5rem, 5vw, 5rem);
  right: var(--page-pad);
  color: rgba(18, 42, 49, 0.11);
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 11rem);
  line-height: 1;
}

.section-heading h2,
.water-heading h2,
.crew-content h2,
.closing-content h2 {
  font-size: clamp(3rem, 6.5vw, 6.7rem);
}

.section-heading {
  position: relative;
  z-index: 1;
}

.yacht-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(18rem, 1.35fr);
  gap: clamp(3rem, 8vw, 9rem);
  margin-top: clamp(4rem, 8vw, 8rem);
}

.yacht-copy {
  align-self: center;
  padding-left: clamp(0rem, 4vw, 5rem);
}

.lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  line-height: 1.45;
}

.yacht-copy > p:not(.lead),
.accommodation-content > p:not(.lead),
.crew-content > p:not(.lead) {
  max-width: 34rem;
  color: rgba(18, 42, 49, 0.72);
}

.quiet-fact {
  display: grid;
  align-items: start;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

.quiet-fact span {
  color: var(--sea);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.quiet-fact p {
  margin: 0;
  color: rgba(18, 42, 49, 0.7);
  font-size: 0.88rem;
}

.portrait-frame,
.detail-frame,
.moment {
  margin: 0;
  overflow: hidden;
}

.portrait-frame {
  position: relative;
}

.portrait-frame img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portrait-frame figcaption,
.moment figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  color: rgba(18, 42, 49, 0.62);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-frame {
  width: 58%;
  margin: -12% 0 0 -25%;
  border: 0.8rem solid var(--paper);
}

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

.manifesto {
  position: relative;
  display: grid;
  min-height: 76svh;
  place-items: center;
  overflow: hidden;
  color: var(--white);
}

.manifesto-image,
.manifesto-shade {
  position: absolute;
  inset: 0;
}

.manifesto-image img {
  height: 100%;
  object-fit: cover;
}

.manifesto-shade {
  background: rgba(7, 28, 34, 0.35);
}

.manifesto p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 1.02;
  text-align: center;
}

.life-intro {
  display: grid;
  align-items: end;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(3rem, 7vw, 8rem);
}

.life-copy {
  max-width: 31rem;
  padding-bottom: 0.8rem;
  color: rgba(18, 42, 49, 0.72);
}

.moment-grid {
  display: grid;
  align-items: end;
  grid-template-columns: 1.15fr 0.8fr;
  gap: clamp(1rem, 2.3vw, 2rem);
  margin-top: clamp(4rem, 8vw, 8rem);
}

.moment img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.moment:hover img {
  transform: scale(1.025);
}

.moment-tall {
  grid-row: span 2;
}

.moment-tall img {
  aspect-ratio: 4 / 5;
}

.moment figcaption span {
  margin-right: auto;
  color: var(--sand);
}

.accommodation {
  display: grid;
  min-height: 52rem;
  grid-template-columns: 1fr 1fr;
  background: var(--sea);
  color: var(--white);
}

.accommodation-image {
  min-height: 45rem;
  overflow: hidden;
}

.accommodation-image img {
  height: 100%;
  object-fit: cover;
}

.accommodation-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vw, 8rem);
}

.accommodation h2 {
  font-size: clamp(2.9rem, 5.5vw, 6rem);
}

.accommodation-content .lead {
  margin: 3rem 0 0.6rem;
  color: var(--white);
}

.accommodation-content > p:not(.lead) {
  color: rgba(255, 255, 255, 0.68);
}

.suite-list {
  padding: 0;
  margin: 2.5rem 0 0;
  list-style: none;
}

.suite-list li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
}

.suite-list span {
  color: var(--sand);
  font-family: var(--serif);
  font-size: 1rem;
}

.water-section {
  padding: var(--section-space) var(--page-pad);
}

.water-heading {
  margin-bottom: clamp(3rem, 7vw, 7rem);
}

.water-stage {
  position: relative;
}

.water-stage > img {
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
}

.water-card {
  position: absolute;
  right: clamp(1rem, 5vw, 5rem);
  bottom: clamp(-3rem, -4vw, -1rem);
  width: min(29rem, calc(100% - 2rem));
  padding: clamp(1.8rem, 4vw, 3.5rem);
  background: var(--paper);
  box-shadow: 0 1.5rem 4rem rgba(18, 42, 49, 0.14);
}

.water-card p {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.45;
}

.water-card span {
  display: block;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: rgba(18, 42, 49, 0.6);
  font-size: 0.72rem;
}

.crew-section {
  display: grid;
  align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(3rem, 8vw, 9rem);
  padding: calc(var(--section-space) + 2rem) var(--page-pad) var(--section-space);
}

.crew-image img {
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.crew-content {
  max-width: 37rem;
}

.crew-content .lead {
  margin-top: 2.5rem;
}

.crew-result {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  margin-top: 2.2rem;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.adriatic-section {
  position: relative;
  display: flex;
  min-height: 88svh;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.adriatic-image,
.adriatic-shade {
  position: absolute;
  inset: 0;
  height: 100%;
}

.adriatic-image {
  object-fit: cover;
}

.adriatic-shade {
  background:
    linear-gradient(90deg, rgba(8, 27, 33, 0.75), rgba(8, 27, 33, 0.2) 70%),
    linear-gradient(0deg, rgba(8, 27, 33, 0.38), transparent);
}

.adriatic-content {
  position: relative;
  z-index: 1;
  width: min(48rem, calc(100% - (var(--page-pad) * 2)));
  margin-left: var(--page-pad);
}

.adriatic-content h2 {
  font-size: clamp(3.2rem, 6.5vw, 7rem);
}

.adriatic-content > p {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.82);
}

.adriatic-content > p:first-of-type {
  margin-top: 2.5rem;
}

.adriatic-content small {
  display: block;
  max-width: 34rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.58);
}

.closing-section {
  position: relative;
  display: grid;
  min-height: 44rem;
  place-items: center;
  padding: var(--section-space) var(--page-pad);
  overflow: hidden;
  text-align: center;
}

.closing-mark {
  position: absolute;
  color: rgba(18, 42, 49, 0.035);
  font-family: var(--serif);
  font-size: min(60vw, 48rem);
  line-height: 1;
  pointer-events: none;
}

.closing-content {
  position: relative;
  z-index: 1;
}

.closing-content p:not(.eyebrow) {
  max-width: 38rem;
  margin: 2rem auto;
  color: rgba(18, 42, 49, 0.7);
}

.closing-content .button {
  margin-top: 0.5rem;
}

.closing-content small {
  display: block;
  margin-top: 1rem;
  color: rgba(18, 42, 49, 0.5);
  font-size: 0.67rem;
}

.site-footer {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr 1.3fr auto;
  gap: 3rem;
  padding: 3rem var(--page-pad);
  background: #0d242b;
  color: rgba(255, 255, 255, 0.7);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
}

.footer-brand div {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.footer-brand div span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
}

.site-footer p {
  max-width: 43rem;
  margin: 0;
  font-size: 0.68rem;
}

.site-footer > a {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.reveal,
.image-reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 750ms ease,
    transform 750ms cubic-bezier(0.22, 1, 0.36, 1);
}

.image-reveal {
  transform: translateY(2.5rem);
}

.reveal.is-visible,
.image-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-settle {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 920px) {
  .site-header {
    height: 4.75rem;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 7rem var(--page-pad) 3rem;
    background: var(--paper);
    color: var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transition:
      opacity 220ms ease,
      transform 220ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    font-family: var(--serif);
    font-size: clamp(2rem, 8vw, 4rem);
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .site-nav .nav-cta {
    margin-top: 1rem;
    font-family: var(--sans);
    font-size: 0.72rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  .site-header.is-open .nav-toggle span:first-child {
    transform: translateY(0.35rem) rotate(45deg);
  }

  .site-header.is-open .nav-toggle span:last-child {
    transform: translateY(-0.35rem) rotate(-45deg);
  }

  .hero-content {
    padding-bottom: 14rem;
  }

  .hero-footer {
    right: var(--page-pad);
    bottom: 2.5rem;
    left: var(--page-pad);
    grid-template-columns: repeat(5, 1fr);
  }

  .scroll-cue {
    display: none;
  }

  .yacht-grid {
    grid-template-columns: 1fr;
  }

  .yacht-copy {
    padding-left: 0;
  }

  .portrait-frame {
    width: 82%;
    margin-left: auto;
  }

  .detail-frame {
    width: 52%;
    margin-top: -18%;
    margin-left: 0;
  }

  .life-intro {
    grid-template-columns: 1fr;
  }

  .accommodation {
    grid-template-columns: 1fr;
  }

  .accommodation-image {
    min-height: 70svh;
  }

  .crew-section {
    grid-template-columns: 1fr;
  }

  .crew-image {
    width: 82%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .hero-image {
    object-position: 63% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 22, 28, 0.7), rgba(5, 22, 28, 0.18)),
      linear-gradient(0deg, rgba(5, 22, 28, 0.82) 0%, transparent 60%);
  }

  .hero-content {
    justify-content: flex-end;
    padding-top: 7rem;
    padding-bottom: 11.5rem;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 17vw, 5.3rem);
  }

  .hero-intro span {
    display: inline;
  }

  .button {
    width: 100%;
  }

  .hero-footer {
    bottom: 1.2rem;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }

  .hero-footer div:nth-child(4),
  .hero-footer div:nth-child(5) {
    display: none;
  }

  .hero-footer strong {
    font-size: 1.35rem;
  }

  .section-number {
    display: none;
  }

  .section-heading h2,
  .water-heading h2,
  .crew-content h2,
  .closing-content h2 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .yacht-grid,
  .moment-grid {
    margin-top: 3.5rem;
  }

  .portrait-frame {
    width: 92%;
  }

  .detail-frame {
    width: 64%;
  }

  .manifesto {
    min-height: 62svh;
  }

  .moment-grid {
    display: block;
  }

  .moment {
    margin-bottom: 1.5rem;
  }

  .moment-tall img,
  .moment img {
    aspect-ratio: 4 / 4.5;
  }

  .accommodation-image {
    min-height: 62svh;
  }

  .accommodation-content {
    padding: 4.5rem var(--page-pad);
  }

  .water-stage > img {
    aspect-ratio: 4 / 5;
  }

  .water-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 1.5rem);
    margin: -3.5rem auto 0;
  }

  .crew-section {
    padding-top: var(--section-space);
  }

  .crew-image {
    width: 92%;
  }

  .adriatic-section {
    min-height: 80svh;
    align-items: flex-end;
  }

  .adriatic-content {
    padding-bottom: 5rem;
  }

  .adriatic-content h2 {
    font-size: clamp(2.9rem, 13vw, 4.7rem);
  }

  .closing-section {
    min-height: 39rem;
  }

  .site-footer {
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .image-reveal {
    opacity: 1;
    transform: none;
  }
}
