/* ── RESET & VARS ── */
:root {
  --ink: #2e2720;           /* was #1a1410 — lighter page background */
  --parchment: #faf6ee;     /* was #f5f0e8 — brighter main text */
  --parchment-dark: #ede5d4;/* was #e8e0d0 — brighter secondary text */
  --crimson: #a82020;       /* was #8b1a1a — slightly brighter red */
  --crimson-dark: #7e1414;  /* was #6b1010 */
  --crimson-light: #d44030; /* was #c0392b — more vivid hover red */
  --gold: #c8960e;          /* was #b8860b — brighter gold details */
  --gold-light: #e8b420;    /* was #d4a017 — more visible gold highlights */
  --stone: #3e3830;         /* was #2c2820 — lighter card backgrounds */
  --stone-mid: #5c5650;     /* was #4a4440 — lighter mid tone */
  --mist: #9a9490;          /* was #6b6560 — lighter muted text */
  --nav-h: 72px;
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Crimson Pro', Georgia, serif;
  --max-w: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

@font-face {
  font-family: TitleFont;
  src: url(../fonts/attic-antique-regular_ufonts.com.ttf);
  font-weight: bold;
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--parchment);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(26, 20, 16, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,134,11,0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.nav-logo img {
  height: 48px;
  width: auto;
  filter: brightness(1.15) saturate(0.6) invert(1);
  transition: filter 0.3s;
}

.nav-logo:hover img { filter: brightness(1.3) saturate(0.8); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--parchment-dark);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  background: rgba(184,134,11,0.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--parchment);
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(18,13,9,0.98);
  border-bottom: 1px solid rgba(184,134,11,0.2);
  padding: 0.5rem 0;
  z-index: 99;
  flex-direction: column;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--parchment-dark);
  text-decoration: none;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
}

.mobile-menu a:hover { color: var(--gold-light); background: rgba(184,134,11,0.07); }

/* ── LOADING ── */
#loading {
  position: fixed;
  inset: 0;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: opacity 0.5s;
}

#loading.hidden { opacity: 0; pointer-events: none; }

.loader-text {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse { 0%,100%{opacity:0.3} 50%{opacity:1} }

/* ── PAGES ── */
.page { display: none; padding-top: var(--nav-h); min-height: 100vh; }
.page.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* ── HOME HERO ── */
.hero {
  position: relative;
  height: calc(100vh - var(--nav-h));
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.32) saturate(0.55);
  transform: scale(1.04);
  transition: transform 8s ease-out;
}

.hero-bg.loaded { transform: scale(1); }

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(26,20,16,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding: 0 2rem;
  animation: fadeUp 1.2s ease both;
}

@keyframes fadeUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}

.hero-logo-img {
  width: min(480px, 80vw);
  height: auto;
  filter: brightness(1.4) saturate(0) invert(1) opacity(0.9);
  margin-bottom: 1.5rem;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.hero-title {
  font-family: 'TitleFont', sans-serif;
  font-size: clamp(2.1rem, 3.5vw, 2.4rem);
  font-weight: 600;
  color: var(--parchment-dark);
  font-style: bold;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  color: var(--parchment-dark);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-block;
  border: none;
}

.btn-primary {
  background: var(--crimson);
  color: #fff;
  border: 1px solid var(--crimson-light);
}

.btn-primary:hover {
  background: var(--crimson-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,26,26,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--parchment);
  border: 1px solid rgba(245,240,232,0.38);
}

.btn-outline:hover {
  background: rgba(245,240,232,0.07);
  border-color: var(--parchment);
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.45;
  animation: bob 2.5s ease-in-out infinite;
  z-index: 2;
}

@keyframes bob {
  0%,100% { transform:translateX(-50%) translateY(0); }
  50%      { transform:translateX(-50%) translateY(7px); }
}

.scroll-cue::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.scroll-cue-text {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--gold-light);
}

/* ── SECTION ── */
.section {
  padding: 5rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(184,134,11,0.35), transparent);
}

.section-label {
  font-family: var(--font-display);
  font-size: 1.02rem; /* original 0.62*/
  letter-spacing: 0.3em;
  color: var(--gold);
  white-space: nowrap;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px;
  background: rgba(184,134,11,0.13);
  border: 1px solid rgba(184,134,11,0.13);
}

.card {
  background: var(--stone);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
  cursor: pointer;
}

.card:hover { background: #342e28; }

.card-icon { font-size: 1.8rem; margin-bottom: 1.2rem; display: block; }

.card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.card-body {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(245,240,232,0.68);
}

.card-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

.card-link:hover { color: var(--gold-light); }
.card-link::after { content: ' →'; }

/* ── PAGE HERO ── */
.page-hero {
  position: relative;
  height: 42vh;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  padding: 0 2rem 3rem;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.28) saturate(0.45);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,20,16,1) 0%, transparent 60%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
}

.page-eyebrow {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.7rem;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

/* ── CONTENT BODY ── */
.content-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3.5rem 2rem 6rem;
}

/* ── PROSE ── */
.prose {
  max-width: 720px;
  font-size: 1.12rem;
  line-height: 1.82;
  color: rgba(245,240,232,0.82);
}

.prose p { margin-bottom: 1.4rem; }

.prose strong {
  color: var(--parchment);
  font-weight: 600;
}

.prose a {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(212,160,23,0.35);
  transition: border-color 0.2s;
}

.prose a:hover { border-color: var(--gold-light); }

/* ── TIMELINE ── */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 0.5rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.3rem;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212,160,23,0.45);
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.timeline-desc {
  font-size: 0.98rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.6;
}

/* ── QUOTE ── */
.quote-block {
  border-left: 3px solid var(--crimson);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: rgba(139,26,26,0.08);
  border-radius: 0 4px 4px 0;
  max-width: 720px;
}

.quote-text {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--parchment);
  margin-bottom: 0.7rem;
}

.quote-source {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--mist);
}

/* ── TIPS GRID ── */
.tip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: rgba(184,134,11,0.1);
  margin: 1rem 0;
}

.tip-item { background: var(--stone); padding: 1.5rem; }

.tip-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(184,134,11,0.18);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.tip-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
}

.tip-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(245,240,232,0.65);
}

/* ── EXAMPLE CARD ── */
.example-card {
  background: rgba(44,40,32,0.6);
  border: 1px solid rgba(184,134,11,0.2);
  border-radius: 4px;
  padding: 2rem;
  margin: 1.5rem 0;
  max-width: 720px;
}

.example-card h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.example-subtitle {
  font-style: italic;
  color: rgba(245,240,232,0.55);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.example-body {
  font-size: 0.98rem;
  line-height: 1.72;
  color: rgba(245,240,232,0.72);
  margin-bottom: 1rem;
}

.example-body p { margin-bottom: 0.8rem; }

.example-goal {
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(245,240,232,0.42);
  margin-top: 1rem;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

.tag {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(184,134,11,0.28);
  color: var(--gold);
  border-radius: 1px;
}

/* ── LINKS LIST ── */
.links-block { max-width: 720px; margin: 1rem 0; }

.links-heading {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

.links-block a {
  display: block;
  color: var(--gold-light);
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid rgba(212,160,23,0.3);
  padding: 0.5rem 0;
  transition: border-color 0.2s, color 0.2s;
}

.links-block a:hover {
  color: var(--parchment);
  border-color: var(--gold-light);
}

.links-block a::before { content: '→ '; font-size: 0.85em; }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-card {
  background: var(--stone);
  border: 1px solid rgba(184,134,11,0.15);
  padding: 2rem;
  border-radius: 2px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.contact-card:hover {
  border-color: rgba(184,134,11,0.38);
  transform: translateY(-4px);
}

.contact-icon { font-size: 2.2rem; display: block; margin-bottom: 1rem; }

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
}

.contact-card p {
  font-size: 1rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.65;
  margin-bottom: 1.3rem;
}

/* ── IMAGE BLOCKS ── */
.content-img {
  margin: 2rem 0;
  max-width: 720px;
}

.content-img img {
  width: 100%;
  display: block;
  border: 1px solid rgba(184,134,11,0.18);
  filter: saturate(0.65) sepia(0.12);
  transition: filter 0.35s;
}

.content-img:hover img { filter: saturate(0.88) sepia(0.04); }

.content-img figcaption {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--mist);
  margin-top: 0.6rem;
  padding-left: 0.2rem;
}

/* ── FOOTER ── */
footer {
  background: #0e0b08;
  border-top: 1px solid rgba(184,134,11,0.13);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0.85) saturate(0.4) opacity(0.6) invert(1);
  margin-bottom: 0.8rem;
}

.footer-sub {
  font-size: 0.88rem;
  color: var(--mist);
  font-style: italic;
}

.footer-divider {
  width: 60px;
  height: 1px;
  background: rgba(184,134,11,0.25);
  margin: 1.4rem auto;
}

.footer-meta {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: rgba(107,101,96,0.5);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 1.2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 3rem 1.2rem; }
  .content-body { padding: 2.5rem 1.2rem 4rem; }
  .page-hero { padding: 0 1.2rem 2rem; }
  .btn-group { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 260px; text-align: center; }
  .quote-text { font-size: 1.1rem; }
}
