:root {
  --color-navy: #132c54;
  --color-navy-deep: #071d36;
  --color-ink: #1b2740;
  --color-muted: #647086;
  --color-beige: #baa890;
  --color-beige-soft: #d9ccba;
  --color-cream: #f8f3ec;
  --color-cream-2: #f7f1e8;
  --color-paper: #fffdf8;
  --color-white: #ffffff;
  --color-cyan: #2cedff;
  --shadow-soft: 0 16px 42px -10px rgba(7, 29, 54, 0.13);
  --shadow-card: 0 12px 28px -6px rgba(19, 44, 84, 0.1);
  --radius-xl: 38px;
  --radius-lg: 32px;
  --radius-md: 24px;
  --container: min(100% - 64px, 1536px);
  --section-space: clamp(72px, 8vw, 132px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--color-ink);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-space);
  scroll-margin-top: 122px;
}

.section-heading {
  display: grid;
  gap: 28px;
  max-width: 690px;
}

.section-heading h2,
.hero h1,
.manifesto h2,
.contact h2 {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(2.45rem, 4vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.6;
}

.eyebrow {
  margin: 0;
  color: var(--color-beige);
  font-size: 0.875rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.eyebrow--light {
  color: var(--color-beige);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button--primary,
.button--nav {
  color: var(--color-white);
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.button--light {
  color: var(--color-navy-deep);
  background: var(--color-white);
  border-color: rgba(255, 255, 255, 0.42);
}

.button--ghost-light {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.42);
}

.button--outline {
  color: var(--color-navy);
  background: transparent;
  border-color: rgba(19, 44, 84, 0.26);
}

.section-heading,
.about__media,
.about__content,
.tour-card,
.experience-card,
.essence-card,
.service-card,
.testimonial-card,
.post-card,
.contact__panel {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scenic-break {
  height: clamp(280px, 32vw, 516px);
  overflow: hidden;
  background: var(--color-navy);
}

.scenic-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-block {
  position: relative;
  min-width: 0;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 14px;
}

.carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0 0 4px;
  color: var(--color-navy);
  background: var(--color-paper);
  border: 1px solid rgba(19, 44, 84, 0.16);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.carousel-arrow:hover {
  color: var(--color-white);
  background: var(--color-navy);
  transform: translateY(-2px);
}

[data-carousel-track] {
  cursor: grab;
  user-select: none;
}

.carousel-block.is-dragging [data-carousel-track] {
  cursor: grabbing;
  scroll-snap-type: none;
}

@media (max-width: 980px) {
  :root {
    --container: min(100% - 36px, 720px);
    --section-space: 76px;
  }

  .section-heading {
    gap: 20px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 520px);
  }

  .section {
    scroll-margin-top: 204px;
  }

  .section-heading h2,
  .hero h1,
  .manifesto h2,
  .contact h2 {
    font-size: clamp(2.15rem, 12vw, 3rem);
    line-height: 1.08;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

  .carousel-controls {
    justify-content: flex-start;
  }
}
