/* Yacht charter landing page. Mobile first. Depends on site.css tokens and the shared scroller in fleet.css. */
body.cc.yc main p { max-width: 62ch; }
.yc-wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
.yc-title { margin: 0; font: 500 clamp(36px, 9.6vw, 80px)/1.04 var(--font-serif); letter-spacing: -.015em; text-wrap: balance; color: var(--sea-900); }
.yc-title--md { font-size: clamp(30px, 7.4vw, 52px); }
body.cc .yc-title em, body.cc .yc-why h3 em, body.cc .yc-card h3 em { font-style: italic; color: var(--teal-700); }
.yc-lede { margin: 0 0 1.1em; font: 400 clamp(22px, 5.6vw, 28px)/1.38 var(--font-serif); color: var(--sea-900); }
.yc-note { margin: 0; font-size: 17px; color: #4a5c62; }
.yc-rule { position: relative; height: 9px; margin: 26px 0 30px; }
.yc-rule::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 1.5px dashed rgba(185, 138, 71, .6); transform-origin: left; }
.yc-rule::after { content: ""; position: absolute; left: 0; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--sun-deep); }
.cc-js [data-reveal] .yc-rule::before { transform: scaleX(0); transition: transform 1.2s var(--ease) .2s; }
.cc-js [data-reveal].is-in .yc-rule::before { transform: none; }

/* Hero */
.yc-hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: max(600px, 86svh); color: var(--white); background: var(--sea-900); overflow: hidden; isolation: isolate; }
.yc-hero__pic { position: absolute; inset: 0; z-index: -2; display: block; }
.yc-hero__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.yc-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 26, 32, .5) 0%, rgba(6, 26, 32, 0) 30%, rgba(6, 26, 32, .15) 52%, rgba(6, 26, 32, .86) 100%), linear-gradient(90deg, rgba(6, 26, 32, .4) 0%, rgba(6, 26, 32, 0) 60%); }
.yc-hero__in { width: 100%; max-width: var(--container); margin: 0 auto; padding: 120px var(--gutter) 44px; }
body.cc.yc .yc-hero__lede { display: none; }
body.cc .yc-hero h1 { margin: 0; color: var(--white); }
.yc-hero__brand { display: block; max-width: 9.6ch; font: 500 clamp(52px, 13.6vw, 96px)/.96 var(--font-serif); letter-spacing: -.02em; text-wrap: balance; }
.yc-hero__sub { display: block; margin-top: 20px; font: 500 clamp(17px, 4.6vw, 24px)/1.3 var(--font-sans); opacity: .95; }
body.cc.yc .yc-hero__lede { max-width: 42ch; margin: 18px 0 0; font-size: clamp(16px, 4.2vw, 19px); opacity: .88; }
.yc-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
body.cc .yc-hero__cta .cc-btn { flex: 1 1 auto; justify-content: center; padding: 16px 20px; font-size: 15px; }
.yc-factsbar { background: var(--sea-950); color: var(--white); }
.yc-facts { display: grid; grid-template-columns: repeat(2, 1fr); max-width: var(--container); margin: 0 auto; padding: 4px var(--gutter) 6px; list-style: none; }
.yc-facts li { padding: 18px 0 20px; }
.yc-facts li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
.yc-facts b { display: block; margin-bottom: 4px; font: 600 12px/1.3 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; }
.yc-facts span { display: block; font: italic 500 clamp(19px, 4.8vw, 24px)/1.2 var(--font-serif); color: var(--sun); }

/* Intro */
.yc-intro { padding: var(--section, clamp(64px, 12vw, 140px)) 0; }
.yc-intro__grid { display: grid; gap: 40px; }
.yc-intro__text p:not(.yc-lede) { margin: 0 0 1.1em; font-size: 17px; color: #3d4f55; }
.yc-intro__text p a, .yc-intro__text p strong { color: inherit; }
.yc-intro__fig { margin: 0 calc(var(--gutter) * -1); }
.yc-intro__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.yc-intro__fig figcaption { padding: 12px var(--gutter) 0; font-size: 14px; color: var(--muted); }

/* Why crewed */
.yc-why { padding: clamp(64px, 12vw, 140px) 0; background: var(--sand-50); }
.yc-why__head { max-width: 760px; margin-bottom: clamp(36px, 6vw, 72px); }
.yc-why__list { display: grid; gap: 0; }
.yc-why article { padding: 28px 0 32px; border-top: 1px solid var(--sand-200); }
.yc-why article:last-child { border-bottom: 1px solid var(--sand-200); }
body.cc .yc-why h3 { margin-bottom: 12px; font-size: clamp(30px, 7.4vw, 44px); line-height: 1.06; }
.yc-why article p { margin: 0; font-size: 16.5px; color: #3d4f55; }

/* Fleet */
.yc-fleet { padding: clamp(64px, 12vw, 140px) 0; scroll-margin-top: 70px; }
.yc-fleet__head { max-width: 1000px; }
.yc-cols { display: grid; gap: 0; }
.yc-cols p { margin: 0 0 1em; font-size: 17px; color: #3d4f55; }
.yc-fleet__sub { margin: clamp(48px, 8vw, 100px) 0 clamp(28px, 5vw, 48px); }
.yc-fleet__sub .yc-note { margin-top: 14px; }
.yc-cards { display: grid; gap: 32px; }
.yc-card { overflow: hidden; border-radius: 18px; background: var(--white); box-shadow: 0 1px 0 var(--sand-200), 0 36px 60px -40px rgba(6, 26, 32, .45); }
.yc-card__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sea-900); }
.yc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.yc-card:hover .yc-card__img img { transform: scale(1.04); }
.yc-badge { position: absolute; left: 18px; top: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--sea-900); font: 600 11.5px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; }
.yc-card__body { padding: 26px 22px 28px; }
body.cc .yc-card h3 { font-size: clamp(42px, 11vw, 60px); line-height: 1; }
.yc-card__year { margin: 8px 0 18px; font: italic 500 20px/1.2 var(--font-serif); color: var(--teal-700); }
body.cc.yc .yc-card__desc { margin: 0 0 24px; font-size: 16px; color: #3d4f55; }
.yc-specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 26px; border-top: 1px solid var(--sand-200); }
.yc-specs > div { padding: 14px 0 14px 14px; border-bottom: 1px solid var(--sand-200); border-left: 1px solid var(--sand-200); }
.yc-specs > div:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.yc-specs dt { font: 600 11px/1.3 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.yc-specs dd { margin: 4px 0 0; font: 500 24px/1.1 var(--font-serif); color: var(--sea-900); font-variant-numeric: lining-nums; }
.yc-card__price { display: grid; gap: 18px; }
.yc-price { display: block; font: 500 clamp(28px, 7.4vw, 34px)/1.1 var(--font-serif); color: var(--sea-900); font-variant-numeric: lining-nums; }
.yc-per { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
body.cc .yc-card__price .cc-btn { justify-content: center; width: 100%; }

/* FAQ */
.yc-faq { padding: clamp(64px, 12vw, 140px) 0; background: var(--sand-50); }
.yc-faq__grid { display: grid; gap: 36px; }
.yc-faq__head .yc-note { margin-top: 0; }
.yc-q { border-bottom: 1px solid var(--sand-200); }
.yc-q:first-child { border-top: 1px solid var(--sand-200); }
.yc-q summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; cursor: pointer; }
.yc-q summary::-webkit-details-marker { display: none; }
body.cc .yc-q summary h3 { margin: 0; font: 500 clamp(22px, 5.6vw, 28px)/1.2 var(--font-serif); color: var(--sea-900); }
.yc-q summary:hover h3 { color: var(--teal-700); }
.yc-q__icon { position: relative; flex: none; width: 18px; height: 18px; color: var(--sun-deep); }
.yc-q__icon::before, .yc-q__icon::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.yc-q__icon::after { transform: rotate(90deg); }
.yc-q[open] .yc-q__icon::after { transform: rotate(0); }
.yc-q__a { padding: 0 0 26px; }
.yc-q__a p { margin: 0; font-size: 16.5px; color: #3d4f55; }
.yc-q__a p a, .yc-q__a p strong { color: inherit; }

/* Quotes */
.yc-quotes { padding: clamp(64px, 12vw, 140px) 0; background: var(--sea-900); color: rgba(255, 255, 255, .85); }
.yc-quotes__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
body.cc .yc-quotes .yc-title { color: var(--white); }
body.cc .yc-quotes .yc-title em { color: var(--sun); }
.yc-quotes .yc-lede { margin: 18px 0 0; color: rgba(255, 255, 255, .78); font-size: clamp(20px, 5vw, 24px); }
.yc-quote { margin: 0; padding: 30px 26px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; }
.yc-quote::before { content: "\201C"; display: block; height: 40px; font: 500 72px/1 var(--font-serif); color: var(--sun); }
.yc-quote blockquote { margin: 0 0 24px; font: italic 400 clamp(19px, 4.8vw, 22px)/1.5 var(--font-serif); color: rgba(255, 255, 255, .92); }
.yc-quote figcaption b { margin-right: 10px; color: var(--white); }
.yc-quote figcaption span { color: var(--sun); }
.yc-quotes .cc-scroller__btn { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.yc-quotes .cc-scroller__btn:hover { background: var(--white); color: var(--sea-900); }

/* Excursion and destination rails */
.yc-places { padding: clamp(64px, 12vw, 130px) 0; }
.yc-places:nth-of-type(odd) { background: var(--sand-50); }
.yc-places__head { max-width: 760px; margin-bottom: clamp(28px, 5vw, 52px); }
.yc-places__head .yc-note { margin-top: 0; }
.yc-rail .cc-scroller__track { gap: 16px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scroll-padding-left: var(--gutter); }
.yc-rail .cc-scroller__track > * { flex: 0 0 80%; }
.yc-rail .cc-scroller__btns { display: none; }
body.cc a.yc-place { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--white); color: var(--sea-900); box-shadow: 0 1px 0 var(--sand-200); }
.yc-place__img { display: block; aspect-ratio: 5 / 4; overflow: hidden; }
.yc-place__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.yc-place:hover .yc-place__img img { transform: scale(1.05); }
.yc-place__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 22px 24px; }
body.cc .yc-place h3 { font-size: clamp(28px, 7vw, 34px); line-height: 1.08; }
.yc-place__desc { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.6; color: #4a5c62; }
.yc-place__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 15px; color: var(--teal-700); }
.yc-arrow { transition: transform .3s var(--ease); }
.yc-place:hover .yc-arrow { transform: translateX(5px); }
.yc-more { margin: clamp(32px, 5vw, 56px) 0 0; text-align: center; }
body.cc.yc main .yc-more { max-width: none; }

/* Closing call to action */
.yc-cta { position: relative; display: grid; align-items: start; min-height: 0; color: var(--white); background: var(--sea-900); overflow: hidden; isolation: isolate; }
.yc-cta__pic { position: absolute; inset: 0; z-index: -2; display: block; }
.yc-cta__pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.yc-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 26, 32, .86) 0%, rgba(6, 26, 32, .55) 50%, rgba(6, 26, 32, 0) 78%); }
.yc-cta__in { width: 100%; padding-top: 84px; padding-bottom: 360px; }
body.cc .yc-cta .yc-title { max-width: 14ch; color: var(--white); }
body.cc .yc-cta .yc-title em { color: var(--sun); }
.yc-cta .yc-lede { margin-top: 22px; color: rgba(255, 255, 255, .88); max-width: 30ch; }

@media (prefers-reduced-motion: no-preference) {
  .yc-hero__img { animation: yc-zoom 2.6s var(--ease) both; }
  .yc-hero__brand, .yc-hero__sub, .yc-hero__lede, .yc-hero__cta { animation: yc-rise 1s var(--ease) both; }
  .yc-hero__sub { animation-delay: .12s; } .yc-hero__lede { animation-delay: .24s; } .yc-hero__cta { animation-delay: .36s; }
}
@keyframes yc-zoom { from { transform: scale(1.1); } to { transform: none; } }
@keyframes yc-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (min-width: 640px) {
  .yc-hero { justify-content: center; }
  body.cc.yc .yc-hero__lede { display: block; }
  .yc-cols { grid-template-columns: 1fr 1fr; gap: 0 48px; }
  body.cc .yc-hero__cta .cc-btn { flex: 0 0 auto; padding: 17px 30px; font-size: 15.5px; }
  .yc-rail .cc-scroller__track > * { flex-basis: calc(50% - 8px); }
  .yc-card__body { padding: 32px 32px 34px; }
  .yc-card__price { grid-template-columns: 1fr auto; align-items: center; }
  body.cc .yc-card__price .cc-btn { width: auto; }
}
@media (min-width: 768px) {
  .yc-facts { grid-template-columns: repeat(4, 1fr); }
  .yc-facts li { padding: 26px 24px 28px 0; }
  .yc-facts li + li { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .16); }
  .yc-facts li:nth-child(n+3) { border-top: 0; }
  .yc-intro__fig { margin: 0; }
  .yc-intro__fig img { border-radius: 18px; }
  .yc-intro__fig figcaption { padding: 12px 0 0; }
  .yc-why__list { grid-template-columns: 1fr 1fr; column-gap: 72px; }
  .yc-why article:nth-last-child(2) { border-bottom: 1px solid var(--sand-200); }
  .yc-rail .cc-scroller__btns { display: flex; }
  .yc-rail .cc-scroller__track { margin: 0; padding-left: 0; padding-right: 0; scroll-padding-left: 0; }
  .yc-cta { align-items: center; min-height: min(78vh, 720px); }
  .yc-cta::before { background: linear-gradient(90deg, rgba(6, 26, 32, .84) 0%, rgba(6, 26, 32, .45) 55%, rgba(6, 26, 32, .08) 100%); }
  .yc-cta__in { padding-top: 110px; padding-bottom: 110px; }
}
@media (min-width: 960px) {
  .yc-hero__in { padding-bottom: 120px; }
  .yc-intro__grid { grid-template-columns: 1.05fr 1fr; gap: 88px; align-items: start; }
  .yc-intro__fig { position: sticky; top: 100px; }
  .yc-cards { grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
  .yc-card__body { padding: 34px 34px 36px; }
  .yc-card__price { grid-template-columns: 1fr; }
  body.cc .yc-card__price .cc-btn { width: 100%; }
  .yc-faq__grid { grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; }
  .yc-faq__head { position: sticky; top: 110px; }
  .yc-rail .cc-scroller__track > * { flex-basis: calc(33.333% - 11px); }
  .yc-quotes .cc-scroller__track > * { flex-basis: calc(33.333% - 11px); }
}
