/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
  --color-bg: #f5f4f0;
  --color-bg-alt: #eef1f4;
  --color-card: rgba(255, 255, 255, 0.76);
  --color-navy: #0b1326;
  --color-navy-soft: #111827;
  --color-text: #1d2738;
  --color-text-muted: #556274;
  --color-text-dim: rgba(29, 39, 56, 0.58);
  --color-text-inverse: #f5f4f0;
  --color-text-inverse-muted: rgba(245, 244, 240, 0.76);
  --color-text-inverse-dim: rgba(245, 244, 240, 0.54);
  --color-accent: #a8b4c0;
  --color-accent-hover: #c7d0d8;
  --color-nav-solid: rgba(11, 19, 38, 0.96);
  --color-border: rgba(29, 39, 56, 0.12);
  --color-border-strong: rgba(29, 39, 56, 0.22);
  --color-border-inverse: rgba(245, 244, 240, 0.16);
  --color-error: #b85a5a;
  --color-shadow: 0 24px 60px rgba(11, 19, 38, 0.09);

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --size-max-width: 1360px;
  --size-gutter: clamp(24px, 4.5vw, 80px);
  --size-section-pad: clamp(80px, 10vw, 140px);
  --nav-height: 88px;

  --transition-base: 0.3s ease;
  --transition-carousel: 1.2s ease-in-out;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  transition: opacity 0.5s ease;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.loading {
  opacity: 0;
}

html.nav-menu-open,
body.nav-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.nav-menu-open {
  width: 100%;
}

::selection {
  background: rgba(168, 180, 192, 0.34);
  color: var(--color-navy);
}

#nav,
.nav__mobile-overlay,
#hero,
.page-hero,
#yacht-division,
.about-page__cta,
.stone-cta,
#footer,
.lightbox,
.contact-page__image-col {
  --color-text: var(--color-text-inverse);
  --color-text-muted: var(--color-text-inverse-muted);
  --color-text-dim: var(--color-text-inverse-dim);
  --color-border: var(--color-border-inverse);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

button {
  font-family: var(--font-body);
}

/* ============================================================
   TYPOGRAPHY — SHARED
   ============================================================ */

.section__header {
  margin-bottom: clamp(40px, 6vw, 80px);
}

.section__header h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 0.9;
  color: var(--color-text);
}

.section__header h1 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 0.9;
  color: var(--color-text);
}

.heading-line1 {
  display: block;
  font-size: clamp(52px, 6.6vw, 98px);
  font-style: normal;
}

.heading-line2 {
  display: block;
  font-size: clamp(52px, 6.6vw, 98px);
  font-style: italic;
}

.heading-rule {
  width: 68px;
  height: 1px;
  background: var(--color-accent);
  margin-top: 24px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  -webkit-appearance: none;
  appearance: none;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base), opacity var(--transition-base);
}

.btn--primary {
  background: var(--color-navy);
  color: var(--color-text-inverse);
  padding: 18px 52px;
  border: 1px solid var(--color-navy);
}

.btn--primary:hover {
  background: var(--color-navy-soft);
  border-color: var(--color-navy-soft);
}

.btn--primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  padding: 15px 44px;
  border: 1px solid var(--color-border-strong);
}

.btn--outline:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-text-inverse);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.56);
  color: var(--color-text);
  padding: 15px 44px;
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--color-accent);
}

.about-page__cta .btn--primary,
.stone-cta .btn--primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-navy);
}

.about-page__cta .btn--primary:hover,
.stone-cta .btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }
.fade-up:nth-child(6) { transition-delay: 0.40s; }

/* ============================================================
   NAVIGATION
   ============================================================ */

#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(11, 19, 38, 0.82) 0%, rgba(11, 19, 38, 0.44) 65%, rgba(11, 19, 38, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background 0.52s ease, border-color 0.52s ease, box-shadow 0.52s ease, backdrop-filter 0.52s ease;
}

#nav.nav--scrolled {
  background: rgba(11, 19, 38, 0.97);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-bottom: 1px solid rgba(168, 180, 192, 0.1);
  box-shadow: 0 8px 48px rgba(11, 19, 38, 0.36), 0 1px 0 rgba(168, 180, 192, 0.07);
}

.nav__inner {
  max-width: var(--size-max-width);
  margin: 0 auto;
  padding: 0 var(--size-gutter);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.nav__logo img {
  height: 44px;
  width: auto;
  display: block;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  transition: opacity 0.4s ease;
}

.nav__logo:hover img {
  opacity: 0.72;
}

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 50px);
  flex: 1;
  justify-content: center;
}

/* Dropdown parent */
.nav__item--dropdown {
  position: relative;
}

.nav__dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  position: relative;
  transition: opacity 0.36s ease;
  white-space: nowrap;
  opacity: 0.84;
}

.nav__dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav__item--dropdown:hover .nav__dropdown-trigger,
.nav__item--dropdown:focus-within .nav__dropdown-trigger {
  opacity: 1;
}

.nav__item--dropdown:hover .nav__dropdown-trigger::after,
.nav__item--dropdown:focus-within .nav__dropdown-trigger::after {
  width: 100%;
}

.nav__dropdown-chevron {
  transition: transform 0.36s ease;
  opacity: 0.55;
}

.nav__item--dropdown:hover .nav__dropdown-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown panel — editorial serif */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(9, 14, 28, 0.98);
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
  border: 1px solid rgba(168, 180, 192, 0.13);
  border-top: 1px solid rgba(168, 180, 192, 0.36);
  min-width: 190px;
  padding: 18px 0 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 100;
  box-shadow: 0 28px 64px rgba(11, 19, 38, 0.56), 0 4px 16px rgba(11, 19, 38, 0.3);
}

.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* Transparent bridge fills the gap so moving the mouse into the panel
   doesn't exit .nav__item--dropdown and close the menu prematurely */
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -18px;
  left: -10px;
  right: -10px;
  height: 18px;
}

.nav__dropdown a {
  display: block;
  padding: 11px 26px;
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(245, 244, 240, 0.88);
  transition: color 0.22s ease, padding-left 0.28s ease, letter-spacing 0.22s ease;
  white-space: nowrap;
  background: none;
}

.nav__dropdown a:hover {
  color: #f5f4f0;
  padding-left: 34px;
  letter-spacing: 0.06em;
}

/* Regular nav links */
.nav__links > li > a {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  transition: opacity 0.36s ease;
  white-space: nowrap;
  padding: 6px 0;
  opacity: 0.84;
}

.nav__links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav__links > li > a:hover {
  opacity: 1;
}

.nav__links > li > a:hover::after {
  width: 100%;
}

/* Active page state */
.nav__links > li > a[aria-current="page"],
.nav__links .nav__item--dropdown.is-active .nav__dropdown-trigger {
  opacity: 1;
}

.nav__links > li > a[aria-current="page"]::after {
  width: 100%;
}

/* Phone CTA — bordered pill */
.nav__phone {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid rgba(168, 180, 192, 0.3);
  padding: 9px 16px;
  transition: color 0.36s ease, border-color 0.36s ease, background 0.36s ease;
}

.nav__phone:hover {
  color: var(--color-text-inverse);
  border-color: rgba(168, 180, 192, 0.55);
  background: rgba(168, 180, 192, 0.09);
}

/* Hamburger — refined 3-bar icon */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
  position: relative;
  flex-shrink: 0;
}

.nav__hamburger span {
  display: block;
  height: 1px;
  background: var(--color-text);
  transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.28s ease, width 0.32s ease;
  transform-origin: center;
}

.nav__hamburger span:nth-child(1) { width: 22px; }
.nav__hamburger span:nth-child(2) { width: 22px; }
.nav__hamburger span:nth-child(3) { width: 14px; }

.nav__hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 22px;
}

.nav__hamburger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 22px;
}

/* ============================================================
   MOBILE BACKDROP
   ============================================================ */

.nav__mobile-backdrop {
  position: fixed;
  top: var(--nav-height);
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(8, 12, 24, 0.68);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1198;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.44s ease;
}

.nav__mobile-backdrop.is-open {
  opacity: 1;
  pointer-events: all;
}

/* ============================================================
   MOBILE DRAWER — slide in from right
   ============================================================ */

.nav__mobile-overlay {
  position: fixed;
  top: var(--nav-height);
  right: 0;
  bottom: 0;
  height: calc(100vh - var(--nav-height));
  height: calc(100dvh - var(--nav-height));
  width: min(360px, 100vw);
  max-width: 100vw;
  background: linear-gradient(160deg, #0e1630 0%, #0b1326 55%, #080f1e 100%);
  z-index: 1199;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.46s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-left: 1px solid rgba(168, 180, 192, 0.11);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  will-change: transform;
}

.nav__mobile-overlay.is-open {
  transform: translateX(0);
  pointer-events: all;
}

.nav__mobile-close {
  position: absolute;
  top: 22px;
  left: 24px;
  background: none;
  border: none;
  color: rgba(245, 244, 240, 0.5);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.28s ease;
}

.nav__mobile-close:hover {
  color: rgba(245, 244, 240, 0.9);
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 96px 40px 0;
  gap: 0;
}

.nav__mobile-links > li {
  width: 100%;
  border-bottom: 1px solid rgba(168, 180, 192, 0.1);
}

.nav__mobile-links > li:first-child {
  border-top: 1px solid rgba(168, 180, 192, 0.1);
}

.nav__mobile-links > li > a {
  display: block;
  padding: 20px 0;
  font-family: var(--font-heading);
  font-size: clamp(24px, 5.8vw, 34px);
  font-weight: 400;
  font-style: italic;
  color: rgba(245, 244, 240, 0.78);
  transition: color 0.28s ease, padding-left 0.3s ease;
}

.nav__mobile-links > li > a:hover {
  color: var(--color-text-inverse);
  padding-left: 8px;
}

/* Mobile dropdown accordion */
.nav__mobile-item--dropdown {
  width: 100%;
}

.nav__mobile-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-family: var(--font-heading);
  font-size: clamp(24px, 5.8vw, 34px);
  font-weight: 400;
  font-style: italic;
  color: rgba(245, 244, 240, 0.78);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.28s ease;
}

.nav__mobile-dropdown-trigger:hover {
  color: var(--color-text-inverse);
}

.nav__mobile-dropdown-trigger svg {
  transition: transform 0.32s ease;
  opacity: 0.45;
  flex-shrink: 0;
}

.nav__mobile-dropdown-trigger.is-open svg {
  transform: rotate(180deg);
  opacity: 0.9;
}

.nav__mobile-subnav {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.42s ease;
}

.nav__mobile-subnav.is-open {
  max-height: 320px;
}

.nav__mobile-subnav a {
  display: block;
  padding: 10px 0 10px 14px;
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(168, 180, 192, 0.65);
  transition: color 0.26s ease;
}

.nav__mobile-subnav a:hover {
  color: var(--color-accent);
}

.nav__mobile-phone {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--color-accent);
  padding: 36px 40px;
  margin-top: auto;
  border-top: 1px solid rgba(168, 180, 192, 0.1);
  transition: opacity 0.28s ease;
}

.nav__mobile-phone:hover {
  opacity: 0.72;
}

/* ============================================================
   HERO CAROUSEL — HOME PAGE
   ============================================================ */

#hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
}

.hero__slide--active {
  opacity: 1;
  z-index: 1;
}

.hero__slide-bg {
  position: absolute;
  inset: 0;
}

.hero__slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    122deg,
    rgba(11, 19, 38, 0.9) 0%,
    rgba(11, 19, 38, 0.48) 56%,
    rgba(11, 19, 38, 0.1) 100%
  );
}

.hero__slide-content {
  position: absolute;
  bottom: clamp(64px, 9vh, 110px);
  left: var(--size-gutter);
  right: var(--size-gutter);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.hero__stone-name {
  flex: 0 1 auto;
}

.hero__stone-name span {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(54px, 9vw, 142px);
  font-weight: 500;
  line-height: 0.84;
  color: var(--color-text);
}

.hero__stone-info {
  flex: 0 0 min(380px, 36%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero__by-line {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero__description {
  font-size: clamp(12px, 1.05vw, 14px);
  line-height: 1.95;
  color: var(--color-text-muted);
  font-weight: 300;
}

.hero__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  transition: gap var(--transition-base), color var(--transition-base);
}

.hero__cta-link:hover {
  gap: 14px;
  color: var(--color-accent-hover);
}

/* Dots */
.hero__dots {
  position: absolute;
  bottom: 28px;
  right: var(--size-gutter);
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 10;
}

.hero__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(245, 244, 240, 0.26);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition-base), transform var(--transition-base);
}

.hero__dot--active {
  background: var(--color-text);
  transform: scale(1.5);
}

.hero__dot:hover:not(.hero__dot--active) {
  background: rgba(245, 244, 240, 0.62);
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--color-text-dim);
  z-index: 10;
  user-select: none;
}

.hero__scroll-text {
  font-size: 8px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero__scroll-arrow {
  animation: scrollBounce 2.4s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================================
   PAGE HERO BANNER — INNER PAGES
   ============================================================ */

.page-hero {
  position: relative;
  height: 64vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    122deg,
    rgba(11, 19, 38, 0.9) 0%,
    rgba(11, 19, 38, 0.54) 54%,
    rgba(11, 19, 38, 0.18) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--size-max-width);
  margin: 0 auto;
  padding: 0 var(--size-gutter) clamp(48px, 7vh, 80px);
}

.page-hero__eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 400;
  line-height: 0.9;
  color: var(--color-text);
}

.page-hero__subtitle {
  font-family: var(--font-heading);
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 500;
  line-height: 0.9;
  font-style: italic;
  color: var(--color-text);
}

.page-hero__kicker {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 30px);
  font-style: italic;
  font-weight: 500;
  color: var(--color-accent);
  margin-top: 14px;
  letter-spacing: 0.02em;
}

/* ============================================================
   STONE COLLECTION — HOME SECTION
   ============================================================ */

#stone-collection {
  position: relative;
  padding: var(--size-section-pad) 0;
  overflow: visible;
  background: linear-gradient(180deg, rgba(245, 244, 240, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
  border-top: 1px solid var(--color-border);
}

#stone-collection .section__header {
  padding: 0 var(--size-gutter);
  max-width: var(--size-max-width);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(48px, 6vw, 76px);
}

.collection__track-wrapper {
  max-width: var(--size-max-width);
  margin: 0 auto;
  padding: 0 var(--size-gutter);
}

.collection__track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(20px, 2.5vw, 34px);
  align-items: start;
}

.collection__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.js .collection__card--reveal .card__body {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--collection-reveal-delay, 0s);
  will-change: opacity, transform;
}

.js .collection__card--reveal.is-visible .card__body {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.card__image {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--color-shadow);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.collection__card:hover .card__image img {
  transform: scale(1.06);
}

.card__body {
  position: relative;
  overflow: visible;
  padding: 24px 8px 0 2px;
}

.card__body h3 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.1vw, 34px);
  font-weight: 500;
  color: var(--color-text);
  line-height: 0.92;
  margin-bottom: 14px;
}

.card__body p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text-muted);
  margin-bottom: 18px;
  font-weight: 400;
  max-width: 28ch;
}

.card__link {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  transition: color var(--transition-base), letter-spacing var(--transition-base);
}

.card__link:hover {
  color: var(--color-accent-hover);
  letter-spacing: 0.28em;
}

/* ============================================================
   STONE IN SPACES — HOME SECTION
   ============================================================ */

#stone-in-spaces {
  position: relative;
  padding: var(--size-section-pad) var(--size-gutter);
  max-width: var(--size-max-width);
  margin: 0 auto;
  z-index: 0;
}

#stone-in-spaces::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(238, 241, 244, 0.98) 0%, rgba(245, 247, 249, 0.96) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  z-index: -1;
}

.spaces__grid {
  columns: 3;
  column-gap: 12px;
}

.spaces__item {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 12px;
  overflow: hidden;
  display: block;
  cursor: zoom-in;
  border: 1px solid rgba(29, 39, 56, 0.09);
  box-shadow: var(--color-shadow);
  background: rgba(255, 255, 255, 0.86);
}

.spaces__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.65s ease;
}

.spaces__item:hover img {
  transform: scale(1.05);
}

.spaces__cta {
  margin-top: clamp(36px, 5vw, 60px);
  text-align: center;
}

/* ============================================================
   STONE INTRO — STONE PAGES
   ============================================================ */

.stone-intro {
  position: relative;
  padding: clamp(56px, 8vw, 100px) var(--size-gutter);
  max-width: var(--size-max-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--color-border);
}

.stone-intro__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}

.stone-intro__lead {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.stone-intro__body {
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.95;
  color: var(--color-text-muted);
  font-weight: 400;
  max-width: 680px;
}

.stone-intro__meta {
  border-left: 1px solid var(--color-border-strong);
  background: linear-gradient(180deg, rgba(238, 241, 244, 0.78) 0%, rgba(255, 255, 255, 0.5) 100%);
  box-shadow: inset 0 0 0 1px rgba(29, 39, 56, 0.05);
  padding: 28px 28px 28px 32px;
  margin-top: 2px;
}

.stone-meta__item {
  margin-bottom: 28px;
}

.stone-meta__item:last-child {
  margin-bottom: 0;
}

.stone-meta__label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  display: block;
  margin-bottom: 7px;
}

.stone-meta__value {
  font-size: 13px;
  color: var(--color-text);
  font-weight: 300;
  line-height: 1.6;
}

/* ============================================================
   STONE GALLERY — STONE PAGES
   ============================================================ */

.stone-gallery {
  position: relative;
  padding: clamp(64px, 8vw, 96px) var(--size-gutter) var(--size-section-pad);
  max-width: var(--size-max-width);
  margin: 0 auto;
  z-index: 0;
}

.stone-gallery::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(238, 241, 244, 0.9) 0%, rgba(245, 244, 240, 0.96) 100%);
  border-bottom: 1px solid var(--color-border);
  z-index: -1;
}

.stone-gallery__header {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.stone-gallery__label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.stone-gallery__label + h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 400;
  color: var(--color-text);
}

.stone-gallery__grid {
  columns: 3;
  column-gap: 12px;
}

.stone-gallery__item {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: zoom-in;
  display: block;
  border: 1px solid rgba(29, 39, 56, 0.09);
  box-shadow: var(--color-shadow);
  background: rgba(255, 255, 255, 0.88);
}

.stone-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.65s ease;
}

.stone-gallery__item:hover img {
  transform: scale(1.05);
}

/* ============================================================
   STONE CTA — STONE PAGES
   ============================================================ */

.stone-cta {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-soft) 100%);
  padding: clamp(64px, 9vw, 110px) var(--size-gutter);
  text-align: center;
  border-top: 1px solid var(--color-border-inverse);
}

.stone-cta__label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 18px;
}

.stone-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 16px;
}

.stone-cta p {
  font-size: 15px;
  color: var(--color-text-muted);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* ============================================================
   GALLERY PAGE — FILTER + GRID
   ============================================================ */

.gallery-page {
  position: relative;
  padding: var(--size-section-pad) var(--size-gutter);
  max-width: var(--size-max-width);
  margin: 0 auto;
  z-index: 0;
}

.gallery-page::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(238, 241, 244, 0.96) 0%, rgba(245, 244, 240, 0.98) 100%);
  border-top: 1px solid var(--color-border);
  z-index: -1;
}

.gallery-page__intro {
  font-size: clamp(13px, 1vw, 15px);
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
  line-height: 1.85;
  max-width: 620px;
}

.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.gallery__filter-btn {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: border-color var(--transition-base), color var(--transition-base), background var(--transition-base);
  border-radius: 0;
}

.gallery__filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
}

.gallery__filter-btn.is-active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-text-inverse);
}

.gallery__grid {
  columns: 3;
  column-gap: 12px;
}

.gallery__item {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: zoom-in;
  display: block;
  transition: opacity 0.35s ease;
  border: 1px solid rgba(29, 39, 56, 0.09);
  box-shadow: var(--color-shadow);
  background: rgba(255, 255, 255, 0.9);
}

.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.65s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item[style*="display: none"] {
  margin-bottom: 0;
}

/* ============================================================
   YACHT DIVISION — HOME SECTION
   ============================================================ */

#yacht-division {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.yacht__bg {
  position: absolute;
  inset: 0;
}

.yacht__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.yacht__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(11, 19, 38, 0.92) 0%,
    rgba(11, 19, 38, 0.56) 52%,
    rgba(17, 24, 39, 0.16) 100%
  );
}

.yacht__content {
  position: relative;
  z-index: 1;
  padding: 0 var(--size-gutter);
  max-width: min(680px, 52%);
  margin-left: max(var(--size-gutter), calc((100vw - var(--size-max-width)) / 2 + var(--size-gutter)));
}

.yacht__content .section__header {
  margin-bottom: clamp(22px, 3.5vw, 40px);
}

.yacht__body {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 2;
  color: var(--color-text-muted);
  margin-bottom: clamp(32px, 4vw, 52px);
  font-weight: 400;
}

.yacht__content .btn--outline {
  color: var(--color-text);
  border-color: rgba(245, 244, 240, 0.26);
  background: rgba(245, 244, 240, 0.06);
}

.yacht__content .btn--outline:hover {
  background: rgba(245, 244, 240, 0.16);
  border-color: rgba(245, 244, 240, 0.36);
}

/* ============================================================
   YACHT DIVISION PAGE
   ============================================================ */

.yacht-page__intro {
  position: relative;
  padding: clamp(56px, 8vw, 100px) var(--size-gutter);
  max-width: var(--size-max-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--color-border);
}

.yacht-page__intro-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}

.yacht-page__lead {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.yacht-page__body {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.95;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-bottom: 32px;
}

.yacht-page__stats {
  border-left: 1px solid var(--color-border-strong);
  background: linear-gradient(180deg, rgba(238, 241, 244, 0.78) 0%, rgba(255, 255, 255, 0.5) 100%);
  box-shadow: inset 0 0 0 1px rgba(29, 39, 56, 0.05);
  padding: 28px 28px 28px 32px;
}

.yacht-stat {
  margin-bottom: 28px;
}

.yacht-stat:last-child {
  margin-bottom: 0;
}

.yacht-stat__number {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 6px;
}

.yacht-stat__label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.yacht-page__gallery {
  position: relative;
  padding: clamp(64px, 8vw, 96px) var(--size-gutter) var(--size-section-pad);
  max-width: var(--size-max-width);
  margin: 0 auto;
  z-index: 0;
}

.yacht-page__gallery::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(238, 241, 244, 0.88) 0%, rgba(245, 244, 240, 0.96) 100%);
  border-bottom: 1px solid var(--color-border);
  z-index: -1;
}

.yacht-page__gallery-header {
  margin-bottom: clamp(32px, 5vw, 52px);
}

.yacht-page__gallery-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.yacht-page__gallery-label + h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 400;
  color: var(--color-text);
}

.yacht-page__gallery-grid {
  columns: 3;
  column-gap: 12px;
}

.yacht-page__gallery-item {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: zoom-in;
  display: block;
  border: 1px solid rgba(29, 39, 56, 0.09);
  box-shadow: var(--color-shadow);
  background: rgba(255, 255, 255, 0.88);
}

.yacht-page__gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.65s ease;
}

.yacht-page__gallery-item:hover img {
  transform: scale(1.05);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-page__intro {
  position: relative;
  padding: clamp(56px, 8vw, 100px) var(--size-gutter);
  max-width: var(--size-max-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--color-border);
}

.about-page__intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.about-page__tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 24px);
  color: var(--color-accent);
  margin-bottom: 24px;
  line-height: 1.5;
}

.about-page__body {
  font-size: 15px;
  line-height: 1.95;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-bottom: 36px;
}

.about-page__image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(29, 39, 56, 0.1);
  box-shadow: var(--color-shadow);
  background: rgba(255, 255, 255, 0.88);
}

/* Highlights */
.about-page__highlights {
  background: linear-gradient(180deg, rgba(238, 241, 244, 0.94) 0%, rgba(245, 244, 240, 0.98) 100%);
  padding: clamp(56px, 8vw, 100px) var(--size-gutter);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.about-page__highlights-inner {
  max-width: var(--size-max-width);
  margin: 0 auto;
}

.about-page__highlights-inner .section__header {
  margin-bottom: clamp(40px, 6vw, 64px);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 60px);
}

.highlight-item {
  border-top: 1px solid var(--color-border);
  padding-top: 28px;
}

.highlight-item__number {
  font-family: var(--font-heading);
  font-size: 54px;
  font-weight: 500;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 14px;
}

.highlight-item__title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 12px;
}

.highlight-item__body {
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text-muted);
  font-weight: 300;
}

/* Services */
.about-page__services {
  position: relative;
  padding: clamp(56px, 8vw, 100px) var(--size-gutter);
  max-width: var(--size-max-width);
  margin: 0 auto;
}

.about-page__services .section__header {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.service-item {
  background: rgba(255, 255, 255, 0.82);
  padding: clamp(28px, 4vw, 48px);
  transition: background var(--transition-base), transform var(--transition-base);
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.96);
  transform: translateY(-2px);
}

.service-item__icon {
  font-size: 28px;
  margin-bottom: 18px;
  color: var(--color-accent);
  line-height: 1;
}

.service-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  filter: invert(73%) sepia(9%) saturate(409%) hue-rotate(169deg) brightness(96%) contrast(88%);
}

.service-item__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 10px;
}

.service-item__body {
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text-muted);
  font-weight: 300;
}

/* About CTA */
.about-page__cta {
  text-align: center;
  padding: clamp(64px, 9vw, 110px) var(--size-gutter);
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-soft) 100%);
}

.about-page__cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 16px;
}

.about-page__cta p {
  font-size: 15px;
  color: var(--color-text-muted);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* ============================================================
   CONTACT — HOME SECTION (with background image)
   ============================================================ */

#contact {
  position: relative;
  overflow: hidden;
  padding: var(--size-section-pad) 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.contact-home__bg {
  position: absolute;
  inset: 0;
}

.contact-home__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 769px) {
  .contact-home__bg img {
    filter: grayscale(12%) saturate(72%) brightness(1.03);
  }
}

.contact-home__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(245, 244, 240, 0.92) 0%,
    rgba(245, 244, 240, 0.82) 38%,
    rgba(238, 241, 244, 0.94) 100%
  );
}

.contact-home__inner {
  position: relative;
  z-index: 1;
  max-width: var(--size-max-width);
  margin: 0 auto;
  padding: 0 var(--size-gutter);
}

#contact .section__header {
  max-width: 760px;
}

.contact-home__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.contact__form-col {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  box-shadow: var(--color-shadow);
  padding: clamp(28px, 4vw, 46px);
}

@media (min-width: 769px) {
  .contact__form-col {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
}

/* ============================================================
   CONTACT PAGE — SPLIT-SCREEN
   ============================================================ */

.contact-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--color-bg);
}

.contact-page__image-col {
  position: relative;
  min-height: 600px;
}

.contact-page__image-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-page__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 19, 38, 0.18) 0%, rgba(11, 19, 38, 0.68) 100%);
}

.contact-page__image-text {
  position: absolute;
  bottom: 48px;
  left: 48px;
  right: 32px;
}

.contact-page__image-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--color-text);
  line-height: 1.5;
}

.contact-page__form-col {
  background: linear-gradient(180deg, rgba(245, 244, 240, 0.98) 0%, rgba(238, 241, 244, 0.82) 100%);
  border-left: 1px solid var(--color-border);
  padding: calc(var(--nav-height) + clamp(40px, 5vw, 70px)) clamp(32px, 5vw, 72px) clamp(56px, 7vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-page__form-col .section__header {
  margin-bottom: clamp(32px, 5vw, 52px);
}

.contact-page__brand-rule {
  width: 40px;
  height: 1px;
  background: var(--color-accent);
  margin-top: 20px;
}

.contact-page__brand-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 14px;
}

.contact-page__heading .heading-line1,
.contact-page__heading .heading-line2 {
  font-size: clamp(42px, 5vw, 76px);
}

.contact-page__details {
  margin-bottom: 40px;
}

/* Contact info */
.contact__info {
  padding-top: 6px;
}

.contact__info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 26px;
}

.contact__label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.contact__info-item strong,
.contact__info-item span,
.contact__info-item a {
  font-size: 15px;
  color: var(--color-text);
  transition: color var(--transition-base);
  font-weight: 400;
}

.contact__info-item a:hover {
  color: var(--color-accent);
}

.contact__tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 22px;
  color: var(--color-navy);
  margin-top: 20px;
  line-height: 1.7;
}

/* ============================================================
   FORM — SHARED
   ============================================================ */

#inquiry-form,
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form__field label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.form__field label span {
  color: var(--color-accent);
}

.form__field input,
.form__field select,
.form__field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border-strong);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  padding: 14px 0;
  outline: none;
  width: 100%;
  transition: border-color var(--transition-base);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form__field textarea {
  resize: none;
  line-height: 1.7;
}

.form__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a8b4c0' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 28px;
  cursor: pointer;
}

.form__field select option {
  background: #f5f4f0;
  color: var(--color-text);
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-bottom-color: var(--color-accent);
}

.form__field input.has-error,
.form__field textarea.has-error {
  border-bottom-color: var(--color-error);
}

.form__error {
  font-size: 10px;
  color: var(--color-error);
  min-height: 14px;
  font-weight: 400;
}

#inquiry-form .btn--primary,
#contact-form .btn--primary {
  align-self: flex-start;
}

.form__field input:-webkit-autofill,
.form__field select:-webkit-autofill,
.form__field textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px var(--color-bg) inset;
  -webkit-text-fill-color: var(--color-text);
}

.form__success {
  display: none;
  text-align: center;
  padding: 72px 0;
}

.form__success.is-visible {
  display: block;
}

.form__success h3 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 14px;
}

.form__success p {
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 300;
}

/* ============================================================
   FOOTER
   ============================================================ */

#footer {
  background: linear-gradient(180deg, var(--color-navy) 0%, #101a31 100%);
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  max-width: var(--size-max-width);
  margin: 0 auto;
  padding: 64px var(--size-gutter) 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}

.footer__col--brand {
  display: flex;
  flex-direction: column;
}

.footer__logo {
  display: block;
  height: 38px;
  width: 131px;
  object-fit: contain;
  object-position: left center;
  background: rgba(255, 255, 255, 0.88);
  padding: 4px 9px;
  border-radius: 3px;
  margin-bottom: 18px;
}

.footer__tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 13px;
  color: var(--color-text-dim);
  line-height: 1.7;
  max-width: 200px;
}

.footer__heading {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 20px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__nav a {
  font-size: 13px;
  color: var(--color-text-muted);
  transition: color var(--transition-base);
  font-weight: 400;
}

.footer__nav a:hover {
  color: var(--color-accent);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.footer__contact a,
.footer__contact span {
  font-size: 13px;
  color: var(--color-text-muted);
  transition: color var(--transition-base);
  font-weight: 400;
}

.footer__contact a:hover {
  color: var(--color-accent);
}

.footer__social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social__link {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  color: var(--color-text-dim);
  transition: color var(--transition-base);
  font-weight: 400;
}

.social__link:hover {
  color: var(--color-accent);
}

.footer__bar {
  border-top: 1px solid rgba(245, 244, 240, 0.08);
}

.footer__bar-inner {
  max-width: var(--size-max-width);
  margin: 0 auto;
  padding: 18px var(--size-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__bar-inner p {
  font-size: 10px;
  color: rgba(245, 244, 240, 0.36);
  letter-spacing: 0.08em;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 38, 0.96);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  user-select: none;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(245, 245, 245, 0.7);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
  transition: color var(--transition-base);
  z-index: 10;
}

.lightbox__close:hover {
  color: var(--color-text);
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(245, 244, 240, 0.08);
  border: 1px solid rgba(245, 244, 240, 0.18);
  color: rgba(245, 245, 245, 0.7);
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base), color var(--transition-base);
  border-radius: 0;
}

.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(245, 244, 240, 0.16);
  color: var(--color-text);
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */

@media (max-width: 1024px) {
  .nav__links,
  .nav__phone {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* Home hero */
  .hero__stone-info {
    flex: 0 0 min(320px, 42%);
  }

  /* Stone intro */
  .stone-intro__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stone-intro__meta {
    border-left: none;
    border-top: 1px solid var(--color-border-strong);
    padding: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  /* Stone gallery */
  .stone-gallery__grid {
    columns: 2;
  }

  /* Spaces */
  .spaces__grid {
    columns: 2;
  }

  /* Gallery page */
  .gallery__grid {
    columns: 2;
  }

  /* Yacht */
  .yacht__content {
    max-width: 72%;
  }

  .yacht-page__intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .yacht-page__stats {
    border-left: none;
    border-top: 1px solid var(--color-border-strong);
    padding: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .yacht-page__gallery-grid {
    columns: 2;
  }

  /* About */
  .about-page__intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-page__image {
    max-width: 520px;
  }

  .about-page__image img {
    aspect-ratio: 4 / 3;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Contact home */
  .contact-home__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  /* Contact page */
  .contact-page {
    grid-template-columns: 1fr;
  }

  .contact-page__image-col {
    min-height: 360px;
    position: relative;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE LARGE (≤ 768px)
   ============================================================ */

@media (max-width: 768px) {
  .collection__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Hero */
  .hero__stone-info {
    display: none;
  }

  .hero__stone-name span {
    font-size: clamp(46px, 13vw, 80px);
  }

  /* Page hero */
  .page-hero {
    height: 52vh;
  }

  /* Stone */
  .stone-intro__meta {
    grid-template-columns: 1fr 1fr;
  }

  .stone-gallery__grid {
    columns: 2;
  }

  /* Spaces */
  .spaces__grid {
    columns: 2;
  }

  /* Gallery */
  .gallery__grid {
    columns: 2;
  }

  /* Yacht home */
  .yacht__content {
    max-width: 88%;
  }

  /* Yacht page */
  .yacht-page__stats {
    grid-template-columns: 1fr 1fr;
  }

  .yacht-page__gallery-grid {
    columns: 2;
  }

  /* Highlights */
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  /* Form */
  .form__row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__tagline {
    max-width: none;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE SMALL (≤ 540px)
   ============================================================ */

@media (max-width: 540px) {
  .collection__track {
    grid-template-columns: 1fr;
  }

  .spaces__grid {
    columns: 1;
  }

  .gallery__grid {
    columns: 1;
  }

  .stone-gallery__grid {
    columns: 1;
  }

  .yacht-page__gallery-grid {
    columns: 1;
  }

  .hero__stone-name span {
    font-size: clamp(38px, 15vw, 62px);
  }

  .page-hero__title,
  .page-hero__subtitle {
    font-size: clamp(40px, 13vw, 70px);
  }

  .btn--primary {
    padding: 16px 36px;
    width: 100%;
    text-align: center;
    align-self: stretch;
  }

  .stone-intro__meta {
    grid-template-columns: 1fr;
  }

  .yacht-page__stats {
    grid-template-columns: 1fr;
  }

  .about-page__cta .btn {
    width: 100%;
    text-align: center;
  }

  .stone-cta .btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

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