/* FH Gold Precious — landing page styles.
   Onyx & Gold Leaf. Editorial luxury for a traditional Malaysian goldsmith.
   Scoped under .fh-landing so vars never leak to authed pages.
*/

/* ============================================================ */
/* @font-face — self-hosted woff2 (CSP font-src 'self' data:)   */
/* ============================================================ */
@font-face {
  font-family: 'Italiana';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/italiana-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-600.woff2') format('woff2');
}

/* ============================================================ */
/* Scoped variables                                              */
/* ============================================================ */
.fh-landing {
  --fh-onyx:        #0d0a06;
  --fh-onyx-2:      #15110a;
  --fh-onyx-3:      #1f1810;
  --fh-velvet:      #3a0f0a;
  --fh-gold:        #d4af37;
  --fh-gold-bright: #f5d76e;
  --fh-gold-deep:   #8a6a14;
  --fh-brass:       #b8860b;
  --fh-ivory:       #f5ecd6;
  --fh-ivory-mute:  #c9bfa6;
  --fh-rule:        rgba(212, 175, 55, 0.28);
  --fh-rule-soft:   rgba(212, 175, 55, 0.14);
  --fh-shadow-gold: 0 0 32px rgba(212, 175, 55, 0.18);

  --fh-display: 'Italiana', 'Cormorant Garamond', Georgia, serif;
  --fh-body:    'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  --fh-content: 1180px;
  --fh-radius:  4px;
}

/* ============================================================ */
/* Reset-ish + base                                              */
/* ============================================================ */
.fh-landing *,
.fh-landing *::before,
.fh-landing *::after {
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

.fh-landing {
  margin: 0;
  min-height: 100vh;
  background: var(--fh-onyx);
  color: var(--fh-ivory);
  font-family: var(--fh-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Atmospheric layers on the body itself */
.fh-landing::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 8%,  rgba(212,175,55,0.18), transparent 55%),
    radial-gradient(circle at 8% 92%,  rgba(58,15,10,0.45),  transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(13,10,6,0),      var(--fh-onyx) 80%);
  z-index: 0;
}
.fh-landing::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.86  0 0 0 0 0.58  0 0 0 0.07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  mix-blend-mode: overlay;
  z-index: 0;
}
.fh-landing > * { position: relative; z-index: 1; }

.fh-landing a { color: var(--fh-gold-bright); text-decoration: none; }
.fh-landing a:focus-visible,
.fh-landing button:focus-visible {
  outline: 2px solid var(--fh-gold-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.fh-landing h1, .fh-landing h2, .fh-landing h3 {
  font-family: var(--fh-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--fh-ivory);
  margin: 0;
}
.fh-landing p { margin: 0; }
.fh-landing ul { margin: 0; padding: 0; list-style: none; }

/* ============================================================ */
/* Header                                                        */
/* ============================================================ */
.fh-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: transparent;
  transition: background 280ms ease, backdrop-filter 280ms ease, border-color 280ms ease;
  border-bottom: 1px solid transparent;
}
.fh-header.is-scrolled {
  background: rgba(13, 10, 6, 0.72);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
          backdrop-filter: blur(12px) saturate(140%);
  border-bottom-color: var(--fh-rule-soft);
}

.fh-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--fh-ivory);
  min-height: 48px;
}
.fh-brand-mark {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 0 8px rgba(212,175,55,0.35));
}
.fh-brand-mark svg { width: 100%; height: 100%; display: block; }
.fh-brand-text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.fh-brand-name {
  font-family: var(--fh-display);
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fh-ivory);
}
.fh-brand-tag {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fh-ivory-mute);
  margin-top: 2px;
}

/* ============================================================ */
/* Buttons                                                       */
/* ============================================================ */
.fh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0 1.4rem;
  font-family: var(--fh-display);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--fh-radius);
  border: 1px solid var(--fh-gold);
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease,
              background 220ms ease, color 220ms ease, border-color 220ms ease;
  white-space: nowrap;
}
.fh-btn-gold {
  background: linear-gradient(180deg, var(--fh-gold-bright), var(--fh-gold) 60%, var(--fh-gold-deep));
  color: var(--fh-onyx);
  border-color: var(--fh-gold-bright);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 0 0 1px rgba(0,0,0,0.5);
}
.fh-btn-gold:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 0 0 1px rgba(0,0,0,0.5),
    0 0 28px rgba(245,215,110,0.45);
}
.fh-btn-ghost {
  background: transparent;
  color: var(--fh-gold-bright);
  border-color: rgba(212,175,55,0.55);
}
.fh-btn-ghost:hover {
  background: rgba(212,175,55,0.08);
  border-color: var(--fh-gold-bright);
  box-shadow: 0 0 24px rgba(212,175,55,0.25);
  transform: translateY(-1px);
}
.fh-btn-icon { display: inline-flex; align-items: center; }
.fh-header-cta { padding: 0 1rem; min-height: 44px; font-size: 0.78rem; }

/* ============================================================ */
/* Hero                                                          */
/* ============================================================ */
.fh-hero {
  position: relative;
  padding: clamp(2.5rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem) clamp(3rem, 9vw, 6rem);
  max-width: var(--fh-content);
  margin: 0 auto;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fh-hero::before {
  /* faint diagonal pinstripe echoing the name-card slashes */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(-30deg,
      rgba(212,175,55,0.06) 0 1px,
      transparent 1px 28px);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.15));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.15));
}

.fh-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.fh-eyebrow {
  font-family: var(--fh-display);
  font-size: 0.78rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--fh-gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fh-rise 700ms 80ms ease-out forwards;
}
.fh-display {
  font-family: var(--fh-display);
  font-size: clamp(2.4rem, 6.5vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fh-ivory);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fh-rise 800ms 220ms ease-out forwards;
}
.fh-display em {
  font-style: normal;
  color: var(--fh-gold);
  text-shadow: 0 0 26px rgba(212,175,55,0.45);
}
.fh-lead {
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  line-height: 1.55;
  max-width: 38ch;
  color: var(--fh-ivory);
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: fh-rise 800ms 360ms ease-out forwards;
}
.fh-microline {
  font-family: var(--fh-body);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fh-ivory-mute);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fh-rise 800ms 500ms ease-out forwards;
}
.fh-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  opacity: 0;
  animation: fh-rise 800ms 640ms ease-out forwards;
}

/* Gem aside */
.fh-hero-aside {
  display: none;
}
.fh-gem-stage {
  position: relative;
  filter:
    drop-shadow(0 12px 40px rgba(212,175,55,0.25))
    drop-shadow(0 0 80px rgba(58,15,10,0.6));
}
.fh-gem {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
}

.fh-scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent, var(--fh-gold), transparent);
  transform: translateX(-50%);
  opacity: 0;
  animation: fh-rise 800ms 1000ms ease-out forwards;
}
.fh-scroll-cue span { display: none; }

/* ============================================================ */
/* Section common                                                */
/* ============================================================ */
.fh-section {
  max-width: var(--fh-content);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms ease-out, transform 800ms ease-out;
}
.fh-section.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.fh-section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 64ch; }
.fh-section-eyebrow {
  font-family: var(--fh-display);
  font-size: 0.78rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--fh-gold);
  margin-bottom: 0.85rem;
}
.fh-section-title {
  font-family: var(--fh-display);
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}
.fh-section-title em {
  font-style: normal;
  color: var(--fh-gold);
  font-family: var(--fh-display);
}
.fh-section-sub {
  font-family: var(--fh-body);
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fh-ivory-mute);
}

/* ============================================================ */
/* Services cards                                                */
/* ============================================================ */
.fh-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.fh-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(31,24,16,0.85), rgba(13,10,6,0.85));
  border: 1px solid var(--fh-rule);
  border-radius: var(--fh-radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}
.fh-card:hover {
  transform: translateY(-4px);
  border-color: var(--fh-gold);
  box-shadow: var(--fh-shadow-gold);
}
.fh-card-corner {
  position: absolute;
  top: 12px; right: 12px;
  width: 38px; height: 38px;
  border-top: 1px solid var(--fh-gold);
  border-right: 1px solid var(--fh-gold);
  opacity: 0.7;
}
.fh-card-num {
  font-family: var(--fh-display);
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  color: var(--fh-gold);
  margin-bottom: 1rem;
}
.fh-card-title {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 0.85rem;
  color: var(--fh-ivory);
}
.fh-card-body {
  color: var(--fh-ivory-mute);
  margin-bottom: 1rem;
  line-height: 1.65;
}
.fh-card-list {
  border-top: 1px solid var(--fh-rule-soft);
  padding-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--fh-ivory);
  font-size: 0.95rem;
}
.fh-card-list li {
  position: relative;
  padding-left: 1.1rem;
}
.fh-card-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--fh-gold);
  font-size: 0.7rem;
  top: 0.4rem;
}

/* ============================================================ */
/* Why us pillars                                                */
/* ============================================================ */
.fh-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.fh-pillar {
  padding: 1.5rem;
  border: 1px solid var(--fh-rule-soft);
  border-radius: var(--fh-radius);
  background: rgba(21,17,10,0.55);
  transition: border-color 280ms ease, background 280ms ease;
}
.fh-pillar:hover {
  border-color: var(--fh-gold);
  background: rgba(31,24,16,0.75);
}
.fh-pillar-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--fh-gold);
  border-radius: 50%;
  color: var(--fh-gold);
  margin-bottom: 1rem;
}
.fh-pillar-title {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.fh-pillar-body {
  color: var(--fh-ivory-mute);
  font-size: 0.98rem;
  line-height: 1.55;
}
.fh-pillar-body small {
  color: var(--fh-ivory);
  font-family: var(--fh-body);
  font-size: 0.85rem;
}

/* ============================================================ */
/* Contact                                                       */
/* ============================================================ */
.fh-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
.fh-contact-actions {
  display: grid;
  gap: 1rem;
}
.fh-wa-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--fh-rule);
  border-radius: var(--fh-radius);
  background: linear-gradient(180deg, rgba(31,24,16,0.9), rgba(13,10,6,0.9));
  color: var(--fh-ivory);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  min-height: 88px;
}
.fh-wa-card:hover {
  border-color: var(--fh-gold);
  transform: translateY(-2px);
  box-shadow: var(--fh-shadow-gold);
}
.fh-wa-icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15), 0 4px 18px rgba(37,211,102,0.3);
}
.fh-wa-meta { display: flex; flex-direction: column; gap: 2px; }
.fh-wa-label {
  font-family: var(--fh-display);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fh-gold);
}
.fh-wa-num {
  font-family: var(--fh-display);
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  color: var(--fh-ivory);
}
.fh-wa-cta {
  font-family: var(--fh-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fh-ivory-mute);
}

.fh-contact-info {
  padding: 1.5rem;
  border: 1px solid var(--fh-rule-soft);
  border-radius: var(--fh-radius);
  background: rgba(21,17,10,0.5);
}
.fh-info {
  display: grid;
  gap: 1.25rem;
  margin: 0 0 1.5rem;
}
.fh-info div { display: grid; gap: 0.3rem; }
.fh-info dt {
  font-family: var(--fh-display);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fh-gold);
}
.fh-info dd {
  margin: 0;
  font-size: 1.05rem;
  color: var(--fh-ivory);
  line-height: 1.45;
}
.fh-info-mute { color: var(--fh-ivory-mute); font-size: 0.9rem; }
.fh-contact-note {
  border-top: 1px solid var(--fh-rule-soft);
  padding-top: 1rem;
  color: var(--fh-ivory-mute);
  font-size: 0.95rem;
  line-height: 1.6;
}
.fh-contact-note em {
  color: var(--fh-gold);
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--fh-display);
  font-size: 0.82rem;
  margin-right: 0.3rem;
}

/* ============================================================ */
/* Footer                                                        */
/* ============================================================ */
.fh-footer {
  border-top: 1px solid var(--fh-rule);
  padding: 1.75rem clamp(1rem, 4vw, 3rem);
  background: rgba(13,10,6,0.6);
}
.fh-footer-inner {
  max-width: var(--fh-content);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.fh-footer-brand {
  font-family: var(--fh-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fh-gold);
  font-size: 0.95rem;
}
.fh-footer-meta {
  font-family: var(--fh-body);
  font-size: 0.85rem;
  color: var(--fh-ivory-mute);
  letter-spacing: 0.05em;
}
.fh-footer-login {
  font-family: var(--fh-display);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fh-ivory-mute);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.fh-footer-login:hover { color: var(--fh-gold-bright); }

/* ============================================================ */
/* Motion                                                        */
/* ============================================================ */
@keyframes fh-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================ */
/* Gold rates widget                                             */
/* ============================================================ */
.fh-rates-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.fh-rates-context {
  margin: 1rem 0 1.75rem;
  font-family: var(--fh-body);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--fh-ivory-mute);
  text-align: center;
  line-height: 1.5;
}

.fh-rates-card {
  border: 1px solid var(--fh-rule);
  border-radius: var(--fh-radius);
  background: linear-gradient(180deg, rgba(31,24,16,0.97), rgba(13,10,6,0.97));
  overflow: hidden;
  box-shadow: var(--fh-shadow-gold), 0 4px 50px rgba(0,0,0,0.6);
  position: relative;
}
.fh-rates-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(212,175,55,0.12);
  pointer-events: none;
  z-index: 1;
}
.fh-rates-card > * { position: relative; z-index: 2; }

.fh-rates-data {
  padding: 2rem 1.75rem 0;
}

.fh-rates-eyebrow {
  margin: 0;
  font-family: var(--fh-display);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fh-gold);
  text-align: center;
}

.fh-rates-hero {
  margin: 0.85rem 0 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1;
}
.fh-rates-prefix {
  font-family: var(--fh-body);
  font-size: 1.5rem;
  font-weight: 500;
  color: rgba(245,215,110,0.6);
  letter-spacing: 0.02em;
}
.fh-rates-num {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fh-gold-bright);
  font-variant-numeric: tabular-nums;
}

.fh-rates-divider {
  height: 1px;
  background: rgba(212,175,55,0.12);
}

.fh-rates-secondary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.15rem 0.25rem;
  margin: 0;
}
.fh-rates-secondary-label {
  font-family: var(--fh-body);
  font-size: 0.95rem;
  color: var(--fh-ivory-mute);
  letter-spacing: 0.02em;
}
.fh-rates-secondary-value {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--fh-ivory);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
}

.fh-rates-footer {
  padding: 1rem 1.75rem 1.25rem;
  margin: 0 -1.75rem;
  border-top: 1px solid rgba(212,175,55,0.10);
  background: rgba(13,10,6,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.fh-rates-status {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--fh-body);
  font-size: 0.82rem;
  color: var(--fh-ivory);
  letter-spacing: 0.05em;
}

.fh-rates-source {
  margin: 0;
  font-family: var(--fh-body);
  font-size: 0.72rem;
  color: rgba(201,191,166,0.5);
  letter-spacing: 0.05em;
}

.fh-rates-cta {
  margin-top: 0.45rem;
  font-family: var(--fh-body);
  font-size: 0.9rem;
  color: var(--fh-gold-bright);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s ease;
}
.fh-rates-cta:hover {
  color: #ffe89a;
}

.fh-rates-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fh-ivory-mute);
  flex-shrink: 0;
}
.fh-rates-dot.is-live {
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
  animation: fh-pulse-live 2.4s ease-out infinite;
}
.fh-rates-dot.is-stale { background: #f59e0b; }

@keyframes fh-pulse-live {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.55); }
  70%  { box-shadow: 0 0 0 5px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

.fh-rates-time {
  font-variant-numeric: tabular-nums;
}

.fh-rates-unavail {
  font-size: 0.95rem;
  color: var(--fh-ivory-mute);
  text-align: center;
  padding: 2.5rem 1.75rem;
  line-height: 1.5;
  margin: 0;
}

.fh-rates-disclaimer {
  margin-top: 1rem;
  font-size: 0.76rem;
  color: rgba(201,191,166,0.55);
  text-align: center;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

/* Loading skeleton */
.fh-rates-loading {
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.fh-rates-loading[hidden] { display: none; }
.fh-rates-hero[hidden],
.fh-rates-secondary[hidden] { display: none; }
.fh-rates-skeleton {
  border-radius: 3px;
  background: linear-gradient(90deg,
    rgba(212,175,55,0.05) 25%,
    rgba(212,175,55,0.13) 50%,
    rgba(212,175,55,0.05) 75%);
  background-size: 200% 100%;
  animation: fh-skeleton-pulse 1.8s ease-in-out infinite;
}
.fh-rates-skeleton--hero {
  height: 60px;
  width: 70%;
}
.fh-rates-skeleton--mid {
  height: 14px;
  width: 40%;
}
.fh-rates-skeleton--sm {
  height: 10px;
  width: 25%;
}

@keyframes fh-skeleton-pulse {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 480px) {
  .fh-rates-data { padding: 1.5rem 1.25rem 0; }
  .fh-rates-footer { padding: 0.85rem 1.25rem 1rem; margin: 0 -1.25rem; }
  .fh-rates-loading { padding: 1.75rem 1.25rem; }
  .fh-rates-prefix { font-size: 1.25rem; }
}

/* ============================================================ */
/* Breakpoints                                                   */
/* ============================================================ */
@media (min-width: 768px) {
  .fh-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 3rem;
  }
  .fh-hero-aside {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .fh-cards {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .fh-pillars {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .fh-contact-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .fh-pillars { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================ */
/* Reduced motion                                                */
/* ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fh-landing *,
  .fh-landing *::before,
  .fh-landing *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .fh-eyebrow,
  .fh-display,
  .fh-lead,
  .fh-microline,
  .fh-cta-row,
  .fh-scroll-cue { opacity: 1; }
  .fh-gem-shine { display: none; }
  .fh-section { opacity: 1; transform: none; }
}
