/* Ёлки-иголки — design system */
:root {
  --spruce: #0e1a14;
  --spruce-mid: #1b2e24;
  --needle: #2f4a3a;
  --needle-lit: #3d5c48;
  --cedar: #a67c52;
  --amber: #c4a35a;
  --amber-glow: #e8b86d;
  --mist: #f4f6f3;
  --mist-dim: #d8ddd6;
  --charcoal: #2a2a28;
  --taupe: #6b5e54;
  --ink: #121a16;
  --glass: rgba(14, 26, 20, 0.72);
  --line: rgba(244, 246, 243, 0.12);
  --line-dark: rgba(18, 26, 22, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-settle: cubic-bezier(0.19, 1, 0.22, 1);
  --font: "Manrope", system-ui, sans-serif;
  --wrap: min(1180px, calc(100% - 48px));
  --nav-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--spruce);
  color: var(--mist);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* WebP wrappers must not create an extra box (breaks cover/centering) */
picture {
  display: contents;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--amber);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* Type */
.brand-word {
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  max-width: 680px;
  text-wrap: balance;
  color: #ffffff;
  text-shadow: 0 2px 32px rgba(14, 26, 20, 0.45);
}

.heading-1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
  max-width: 680px;
}

.heading-2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
}

.heading-3 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-glow);
  margin-bottom: 16px;
  background: linear-gradient(
    90deg,
    #a67c52 0%,
    #c4a35a 25%,
    #e8b86d 50%,
    #f4f6f3 60%,
    #c4a35a 75%,
    #a67c52 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-flow 4.5s linear infinite;
}

.lede {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--mist-dim);
  max-width: 42ch;
  text-wrap: pretty;
}

.body-muted {
  color: var(--mist-dim);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    color 0.3s var(--ease), opacity 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--amber-glow);
  outline-offset: 3px;
}

.btn-primary {
  color: var(--ink);
  border-color: transparent;
  background: linear-gradient(
    120deg,
    #a67c52 0%,
    #c4a35a 22%,
    #e8b86d 45%,
    #f4f6f3 55%,
    #e8b86d 68%,
    #c4a35a 85%,
    #a67c52 100%
  );
  background-size: 240% 240%;
  animation: shimmer-flow 3.8s ease infinite;
  box-shadow:
    0 0 14px rgba(196, 163, 90, 0.35),
    0 0 28px rgba(232, 184, 109, 0.18);
}

.btn-primary:hover {
  box-shadow:
    0 0 18px rgba(232, 184, 109, 0.55),
    0 0 36px rgba(196, 163, 90, 0.28);
}

.btn-ghost {
  color: var(--mist);
  background:
    linear-gradient(rgba(14, 26, 20, 0.55), rgba(14, 26, 20, 0.55)) padding-box,
    linear-gradient(
      120deg,
      #c4a35a,
      #2f4a3a,
      #e8b86d,
      #f4f6f3,
      #a67c52,
      #c4a35a
    ) border-box;
  background-size: 100% 100%, 240% 240%;
  border: 1px solid transparent;
  animation: shimmer-border 5s linear infinite;
  box-shadow: 0 0 12px rgba(196, 163, 90, 0.12);
}

.btn-ghost:hover {
  color: var(--amber-glow);
  box-shadow: 0 0 18px rgba(232, 184, 109, 0.28);
}

.btn-dark {
  color: var(--mist);
  background: linear-gradient(
    130deg,
    #0e1a14 0%,
    #1b2e24 30%,
    #2f4a3a 55%,
    #c4a35a 78%,
    #1b2e24 100%
  );
  background-size: 220% 220%;
  animation: shimmer-flow 5.5s ease infinite;
  box-shadow: 0 0 14px rgba(47, 74, 58, 0.35);
}

.btn-dark:hover {
  box-shadow: 0 0 20px rgba(196, 163, 90, 0.3);
}

@keyframes shimmer-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmer-border {
  0% { background-position: 0% 0%, 0% 50%; }
  100% { background-position: 0% 0%, 200% 50%; }
}

@keyframes gold-pulse {
  0%, 100% {
    color: #c4a35a;
    text-shadow: 0 0 4px rgba(196, 163, 90, 0.35);
    transform: scale(1);
  }
  50% {
    color: #e8b86d;
    text-shadow:
      0 0 10px rgba(232, 184, 109, 0.85),
      0 0 22px rgba(196, 163, 90, 0.45);
    transform: scale(1.06);
  }
}

@keyframes icon-shimmer {
  0%, 100% { color: #c4a35a; filter: drop-shadow(0 0 2px rgba(196, 163, 90, 0.25)); }
  50% { color: #e8b86d; filter: drop-shadow(0 0 8px rgba(232, 184, 109, 0.65)); }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Nav */
.site-header {
  position: fixed;
  inset: 16px 0 auto;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  max-width: calc(100% - 24px);
}

.nav-brand {
  padding-inline: 4px 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mist-dim);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--mist);
  background: rgba(244, 246, 243, 0.08);
}

.nav-cta {
  margin-left: 4px;
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.875rem;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--mist);
  cursor: pointer;
  position: relative;
  z-index: 120;
  overflow: visible;
  flex-shrink: 0;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 7px));
}

.nav-toggle span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.nav-toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 7px));
}

.nav-toggle[aria-expanded="true"] {
  color: var(--amber-glow);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, -50%) scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-panel {
  display: none;
}

@media (max-width: 920px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  body.menu-open .site-header .nav-brand {
    opacity: 0;
    pointer-events: none;
  }

  body.menu-open .site-header {
    z-index: 110;
  }

  body.menu-open .nav {
    background: rgba(14, 26, 20, 0.7);
    border-color: rgba(196, 163, 90, 0.45);
    padding: 6px;
    gap: 0;
    backdrop-filter: blur(12px);
    overflow: visible;
  }

  .nav-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 95;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
    overflow: hidden;
  }

  .nav-panel.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-panel-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .nav-panel-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    filter: saturate(0.85) brightness(0.55);
  }

  .nav-panel-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(14, 26, 20, 0.72) 0%, rgba(14, 26, 20, 0.88) 45%, rgba(14, 26, 20, 0.96) 100%),
      radial-gradient(ellipse at 70% 0%, rgba(196, 163, 90, 0.16), transparent 50%);
  }

  .nav-panel-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 88px 28px 32px;
  }

  .nav-panel-kicker {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(16px);
    background: linear-gradient(90deg, #a67c52, #e8b86d, #f4f6f3, #c4a35a);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer-flow 4s linear infinite;
  }

  .nav-panel-title {
    font-size: clamp(2rem, 8vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 36px;
    max-width: 10ch;
    opacity: 0;
    transform: translateY(16px);
  }

  .nav-panel ul {
    list-style: none;
    display: grid;
    gap: 0;
    flex: 1;
  }

  .nav-panel ul a {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(244, 246, 243, 0.1);
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--mist);
    opacity: 0;
    transform: translateY(24px);
    transition: color 0.3s var(--ease);
  }

  .nav-panel ul a .idx {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--amber);
    min-width: 1.6rem;
    background: linear-gradient(90deg, #a67c52, #e8b86d, #c4a35a);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer-flow 3.5s linear infinite;
  }

  .nav-panel ul a:hover,
  .nav-panel ul a[aria-current="page"] {
    color: var(--amber-glow);
  }

  .nav-panel-foot {
    margin-top: 28px;
    display: grid;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
  }

  .nav-panel-foot .btn {
    width: 100%;
    min-height: 52px;
    border-radius: 14px;
  }

  .nav-panel-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px;
    color: var(--mist-dim);
    font-weight: 600;
    font-size: 0.95rem;
  }

  .nav-panel-phone:hover {
    color: var(--mist);
  }

  .nav-panel.is-open .nav-panel-kicker,
  .nav-panel.is-open .nav-panel-title,
  .nav-panel.is-open ul a,
  .nav-panel.is-open .nav-panel-foot {
    opacity: 1;
    transform: none;
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  }

  .nav-panel.is-open .nav-panel-kicker { transition-delay: 40ms; }
  .nav-panel.is-open .nav-panel-title { transition-delay: 80ms; }
  .nav-panel.is-open ul li:nth-child(1) a { transition-delay: 120ms; }
  .nav-panel.is-open ul li:nth-child(2) a { transition-delay: 160ms; }
  .nav-panel.is-open ul li:nth-child(3) a { transition-delay: 200ms; }
  .nav-panel.is-open ul li:nth-child(4) a { transition-delay: 240ms; }
  .nav-panel.is-open ul li:nth-child(5) a { transition-delay: 280ms; }
  .nav-panel.is-open ul li:nth-child(6) a { transition-delay: 320ms; }
  .nav-panel.is-open .nav-panel-foot { transition-delay: 360ms; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 3.2s var(--ease-settle);
}

.hero.is-ready .hero-media img {
  transform: scale(1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 26, 20, 0.35) 0%, rgba(14, 26, 20, 0.55) 40%, rgba(14, 26, 20, 0.85) 100%),
    radial-gradient(ellipse at 30% 20%, rgba(196, 163, 90, 0.12), transparent 50%);
}

.hero-content {
  padding: 100px 0 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease) 0.25s, transform 0.9s var(--ease) 0.25s;
}

@media (max-width: 520px) {
  .hero-logo-orb {
    --orb: min(300px, 78vw);
  }

  .hero-content {
    padding: 92px 0 48px;
  }
}

.hero-logo-orb {
  --orb: min(380px, 72vw);
  position: relative;
  width: var(--orb);
  height: var(--orb);
  margin-bottom: 28px;
  display: grid;
  place-items: center;
}

.hero-logo-orb__glow {
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  z-index: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(232, 184, 109, 0.55), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(47, 74, 58, 0.7), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(166, 124, 82, 0.35), transparent 60%);
  filter: blur(28px);
  opacity: 0.95;
  animation: hero-glow 6s var(--ease) infinite alternate;
}

.hero-logo-orb__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 1;
  padding: 3px;
  background: conic-gradient(
    from 0deg,
    #e8b86d,
    #c4a35a,
    #2f4a3a,
    #f4f6f3,
    #a67c52,
    #e8b86d,
    #c4a35a
  );
  animation: hero-spin 7s linear infinite;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  filter:
    drop-shadow(0 0 10px rgba(232, 184, 109, 0.75))
    drop-shadow(0 0 28px rgba(196, 163, 90, 0.55))
    drop-shadow(0 8px 24px rgba(14, 26, 20, 0.65));
}

.hero-logo-orb__core {
  position: relative;
  z-index: 2;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 28%, rgba(244, 246, 243, 0.22), transparent 42%),
    linear-gradient(
      135deg,
      #1b2e24 0%,
      #0e1a14 28%,
      #2f4a3a 52%,
      #a67c52 72%,
      #c4a35a 86%,
      #1b2e24 100%
    );
  background-size: 220% 220%;
  animation: hero-orb-shift 9s ease-in-out infinite alternate;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 0 48px rgba(14, 26, 20, 0.55),
    inset 0 0 12px rgba(232, 184, 109, 0.2);
}

.hero-logo-orb__core img {
  width: 76%;
  height: auto;
  position: relative;
  z-index: 1;
  /* Wordmark sits in lower half of the asset — lift for optical center */
  transform: translateY(-27%);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

@keyframes hero-spin {
  to { transform: rotate(360deg); }
}

@keyframes hero-orb-shift {
  from { background-position: 0% 40%; }
  to { background-position: 100% 60%; }
}

@keyframes hero-glow {
  from { opacity: 0.7; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1.04); }
}

.hero-content .brand-word {
  /* logo already carries the name; keep compact SEO title */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-content .eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

.hero-content .hero-sub,
.hero-content .lede {
  margin-inline: auto;
  font-size: clamp(1.25rem, 3.2vw, 1.75rem);
  line-height: 1.4;
  max-width: 22ch;
}

.hero-content .proof {
  justify-content: center;
  font-size: 1.05rem;
  gap: 10px 20px;
  margin-top: 24px;
}

.hero-content .cta-row {
  justify-content: center;
  margin-top: 28px;
}

.hero-content .cta-row .btn {
  min-height: 54px;
  padding: 12px 22px;
  font-size: 1.05rem;
}

.nav-logo {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-brand-text {
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.footer-logo,
.nav-panel-logo {
  width: min(220px, 75%);
  height: auto;
  margin-bottom: 16px;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: none;
  box-shadow: none;
  animation: none;
  /* light wordmark version — no cream plate needed */
  filter:
    drop-shadow(0 0 10px rgba(196, 163, 90, 0.28))
    drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.nav-panel-logo {
  width: min(180px, 52vw);
  opacity: 0;
  transform: translateY(16px);
}

.nav-panel.is-open .nav-panel-logo {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: 60ms;
}

.hero.is-ready .hero-content {
  opacity: 1;
  transform: none;
}

.hero-sub {
  margin-top: 16px;
  max-width: 680px;
  color: var(--mist-dim);
  text-wrap: pretty;
}

.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--mist-dim);
}

.proof strong {
  color: var(--amber-glow);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(232, 184, 109, 0.45);
  animation: gold-pulse 3s ease-in-out infinite;
  display: inline-block;
}

/* Sections */
.section {
  padding: 96px 0;
  position: relative;
}

.section-tight {
  padding: 64px 0;
}

.section-mist {
  background: var(--mist);
  color: var(--ink);
}

.section-mist .lede,
.section-mist .body-muted {
  color: var(--taupe);
}

.section-mist .eyebrow {
  background: linear-gradient(90deg, #8b6914, #a67c52, #c4a35a, #8b6914);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-needle {
  background: var(--spruce-mid);
}

.bleed-photo {
  position: relative;
  min-height: 70svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.bleed-photo .bg {
  position: absolute;
  inset: -8%;
  z-index: -2;
  will-change: transform;
}

.bleed-photo .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bleed-photo .shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(14, 26, 20, 0.88) 0%, rgba(14, 26, 20, 0.45) 55%, rgba(14, 26, 20, 0.25) 100%);
}

/* Tagline words */
.tagline {
  padding: 120px 0;
  background: var(--spruce);
}

.tagline-lines {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 14ch;
}

.tagline-lines .word {
  display: inline-block;
  margin-right: 0.28em;
  color: rgba(244, 246, 243, 0.28);
  transition: color 0.55s var(--ease), text-shadow 0.55s var(--ease), filter 0.55s var(--ease);
}

.tagline-lines .word.is-on {
  color: transparent;
  background: linear-gradient(
    90deg,
    #f4f6f3 0%,
    #e8b86d 35%,
    #f4f6f3 55%,
    #c4a35a 80%,
    #f4f6f3 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-flow 3.2s ease infinite;
  text-shadow: none;
  filter: drop-shadow(0 0 10px rgba(232, 184, 109, 0.25));
}

.tagline-lines .line {
  display: block;
}

/* Cards / grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 640px) and (max-width: 900px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cabin-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 16px;
  overflow: hidden;
  background: var(--spruce-mid);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), border-color 0.3s var(--ease);
}

.cabin-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 163, 90, 0.35);
}

.cabin-card .media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.cabin-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.cabin-card:hover .media img {
  transform: scale(1.03);
}

.cabin-card .body {
  padding: 24px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.cabin-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.875rem;
  color: var(--mist-dim);
}

.tile {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(14, 26, 20, 0.35);
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
}

.tile:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 163, 90, 0.3);
}

.section-mist .tile {
  background: #fff;
  border-color: var(--line-dark);
}

.tile i {
  font-size: 1.75rem;
  color: var(--amber);
  margin-bottom: 12px;
  animation: icon-shimmer 3.4s ease-in-out infinite;
}

.tile h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.tile p {
  font-size: 0.95rem;
  color: var(--mist-dim);
}

.section-mist .tile p {
  color: var(--taupe);
}

/* Amenities */
.amenity {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.section-mist .amenity {
  border-color: var(--line-dark);
  background: #fff;
  color: var(--ink);
}

.amenity i {
  color: var(--amber);
  font-size: 1.35rem;
  margin-top: 2px;
  animation: icon-shimmer 3.8s ease-in-out infinite;
}

.amenity:nth-child(2n) i { animation-delay: 0.4s; }
.amenity:nth-child(3n) i { animation-delay: 0.8s; }
.amenity:nth-child(4n) i { animation-delay: 1.2s; }

.amenity span {
  font-weight: 600;
}

/* Sticky story */
.sticky-story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.sticky-story .pin {
  position: sticky;
  top: 96px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.sticky-story .pin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sticky-story .captions {
  display: grid;
  gap: 0;
}

.sticky-story .caption {
  min-height: 50svh;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.sticky-story .caption:last-child {
  border-bottom: 0;
}

@media (max-width: 900px) {
  .sticky-story {
    grid-template-columns: 1fr;
  }
  .sticky-story .pin {
    position: relative;
    top: 0;
    aspect-ratio: 16 / 10;
  }
  .sticky-story .caption {
    min-height: 0;
    padding: 24px 0;
  }
}

/* Reviews */
.review {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(27, 46, 36, 0.65);
  display: grid;
  gap: 16px;
}

.review .stars {
  display: inline-block;
  color: var(--amber);
  letter-spacing: 2px;
  font-size: 0.95rem;
  animation: gold-pulse 2.4s ease-in-out infinite;
  transform-origin: left center;
}

.review:nth-child(2) .stars { animation-delay: 0.35s; }
.review:nth-child(3) .stars { animation-delay: 0.7s; }

.review blockquote {
  font-size: 1.05rem;
  font-weight: 600;
  text-wrap: pretty;
}

.review .who {
  font-size: 0.875rem;
  color: var(--mist-dim);
}

/* Distance chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mist-dim);
  background:
    linear-gradient(rgba(14, 26, 20, 0.45), rgba(14, 26, 20, 0.45)) padding-box,
    linear-gradient(120deg, #c4a35a, #2f4a3a, #e8b86d, #c4a35a) border-box;
  background-size: 100% 100%, 220% 220%;
  animation: shimmer-border 6s linear infinite;
}

.chip strong {
  color: var(--amber-glow);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(232, 184, 109, 0.35);
}

/* Page hero compact */
.page-hero {
  padding: 140px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero .page-logo {
  width: 72px;
  height: auto;
  margin-bottom: 16px;
  display: block;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(196, 163, 90, 0.14), transparent 45%),
    linear-gradient(180deg, var(--spruce-mid), var(--spruce));
  z-index: -1;
}

/* Gallery */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(14, 26, 20, 0.35), rgba(14, 26, 20, 0.35)) padding-box,
    linear-gradient(120deg, #2f4a3a, #c4a35a, #2f4a3a) border-box;
  background-size: 100% 100%, 200% 200%;
  color: var(--mist-dim);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  animation: shimmer-border 7s linear infinite;
  transition: color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.filter-btn.is-active,
.filter-btn:hover {
  color: var(--ink);
  background: linear-gradient(
    120deg,
    #a67c52,
    #c4a35a,
    #e8b86d,
    #c4a35a,
    #a67c52
  );
  background-size: 220% 220%;
  animation: shimmer-flow 3s ease infinite;
  box-shadow: 0 0 14px rgba(196, 163, 90, 0.35);
}

.gallery-grid {
  columns: 3 240px;
  column-gap: 12px;
}

.gallery-grid figure {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}

.gallery-grid img {
  width: 100%;
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease);
}

.gallery-grid figure:hover img {
  transform: scale(1.03);
}

.gallery-grid figure.is-hidden {
  display: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 14, 11, 0.92);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-height: min(88svh, 900px);
  max-width: min(92vw, 1200px);
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--mist);
  cursor: pointer;
  font-size: 1.25rem;
}

/* Form */
.form {
  display: grid;
  gap: 16px;
  max-width: 560px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.875rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(244, 246, 243, 0.04);
  color: var(--mist);
  transition: border-color 0.3s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
}

.field .error {
  color: #e08a7a;
  font-size: 0.8rem;
  display: none;
}

.field.is-invalid .error {
  display: block;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #e08a7a;
}

.form-note {
  font-size: 0.85rem;
  color: var(--mist-dim);
}

.map-embed {
  border: 0;
  width: 100%;
  min-height: 360px;
  border-radius: 16px;
  border: 1px solid var(--line);
}

/* Steps */
.steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 700;
  background: linear-gradient(
    135deg,
    #a67c52 0%,
    #c4a35a 25%,
    #e8b86d 45%,
    #f4f6f3 55%,
    #c4a35a 75%,
    #2f4a3a 100%
  );
  background-size: 220% 220%;
  animation: shimmer-flow 3.6s ease infinite;
  box-shadow:
    0 0 12px rgba(196, 163, 90, 0.45),
    0 0 24px rgba(232, 184, 109, 0.2);
}

.step:nth-child(2)::before { animation-delay: 0.45s; }
.step:nth-child(3)::before { animation-delay: 0.9s; }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--amber);
  font-weight: 400;
  font-size: 1.25rem;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin-top: 12px;
  color: var(--mist-dim);
  max-width: 60ch;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 96px 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(196, 163, 90, 0.18), transparent 55%),
    var(--spruce-mid);
}

.final-cta .page-logo {
  margin-inline: auto;
  margin-bottom: 20px;
}

.final-cta .heading-2 {
  margin-inline: auto;
}

.final-cta .lede {
  margin: 16px auto 0;
}

.final-cta .cta-row {
  justify-content: center;
}

/* Footer */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--spruce);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
  background: linear-gradient(90deg, #a67c52, #e8b86d, #c4a35a, #a67c52);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-flow 5s linear infinite;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: var(--mist-dim);
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--mist);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--mist-dim);
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal-css {
      opacity: 1;
      transform: none;
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 30%;
    }
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-content,
  .hero-media img,
  .tagline-lines .word,
  .nav-panel-kicker,
  .nav-panel-title,
  .nav-panel-logo,
  .nav-panel ul a,
  .nav-panel-foot {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .hero-logo-orb__glow,
  .hero-logo-orb__ring,
  .hero-logo-orb__core,
  .btn-primary,
  .btn-ghost,
  .btn-dark,
  .eyebrow,
  .step::before,
  .review .stars,
  .tile i,
  .amenity i,
  .chip,
  .filter-btn,
  .price-pill,
  .stat b,
  .proof strong,
  .tagline-lines .word.is-on {
    animation: none !important;
  }

  .eyebrow,
  .tagline-lines .word.is-on,
  .stat b {
    -webkit-text-fill-color: unset;
    color: var(--amber-glow);
    background: none;
  }

  .tagline-lines .word.is-on {
    color: var(--mist);
  }

  .btn-primary {
    background: var(--amber);
  }

  .btn-ghost {
    background: transparent;
    border-color: var(--line);
  }

  .btn-dark {
    background: var(--spruce);
  }

  .step::before {
    background: rgba(196, 163, 90, 0.2);
    color: var(--amber-glow);
    box-shadow: none;
  }

  .price-pill {
    background: rgba(196, 163, 90, 0.15);
    color: var(--amber-glow);
  }

  .review .stars {
    transform: none;
    text-shadow: none;
    color: var(--amber);
  }

  .tagline-lines .word {
    color: var(--mist) !important;
  }

  .hero-media img {
    transform: none !important;
  }
}

/* Split page blocks */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  background: linear-gradient(
    120deg,
    #a67c52,
    #c4a35a,
    #e8b86d,
    #c4a35a,
    #a67c52
  );
  background-size: 220% 220%;
  animation: shimmer-flow 4s ease infinite;
  box-shadow: 0 0 12px rgba(196, 163, 90, 0.3);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.stat {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.stat b {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #e8b86d, #f4f6f3, #c4a35a, #e8b86d);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-flow 4s linear infinite;
}

.stat span {
  font-size: 0.85rem;
  color: var(--mist-dim);
}

@media (max-width: 700px) {
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.arhyz-links {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.arhyz-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.arhyz-links a:hover {
  border-color: var(--amber);
  transform: translateX(4px);
}

.arhyz-links span {
  color: var(--amber);
}
