/* Athens & Jerusalem company site
   Humanist Press register: EB Garamond, rubric red, cream ground.
   One stylesheet shared by every page. Edit colours and type here. */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Cormorant+SC:wght@500;600&display=swap');

:root {
  --rubric:   #A5231C;   /* rubric red: the seal, rules, headings accent */
  --ink:      #241F1B;   /* warm near-black: body text */
  --cream:    #F4EEE1;   /* page ground */
  --cream-2:  #EDE5D3;   /* panels, footer */
  --gold:     #A6863E;   /* fine detail, hairlines */
  --muted:    #6B615A;   /* secondary text */
  --rule:     #D8CDB7;   /* hairline divisions */
  --max:      42rem;     /* reading measure */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'EB Garamond', Garamond, 'Times New Roman', serif;
  font-size: 1.22rem;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ---- layout shell ---- */
.wrap {
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.measure { max-width: var(--max); }

/* ---- masthead ---- */
header.site {
  text-align: center;
  padding: 3rem 1.5rem 1.75rem;
}
header.site a.mast {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}
header.site .seal-mark {
  width: 110px;
  height: 110px;
  display: block;
  margin: 0 auto 1rem;
}
header.site .wordmark {
  font-family: 'Cormorant SC', 'EB Garamond', serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--rubric);
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 0;
}
header.site .motto {
  font-style: italic;
  color: var(--muted);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  margin: 0.35rem 0 0;
}

/* ---- primary nav ---- */
nav.primary {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
  padding: 0.75rem 1rem;
  font-family: 'Cormorant SC', 'EB Garamond', serif;
  letter-spacing: 0.08em;
  font-size: 1.02rem;
}
nav.primary a {
  color: var(--ink);
  text-decoration: none;
  margin: 0 0.9rem;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
nav.primary a:hover { color: var(--rubric); border-color: var(--rubric); }
nav.primary a.shop { color: var(--rubric); font-weight: 600; }

/* ---- hero on the landing page ---- */
.hero {
  text-align: center;
  padding: 3.5rem 1.5rem 2.5rem;
}
.hero .seal-full {
  width: min(300px, 62vw);
  height: auto;
  display: block;
  margin: 0 auto 2rem;
}
.hero h1 {
  font-family: 'Cormorant SC', 'EB Garamond', serif;
  font-weight: 600;
  color: var(--rubric);
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  letter-spacing: 0.06em;
  line-height: 1.12;
  margin: 0 0 0.6rem;
}
.hero .latin {
  font-style: italic;
  font-size: 1.25rem;
  color: var(--muted);
  margin: 0 auto 0.4rem;
  max-width: 34rem;
}
.hero .gloss {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 auto;
  max-width: 34rem;
}

/* ---- sections ---- */
main { padding: 1rem 0 2rem; }
section.band {
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
}
section.band:first-child { border-top: none; }

h2 {
  font-family: 'Cormorant SC', 'EB Garamond', serif;
  font-weight: 600;
  color: var(--rubric);
  font-size: 1.55rem;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
}
h3 {
  font-weight: 600;
  font-size: 1.22rem;
  margin: 1.8rem 0 0.4rem;
  color: var(--ink);
}
p { margin: 0 0 1.1rem; }
a { color: var(--rubric); }
a:hover { color: var(--ink); }

.lead { font-size: 1.3rem; line-height: 1.55; }

ul.plain { padding-left: 1.3rem; margin: 0 0 1.1rem; }
ul.plain li { margin-bottom: 0.5rem; }

/* decorative centred ornament between sections */
.ornament {
  text-align: center;
  color: var(--gold);
  font-size: 1.3rem;
  letter-spacing: 0.5em;
  margin: 0.5rem 0;
  user-select: none;
}

/* ---- call-to-action card ---- */
.card {
  background: var(--cream-2);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 2rem 2rem 1.6rem;
  text-align: center;
  margin: 1.5rem auto 0;
}
.card .status {
  font-family: 'Cormorant SC', 'EB Garamond', serif;
  letter-spacing: 0.18em;
  color: var(--rubric);
  font-size: 0.95rem;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}
.price {
  font-size: 1.6rem;
  color: var(--ink);
}
.btn {
  display: inline-block;
  font-family: 'Cormorant SC', 'EB Garamond', serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--cream);
  background: var(--rubric);
  text-decoration: none;
  padding: 0.7rem 1.8rem;
  border-radius: 2px;
  border: 1px solid var(--rubric);
  margin-top: 1rem;
  transition: background .15s, color .15s;
}
.btn:hover { background: #8c1d17; color: var(--cream); }
.btn.ghost {
  background: transparent;
  color: var(--rubric);
}
.btn.ghost:hover { background: var(--rubric); color: var(--cream); }
.btn[aria-disabled="true"] {
  background: var(--cream-2);
  color: var(--muted);
  border-color: var(--rule);
  cursor: default;
  pointer-events: none;
}

/* ---- legal / long-text pages ---- */
.legal h1 {
  font-family: 'Cormorant SC', 'EB Garamond', serif;
  font-weight: 600;
  color: var(--rubric);
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin: 0 0 0.3rem;
}
.legal .updated {
  color: var(--muted);
  font-style: italic;
  margin: 0 0 2rem;
  font-size: 1.02rem;
}
.legal h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.legal { font-size: 1.14rem; }

/* ---- footer ---- */
footer.site {
  background: var(--cream-2);
  border-top: 2px solid var(--rubric);
  margin-top: 3rem;
  padding: 2.5rem 1.5rem 3rem;
  font-size: 1rem;
  color: var(--muted);
}
footer.site .cols {
  max-width: 60rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  justify-content: space-between;
}
footer.site nav a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 0.4rem;
}
footer.site nav a:hover { color: var(--rubric); }
footer.site .fh {
  font-family: 'Cormorant SC', 'EB Garamond', serif;
  letter-spacing: 0.1em;
  color: var(--rubric);
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
  text-transform: uppercase;
}
footer.site .legal-line {
  max-width: 60rem;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.92rem;
  line-height: 1.5;
}
footer.site a.mailto { color: var(--rubric); }

/* ---- responsive ---- */
@media (max-width: 34rem) {
  body { font-size: 1.14rem; }
  nav.primary a { margin: 0 0.5rem; display: inline-block; line-height: 2; }
  header.site { padding-top: 2rem; }
  footer.site .cols { gap: 1.5rem; }
}
