@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --ink: #071018;
  --paper: #f2eee5;
  --gold: #d9b66f;
  --white: #fffdf7;
  --line: rgba(255,255,255,.22);
  --sans: "Montserrat", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--white); background: var(--ink); font-family: var(--sans); overflow-x: hidden; }
a { color: inherit; }
img, video { display: block; width: 100%; }
button { font: inherit; }

.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--paper); color: var(--ink); padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 1.65rem 3vw; border-bottom: 1px solid transparent; transition: .45s ease; }
.site-header.is-scrolled { padding-top: 1rem; padding-bottom: 1rem; background: rgba(7,16,24,.78); border-color: rgba(255,255,255,.1); backdrop-filter: blur(18px); }
.wordmark { font: 500 1.05rem/1 var(--serif); letter-spacing: .31em; text-decoration: none; }
.site-header nav { display: flex; gap: 2.25rem; }
.site-header nav a { font-size: .69rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; opacity: .8; transition: opacity .2s; }
.site-header nav a:hover, .site-header nav a:focus-visible { opacity: 1; }
.menu-button { display: none; border: 0; color: white; background: transparent; width: 2.5rem; height: 2.5rem; padding: .5rem; }
.menu-button span { display: block; height: 1px; background: currentColor; margin: .42rem 0; }

.hero { min-height: 100svh; position: relative; display: grid; align-items: end; overflow: hidden; background: #101820; }
.hero-video, .hero-shade, .hero-grain { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.hero-video { z-index: 0; }
.hero-shade { z-index: 1; background: linear-gradient(90deg, rgba(1,8,13,.77) 0%, rgba(1,8,13,.18) 54%, rgba(1,8,13,.08)), linear-gradient(0deg, rgba(1,8,13,.68), transparent 48%); }
.hero-grain { z-index: 2; opacity: .08; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
.hero-copy { position: relative; z-index: 3; width: min(92vw, 1500px); margin: 0 auto; padding: 10rem 1rem 5.5rem; }
.eyebrow { margin: 0 0 1.35rem; color: var(--gold); font-size: .68rem; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; }
.hero h1 { font: 400 clamp(5.4rem, 12vw, 12rem)/.72 var(--serif); letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.hero-bottom { display: grid; grid-template-columns: minmax(16rem, 27rem) auto; gap: 3rem; align-items: end; margin-top: 4.2rem; }
.hero-bottom > p { font: 400 clamp(1.05rem, 1.4vw, 1.35rem)/1.55 var(--serif); margin: 0; opacity: .87; }
.round-link { justify-self: start; display: inline-flex; align-items: center; gap: .8rem; color: inherit; text-decoration: none; font-size: .65rem; letter-spacing: .17em; text-transform: uppercase; }
.round-link svg { width: 3.6rem; height: 3.6rem; padding: 1rem; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; fill: currentColor; transition: .3s ease; }
.round-link:hover svg { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: scale(1.06); }
.sound-button { position: absolute; z-index: 4; right: 3vw; bottom: 2.2rem; display: flex; align-items: center; gap: .65rem; padding: .7rem; border: 0; color: white; background: transparent; cursor: pointer; font-size: .62rem; text-transform: uppercase; letter-spacing: .15em; }
.sound-button svg { width: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.4; }
.sound-button .sound-on { display: none; }
.sound-button[aria-pressed="true"] .sound-on { display: block; }
.sound-button[aria-pressed="true"] .sound-off { display: none; }
.scroll-cue { position: absolute; z-index: 4; left: 3vw; bottom: 2.6rem; display: flex; align-items: center; gap: .8rem; color: rgba(255,255,255,.65); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue span { width: 2.7rem; height: 1px; background: currentColor; }

.manifesto { position: relative; min-height: 105vh; padding: 9rem 6vw; display: grid; grid-template-columns: 1fr minmax(19rem, 55rem) 1fr; gap: 3rem; align-items: center; background: var(--paper); color: var(--ink); overflow: hidden; }
.section-index { font-size: .63rem; letter-spacing: .18em; text-transform: uppercase; opacity: .6; }
.manifesto .section-index { align-self: start; margin-top: 2rem; }
.manifesto h2, .film-intro h2, .chapter h2, .arrival-copy h2 { font: 400 clamp(4.1rem, 8vw, 8.5rem)/.82 var(--serif); letter-spacing: -.04em; margin: 0; }
.lead { max-width: 42rem; margin: 3rem 0 0; font: 400 clamp(1.4rem, 2.1vw, 2.1rem)/1.35 var(--serif); color: #384049; }
.vision-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 3.5rem; border-top: 1px solid rgba(7,16,24,.2); border-bottom: 1px solid rgba(7,16,24,.2); }
.vision-facts > div { min-height: 7.5rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; padding: 1.25rem 1rem 1.15rem 0; border-right: 1px solid rgba(7,16,24,.16); }
.vision-facts > div:nth-child(3n) { border-right: 0; padding-left: 1rem; }
.vision-facts > div:nth-child(3n + 2) { padding-left: 1rem; }
.vision-facts > div:nth-child(-n + 3) { border-bottom: 1px solid rgba(7,16,24,.16); }
.vision-facts span { font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; opacity: .5; }
.vision-facts strong { font: 400 clamp(1.55rem, 2.2vw, 2.25rem)/1 var(--serif); }
.yacht-mark { justify-self: center; width: 11rem; display: grid; justify-items: center; gap: .6rem; color: var(--ink); text-align: center; }
.yacht-monogram { position: relative; width: 7.2rem; height: 7.2rem; display: grid; place-items: center; border: 1px solid rgba(7,16,24,.28); font: 400 2.6rem/1 var(--serif); letter-spacing: -.08em; color: #9e7131; }
.yacht-monogram::before, .yacht-monogram::after { content: ""; position: absolute; left: 50%; width: 3.2rem; height: 1px; background: #9e7131; transform: translateX(-50%); }
.yacht-monogram::before { top: -.35rem; }
.yacht-monogram::after { bottom: -.35rem; }
.yacht-mark > span { margin-top: .45rem; font: 400 1.02rem/1 var(--serif); letter-spacing: .22em; }
.yacht-mark > small { font-size: .5rem; letter-spacing: .2em; opacity: .58; }

.film-section { padding: 9rem 5vw 10rem; background: #071018; }
.film-intro { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 2rem; align-items: end; margin: 0 auto 4rem; max-width: 1500px; }
.film-intro h2 { font-size: clamp(4rem, 7vw, 8rem); }
.film-intro > p:last-child { font: 1.15rem/1.5 var(--serif); color: rgba(255,255,255,.68); max-width: 18rem; }
.film-frame { position: relative; max-width: 1500px; margin: 0 auto; padding: 0 3vw 3vw 0; }
.film-frame::after { content: ""; position: absolute; inset: 3vw 0 0 3vw; border: 1px solid rgba(217,182,111,.4); pointer-events: none; }
.film-frame video { position: relative; z-index: 1; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.frame-label { display: block; margin-top: 1rem; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

.chapter { min-height: 100vh; display: grid; grid-template-columns: 58% 42%; background: #c9b68e; color: var(--ink); }
.chapter-image { overflow: hidden; }
.chapter-image img { height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.chapter-image:hover img { transform: scale(1.025); }
.chapter-copy { align-self: center; padding: 6rem 5vw; }
.chapter-copy h2 { font-size: clamp(3.7rem, 6vw, 7rem); }
.chapter-copy > p:last-child { margin: 2.5rem 0 0; max-width: 30rem; font: 1.3rem/1.55 var(--serif); color: #27313b; }

.quote-section { min-height: 85vh; display: grid; place-items: center; align-content: center; padding: 7rem 9vw; text-align: center; background: #0d1b25; }
.quote-rule { width: 1px; height: 6rem; background: var(--gold); margin-bottom: 3rem; }
.quote-section blockquote { max-width: 74rem; margin: 0; font: italic 400 clamp(2.6rem, 5.5vw, 6rem)/1.05 var(--serif); color: var(--paper); }
.quote-caption { margin: 2.5rem 0 0; color: var(--gold); font-size: .65rem; letter-spacing: .24em; text-transform: uppercase; }

.partners-section { padding: 10rem 5vw 11rem; background: var(--paper); color: var(--ink); }
.partners-heading { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 2rem; align-items: end; max-width: 1500px; margin: 0 auto 5rem; }
.partners-heading .eyebrow { align-self: start; margin-top: .1rem; }
.partners-heading h2 { font: 400 clamp(3.8rem, 7vw, 8rem)/.84 var(--serif); letter-spacing: -.04em; margin: 0; }
.partners-grid { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(7,16,24,.25); border-bottom: 1px solid rgba(7,16,24,.25); }
.partner-card { min-height: 23rem; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 2.1rem 1.6rem; color: inherit; text-decoration: none; border-right: 1px solid rgba(7,16,24,.2); transition: color .35s ease, background .35s ease, transform .35s ease; }
.partner-card:last-child { border-right: 0; }
a.partner-card:hover, a.partner-card:focus-visible { color: var(--white); background: var(--ink); transform: translateY(-.6rem); outline: none; }
.partner-discipline { position: absolute; top: 2rem; left: 1.6rem; margin: 0; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; opacity: .58; }
.partner-card h3 { max-width: 12rem; margin: 0 0 .65rem; font: 400 clamp(2rem, 3vw, 3.2rem)/.95 var(--serif); }
.partner-card > p:not(.partner-discipline) { margin: 0; font: 1rem/1.35 var(--serif); opacity: .62; }
.partner-number { position: absolute; right: 1.5rem; bottom: 2.2rem; font-size: .55rem; letter-spacing: .12em; opacity: .4; }

.arrival-section { min-height: 100vh; position: relative; display: grid; align-items: end; overflow: hidden; }
.arrival-section > img, .arrival-section > video, .arrival-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.departure-video { background: #071018; }
.arrival-overlay { background: linear-gradient(0deg, rgba(4,9,13,.9), rgba(4,9,13,.02) 70%); }
.arrival-copy { position: relative; padding: 8rem 6vw 6rem; }
.arrival-copy h2 { font-size: clamp(4.7rem, 9.5vw, 10rem); }
.arrival-copy a { display: inline-block; margin-top: 3rem; padding-bottom: .6rem; border-bottom: 1px solid currentColor; text-decoration: none; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }

footer { min-height: 12rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 2rem 4vw; border-top: 1px solid rgba(255,255,255,.1); }
footer p { margin: 0; font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }
footer p:last-child { justify-self: end; }

.reveal { opacity: 0; transform: translateY(2.2rem); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .site-header { padding: 1.25rem 1.1rem; }
  .site-header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 2rem 1.2rem 2.5rem; flex-direction: column; gap: 1.5rem; background: rgba(7,16,24,.96); border-top: 1px solid rgba(255,255,255,.1); }
  .site-header nav.is-open { display: flex; }
  .menu-button { display: block; }
  .hero-copy { padding: 8rem 1.2rem 7rem; }
  .hero h1 { font-size: clamp(4.9rem, 24vw, 8rem); }
  .hero-bottom { grid-template-columns: 1fr; margin-top: 3rem; gap: 2rem; }
  .scroll-cue { display: none; }
  .sound-button { right: 1rem; bottom: 1.3rem; }
  .manifesto { min-height: auto; padding: 8rem 1.2rem; grid-template-columns: 1fr; gap: 2rem; }
  .manifesto .section-index { margin: 0; }
  .manifesto h2, .film-intro h2, .chapter h2 { font-size: clamp(3.7rem, 17vw, 6rem); }
  .vision-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vision-facts > div, .vision-facts > div:nth-child(3n), .vision-facts > div:nth-child(3n + 2) { padding: 1.1rem .8rem 1rem 0; border-right: 1px solid rgba(7,16,24,.16); border-bottom: 1px solid rgba(7,16,24,.16); }
  .vision-facts > div:nth-child(even) { padding-left: .8rem; border-right: 0; }
  .vision-facts > div:nth-last-child(-n + 2) { border-bottom: 0; }
  .yacht-mark { margin-top: 3rem; }
  .film-section { padding: 7rem 1.2rem 8rem; }
  .film-intro { grid-template-columns: 1fr; }
  .film-frame { padding: 0 1rem 1rem 0; }
  .chapter { grid-template-columns: 1fr; }
  .chapter-image { min-height: 60vh; }
  .chapter-copy { padding: 6rem 1.2rem 7rem; }
  .quote-section { min-height: 75vh; padding: 6rem 1.2rem; }
  .partners-section { padding: 7rem 1.2rem 8rem; }
  .partners-heading { grid-template-columns: 1fr; margin-bottom: 3.5rem; }
  .partners-heading h2 { font-size: clamp(3.7rem, 16vw, 6rem); }
  .partners-grid { grid-template-columns: 1fr; }
  .partner-card { min-height: 15rem; border-right: 0; border-bottom: 1px solid rgba(7,16,24,.2); }
  .partner-card:last-child { border-bottom: 0; }
  .arrival-copy { padding: 7rem 1.2rem 5rem; }
  .arrival-copy h2 { font-size: clamp(4.4rem, 21vw, 7rem); }
  footer { grid-template-columns: 1fr; align-content: center; }
  footer p:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-video { display: none; }
  .hero { background: url('assets/la-pausa-arrival.jpg') center/cover no-repeat; }
}
