/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Variables ── */
:root {
  --black:       #0d0b08;
  --dark:        #1a1510;
  --mid:         #2a2018;
  --amber:       #c8821a;
  --amber-light: #e8a030;
  --amber-dim:   #a06820;
  --cream:       #e8dbbe;
  --cream-dark:  #c4b48a;
  --tape:        #4a3820;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  color: var(--cream);
  font-family: 'Josefin Sans', sans-serif;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5rem;
  border-bottom: 1px solid rgba(200,130,26,0.15);
  background: rgba(13,11,8,0.93);
  backdrop-filter: blur(6px);
}

.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo img { height: 38px; width: auto; mix-blend-mode: screen; filter: brightness(1.1); transition: filter 0.2s; }
.nav-logo img:hover { filter: brightness(1.3) sepia(0.3) saturate(1.5) hue-rotate(-10deg); }

.nav-links { display: flex; gap: 1.6rem; list-style: none; flex-wrap: wrap; }
.nav-links a { color: var(--cream-dark); text-decoration: none; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--amber-light); }
.nav-links a.active { color: var(--amber); }

.nav-soon {
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-dim);
  border: 1px solid currentColor;
  padding: 0.1rem 0.35rem;
  margin-left: 0.3rem;
  vertical-align: middle;
  line-height: 1.4;
  display: inline-block;
}

/* ── Social links ── */
.social-links { display: flex; gap: 1.2rem; align-items: center; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(200,130,26,0.2); color: var(--cream-dark); text-decoration: none; transition: all 0.2s; }
.social-links a:hover { border-color: var(--amber); color: var(--amber); background: rgba(200,130,26,0.07); }
.social-links svg { width: 16px; height: 16px; fill: currentColor; }

/* ── Buttons ── */
.btn { padding: 0.85rem 2rem; font-family: 'Josefin Sans', sans-serif; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--amber); cursor: pointer; transition: all 0.25s; display: inline-block; background: none; }
.btn-primary { background: var(--amber); color: var(--black); }
.btn-primary:hover { background: var(--amber-light); border-color: var(--amber-light); }
.btn-ghost { background: transparent; color: var(--amber); }
.btn-ghost:hover { background: rgba(200,130,26,0.1); }
.btn-dim { background: transparent; color: var(--amber-dim); border-color: var(--amber-dim); cursor: default; }

/* ── Sections ── */
.section { padding: 6rem 2.5rem; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--amber-dim);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::after { content: ''; flex: 1; max-width: 60px; height: 1px; background: var(--amber-dim); }

/* ── Tape line ── */
.tape-line { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--amber-dim), transparent); opacity: 0.3; }

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: 10rem 2.5rem 5.5rem;
  border-bottom: 1px solid rgba(200,130,26,0.1);
}

.page-hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  font-family: 'Abril Fatface', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.97;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.page-hero h1 em { font-style: normal; color: var(--amber-light); }

.page-hero-sub {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--cream-dark);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.page-hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Footer ── */
footer {
  border-top: 1px solid rgba(200,130,26,0.1);
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo img { height: 28px; width: auto; mix-blend-mode: screen; filter: brightness(0.85); }
.footer-copy { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--cream-dark); opacity: 0.5; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-dark); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--amber); }

/* ── Form styles ── */
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber-dim); margin-bottom: 0.5rem; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,130,26,0.2);
  border-bottom-color: rgba(200,130,26,0.4);
  color: var(--cream);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--amber); background: rgba(200,130,26,0.04); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(196,180,138,0.35); }
.form-field textarea { resize: vertical; min-height: 150px; }
.form-field select { cursor: pointer; }
.form-field select option { background: var(--dark); color: var(--cream); }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Keyframes ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--amber); } 50% { opacity: 0.4; box-shadow: 0 0 4px var(--amber-dim); } }
@keyframes pulse-green { 0%, 100% { opacity: 1; box-shadow: 0 0 10px #90d080; } 50% { opacity: 0.4; box-shadow: 0 0 4px #406030; } }
@keyframes pulse-blue { 0%, 100% { opacity: 1; box-shadow: 0 0 10px #8090d0; } 50% { opacity: 0.4; box-shadow: 0 0 4px #404060; } }
@keyframes pulse-red { 0%, 100% { opacity: 1; box-shadow: 0 0 10px #d06060; } 50% { opacity: 0.4; box-shadow: 0 0 4px #602020; } }
@keyframes pulse-teal { 0%, 100% { opacity: 1; box-shadow: 0 0 10px #60c0c0; } 50% { opacity: 0.4; box-shadow: 0 0 4px #205050; } }

/* ── Hub cards (home page) ── */
.hub-section { padding: 5rem 2.5rem; }

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid rgba(200,130,26,0.15);
}

.hub-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  border-right: 1px solid rgba(200,130,26,0.15);
  text-decoration: none;
  transition: background 0.25s;
  color: inherit;
}
.hub-card:last-child { border-right: none; }
.hub-card:hover { background: rgba(200,130,26,0.04); }

.hub-card-num { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--amber-dim); margin-bottom: 1.2rem; }
.hub-card-title { font-family: 'Abril Fatface', serif; font-size: 1.5rem; color: var(--cream); margin-bottom: 0.75rem; line-height: 1.1; }
.hub-card-body { font-family: 'Source Serif 4', serif; color: var(--cream-dark); font-size: 0.92rem; line-height: 1.75; margin-bottom: 1.75rem; flex-grow: 1; }
.hub-card-link { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); transition: color 0.2s; }
.hub-card:hover .hub-card-link { color: var(--amber-light); }

.hub-card-img {
  display: block;
  width: calc(100% + 5rem);
  height: 210px;
  object-fit: cover;
  margin: -2.5rem -2.5rem 2rem -2.5rem;
  box-shadow: inset 0 -6px 12px rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(200,130,26,0.2);
}

/* ── About section (shared) ── */
.about-inner { max-width: 760px; margin: 0 auto; }
.about-inner h2 { font-family: 'Abril Fatface', serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 1.5rem; line-height: 1.2; }
.about-inner p { font-family: 'Source Serif 4', serif; font-size: 1.05rem; line-height: 1.85; color: var(--cream-dark); margin-bottom: 1.2rem; }
.about-stamp { display: inline-block; border: 2px solid var(--amber-dim); color: var(--amber-dim); font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; padding: 0.5rem 1rem; margin-top: 1.5rem; transform: rotate(-1.5deg); }

/* ── Responsive ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .section { padding: 4rem 1.5rem; }
  .page-hero { padding: 8rem 1.5rem 3.5rem; }
  .hub-section { padding: 3rem 1.5rem; }
  .hub-grid { grid-template-columns: 1fr; border: none; }
  .hub-card { border-right: none; border-bottom: 1px solid rgba(200,130,26,0.15); padding: 2rem 0; }
  .hub-card:first-child { padding-top: 0; }
  .hub-card:last-child { border-bottom: none; }
  .hub-card-img { width: 100%; margin: 0 0 1.5rem 0; }
  footer { flex-direction: column; text-align: center; }
}

/* ── End-of-article CTA block ──────────────────────────── */
.dt-cta-block { max-width: 680px; margin: 0 auto; padding: 0 2.5rem 4rem; }

.dt-cta-rule { border: none; border-top: 1px solid rgba(46,125,50,0.15); margin: 2.5rem 0 2rem; }

.dt-cta-box {
  border: 1.5px solid #c0392b;
  border-radius: 4px;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(192,57,43,0.02);
}

.dt-cta-inner { display: flex; align-items: flex-start; gap: 1.25rem; }

.dt-cta-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: #c0392b; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; margin-top: 2px;
}

.dt-cta-label {
  font-family: 'Josefin Sans', Arial, sans-serif;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: #c0392b; margin: 0 0 0.4rem;
}

.dt-cta-heading {
  font-family: 'Abril Fatface', serif;
  font-size: 1.1rem; color: var(--cream); margin: 0 0 0.4rem; line-height: 1.25;
}

.dt-cta-body {
  font-family: 'Source Serif 4', serif;
  font-size: 0.92rem; color: var(--cream-dark); margin: 0; line-height: 1.7;
}
.dt-cta-body strong { color: var(--cream); font-weight: 600; }

.dt-cta-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.dt-cta-btn-primary {
  display: inline-block; background: #c0392b; color: #fff;
  border: 1.5px solid #c0392b; border-radius: 3px;
  padding: 0.55rem 1.2rem; font-family: 'Josefin Sans', Arial, sans-serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; transition: background 0.15s;
}
.dt-cta-btn-primary:hover { background: #a93226; border-color: #a93226; color: #fff; }

.dt-cta-btn-secondary {
  display: inline-block; background: transparent; color: #c0392b;
  border: 1.5px solid #c0392b; border-radius: 3px;
  padding: 0.55rem 1.2rem; font-family: 'Josefin Sans', Arial, sans-serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; transition: background 0.15s;
}
.dt-cta-btn-secondary:hover { background: rgba(192,57,43,0.06); }

.dt-cta-footnote {
  font-family: 'Source Serif 4', serif; font-style: italic;
  font-size: 0.82rem; color: var(--cream-dark); margin: 0;
  padding-top: 0.75rem; border-top: 1px solid rgba(46,125,50,0.12);
}

@media (max-width: 540px) {
  .dt-cta-block { padding: 0 1.25rem 3rem; }
  .dt-cta-box { padding: 1.25rem; }
  .dt-cta-inner { flex-direction: column; gap: 0.75rem; }
  .dt-cta-buttons { flex-direction: column; }
  .dt-cta-btn-primary, .dt-cta-btn-secondary { text-align: center; }
}
