/* ========= Monarch Group (monarchgroup.us) ========= */

:root {
  --orange: #f36c21;
  --orange-dark: #d9550e;
  --black: #111111;
  --white: #ffffff;
  --grey: #6b6b6b;
  --line: #e2e2e2;
  --pixel: "Silkscreen", monospace;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: "Bodoni Moda", "Didot", "Bodoni MT", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ========= Header ========= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.9rem 2.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.site-header.scrolled { border-bottom-color: var(--line); }

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-mark { width: 42px; height: 42px; object-fit: contain; }

.brand-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--black);
  letter-spacing: 0.01em;
}

.brand-name em {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 0.5rem;
  color: var(--grey);
  letter-spacing: 0.5em;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  gap: 3rem;
  margin: 0 auto;
}

.main-nav a {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover { color: var(--orange); border-bottom-color: var(--orange); }

.header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--black);
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-social a:hover { color: var(--orange); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ========= Bands (full-bleed sections) ========= */

.band {
  padding-block: 7rem;
  padding-inline: max(1.5rem, calc((100% - 1200px) / 2));
}

.band--dark { background: var(--black); color: #fff; }
.band--orange { background: var(--orange); color: #fff; }

/* ========= Kickers & section heads ========= */

.kicker {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.2rem;
}

.kicker--light { color: rgba(255, 255, 255, 0.8); }
.kicker--center { color: var(--orange); }

.section-head { margin-bottom: 3.5rem; }

.section-lead {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.4;
  margin-top: 1.2rem;
  max-width: 720px;
  opacity: 0.85;
}

.giant-heading {
  font-family: var(--pixel);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: currentColor;
  word-break: break-word;
}

/* ========= Hero ========= */

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-inner { max-width: 900px; }

.hero-title {
  font-family: var(--pixel);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 3.2rem);
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 1.8rem;
}

.hero-title em { font-style: normal; color: var(--orange); }

.hero-sub {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: #1f1f1f;
  line-height: 1.6;
}

/* ========= Buttons ========= */

.pill-btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  background: transparent;
  text-decoration: none;
  border: 1.5px solid var(--black);
  border-radius: 999px;
  padding: 0.8rem 2rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.pill-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.pill-btn.small { padding: 0.6rem 1.5rem; font-size: 0.68rem; }

/* ========= About (split band) ========= */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  background: linear-gradient(90deg, var(--orange) 0 50%, var(--white) 50% 100%);
}

.about__title { color: #fff; padding-right: 3.5rem; }
.about__title .giant-heading { color: #fff; }

.about__body {
  padding-left: 3.5rem;
  font-size: 1.12rem;
  color: #333;
  display: grid;
  gap: 1.3rem;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.8rem;
  margin-top: 3rem;
}

.stat strong {
  font-family: var(--pixel);
  font-style: normal;
  font-weight: 500;
  font-size: 3.6rem;
  color: #fff;
  display: block;
  line-height: 1;
}

.stat--plus strong::after { content: "+"; font-size: 2rem; }

.stat span {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* ========= Portfolio ========= */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.filter-tag {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  background: var(--white);
  border: 1.5px solid var(--black);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.filter-tag:hover,
.filter-tag.is-active {
  background: var(--black);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 2.5rem 1.5rem;
}

.p-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.p-tile:hover { transform: translateY(-4px); }

.p-logo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  overflow: hidden;
}

.p-logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.p-name {
  font-size: 0.72rem;
  color: var(--grey);
  text-align: center;
}

/* ========= Research (dark band) ========= */

.research-list { max-width: 940px; }

.research-item {
  padding: 2.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.research-item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.16); }

.research-item h3 {
  font-family: var(--pixel);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.3;
  margin-bottom: 0.7rem;
}

.research-item h3 a { text-decoration: none; transition: color 0.2s ease; }
.research-item h3 a:hover { color: var(--orange); }

.research-meta { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

.research-date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.3rem;
}

.research-date a { color: var(--orange); text-decoration: none; }
.research-date a:hover { text-decoration: underline; }

/* ========= Community ========= */

.event-list { display: grid; gap: 3.5rem; }

.event {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
}

.event:last-child { border-bottom: 0; padding-bottom: 0; }

.event-year {
  font-family: var(--pixel);
  font-style: normal;
  font-size: 1.5rem;
  color: var(--orange);
  align-self: start;
}

.event-body h3 {
  font-family: var(--pixel);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 0.8rem;
}

.event-body p {
  font-size: 1rem;
  color: #333;
  max-width: 620px;
  margin-bottom: 1.2rem;
}

/* ========= Contact (orange band) ========= */

.contact { text-align: center; }

.contact-inner { max-width: 720px; margin: 0 auto; }

.contact .giant-heading { color: #fff; }
.contact .section-lead { margin: 1rem auto 2.5rem; color: rgba(255, 255, 255, 0.92); }

.subscribe-form {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.subscribe-form input {
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  min-width: 300px;
  background: #fff;
  color: var(--black);
  outline: none;
}

.contact .pill-btn {
  color: #fff;
  border-color: #fff;
}

.contact .pill-btn:hover {
  background: #fff;
  color: var(--orange);
  border-color: #fff;
}

.contact-note { font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); margin-top: 1.8rem; }
.contact-note a { color: #fff; text-decoration: underline; }

/* ========= Footer (dark) ========= */

.site-footer {
  background: var(--black);
  color: #fff;
  padding: 3.5rem 2.5rem 2.5rem;
}

.site-footer .footer-mark { filter: invert(1); }

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand { display: flex; align-items: center; gap: 0.8rem; }

.footer-mark { width: 36px; height: 36px; object-fit: contain; }

.footer-wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  color: #fff;
}

.footer-wordmark-sub {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 0.55rem;
  color: var(--grey);
  letter-spacing: 0.5em;
  vertical-align: 0.25em;
  margin-left: 0.3em;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 1.8rem; }

.footer-links a {
  font-size: 0.85rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--orange); }

.footer-social a {
  display: inline-flex;
  color: #fff;
  transition: color 0.2s ease;
}

.footer-social a:hover { color: var(--orange); }

.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ========= Article pages ========= */

.article-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.article-kicker {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.article-page h1 {
  font-family: var(--pixel);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}

.article-byline {
  font-size: 0.9rem;
  color: var(--grey);
  padding-bottom: 1.8rem;
  margin-bottom: 2.2rem;
  border-bottom: 1px solid var(--line);
}

.article-byline strong { color: var(--black); font-weight: 600; }

.article-body { font-size: 1.05rem; color: #262626; }

.article-body p { margin-bottom: 1.3rem; }

.article-body h2 {
  font-family: var(--pixel);
  font-style: normal;
  font-weight: 500;
  font-size: 1.5rem;
  margin: 2.4rem 0 1rem;
}

.article-body ul, .article-body ol {
  margin: 0 0 1.3rem 1.4rem;
}

.article-body li { margin-bottom: 0.5rem; }

.article-body blockquote {
  border-left: 3px solid var(--orange);
  padding: 0.4rem 0 0.4rem 1.2rem;
  margin: 1.8rem 0;
  color: var(--black);
  font-style: italic;
}

.article-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.article-disclaimer {
  font-size: 0.75rem;
  color: var(--grey);
  margin-top: 2.5rem;
}

/* ========= Reveal animation ========= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ========= Responsive ========= */

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 61px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
    display: none;
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    padding: 0.9rem 2.5rem;
    border-bottom: none;
  }

  .nav-toggle { display: flex; }

  .header-social { margin-left: auto; }
  .nav-toggle { margin-left: 0; }

  .band { padding-block: 4.5rem; }

  .about {
    grid-template-columns: 1fr;
    background: var(--orange);
    color: #fff;
  }

  .about__title { padding-right: 0; }

  .about__body {
    padding-left: 0;
    margin-top: 2.5rem;
    color: rgba(255, 255, 255, 0.92);
  }

  .event { grid-template-columns: 1fr; gap: 0.6rem; }

  .mobile-break { display: block; }
}

@media (min-width: 901px) {
  .mobile-break { display: none; }
}
