@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #17140f;
  --black: #0d0d0c;
  --charcoal: #171714;
  --parchment: #efe2c3;
  --paper: #f8f3e7;
  --paper-deep: #e8dcc0;
  --gold: #b78b3f;
  --gold-light: #d7b86a;
  --sea: #38535a;
  --red: #7a2f2c;
  --white: #fffdf7;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 999;
  padding: .7rem 1rem;
  color: var(--black);
  background: var(--gold-light);
  border-radius: .35rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(11, 11, 10, 0.86);
  border-bottom: 1px solid rgba(215, 184, 106, 0.24);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(calc(100% - 2rem), var(--max-width));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--gold-light);
  border: 1px solid rgba(215, 184, 106, .45);
  border-radius: 50%;
  font-size: 1.25rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: .03em;
}

.brand small {
  margin-top: .18rem;
  color: rgba(255, 253, 247, .62);
  font-size: .67rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  position: relative;
  color: rgba(255, 253, 247, .76);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.55rem;
  height: 2px;
  background: var(--gold-light);
  transition: right .2s ease;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a:focus::after,
.main-nav a.active::after {
  right: 0;
}

.menu-button {
  display: none;
  align-items: center;
  gap: .55rem;
  color: var(--white);
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  width: 22px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -7px;
}

.menu-icon::after {
  top: 7px;
}

.menu-button[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-button[aria-expanded="true"] .menu-icon::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
    min-height: 100vh;

    background-image:
        linear-gradient(
            rgba(0,0,0,0.45),
            rgba(0,0,0,0.70)
        ),
        url("../images/arriere-plan.png");

    background-size: cover;
    background-position: 70% center;
    background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(500px) rotateX(62deg) scale(1.5);
  transform-origin: center bottom;
}

.hero::after {
  content: "☠";
  position: absolute;
  right: 5vw;
  bottom: -12vh;
  color: rgba(255, 255, 255, .025);
  font-size: min(44vw, 620px);
  line-height: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.14), transparent 38%),
    linear-gradient(to top, rgba(0,0,0,.55), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 2rem), 860px);
  padding-top: 80px;
  text-align: center;
}

.eyebrow,
.kicker,
.card-meta {
  margin: 0 0 .6rem;
  color: var(--gold-light);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.hero h1,
.section-heading h2,
.map-panel h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: .95;
}
.map-panel h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: .95;
}

.hero h1 {
  max-width: 880px;
  margin-inline: auto;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 8px 32px rgba(0, 0, 0, .35);
}

.hero-text {
  max-width: 690px;
  margin: 1.7rem auto 0;
  color: rgba(255, 253, 247, .78);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
}

.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .85rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--black);
  background: var(--gold-light);
}

.button-primary:hover,
.button-primary:focus {
  background: #e4c77c;
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255,255,255,.03);
}

.button-ghost:hover,
.button-ghost:focus {
  border-color: var(--white);
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.6rem;
  color: rgba(255,255,255,.55);
  font-size: 1.3rem;
  animation: bounce 1.8s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 1rem;
}

.section-light {
  background:
    radial-gradient(circle at 20% 10%, rgba(183, 139, 63, .08), transparent 22rem),
    var(--paper);
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 12%, rgba(183, 139, 63, .14), transparent 25rem),
    var(--charcoal);
}

.section-heading {
  width: min(100%, 720px);
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.section-heading h2,
.map-panel h2 {
  font-size: clamp(3rem, 7vw, 5.4rem);
}

.section-heading > p:last-child,
.map-panel > p {
  margin: 1rem auto 0;
  color: rgba(23, 20, 15, .66);
  font-size: 1.05rem;
}

.section-dark .section-heading > p:last-child {
  color: rgba(255, 253, 247, .66);
}

.cards {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  position: relative;
  min-height: 315px;
  padding: 2rem;
  overflow: hidden;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(23, 20, 15, .10);
  box-shadow: 0 10px 35px rgba(31, 27, 20, .06);
}

.featured-card {
  background: var(--ink);
  color: var(--white);
}

.card-number {
  position: absolute;
  top: .2rem;
  right: 1rem;
  color: rgba(23, 20, 15, .055);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 7rem;
  font-weight: 700;
  line-height: 1;
}

.featured-card .card-number {
  color: rgba(255,255,255,.04);
}

.card-content {
  position: relative;
  z-index: 1;
}

.card h3,
.crew-placeholder h3 {
  margin: .15rem 0 .8rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 1.05;
}

.card p:not(.card-meta) {
  color: rgba(23, 20, 15, .65);
}

.featured-card p:not(.card-meta) {
  color: rgba(255, 253, 247, .66);
}

.card-link {
  display: inline-block;
  margin-top: 1.2rem;
  color: var(--red);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.featured-card .card-link {
  color: var(--gold-light);
}

.muted-link {
  opacity: .72;
}

.crew-grid {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.crew-placeholder {
  min-height: 270px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(215, 184, 106, .17);
  background:
    linear-gradient(to top, rgba(0,0,0,.42), transparent),
    rgba(255,255,255,.025);
}

.crew-placeholder > span {
  margin-bottom: auto;
  color: var(--gold-light);
  font-size: 2rem;
}

.crew-placeholder p {
  margin-bottom: 0;
  color: rgba(255, 253, 247, .62);
}

.section-map {
  min-height: 680px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18, 22, 20, .98) 0%, rgba(18, 22, 20, .88) 45%, rgba(18,22,20,.38) 100%),
    radial-gradient(circle at 77% 50%, rgba(183,139,63,.36), transparent 12rem),
    repeating-radial-gradient(circle at 77% 50%, rgba(215,184,106,.14) 0 1px, transparent 1px 44px),
    #405759;
}

.map-panel {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  color: var(--white);
}

.map-panel > p {
  max-width: 610px;
  margin-left: 0;
  color: rgba(255,253,247,.68);
}

.route-list {
  width: min(100%, 560px);
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: route;
}

.route-list li {
  position: relative;
  padding: 1.05rem 1rem 1.05rem 3.8rem;
  border-top: 1px solid rgba(255,255,255,.12);
  counter-increment: route;
}

.route-list li:last-child {
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.route-list li::before {
  content: counter(route, decimal-leading-zero);
  position: absolute;
  left: .2rem;
  color: var(--gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
}

.route-list span,
.route-list small {
  display: block;
}

.route-list span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
}

.route-list small {
  color: rgba(255,255,255,.52);
}

.gallery-placeholder {
  width: min(100%, 850px);
  min-height: 280px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 2rem;
  text-align: center;
  border: 1px dashed rgba(23, 20, 15, .22);
  background: rgba(255,255,255,.35);
}

.gallery-symbol {
  color: var(--gold);
  font-size: 2rem;
}

.site-footer {
  padding: 2.5rem max(1rem, calc((100% - var(--max-width)) / 2));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  color: rgba(255,253,247,.72);
  background: #0d0d0c;
}

.site-footer strong {
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
}

.site-footer p {
  margin: .35rem 0 0;
  font-size: .86rem;
}

.footer-note {
  text-align: right;
}

@media (max-width: 860px) {
  .menu-button {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1rem 1rem;
    background: rgba(11, 11, 10, .98);
    border-bottom: 1px solid rgba(215,184,106,.24);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: .9rem 0;
  }

  .main-nav a::after {
    display: none;
  }

  .cards,
  .crew-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .crew-placeholder {
    min-height: 0;
  }

  .section-map {
    min-height: 620px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-note {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .header-inner {
    min-height: 66px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 18vw, 5.2rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-top: 4.3rem;
    padding-bottom: 4.3rem;
  }

  .section-heading h2,
  .map-panel h2 {
    font-size: 3.45rem;
  }

  .card {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
