/* ===== Scroll reveal + subtle animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.6s cubic-bezier(.2,.65,.25,1), transform 1.6s cubic-bezier(.2,.65,.25,1);
  will-change: opacity, transform;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}
.fade-up-slow {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 2.2s cubic-bezier(.2,.65,.25,1), transform 2.2s cubic-bezier(.2,.65,.25,1);
}
.fade-up-slow.visible { opacity: 1; transform: none; }

.stagger .fade-up:nth-child(1) { transition-delay: 0.05s; }
.stagger .fade-up:nth-child(2) { transition-delay: 0.22s; }
.stagger .fade-up:nth-child(3) { transition-delay: 0.40s; }
.stagger .fade-up:nth-child(4) { transition-delay: 0.58s; }

.hero-inner .fade-up:nth-child(2) { transition-delay: 0.10s; }
.hero-inner .fade-up:nth-child(3) { transition-delay: 0.55s; }
.hero-inner .fade-up:nth-child(4) { transition-delay: 0.95s; }
.hero-inner .fade-up:nth-child(5) { transition-delay: 1.35s; }
.hero-inner .fade-up:nth-child(6) { transition-delay: 1.75s; }

/* Dim-zoom on the hero rings: gentle fade in + very slow breathe */
@keyframes heroMarkIn {
  0%   { opacity: 0;    transform: translateX(-50%) translateY(30px) scale(1.15); }
  100% { opacity: 0.22; transform: translateX(-50%) translateY(0) scale(1); }
}
@keyframes heroMarkBreathe {
  0%, 100% { transform: translateX(-50%) scale(1) translateY(0); }
  50%      { transform: translateX(-50%) scale(1.04) translateY(-4px); }
}

:root {
  --cream: #faf6ef;
  --cream-deep: #f3ebdb;
  --paper: #ffffff;
  --ink: #2a2320;
  --ink-soft: #5a4f48;
  --muted: #8b7f75;
  --gold: #b08b4f;
  --gold-deep: #8e6c35;
  --gold-light: #d8b985;
  --line: rgba(176, 139, 79, 0.22);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.container.narrow { max-width: 780px; }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

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

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.eyebrow.light { color: var(--gold-light); }

.section-title {
  font-size: 44px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 22px;
  font-weight: 400;
}
.section-title.light { color: var(--cream); }

.lede {
  font-size: 19px;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.light { color: var(--cream); }

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 30px rgba(138, 108, 53, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
}
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
}
.brand-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink-soft);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.nav {
  display: flex;
  gap: 36px;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--gold-deep); }

@media (max-width: 760px) {
  .nav { display: none; }
}

/* === HERO === */
.hero {
  padding: 0 0 90px;
  background:
    radial-gradient(800px 500px at 20% 30%, rgba(216, 185, 133, 0.18), transparent 60%),
    radial-gradient(600px 400px at 85% 70%, rgba(176, 139, 79, 0.12), transparent 55%),
    var(--cream);
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 900px;
  padding-top: 10px;
}
.hero-mark {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  max-width: 86vw;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  animation:
    heroMarkIn 3.2s cubic-bezier(.2,.65,.25,1) both,
    heroMarkBreathe 22s ease-in-out 3.2s infinite;
}
/* Parallax scroll on rings (JS sets --scroll) */
.hero-mark img {
  transition: transform 0.2s ease-out;
  transform: translateY(calc(var(--scroll, 0) * -0.35px)) scale(calc(1 + var(--scroll, 0) * 0.00015));
}

@media (prefers-reduced-motion: reduce) {
  .hero-mark { animation: none; }
  .hero-mark img { transform: none; }
  .fade-up, .fade-up-slow { opacity: 1; transform: none; transition: none; }
}
.hero-mark img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-inner > *:not(.hero-mark) {
  position: relative;
  z-index: 1;
}
.hero-title {
  margin-top: 220px;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-title span {
  font-size: 104px;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  text-indent: 0.22em;
}
@media (max-width: 760px) {
  .hero-inner { padding-top: 0; }
  .hero-mark {
    position: static;
    width: 80vw;
    max-width: 80vw;
    transform: none;
    margin: 20px auto -30vw;
    display: block;
  }
  .hero-mark img { transform: none !important; }
  .hero-title { margin-top: 0; }
  /* On mobile the rings sit above, slightly overlapping the big KALROSE */
}
.hero-title em {
  font-style: italic;
  font-weight: 600;
  font-size: 42px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 32px;
  font-weight: 600;
}
.hero-rule {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 32px;
}
.hero-lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 40px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  border: 1px solid transparent;
}
.btn-gold {
  background: var(--gold-deep);
  color: #fffaf0;
  box-shadow: 0 10px 30px -12px rgba(142, 108, 53, 0.55);
}
.btn-gold:hover {
  transform: translateY(-1px);
  background: var(--gold);
}
.btn-ghost {
  color: var(--gold-deep);
  border-color: var(--gold);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(176, 139, 79, 0.08);
}

/* === SECTIONS === */
.section {
  padding: 100px 0;
}
.section-cream { background: var(--cream-deep); }
.section-band {
  background:
    linear-gradient(135deg, #3a2a15 0%, #6b4d22 100%);
  color: var(--cream);
  text-align: center;
}
.section-band .btn-gold {
  background: var(--cream);
  color: var(--gold-deep);
}
.section-band .btn-gold:hover {
  background: var(--gold-light);
  color: var(--gold-deep);
}

/* === PILLARS === */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}
.pillar {
  text-align: center;
  padding: 42px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px -20px rgba(142, 108, 53, 0.18);
}
.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.pillar h3 {
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 14px;
}
.pillar p {
  color: var(--ink-soft);
  font-size: 16px;
}

@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; gap: 20px; }
}

/* === SPLIT === */
.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 70px;
  align-items: start;
}
.split-text p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.fact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px 32px;
  border-radius: 4px;
  position: sticky;
  top: 100px;
}
.fact-card h4 {
  font-size: 22px;
  color: var(--gold-deep);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.fact-card dl dt {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
}
.fact-card dl dt:first-child { margin-top: 0; }
.fact-card dl dd {
  font-size: 15px;
  color: var(--ink);
  margin-top: 4px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .fact-card { position: static; }
}

/* === CONTACT === */
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 44px 44px;
  border-radius: 4px;
  margin-top: 40px;
}
.contact-card dl dt {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 22px;
}
.contact-card dl dt:first-child { margin-top: 0; }
.contact-card dl dd {
  font-size: 17px;
  color: var(--ink);
  margin-top: 6px;
}
.contact-card dl dd a {
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.contact-card dl dd a:hover { color: var(--gold); }

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--gold-deep);
  color: #fffaf0;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -12px rgba(142, 108, 53, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease, background 0.15s ease;
  z-index: 60;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold);
  transform: translateY(-2px);
}
.back-to-top svg {
  display: block;
}
@media (max-width: 760px) {
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* === FOOTER === */
.site-footer {
  background: #241c16;
  color: #c9bfb3;
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1.2fr 2fr;
  gap: 40px;
  align-items: start;
}
.footer-brand .brand-name { color: var(--gold-light); }
.footer-brand .brand-sub { color: #8f8579; }
.footer-tag {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 19px;
  color: #8f8579;
  margin-top: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #c9bfb3;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.footer-nav a:hover { color: var(--gold-light); }
.footer-legal {
  font-size: 12.5px;
  color: #8f8579;
  line-height: 1.8;
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 18px; }
  .footer-legal { font-size: 11.5px; }

  .site-header { background: rgba(250, 246, 239, 0.96); }
  .header-inner { padding: 16px 0; }
  .brand-name { font-size: 22px; }
  .brand-sub { font-size: 13px; }

  .hero { padding: 40px 0 70px; min-height: auto; }
  .hero-inner { padding-top: 0; }
  .hero-title span { font-size: 46px; letter-spacing: 0.18em; }
  .hero-title em { font-size: 24px; margin-top: 4px; }
  .hero-tagline { font-size: 20px; padding: 0 10px; }
  .hero-lede { font-size: 16px; padding: 0 6px; }
  .hero-rule { margin-bottom: 24px; }

  .section-title { font-size: 30px; line-height: 1.2; }
  .section { padding: 60px 0; }
  .lede { font-size: 16.5px; }

  .pillar { padding: 32px 22px; }
  .pillar-num { font-size: 28px; margin-bottom: 12px; }
  .pillar h3 { font-size: 22px; }

  .fact-card { padding: 28px 24px; }
  .fact-card h4 { font-size: 19px; }
  .fact-card dl dd { font-size: 14px; }

  .contact-card { padding: 30px 24px; }
  .contact-card dl dd { font-size: 16px; }

  .btn { padding: 13px 24px; font-size: 13px; letter-spacing: 0.06em; }
  .hero-cta { gap: 10px; }

  /* Simplify motion on mobile: less breathing, static parallax */
  .hero-mark {
    animation: heroMarkIn 2.4s cubic-bezier(.2,.65,.25,1) both;
    opacity: 0.18 !important;
  }
  .hero-mark img { transform: none !important; }

  /* Reduce fade translate distance on mobile for less layout shift */
  .fade-up { transform: translateY(18px); transition-duration: 1.1s; }
  .fade-up-slow { transform: translateY(22px); transition-duration: 1.4s; }
  .stagger .fade-up:nth-child(n) { transition-delay: 0.08s; }
}

@media (max-width: 420px) {
  .hero-title span { font-size: 38px; }
  .hero-title em { font-size: 20px; }
  .section-title { font-size: 26px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.18em; }
  .btn { padding: 12px 20px; }
}
