/* ==========================================================================
   REYS Accountants — stylesheet
   Palette: deep navy/charcoal base, warm off-white text, brass/gold accent.
   Gold is restricted to large text, buttons, and dividers to keep WCAG AA
   contrast — small body text always uses off-white on the dark background.
   ========================================================================== */

:root {
  /* Colour tokens */
  --navy-950: #0b0f14;
  --navy-900: #0f1420;
  --navy-800: #151d2c;
  --navy-700: #1c2638;
  --off-white: #f3efe4;
  --off-white-dim: #cfc9ba;
  --gold: #b08d57;
  --gold-bright: #cba86a;
  --gold-dark: #8a6d40;
  --line: rgba(243, 239, 228, 0.14);
  --line-strong: rgba(243, 239, 228, 0.28);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* Layout */
  --max-width: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--off-white);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }

p { margin: 0 0 1em; color: var(--off-white-dim); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.1em;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.section {
  padding-block: clamp(64px, 10vw, 128px);
  position: relative;
}
.section--sunken {
  background: var(--navy-900);
  border-block: 1px solid var(--line);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--off-white-dim);
  max-width: 640px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.9em 1.6em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy-950);
}
.btn--gold:hover { background: var(--gold-bright); }

.btn--ghost {
  background: transparent;
  color: var(--off-white);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

.btn--block { width: 100%; justify-content: center; }
.btn--pill { border-radius: 999px; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 20, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--off-white);
  flex-shrink: 0;
}
.brand strong { color: var(--gold-bright); font-weight: 600; }
.brand-mark {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--off-white-dim);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--gold-bright); }

.nav-links > li { position: relative; }
.nav-links > li > a.is-active,
.nav-dropdown-toggle.is-active {
  color: var(--gold-bright);
}
.nav-links > li > a.is-active::after,
.has-dropdown.is-active > .nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--gold);
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--off-white-dim);
  cursor: pointer;
  transition: color 0.2s ease;
}
.nav-dropdown-toggle:hover { color: var(--gold-bright); }
.nav-dropdown-toggle .chev {
  width: 9px;
  height: 9px;
  transition: transform 0.2s ease;
}
.nav-dropdown-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 10px;
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  background: var(--navy-900);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  min-width: 250px;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 24px 55px -22px rgba(0, 0, 0, 0.6);
  z-index: 50;
}
.dropdown-menu.is-open { display: flex; }
.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 3px;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--off-white-dim);
}
.dropdown-menu a:hover { background: var(--navy-800); color: var(--gold-bright); }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--off-white);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--navy-950);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px var(--gutter);
    gap: 22px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border-top: 1px solid var(--line);
  }
  .nav-links a { font-size: 1.1rem; }
  .nav-links > li { width: 100%; }
  body.nav-open .nav-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { padding: 0.7em 1em; font-size: 0.85rem; }

  .nav-dropdown-toggle { font-size: 1.1rem; width: 100%; justify-content: space-between; color: var(--off-white); }
  .nav-links > li > a.is-active::after,
  .has-dropdown.is-active > .nav-dropdown-toggle::after { display: none; }
  .dropdown-menu {
    position: static;
    border: none;
    background: none;
    box-shadow: none;
    min-width: 0;
    padding: 4px 0 4px 16px;
  }
  .dropdown-menu a { padding: 8px 0; }
}

/* ---------- hero ---------- */
.hero {
  padding-block: clamp(72px, 12vw, 140px) clamp(56px, 8vw, 96px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(176, 141, 87, 0.16), transparent 42%),
    var(--navy-950);
}
.hero-intro {
  max-width: 780px;
  margin-bottom: clamp(24px, 4vw, 36px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.hero-copy .lede { max-width: 560px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-badge {
  font-size: 0.82rem;
  color: var(--off-white-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual--photo { aspect-ratio: 16 / 10; }
.hero-visual-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(0deg, rgba(11,15,20,0.92), transparent);
  font-size: 0.78rem;
  color: var(--off-white-dim);
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; aspect-ratio: 16/10; }
}

/* ---------- placeholder image blocks ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--navy-800);
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- the stakes ---------- */
.stakes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 48px;
}
.stakes-card {
  background: var(--navy-950);
  padding: 32px 28px;
}
.stakes-figure {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-bright);
  display: block;
  margin-bottom: 10px;
}
.stakes-card p { margin: 0; font-size: 0.94rem; }
.stakes-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--off-white); font-family: var(--font-body); font-weight: 600; }

/* ---------- value / two-col ---------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split.reverse .img-frame { order: 2; }
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .img-frame { order: -1; }
}
.split .img-frame { aspect-ratio: 4/3; }

.checklist { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--off-white);
}
.checklist li .tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 2px;
}

/* ---------- credentials / guide ---------- */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.credential {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy-900);
}
.credential .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold-bright);
  display: block;
  margin-bottom: 6px;
}
.credential p { font-size: 0.9rem; margin: 0; }

.needs-input {
  color: var(--gold-bright);
  background: rgba(176, 141, 87, 0.12);
  border: 1px dashed var(--gold);
  padding: 0.05em 0.5em;
  border-radius: 3px;
  font-size: 0.85em;
  font-weight: 600;
  white-space: normal;
}

/* ---------- the plan ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  counter-reset: plan;
}
@media (max-width: 860px) {
  .plan-grid { grid-template-columns: 1fr; }
}
.plan-step {
  position: relative;
  padding: 36px 28px 28px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  background: var(--navy-900);
}
.plan-step .step-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}

/* ---------- pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
  align-items: stretch;
}
@media (max-width: 940px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--navy-900);
  position: relative;
}
.price-kicker {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 16px;
}
.price-card .price-sub {
  font-size: 0.95rem;
  color: var(--off-white-dim);
  margin-bottom: 24px;
  min-height: 4.4em;
}
.price-audience {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--off-white);
  margin: 28px 0 16px;
}
.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  flex-grow: 1;
}
.price-list li {
  font-size: 0.94rem;
  color: var(--off-white-dim);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.price-list li::before {
  content: "\2713";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-950);
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.pricing-note {
  margin-top: 36px;
  font-size: 0.85rem;
  color: var(--off-white-dim);
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

/* ---------- about ---------- */
.about-quote {
  border-left: 2px solid var(--gold);
  padding-left: 28px;
  margin: 32px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--off-white);
  font-weight: 400;
  line-height: 1.5;
}
.about-sign { margin-top: 20px; font-size: 0.9rem; color: var(--gold-bright); font-family: var(--font-body); font-weight: 600; }

/* ---------- video ---------- */
.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}
.video-frame .play {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
}
.video-caption { text-align: center; margin-top: 16px; font-size: 0.88rem; color: var(--off-white-dim); }

/* ---------- final CTA ---------- */
.cta-band {
  text-align: center;
  padding-block: clamp(72px, 10vw, 120px);
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  border-top: 1px solid var(--line);
}
.cta-band h2 { max-width: 720px; margin-inline: auto; }
.cta-band .lede { margin-inline: auto; text-align: center; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- contact / enquiry form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--off-white);
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--navy-900);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-note { font-size: 0.8rem; color: var(--off-white-dim); margin-top: 10px; }

/* ---------- interior page intro / breadcrumb ---------- */
.page-hero {
  padding-block: clamp(56px, 9vw, 100px) clamp(40px, 6vw, 64px);
  background:
    radial-gradient(circle at 82% 8%, rgba(176, 141, 87, 0.14), transparent 42%),
    var(--navy-950);
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--off-white-dim);
  text-decoration: none;
  margin-bottom: 20px;
}
.breadcrumb:hover { color: var(--gold-bright); }

/* ---------- empty state (blog / reviews / faqs awaiting content) ---------- */
.empty-state {
  max-width: 560px;
  padding: 40px 0 24px;
}
.empty-state .lede { margin-bottom: 0; }

/* ---------- testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy-900);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-quote {
  font-size: 0.95rem;
  color: var(--off-white);
  margin: 0 0 22px;
  flex-grow: 1;
}
.testimonial-quote p { color: var(--off-white); margin: 0 0 1em; }
.testimonial-quote p:last-child { margin-bottom: 0; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--off-white);
}

/* ---------- service cards (services hub) ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  display: block;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy-900);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; margin: 0; }
.service-card .arrow { color: var(--gold-bright); font-size: 0.85rem; display: inline-block; margin-top: 14px; }

/* ---------- service detail page ---------- */
.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.service-meta span {
  font-size: 0.8rem;
  color: var(--off-white-dim);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 14px;
}

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.faq-item { background: var(--navy-950); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 22px 26px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question .chev { width: 12px; height: 12px; flex-shrink: 0; transition: transform 0.2s ease; color: var(--gold-bright); }
.faq-question[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-answer {
  padding: 0 26px 22px;
  color: var(--off-white-dim);
  font-size: 0.94rem;
}

/* ---------- blog post: disclaimer ---------- */
.disclaimer {
  margin-top: 48px;
  padding: 18px 22px;
  border-left: 2px solid var(--gold);
  background: var(--navy-900);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--off-white-dim);
}
.disclaimer p { margin: 0; font-style: italic; color: inherit; }

/* ---------- blog post: author card ---------- */
.author-card {
  margin-top: 48px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy-900);
}
.author-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}
.author-kicker::before { content: ""; width: 20px; height: 1px; background: var(--gold); display: inline-block; }
.author-card-body { display: flex; gap: 16px; align-items: flex-start; }
.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.author-name { font-family: var(--font-display); font-size: 1.05rem; color: var(--off-white); margin: 0; }
.author-title { font-size: 0.85rem; color: var(--off-white-dim); margin: 2px 0 10px; }
.author-bio { font-size: 0.92rem; color: var(--off-white-dim); margin: 0 0 10px; }
.author-link { font-size: 0.88rem; font-weight: 600; color: var(--gold-bright); text-decoration: none; }
.author-link:hover { text-decoration: underline; }

/* ---------- blog post: inline CTA card ---------- */
.inline-cta {
  margin-top: 28px;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-800) 40%, #4a3a22 100%);
}
.inline-cta h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--off-white);
  margin: 0 0 10px;
}
.inline-cta p { color: var(--off-white-dim); margin: 0 0 20px; max-width: 46ch; }
.inline-cta .btn { background: var(--off-white); color: var(--navy-950); border-color: var(--off-white); }
.inline-cta .btn:hover { background: var(--gold-bright); border-color: var(--gold-bright); }

/* ---------- blog post: related articles ---------- */
.related-articles {
  margin-top: 28px;
  padding: 24px 28px;
  border-left: 2px solid var(--gold);
  background: var(--navy-900);
}
.related-articles h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--off-white);
  margin: 0 0 14px;
}
.related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.related-list a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-bright);
  text-decoration: none;
}
.related-list a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-950);
  border-top: 1px solid var(--line);
  padding-block: 64px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 16px;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; color: var(--off-white-dim); font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--off-white-dim);
}
.compliance-line {
  font-size: 0.78rem;
  color: var(--off-white-dim);
  max-width: 900px;
  line-height: 1.7;
  margin-top: 4px;
}

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- skip link / a11y ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-950);
  padding: 12px 20px;
  z-index: 1000;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
