/*
Theme Name: Ashmere Counsel
Author: Barron AI Solutions
Text Domain: ashmere
*/

/* DESIGN_IDENTITY
   Ashmere — a deed / title page, not a marketing hero
   axes vs house skeleton:
   1. canvas: cool stone gray, navy ink, sealing-wax (not cream/grove/copper)
   2. type: Literata + Ysabeau Office (no Atkinson/Newsreader)
   3. hero: typographic title page, then a full-bleed chapter photo UNDER it
   4. rhythm: single-column manuscript, wide margins
   5. motion: stillness
   6. accent: thin rules and a wax-red underline, no brass kicker
*/

@font-face {
  font-family: "Literata";
  src: url("fonts/Literata72pt-Regular.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("fonts/Literata72pt-RegularItalic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("fonts/Literata72pt-Bold.woff2") format("woff2");
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: "Ysabeau";
  src: url("fonts/YsabeauOffice-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
}

:root {
  --stone: #d5d8de;
  --page: #eef0f3;
  --ink: #1b2436;
  --wax: #8e1f2f;
  --rule: #b7bcc6;
  --mute: #5c6473;
}
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: hidden; }
body {
  background: var(--page);
  background-image: url("textures/lined-paper.png");
  color: var(--ink);
  font-family: "Ysabeau", "Palatino", serif;
  font-size: 20px;
  line-height: 1.6;
}
a { color: var(--wax); }
img { max-width: 100%; display: block; }
h1, h2, h3 {
  font-family: "Literata", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.folio {
  width: min(720px, calc(100% - 48px));
  margin-inline: auto;
}
.wrap { width: min(720px, calc(100% - 48px)); margin-inline: auto; }
.site-header {
  padding: 28px 0 0;
  background: transparent;
  position: static;
}
.site-header a { color: var(--ink); text-decoration: none; }
.header-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.brand {
  font-family: "Literata", serif;
  font-style: italic;
  font-size: 1.65rem;
  font-weight: 400;
}
.header-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 0.95rem;
}
.header-actions .btn { min-height: 40px; font-size: 0.95rem; }
.title-page {
  text-align: center;
  padding: 72px 24px 48px;
}
.title-page .clause {
  font-family: "Ysabeau", serif;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
}
.title-page h1 {
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  font-style: italic;
  margin: 18px auto 18px;
  max-width: 18ch;
}
.title-page p { max-width: 36rem; margin: 0 auto 28px; color: var(--mute); }
.chapter-photo { width: 100%; height: min(52vh, 520px); object-fit: cover; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.2rem;
  background: transparent; color: var(--wax);
  border: 0; border-bottom: 2px solid var(--wax);
  font: inherit; font-style: italic; cursor: pointer; text-decoration: none;
  border-radius: 0;
}
.btn.ghost { border-bottom-color: var(--rule); color: var(--ink); }
.manuscript { padding: 56px 0 72px; }
.pair {
  display: grid; gap: 32px;
}
@media (min-width: 800px) {
  .pair { grid-template-columns: 1fr 1fr; gap: 48px; }
  .folio, .wrap { width: min(920px, calc(100% - 64px)); }
}
.pair article {
  border-top: 1px solid var(--ink);
  padding-top: 16px;
}
.pair h2 { font-style: italic; margin: 0 0 8px; }
.clause {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.card {
  background: #fff; padding: 1.4rem 1.5rem;
  border: 1px solid var(--rule);
  box-shadow: 0 1px 0 #fff inset;
}
.grid { display: grid; gap: 16px; }
.site-footer {
  background: var(--ink); color: #d7dbe3;
  padding: 48px 0 28px; margin-top: 0;
  font-size: 1rem;
}
.site-footer a { color: #fff; }
.credit { margin-top: 16px; font-size: .85rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field input, .field select, .field textarea {
  font: inherit; min-height: 48px; padding: .6rem .7rem;
  border: 0; border-bottom: 1px solid var(--ink); width: 100%;
  background: transparent;
}
.step { display: none; }
.step.on { display: block; }
.kicker { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 700px) {
  .title-page { padding: 40px 8px 32px; }
  .title-page h1 { font-size: 1.85rem; overflow-wrap: anywhere; }
  .folio, .wrap { width: calc(100% - 32px); }
}
