/*
Theme Name: Armchair Archaeologist Editable
Theme URI: https://armchairarchaeologist.com
Author: Mark Melni
Description: Editable WordPress theme for Armchair Archaeologist. Creates normal WordPress pages for Classic Editor use.
Version: 1.0.0
Requires at least: 6.0
Text Domain: armchair-archaeologist-editable
*/

:root {
  --bg: #151310;
  --panel: #211d18;
  --paper: #efe4cf;
  --muted: #cbbda3;
  --line: rgba(239, 228, 207, 0.18);
  --accent: #c58b4d;
  --ink: #171310;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at top left, rgba(197, 139, 77, 0.18), transparent 24rem),
    linear-gradient(180deg, #151310, #201c17 58%, #151310);
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(21, 19, 16, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1.2rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--paper);
}

main,
footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.wp-page {
  padding: clamp(2.4rem, 6vw, 5rem) 0 4rem;
}

.wp-page > h1 {
  margin: 0 0 1.5rem;
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.98;
}

.entry-content {
  background: rgba(33, 29, 24, 0.82);
  border: 1px solid var(--line);
  padding: clamp(1.4rem, 4vw, 2.5rem);
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.entry-content h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.95;
}

.entry-content h2 {
  margin-top: 2rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.entry-content h3 {
  font-size: 1.35rem;
}

.entry-content p,
.entry-content li {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.entry-content .eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.entry-content .home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(18rem, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.entry-content .home-hero img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.38);
}

.entry-content .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.entry-content .button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  color: var(--paper);
  background: rgba(239, 228, 207, 0.06);
  text-decoration: none;
  font-weight: 800;
}

.entry-content .button.primary,
.button.primary {
  color: var(--ink);
  background: var(--paper);
}

.entry-content .short-panel,
.entry-content .two-column > div,
.entry-content .store-grid article,
.entry-content .contact-card {
  background: rgba(21, 19, 16, 0.62);
  border: 1px solid var(--line);
  padding: 1.2rem;
}

.entry-content .two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.4rem 0;
}

.entry-content .store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.entry-content .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
  gap: 1rem;
}

.entry-content .price,
.entry-content .text-link {
  color: var(--accent);
  font-weight: 900;
}

footer {
  padding: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(239, 228, 207, 0.58);
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .entry-content .home-hero,
  .entry-content .two-column,
  .entry-content .store-grid,
  .entry-content .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .entry-content .actions {
    display: grid;
  }

  .entry-content .button,
  .button {
    width: 100%;
  }
}
