/* VOYAGE — luxury travel, light + dark */

:root {
  --cream: #f6f1ea;
  --sand: #e9e0d4;
  --warm: #d5c8b6;
  --taupe: #9a8b7a;
  --brown: #5c5248;
  --dark: #2a2522;
  --white: #fcfaf7;
  --accent: #c9a96e;
  --accent-glow: rgba(201, 169, 110, 0.35);

  --bg: var(--cream);
  --bg-elevated: var(--white);
  --bg-section: var(--sand);
  --text: var(--brown);
  --text-muted: var(--taupe);
  --text-heading: var(--dark);
  --border: rgba(42, 37, 34, 0.1);
  --header-bg: rgba(246, 241, 234, 0.9);
  --hero-overlay-mid: rgba(42, 37, 34, 0.42);
  --shadow: rgba(42, 37, 34, 0.12);
  --grain-opacity: 0.035;
  --glow: rgba(201, 169, 110, 0.15);

  --display: "Fraunces", "Georgia", serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-h: 76px;
  --theme-transition: 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --cream: #141210;
  --sand: #1e1b18;
  --warm: #2d2925;
  --taupe: #8a7f72;
  --brown: #c4bbb0;
  --dark: #f5f0e8;
  --white: #1a1714;
  --accent: #d4b87a;
  --accent-glow: rgba(212, 184, 122, 0.25);

  --bg: #141210;
  --bg-elevated: #1a1714;
  --bg-section: #1e1b18;
  --text: #c4bbb0;
  --text-muted: #8a7f72;
  --text-heading: #f5f0e8;
  --border: rgba(245, 240, 232, 0.08);
  --header-bg: rgba(20, 18, 16, 0.92);
  --hero-overlay-mid: rgba(10, 8, 6, 0.55);
  --shadow: rgba(0, 0, 0, 0.45);
  --grain-opacity: 0.06;
  --glow: rgba(212, 184, 122, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition:
    background var(--theme-transition),
    color var(--theme-transition);
}

body.theme-transitioning * {
  transition:
    background-color var(--theme-transition),
    color var(--theme-transition),
    border-color var(--theme-transition),
    box-shadow var(--theme-transition) !important;
}

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

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

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

.container {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 10001;
  background: transparent;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--taupe));
  transform-origin: left;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
}

body.has-pointer .cursor-glow {
  opacity: 1;
}

/* Typography */
.logo {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  letter-spacing: 0.14em;
  color: var(--text-heading);
}

.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2.35rem, 5vw, 3.5rem);
  font-weight: 450;
  font-variation-settings: "opsz" 96;
  line-height: 1.1;
  color: var(--text-heading);
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2.1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out), background 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.btn-header {
  border: 1px solid currentColor;
  color: inherit;
  padding: 0.65rem 1.4rem;
}

.btn-header:hover {
  background: var(--text-heading);
  color: var(--bg);
  border-color: var(--text-heading);
}

.btn-hero {
  background: var(--text-heading);
  color: var(--bg);
  margin-top: 1.75rem;
  box-shadow: 0 12px 40px var(--shadow);
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px var(--shadow);
}

.btn-outline {
  border: 1px solid var(--text-heading);
  color: var(--text-heading);
}

.btn-outline:hover {
  background: var(--text-heading);
  color: var(--bg);
}

.btn-cta {
  background: var(--text-heading);
  color: var(--bg);
  margin-top: 1.25rem;
}

.btn-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 48px var(--shadow);
}

.btn-subscribe {
  background: var(--text-heading);
  color: var(--bg);
  padding: 0.75rem 1.25rem;
  flex-shrink: 0;
}

.link-more {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  display: inline-block;
  margin-top: 0.75rem;
}

.link-more::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.45s var(--ease-out);
}

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

.link-more:hover::after {
  width: 100%;
}

/* Theme toggle */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  padding: 4px;
}

.theme-toggle-track {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
  transition: background 0.4s, border-color 0.4s;
}

[data-theme="dark"] .theme-toggle-track,
.header.scrolled .theme-toggle-track {
  background: var(--warm);
  border-color: var(--border);
}

.theme-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px var(--shadow);
  transition: transform 0.45s var(--ease-spring), background 0.4s;
}

[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(20px);
  background: var(--accent);
}

.theme-toggle-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  transition: background 0.5s, box-shadow 0.5s, backdrop-filter 0.5s;
}

.header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.header .logo,
.header .nav a,
.header .theme-toggle {
  color: #fff;
  transition: color 0.4s;
}

.header.scrolled .logo,
.header.scrolled .nav a,
.header.scrolled .theme-toggle,
.header.scrolled .theme-toggle-label {
  color: var(--text-heading);
}

.header .btn-header {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.header.scrolled .btn-header {
  border-color: var(--text-heading);
  color: var(--text-heading);
}

.nav {
  display: flex;
  gap: 2.25rem;
}

.nav a {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease-out);
}

.nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: background 0.3s;
}

.header.scrolled .menu-toggle span {
  background: var(--text-heading);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-graphics {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.float-shape {
  position: absolute;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.float-shape--1 {
  width: 180px;
  height: 260px;
  top: 18%;
  left: 8%;
}

.float-shape--2 {
  width: 120px;
  height: 180px;
  bottom: 22%;
  right: 12%;
  opacity: 0.6;
}

.hero-svg {
  position: absolute;
  color: rgba(255, 255, 255, 0.2);
}

.hero-svg--globe {
  width: 100px;
  top: 20%;
  right: 15%;
}

.hero-svg--compass {
  width: 64px;
  bottom: 28%;
  left: 12%;
}

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

.hero-img {
  width: 100%;
  height: 125%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 18, 16, 0.35) 0%,
    var(--hero-overlay-mid) 45%,
    rgba(20, 18, 16, 0.2) 100%
  );
}

.hero-arch {
  position: absolute;
  width: clamp(260px, 38vw, 500px);
  height: clamp(380px, 52vh, 640px);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
  pointer-events: none;
}

.hero-arch--left {
  left: -6%;
  bottom: 8%;
  transform: rotate(-6deg);
}

.hero-arch--right {
  right: -4%;
  top: 12%;
  opacity: 0.5;
  transform: rotate(10deg);
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 5rem;
  max-width: 820px;
}

.hero-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 4.75rem);
  font-weight: 450;
  font-variation-settings: "opsz" 120;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.03em;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

.hero-sub {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  max-width: 460px;
  margin: 1.25rem auto 0;
  line-height: 1.75;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-scroll span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.6); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

.hero-social {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(1.25rem, 4vw, 3rem);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-social a {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
  writing-mode: vertical-rl;
  transition: color 0.3s, transform 0.3s;
}

.hero-social a:hover {
  color: #fff;
  transform: translateY(-3px);
}

.reveal {
  opacity: 0;
  transform: translateY(48px);
}

/* Marquee */
.marquee-wrap {
  background: var(--text-heading);
  color: var(--bg);
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.marquee {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.08em;
  will-change: transform;
}

.marquee span:nth-child(odd) {
  opacity: 0.5;
}

/* Stats */
.stats {
  padding: 4rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat {
  position: relative;
  padding: 1rem 0.5rem;
  cursor: default;
  border-radius: 12px;
  transition: background 0.35s var(--ease-out);
}

.stat:hover {
  background: rgba(201, 169, 110, 0.06);
}

.stat-value {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.15rem;
}

.stat-confetti {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 1px;
  height: 1px;
  pointer-events: none;
  z-index: 2;
}

.confetti-piece {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  will-change: transform, opacity;
  z-index: 10;
  box-shadow: 0 0 6px rgba(201, 169, 110, 0.45);
}

.stat-num {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 500;
  color: var(--text-heading);
  font-variation-settings: "opsz" 72;
  line-height: 1;
  transition: color 0.3s, transform 0.3s var(--ease-out);
}

.stat:hover .stat-num {
  color: var(--accent);
  transform: scale(1.04);
}

.stat-suffix {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--accent);
}

.stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Services */
.services {
  padding: 6.5rem 0 7.5rem;
  background: var(--bg-section);
  border-radius: 0 0 100px 100px;
  margin-top: -1px;
  position: relative;
  z-index: 4;
  overflow: hidden;
}

.section-deco--arch {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--bg);
  opacity: 0.5;
}

.services .section-title,
.services .section-label {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-elevated);
  border-radius: 0 0 28px 28px;
  padding: 0 1.5rem 2.25rem;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-glow), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}

.service-card:hover::before {
  opacity: 1;
}

.service-arch {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 50% 50% 0 0 / 28% 28% 0 0;
  overflow: hidden;
  margin: -2.25rem auto 1.5rem;
  max-width: 260px;
  box-shadow: 0 24px 60px var(--shadow);
  position: relative;
  background: linear-gradient(160deg, var(--warm) 0%, var(--sand) 50%, var(--taupe) 100%);
}

.service-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.8s var(--ease-out);
}

.service-card:hover .service-shine {
  transform: translateX(100%);
}

.service-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.service-card h3 {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Featured */
.featured {
  padding: 8rem 0;
  background: var(--bg);
  overflow: hidden;
}

.featured-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.featured-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 420px;
  font-size: 0.95rem;
}

.featured-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 440px;
}

.featured-ring {
  position: absolute;
  width: min(420px, 90vw);
  height: min(420px, 90vw);
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0.35;
  animation: ring-spin 24s linear infinite;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.featured-circle {
  width: min(360px, 80vw);
  height: min(360px, 80vw);
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 0 32px 90px var(--shadow);
}

.featured-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-arch-deco {
  position: absolute;
  width: 130%;
  height: 150%;
  bottom: -35%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--bg-section);
  z-index: 1;
}

.featured-badge {
  position: absolute;
  bottom: 10%;
  right: 5%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-heading);
  box-shadow: 0 8px 30px var(--shadow);
}

.featured-badge svg {
  color: var(--accent);
}

/* Experiences horizontal */
.experiences {
  padding: 5rem 0 6rem;
  background: var(--bg-section);
  overflow: hidden;
}

.experiences .section-label,
.experiences .section-title {
  text-align: center;
}

.experiences-track-wrap {
  margin-top: 2.5rem;
  overflow: hidden;
  cursor: grab;
}

.experiences-track-wrap:active {
  cursor: grabbing;
}

.experiences-track {
  display: flex;
  gap: 1.5rem;
  padding: 0 clamp(1rem, 4vw, 3rem);
  width: max-content;
}

.exp-card {
  flex: 0 0 280px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px var(--shadow);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}

.exp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 56px var(--shadow);
}

.exp-card-media {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--warm);
}

.exp-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 0.65s var(--ease-out);
  will-change: transform;
}

.exp-card-media.is-panning img {
  transition: transform 0.12s ease-out;
}

/* Fallback pan when JS is off */
.exp-card:hover .exp-card-media:not(.is-panning) img {
  transform: scale(1.2) translate3d(0, -4%, 0);
}

.exp-card-content {
  padding: 1.25rem 1.5rem;
}

.exp-card h4 {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.exp-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* Gallery */
.gallery {
  padding: 6rem 0 7rem;
  background: var(--bg-elevated);
}

.gallery .section-title,
.gallery .section-label {
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  text-align: center;
}

.gallery-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, var(--warm), var(--sand));
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 0.65s var(--ease-out);
  will-change: transform;
}

.gallery-img-wrap.is-panning img {
  transition: transform 0.12s ease-out;
}

.gallery-item:hover .gallery-img-wrap:not(.is-panning) img {
  transform: scale(1.16) translate3d(0, -3%, 0);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 18, 16, 0.75), transparent 55%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.45s;
}

.gallery-overlay span {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateY(12px);
  transition: transform 0.45s var(--ease-out);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

.gallery-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.meta-btn {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.3s;
}

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

.meta-share {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.65rem;
  font-weight: 600;
}

/* CTA */
.cta-arch {
  padding: 5rem 0 0;
  background: var(--bg);
  overflow: hidden;
  position: relative;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.cta-arch-shape {
  width: min(920px, 96vw);
  margin: 0 auto;
  min-height: 400px;
  background: var(--bg-section);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5.5rem 2rem 4rem;
  position: relative;
  border: 1px solid var(--border);
}

.cta-arch-svg {
  position: absolute;
  top: 2rem;
  width: 60%;
  max-width: 400px;
  color: var(--accent);
  opacity: 0.4;
}

.cta-path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
}

.cta-arch-inner {
  text-align: center;
  max-width: 500px;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
}

.cta-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  background: var(--bg-section);
  padding: 4.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 300px;
  line-height: 1.75;
}

.newsletter {
  display: flex;
  gap: 0;
  max-width: 340px;
  border-bottom: 1px solid var(--taupe);
}

.newsletter input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.85rem 0;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--text-heading);
  outline: none;
}

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

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-heading);
  margin-bottom: 1rem;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.35rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

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

/* Responsive */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }

  .featured-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .featured-desc {
    margin-inline: auto;
  }

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

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

@media (max-width: 768px) {
  .nav,
  .header-actions .btn-header {
    display: none;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .theme-toggle-label {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header.menu-open .nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .header.menu-open .nav a {
    color: var(--text-heading);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
  }

  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .newsletter {
    margin-inline: auto;
  }

  .hero-social {
    flex-direction: row;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1rem;
  }

  .hero-social a {
    writing-mode: horizontal-tb;
  }

  .hero-scroll {
    display: none;
  }

  .cursor-glow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-ring,
  .hero-scroll-line {
    animation: none;
  }

  .marquee {
    animation: none !important;
  }
}
