/* ============================================================
   AFTR DARK CO — shared stylesheet
   Brand: black/bone/gold, serif headlines, tracked sans labels
   ============================================================ */

:root {
  --true-black: #000000;
  --midnight: #1a1a1a;
  --charcoal: #404040;
  --steel: #808080;
  --bone: #ffffff;
  --gold: #ffcc00;

  --font-serif: 'Palatino Linotype', 'Book Antiqua', Georgia, 'Times New Roman', serif;
  --font-sans: 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', Arial, sans-serif;

  --container: 1120px;
  --nav-height: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--true-black);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0 0 0.5em;
  color: var(--bone);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.1em; color: #d8d8d8; }

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
}

.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #e9e9e9;
}

.lede {
  font-size: 1.15rem;
  color: #d8d8d8;
  max-width: 60ch;
}

.rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 18px 0 26px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--bone);
  border-radius: 2px;
  background: transparent;
  color: var(--bone);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: var(--bone); color: var(--true-black); }

.btn-gold {
  border-color: var(--gold);
  color: var(--midnight);
  background: var(--gold);
}
.btn-gold:hover { background: transparent; color: var(--gold); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #262626;
}

.nav {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: -0.5px;
}
.brand img { height: 34px; width: auto; }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #c9c9c9;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--bone);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 90px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(255, 204, 0, 0.08), transparent 55%),
    var(--true-black);
}
.hero .sigil { width: 92px; margin: 0 auto 20px; }
.hero .hero-lockup { width: 100%; max-width: 380px; margin: 0 auto 22px; }
.hero h1 { margin-bottom: 14px; }
.hero .tagline { font-size: 1.35rem; display: block; margin-bottom: 36px; }

.page-hero {
  padding: 74px 0 56px;
  border-bottom: 1px solid #232323;
}

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-alt { background: var(--midnight); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 44px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.card {
  border: 1px solid #262626;
  padding: 34px 28px;
  background: var(--true-black);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card:hover { border-color: var(--gold); transform: translateY(-3px); }
.card .eyebrow { display: block; margin-bottom: 12px; }
.card a.card-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}

.pillar { text-align: left; }
.pillar-num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--steel);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 10px;
}

.quote-block {
  border-left: 2px solid var(--gold);
  padding-left: 26px;
  margin: 40px 0;
}
.quote-block p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--bone);
}

.media-frame {
  border: 1px solid #262626;
  background: var(--midnight);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-frame img { max-height: 520px; }

/* ---------- Product / design gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}
.gallery-grid.gallery-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
}
.gallery-card {
  border: 1px solid #262626;
  background: var(--midnight);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.gallery-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.gallery-card .gallery-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--true-black);
}
.gallery-card .gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-caption {
  padding: 16px 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.gallery-caption h3 { margin: 0; font-size: 1.05rem; }
.gallery-caption .tag {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.65rem;
  color: var(--gold);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

.badge {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 12px;
  margin-bottom: 18px;
}

/* ---------- Form ---------- */
.form-row {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.form-row input[type="email"] {
  flex: 1 1 240px;
  padding: 14px 16px;
  background: var(--midnight);
  border: 1px solid #333;
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}
.form-row input[type="email"]:focus { outline: 1px solid var(--gold); }
.form-note { font-size: 0.8rem; color: var(--steel); margin-top: 10px; }

/* ---------- Social / contact ---------- */
.social-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
}
.social-list a {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #262626;
  padding-bottom: 14px;
  font-size: 1.05rem;
}
.social-list span { color: var(--steel); font-size: 0.85rem; }
.social-list a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid #232323;
  padding: 56px 0 34px;
  background: var(--true-black);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid #1e1e1e;
  margin-bottom: 24px;
}
.footer-brand img { height: 30px; margin-bottom: 14px; }
.footer-tagline { max-width: 320px; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-links h4 {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.72rem;
  color: var(--steel);
  margin-bottom: 14px;
}
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--steel);
}

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #0a0a0a;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid #262626;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.is-open { max-height: 400px; }
  .nav-links a {
    display: block;
    padding: 16px 28px;
    border-bottom: 1px solid #1c1c1c;
  }
  .nav-toggle { display: flex; }
  .footer-top { flex-direction: column; }
}
