:root {
  --ink: #120907;
  --ink-soft: #24120d;
  --panel-strong: rgba(62, 39, 30, 0.9);
  --line: rgba(229, 172, 130, 0.32);
  --text: #f3ebe4;
  --muted: #d7c8bf;
  --copper: #c98358;
  --copper-light: #f0ad78;
  --copper-deep: #7b321f;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(145deg, #0d0504 0%, #170b08 42%, #26120c 100%);
}

body.is-loading {
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(201,131,88,0.22), transparent 42%),
    linear-gradient(145deg, #0d0504 0%, #170b08 42%, #26120c 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 620ms ease, visibility 620ms ease;
}

.preloader::before {
  content: "";
  position: absolute;
  width: 190px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(240,173,120,0.22);
  border-top-color: rgba(240,173,120,0.72);
  box-shadow: 0 0 28px rgba(201,131,88,0.22), inset 0 0 16px rgba(240,173,120,0.2);
  animation: preloader-ring 2.2s ease-in-out infinite, preloader-spin 2.8s linear infinite;
}

.preloader::after {
  content: "";
  position: absolute;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 0 0 rgba(201,131,88,0.5);
  animation: preloader-pulse 2.2s ease-in-out infinite;
}

.preloader-inner {
  width: 88px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(240,173,120,0.35);
  box-shadow: 0 0 22px rgba(201,131,88,0.25);
  animation: preloader-logo 1.4s ease-in-out infinite, preloader-blink 1.4s ease-in-out infinite;
}

.preloader-inner img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  animation: preloader-mark 1.4s ease-in-out infinite;
}

.preloader-progress {
  position: absolute;
  top: calc(50% + 112px);
  left: 50%;
  transform: translateX(-50%);
  width: min(190px, 58vw);
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(240,173,120,0.34);
  background: rgba(18, 9, 7, 0.78);
  box-shadow: inset 0 0 8px rgba(0,0,0,0.45);
}

.preloader-progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(123,50,31,0.9), rgba(240,173,120,0.96));
  box-shadow: 0 0 14px rgba(240,173,120,0.36);
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes preloader-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(201,131,88,0.45);
  }
  50% {
    box-shadow: 0 0 0 28px rgba(201,131,88,0);
  }
}

@keyframes preloader-logo {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes preloader-ring {
  0%, 100% {
    transform: scale(1);
    opacity: 0.62;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes preloader-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes preloader-mark {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(0) invert(1);
  }
  50% {
    opacity: 0.2;
    transform: scale(0.88);
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(240,173,120,0.5));
  }
}

@keyframes preloader-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 76svh;
  margin: 0;
  border-radius: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-photo-wrap {
  position: absolute;
  inset: 0;
}

.hero-photo-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 20%;
  transform: scale(1.16);
  filter: saturate(0.84) contrast(1.12) brightness(0.9);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, #0d0504 0%, rgba(13,5,4,0.66) 38%, rgba(13,5,4,0.18) 70%, transparent 100%),
    linear-gradient(to right, rgba(13,5,4,0.74) 0%, rgba(13,5,4,0.52) 24%, rgba(13,5,4,0.2) 44%, transparent 64%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(22px, 3.8vw, 42px) clamp(18px, 4.2vw, 52px) clamp(26px, 4.2vw, 48px);
  width: min(100%, 520px);
  max-width: 520px;
  margin-left: clamp(14px, 3.2vw, 52px);
}

.eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: 14px;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.hero-headline {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5.1vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--text);
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.62), 0 2px 8px rgba(0, 0, 0, 0.48);
}

.hero-headline em {
  font-style: italic;
  color: var(--copper-light);
}

.hero-sub {
  font-size: clamp(0.76rem, 1.08vw, 0.9rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 22px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.58);
}

/* CTA com glow */
@keyframes glow-copper {
  0%, 100% {
    box-shadow: 0 0 14px 2px rgba(201,131,88,0.45), 0 0 32px 4px rgba(123,50,31,0.25);
  }
  50% {
    box-shadow: 0 0 28px 8px rgba(201,131,88,0.70), 0 0 56px 12px rgba(123,50,31,0.40);
  }
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 16px 0 22px;
  border: 1px solid rgba(255,198,150,0.72);
  border-radius: 8px;
  background: linear-gradient(90deg, var(--copper-deep), var(--copper-light));
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  animation: glow-copper 2.8s ease-in-out infinite;
  transition: transform 180ms ease;
  margin-bottom: 22px;
}

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

.arrow {
  display: grid;
  width: 28px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  font-size: 1rem;
}

/* STATS */
.stats-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--copper-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(215, 200, 191, 0.7);
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: var(--line);
}

/* SCROLL HINT */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: clamp(24px, 5vw, 60px);
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@keyframes scroll-drop {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

.scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--copper-light), transparent);
  animation: scroll-drop 2s ease-in-out infinite;
}

/* TICKER */
.benefit-ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(240,173,120,0.18);
  border-bottom: 1px solid rgba(240,173,120,0.18);
  background: linear-gradient(90deg, rgba(38,18,12,0.92), rgba(56,28,19,0.92), rgba(38,18,12,0.92));
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.benefit-ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-slide 24s linear infinite;
}

.benefit-ticker-track p {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.benefit-ticker-track p span {
  display: inline-flex;
  align-items: center;
  padding: 14px 2.4rem;
  color: rgba(243,235,228,0.85);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.benefit-ticker-track p span::after {
  content: "·";
  margin-left: 2.4rem;
  color: var(--copper-light);
  opacity: 0.55;
}

@keyframes ticker-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── LINKS SECTION ─── */
.links-section {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 48px 18px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(circle at 72% 14%, rgba(201,131,88,0.18), transparent 32rem),
    radial-gradient(circle at 50% 100%, rgba(123,50,31,0.2), transparent 24rem),
    linear-gradient(180deg, rgba(18,9,7,0.95) 0%, rgba(28,13,8,0.95) 52%, rgba(38,18,12,0.95) 100%);
}

.links-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 56% at 18% 36%, rgba(240,173,120,0.2), transparent 72%),
    radial-gradient(48% 62% at 84% 70%, rgba(201,131,88,0.2), transparent 74%),
    radial-gradient(36% 42% at 50% 52%, rgba(123,50,31,0.22), transparent 72%);
  background-size: 120% 120%, 125% 125%, 110% 110%;
  background-position: 0% 50%, 100% 50%, 50% 50%;
  animation: links-light-flow 6.2s ease-in-out infinite;
  z-index: 0;
}

.links-section::after {
  content: "";
  position: absolute;
  inset: -24% -32%;
  pointer-events: none;
  background:
    linear-gradient(108deg, transparent 30%, rgba(240,173,120,0.2) 48%, transparent 66%),
    linear-gradient(252deg, transparent 35%, rgba(201,131,88,0.16) 52%, transparent 70%);
  filter: blur(24px);
  opacity: 0.42;
  animation: links-sweep 8.4s ease-in-out infinite;
  z-index: 0;
}

@keyframes links-light-flow {
  0%, 100% {
    opacity: 0.68;
    background-position: 0% 50%, 100% 50%, 50% 50%;
  }
  50% {
    opacity: 0.98;
    background-position: 100% 50%, 0% 50%, 50% 50%;
  }
}

@keyframes links-sweep {
  0%, 100% {
    transform: translateX(-6%) translateY(0) scale(1);
    opacity: 0.34;
  }
  50% {
    transform: translateX(6%) translateY(-1.5%) scale(1.04);
    opacity: 0.58;
  }
}

.ambient-glow {
  position: absolute;
  inset: auto -120px -140px auto;
  width: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(201,131,88,0.15);
  filter: blur(72px);
  pointer-events: none;
}

.brand-watermark {
  position: absolute;
  top: 5%;
  right: 2%;
  width: clamp(140px, 16vw, 260px);
  opacity: 0.05;
  filter: saturate(0.8) brightness(1.05);
  pointer-events: none;
  z-index: 0;
}

.brand-watermark img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.links .reveal:nth-child(2) { transition-delay: 0.1s; }
.links .reveal:nth-child(3) { transition-delay: 0.2s; }
.links .reveal:nth-child(4) { transition-delay: 0.3s; }

/* LINK CARDS */
.links {
  display: grid;
  gap: 12px;
  width: min(100%, 700px);
  position: relative;
  z-index: 2;
}

.link-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  min-height: 148px;
  overflow: hidden;
  border: 1px solid rgba(240,173,120,0.28);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  background: var(--panel-strong);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  animation: card-breathe 5.6s ease-in-out infinite;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(240,173,120,0.86);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  animation-play-state: paused;
  outline: none;
}

.links .link-card:nth-child(2) { animation-delay: 0.25s; }
.links .link-card:nth-child(3) { animation-delay: 0.45s; }
.links .link-card:nth-child(4) { animation-delay: 0.65s; }

@keyframes card-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.link-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 20px;
}

.link-content small {
  margin-bottom: 8px;
  color: var(--copper-light);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.link-content strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 500;
  line-height: 1;
}

.link-content em {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.4;
}

.link-image {
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(240,173,120,0.18);
  color: rgba(240,173,120,0.55);
  background:
    radial-gradient(circle at 60% 40%, rgba(240,173,120,0.12), transparent 60%),
    rgba(18,9,7,0.5);
  transition: color 180ms ease;
}

.link-card:hover .link-image { color: rgba(240,173,120,1); }

.link-image.has-photo {
  padding: 0;
  background: #1a0e0b;
}

.link-image.has-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 220ms ease;
}

.link-card:hover .link-image.has-photo img {
  transform: scale(1.04);
}

/* FOOTER */
.footer-seal {
  display: grid;
  width: 64px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(240,173,120,0.4);
  border-radius: 50%;
  margin: 36px auto 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  background:
    radial-gradient(circle, rgba(240,173,120,0.12) 0 34%, transparent 35%),
    linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.01));
  box-shadow: 0 0 0 8px rgba(201,131,88,0.06), inset 0 0 18px rgba(240,173,120,0.12);
  overflow: hidden;
}

.footer-seal img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-note {
  margin: 16px 0 0;
  color: rgba(243,235,228,0.5);
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-align: center;
  text-transform: uppercase;
}

/* ─── MOBILE ─── */
@media (max-width: 640px) {
  .hero {
    min-height: 68svh;
    margin: 0;
    border-radius: 0;
  }

  .hero-photo-wrap img {
    object-position: 74% 18%;
    transform: scale(1.04);
  }

  .hero-content {
    padding: 16px 14px 20px;
    width: min(100%, 360px);
    max-width: 360px;
    margin-left: 0;
  }

  .hero-headline {
    font-size: clamp(1.78rem, 9.2vw, 2.72rem);
  }

  .hero-sub {
    font-size: 0.76rem;
  }

  .hero-cta {
    min-height: 44px;
    font-size: 0.62rem;
  }

  .arrow {
    width: 26px;
  }

  .links-section {
    margin-top: 0;
    padding-top: 40px;
  }

  .benefit-ticker-track p {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    padding: 9px 0;
    padding-right: 1.8rem;
  }

  .hero-scroll { display: none; }

  .brand-watermark {
    top: 2%;
    right: -4%;
    width: clamp(120px, 26vw, 180px);
    opacity: 0.04;
  }

  .link-card {
    grid-template-columns: 1fr 108px;
    min-height: 128px;
  }

  .link-content { padding: 14px 14px; }

  .link-content strong {
    font-size: clamp(1.18rem, 4.2vw, 1.42rem);
  }

  .link-content em {
    display: none;
  }
}

@media (max-width: 400px) {
  .link-card { grid-template-columns: 1fr; }
  .link-image {
    min-height: 80px;
    border-top: 1px solid rgba(240,173,120,0.18);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader::before,
  .preloader-inner,
  .preloader-inner img {
    animation: none;
  }

  .links-section::before,
  .links-section::after {
    animation: none;
  }

  .benefit-ticker-track {
    animation: ticker-slide 48s linear infinite;
  }

  .link-card {
    animation: none;
  }
}
