/* ============================================================
   HERO — full-bleed Prussian with animated mesh gradient blobs
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--prussian-deep);
  color: var(--parchment);
  overflow: hidden;
  isolation: isolate;
}

/* mesh gradient shaders */
.mesh-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  z-index: 0;
}
.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  will-change: transform;
}
.mesh-blob.b1 {
  width: 720px; height: 720px;
  background: radial-gradient(circle, var(--admiralty) 0%, transparent 70%);
  top: -200px; left: -180px;
  animation: float1 22s ease-in-out infinite;
}
.mesh-blob.b2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #1f4172 0%, transparent 70%);
  top: 30%; right: -150px;
  animation: float2 28s ease-in-out infinite;
}
.mesh-blob.b3 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--antique-gold) 0%, transparent 70%);
  bottom: -120px; left: 38%;
  opacity: 0.18;
  animation: float3 32s ease-in-out infinite;
}
@keyframes float1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(80px,40px) scale(1.08); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-60px,80px) scale(1.12); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(120px,-50px) scale(1.06); }
}

/* Diagonal hairlines like the brand title slide */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -68deg,
    transparent 0,
    transparent 80px,
    rgba(184, 150, 58, 0.04) 80px,
    rgba(184, 150, 58, 0.04) 81px
  );
  pointer-events: none;
  z-index: 1;
}
/* corner brackets — top-right and bottom-left */
.hero .bracket {
  position: absolute;
  width: 80px; height: 80px;
  border: 1px solid rgba(184, 150, 58, 0.35);
  z-index: 2;
}
.hero .bracket.tr { top: 72px; right: 36px; border-left: none; border-bottom: none; }
.hero .bracket.bl { bottom: 36px; left: 36px; border-right: none; border-top: none; }

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1320px;
  margin: 0 auto;
  padding: 120px 48px 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  min-height: 100vh;
}

.hero-eyebrow {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burnished-gold);
  margin-bottom: 24px;
  opacity: 0;
  animation: rise 1.1s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin-bottom: 0;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: rise 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero h1 .line:nth-child(1) > span { animation-delay: 0.35s; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.50s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.65s; }
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(105deg, var(--antique-gold) 0%, var(--burnished-gold) 45%, #e8c97f 70%, var(--antique-gold) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 8s linear infinite;
}
@keyframes shine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes rise {
  0%   { opacity: 0; transform: translateY(110%); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-rule {
  width: 0;
  height: 1px;
  background: var(--antique-gold);
  margin: 36px 0 24px;
  opacity: 0;
  animation: rule-grow 1.4s 1.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes rule-grow {
  0% { width: 0; opacity: 0; }
  100% { width: 92px; opacity: 1; }
}

.hero-sub {
  font-family: var(--body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: rgba(250, 247, 242, 0.78);
  max-width: 480px;
  margin-bottom: 36px;
  opacity: 0;
  animation: rise 1.1s 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  align-items: center;
  opacity: 0;
  animation: rise 1.1s 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.btn-primary {
  font-family: var(--button);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--antique-gold);
  color: var(--prussian-deep);
  padding: 16px 32px;
  border: none;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.btn-primary::after {
  content: '→';
  font-family: var(--button);
  font-size: 15px;
  transition: transform 0.3s;
}
.btn-primary:hover {
  background: var(--burnished-gold);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(184, 150, 58, 0.28);
}
.btn-primary:hover::after { transform: translateX(4px); }

.btn-ghost {
  font-family: var(--button);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.75);
  text-decoration: none;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(250, 247, 242, 0.25);
  transition: all 0.3s;
}
.btn-ghost:hover {
  color: var(--burnished-gold);
  border-color: var(--burnished-gold);
}

/* Right-side mark composition */
.hero-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.hero-mark-frame {
  position: relative;
  width: min(360px, 78%);
  aspect-ratio: 1;
  opacity: 0;
  animation: rise 1.6s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-mark-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 60px rgba(184, 150, 58, 0.35));
  animation: mark-spin 180s linear infinite;
  transform-origin: center;
}
@keyframes mark-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
/* spotlight that follows the cursor on the mark */
.hero-mark-frame::before {
  content: '';
  position: absolute;
  inset: -15%;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(212, 174, 92, 0.18) 0%, transparent 40%);
  pointer-events: none;
  transition: opacity 0.3s;
  border-radius: 50%;
}
/* concentric rings */
.hero-mark-frame .ring {
  position: absolute;
  border: 1px solid rgba(184, 150, 58, 0.18);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-mark-frame .ring.r1 { width: 105%; height: 105%; }
.hero-mark-frame .ring.r2 { width: 122%; height: 122%; border-color: rgba(184, 150, 58, 0.08); }
.hero-mark-frame .ring.r3 { width: 140%; height: 140%; border-color: rgba(184, 150, 58, 0.04); }

/* corner numerals like a regulator's stamp */
.hero-mark-frame .stamp-tl,
.hero-mark-frame .stamp-br {
  position: absolute;
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: rgba(184, 150, 58, 0.55);
  text-transform: uppercase;
}
.hero-mark-frame .stamp-tl { top: -28px; left: 0; }
.hero-mark-frame .stamp-br { bottom: -28px; right: 0; }

/* scroll indicator */
.scroll-cue {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0.32em;
  color: rgba(250, 247, 242, 0.5);
  text-transform: uppercase;
  opacity: 0;
  animation: rise 1.1s 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.scroll-cue::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  margin: 14px auto 0;
  background: linear-gradient(to bottom, var(--burnished-gold), transparent);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; }
  50%      { transform: scaleY(1); transform-origin: top; opacity: 1; }
}
