/* ==========================================================================
   PAX ET VIRTUS — site stylesheet
   Palette, type and spacing live in the :root tokens below.
   ========================================================================== */

:root {
  /* Palette */
  --ivory: #f6f1e7;
  --parchment: #ece3d1;
  --parchment-deep: #e2d6bf;
  --navy: #1c2536;
  --navy-deep: #131a27;
  --ink: #1d1c1a;
  --charcoal: #3a3835;
  --stone: #7a7062;
  --earth: #6b5b45;
  --brass: #a08250;
  --brass-light: #c2a874;
  --rule: #d5c8ae;
  --rule-dark: rgba(246, 241, 231, 0.18);

  /* Type */
  --display: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --text: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --reading: "Source Serif 4", Georgia, serif;

  /* Layout */
  --measure: 38rem;
  --wide: 72rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--earth); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

::selection { background: var(--parchment-deep); color: var(--ink); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--navy);
  color: var(--ivory);
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1.2em; }

.eyebrow {
  display: block;
  font-family: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.25rem;
}

.lede {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.45;
  color: var(--charcoal);
  font-weight: 400;
}

.small-caps {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
}

.numeral {
  font-family: var(--display);
  font-style: italic;
  color: var(--brass);
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.5rem;
}

blockquote {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.35;
  color: var(--ink);
}
blockquote cite,
.attribution {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--text);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Ornamental rule: a fine line with a small diamond at its centre */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem auto;
  max-width: 14rem;
  color: var(--brass);
}
.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.ornament span {
  width: 6px; height: 6px;
  transform: rotate(45deg);
  border: 1px solid currentColor;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap--narrow { max-width: calc(var(--measure) + 2 * var(--gutter)); }
.wrap--mid { max-width: calc(52rem + 2 * var(--gutter)); }

.section { padding: var(--section) 0; }
.section--parchment { background: var(--parchment); }
.section--navy {
  background: var(--navy);
  color: var(--ivory);
}
.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy blockquote { color: var(--ivory); }
.section--navy .eyebrow { color: var(--brass-light); }
.section--navy .lede,
.section--navy p { color: rgba(246, 241, 231, 0.82); }
.section--navy .attribution,
.section--navy blockquote cite { color: rgba(246, 241, 231, 0.55); }

.section--ruled { border-top: 1px solid var(--rule); }

.center { text-align: center; }
.center .ornament { margin-left: auto; margin-right: auto; }

.grid-2 {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 52rem) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-2--reverse > :first-child { order: 2; }
}

.grid-3 {
  display: grid;
  gap: 0;
}
@media (min-width: 52rem) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 231, 0.96);
  border-bottom: 1px solid var(--rule);
}
@supports (backdrop-filter: blur(6px)) {
  .site-header {
    background: rgba(246, 241, 231, 0.88);
    backdrop-filter: blur(6px);
  }
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 1.5rem;
}

.wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark:hover { color: var(--navy); }

.nav-list {
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--charcoal);
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--brass);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  padding: 0.55rem 0.8rem;
  font: 600 0.7rem/1 var(--text);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 52rem) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--rule);
  }
  .site-nav.is-open { display: block; }
  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
  }
  .nav-list a {
    display: block;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--rule);
    font-size: 0.8rem;
  }
  .nav-list a[aria-current="page"] { border-bottom-color: var(--rule); color: var(--brass); }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background-color: var(--navy-deep);
  /* Chalk-stripe cloth texture */
  background-image:
    repeating-linear-gradient(90deg,
      transparent 0 34px,
      rgba(246, 241, 231, 0.045) 34px 35px);
  color: var(--ivory);
  text-align: center;
  padding: clamp(5rem, 13vw, 9.5rem) 0 clamp(4.5rem, 11vw, 8rem);
  overflow: hidden;
}
.hero::after {
  /* thin brass frame inset */
  content: "";
  position: absolute;
  inset: clamp(0.75rem, 2vw, 1.5rem);
  border: 1px solid rgba(194, 168, 116, 0.28);
  pointer-events: none;
}

.seal {
  width: clamp(8.5rem, 18vw, 11.5rem);
  height: auto;
  margin: 0 auto 2.5rem;
  color: var(--brass-light);
}

.hero h1 {
  color: var(--ivory);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  /* compensate trailing letter-spacing for optical centering */
  padding-left: 0.3em;
}
.hero .translation {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: rgba(246, 241, 231, 0.65);
  margin: 0 0 2.5rem;
}
.hero .motto {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.4;
  color: var(--ivory);
  max-width: 34rem;
  margin: 0 auto 3rem;
}
.hero .ornament { color: var(--brass-light); margin: 0 auto 2.5rem; }

/* Page header (interior pages) */
.page-head {
  padding: clamp(4.5rem, 10vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.page-head h1 { margin-bottom: 1rem; }
.page-head .lede { max-width: 36rem; margin: 0 auto; }
.page-head--navy {
  background-color: var(--navy);
  background-image:
    repeating-linear-gradient(90deg,
      transparent 0 34px,
      rgba(246, 241, 231, 0.04) 34px 35px);
  border-bottom: 0;
}
.page-head--navy h1 { color: var(--ivory); }
.page-head--navy .lede { color: rgba(246, 241, 231, 0.78); }
.page-head--navy .eyebrow { color: var(--brass-light); }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font: 600 0.75rem/1 var(--text);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.1rem 2rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ivory);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: var(--ivory); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }

.btn--light {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(246, 241, 231, 0.55);
}
.btn--light:hover { background: var(--ivory); color: var(--navy); border-color: var(--ivory); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.text-link {
  font: 600 0.75rem/1.4 var(--text);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 0.3rem;
}
.text-link:hover { color: var(--earth); }
.section--navy .text-link { color: var(--ivory); border-color: var(--brass-light); }

/* --------------------------------------------------------------------------
   Plates (image slots)
   Each .plate is a framed image area. Until photographs are supplied they
   show a cloth pattern. To use a photo, place an <img> inside the .plate.
   -------------------------------------------------------------------------- */

.plate {
  margin: 0;
}
.plate__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: var(--navy);
  overflow: hidden;
  border: 1px solid var(--rule);
  outline: 1px solid var(--rule);
  outline-offset: 6px;
}
.plate__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plate--wide .plate__frame { aspect-ratio: 16 / 9; }
.plate--square .plate__frame { aspect-ratio: 1 / 1; }

.plate figcaption {
  margin-top: 1.1rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--stone);
}
.plate figcaption .small-caps {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--brass);
  margin-right: 0.5rem;
}

/* Cloth patterns */
.cloth-herringbone {
  background-color: #2a2824;
  background-image:
    linear-gradient(135deg, #36332d 25%, transparent 25%),
    linear-gradient(225deg, #36332d 25%, transparent 25%),
    linear-gradient(315deg, #36332d 25%, transparent 25%),
    linear-gradient(45deg, #36332d 25%, transparent 25%);
  background-size: 16px 16px;
  background-position: -8px 0, -8px 0, 0 0, 0 0;
}
.cloth-pinstripe {
  background-color: var(--navy);
  background-image:
    repeating-linear-gradient(90deg,
      transparent 0 20px,
      rgba(246, 241, 231, 0.13) 20px 21px);
}
.cloth-flannel {
  background-color: #5d5a55;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.04) 0 1px, transparent 1px 4px);
}
.cloth-glen {
  background-color: #6e6352;
  background-image:
    repeating-linear-gradient(0deg, rgba(29,28,26,0.18) 0 2px, transparent 2px 6px, rgba(29,28,26,0.18) 6px 8px, transparent 8px 28px),
    repeating-linear-gradient(90deg, rgba(29,28,26,0.18) 0 2px, transparent 2px 6px, rgba(29,28,26,0.18) 6px 8px, transparent 8px 28px),
    repeating-linear-gradient(90deg, transparent 0 13px, rgba(160,130,80,0.35) 13px 14px, transparent 14px 56px);
}
.cloth-linen {
  background-color: var(--parchment-deep);
  background-image:
    repeating-linear-gradient(0deg, rgba(107,91,69,0.06) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(107,91,69,0.05) 0 1px, transparent 1px 2px);
}

/* Illustration centred inside a plate (e.g. column drawing) */
.plate__art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(246, 241, 231, 0.55);
}
.plate__art svg { width: 46%; height: auto; }
.cloth-linen .plate__art { color: var(--earth); }

/* --------------------------------------------------------------------------
   Pillars (three-part grid)
   -------------------------------------------------------------------------- */

.pillar {
  padding: 2.75rem clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--rule);
  text-align: center;
}
@media (min-width: 52rem) {
  .pillar { border-top: 0; border-left: 1px solid var(--rule); padding-top: 1rem; padding-bottom: 1rem; }
  .pillar:first-child { border-left: 0; }
}
.pillar h3 {
  font-size: 1.15rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}
.pillar p { color: var(--charcoal); max-width: 20rem; margin-left: auto; margin-right: auto; }
.pillar .text-link { display: inline-block; margin-top: 0.5rem; }

/* --------------------------------------------------------------------------
   Principles list
   -------------------------------------------------------------------------- */

.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: principle;
}
.principles li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 0 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
}
.principles li:last-child { border-bottom: 1px solid var(--rule); }
.principles .numeral { margin: 0.3rem 0 0; }
.principles h3 { margin-bottom: 0.4rem; }
.principles p { margin: 0; color: var(--charcoal); }

/* --------------------------------------------------------------------------
   Status note (honest "where we stand")
   -------------------------------------------------------------------------- */

.notice {
  border: 1px solid var(--rule);
  background: var(--ivory);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  position: relative;
}
.notice::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 3rem; height: 3px;
  background: var(--brass);
}
.notice h3 { margin-bottom: 0.75rem; }
.notice p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Philosophy index
   -------------------------------------------------------------------------- */

.themes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.theme {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.theme h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.theme p { font-size: 0.95rem; color: var(--charcoal); margin: 0; }
.theme .latin {
  display: block;
  font-family: var(--display);
  font-style: italic;
  color: var(--brass);
  margin-bottom: 0.25rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.filters button {
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0.4rem 0;
  font: 600 0.72rem/1 var(--text);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  cursor: pointer;
}
.filters button[aria-pressed="true"],
.filters button:hover { color: var(--ink); border-bottom-color: var(--brass); }

.entries {
  list-style: none;
  margin: 0;
  padding: 0;
}
.entry {
  border-top: 1px solid var(--rule);
}
.entry:last-child { border-bottom: 1px solid var(--rule); }
.entry a {
  display: grid;
  gap: 0.35rem 2rem;
  padding: 2.25rem 0;
  text-decoration: none;
  color: inherit;
}
@media (min-width: 46rem) {
  .entry a { grid-template-columns: 9rem 1fr auto; align-items: baseline; }
}
.entry__meta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}
.entry__title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.35rem;
  transition: color 0.2s ease;
}
.entry__summary { margin: 0; color: var(--charcoal); max-width: 34rem; }
.entry__date { font-size: 0.85rem; color: var(--stone); white-space: nowrap; }
.entry a:hover .entry__title { color: var(--navy); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

.entries-empty {
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  color: var(--stone);
  padding: 2rem 0;
}

/* --------------------------------------------------------------------------
   Article (essay / reflection / video)
   -------------------------------------------------------------------------- */

.article-head {
  text-align: center;
  padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}
.article-head h1 { max-width: 40rem; margin: 0 auto 1.25rem; }
.article-head .standfirst {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  color: var(--charcoal);
  max-width: 34rem;
  margin: 0 auto 1.5rem;
  line-height: 1.45;
}
.article-head .byline {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.prose {
  font-family: var(--reading);
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ink);
}
.prose p { margin-bottom: 1.45em; }
.prose > p:first-of-type::first-letter {
  font-family: var(--display);
  float: left;
  font-size: 4.4em;
  line-height: 0.82;
  padding: 0.06em 0.12em 0 0;
  color: var(--navy);
}
.prose h2 {
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  margin-top: 2.5em;
}
.prose blockquote {
  margin: 2.5em 0;
  padding-left: 1.5rem;
  border-left: 1px solid var(--brass);
  font-size: clamp(1.35rem, 2.4vw, 1.6rem);
}
.prose hr {
  border: 0;
  text-align: center;
  margin: 3em 0;
}
.prose hr::after {
  content: "\2766";
  color: var(--brass);
  font-size: 1.1rem;
}
.prose a { text-decoration-color: var(--brass); }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  margin: 0 0 3rem;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.article-foot {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form { display: grid; gap: 1.5rem; }
.form-row { display: grid; gap: 1.5rem; }
@media (min-width: 40rem) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.field label,
.field legend {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}
.field .optional {
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--stone);
}
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  font: 400 1rem/1.5 var(--text);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--stone);
  border-radius: 0;
  padding: 0.6rem 0;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--charcoal) 50%), linear-gradient(135deg, var(--charcoal) 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 1.5rem;
}
.field textarea { min-height: 8rem; resize: vertical; border: 1px solid var(--stone); padding: 0.8rem; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 1px 0 0 var(--brass); }

fieldset.field { border: 0; margin: 0; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; }
.choices label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.98rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  cursor: pointer;
}
.choices input { accent-color: var(--navy); width: 1rem; height: 1rem; }

.form-note {
  font-size: 0.88rem;
  color: var(--stone);
  margin: 0;
}

.hp { position: absolute; left: -9999px; }

.form-status {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--earth);
  border-left: 2px solid var(--brass);
  padding-left: 1rem;
  margin: 0;
}

/* Inline subscribe form */
.subscribe {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 30rem;
  margin: 0 auto;
}
.subscribe input[type="email"] {
  flex: 1 1 14rem;
  font: 400 1rem/1.5 var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  color: inherit;
  padding: 0.85rem 0;
}
.subscribe input[type="email"]::placeholder { color: inherit; opacity: 0.55; }
.subscribe input[type="email"]:focus { outline: none; border-color: var(--brass-light); }
.section--navy .subscribe { color: var(--ivory); }
.section--navy .form-note { color: rgba(246, 241, 231, 0.55); }
.section--navy .form-status { color: var(--brass-light); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(246, 241, 231, 0.7);
  padding: 4.5rem 0 2.5rem;
  font-size: 0.92rem;
}
.site-footer a { color: rgba(246, 241, 231, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); }

.footer-top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule-dark);
}
@media (min-width: 46rem) {
  .footer-top { grid-template-columns: 1.4fr 1fr; align-items: start; }
}
.footer-mark {
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory);
  margin: 0 0 0.75rem;
}
.footer-motto {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(246, 241, 231, 0.65);
  margin: 0;
}
.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.75rem 2rem;
  justify-content: start;
}
@media (min-width: 46rem) { .footer-nav { justify-content: end; } }
.footer-nav a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: rgba(246, 241, 231, 0.45);
}
.footer-bottom .latin { font-family: var(--display); font-style: italic; font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   Gentle reveal (respects reduced-motion)
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.9s ease, transform 0.9s ease;
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Print: essays should print cleanly */
@media print {
  .site-header, .site-footer, .subscribe-section, .article-foot { display: none; }
  body { background: #fff; }
}

.entry__title, .entry__summary { display: block; }

/* Small screens: keep the letterspaced title inside the viewport */
@media (max-width: 40rem) {
  .hero h1 { font-size: clamp(1.6rem, 7.2vw, 2.2rem); letter-spacing: 0.16em; padding-left: 0.16em; }
  .wordmark { font-size: 1rem; letter-spacing: 0.2em; }
  .hero .btn-row { flex-direction: column; align-items: center; }
  .hero .btn { width: 100%; max-width: 18rem; }
}
html, body { overflow-x: clip; }
