@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500.ttf") format("truetype");
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-400.ttf") format("truetype");
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-700.ttf") format("truetype");
}

/* Shared visual decisions apply to every page. */
:root {
  color-scheme: dark;
  --night: #080a0c;
  --surface: #101214;
  --paper: #f3efe7;
  --gold: #c9a96e;
  --gold-light: #e8d2a3;
  --muted: #c0bab0;
  --line: rgb(from var(--gold) r g b / 23%);
  --font-body: Manrope, Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --page-gutter: clamp(1.25rem, 5vw, 5.625rem);
  --section-space: clamp(3.5rem, 6.5vw, 6.5rem);
  --gold-gradient: linear-gradient(115deg, #b58d4b, #ead29a 55%, #c6a262);
  --panel-background:
    linear-gradient(145deg, rgb(from var(--gold) r g b / 6%), transparent 65%), #0c0f11f5;
}

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

body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font: 400 1rem/1.7 var(--font-body);
}

h1, h2, h3, p, figure {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
}

h1, h2 {
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(2.5rem, 4.75vw, 4.5rem);
  letter-spacing: -0.015em;
  line-height: 1.06;
  text-wrap: balance;
}

h3 {
  font-size: 1.875rem;
  line-height: 1.1;
}

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

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.3em;
}

a:hover {
  text-decoration: underline;
}

a:has(> .link-label):hover {
  text-decoration: none;
}

a:hover > .link-label {
  text-decoration: underline;
}

button, input, select {
  font: inherit;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
}

section[id] {
  scroll-margin-top: 2rem;
}

em {
  color: var(--gold-light);
  font-style: normal;
}

small {
  font-size: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--night);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-text {
  max-width: 36rem;
  margin-block: 1.75rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.9;
}

.muted {
  color: var(--muted);
  font-size: 0.875rem;
}

.section-padding {
  padding: var(--section-space) max(var(--page-gutter), calc((100% - 76rem) / 2));
}

/* Scenery fades into the page at the actual section edges. */
.section-atmosphere {
  --section-image: url("../images/paris-panorama-night.jpg");
  --scenery-opacity: 0.3;
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--night);
}

.section-atmosphere::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--section-image) center / cover;
  filter: blur(2px) saturate(0.85);
  opacity: var(--scenery-opacity);
  mask-image: linear-gradient(
    transparent, #000 clamp(3rem, 6vw, 6rem),
    #000 calc(100% - clamp(3rem, 6vw, 6rem)), transparent
  );
  pointer-events: none;
}

.atmosphere-river {
  --section-image: url("../images/pont-alexandre-night.jpg");
}

.atmosphere-interior {
  --section-image: url("../images/reservation-luxury.png");
}

.atmosphere-skyline {
  --section-image: url("../images/paris-signature-hero.jpg");
}

.section-heading {
  max-width: 52rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-heading .section-text {
  margin-inline: auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  color: var(--gold-light);
  font-size: 0.8125rem;
}

.text-link [aria-hidden="true"] {
  font-size: 1.125rem;
  transition: transform 250ms ease;
}

.text-link:hover [aria-hidden="true"] {
  transform: translateX(0.2rem);
}

.button-gold, .button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 1rem 1.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.button-gold {
  border: 1px solid rgb(from var(--gold-light) r g b / 40%);
  background: var(--gold-gradient);
  color: #171006;
  box-shadow: inset 0 1px rgb(255 255 255 / 15%), 0 4px 20px rgb(0 0 0 / 16%);
}

.button-gold span {
  font-size: 1rem;
}

.button-outline {
  border: 1px solid rgb(from var(--gold) r g b / 55%);
  background: rgb(from var(--gold) r g b / 3%);
  color: var(--gold-light);
}

.button-gold:hover, .button-outline:hover {
  text-decoration: none;
  box-shadow: 0 0 0 1px var(--gold-light);
}

.button-outline:hover {
  background: rgb(from var(--gold) r g b / 10%);
}

/* Shared reflection for booking buttons. */
.button-shine {
  position: relative;
  overflow: hidden;
}

.button-shine::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 45%), transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}

.button-shine:is(:hover, :focus-visible) {
  box-shadow: 0 0 0 1px var(--gold-light), 0 0 24px rgb(from var(--gold) r g b / 25%);
}

.button-shine:is(:hover, :focus-visible)::before {
  animation: gold-shine 850ms ease-in-out;
}

@keyframes gold-shine {
  to { transform: translateX(120%); }
}

/* Navigation remains identical across the site. */
.site-header {
  position: relative;
  z-index: 2;
  padding: 0.75rem var(--page-gutter);
  border-bottom: 1px solid var(--line);
  background: var(--night);
}

.header-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  justify-content: center;
  align-items: center;
  gap: 0.5rem clamp(2rem, 10vw, 6rem);
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
}

.brand {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  flex: none;
}

.header-actions {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-items: center;
  gap: 1rem;
}

.brand img, .footer-brand img {
  width: auto;
}

.brand img {
  height: 4rem;
}

.main-nav {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  grid-row: 2;
  justify-content: center;
  justify-items: center;
  align-items: center;
  width: 100%;
  column-gap: inherit;
  row-gap: 0.25rem;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 2vw, 1rem);
  letter-spacing: 0.075em;
  text-align: center;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  transition: text-shadow 250ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0.45rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 250ms ease;
}

.main-nav a:is(:hover, :focus-visible, [aria-current="page"]) {
  color: var(--gold-light);
  text-decoration: none;
}

.main-nav a:is(:hover, :focus-visible, [aria-current="page"])::after {
  transform: scaleX(1);
}

.language-current, .language-select {
  padding: 0.5rem;
  border: 1px solid var(--line);
  background: var(--night);
  color: var(--gold-light);
  font-size: 0.6875rem;
  font-weight: 700;
}

.language-select {
  width: 4rem;
  min-height: 2.75rem;
  cursor: pointer;
}

.site-header .button-gold {
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
}

/* The homepage is immersive; interior pages share a quieter hero. */
.hero, .page-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--night);
}

.hero-image, .hero::after, .page-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero::after, .page-hero::after {
  content: "";
  background:
    linear-gradient(0deg, var(--night), transparent 22%),
    linear-gradient(90deg,
      rgb(from var(--night) r g b / 94%), rgb(from var(--night) r g b / 76%) 32%,
      rgb(from var(--night) r g b / 15%) 75%, rgb(from var(--night) r g b / 25%)
    );
}

.hero-text {
  max-width: 33rem;
  margin-block: 2rem;
  color: #e6e0d5;
  font-size: 0.9375rem;
  line-height: 1.9;
}

.page-hero {
  display: flex;
  align-items: center;
  min-height: 29rem;
  padding: 4rem max(var(--page-gutter), calc((100% - 76rem) / 2));
}

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(3rem, 6vw, 6rem);
  letter-spacing: -0.02em;
  line-height: 1;
  text-wrap: balance;
}

.page-hero-content {
  min-width: 0;
  max-width: 44rem;
}

.split-section {
  --image-fade-direction: 180deg;
  --image-blend:
    linear-gradient(
      transparent, #000 clamp(2rem, 4vw, 4rem),
      #000 calc(100% - clamp(2rem, 4vw, 4rem)), transparent
    ),
    linear-gradient(
      var(--image-fade-direction), #000 calc(100% - clamp(3rem, 8vw, 7.5rem)), transparent
    );
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--night);
}

/* Keep the subject sharp while blending the edges toward the copy and adjoining sections. */
.split-image {
  width: 100%;
  height: clamp(20rem, 65vw, 32rem);
  object-fit: cover;
  filter: brightness(0.88);
  mask-image: var(--image-blend);
  mask-composite: intersect;
}

.interior-image {
  object-position: right center;
}

.split-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(2.5rem, 5vw, 5rem) var(--page-gutter);
}

.split-copy h2 {
  font-size: clamp(2.5rem, 3.9vw, 3.75rem);
}

.split-copy > :is(h2, .eyebrow) {
  text-align: center;
}

.split-copy > .section-text {
  margin-inline: auto;
}

.closing {
  --scenery-opacity: 0.5;
  padding-block: calc(var(--section-space) * 1.25);
  text-align: center;
}

.closing h2 {
  max-width: 55rem;
  margin-inline: auto;
}

.closing .section-text {
  margin-inline: auto;
}

.closing .actions, .help-section .actions {
  justify-content: center;
}

.help-section {
  background: radial-gradient(ellipse at 50% 100%, rgb(from var(--gold) r g b / 6%), transparent 70%);
  text-align: center;
}

.help-section h2 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
}

.help-section .section-text {
  margin-inline: auto;
}

/* The same cards are used on the homepage and the circuit index. */
.tours {
  --scenery-opacity: 0.22;
}

.tour-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.tour-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--panel-background);
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 16%);
  transition: transform 250ms ease, border-color 250ms ease;
}

.tour-card:is(:hover, :focus-within) {
  border-color: rgb(from var(--gold) r g b / 60%);
  transform: translateY(-2px);
}

.tour-image {
  --image-fade-direction: 180deg;
  display: block;
  height: 14rem;
  overflow: hidden;
  mask-image: linear-gradient(var(--image-fade-direction), #000 calc(100% - 2.5rem), transparent);
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.5rem, 2vw, 2rem);
}

.tour-content .eyebrow {
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
}

.tour-content h3 {
  color: var(--paper);
  font-size: 2rem;
}

.tour-card:is(:hover, :focus-within) h3 a {
  color: var(--gold-light);
  text-decoration: none;
}

.tour-facts {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.tour-price {
  margin-top: 1rem;
  font: 500 2.25rem/1.2 var(--font-display);
  color: var(--gold-light);
}

.tour-price small {
  display: block;
  margin-top: 0.375rem;
  color: var(--muted);
  font: 400 0.6875rem/1.5 var(--font-body);
}

.tour-description {
  flex: 1;
  margin-block: 1.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.card-actions {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.card-actions .button-outline {
  width: 100%;
  padding: 0.875rem 1.25rem;
}

@media (hover: hover) and (pointer: fine) {
  .tour-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
  }
}

.step-number {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--gold);
  font: 500 1.75rem/1 var(--font-display);
}

/* Shared footer. */
.site-footer {
  display: grid;
  gap: 3rem;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 20% 0, rgb(from var(--gold) r g b / 4%), transparent 55%), var(--night);
  font-size: 0.8125rem;
  text-align: center;
}

.footer-brand {
  display: inline-block;
  padding-block: 0.5rem 1rem;
}

.footer-brand img {
  height: 6.875rem;
}

.footer-tagline {
  color: var(--gold);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.footer-links .eyebrow {
  margin-bottom: 0.5rem;
}

.footer-links a {
  min-height: 1.75rem;
  overflow-wrap: anywhere;
}

.footer-instagram {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  max-width: 100%;
  margin-top: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgb(from var(--gold) r g b / 4%);
  color: var(--gold-light);
}

.footer-instagram .line-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
}

.footer-instagram-text {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.footer-instagram-text > span {
  color: var(--muted);
  font-size: 0.75rem;
}

.footer-instagram:is(:hover, :focus-visible) {
  border-color: var(--gold);
  background: rgb(from var(--gold) r g b / 8%);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .button-shine::before {
    display: none;
  }

  .main-nav a::after, .text-link [aria-hidden="true"],
  .button-gold, .button-outline, .tour-card {
    transition: none;
  }

  .tour-card:is(:hover, :focus-within) {
    transform: none;
  }
}

/* Tablet: layout changes only. */
@media (width >= 48rem) {
  .header-inner {
    display: flex;
    width: auto;
    gap: 0.75rem 1rem;
  }

  .header-actions {
    gap: inherit;
  }

  .brand img {
    height: 4.375rem;
  }

  .main-nav {
    display: flex;
    flex: 1;
    justify-content: center;
    width: auto;
    gap: clamp(0.625rem, 1.5vw, 1rem);
  }

  .main-nav a {
    white-space: nowrap;
  }

  .page-hero {
    min-height: 34rem;
  }

  .split-section {
    --image-fade-direction: 90deg;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section-reverse {
    --image-fade-direction: 270deg;
  }

  .split-image {
    height: 100%;
    min-height: 30rem;
  }

  .split-section-reverse > :first-child {
    grid-column: 2;
    grid-row: 1;
  }

  .split-section-reverse > .split-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .split-copy > :is(h2, .eyebrow) {
    text-align: start;
  }

  .split-copy > .section-text {
    margin-inline: 0;
  }

  .tour-card {
    display: grid;
    grid-template-columns: 38% minmax(0, 1fr);
  }

  .tour-image {
    --image-fade-direction: 90deg;
    height: 100%;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-identity {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    grid-column: 1 / -1;
    justify-content: space-between;
  }
}

/* Desktop: the third and final layout size. */
@media (width >= 64rem) {
  .header-inner {
    gap: 0.75rem 1.5rem;
  }

  .brand img {
    height: 5rem;
  }

  .main-nav {
    flex: initial;
    margin-left: auto;
    gap: clamp(1rem, 2vw, 2rem);
  }

  .page-hero {
    min-height: 36rem;
  }

  .split-section {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .split-section-reverse {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .split-section-reverse > .split-copy {
    padding-inline:
      max(var(--page-gutter), calc((100vw - 76rem) / 2)) clamp(1.5rem, 3vw, 3rem);
  }

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

  .tour-card {
    display: flex;
  }

  .tour-image {
    --image-fade-direction: 180deg;
    height: 14rem;
  }

  .site-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-identity {
    grid-column: auto;
  }
}
