@font-face { font-family: "Headings"; src: local("Abel"); }
@font-face { font-family: "Body"; src: local("Roboto"); }
/* Design tokens: #FFFFFF #C0392B #2C5F86 #8E2A20 #1e1e1e #d8d6cf */
/* Font tokens: Abel, Roboto, Headings, Body */
:root {
  --fmc-primary: #FFFFFF;
  --fmc-surface: #F4F5F7;
  --fmc-ink: #222831;
  --fmc-muted: #5A6470;
  --fmc-subtle: #D9DDE3;
  --fmc-red: #C0392B;
  --fmc-red-deep: #8E2A20;
  --fmc-blue: #2C5F86;
  --fmc-charcoal: #1F2933;
  --pico-font-family: "Roboto", system-ui, Arial, sans-serif;
  --pico-font-family-sans-serif: "Roboto", system-ui, sans-serif;
  --pico-primary: #C0392B;
  --pico-primary-hover: #8E2A20;
  --pico-color: #222831;
}
* { letter-spacing: 0; }
body {
  background: var(--fmc-primary);
  color: var(--fmc-ink);
  font-family: "Roboto", "Body", Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6, .primary-nav, .hero-caption {
  font-family: "Abel", "Headings", Arial, sans-serif;
  letter-spacing: 0;
}
h1 { border-color: var(--fmc-violet); }
a { color: inherit; }
a { border-color: var(--fmc-burgundy); }
.site-prose a, .content-panel a, .category-card a {
  color: var(--fmc-violet);
  text-decoration: underline;
  text-decoration-color: rgba(91, 33, 230, .35);
  text-underline-offset: 3px;
}
.site-prose a:hover, .content-panel a:hover, .category-card a:hover {
  color: var(--fmc-burgundy);
  text-decoration-color: var(--fmc-burgundy);
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip-link:focus {
  left: 1rem;
  z-index: 1000;
  background: #fff;
  padding: .5rem 1rem;
}
.site-shell {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-color: var(--fmc-subtle);
  border-bottom: 1px solid var(--fmc-subtle);
  box-shadow: 0 6px 24px rgba(30,30,30,.04);
}
.social-strip {
  display: flex;
  justify-content: flex-end;
  padding-top: .75rem;
  color: var(--fmc-muted);
  font-size: .78rem;
  text-transform: uppercase;
}
.masthead {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  align-items: end;
  padding: .75rem 0 0;
}
.brand img {
  width: 232px;
  max-width: 100%;
}
.primary-nav {
  border-bottom: 3px solid var(--fmc-charcoal);
  padding-bottom: .55rem;
  overflow: visible;
}
.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .35rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav li { position: relative; }
.primary-nav a {
  display: block;
  color: #5c5954;
  font-size: .98rem;
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav a:hover { color: var(--fmc-violet); }
.dropdown {
  display: none !important;
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 250px;
  padding: .65rem;
  background: #fff;
  border: 1px solid var(--fmc-subtle);
  box-shadow: 0 18px 50px rgba(30,30,30,.12);
}
.has-dropdown:hover .dropdown { display: block !important; }
.dropdown a { white-space: normal; padding: .35rem .25rem; }
.site-main { padding: 2.5rem 0 4rem; }
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 2rem;
  align-items: start;
}
.narrow { max-width: 860px; }
.content-panel {
  background: var(--fmc-surface);
  border: 1px solid var(--fmc-subtle);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: 0 18px 50px rgba(30,30,30,.08);
}
.page-header {
  border-left: 4px solid var(--fmc-violet);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}
.page-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}
.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: 0;
  margin: 0 0 1rem;
  list-style: none;
  font-size: .85rem;
}
.breadcrumbs li + li::before {
  content: "/";
  color: var(--fmc-muted);
  margin-right: .35rem;
}
.site-sidebar {
  background: #fff;
  border: 1px solid var(--fmc-subtle);
  padding: 1rem;
  max-height: 70vh;
  overflow: auto;
}
.site-sidebar ul, .site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-sidebar li, .site-footer li { margin-bottom: .45rem; }
.home-hero {
  padding: 2rem 0;
  border-color: var(--fmc-teal);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr);
  gap: 1.5rem;
}
.hero-art, .hero-copy {
  background: #fff;
  border: 1px solid var(--fmc-subtle);
  box-shadow: 0 18px 50px rgba(30,30,30,.08);
}
.hero-art img {
  width: 100%;
  aspect-ratio: 1000 / 563;
  object-fit: cover;
}
.hero-caption {
  background: var(--fmc-charcoal);
  color: #fff;
  padding: 1rem;
  font-size: 1.8rem;
  text-align: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}
.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.02;
}
.section-line {
  height: 1px;
  background: var(--fmc-charcoal);
  opacity: .55;
  margin: 2rem 0 1.5rem;
}
.card-grid, .category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  border-color: var(--fmc-subtle);
}
.content-card, .category-card {
  background: #fff;
  border: 1px solid var(--fmc-subtle);
  padding: 1rem;
  transition: border-color .2s ease, transform .2s ease;
}
.content-card:hover, .category-card:hover {
  border-color: var(--fmc-burgundy);
  transform: translateY(-3px);
}
.content-card img, .category-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  margin-bottom: .8rem;
  border-bottom: 4px solid var(--fmc-violet);
}
.content-image img, .media-panel img {
  width: auto;
  max-width: 100%;
  height: auto;
}
.main-image {
  float: right;
  max-width: 34%;
  margin: 0 0 1rem 1.25rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.table-scroll { overflow-x: auto; }
.toc {
  background: #fff;
  border: 1px solid var(--fmc-subtle);
  padding: 1rem;
  margin-bottom: 1rem;
}
.site-footer {
  background: var(--fmc-charcoal);
  color: #d9d9d9;
  padding: 2.5rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}
.site-footer h3 { color: #fff; }
.site-footer a { color: #d9d9d9; }
.site-footer a:hover { color: #fff; }
@media (max-width: 900px) {
  .masthead, .hero-grid, .content-layout, .footer-grid { grid-template-columns: 1fr; }
  .primary-nav ul { justify-content: flex-start; }
  .card-grid, .category-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-image { float: none; max-width: 100%; margin: 0 0 1rem; }
}
@media (max-width: 560px) {
  .site-shell { width: min(100% - 28px, 1100px); }
  .card-grid, .category-grid, .gallery-grid { grid-template-columns: 1fr; }
  .content-panel { padding: 1rem; }
}

/* FMC heritage theme overrides */
h1, h2, h3, h4, h5, h6, .brand-name {
  font-family: "Oswald", "Roboto", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.site-header { background: var(--fmc-charcoal); }
.site-header .social-strip { background: var(--fmc-red-deep); color: #fff; }
.site-header .social-strip span { color: #fff; }
.brand { display: inline-flex; flex-direction: column; line-height: 1.05; text-decoration: none; }
.brand-name { font-size: 1.55rem; text-transform: uppercase; color: #fff; }
.brand-tag { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fmc-red); }
.primary-nav > ul > li > a { color: #f4f5f7; }
.primary-nav a:hover { color: var(--fmc-red); }
.home-hero .hero-caption { background: var(--fmc-red); color: #fff; }
a { color: var(--fmc-red); }
a:hover { color: var(--fmc-red-deep); }
