/* SDG Consulting Services LLC — brand tokens & shared styles */

:root {
  --navy: #1a2840;
  --navy-soft: #2a3a58;
  --gold: #b8893a;
  --gold-soft: #d4a85a;
  --parchment: #fdfcf8;
  --parchment-warm: #f5f1e8;
  --ink: #1a2840;
  --muted: #6b7280;
  --rule: #e5e1d6;

  --serif: Georgia, "Times New Roman", serif;
  --display: "UnifrakturMaguntia", "Old English Text MT", "Blackletter", serif;

  --container: 1180px;
  --gap: clamp(16px, 3vw, 32px);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold); }

img, svg { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* Ornament — gold rule with center dot */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
}
.ornament::before, .ornament::after {
  content: "";
  flex: 0 0 80px;
  height: 1px;
  background: var(--gold);
}
.ornament .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.eyebrow {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0;
}

/* Header / Nav */
.site-header {
  background: rgba(253, 252, 248, .82);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.brand img {
  height: 104px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
}
.nav-links a.active { color: var(--gold); }

.nav-links a.nav-cta,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--parchment) !important;
  padding: 14px 26px;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid var(--navy);
  transition: all .2s ease;
  position: relative;
  line-height: 1;
}
.nav-links a.nav-cta::after,
.nav-cta::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--gold);
  pointer-events: none;
  opacity: .6;
  transition: opacity .25s ease, inset .25s ease;
}
.nav-links a.nav-cta:hover::after,
.nav-cta:hover::after { opacity: 1; inset: 4px; }
.nav-links a.nav-cta:hover,
.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--parchment) !important;
}

.nav-toggle {
  display: none;
  background: none; border: none;
  font-size: 22px; color: var(--navy); cursor: pointer;
}

/* Hero — vellum glow keeps text crisp over the network atmosphere */
.hero {
  background: radial-gradient(ellipse 80% 72% at 50% 46%,
    rgba(253, 252, 248, .96) 0%,
    rgba(253, 252, 248, .84) 52%,
    rgba(253, 252, 248, 0) 78%);
  text-align: center;
  padding: clamp(80px, 11vw, 150px) 0;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(40px, 6.5vw, 80px);
  line-height: 1.04;
  margin: 0;
  color: var(--navy);
  letter-spacing: 0.5px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 600;
  display: block;
}
.hero p.lead {
  color: var(--muted);
  font-style: italic;
  font-size: clamp(15px, 1.6vw, 18px);
  margin: 20px auto 0;
  max-width: 640px;
}
.hero .cta-row {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--parchment);
  cursor: pointer;
  transition: all .2s ease;
}
.btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--parchment);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--parchment);
}

/* Section */
section { padding: clamp(60px, 8vw, 100px) 0; }
.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin: 8px 0 0;
  color: var(--navy);
}
.section-head h2 em { font-style: italic; font-weight: 600; }
.section-head p {
  color: var(--muted);
  max-width: 640px;
  margin: 16px auto 0;
  font-style: italic;
}

/* Card grid */
.grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--parchment);
  border: 1px solid var(--rule);
  padding: 36px 28px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.card .icon {
  width: 48px; height: 48px;
  margin-bottom: 20px;
  color: var(--gold);
}
.card h3 {
  font-size: 20px;
  margin: 0 0 12px;
  color: var(--navy);
}
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Pricing */
.tiers {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.tier {
  background: var(--parchment);
  border: 1px solid var(--rule);
  padding: 40px 28px 32px;
  position: relative;
  display: flex; flex-direction: column;
}
.tier.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.tier .ribbon {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: var(--parchment);
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  padding: 5px 14px;
}
.tier h3 {
  font-size: 22px;
  margin: 0 0 6px;
  color: var(--navy);
  letter-spacing: 1px;
}
.tier .size {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 24px;
}
.tier .price {
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.tier .price small {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.tier .setup {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 24px;
  font-style: italic;
}
.tier ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  font-size: 14px;
}
.tier ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.tier ul li::before {
  content: "·";
  color: var(--gold);
  font-weight: 700;
  margin-right: 10px;
}
.tier .btn { margin-top: auto; }

/* Two-column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
/* Spec lists in two-col: first row aligns flush with the adjacent heading */
.two-col ul li:first-child { padding-top: 0 !important; }
.two-col h2 { font-size: clamp(28px, 4vw, 38px); margin-top: 0; }
.two-col p { color: var(--muted); font-size: 16px; }

/* Trust strip */
.trust {
  background: var(--navy);
  color: var(--parchment);
  text-align: center;
  padding: 60px 0;
}
.trust .eyebrow { color: var(--gold-soft); }
.trust h2 {
  color: var(--parchment);
  font-size: clamp(24px, 3.5vw, 34px);
  margin: 8px 0 0;
  font-style: italic;
  font-weight: 600;
}
.trust .ornament::before, .trust .ornament::after { background: var(--gold); }

/* Form */
.form {
  display: grid;
  gap: 18px;
  max-width: 600px;
  margin: 0 auto;
}
.form label {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--serif);
  font-size: 15px;
  background: var(--parchment);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color .15s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 22px;
  font-weight: 400;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 14px 0 0;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--parchment);
  padding: 60px 0 28px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer .brand img { height: 56px; }
.site-footer h4 {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { padding: 5px 0; }
.site-footer a { color: var(--parchment); font-size: 14px; opacity: .8; }
.site-footer a:hover { opacity: 1; color: var(--gold-soft); }
.footer-tagline { font-style: italic; color: var(--gold-soft); margin-top: 14px; font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(253,252,248,.15);
  padding-top: 20px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(253,252,248,.6);
}

/* Pricing toggle */
.pricing-toggle {
  display: inline-flex;
  border: 1px solid var(--rule);
  background: var(--parchment);
  margin: 0 auto 50px;
  padding: 4px;
}
.pricing-toggle button {
  background: transparent;
  border: none;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  padding: 12px 28px;
  cursor: pointer;
  transition: all .25s ease;
}
.pricing-toggle button[aria-selected="true"] {
  background: var(--navy);
  color: var(--parchment);
}
.pricing-panel { display: none; }
.pricing-panel.active { display: block; }
html.motion-on .pricing-panel.active { animation: heroFadeUp .55s cubic-bezier(.2,.6,.2,1) both; }

/* Protection plan blocks (per-device / per-user stacks) */
.plan {
  background: var(--parchment);
  border: 1px solid var(--rule);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.plan .plan-unit {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 5px 12px;
  margin-bottom: 22px;
}
.plan h3 { font-size: 24px; margin: 0 0 6px; color: var(--navy); }
.plan .plan-sub { color: var(--muted); font-style: italic; font-size: 14px; margin: 0 0 26px; }
.plan ul { list-style: none; margin: 0; padding: 0; }
/* Fixed-height rows so the two plans line up bullet-for-bullet, side by side */
.plan ul li {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
}
.plan ul li:last-child { border-bottom: none; }
.plan ul li strong { display: block; color: var(--navy); font-size: 15px; margin-bottom: 4px; }
.plan ul li strong::before { content: "·"; color: var(--gold); font-weight: 700; margin-right: 10px; }
.plan ul li span { display: block; color: var(--muted); font-size: 14px; padding-left: 18px; line-height: 1.55; }
@media (max-width: 820px) {
  .plan ul li { min-height: 0; padding: 16px 0; }
}

/* Discount banner */
.discount-banner {
  background: var(--navy);
  color: var(--parchment);
  text-align: center;
  padding: 44px 32px;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.discount-banner .badge {
  font-family: var(--display);
  font-size: 52px;
  color: var(--gold-soft);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.discount-banner h3 { color: var(--parchment); font-size: 26px; margin: 0 0 12px; }
.discount-banner p { color: rgba(253,252,248,.78); max-width: 560px; margin: 0 auto; font-size: 15px; }

/* How-it-works model cards */
.model-card { text-align: left; }
.model-card .model-tag {
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  font-weight: 700; color: var(--gold); margin: 0 0 10px;
}
.model-card .billing {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule);
  font-size: 13px; color: var(--muted); font-style: italic;
}

/* Consulting card */
.consulting-card {
  background: var(--parchment);
  border: 1px solid var(--gold);
  padding: 56px clamp(28px, 5vw, 60px);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.consulting-card .price {
  font-size: 42px;
  font-weight: 700;
  color: var(--navy);
  margin: 24px 0 6px;
}
.consulting-card .price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.consulting-card .grid {
  margin-top: 36px;
  text-align: left;
  grid-template-columns: 1fr 1fr;
  gap: 18px 36px;
}
.consulting-card .grid > div {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.consulting-card .grid > div::before {
  content: "·";
  color: var(--gold);
  font-weight: 700;
  margin-right: 10px;
}
@media (max-width: 640px) {
  .consulting-card .grid { grid-template-columns: 1fr; }
}

/* Animations.
   Motion is gated by html.motion-on, set by JS from (in priority order):
   the visitor's saved site toggle, else the OS reduced-motion hint. */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ornamentDraw {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.6); opacity: .6; }
}
@keyframes shimmer {
  from { background-position: -200% 0; }
  to   { background-position: 200% 0; }
}

html.motion-on [data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1);
  transition-delay: var(--anim-delay, 0s);
  will-change: opacity, transform;
}
html.motion-on [data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

html.motion-on .hero h1            { animation: heroFadeUp .9s cubic-bezier(.2,.6,.2,1) both; animation-delay: .15s; }
html.motion-on .hero p.lead        { animation: heroFadeUp .9s cubic-bezier(.2,.6,.2,1) both; animation-delay: .35s; }
html.motion-on .hero .cta-row      { animation: heroFadeUp .9s cubic-bezier(.2,.6,.2,1) both; animation-delay: .55s; }
html.motion-on .hero .eyebrow      { animation: heroFadeUp .7s cubic-bezier(.2,.6,.2,1) both; }
html.motion-on .hero .ornament::before,
html.motion-on .hero .ornament::after { transform-origin: center; animation: ornamentDraw .8s cubic-bezier(.2,.6,.2,1) both; }
html.motion-on .hero .ornament .dot   { animation: dotPulse 3.5s ease-in-out infinite; animation-delay: 1.2s; }

/* ============================================================
   The Illuminated Network — signature animation layer
   Gold ink on parchment meets network monitoring.
   ============================================================ */

/* The network is the site's atmosphere — one fixed canvas behind everything.
   Solid sections (navy strips, warm panels, cards) occlude it for rhythm. */
.net-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
main, .site-footer { position: relative; z-index: 1; }

/* Giant ghost monogram behind the hero — an illuminated drop-cap */
.hero { position: relative; overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }
.hero::before {
  content: "SDG";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -54%) translateY(var(--wm-shift, 0px));
  font-family: var(--display);
  font-size: clamp(280px, 38vw, 540px);
  line-height: 1;
  color: rgba(184, 137, 58, .07);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

/* Soft vellum backings — text lifts off the network, no hard boxes */
.section-head {
  background: radial-gradient(ellipse 75% 88% at 50% 50%,
    rgba(253, 252, 248, .95) 0%,
    rgba(253, 252, 248, .82) 55%,
    rgba(253, 252, 248, 0) 82%);
}
.two-col, .faq, .contact-grid { position: relative; }
.two-col::before, .faq::before, .contact-grid::before {
  content: "";
  position: absolute;
  inset: -30px -40px;
  background: radial-gradient(ellipse 92% 88% at 50% 50%,
    rgba(253, 252, 248, .94) 0%,
    rgba(253, 252, 248, .82) 58%,
    rgba(253, 252, 248, 0) 86%);
  z-index: -1;
  pointer-events: none;
}
/* Sections with their own solid background don't need the glow */
section[style*="background"] .two-col::before,
section[style*="background"] .faq::before { content: none; }

/* Ghost chapter numerals behind section heads */
.section-head { position: relative; }
.ghost-numeral {
  position: absolute;
  top: -18px; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(90px, 12vw, 150px);
  line-height: 1;
  color: rgba(184, 137, 58, .12);
  pointer-events: none;
  user-select: none;
}

/* First-visit veil — the monogram lifts like a turned page */
.veil {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .55s ease, visibility .55s;
}
.veil.lift { opacity: 0; visibility: hidden; }
.veil-inner { text-align: center; }
.veil-sdg {
  display: block;
  font-family: var(--display);
  font-size: 96px;
  color: var(--navy);
  animation: veilRise .8s cubic-bezier(.2,.6,.2,1) both;
}
.veil-line {
  display: block;
  height: 1.5px;
  background: var(--gold);
  margin: 14px auto 12px;
  animation: veilLine .7s cubic-bezier(.2,.6,.2,1) .35s both;
}
.veil-sub {
  display: block;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--gold);
  animation: veilRise .7s cubic-bezier(.2,.6,.2,1) .5s both;
}
@keyframes veilRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes veilLine {
  from { width: 0; }
  to   { width: 150px; }
}

/* Card light-sheen layer (cursor-tracked, injected by JS) */
.card-sheen {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
              rgba(184, 137, 58, .12), transparent 55%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card:hover .card-sheen, .tier:hover .card-sheen { opacity: 1; }

/* Scroll progress — a gold thread spun across the top of the page */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 60%, var(--gold-soft) 100%);
  transform: scaleX(var(--sp, 0));
  transform-origin: 0 50%;
  z-index: 100;
  pointer-events: none;
}

/* Footer status line — an homage to the MSP status page */
.status-line {
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  position: relative;
  flex: 0 0 auto;
}
.motion-toggle {
  background: transparent;
  border: 1px solid rgba(184, 137, 58, .45);
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 2.5px;
  padding: 5px 12px;
  margin-left: 14px;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.motion-toggle:hover {
  border-color: var(--gold);
  color: var(--parchment);
}

/* Uptime pulse — an ECG line that draws itself across the quote strips */
.pulse-line {
  display: block;
  width: min(420px, 72%);
  margin: 0 auto 22px;
  overflow: visible;
}
.pulse-line path.base {
  stroke: var(--gold);
  stroke-width: 1.5;
  fill: none;
  opacity: .65;
}
.pulse-line .pulse-packet { fill: var(--gold-soft); }

/* Manuscript corner flourishes on cards */
.card { position: relative; }
.card::before, .card::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--gold);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, width .35s ease, height .35s ease;
}
.card::before { top: 9px; left: 9px; border-right: none; border-bottom: none; }
.card::after { bottom: 9px; right: 9px; border-left: none; border-top: none; }
.card:hover::before, .card:hover::after { opacity: 1; width: 28px; height: 28px; }

/* Brand mark — a quiet lift on hover */
.brand img { transition: transform .3s ease; }
.brand:hover img { transform: scale(1.03); }

/* Gold-leaf headline emphasis (static gold; sheen animates under motion-ok) */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 em {
    background: linear-gradient(105deg,
      var(--gold) 0%, var(--gold) 38%,
      #e3c07c 50%,
      var(--gold) 62%, var(--gold) 100%);
    background-size: 250% 100%;
    background-position: 120% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gold);
  }
}

/* Gold sheen sweeps across the emphasized headline words */
@keyframes goldSheen {
  0%   { background-position: 120% 0; }
  55%  { background-position: -130% 0; }
  100% { background-position: -130% 0; }
}
html.motion-on .hero h1 em { animation: goldSheen 7s ease-in-out 1.4s infinite; }

/* Featured pricing tier breathes a soft gold halo */
@keyframes tierBreath {
  0%, 100% { box-shadow: 0 0 0 1px var(--gold); }
  50%      { box-shadow: 0 0 0 1px var(--gold), 0 10px 36px rgba(184,137,58,.3); }
}
html.motion-on .tier.featured { animation: tierBreath 5.5s ease-in-out infinite; }

/* Nav CTA's inner gold border breathes */
@keyframes ctaBreath {
  0%, 100% { opacity: .4; }
  50%      { opacity: .9; }
}
html.motion-on .nav-links a.nav-cta::after,
html.motion-on .nav-cta::after { animation: ctaBreath 4.5s ease-in-out infinite; }

/* Status dot pulses like a live monitor */
@keyframes statusPing {
  0%   { box-shadow: 0 0 0 0 rgba(184,137,58,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(184,137,58,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,137,58,0); }
}
html.motion-on .status-dot { animation: statusPing 2.6s cubic-bezier(.2,.6,.4,1) infinite; }

/* Section ornaments draw outward when revealed */
html.motion-on [data-animate] .ornament::before,
html.motion-on [data-animate] .ornament::after {
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1s cubic-bezier(.2,.6,.2,1) .25s;
}
html.motion-on [data-animate].in-view .ornament::before,
html.motion-on [data-animate].in-view .ornament::after { transform: scaleX(1); }

/* Uptime pulse draw transition */
html.motion-on .pulse-line path.base {
  transition: stroke-dashoffset 2.4s cubic-bezier(.4,0,.2,1) .3s;
}

/* Cinematic hero reveal — blur resolving into focus */
@keyframes heroFocus {
  from { opacity: 0; transform: translateY(26px); filter: blur(10px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
html.motion-on .hero h1     { animation-name: heroFocus; }
html.motion-on .hero p.lead { animation-name: heroFocus; }

/* Hero watermark drifts slower than the page (parallax) */
html.motion-on .hero::before { will-change: transform; }

/* 3D card tilt with cursor-tracked light — desktop pointers only */
@media (pointer: fine) {
  html.motion-on .card, html.motion-on .tier,
  html.motion-on .card:hover, html.motion-on .tier:hover {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .15s ease, border-color .2s ease, box-shadow .35s ease;
  }
  html.motion-on .card:hover, html.motion-on .tier:hover {
    box-shadow: 0 20px 44px rgba(26, 40, 64, .14);
    border-color: var(--gold);
  }
}

/* Responsive */
@media (max-width: 820px) {
  .brand img { height: 64px; }
  .nav-links { display: none; flex-direction: column; gap: 12px; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--parchment);
    border-bottom: 1px solid var(--rule);
    padding: 20px var(--gap);
    align-items: flex-start;
  }
  .nav-toggle { display: block; }
  .nav-links a.nav-cta, .nav-cta { display: none; }
  .nav-links.open a.nav-cta, .nav-links.open .nav-cta { display: inline-block; margin-top: 8px; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
