:root {
  --black: #090908;
  --ink: #11110f;
  --ivory: #eeeae1;
  --paper: #dfdad0;
  --stone: #8c867e;
  --gold: #bca779;
  --violet: #6c5ce7;
  --line: rgba(255, 255, 255, .16);
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --display: "Newsreader", Georgia, serif;
  --pad: clamp(22px, 4.5vw, 76px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--gold) var(--black); }
body { margin: 0; color: var(--ivory); background: var(--black); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.skip-link { position: fixed; z-index: 1000; top: 0; left: 20px; padding: 12px 18px; color: var(--black); background: var(--ivory); transform: translateY(-120%); }
.skip-link:focus { transform: translateY(0); }

.collection-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 20px var(--pad);
  border-bottom: 1px solid var(--line);
  transition: padding .35s ease, background .35s ease;
}

.collection-header.is-scrolled { padding-top: 13px; padding-bottom: 13px; background: rgba(9, 9, 8, .92); backdrop-filter: blur(18px); }

.wordmark { display: grid; justify-self: start; width: max-content; font-size: 14px; font-weight: 500; line-height: .86; letter-spacing: -.045em; text-transform: uppercase; }
.wordmark span:last-child { margin-left: 16px; }
.back-home { justify-self: center; color: rgba(255, 255, 255, .55); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.back-home span { margin-right: 9px; font-size: 15px; }

.collection-nav { display: flex; align-items: center; justify-self: end; gap: clamp(18px, 2vw, 34px); }
.collection-nav a { position: relative; font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.collection-nav a.is-active { color: var(--gold); }
.collection-nav .nav-cta { padding: 11px 14px; color: var(--black); background: var(--ivory); }
.collection-nav .nav-cta:hover { color: white; background: var(--violet); }
.collection-menu-toggle { display: none; }

.collection-hero { position: relative; display: flex; align-items: flex-end; min-height: min(88svh, 960px); overflow: hidden; background: #222; }
.collection-hero > img, .hero-shade, .hero-grain { position: absolute; inset: 0; width: 100%; height: 100%; }
.collection-hero > img { object-fit: cover; animation: heroIn 1.35s cubic-bezier(.2, .7, .2, 1) both; }
.jets-page .collection-hero > img { object-position: 57% center; }
.property-page .collection-hero > img { object-position: 53% center; }
.yachts-page .collection-hero > img { object-position: 46% center; }
.hero-shade { background: linear-gradient(90deg, rgba(6, 6, 5, .76), rgba(6, 6, 5, .2) 62%, rgba(6, 6, 5, .05)), linear-gradient(0deg, rgba(6, 6, 5, .8), transparent 58%), linear-gradient(180deg, rgba(6, 6, 5, .45), transparent 28%); }
.hero-grain { opacity: .07; 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='.82' numOctaves='4' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }

.collection-hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr .65fr; align-items: end; gap: 50px; width: 100%; padding: 160px var(--pad) 62px; }
.collection-eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.collection-eyebrow span { width: 38px; height: 1px; background: var(--gold); }
.collection-hero-content > div:first-child .collection-eyebrow { margin-bottom: clamp(42px, 3.5vw, 58px); }
.collection-hero h1 { margin: 0; font-family: var(--display); font-size: clamp(90px, 12vw, 196px); font-weight: 300; line-height: .68; letter-spacing: -.065em; }
.collection-hero h1 em { display: block; margin-left: clamp(50px, 10vw, 165px); color: var(--paper); font-weight: 300; }
.collection-hero-copy { padding-bottom: 8px; }
.collection-hero-copy > p { max-width: 420px; margin: 0; color: rgba(255, 255, 255, .7); font-family: var(--display); font-size: clamp(18px, 1.7vw, 24px); line-height: 1.5; }
.collection-hero-stats { display: flex; gap: 42px; margin-top: 35px; padding-top: 21px; border-top: 1px solid rgba(255, 255, 255, .3); }
.collection-hero-stats span { display: grid; gap: 5px; color: rgba(255, 255, 255, .46); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.collection-hero-stats strong { color: var(--ivory); font-family: var(--display); font-size: 20px; font-weight: 300; letter-spacing: 0; text-transform: none; }

.gallery { padding: clamp(95px, 10vw, 165px) var(--pad); color: var(--black); background: var(--paper); }
.gallery-heading { display: grid; grid-template-columns: .55fr 1.2fr .65fr; align-items: end; gap: clamp(35px, 6vw, 110px); margin-bottom: clamp(65px, 8vw, 120px); }
.section-index { display: flex; align-items: center; gap: 14px; color: #767068; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.section-index b { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-weight: 400; }
.section-index span { white-space: nowrap; }
.gallery-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(59px, 7vw, 114px); font-weight: 300; line-height: .88; letter-spacing: -.055em; }
.gallery-heading h2 em { color: #837b71; font-weight: 300; }
.gallery-heading > p { max-width: 320px; margin: 0; color: #625d56; font-size: 13px; line-height: 1.72; }

.template-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 65px) clamp(18px, 2.5vw, 40px); }
.template-card { display: block; color: var(--black); }
.template-cover { position: relative; height: min(46vw, 680px); min-height: 450px; overflow: hidden; background: #333; }
.template-cover > img { height: 100%; object-fit: cover; transition: transform 1.15s cubic-bezier(.2, .7, .2, 1), filter .5s ease; }
.template-card:hover .template-cover > img { transform: scale(1.028); }
.template-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 6, 5, .32), transparent 40%, rgba(6, 6, 5, .68)); }
.template-frame { position: absolute; inset: 18px; border: 1px solid rgba(255, 255, 255, .36); pointer-events: none; }
.template-topline { position: absolute; top: 34px; right: 38px; left: 38px; display: flex; justify-content: space-between; color: rgba(255, 255, 255, .78); font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.template-cover-title { position: absolute; right: 38px; bottom: 35px; left: 38px; display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.template-cover-title strong { color: white; font-family: var(--display); font-size: clamp(50px, 5.5vw, 88px); font-weight: 300; line-height: .8; letter-spacing: -.05em; }
.template-cover-title i { display: grid; flex: 0 0 auto; width: 58px; height: 58px; place-items: center; color: var(--black); border-radius: 50%; background: var(--ivory); font-family: var(--display); font-size: 23px; font-style: normal; transition: color .3s ease, background .3s ease, transform .3s ease; }
.template-card:hover .template-cover-title i { color: white; background: var(--violet); transform: rotate(6deg); }
.template-info { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding-top: 20px; }
.template-info > div { display: grid; gap: 7px; }
.template-info h3 { margin: 0; font-family: var(--display); font-size: clamp(24px, 2.4vw, 36px); font-weight: 300; }
.template-info p { margin: 0; color: #777068; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.template-info > span { align-self: center; padding-bottom: 4px; border-bottom: 1px solid var(--line-dark, rgba(0, 0, 0, .25)); font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

.template-card.tone-light .template-shade { background: linear-gradient(180deg, rgba(250, 247, 239, .1), transparent 50%, rgba(9, 9, 8, .5)); }
.template-card.tone-noir .template-cover > img { filter: saturate(.55) contrast(1.08); }
.template-card.tone-gold .template-cover > img { filter: sepia(.12) saturate(.8); }

.collection-cta { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 50px; padding: clamp(95px, 11vw, 175px) var(--pad); background: var(--black); }
.collection-cta .collection-eyebrow { grid-column: 1 / -1; }
.collection-cta h2 { max-width: 1040px; margin: 0; font-family: var(--display); font-size: clamp(58px, 7vw, 116px); font-weight: 300; line-height: .85; letter-spacing: -.055em; }
.collection-cta h2 em { color: var(--paper); font-weight: 300; }
.cta-actions { display: grid; gap: 20px; justify-items: end; }
.primary-link { display: flex; align-items: center; justify-content: space-between; gap: 55px; min-width: 255px; padding: 18px 20px; color: var(--black); background: var(--ivory); font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.primary-link:hover { color: white; background: var(--violet); }
.next-collection { color: rgba(255, 255, 255, .55); font-family: var(--display); font-size: 17px; }

.collection-footer { display: flex; justify-content: space-between; gap: 40px; padding: 28px var(--pad); color: rgba(255, 255, 255, .36); border-top: 1px solid var(--line); background: var(--black); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }

.reveal-ready .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-ready .reveal-image > img { opacity: 0; transform: scale(1.04); transition: opacity .8s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.reveal-ready .reveal-image.is-visible > img { opacity: 1; transform: scale(1); }
.reveal-ready .template-card.is-visible:hover .template-cover > img { transform: scale(1.028); }

@keyframes heroIn { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 1050px) {
  .collection-header { grid-template-columns: 1fr auto 1fr; }
  .collection-nav { position: fixed; z-index: -1; top: 0; right: 0; display: flex; align-items: flex-start; flex-direction: column; justify-content: center; width: min(500px, 100vw); height: 100svh; padding: 110px 45px 50px; background: var(--black); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
  .collection-nav.is-open { z-index: 90; opacity: 1; visibility: visible; }
  .collection-nav a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 34px; font-weight: 300; letter-spacing: -.02em; text-transform: none; }
  .collection-nav .nav-cta { margin-top: 18px; padding: 15px; font-family: var(--sans); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
  .collection-menu-toggle { position: relative; z-index: 100; display: grid; justify-self: end; gap: 7px; width: 38px; padding: 9px 0; border: 0; background: transparent; cursor: pointer; }
  .collection-menu-toggle span { height: 1px; background: currentColor; transition: transform .3s ease; }
  .collection-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .collection-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .collection-hero-content { grid-template-columns: 1.2fr .8fr; }
  .gallery-heading { grid-template-columns: 1fr 1.5fr; }
  .gallery-heading > p { grid-column: 2; }
  .template-cover { min-height: 520px; }
}

@media (max-width: 720px) {
  :root { --pad: 20px; }
  .collection-header { padding-top: 18px; padding-bottom: 18px; }
  .back-home { font-size: 0; }
  .back-home span { margin: 0; font-size: 19px; }
  .collection-hero { min-height: 850px; }
  .collection-hero-content { grid-template-columns: 1fr; gap: 45px; padding-bottom: 42px; }
  .collection-hero h1 { font-size: clamp(80px, 25vw, 112px); }
  .collection-hero h1 em { margin-left: 34px; }
  .collection-hero-content > div:first-child .collection-eyebrow { margin-bottom: 36px; }
  .collection-hero-copy > p { font-size: 18px; }
  .collection-hero-stats { gap: 28px; }
  .gallery { padding-top: 90px; padding-bottom: 90px; }
  .gallery-heading { grid-template-columns: 1fr; gap: 42px; }
  .gallery-heading > p { grid-column: 1; }
  .gallery-heading h2 { font-size: 64px; }
  .template-grid { grid-template-columns: 1fr; gap: 60px; }
  .template-cover { height: 72vh; min-height: 520px; }
  .template-topline { top: 28px; right: 29px; left: 29px; }
  .template-cover-title { right: 29px; bottom: 28px; left: 29px; }
  .template-cover-title strong { font-size: 58px; }
  .template-cover-title i { width: 52px; height: 52px; }
  .template-info { grid-template-columns: 1fr; }
  .template-info > span { width: max-content; }
  .collection-cta { grid-template-columns: 1fr; }
  .collection-cta h2 { font-size: 66px; }
  .cta-actions { justify-items: start; }
  .primary-link { width: 100%; }
  .collection-footer { flex-direction: column; gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-ready .reveal, .reveal-ready .reveal-image > img { opacity: 1; transform: none; }
}
