/* Shared Timeless Echoes gold theme: tokens, type, header, footer, and buttons.
   Used by blog and other marketing pages so they match the homepage redesign. */
:root {
  --ink: #1A1612;
  --mut: #6E6960;
  --line: #E9E1CC;
  --soft: #F6F1E3;
  --bg: #FCFAF3;
  --gold: #E8B43A;
  --gold-2: #C99A22;
  --accent: #F0C044;
  --btn: #E8B43A;
  --btn-text: #1A1612;
  --btn-hover: #D4A52C;
  --frost: rgba(255, 251, 242, 0.88);
  --white: #fff;
  --pad: clamp(20px, 4vw, 56px);
  --header-h: 72px;
  --max: 1280px;
  --radius: 20px;
  /* Aliases so older class names still pick up the gold palette */
  --ink-2: #1A1612;
  --head: #1A1612;
  --body: #6E6960;
  --muted: #6E6960;
  --paper: #FCFAF3;
  --warm: #FCFAF3;
  --field: #E9E1CC;
  --coral: #E8B43A;
  --orange: #C99A22;
  --grad: #E8B43A;
  --grad-btn: #E8B43A;
  --err: #8A2F1F;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: clip; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.04em;
  color: var(--ink);
}
h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
.wrap { width: min(var(--max), 100%); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 760px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .5rem 1rem;
  z-index: 80;
}
.skip:focus { left: 12px; top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--mut);
  margin: 0 0 10px;
}

.divider { display: flex; gap: 4px; justify-content: center; margin: 16px 0 0; }
.divider i { display: block; width: 10px; height: 3px; border-radius: 2px; background: var(--gold); }
.divider i:nth-child(2) { background: var(--accent); }
.divider i:nth-child(3) { background: var(--gold-2); }
.divider i:nth-child(4) { background: var(--gold); }
.divider--left { justify-content: flex-start; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.01em;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { background: #2b2d30; border-color: #2b2d30; }
.btn-accent,
.btn-primary {
  background: var(--btn);
  border-color: var(--btn);
  color: var(--btn-text);
  box-shadow: 0 8px 20px rgba(232, 180, 58, 0.35);
}
.btn-accent:hover,
.btn-primary:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--btn-text); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-xl { height: 56px; padding: 0 28px; font-size: 16px; width: 100%; }
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--frost);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 32px;
}
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 40px; width: auto; }
.site-nav { display: flex; margin-left: auto; align-items: center; gap: 28px; }
.site-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.site-nav a {
  font-size: 14px;
  color: var(--ink);
  opacity: .85;
}
.site-nav a:hover { opacity: 1; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
  left: 11px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { content: ""; top: -6px; }
.nav-toggle span::after { content: ""; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer h4 {
  color: #fff;
  font-size: 16px;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.footer p { font-size: 14px; line-height: 1.55; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 14px; }
.footer-social { display: flex; gap: 12px; list-style: none; margin-top: 16px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #fff;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-contact { font-size: 14px; margin-bottom: 8px; }
.footer-contact a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); }
.footer-contact a:hover { border-color: var(--gold); color: var(--gold); }
.copyright { font-size: 13px; color: rgba(255,255,255,.45); padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    background: var(--frost);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--pad) 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}
