:root {
  --ink: #11100f;
  --paper: #f6f4ef;
  --white: #ffffff;
  --muted: #65615a;
  --line: #ded8ce;
  --wine: #8b1e2d;
  --brass: #b18431;
  --teal: #1f5a5f;
  --charcoal: #1f2524;
  --mint: #dfeee8;
  --rose: #f1dddd;
  --shadow: 0 18px 50px rgba(17, 16, 15, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

.announcement {
  display: block;
  background: var(--wine);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(246, 244, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 1px;
  min-width: 190px;
  text-decoration: none;
}

.brand span,
.admin-brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.brand small,
.admin-brand small {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.nav-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--charcoal);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a:focus {
  border-color: var(--brass);
}

.hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: end;
  background-image: var(--hero-image);
  background-position: 58% center;
  background-size: cover;
  color: var(--white);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 16, 15, 0.92), rgba(17, 16, 15, 0.64) 44%, rgba(17, 16, 15, 0.18));
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin-left: clamp(18px, 4vw, 72px);
  margin-right: auto;
  padding: 88px 0 74px;
}

.kicker,
.eyebrow {
  margin: 0 0 10px;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 9.5vw, 7.25rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero blockquote {
  max-width: 640px;
  margin: 26px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--brass);
}

.hero blockquote p {
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.55rem);
}

.hero cite {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
  font-weight: 800;
}

.hero-actions,
.admin-actions,
.editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.button-primary {
  background: var(--brass);
  color: var(--ink);
}

.button-secondary {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.button.compact {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.78rem;
}

.feature-rail {
  background: var(--charcoal);
  color: var(--white);
  padding: 0 clamp(18px, 4vw, 56px);
}

.feature-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.feature-grid article {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 4px;
  background: var(--charcoal);
  padding: 22px;
}

.feature-grid span {
  color: var(--brass);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.story-section,
.gallery-section,
.post-section {
  padding: clamp(58px, 8vw, 116px) 0;
}

.story-section-alt {
  background: var(--white);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.story-section-alt .story-copy {
  order: 2;
}

.story-section-alt .story-image {
  order: 1;
}

.story-copy h2,
.section-heading h2,
.contact-copy h2,
.admin-toolbar h1,
.login-card h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.4vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.story-copy p {
  max-width: 67ch;
  color: #34302b;
  font-size: 1.04rem;
}

.story-image {
  margin: 0;
}

.story-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-image-placeholder {
  align-self: stretch;
}

.story-placeholder {
  min-height: 420px;
  height: 100%;
  display: grid;
  place-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(139, 30, 45, 0.12), rgba(31, 90, 95, 0.16)),
    var(--paper);
  color: var(--ink);
  text-align: center;
  padding: 28px;
}

.story-placeholder span {
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.story-placeholder strong {
  max-width: 420px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--wine);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.link-deck {
  padding: clamp(58px, 8vw, 104px) 0;
  background: var(--mint);
}

.section-heading {
  margin-bottom: 30px;
}

.split-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.link-grid,
.video-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.link-card,
.post-card,
.video-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.link-card {
  min-height: 180px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  text-decoration: none;
}

.link-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.link-icon img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.link-icon-medium {
  background: #ffffff;
}

.link-icon-bsr {
  background: #6f1d2d;
  color: #ffffff;
}

.link-icon-pjlp {
  background: #1f5a5f;
  color: #ffffff;
}

.link-icon-youtube {
  background: #ffffff;
}

.link-icon-award {
  background: var(--brass);
  color: var(--ink);
  font-size: 1.4rem;
}

.link-icon-facebook {
  background: #ffffff;
}

.link-icon-bluesky {
  background: #ffffff;
}

.link-icon-link {
  background: var(--muted);
  color: #ffffff;
  font-size: 0.68rem;
}

.link-card .link-kind,
.post-card time {
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.link-card strong,
.video-card h3,
.post-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.05;
}

.link-card p,
.video-card p,
.post-card p {
  margin: 0;
  color: var(--muted);
}

.gallery-section {
  background: var(--charcoal);
  color: var(--white);
}

.gallery-stage {
  position: relative;
  background: #090b0b;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-stage > img {
  width: 100%;
  max-height: 76vh;
  min-height: 360px;
  object-fit: contain;
}

.gallery-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(17, 16, 15, 0.72);
  backdrop-filter: blur(12px);
}

.gallery-caption span {
  color: var(--brass);
  font-weight: 900;
}

.gallery-caption p {
  margin: 0;
}

.gallery-controls,
.video-controls {
  display: flex;
  gap: 8px;
}

.gallery-controls button,
.video-controls button,
.thumbnail-strip button,
.icon-button {
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.gallery-controls button,
.video-controls button {
  width: 46px;
  height: 46px;
  font-size: 1.25rem;
  font-weight: 900;
}

.thumbnail-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.thumbnail-strip button {
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  opacity: 0.58;
}

.thumbnail-strip button.is-active,
.thumbnail-strip button:focus {
  opacity: 1;
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}

.thumbnail-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-section {
  padding: clamp(58px, 8vw, 104px) 0;
  background: var(--rose);
}

.video-carousel {
  overflow: hidden;
  border-radius: 8px;
}

.video-track {
  display: flex;
  transition: transform 900ms ease;
  will-change: transform;
}

.video-card {
  background: var(--paper);
}

.video-slide {
  flex: 0 0 100%;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card h3,
.video-card p {
  padding: 0 18px;
}

.video-card h3 {
  margin: 18px 0 8px;
}

.video-card p {
  margin-bottom: 20px;
}

.video-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.video-picker button {
  min-height: 38px;
  border: 1px solid rgba(17, 16, 15, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.video-picker button.is-active,
.video-picker button:focus {
  border-color: var(--wine);
  background: var(--wine);
  color: var(--white);
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-card > div {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.post-card h3 {
  margin: 0;
}

.contact-section {
  padding: clamp(58px, 8vw, 112px) 0;
  background: var(--teal);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 5vw, 68px);
}

.contact-copy p {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.82);
}

.phone-link {
  display: block;
  margin: 22px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 800;
  text-decoration: none;
}

.contact-form,
.login-card {
  display: grid;
  gap: 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.contact-form label,
.login-card label,
.field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-form input,
.contact-form textarea,
.login-card input,
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  padding: 12px;
  resize: vertical;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.form-status,
.admin-status,
.muted {
  color: var(--muted);
  margin: 0;
}

.login-disabled {
  display: grid;
  gap: 6px;
  border: 1px solid #e3b8bd;
  border-radius: 8px;
  background: #fff1f2;
  color: #7a1620;
  padding: 16px;
}

.login-disabled strong {
  font-size: 1.05rem;
}

.login-disabled span {
  color: #8f3a43;
  font-weight: 700;
}

.site-footer {
  padding: 26px 0;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-grid p {
  margin: 0;
}

.footer-grid div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.loading-screen,
.admin-login {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 22px;
}

.loading-screen {
  background: var(--ink);
  color: var(--white);
}

.admin-login {
  background: var(--charcoal);
}

.login-card {
  width: min(440px, 100%);
}

.admin-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: #fbfaf7;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid var(--line);
  background: var(--charcoal);
  color: var(--white);
  padding: 22px;
}

.admin-brand {
  display: grid;
  gap: 2px;
  color: var(--white);
  text-decoration: none;
}

.admin-brand small {
  color: var(--brass);
}

.admin-tabs {
  display: grid;
  gap: 6px;
}

.admin-tabs button,
.editor-box-head button,
.editor-actions button,
.upload-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 800;
}

.admin-tabs button {
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
}

.admin-tabs button.is-active {
  background: var(--brass);
  color: var(--ink);
  border-color: var(--brass);
}

.admin-panel {
  padding: clamp(18px, 3vw, 36px);
}

.admin-toolbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: -36px -36px 24px;
  padding: 24px 36px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(16px);
}

.admin-toolbar h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.icon-button {
  width: 38px;
  height: 38px;
  font-weight: 900;
}

.editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.editor-wide,
.field-wide {
  grid-column: 1 / -1;
}

.editor-box {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
}

.editor-box-head,
.item-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.editor-box-head h2,
.item-title strong {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.item-title span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--mint);
  font-weight: 900;
}

.image-field {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.image-preview {
  min-height: 150px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  overflow: hidden;
}

.image-preview img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.image-controls {
  display: grid;
  gap: 12px;
}

.upload-button {
  position: relative;
  display: inline-flex;
  width: max-content;
  align-items: center;
  overflow: hidden;
}

.upload-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.danger {
  color: #9d1f26 !important;
  border-color: #e3b8bd !important;
}

@media (max-width: 920px) {
  .top-nav,
  .split-heading,
  .admin-toolbar,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .story-grid,
  .contact-grid,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .story-section-alt .story-copy,
  .story-section-alt .story-image {
    order: initial;
  }

  .link-grid,
  .video-grid,
  .post-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
  }

  .admin-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-toolbar {
    position: relative;
    margin: -18px -18px 22px;
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .hero-inner {
    padding: 70px 0 54px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .gallery-stage > img {
    min-height: 260px;
  }

  .gallery-caption,
  .image-field,
  .editor-grid {
    grid-template-columns: 1fr;
  }

  .gallery-caption {
    position: static;
    border-radius: 0;
  }

  .thumbnail-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .admin-tabs {
    grid-template-columns: 1fr;
  }
}
