/* ============================================================
   styles.css — Pura Vida Yachts
   Luxury yacht shipyard · Bodrum, Turkey
   Dark editorial palette inspired by sunreef-yachts.com
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   TABLE OF CONTENTS
   1.  Design Tokens (:root)
   2.  Reset & Box Model
   3.  Base Typography
   4.  Skip Link & Focus
   5.  Scrollbar
   6.  Container & Layout Utilities
   7.  Spacing Utilities
   8.  Buttons
   9.  Navigation
   10. Footer
   11. Cards
   12. Section Utilities
   13. Breadcrumb
   14. Tags / Badges
   15. Divider
   16. Animations
   17. Responsive Overrides
   ──────────────────────────────────────────────────────────── */


/* ════════════════════════════════════════════════════════════
   1. DESIGN TOKENS
   ════════════════════════════════════════════════════════════ */

:root {
  /* Colours */
  --color-bg:           #0B0F14;
  --color-surface:      #121821;
  --color-surface-2:    #19222D;  /* slightly lighter surface for cards */
  --color-text:         #EEE9E1;
  --color-text-dim:     #9AA3AD;
  --color-text-muted:   #5A6370;
  --color-accent:       #B89656;  /* warm brass */
  --color-accent-light: #CDB07A;
  --color-accent-dark:  #8A6E38;
  --color-border:       #1E2630;
  --color-border-light: #2A3540;
  --color-error:        #C0392B;
  --color-success:      #27AE60;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Font sizes — fluid scale */
  --text-xs:   0.75rem;    /*  12px */
  --text-sm:   0.875rem;   /*  14px */
  --text-base: 1rem;       /*  16px */
  --text-md:   1.125rem;   /*  18px */
  --text-lg:   1.25rem;    /*  20px */
  --text-xl:   1.5rem;     /*  24px */
  --text-2xl:  2rem;       /*  32px */
  --text-3xl:  2.5rem;     /*  40px */
  --text-4xl:  3.25rem;    /*  52px */
  --text-5xl:  4.5rem;     /*  72px */
  --text-6xl:  6rem;       /*  96px */

  /* Font weights */
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-bold:    700;

  /* Line heights */
  --leading-tight:  1.2;
  --leading-snug:   1.4;
  --leading-normal: 1.6;
  --leading-loose:  1.8;

  /* Letter spacing */
  --tracking-tight:  -0.03em;
  --tracking-normal: 0em;
  --tracking-wide:   0.05em;
  --tracking-wider:  0.12em;
  --tracking-widest: 0.2em;

  /* Spacing */
  --space-1:  0.5rem;    /*  8px */
  --space-2:  1rem;      /* 16px */
  --space-3:  1.5rem;    /* 24px */
  --space-4:  2rem;      /* 32px */
  --space-5:  2.5rem;    /* 40px */
  --space-6:  4rem;      /* 64px */
  --space-7:  5rem;      /* 80px */
  --space-8:  8rem;      /* 128px */
  --space-9:  10rem;     /* 160px */
  --space-10: 12rem;     /* 192px */

  /* Border radius */
  --radius:    2px;   /* minimal luxury */
  --radius-sm: 1px;
  --radius-lg: 4px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.6);
  --shadow-xl:  0 16px 64px rgba(0,0,0,0.7);

  /* Transitions */
  --ease-default: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in:      cubic-bezier(0.55, 0, 1, 0.45);
  --ease-out:     cubic-bezier(0, 0.55, 0.45, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;
  --duration-slower: 700ms;

  /* Layout */
  --container-max:  1280px;
  --container-wide: 1440px;
  --container-pad:  var(--space-4);
  --nav-height:     80px;
  --footer-min:     420px;
}


/* ════════════════════════════════════════════════════════════
   2. RESET & BOX MODEL
   ════════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  font-weight: var(--weight-regular);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Prevent scroll when mobile nav is open */
body.nav-open {
  overflow: hidden;
}

img,
video,
picture,
svg,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

ul,
ol {
  list-style: none;
}

input,
textarea,
select {
  font: inherit;
}

table {
  border-collapse: collapse;
}

[hidden] {
  display: none !important;
}


/* ════════════════════════════════════════════════════════════
   3. BASE TYPOGRAPHY
   ════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl)); }
h4 { font-size: clamp(var(--text-lg), 2vw, var(--text-2xl)); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-md); }

p {
  color: var(--color-text-dim);
  line-height: var(--leading-loose);
  max-width: 68ch;
}

p + p {
  margin-top: var(--space-3);
}

strong, b {
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

em, i {
  font-style: italic;
}

small {
  font-size: var(--text-sm);
}

.text-accent {
  color: var(--color-accent);
}

.text-dim {
  color: var(--color-text-dim);
}

.text-muted {
  color: var(--color-text-muted);
}

/* Eyebrow label — small uppercase brass text above headings */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

/* Overline — horizontal rule-ish detail above eyebrow */
.overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.overline::before {
  content: "";
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--color-accent);
}

/* Body lead — slightly larger intro paragraph */
.lead {
  font-size: var(--text-md);
  line-height: var(--leading-loose);
  color: var(--color-text-dim);
}

/* Blockquote */
blockquote {
  border-left: 2px solid var(--color-accent);
  padding-left: var(--space-3);
  margin: var(--space-4) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--color-text);
}


/* ════════════════════════════════════════════════════════════
   4. SKIP LINK & FOCUS
   ════════════════════════════════════════════════════════════ */

.skip-link {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 9999;
  padding: var(--space-1) var(--space-3);
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius);
  transform: translateY(-300%);
  transition: transform var(--duration-base) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

/* Global focus style */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* Remove focus ring for mouse users only (applied via JS or where appropriate) */
:focus:not(:focus-visible) {
  outline: none;
}


/* ════════════════════════════════════════════════════════════
   5. SCROLLBAR (WebKit)
   ════════════════════════════════════════════════════════════ */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border-light);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}


/* ════════════════════════════════════════════════════════════
   6. CONTAINER & LAYOUT UTILITIES
   ════════════════════════════════════════════════════════════ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: 800px;
}

/* Grid utilities */
.grid {
  display: grid;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.gap-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }

/* Flex utilities */
.flex      { display: flex; }
.flex-col  { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center  { align-items: center; }
.items-start   { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.justify-end     { justify-content: flex-end; }

/* Position utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed    { position: fixed; }

/* Display */
.block        { display: block; }
.inline-block { display: inline-block; }
.hidden       { display: none; }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Text alignment */
.text-center { text-align: center; }
.text-right  { text-align: right; }

/* Aspect ratios */
.aspect-16-9   { aspect-ratio: 16 / 9; }
.aspect-4-3    { aspect-ratio: 4 / 3; }
.aspect-3-2    { aspect-ratio: 3 / 2; }
.aspect-1-1    { aspect-ratio: 1 / 1; }
.aspect-cinema { aspect-ratio: 21 / 9; }

/* Cover image */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* ════════════════════════════════════════════════════════════
   7. SPACING UTILITIES
   ════════════════════════════════════════════════════════════ */

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.section-pad {
  padding-block: var(--space-8);
}

.section-pad--sm {
  padding-block: var(--space-6);
}

.section-pad--lg {
  padding-block: clamp(var(--space-8), 12vw, var(--space-10));
}


/* ════════════════════════════════════════════════════════════
   8. BUTTONS
   ════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 0.875rem 2.25rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--duration-base) var(--ease-default),
    border-color     var(--duration-base) var(--ease-default),
    color            var(--duration-base) var(--ease-default),
    transform        var(--duration-fast) var(--ease-default),
    box-shadow       var(--duration-base) var(--ease-default);
}

.btn:active {
  transform: translateY(1px);
}

/* Primary — brass fill */
.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background-color: var(--color-accent-light);
  border-color: var(--color-accent-light);
  box-shadow: 0 4px 24px rgba(184, 150, 86, 0.3);
}

.btn--primary:focus-visible {
  outline-color: var(--color-accent-light);
}

/* Ghost — transparent with brass border */
.btn--ghost {
  background-color: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn--ghost:hover {
  background-color: rgba(184, 150, 86, 0.08);
  box-shadow: 0 4px 16px rgba(184, 150, 86, 0.15);
}

/* White ghost — for dark hero sections */
.btn--ghost-white {
  background-color: transparent;
  color: var(--color-text);
  border-color: rgba(238, 233, 225, 0.35);
}

.btn--ghost-white:hover {
  border-color: var(--color-text);
  background-color: rgba(238, 233, 225, 0.06);
}

/* Size variants */
.btn--sm {
  padding: 0.625rem 1.5rem;
  font-size: var(--text-xs);
}

.btn--lg {
  padding: 1.125rem 2.75rem;
  font-size: var(--text-base);
}

/* Icon button */
.btn--icon {
  padding: 0.75rem;
  aspect-ratio: 1;
  border-radius: var(--radius);
}

/* Arrow decoration — appended in markup as aria-hidden span */
.btn__arrow {
  display: inline-block;
  transition: transform var(--duration-base) var(--ease-spring);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}


/* ════════════════════════════════════════════════════════════
   9. NAVIGATION
   ════════════════════════════════════════════════════════════ */

[data-site-nav] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  /* Transparent by default; fills on scroll via JS class */
  transition: background-color var(--duration-slow) var(--ease-default),
              border-color     var(--duration-slow) var(--ease-default),
              backdrop-filter  var(--duration-slow) var(--ease-default);
  border-bottom: 1px solid transparent;
}

[data-site-nav].nav--scrolled {
  background-color: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--color-border);
}

/* ── Nav inner layout ─── */
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: var(--space-4);
}

/* ── Logo ─── */
.nav__logo {
  flex-shrink: 0;
  text-decoration: none;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
  transition: color var(--duration-base) var(--ease-default);
}

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

/* ── Desktop link list ─── */
.nav__links {
  display: none;          /* hidden on mobile; shown at 1024px+ */
  list-style: none;
  align-items: center;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-dim);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius);
  text-decoration: none;
  position: relative;
  transition: color var(--duration-base) var(--ease-default);
}

/* Underline animation */
.nav__link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: var(--space-2);
  right: var(--space-2);
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-out);
}

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

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__link--active {
  color: var(--color-accent);
}

.nav__link--active::after {
  transform: scaleX(1);
}

/* ── Nav actions (CTA button) ─── */
.nav__actions {
  display: none;          /* hidden on mobile */
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

/* ── Hamburger button ─── */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: var(--space-1);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background-color var(--duration-fast) var(--ease-default);
}

.nav__hamburger:hover {
  background-color: rgba(238, 233, 225, 0.06);
}

.nav__hamburger-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--color-text);
  transition: transform var(--duration-base) var(--ease-default),
              opacity   var(--duration-base) var(--ease-default);
  transform-origin: center;
}

/* ── Mobile panel ─── */
.nav__mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: min(360px, 85vw);
  background-color: var(--color-surface);
  border-left: 1px solid var(--color-border);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 0.5rem var(--space-4) var(--space-4);
  gap: 0;
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
  overflow-y: auto;
}

.nav__mobile-panel.is-open {
  transform: translateX(0);
}

/* Close button inside panel */
.nav__mobile-close {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  width: 44px;
  height: 44px;
  color: var(--color-text-dim);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: color var(--duration-fast), background-color var(--duration-fast);
  flex-shrink: 0;
  margin-bottom: 0;
}

.nav__mobile-close:hover {
  color: var(--color-text);
  background-color: rgba(238, 233, 225, 0.06);
}

/* Mobile nav links */
.nav__mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.nav__mobile-links .nav__link {
  display: block;
  font-size: var(--text-md);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
  letter-spacing: var(--tracking-wide);
}

.nav__mobile-links .nav__link::after {
  display: none;
}

.nav__mobile-cta {
  display: flex;
  margin-top: auto;
  padding-top: var(--space-3);
}

.nav__mobile-cta .btn {
  width: 100%;
  justify-content: center;
}

.nav__mobile-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.nav__mobile-info {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--duration-fast);
}

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

/* ── Overlay behind panel ─── */
.nav__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 1050;
  background: rgba(11, 15, 20, 0.75);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-default);
}

.nav__overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

/* Page offset — push content below fixed nav */
main,
[id="main"] {
  padding-top: var(--nav-height);
}

/* Exception: hero sections that sit flush under nav */
main.hero-flush {
  padding-top: 0;
}


/* ════════════════════════════════════════════════════════════
   10. FOOTER
   ════════════════════════════════════════════════════════════ */

[data-site-footer] {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  margin-top: auto;
  min-height: var(--footer-min);
}

.footer__inner {
  padding-block: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Top row: brand + nav columns */
.footer__top {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Brand column */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 340px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
  transition: color var(--duration-base);
}

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

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  max-width: none;
  line-height: var(--leading-snug);
}

/* Social icons */
.footer__social {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  margin-top: var(--space-1);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: color var(--duration-base) var(--ease-default),
              border-color var(--duration-base) var(--ease-default),
              background-color var(--duration-base) var(--ease-default);
}

.footer__social-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background-color: rgba(184, 150, 86, 0.06);
}

/* Nav columns grid */
.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6) var(--space-4);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  list-style: none;
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-snug);
  transition: color var(--duration-base) var(--ease-default);
  text-decoration: none;
}

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

/* Bottom row: copyright + address */
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.footer__copy,
.footer__address {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: var(--leading-snug);
  max-width: none;
}

.footer__credit {
  font-size: 0.625rem;
  color: var(--color-text-muted);
  opacity: 0.5;
  letter-spacing: var(--tracking-wide);
  margin-top: var(--space-3);
  max-width: none;
}


/* ════════════════════════════════════════════════════════════
   11. CARDS
   ════════════════════════════════════════════════════════════ */

.card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-default),
              transform    var(--duration-slow)  var(--ease-default),
              box-shadow   var(--duration-slow)  var(--ease-default);
}

.card:hover {
  border-color: var(--color-border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Image wrapper — preserves aspect ratio */
.card__image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background-color: var(--color-border);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--duration-slower) var(--ease-default);
}

.card:hover .card__image img {
  transform: scale(1.04);
}

/* Badge over card image */
.card__badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  padding: 0.25rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-bg);
  background-color: var(--color-accent);
  border-radius: var(--radius);
}

.card__badge--outline {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid rgba(238, 233, 225, 0.3);
}

/* Card body */
.card__body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.card__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-accent);
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-text);
}

.card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  flex: 1;
  max-width: none;
}

/* Specs row inside card */
.card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-2);
}

.card__spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card__spec-label {
  font-size: 10px;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.card__spec-value {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
}

/* Footer of card */
.card__footer {
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

/* Link card — entire card is clickable */
.card--link {
  text-decoration: none;
  color: inherit;
}

.card--link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}


/* ════════════════════════════════════════════════════════════
   12. SECTION UTILITIES
   ════════════════════════════════════════════════════════════ */

.section-header {
  margin-bottom: var(--space-6);
}

.section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header--center p {
  text-align: center;
}

/* Decorative horizontal rule under section heading */
.section-rule {
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--color-accent);
  margin-top: var(--space-3);
}

.section-rule--center {
  margin-inline: auto;
}

/* Surface section — slightly lifted bg */
.section--surface {
  background-color: var(--color-surface);
}

/* Border-top section divider */
.section--bordered {
  border-top: 1px solid var(--color-border);
}


/* ════════════════════════════════════════════════════════════
   13. BREADCRUMB
   ════════════════════════════════════════════════════════════ */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-block: var(--space-3);
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.breadcrumb__link {
  color: var(--color-text-muted);
  transition: color var(--duration-fast);
}

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

.breadcrumb__sep {
  color: var(--color-border-light);
}

.breadcrumb__current {
  color: var(--color-accent);
}


/* ════════════════════════════════════════════════════════════
   14. TAGS / BADGES
   ════════════════════════════════════════════════════════════ */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid var(--color-border-light);
  color: var(--color-text-dim);
  line-height: 1.5;
}

.tag--accent {
  border-color: rgba(184, 150, 86, 0.3);
  color: var(--color-accent);
  background-color: rgba(184, 150, 86, 0.08);
}

.tag--project {
  border-color: rgba(154, 163, 173, 0.3);
  color: var(--color-text-dim);
  background-color: rgba(154, 163, 173, 0.06);
}


/* ════════════════════════════════════════════════════════════
   15. DIVIDER
   ════════════════════════════════════════════════════════════ */

.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-block: var(--space-6);
}

.divider--accent {
  border-color: var(--color-accent);
  opacity: 0.4;
}


/* ════════════════════════════════════════════════════════════
   16. ANIMATIONS
   ════════════════════════════════════════════════════════════ */

/* Fade up — used for section reveals */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.96); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.animate-fade-up {
  animation: fadeUp var(--duration-slower) var(--ease-out) both;
}

.animate-fade-in {
  animation: fadeIn var(--duration-slow) var(--ease-default) both;
}

/* Stagger delays for children */
.stagger > *:nth-child(1) { animation-delay: 0ms; }
.stagger > *:nth-child(2) { animation-delay: 80ms; }
.stagger > *:nth-child(3) { animation-delay: 160ms; }
.stagger > *:nth-child(4) { animation-delay: 240ms; }
.stagger > *:nth-child(5) { animation-delay: 320ms; }
.stagger > *:nth-child(6) { animation-delay: 400ms; }

/* Respect 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;
  }
}


/* ════════════════════════════════════════════════════════════
   17. RESPONSIVE OVERRIDES
   ════════════════════════════════════════════════════════════ */

/* ── 640px — small tablets / large phones ── */
@media (min-width: 640px) {

  :root {
    --container-pad: var(--space-4);
  }

  .footer__nav {
    grid-template-columns: repeat(4, 1fr);
  }

}

/* ── 768px — tablets ── */
@media (min-width: 768px) {

  :root {
    --container-pad: var(--space-6);
  }

  .footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-8);
  }

  .footer__brand {
    flex-shrink: 0;
  }

  .footer__nav {
    flex: 1;
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .grid--2-tablet {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* ── 1024px — desktop ── */
@media (min-width: 1024px) {

  /* Show desktop nav elements */
  .nav__links {
    display: flex;
  }

  .nav__actions {
    display: flex;
  }

  /* Hide hamburger on desktop */
  .nav__hamburger {
    display: none;
  }

  .grid--3-desktop {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4-desktop {
    grid-template-columns: repeat(4, 1fr);
  }

}

/* ── 1280px — wide desktop ── */
@media (min-width: 1280px) {

  :root {
    --container-pad: var(--space-6);
  }

}


/* ════════════════════════════════════════════════════════════
   18. HOMEPAGE COMPONENTS (Phase 2)
   ════════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-bg);
}

/* Poster image — fills behind iframe */
.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* iframe cover technique — always fills viewport regardless of AR */
.hero__iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 177.77vh;      /* 16/9 × 100vh */
  min-width: 100%;
  height: 56.25vw;      /* 9/16 × 100vw */
  min-height: 100%;
  border: none;
  pointer-events: none;
  z-index: 1;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Dark overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

/* Foreground text */
.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  max-width: 860px;
}

.hero__h1 {
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  color: var(--color-text);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero__sub {
  font-size: clamp(var(--text-base), 2vw, var(--text-lg));
  color: rgba(238, 233, 225, 0.75);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  max-width: none;
  line-height: var(--leading-normal);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-2);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(238,233,225,0.5));
  animation: scrollPulse 2s ease-in-out infinite;
}

.hero__scroll-label {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(238,233,225,0.5);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}


/* ── Hero-flush: removes nav offset on hero pages ─────────── */

main.hero-flush {
  padding-top: 0;
}


/* ── Intro section ─────────────────────────────────────────── */

.intro__body {
  margin-top: var(--space-4);
}

.intro__body p + p {
  margin-top: var(--space-3);
}


/* ── Link arrow ────────────────────────────────────────────── */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-accent);
  transition: gap var(--duration-base) var(--ease-spring);
}

.link-arrow::after {
  content: "→";
  transition: transform var(--duration-base) var(--ease-spring);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}


/* ── Section header (heading + link row) ───────────────────── */

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}


/* ── Yacht grid ────────────────────────────────────────────── */

.yacht-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .yacht-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .yacht-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ── Yacht card ────────────────────────────────────────────── */

.yacht-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-default),
              transform    var(--duration-slow)  var(--ease-default),
              box-shadow   var(--duration-slow)  var(--ease-default);
}

.yacht-card:hover {
  border-color: var(--color-border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.yacht-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.yacht-card__img-wrap {
  position: relative;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  background-color: var(--color-border);
}

.yacht-card__img-wrap picture,
.yacht-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--duration-slower) var(--ease-default);
}

.yacht-card:hover .yacht-card__img-wrap img {
  transform: scale(1.04);
}

.yacht-card__body {
  padding: var(--space-3) var(--space-4) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.yacht-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.yacht-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: none;
  line-height: var(--leading-snug);
  min-height: 1.2em; /* reserve space while empty */
}

.yacht-card__cta {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  color: var(--color-accent);
  transition: letter-spacing var(--duration-base) var(--ease-spring);
}

.yacht-card:hover .yacht-card__cta {
  letter-spacing: 0.1em;
}


/* ── Badges (yacht status) ─────────────────────────────────── */

.badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  padding: 0.2rem 0.65rem;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  border-radius: var(--radius);
  line-height: 1.6;
}

.badge--launched {
  background-color: var(--color-accent);
  color: var(--color-bg);
}

.badge--development {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid rgba(238, 233, 225, 0.35);
}


/* ── Split layout (50/50 image + text) ─────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}

.split__media {
  overflow: hidden;
  border-radius: var(--radius);
}

.split__media picture,
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.split__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.split__content h2 {
  margin-top: 0;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}


/* ── Build CTA — full-bleed dark section ───────────────────── */

.build-cta {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.build-cta__inner {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.build-cta__headline {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
  color: var(--color-text);
  line-height: var(--leading-tight);
}

.build-cta__sub {
  font-size: var(--text-md);
  color: var(--color-text-dim);
  max-width: 56ch;
  line-height: var(--leading-loose);
}
/* ============================================================
   styles.css — PHASE 3 ADDITIONS
   Append this block to the end of /css/styles.css
   Sections added:
     18. Page Hero (60vh — /about/ and /shipyard/)
     19. Story Layout (/about/)
     20. Founder Section (/about/)
     21. Philosophy Cards (/about/)
     22. Timeline (/about/)
     23. Location Section (/about/)
     24. Capabilities Grid (/shipyard/)
     25. Shipyard Gallery (/shipyard/)
     26. Process Teaser (/shipyard/)
   ============================================================ */


/* ════════════════════════════════════════════════════════════
   18. PAGE HERO  (60vh — used on interior pages)
   ════════════════════════════════════════════════════════════ */

.page-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  max-height: 700px;
  display: flex;
  align-items: flex-end;          /* content sits near bottom of hero */
  overflow: hidden;
  background-color: var(--color-bg);
}

/* Background image fills the hero */
.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Gradient overlay — darker at bottom for legibility */
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 15, 20, 0.30) 0%,
    rgba(11, 15, 20, 0.65) 60%,
    rgba(11, 15, 20, 0.85) 100%
  );
  z-index: 1;
}

/* Content container sits above overlay */
.page-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: var(--space-6);
  width: 100%;
}

.page-hero__h1 {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
  color: var(--color-text);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
  margin-top: var(--space-2);
}


/* ════════════════════════════════════════════════════════════
   19. STORY LAYOUT  (/about/)
   ════════════════════════════════════════════════════════════ */

.story-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.story-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.story-header h2 {
  margin-top: 0;
}

.story-body p {
  max-width: 72ch;
}

@media (min-width: 1024px) {
  .story-layout {
    grid-template-columns: 1fr 1.6fr;
    gap: var(--space-8);
    align-items: start;
  }

  /* Sticky header column */
  .story-header {
    position: sticky;
    top: calc(var(--nav-height) + var(--space-4));
  }
}


/* ════════════════════════════════════════════════════════════
   20. FOUNDER SECTION  (/about/)
   ════════════════════════════════════════════════════════════ */

.founder-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}

/* Portrait */
.founder-portrait {
  overflow: hidden;
  border-radius: var(--radius);
  max-width: 420px;
}

.founder-portrait__img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform var(--duration-slower) var(--ease-default);
}

.founder-portrait:hover .founder-portrait__img {
  transform: scale(1.03);
}

/* Bio text */
.founder-bio {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.founder-bio__name {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  margin-top: 0;
}

.founder-bio__title {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
  max-width: none;
  line-height: var(--leading-normal);
}

@media (min-width: 768px) {
  .founder-layout {
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-8);
  }
}


/* ════════════════════════════════════════════════════════════
   21. PHILOSOPHY CARDS  (/about/)
   ════════════════════════════════════════════════════════════ */

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .philosophy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.philosophy-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color var(--duration-base) var(--ease-default),
              box-shadow   var(--duration-slow)  var(--ease-default),
              transform    var(--duration-slow)  var(--ease-default);
}

.philosophy-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent), var(--shadow-md);
  transform: translateY(-3px);
}

.philosophy-card__icon {
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 48px;
  height: 48px;
  background-color: rgba(184, 150, 86, 0.08);
  border-radius: var(--radius-lg);
  padding: 8px;
}

.philosophy-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  line-height: var(--leading-snug);
}

.philosophy-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-dim);
  line-height: var(--leading-loose);
  max-width: none;
  flex: 1;
}


/* ════════════════════════════════════════════════════════════
   22. TIMELINE  (/about/)
   ════════════════════════════════════════════════════════════ */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: grid;
  grid-template-columns: 5rem auto 1fr;
  gap: 0 var(--space-3);
  align-items: start;
}

/* Year label */
.timeline-item__year {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: var(--color-accent);
  line-height: 1;
  padding-top: 2px;
  text-align: right;
  letter-spacing: var(--tracking-tight);
}

/* Connector column: dot + vertical line */
.timeline-item__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.timeline-item__dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 4px;         /* align with year baseline */
  box-shadow: 0 0 0 3px rgba(184, 150, 86, 0.18);
}

.timeline-item__line {
  display: block;
  width: 1px;
  flex: 1;
  min-height: var(--space-6);
  background: linear-gradient(to bottom, var(--color-accent), var(--color-border));
  margin-top: var(--space-1);
  margin-bottom: 0;
}

/* Content column */
.timeline-item__content {
  padding-bottom: var(--space-6);
}

.timeline-item--last .timeline-item__content {
  padding-bottom: 0;
}

.timeline-item__label {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-1);
}

.timeline-item__desc {
  font-size: var(--text-sm);
  color: var(--color-text-dim);
  line-height: var(--leading-loose);
  max-width: 60ch;
}

@media (max-width: 639px) {
  .timeline-item {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .timeline-item__year {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
    font-size: var(--text-sm);
  }

  .timeline-item__connector {
    grid-column: 1;
    grid-row: 2;
    align-items: flex-start;
    padding-left: 2px;
  }

  .timeline-item__content {
    grid-column: 2;
    grid-row: 1 / 3;
    padding-left: 0;
  }
}


/* ════════════════════════════════════════════════════════════
   23. LOCATION SECTION  (/about/)
   ════════════════════════════════════════════════════════════ */

.location-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
}

@media (min-width: 768px) {
  .location-layout {
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-8);
    align-items: center;
  }
}

/* Address block */
.location-address {
  font-style: normal;
  margin-top: var(--space-4);
}

.location-address p {
  font-size: var(--text-md);
  color: var(--color-text-dim);
  line-height: var(--leading-loose);
  max-width: none;
}

/* Contact list under address */
.location-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
  list-style: none;
  padding: 0;
}

.location-contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-dim);
  letter-spacing: var(--tracking-wide);
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-default);
}

.location-contact-link:hover {
  color: var(--color-accent);
}

.location-contact-link svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

/* Map embed */
.location-map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 3;
}

.location-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  filter: grayscale(20%) contrast(1.05);
}


/* ════════════════════════════════════════════════════════════
   24. CAPABILITIES GRID  (/shipyard/)
   ════════════════════════════════════════════════════════════ */

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.capability-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-bg);
  transition: border-color var(--duration-base) var(--ease-default),
              background-color var(--duration-base) var(--ease-default);
}

.capability-card:hover {
  border-color: var(--color-border-light);
  background-color: var(--color-surface);
}

.capability-card__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--color-accent);
  width: 44px;
  height: 44px;
  background-color: rgba(184, 150, 86, 0.07);
  border-radius: var(--radius-lg);
  padding: 8px;
  margin-bottom: var(--space-1);
}

.capability-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  line-height: var(--leading-snug);
}

.capability-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-dim);
  line-height: var(--leading-loose);
  max-width: none;
  flex: 1;
}


/* ════════════════════════════════════════════════════════════
   25. SHIPYARD GALLERY  (/shipyard/)
       CSS-column masonry — no JS required.
   ════════════════════════════════════════════════════════════ */

.shipyard-gallery {
  columns: 1;
  column-gap: var(--space-3);
}

@media (min-width: 640px) {
  .shipyard-gallery {
    columns: 2;
  }
}

@media (min-width: 1024px) {
  .shipyard-gallery {
    columns: 3;
  }
}

.shipyard-gallery__item {
  break-inside: avoid;
  margin-bottom: var(--space-3);
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
}

.shipyard-gallery__item picture,
.shipyard-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease-default),
              filter    var(--duration-slower) var(--ease-default);
}

.shipyard-gallery__item:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

/* Tall variant spans more visual height in the column */
.shipyard-gallery__item--tall img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
  height: auto;
}


/* ════════════════════════════════════════════════════════════
   26. PROCESS TEASER  (/shipyard/)
   ════════════════════════════════════════════════════════════ */

.process-teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}

@media (min-width: 768px) {
  .process-teaser {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-8);
  }
}

.process-teaser__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.process-teaser__content h2 {
  margin-top: 0;
}

/* Stats block — three numbers arranged in a card-like group */
.process-teaser__stat-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

@media (max-width: 767px) {
  .process-teaser__stat-group {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-teaser__stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-bg);
  text-align: center;
}

.process-teaser__stat-value {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: var(--weight-bold);
  color: var(--color-accent);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.process-teaser__stat-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
  line-height: var(--leading-snug);
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE OVERRIDES — Phase 3
   ════════════════════════════════════════════════════════════ */

@media (min-width: 1024px) {
  .nav__links    { display: flex; }
  .nav__actions  { display: flex; }
  .nav__hamburger { display: none; }
}
/* ═══════════════════════════════════════════════════════════════════
   YACHT DETAIL PAGE — ADDITIONS
   Append this entire block to the bottom of /css/styles.css
   ═══════════════════════════════════════════════════════════════════ */


/* ── §1 IMAGE SLIDER ──────────────────────────────────────────────── */

.yacht-slider {
  position: relative;
  width: 100%;
  background: var(--color-bg, #0B0F14);
  overflow: hidden;
}

.yacht-slider__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.yacht-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.yacht-slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}

.yacht-slider__slide picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--color-bg, #0B0F14);
}

.yacht-slider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

/* Arrows */
.yacht-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.yacht-slider__arrow:hover,
.yacht-slider__arrow:focus-visible {
  background: rgba(0, 0, 0, 0.75);
}

.yacht-slider__arrow:focus-visible {
  outline: 2px solid var(--color-accent, #B89656);
  outline-offset: 2px;
}

.yacht-slider__arrow--prev { left: 1rem; }
.yacht-slider__arrow--next { right: 1rem; }

@media (min-width: 768px) {
  .yacht-slider__arrow {
    width: 3.5rem;
    height: 3.5rem;
  }
  .yacht-slider__arrow--prev { left: 1.5rem; }
  .yacht-slider__arrow--next { right: 1.5rem; }
}

/* Counter (1 / 12) */
.yacht-slider__counter {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  z-index: 10;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius, 2px);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff;
}


/* ── §2 YACHT HEADER — NAME + PRICE ROW ───────────────────────────── */

.yacht-header {
  padding-top: var(--space-6, 4rem);
  padding-bottom: var(--space-4, 2rem);
}

.yacht-header__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4, 2rem);
  flex-wrap: wrap;
}

.yacht-header__left {
  flex: 1 1 auto;
  min-width: 0;
}

/* Right side collapses to nothing if empty (no price) */
.yacht-header__right:empty {
  display: none;
}

.yacht-header__right {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  padding-top: 0.5rem;
}

.yacht-header__name {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-text, #EEE9E1);
  line-height: 1.1;
  margin: 0 0 0.75rem 0;
}

.yacht-header__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.yacht-header__stats {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 0.9375rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--color-text-dim, #9AA3AD);
}

.yacht-header__tagline {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-dim, #9AA3AD);
  max-width: 48rem;
  margin-top: var(--space-3, 1.5rem);
}

.yacht-header__price {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--color-accent, #B89656);
  white-space: nowrap;
}


/* ── §3 SPECIFICATIONS — responsive card grid ─────────────────────── */

.yacht-specs {
  border-top: 1px solid var(--color-border, #1E2630);
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .specs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .specs-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border, #1E2630);
}

@media (min-width: 640px) {
  .spec-item {
    padding: 1.5rem 1.5rem 1.5rem 0;
  }

  /* Right-column items get left border */
  .spec-item:nth-child(2n) {
    padding-left: 1.5rem;
    border-left: 1px solid var(--color-border, #1E2630);
  }
}

@media (min-width: 1024px) {
  .spec-item {
    padding: 1.5rem;
  }

  .spec-item:nth-child(2n) {
    border-left: none;
    padding-left: 1.5rem;
  }

  /* Every item except first column gets left border */
  .spec-item:nth-child(3n+2),
  .spec-item:nth-child(3n) {
    border-left: 1px solid var(--color-border, #1E2630);
  }
}

.spec-item__label {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim, #9AA3AD);
  margin: 0;
}

.spec-item__value {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text, #EEE9E1);
  margin: 0;
}


/* ── §4 DESCRIPTION ───────────────────────────────────────────────── */

.yacht-description {
  border-top: 1px solid var(--color-border, #1E2630);
}

.yacht-description__body p {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-text-dim, #9AA3AD);
  margin: 0 0 1.5rem 0;
}

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