/* ============================================================
   LVL — Latin via Liturgy · Website stylesheet
   The canonical web design language as ready-to-use CSS.
   Link this on every page:  <link rel="stylesheet" href="lvl-web.css">
   Fonts (add to <head> too):
   <link href="https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap" rel="stylesheet">
   ============================================================ */

:root {
  /* ── Color (Apr 28 2026 canonical) ── */
  --parchment:        #FDF8F0;   /* page ground — never pure white */
  --parchment-panel:  #F5F0E0;   /* raised cards / wells */
  --parchment-warm:   #FAF6EE;
  --crimson:          #bc0a0f;   /* primary action, titles, brand */
  --crimson-deep:     #8B1A1A;   /* hover */
  --gold:             #c7a148;   /* rules, accents, active */
  --gold-deep:        #B8860B;
  --gold-soft:        #e8d49a;
  --navy:             #1a3a6b;   /* links, Latin, invitation band */
  --navy-deep:        #122a4f;
  --ink:              #2A231A;   /* body text */
  --ink-soft:         #5C4F3E;
  --ink-faint:        #7D6E5A;   /* captions */
  --ink-quiet:        #9E9080;
  --rule:             #D8CDB8;
  --rule-soft:        #EAE2D2;
  --near-black:       #0e0906;   /* footer only */

  /* ── Type ── */
  --display:  'Cinzel', 'Trajan Pro', serif;          /* @kind font */ /* announces — headers, eyebrows, buttons */
  --title:    'EB Garamond', Georgia, serif;          /* @kind font */ /* page & section titles (700) */
  --elegant:  'Cormorant Garamond', Georgia, serif;   /* @kind font */ /* italic subheads, Latin, quotes */
  --body:     Georgia, 'EB Garamond', serif;          /* @kind font */ /* running body */

  /* ── System ── */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);          /* @kind other */
  --shadow-sm: 0 1px 4px rgba(60,40,20,.07);
  --shadow:    0 2px 12px rgba(60,40,20,.09);
  --shadow-lg: 0 8px 30px rgba(60,40,20,.13);
  --radius:    4px;          /* conservative: 2 / 4 / 8 only */
  --page-max:  1200px;
  --content-max: 1000px;
  --prose-max: 680px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--parchment); color: var(--ink);
  font-family: var(--body); line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

/* ── Layout helpers ── */
.lvl-wrap   { max-width: var(--content-max); margin: 0 auto; padding: 0 56px; }
.lvl-prose  { max-width: var(--prose-max); }
.lvl-section { padding: 88px 0; }
@media (max-width: 760px){ .lvl-wrap { padding: 0 24px; } .lvl-section { padding: 56px 0; } }

/* ── Type scale ── */
.lvl-overline { font-family: var(--display); font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); }
.lvl-title    { font-family: var(--title); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); color: var(--ink); line-height: 1.15; letter-spacing: .01em; }
.lvl-subhead  { font-family: var(--elegant); font-style: italic; font-size: clamp(18px, 2vw, 22px); color: var(--ink-faint); }
.lvl-latin    { font-family: var(--elegant); font-style: italic; color: var(--navy); }
.lvl-body     { font-family: var(--body); font-size: 17px; color: var(--ink-soft); line-height: 1.7; }
.lvl-display  { font-family: var(--display); font-weight: 700; letter-spacing: .05em; color: var(--crimson); }

/* Section header device: overline → title → subhead → optional rule */
.lvl-sechead { text-align: center; }
.lvl-sechead .lvl-title { margin-top: 12px; }
.lvl-sechead .lvl-subhead { margin-top: 8px; }
.lvl-sechead .lvl-rule-taper { max-width: 120px; margin: 18px auto 0; }

/* ── Buttons ── */
.lvl-btn { font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border-radius: var(--radius); padding: 11px 26px; cursor: pointer; border: 1.5px solid transparent; transition: all 180ms var(--ease); display: inline-block; text-decoration: none; }
.lvl-btn--primary   { background: var(--crimson); color: var(--parchment); box-shadow: 0 2px 8px rgba(188,10,15,.22); }
.lvl-btn--primary:hover { background: var(--crimson-deep); }
.lvl-btn--secondary { background: transparent; color: var(--crimson); border-color: var(--crimson); font-weight: 500; }
.lvl-btn--secondary:hover { background: #fbe7e3; }
.lvl-btn--gold      { background: transparent; color: var(--gold-deep); border-color: var(--gold); font-weight: 500; box-shadow: 0 2px 8px rgba(199,161,72,.16); }
.lvl-btn--gold:hover { background: #faf0d2; }
.lvl-btn--navy      { background: var(--navy); color: #F3EAD6; box-shadow: 0 2px 8px rgba(26,58,107,.22); }
.lvl-btn--navy:hover { background: var(--navy-deep); }
.lvl-btn--lg { font-size: 14px; padding: 14px 34px; }
.lvl-btn--sm { font-size: 10px; padding: 7px 18px; }
.lvl-btn:active { transform: scale(.97); }
.lvl-link { font-family: var(--title); font-size: 17px; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(26,58,107,.34); transition: text-decoration-color 180ms; }
.lvl-link:hover { text-decoration-color: var(--navy); }

/* ── Navigation bar (light, parchment) ── */
.lvl-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 56px; background: var(--parchment); border-bottom: 1px solid var(--rule); }
.lvl-nav .brand { display: flex; align-items: center; gap: 11px; }
.lvl-nav .brand img { width: 38px; height: auto; }
.lvl-nav .brand b { font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: .12em; color: var(--crimson); }
.lvl-nav .links { display: flex; align-items: center; gap: 30px; }
.lvl-nav .links a { font-family: var(--display); font-size: 11px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; transition: color 160ms; position: relative; }
.lvl-nav .links a:hover, .lvl-nav .links a.active { color: var(--crimson); }
.lvl-nav .links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; background: var(--gold); }
@media (max-width: 760px){ .lvl-nav { padding: 14px 24px; } .lvl-nav .links { display: none; } }

/* ── Hero (parchment, centered, corner marks) ── */
.lvl-hero { position: relative; text-align: center; padding: 76px 40px 64px; background: radial-gradient(120% 90% at 50% -10%, #fff 0%, var(--parchment) 55%); }
.lvl-hero .crest { width: 96px; height: auto; margin-bottom: 22px; }
.lvl-hero .lvl-title { margin-top: 16px; }
.lvl-hero .lvl-subhead { margin: 16px auto 0; max-width: 520px; }
.lvl-hero .cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.lvl-corner { position: absolute; width: 30px; height: 30px; border: 1.5px solid var(--gold); opacity: .55; }
.lvl-corner.tl { top: 20px; left: 22px; border-right: none; border-bottom: none; }
.lvl-corner.tr { top: 20px; right: 22px; border-left: none; border-bottom: none; }
.lvl-corner.bl { bottom: 20px; left: 22px; border-right: none; border-top: none; }
.lvl-corner.br { bottom: 20px; right: 22px; border-left: none; border-top: none; }

/* Sanctioned dark invitation band — use ONCE, mid/low page. Never as the hero. */
.lvl-band { background: var(--navy); padding: 48px 40px; text-align: center; }
.lvl-band .lvl-overline { color: var(--gold-soft); }
.lvl-band .bq { font-family: var(--elegant); font-style: italic; font-size: 24px; color: #F3EAD6; max-width: 560px; margin: 8px auto 4px; }
.lvl-band .cite { font-family: var(--display); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: rgba(243,234,214,.6); }

/* ── Cards ── */
.lvl-card { background: #fff; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.lvl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lvl-card .cap { height: 6px; background: linear-gradient(to right, var(--gold), var(--gold-soft)); }
.lvl-card .body { padding: 22px 22px 24px; }
.lvl-card h3 { font-family: var(--title); font-weight: 700; font-size: 22px; color: var(--crimson); margin: 8px 0 2px; }
.lvl-card p { font-family: var(--body); font-size: 14px; color: var(--ink-soft); margin-top: 12px; }
.lvl-pill { font-family: var(--display); font-size: 8.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); background: var(--parchment-panel); border: 1px solid var(--rule-soft); border-radius: 999px; padding: 4px 11px; white-space: nowrap; }

/* ── Forms ── */
.lvl-field { display: flex; flex-direction: column; gap: 7px; }
.lvl-field label { font-family: var(--display); font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.lvl-field input, .lvl-field select, .lvl-field textarea { font-family: var(--body); font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 11px 14px; outline: none; transition: border-color 160ms, box-shadow 160ms; }
.lvl-field input::placeholder { color: var(--ink-quiet); }
.lvl-field input:focus, .lvl-field select:focus, .lvl-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(199,161,72,.18); }
.lvl-field.error input { border-color: var(--crimson); }

/* ── Ornaments ── */
.lvl-rule         { height: 1px; background: var(--gold); opacity: .8; }
.lvl-rule-double  { height: 4px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.lvl-rule-taper   { height: 2px; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.lvl-fleuron      { font-family: var(--elegant); font-size: 26px; color: var(--gold-deep); text-align: center; }

/* ── Footer + closing matter (only near-black surface on the site) ── */
.lvl-footer { background: var(--near-black); padding: 52px 44px 40px; text-align: center; }
/* Footer seal: text-free mark on a warm parchment tile (never pure white), snug, seated
   on the dark with a soft shadow + faint gold hairline so it reads as a seal, not a sticker. */
.lvl-footer .crest { width: 64px; height: auto; background: var(--parchment); padding: 7px; border: 1px solid rgba(199,161,72,.5); border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,.35); margin-bottom: 18px; }
.lvl-footer .cols { display: flex; justify-content: center; gap: 54px; flex-wrap: wrap; margin: 8px 0 30px; text-align: left; }
.lvl-footer .col h4 { font-family: var(--display); font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 12px; }
.lvl-footer .col a { display: block; font-family: var(--body); font-size: 14px; color: #cdc4b6; text-decoration: none; padding: 3px 0; transition: color 160ms; }
.lvl-footer .col a:hover { color: #fff; }
.lvl-closing { border-top: 1px solid rgba(199,161,72,.3); padding-top: 26px; }
.lvl-closing .lat { font-family: var(--elegant); font-style: italic; font-size: 18px; color: var(--gold-soft); }
.lvl-closing .en  { font-family: var(--elegant); font-style: italic; font-size: 14px; color: #9a9082; margin-top: 6px; }
.lvl-closing .lvl-rule-taper { max-width: 180px; margin: 18px auto 0; }

