:root {
  --ivory: #f1eee8;
  --paper: #faf8f3;
  --ink: #18191a;
  --muted: #6e6c68;
  --line: rgba(24, 25, 26, 0.14);
  --navy: #141a20;
  --champagne: #af9470;
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ivory); }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--body); font-weight: 400; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.skip-link { position: absolute; left: 1rem; top: -5rem; background: var(--ink); color: white; padding: .8rem 1rem; z-index: 20; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { margin: 0 0 1.35rem; color: var(--muted); font-size: .67rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

.site-header { position: absolute; z-index: 10; left: 0; top: 0; width: 100%; height: 5.5rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(1.25rem, 4vw, 4rem); color: #fff; transition: background .35s ease, color .35s ease; }
.site-header.is-scrolled { position: fixed; color: var(--ink); background: rgba(245,242,236,.94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--display); font-size: .72rem; font-weight: 500; letter-spacing: .26em; white-space: nowrap; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(1rem, 2vw, 2.2rem); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.desktop-nav a, .footer-links a { transition: opacity .2s ease; }
.desktop-nav a:hover, .footer-links a:hover { opacity: .55; }
.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 1.1rem; }
.header-contact { border-bottom: 1px solid currentColor; padding-bottom: .27rem; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.language-picker { position: relative; }
.language-toggle { display: flex; align-items: center; gap: .3rem; cursor: pointer; border: 0; padding: .25rem; background: transparent; font-size: .63rem; letter-spacing: .1em; }
.language-toggle::after { content: "⌄"; font-size: .8rem; }
.language-menu { position: absolute; right: 0; top: 2rem; width: 9.5rem; padding: .45rem; background: var(--paper); color: var(--ink); box-shadow: 0 12px 35px rgba(0,0,0,.13); }
.language-menu button { display: block; width: 100%; border: 0; padding: .7rem .75rem; background: transparent; text-align: left; cursor: pointer; font-size: .69rem; letter-spacing: .05em; }
.language-menu button:hover { background: var(--ivory); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 69svh; overflow: hidden; display: flex; align-items: flex-end; padding: clamp(2rem, 7vw, 7rem); color: white; background: #121b26; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,14,22,.36), rgba(8,14,22,.02) 35%, rgba(8,14,22,.58)); }
.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow { color: rgba(255,255,255,.65); }
.hero h1 { max-width: 9ch; margin: 0; font-family: var(--display); font-size: clamp(4rem, 10vw, 10.5rem); font-weight: 400; letter-spacing: -.075em; line-height: .83; }
.hero-brand { margin: 2rem 0 0; font-size: .73rem; letter-spacing: .24em; text-transform: uppercase; }
.scroll-cue { position: absolute; right: clamp(1.25rem, 4vw, 4rem); bottom: 2.6rem; width: 2.7rem; height: 2.7rem; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; }
.scroll-cue span { display: block; width: 1px; height: .9rem; background: white; }

.world, .selection, .about { padding: clamp(5.5rem, 12vw, 12rem) clamp(1.25rem, 5vw, 7rem); }
.world { padding-top: clamp(1rem, 2.8vw, 2.8rem); }
h2 { margin: 0; font-family: var(--display); font-size: clamp(2.2rem, 5vw, 5.3rem); font-weight: 400; letter-spacing: -.055em; line-height: .96; }
.section-intro > p:last-child, .about-copy > p:not(.eyebrow), .finance-copy > p:not(.eyebrow), .contact > p:not(.eyebrow) { max-width: 33rem; margin: 2rem 0 0; color: #4d4d4a; font-size: clamp(1rem, 1.3vw, 1.25rem); line-height: 1.55; }
.three-ways { display: grid; grid-template-columns: repeat(3, 1fr); min-height: min(47vw, 44rem); }
.way-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: min(47vw, 44rem); padding: 1.55rem; color: white; isolation: isolate; }
.way-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,13,16,.08), rgba(11,13,16,.75)); }
.way-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background-size: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.way-card:hover::before { transform: scale(1.05); }
.buy-card::before { background-image: url("assets/buy-yacht.png"); background-position: 42% center; }
.sell-card::before { background-image: url("assets/hero-yachts.png"); background-position: 56% center; filter: grayscale(.45) contrast(1.12) brightness(.74); }
.charter-card::before { background-image: url("assets/hero-yachts.png"); background-position: 95% center; filter: grayscale(.25) saturate(.55) brightness(.82); }
.way-index, .way-arrow { font-size: .67rem; letter-spacing: .14em; }
.way-arrow { align-self: flex-end; font-size: 1.1rem; }
.way-title { font-size: clamp(2rem, 4vw, 4.6rem); letter-spacing: -.05em; }

.selection { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1fr 2fr auto; gap: 2rem; align-items: end; margin-bottom: 3.5rem; }
.section-heading .eyebrow { margin: 0; }
.text-link { display: inline-block; border-bottom: 1px solid currentColor; padding-bottom: .35rem; font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; white-space: nowrap; }
.text-link span { margin-left: .7rem; }
.yacht-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1rem; }
.yacht-card { min-width: 0; }
.card-image { aspect-ratio: .88; background-image: url("assets/hero-yachts.png"); background-size: cover; }
.yacht-card-large .card-image { aspect-ratio: 1.17; }
.image-one { background-position: 58% center; }
.image-two { background-position: 3% center; filter: brightness(.78); }
.image-three { background-position: 98% center; filter: saturate(.75); }
.card-meta { display: flex; justify-content: space-between; padding: .85rem 0; color: var(--muted); font-size: .61rem; letter-spacing: .1em; text-transform: uppercase; }
.selection-note { max-width: 34rem; margin: 3.2rem 0 0 auto; color: var(--muted); font-size: .9rem; line-height: 1.5; }

.statement { display: grid; place-items: center; min-height: 50vh; padding: 3rem; text-align: center; }
.statement p { max-width: 18ch; margin: 0; font-family: var(--display); font-size: clamp(2.5rem, 5vw, 5.7rem); letter-spacing: -.065em; line-height: .95; }

.finance { display: grid; grid-template-columns: 1fr 1fr; min-height: 46rem; color: white; background: var(--navy); }
.finance-image { min-height: 30rem; background-image: linear-gradient(90deg, rgba(10,18,29,.08), rgba(10,18,29,.55)), url("assets/buy-yacht.png"); background-position: 40% center; background-size: cover; filter: grayscale(.6); }
.finance-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(3rem, 8vw, 8rem); }
.finance-copy .eyebrow { color: rgba(255,255,255,.58); }
.finance-copy > p:not(.eyebrow) { color: rgba(255,255,255,.75); }
.light-link { margin-top: 2.25rem; }

.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 10vw, 12rem); align-items: center; }
.about-copy .text-link { margin-top: 2.5rem; }
.portrait-placeholder { aspect-ratio: 1.25; display: grid; place-items: end start; padding: 1.5rem; color: white; background: linear-gradient(150deg, #8a8d8b, #202429 70%); position: relative; overflow: hidden; }
.portrait-placeholder::before { content: ""; position: absolute; width: 64%; height: 115%; left: 16%; bottom: -23%; border-radius: 50% 50% 0 0; background: linear-gradient(120deg, rgba(246,244,238,.8), rgba(45,47,49,.25)); filter: blur(1px); }
.portrait-placeholder span { position: relative; font-size: .65rem; letter-spacing: .15em; }

.contact { padding: clamp(5rem, 11vw, 11rem) clamp(1.25rem, 5vw, 7rem); color: white; background: var(--ink); }
.contact .eyebrow { color: rgba(255,255,255,.56); }
.contact > p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.contact-actions { display: flex; gap: .85rem; margin-top: 3rem; }
.contact-action { min-width: 13.5rem; display: flex; justify-content: space-between; border: 1px solid rgba(255,255,255,.42); padding: 1rem 1.15rem; font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; transition: background .25s, color .25s; }
.contact-action:hover, .contact-action.primary { color: var(--ink); background: var(--ivory); }
.contact-setup { margin-top: 1.2rem !important; color: rgba(255,255,255,.38) !important; font-size: .75rem !important; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; padding: 2rem clamp(1.25rem, 5vw, 7rem); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: flex; gap: 1.5rem; }
.site-footer p { justify-self: end; margin: 0; color: var(--muted); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto 1fr; height: 4.6rem; }
  .desktop-nav, .header-contact { display: none; }
  .menu-toggle { display: grid; gap: 5px; width: 28px; border: 0; padding: .4rem 0; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 20px; height: 1px; background: currentColor; transition: transform .25s; }
  .menu-toggle.is-open span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle.is-open span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .mobile-menu { position: fixed; inset: 4.6rem 0 0; z-index: 9; padding: 2rem 1.4rem; color: var(--ink); background: var(--ivory); }
  .mobile-menu nav { display: grid; gap: 1.6rem; font-size: clamp(1.9rem, 8vw, 3.3rem); letter-spacing: -.06em; }
  .hero { min-height: 68svh; padding: 1.4rem; }
  .hero h1 { font-size: clamp(3.8rem, 17vw, 6.4rem); }
  .scroll-cue { right: 1.4rem; bottom: 1.5rem; }
  .world, .selection, .about { padding: 5.5rem 1.4rem; }
  .world { padding-top: .7rem; }
  .three-ways { grid-template-columns: 1fr; min-height: 0; }
  .way-card { min-height: 29rem; }
  .section-heading { display: block; }
  .section-heading h2 { margin-top: 1.25rem; }
  .section-heading .text-link { margin-top: 1.8rem; }
  .yacht-grid { grid-template-columns: 1fr; }
  .yacht-card-large .card-image, .card-image { aspect-ratio: 1.35; }
  .finance { grid-template-columns: 1fr; }
  .finance-image { min-height: 22rem; }
  .finance-copy { min-height: 31rem; padding: 4rem 1.4rem; }
  .about { grid-template-columns: 1fr; gap: 3rem; }
  .contact { padding: 5rem 1.4rem; }
  .contact-actions { flex-direction: column; }
  .contact-action { width: 100%; }
  .site-footer { grid-template-columns: 1fr; gap: 1.4rem; padding: 2.4rem 1.4rem; }
  .site-footer p { justify-self: start; }
}

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