/* ==========================================================================
   WHIZ.CENTER — Cinematic Premium Theme
   Deep black canvas · rich gold accent · restrained gold neon glow
   Pure CSS · zero build step · responsive · reduced-motion aware
   ========================================================================== */

/* ---- 1. Design tokens --------------------------------------------------- */
:root {
  /* Surfaces — warm-leaning black, never pure #000 */
  --ink:        #0A0A0B;
  --ink-2:      #101013;
  --ink-3:      #16161A;
  --line:       rgba(201, 162, 75, 0.14);
  --line-soft:  rgba(255, 255, 255, 0.06);

  /* Rich gold scale */
  --gold:        #C9A24B;
  --gold-bright: #E8C874;
  --gold-deep:   #8C6B2E;

  /* Type */
  --text:   #F4F0E8;
  --muted:  #9B978E;
  --faint:  #6E6A62;

  /* Gold neon glow — kept low-alpha on purpose */
  --glow-soft:  0 0 0 1px rgba(201,162,75,.18), 0 8px 40px -12px rgba(201,162,75,.28);
  --glow-hover: 0 0 0 1px rgba(232,200,116,.45), 0 14px 60px -10px rgba(201,162,75,.45);

  --maxw: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
}

/* ---- 2. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: .1px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Ambient cinematic backdrop — single fixed gold aurora, very subtle */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 50% at 70% -5%, rgba(201,162,75,.10), transparent 60%),
    radial-gradient(45% 40% at 12% 8%, rgba(201,162,75,.06), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* ---- 3. Layout helpers -------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
.section { position: relative; z-index: 1; padding-block: 110px; }
.eyebrow {
  font-size: 12px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .7; }

/* ---- 4. Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600; letter-spacing: .06em;
  padding: 14px 26px; border-radius: 999px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background .35s var(--ease), color .35s var(--ease);
}
.btn--gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a1404;
  box-shadow: var(--glow-soft);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: var(--glow-hover); }
.btn--ghost {
  background: transparent; color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: rgba(201,162,75,.55);
  color: var(--gold-bright);
  box-shadow: 0 0 30px -14px rgba(201,162,75,.6);
}

/* ---- 5. Header ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10,10,11,.72);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: baseline; gap: 2px; font-family: var(--font-display); }
.brand b { font-weight: 600; font-size: 26px; letter-spacing: .04em; }
.brand b .dot { color: var(--gold); }
.brand span {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--faint); margin-left: 8px; font-family: var(--font-body);
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14px; color: var(--muted); position: relative;
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; font-size: 22px; }

/* ---- 6. Hero ------------------------------------------------------------ */
.hero { padding-block: 150px 120px; text-align: center; position: relative; z-index: 1; }
.hero .eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.9rem, 8vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  max-width: 16ch; margin-inline: auto;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* signature: hairline gold shimmer beneath the headline */
.hero .rule {
  width: 220px; height: 1px; margin: 38px auto 30px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative; overflow: hidden;
}
.hero .rule::after {
  content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  animation: shimmer 4.5s var(--ease) infinite;
}
@keyframes shimmer { 0% { left: -40%; } 60%, 100% { left: 120%; } }

.hero p {
  color: var(--muted); font-size: 1.12rem; max-width: 56ch; margin: 0 auto 42px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.metrics {
  display: flex; gap: 54px; justify-content: center; flex-wrap: wrap;
  margin-top: 78px; padding-top: 40px; border-top: 1px solid var(--line-soft);
}
.metric .n {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 600;
  color: var(--gold-bright);
}
.metric .l { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }

/* ---- 7. Services grid --------------------------------------------------- */
.section-head { max-width: 60ch; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.08; margin: 18px 0 14px;
}
.section-head p { color: var(--muted); }

.grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  position: relative; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border-radius: var(--radius); padding: 36px 30px 34px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% -20%, rgba(201,162,75,.10), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,162,75,.4);
  box-shadow: var(--glow-hover);
}
.card:hover::before { opacity: 1; }
.card .idx {
  font-family: var(--font-display); font-size: 15px; color: var(--gold);
  letter-spacing: .2em; opacity: .8;
}
.card h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.7rem;
  margin: 16px 0 12px; position: relative;
}
.card p { color: var(--muted); font-size: .98rem; position: relative; }
.card .tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.card .tags span {
  font-size: 12px; color: var(--gold); letter-spacing: .04em;
  border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px;
}

/* ---- 8. CTA band -------------------------------------------------------- */
.band {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  text-align: center; padding-block: 96px;
  background: radial-gradient(70% 120% at 50% 0%, rgba(201,162,75,.07), transparent 60%);
}
.band h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 18px; line-height: 1.1;
}
.band p { color: var(--muted); max-width: 50ch; margin: 0 auto 34px; }

/* ---- 9. Footer ---------------------------------------------------------- */
.site-footer { position: relative; z-index: 1; padding-block: 70px 40px; }
.foot-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 50px; border-bottom: 1px solid var(--line-soft);
}
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { color: var(--muted); font-size: .95rem; max-width: 34ch; }
.foot-col h4 {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 18px; font-weight: 600;
}
.foot-col a { display: block; color: var(--muted); font-size: .95rem; padding: 6px 0; transition: color .3s var(--ease); }
.foot-col a:hover { color: var(--gold-bright); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px; padding-top: 28px;
  color: var(--faint); font-size: 13px;
}
.foot-bottom .dotline { color: var(--gold); }

/* ---- 10. Responsive ----------------------------------------------------- */
@media (max-width: 920px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding-block: 80px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .metrics { gap: 34px; }
  .hero { padding-block: 110px 90px; }
}
@media (max-width: 460px) {
  .wrap { padding-inline: 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .metric .n { font-size: 2.1rem; }
}

/* ---- 11. Accessibility -------------------------------------------------- */
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
