/* Ozark Ethics — dark cinematic journal mark
   Palette and typography shared by the home page and Our Founder. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-normal-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-normal-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-normal-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-normal-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-normal-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-normal-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-italic-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-italic-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --void: #0b0e0c;
  --wall: #111513;
  --footer: #080a09;
  --cream: #e7dcc8;
  --cream-dim: #cfc3ad;
  --gold: #d4b483;
  --gold-line: #c4a574;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --focus: 2px solid var(--gold);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--void);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: var(--focus); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 100;
  padding: 0.45rem 0.75rem;
  background: var(--cream);
  color: var(--void);
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* fine grain, like a gallery wall */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* —— Header (shared) —— */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 2.75rem 1.2rem;
}

.founder-page .site-header {
  position: sticky;
  background: rgba(11, 14, 12, 0.94);
  border-bottom: 1px solid rgba(196, 165, 116, 0.28);
  backdrop-filter: blur(8px);
}

.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  white-space: nowrap;
}

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream-dim);
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.35s ease, border-color 0.35s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* —— Home: Hall / Hero —— */
.home-page .hall {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 2.5rem 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 42% 48% at 28% 46%, rgba(196, 165, 116, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 60% at 70% 80%, rgba(20, 28, 22, 0.9), transparent 70%),
    var(--void);
}

.home-page .hall::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 8rem 2rem rgba(0, 0, 0, 0.55);
}

.hall-frame {
  position: absolute;
  inset: 1.15rem;
  border: 1px solid rgba(196, 165, 116, 0.45);
  pointer-events: none;
  z-index: 2;
}

.home-page .hall-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(16rem, 24rem) minmax(0, 28rem);
  gap: 4rem 6.5rem;
  align-items: center;
  width: min(100%, 68rem);
}

.medallion { margin: 0; text-align: center; }

.medallion img {
  width: min(100%, 24rem);
  margin: 0 auto;
  filter: drop-shadow(0 1.5rem 3rem rgba(0, 0, 0, 0.65));
}

.medallion figcaption {
  margin-top: 1.15rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.kicker {
  margin: 0 0 1.25rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.wordmark {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  color: var(--cream);
}

.standfirst {
  display: block;
  margin-top: 1.35rem;
  max-width: 18ch;
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  line-height: 1.25;
  color: var(--cream-dim);
}

.home-page h1 { margin: 0; font-weight: inherit; }

.enter {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.35rem;
}

.enter:hover,
.enter:focus-visible {
  color: var(--gold);
}

/* —— Home: About —— */
.about-body {
  padding: 6.5rem 2.5rem;
  background: var(--wall);
  border-top: 1px solid rgba(196, 165, 116, 0.22);
}

.about-wrap {
  display: grid;
  grid-template-columns: 10rem minmax(0, 38rem);
  gap: 1rem 3rem;
  max-width: 56rem;
  margin: 0 auto;
}

.about-kicker {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.prose p {
  margin: 0 0 1.15em;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--cream);
}

.prose p:last-child { margin-bottom: 0; }
.prose em { font-style: italic; }

/* —— Home: Articles as exhibit plates —— */
.home-page .gallery {
  padding: 5.5rem 2.5rem 6.5rem;
  background: var(--void);
  border-top: 1px solid rgba(196, 165, 116, 0.18);
}

.home-page .gallery-head {
  max-width: 56rem;
  margin: 0 auto 3rem;
}

.home-page .gallery-head h2 {
  margin: 0.4rem 0 0.7rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: 0.04em;
  color: var(--cream);
}

.gallery-note {
  margin: 0;
  max-width: 28rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--cream-dim);
}

.exhibits {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 56rem;
  border-top: 1px solid rgba(196, 165, 116, 0.35);
}

.exhibits li {
  border-bottom: 1px solid rgba(196, 165, 116, 0.22);
}

.exhibits article {
  display: grid;
  grid-template-columns: 6.5rem 13rem minmax(0, 1fr) 7.5rem;
  gap: 1rem 1.25rem;
  align-items: baseline;
  padding: 1.7rem 0 1.6rem;
}

.plate,
.topic,
.meta {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.exhibits .plate { color: var(--gold); }
.exhibits .topic { color: var(--cream-dim); }
.exhibits .meta { text-align: right; color: var(--cream-dim); }

.exhibits h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.2;
  color: var(--cream);
}

/* —— Footer (shared) —— */
.site-footer {
  padding: 3.5rem 1.5rem 2.75rem;
  text-align: center;
  background: var(--footer);
  border-top: 1px solid rgba(196, 165, 116, 0.22);
}

.footer-seal {
  width: 7.5rem;
  margin: 0 auto 1.4rem;
}

.footer-name {
  margin: 0 0 0.25rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
}

.footer-place,
.site-footer p {
  margin: 0;
  color: var(--cream-dim);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.footer-copy {
  margin-top: 1.2rem !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(196, 165, 116, 0.22);
  display: inline-block;
  font-size: 0.82rem !important;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
}

/* —— Home motion —— */
.fx .rise {
  animation: rise 1.15s cubic-bezier(0.16, 0.8, 0.2, 1) both;
  animation-delay: var(--d, 0ms);
}

.fx .medallion img {
  animation: glow-in 1.8s cubic-bezier(0.16, 0.8, 0.2, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(1.25rem); }
  to   { opacity: 1; transform: none; }
}

@keyframes glow-in {
  from { opacity: 0; transform: scale(1.04); filter: drop-shadow(0 1.5rem 3rem rgba(0,0,0,.65)) brightness(0.55); }
  to   { opacity: 1; transform: none; filter: drop-shadow(0 1.5rem 3rem rgba(0,0,0,.65)) brightness(1); }
}

.fx .about-wrap,
.fx .exhibits li {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.85s cubic-bezier(0.16, 0.8, 0.2, 1), transform 0.85s cubic-bezier(0.16, 0.8, 0.2, 1);
}

.fx .about-wrap.is-in,
.fx .exhibits li.is-in {
  opacity: 1;
  transform: none;
}

.fx .exhibits li:nth-child(2) { transition-delay: 0.08s; }
.fx .exhibits li:nth-child(3) { transition-delay: 0.16s; }

/* —— Responsive —— */
@media (max-width: 900px) {
  .site-header { padding: 1.2rem 1.25rem; }
  .home-page .hall { padding: 6.25rem 1.25rem 3.5rem; }
  .hall-frame { inset: 0.7rem; }
  .home-page .hall-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    text-align: center;
  }
  .medallion img { width: min(100%, 16.5rem); }
  .standfirst { margin-left: auto; margin-right: auto; }
  .wordmark { letter-spacing: 0.02em; }
  .about-wrap,
  .exhibits article {
    grid-template-columns: 1fr;
    gap: 0.45rem 1rem;
  }
  .about-body,
  .home-page .gallery { padding-left: 1.25rem; padding-right: 1.25rem; }
  .exhibits .meta { text-align: left; }
}

@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .site-nav ul { gap: 1rem; }
  .site-nav a { font-size: 0.66rem; letter-spacing: 0.14em; }
}
