/* ============ OBLUE 55 — styles ============ */
:root {
  --ink: #0a1420;
  --ink-2: #0e1c2c;
  --black: #060b12;
  --paper: #f7f6f2;
  --paper-2: #ffffff;
  --text: #1c2733;
  --text-dim: #5b6a7a;
  --text-inv: #e8edf2;
  --text-inv-dim: #93a3b4;
  --accent: #2e8f86;
  --accent-bright: #46b3a8;
  --hairline: rgba(20, 40, 60, .12);
  --hairline-inv: rgba(255, 255, 255, .12);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
}

/*---- Bruce presents for the company ----*/

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

h1, h2, h3 { font-weight: 500; line-height: 1.12; }
h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  letter-spacing: .01em;
  margin-bottom: .6em;
}
h2 em { font-style: italic; color: var(--accent); }
.section--dark h2 em, .section--black h2 em { color: var(--accent-bright); }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1em;
  font-weight: 600;
}
.section--dark .eyebrow, .section--black .eyebrow { color: var(--accent-bright); }

.lead { font-size: 1.13rem; color: inherit; max-width: 46em; margin-bottom: 1em; }

.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--dark { background: var(--ink-2); color: var(--text-inv); }
.section--black { background: var(--black); color: var(--text-inv); }
.section--dark p, .section--black p { color: var(--text-inv-dim); }
.section--dark strong, .section--black strong { color: var(--text-inv); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all .3s ease;
}
.btn--solid { background: var(--paper); color: var(--ink); }
.btn--solid:hover { background: var(--accent-bright); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn--lg { padding: 18px 44px; font-size: .92rem; letter-spacing: .16em; text-transform: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 48px);
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
.nav.is-scrolled {
  background: rgba(6, 11, 18, .92);
  backdrop-filter: blur(12px);
  padding-top: 12px; padding-bottom: 12px;
  box-shadow: 0 1px 0 var(--hairline-inv);
}
/* backdrop-filter makes .nav a containing block for its fixed descendants,
   which would trap the fullscreen burger overlay inside the nav bar — drop it
   while the menu is open so .nav__links can cover the viewport */
.nav:has(.nav__links.is-open) { backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav__logo { height: 26px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav__links a {
  color: rgba(255,255,255,.86);
  font-size: .8rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  transition: color .25s;
}
.nav__links a:hover { color: #fff; }
.nav__cta {
  border: 1px solid rgba(255,255,255,.5);
  padding: 9px 22px;
  transition: background .25s, border-color .25s;
}
.nav__cta:hover { background: var(--accent); border-color: var(--accent); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* ---------- language switcher ---------- */
.lang { position: relative; }
.lang__btn {
  background: none; border: 1px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.86); cursor: pointer;
  font-family: var(--sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 8px 14px; min-width: 58px;
  transition: border-color .25s, color .25s;
}
.lang__btn::after { content: "▾"; margin-left: 6px; font-size: .6rem; opacity: .7; }
.lang__btn:hover { border-color: #fff; color: #fff; }
.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 110;
  list-style: none; min-width: 140px;
  background: rgba(6, 11, 18, .97);
  border: 1px solid var(--hairline-inv);
  backdrop-filter: blur(12px);
  display: none;
}
.lang__menu.is-open { display: block; }
.lang__menu li {
  cursor: pointer;
  color: rgba(255,255,255,.78);
  font-size: .82rem; letter-spacing: .06em;
  transition: background .2s, color .2s;
}
.lang__menu li a { display: block; padding: 11px 18px; }
.lang__menu li:hover { background: rgba(255,255,255,.08); color: #fff; }
.lang__menu li.is-current { color: var(--accent-bright); }

/* ---------- Chinese typography ---------- */
html[lang="zh-CN"] {
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Manrope", sans-serif;
}
html[lang="zh-CN"] em, html[lang="zh-CN"] blockquote, html[lang="zh-CN"] .realnote { font-style: normal; }
/* Noto Serif SC ships two weights only: Light for display, SemiBold via existing 600 rules */
html[lang="zh-CN"] h2, html[lang="zh-CN"] .hero__title,
html[lang="zh-CN"] .hstat b, html[lang="zh-CN"] .cstat b,
html[lang="zh-CN"] .band blockquote { font-weight: 300; }
html[lang="zh-CN"] h2 { letter-spacing: .06em; }
html[lang="zh-CN"] .eyebrow, html[lang="zh-CN"] .nav__links a,
html[lang="zh-CN"] .hero__sub, html[lang="zh-CN"] .hstat span,
html[lang="zh-CN"] .btn, html[lang="zh-CN"] .tab { letter-spacing: .18em; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(6,11,18,.55) 0%, rgba(6,11,18,.18) 40%, rgba(6,11,18,.72) 100%),
    radial-gradient(120% 90% at 50% 108%, rgba(6,11,18,.55), transparent 60%);
}
.hero__content { position: relative; text-align: center; color: #fff; padding: 120px 20px 40px; }
.hero__kicker { font-size: .82rem; letter-spacing: .42em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 1.6em; }
.hero__title {
  font-family: var(--serif);
  font-size: clamp(4.6rem, 15vw, 11.5rem);
  font-weight: 500;
  letter-spacing: .04em;
  line-height: .9;
}
.hero__num { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.9); }
.hero__sub {
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  letter-spacing: .38em; text-transform: uppercase;
  color: rgba(255,255,255,.88);
  margin-top: 1.2em;
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 3em; }
.hero__stats {
  position: relative;
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: clamp(24px, 5vw, 72px);
  padding: 26px 20px 88px;
  color: #fff;
}
.hstat { text-align: center; }
.hstat b { display: block; font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; }
.hstat span { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); }
.hero__scroll span {
  display: block; width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, #fff);
  animation: drip 2s ease-in-out infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- grid2 (the yacht) ---------- */
.grid2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.grid2__text h2 { margin-bottom: .7em; }
.grid2__text p { margin-bottom: 1.2em; color: var(--text-dim); }
.grid2__text .lead { color: var(--text); }
.grid2__media img { box-shadow: 0 30px 80px -20px rgba(10, 30, 50, .45); }
.grid2__media figcaption, .panorama figcaption, .deck__note {
  font-size: .8rem; letter-spacing: .06em; color: var(--text-dim); margin-top: 14px;
}
.ticks { list-style: none; margin-top: 1.6em; }
.ticks li { padding: 10px 0 10px 30px; border-top: 1px solid var(--hairline); position: relative; font-weight: 500; }
.ticks li:last-child { border-bottom: 1px solid var(--hairline); }
.ticks li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* ---------- full-bleed bands ---------- */
.band { position: relative; overflow: hidden; }
.band img { width: 100%; height: clamp(420px, 62vh, 640px); object-fit: cover; }
.band.js-parallax img { will-change: transform; }
.band__inner {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  background: linear-gradient(to top, rgba(6,11,18,.68), transparent 55%);
  padding: clamp(28px, 5vw, 64px);
}
.band blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  color: #fff; line-height: 1.25;
}
.band--night .band__inner { align-items: center; justify-content: flex-end; text-align: right; background: linear-gradient(to left, rgba(6,11,18,.55), transparent 60%); }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 2em; }
/* the render is pre-composited onto the section colour, so it needs no frame —
   top edge lines up with the first .feature hairline */
.features__media { background: none; padding: 0; box-shadow: none; }
.feature { padding: 26px 0; border-top: 1px solid var(--hairline-inv); }
.feature:last-child { border-bottom: 1px solid var(--hairline-inv); }
.feature__index { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--accent-bright); }
.feature h3 { font-size: 1.22rem; margin: 6px 0 8px; color: var(--text-inv); font-weight: 600; }
.feature p { font-size: .95rem; }

/* ---------- deck tabs ---------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 1.8em 0 2em; }
.tab {
  background: none; border: 1px solid var(--hairline-inv);
  color: var(--text-inv-dim);
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 12px 26px; cursor: pointer;
  transition: all .3s;
}
.tab:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.tab.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.deck img { width: 100%; transition: opacity .35s ease; }
.deck img.is-fading { opacity: 0; }
.deck__note { color: var(--text-inv-dim); }

/* ---------- interiors ---------- */
.interiors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin-top: 2.6em; }
.card { position: relative; overflow: hidden; }
.card img { aspect-ratio: 8 / 5; object-fit: cover; width: 100%; transition: transform .8s ease; }
.card:hover img { transform: scale(1.045); }
.card figcaption { padding: 16px 2px 0; }
.card figcaption b { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: .02em; }
.card figcaption span { font-size: .85rem; color: var(--text-dim); }
.panorama { margin-top: clamp(40px, 6vw, 72px); }
.panorama img { width: 100%; }
.panorama figcaption { max-width: 1200px; margin-left: auto; margin-right: auto; padding: 14px clamp(20px, 4vw, 48px) 0; }
.realnote {
  margin-top: clamp(48px, 7vw, 88px);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--text);
}
.realgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: 1.6em; }
.realgrid .card img { aspect-ratio: 1 / 1; }
.realgrid .card figcaption span { font-size: .8rem; letter-spacing: .06em; color: var(--text-dim); }

/* ---------- carbon fiber ---------- */
.grid2--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.cstats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px); margin-top: clamp(48px, 6vw, 80px);
}
.cstat { border-top: 1px solid var(--hairline); padding-top: 18px; }
.cstat b {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.1rem, 3.6vw, 3rem); line-height: 1;
  color: var(--accent); margin-bottom: 10px;
}
.cstat span { font-size: .88rem; color: var(--text-dim); }

/* ---------- swatches ---------- */
.swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-top: 2.4em; }
/* staggered entrance, left to right */
.swatches .swatch:nth-child(2) { transition-delay: .08s; }
.swatches .swatch:nth-child(3) { transition-delay: .16s; }
.swatches .swatch:nth-child(4) { transition-delay: .24s; }
.swatches .swatch:nth-child(5) { transition-delay: .32s; }
.swatches .swatch:nth-child(6) { transition-delay: .40s; }
.swatch { overflow: hidden; }
.swatch img { transition: transform .6s ease; }
.swatch:hover img { transform: scale(1.07); }
.swatch figcaption {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-inv-dim); text-align: center; padding-top: 10px;
}

/* ---------- specs ---------- */
.specs__draw { position: relative; max-width: 1000px; margin: 1em auto 3em; }
.specs__draw img { width: 100%; }
.specs__anno { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.anno__line, .anno__tick, .anno__lead {
  fill: none; stroke: rgba(70, 179, 168, .7);
  stroke-width: 2; vector-effect: non-scaling-stroke;
}
.anno__dot { fill: var(--accent-bright); }
.anno__num, .anno__label {
  font-family: var(--sans); letter-spacing: .14em;
  fill: rgba(232, 237, 242, .92);
}
.anno__num { font-size: 25px; font-weight: 600; }
.anno__label { font-size: 20px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
html[lang="zh-CN"] .anno__label { letter-spacing: .3em; }
/* draw-in when the reveal container enters the viewport */
.anno__line, .anno__lead { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s ease var(--d, 0s); }
.anno__tick, .anno__dot, .anno__num, .anno__label { opacity: 0; transition: opacity .6s ease calc(var(--d, 0s) + .45s); }
/* scroll-scrubbed mode: JS drives the values directly, no transitions */
.specs__draw.js-scrub .anno__line, .specs__draw.js-scrub .anno__lead,
.specs__draw.js-scrub .anno__tick, .specs__draw.js-scrub .anno__dot,
.specs__draw.js-scrub .anno__num, .specs__draw.js-scrub .anno__label { transition: none; }
.specs__draw.is-in .anno__line, .specs__draw.is-in .anno__lead { stroke-dashoffset: 0; }
.specs__draw.is-in .anno__tick, .specs__draw.is-in .anno__dot,
.specs__draw.is-in .anno__num, .specs__draw.is-in .anno__label { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .anno__line, .anno__lead { stroke-dashoffset: 0; transition: none; }
  .anno__tick, .anno__dot, .anno__num, .anno__label { opacity: 1; transition: none; }
}
@media (max-width: 720px) {
  .anno--callout { display: none; }
  .anno__num { font-size: 38px; }
}
.specgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.specblock { border: 1px solid var(--hairline-inv); padding: clamp(22px, 3vw, 36px); }
.specblock--wide { grid-column: 1 / -1; }
.specblock h3 {
  font-size: .82rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--accent-bright); font-weight: 700; margin-bottom: 1.4em;
}
.specblock dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); row-gap: 0; }
.specblock dt, .specblock dd { padding: 9px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: .92rem; }
.specblock dt { color: var(--text-inv-dim); padding-right: 12px; }
.specblock dd { color: var(--text-inv); }
.optcols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 60px); }
.optcols h4 { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-inv-dim); margin-bottom: .9em; }
.optcols ul { list-style: none; }
.optcols li { padding: 8px 0 8px 24px; border-top: 1px solid rgba(255,255,255,.07); position: relative; font-size: .92rem; color: var(--text-inv); }
.optcols li::before { content: "+"; position: absolute; left: 2px; color: var(--accent-bright); }
.specs__disclaimer { font-size: .78rem; color: var(--text-inv-dim); margin-top: 2.4em; }

/* ---------- contact ---------- */
.contact {
  background:
    linear-gradient(rgba(8, 18, 30, .88), rgba(8, 18, 30, .88)),
    url("assets/hero-still.jpg") center 30% / cover no-repeat;
  color: #fff;
  padding: clamp(90px, 12vw, 170px) 0;
  text-align: center;
}
.contact__logo { height: 34px; width: auto; margin: 0 auto 2.2em; opacity: .95; }
.contact h2 em { color: var(--accent-bright); }
.contact p { max-width: 34em; margin: 0 auto 2.4em; color: rgba(255,255,255,.72); }
.contact__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.contact__actions .btn { letter-spacing: .08em; }

/* ---------- footer ---------- */
.footer { background: var(--black); color: var(--text-inv-dim); padding: 54px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer__logo { height: 20px; width: auto; opacity: .85; }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__nav a { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; transition: color .25s; }
.footer__nav a:hover { color: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: 4px; }
.footer__contact a { font-size: .82rem; letter-spacing: .04em; color: var(--text-inv); transition: color .25s; }
.footer__contact a:hover { color: var(--accent-bright); }
.footer__legal { font-size: .78rem; text-align: right; line-height: 1.7; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grid2, .features { grid-template-columns: 1fr; }
  .features__media { order: -1; }
  .interiors { grid-template-columns: 1fr 1fr; }
  .realgrid { grid-template-columns: 1fr 1fr; }
  .cstats { grid-template-columns: 1fr 1fr; gap: 28px; }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .specgrid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__legal { text-align: center; }
}
/* collapse the horizontal nav to the burger before the links (needs ~1210px in
   EN) can crowd the logo — desktop ≥1201px is unchanged */
@media (max-width: 1200px) {
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 30px;
    background: rgba(6, 11, 18, .97);
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .nav__links.is-open { opacity: 1; pointer-events: auto; z-index: 99; }
  .nav__links a { font-size: 1rem; }
  .nav__right { position: relative; z-index: 100; }
  .nav__burger { display: block; }
  .nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 720px) {
  .interiors { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { gap: 22px; }
  .specblock dl { grid-template-columns: 1fr; }
  .specblock dt { padding-bottom: 0; border-top: 1px solid rgba(255,255,255,.07); }
  .specblock dd { border-top: 0; padding-top: 2px; }
}
