@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3 Fallback";
  src: local("Arial"), local("Helvetica");
  font-weight: 400;
  font-style: normal;
  size-adjust: 106.53%;
  ascent-override: 96.13%;
  descent-override: 37.55%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Source Sans 3 Fallback";
  src: local("Arial"), local("Helvetica");
  font-weight: 600;
  font-style: normal;
  size-adjust: 110.32%;
  ascent-override: 92.82%;
  descent-override: 36.26%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Source Sans 3 Fallback";
  src: local("Arial"), local("Helvetica");
  font-weight: 700;
  font-style: normal;
  size-adjust: 113.95%;
  ascent-override: 89.86%;
  descent-override: 35.10%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Cinzel Fallback";
  src: local("Georgia");
  font-weight: 400;
  font-style: normal;
  size-adjust: 128.63%;
  ascent-override: 75.87%;
  descent-override: 28.92%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Cinzel Fallback";
  src: local("Georgia");
  font-weight: 700;
  font-style: normal;
  size-adjust: 130.16%;
  ascent-override: 74.98%;
  descent-override: 28.58%;
  line-gap-override: 0%;
}

:root {
  --forge: #14110e;
  --coal: #221c18;
  --soot: #3a332c;
  --steel: #8a8178;
  --paper: #f4efe6;
  --paper-2: #e7dccb;
  --ink: #1c1612;
  --muted: #5c534c;
  --ember: #e4572e;
  --ember-deep: #b83b16;
  --gold: #e0a15a;
  --line: rgba(28, 22, 18, 0.12);
  --serif: "Cinzel", "Cinzel Fallback", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Source Sans 3 Fallback", "Segoe UI", sans-serif;
  --shadow: 0 16px 40px rgba(20, 14, 10, 0.12);
  --stack: 1.5rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(224, 161, 90, 0.08), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--ember-deep); }
a:hover { color: var(--ember); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); margin: 0 0 0.4em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 0.5em; }
h3 { font-size: 1.25rem; margin: 0 0 0.35em; }
p { margin: 0 0 0.8em; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ember);
  color: white;
  padding: 0.6rem 1rem;
  z-index: 10;
}
.skip:focus { top: 1rem; }

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

.site-header {
  background: linear-gradient(180deg, #1e1915 0%, var(--forge) 100%);
  color: #f6efe6;
  border-bottom: 4px solid var(--ember);
  position: sticky;
  top: 0;
  z-index: 5;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.brand img {
  width: 64px;
  height: auto;
  background: #f4efe6;
  border-radius: 50%;
  padding: 0.25rem;
  box-shadow: inset 0 0 0 2px rgba(224, 161, 90, 0.7);
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-short {
  font-family: var(--serif);
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--gold);
}
.brand-name {
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.2;
  text-wrap: balance;
}
.nav-toggle {
  display: none;
  background: transparent;
  color: #f6efe6;
  border: 1px solid rgba(246, 239, 230, 0.4);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
}
.site-nav { display: flex; gap: 0.2rem 1rem; flex-wrap: wrap; }
.site-nav a {
  color: #f6efe6;
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a[aria-current="page"], .site-nav a:hover { border-bottom-color: var(--ember); color: white; }

.hero {
  position: relative;
  min-height: 34rem;
  display: flex;
  align-items: flex-end;
  color: #f7f1e8;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background: #1a120e url("../img/pats-forge.jpg") center 30% / cover no-repeat;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 9, 7, 0.92) 0%, rgba(12, 9, 7, 0.72) 48%, rgba(12, 9, 7, 0.25) 100%),
    linear-gradient(transparent, rgba(12, 9, 7, 0.45));
}
.hero-copy { position: relative; z-index: 1; padding: 4.5rem 0 3rem; max-width: 40rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.eyebrow img { width: 36px; height: auto; filter: invert(1) grayscale(1); }
.lede { font-size: 1.3rem; max-width: 38rem; }
.hero-actions, .meeting-actions, .cal-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }

.button, button.button, .email-link.button {
  display: inline-block;
  background: var(--ember);
  color: white;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font: 700 1rem/1 var(--sans);
  cursor: pointer;
}
.button:hover { background: var(--ember-deep); color: white; }
.button-quiet {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 2px currentColor;
}
.hero .button-quiet { color: #f7f1e8; }
.button-quiet:hover { background: rgba(255, 255, 255, 0.08); color: inherit; }

.home-grid,
.page,
.card-list,
.place-box,
.page > section:not(.meeting-panel):not(.feed-box),
.home-grid > section:not(.meeting-panel) {
  display: grid;
  gap: var(--stack);
}
.home-grid,
.page { padding: 2.2rem 0 3rem; }
.page > *,
.home-grid > *,
.page > section:not(.meeting-panel):not(.feed-box) > *,
.home-grid > section:not(.meeting-panel) > *,
.place-box > * {
  margin-block: 0;
}
.section-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 700; }
.kicker {
  margin: 0 0 0.3rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ember-deep);
}

.meeting-panel, .feed-box, .contact-box, .card, .place-box {
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.meeting-panel {
  padding: 1.4rem 1.5rem 1.2rem;
  border-left: 6px solid var(--ember);
  background:
    linear-gradient(180deg, rgba(228, 87, 46, 0.08), transparent 4.5rem),
    white;
}
.meeting-when { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.meeting-time { font-size: 1.25rem; font-weight: 700; margin: 0.2rem 0; }
.meeting-place { display: flex; flex-direction: column; }
.meeting-place span { color: var(--muted); }

.card { display: grid; grid-template-columns: 148px 1fr; overflow: hidden; }
.card-plain { grid-template-columns: 1fr; }
.card-media {
  background:
    linear-gradient(160deg, #2a241f, #14110e);
  display: grid;
  place-items: center;
  min-height: 100%;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; min-height: 8rem; }
.card-media img.placeholder-mark { width: 64px; height: auto; filter: invert(1) grayscale(1); opacity: 0.85; }
.card-body { padding: 0.95rem 1.1rem 1rem; }
.card-meta, .excerpt, .hint, .empty { color: var(--muted); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--ember-deep); }

.safety {
  background: var(--coal);
  color: #f6efe6;
  padding: 2rem 0;
}
.safety h2, .safety a { color: #f6efe6; }
.safety ul { padding-left: 1.1rem; }
.safety li { margin: 0.25rem 0; }

.site-footer {
  background: linear-gradient(180deg, var(--forge) 0%, #100e0c 100%);
  color: #f0e7dc;
  padding: 2.2rem 0 1rem;
}
.site-footer a { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--stack); }
.footer-mark { width: 92px; height: auto; margin-bottom: 0.6rem; }
.footer-name { font-family: var(--serif); font-size: 1.15rem; }
.colophon { text-align: center; color: var(--steel); font-size: 0.95rem; margin-top: 1.5rem; }
.site-footer h2 { font-size: 1.05rem; color: var(--gold); }

.page-head { max-width: 44rem; }
.month-group { display: grid; gap: var(--stack); }
.month-group > * { margin-block: 0; }
.month-group h3 {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
}
.page-head > :last-child,
.meeting-panel > :last-child,
.feed-box > :last-child,
.contact-box > :last-child,
.card-body > :last-child,
.prose > :last-child {
  margin-bottom: 0;
}
.prose > :first-child { margin-top: 0; }
.feed-box, .contact-box { padding: 1.2rem 1.3rem; }
.feed-url { font-weight: 700; overflow-wrap: anywhere; }

.detail .hero-figure { margin: 0; }
.photo-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--coal);
  cursor: zoom-in;
  position: relative;
  color: white;
}
.hero-figure img, .thumb-row img { display: block; width: 100%; }
.hero-figure img { max-height: 36rem; object-fit: cover; margin: 0 auto; }
.photo-open-label {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  background: rgba(20, 14, 10, 0.78);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
}
.facts { list-style: none; padding: 0; display: grid; gap: 0.35rem; margin: 0; }
.facts li { display: flex; gap: 0.8rem; }
.facts span { min-width: 7.5rem; font-weight: 700; color: var(--muted); }
.place-box { padding: 1.2rem 1.3rem; }
.map-wrap { background: var(--paper-2); }
.map-frame { width: 100%; height: 320px; border: 0; display: block; }
.place-address { display: flex; flex-direction: column; }
.prose { font-size: 1.12rem; overflow-wrap: anywhere; }
.prose h2, .prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose img { margin: 0.6rem 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 1rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: 0.4rem; vertical-align: top; }
.thumb-row { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.6rem; padding: 0; }
.thumb-row img { aspect-ratio: 4 / 3; object-fit: cover; }
.back-link { margin: 0; }
.preview-banner {
  background: #3d2a12;
  color: #fff4e4;
  text-align: center;
  padding: 0.7rem 1rem;
  margin: 0;
}
.empty { padding: 0; }

.lightbox {
  width: min(1080px, calc(100vw - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  border: 0;
  padding: 0;
  background: #100e0c;
  color: white;
}
.lightbox::backdrop { background: rgba(8, 6, 5, 0.86); }
.lightbox-bar, .lightbox-stage, .lightbox-film { padding: 0.6rem 0.8rem; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; }
.lightbox-count { margin: 0; }
.lb-close, .lb-nav, .lightbox-film button {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font: 700 1rem/1 var(--sans);
  min-height: 2.8rem;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
}
.lightbox-stage { display: grid; grid-template-columns: auto 1fr auto; gap: 0.5rem; align-items: center; }
.lb-img { max-height: 62vh; width: 100%; object-fit: contain; background: #000; }
.lightbox-film { display: flex; gap: 0.45rem; overflow-x: auto; }
.lightbox-film button { padding: 0; border-radius: 4px; min-height: 0; border-color: transparent; }
.lightbox-film img { width: 84px; height: 60px; object-fit: cover; display: block; }
.lightbox-film button[aria-current="true"] { outline: 3px solid var(--ember); }

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

@media (max-width: 800px) {
  .brand { flex: 1; align-items: flex-start; }
  .brand img { width: 48px; }
  .brand-short { font-size: 0.7rem; }
  .brand-name { font-size: 0.86rem; }
  .header-bar { min-height: 4.6rem; align-items: center; }
  .nav-toggle { display: inline-block; flex: 0 0 auto; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--coal);
    flex-direction: column;
    padding: 0.6rem 1rem 1rem;
  }
  .site-nav.is-open { display: flex; }
  .header-bar { position: relative; }
  .card { grid-template-columns: 1fr; }
  .card-media { min-height: 11rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 28rem; }
  .lightbox-stage { grid-template-columns: 1fr; }
  .lb-nav { width: 100%; }
  .facts li { flex-direction: column; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
