/* PMC Gateway — scoped under .pmcg so the active theme's styles don't leak in (or out). */
.pmcg {
  --pmcg-bg: #141414;
  --pmcg-fg: #f4f3f0;
  --pmcg-card: #1d1d1d;
  --pmcg-line: rgba(255, 255, 255, .12);
  --pmcg-accent: #d23a2f;
  --pmcg-mono: 'IBM Plex Mono', ui-monospace, monospace;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--pmcg-bg);
  color: var(--pmcg-fg);
  font-family: 'Archivo', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-align: left;
}
.pmcg--light {
  --pmcg-bg: #f6f5f2;
  --pmcg-fg: #161616;
  --pmcg-card: #ffffff;
  --pmcg-line: rgba(0, 0, 0, .12);
}
/* When embedded inside a normal page (not full screen): stretch edge to edge, no forced height. */
.pmcg--embedded {
  min-height: 0;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* 100vw includes the scrollbar, so stop it adding a sideways scroll. */
html:has(.pmcg--embedded) { overflow-x: clip; }
.pmcg *, .pmcg *::before, .pmcg *::after { box-sizing: border-box; }
.pmcg a, .pmcg a:hover, .pmcg a:focus, .pmcg a:visited {
  color: inherit;
  text-decoration: none;
  box-shadow: none;
}
.pmcg a:focus-visible { outline: 2px solid var(--pmcg-accent); outline-offset: 3px; }

/* Header */
.pmcg .pmcg-header {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.pmcg .pmcg-logo { height: 64px; width: auto; max-width: none; display: block; }
.pmcg .pmcg-domain {
  font-family: var(--pmcg-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
}

/* Main */
.pmcg .pmcg-main {
  flex: 1;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 72px 32px 64px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.pmcg .pmcg-intro { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.pmcg .pmcg-eyebrow {
  font-family: var(--pmcg-mono);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pmcg-accent);
}
.pmcg .pmcg-title {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(40px, 7vw, 84px);
  line-height: .95;
  letter-spacing: -.03em;
  color: inherit;
  text-wrap: balance;
}
.pmcg .pmcg-lead {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
  opacity: .75;
  max-width: 560px;
  text-wrap: pretty;
}

/* Gateway hero: intro text beside the photo */
.pmcg .pmcg-hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.pmcg .pmcg-hero .pmcg-intro { flex: 1 1 380px; }
.pmcg .pmcg-hero-media { flex: 1 1 320px; max-width: 380px; display: flex; flex-direction: column; gap: 14px; }
.pmcg .pmcg-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  overflow: hidden;
  background: var(--pmcg-card);
  border: 1px solid var(--pmcg-line);
}
.pmcg .pmcg-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.pmcg .pmcg-slide.is-active { opacity: 1; visibility: visible; }
.pmcg .pmcg-slide img, .pmcg .pmcg-slide iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  object-fit: cover;
  display: block;
}
.pmcg .pmcg-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-family: var(--pmcg-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  pointer-events: none;
}
.pmcg .pmcg-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--pmcg-accent); }
.pmcg .pmcg-slides-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pmcg .pmcg-dots { display: flex; gap: 6px; }
.pmcg .pmcg-dots button {
  all: unset;
  cursor: pointer;
  height: 6px;
  width: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .3);
  transition: width .2s ease, background .2s ease;
}
.pmcg--light .pmcg-dots button { background: rgba(0, 0, 0, .25); }
.pmcg .pmcg-dots button.is-active { width: 22px; background: var(--pmcg-accent); }
.pmcg .pmcg-dots button:focus-visible { outline: 2px solid var(--pmcg-accent); outline-offset: 3px; }
.pmcg a.pmcg-follow {
  font-family: var(--pmcg-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .75;
  transition: opacity .15s ease, color .15s ease;
}
.pmcg a.pmcg-follow:hover { opacity: 1; color: var(--pmcg-accent); }

/* Cards */
.pmcg .pmcg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}
.pmcg .pmcg-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 28px 28px;
  min-height: 260px;
  background: var(--pmcg-card);
  border: 1px solid var(--pmcg-line);
  border-radius: 6px;
  transition: transform .18s ease, border-color .18s ease;
}
.pmcg .pmcg-card:hover, .pmcg .pmcg-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--pmcg-accent);
}
.pmcg .pmcg-kicker {
  font-family: var(--pmcg-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .6;
}
.pmcg .pmcg-card-title {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: inherit;
}
.pmcg .pmcg-card-desc {
  margin: 0;
  flex: 1;
  font-size: 16px;
  line-height: 1.55;
  opacity: .75;
  text-wrap: pretty;
}
.pmcg .pmcg-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--pmcg-line);
}
.pmcg .pmcg-host { font-family: var(--pmcg-mono); font-size: 13px; opacity: .7; }
.pmcg .pmcg-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pmcg-accent);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

/* Footer */
.pmcg .pmcg-footer { border-top: 1px solid var(--pmcg-line); }
.pmcg .pmcg-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 32px 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  font-size: 15px;
  line-height: 1.6;
}
.pmcg .pmcg-col { display: flex; flex-direction: column; gap: 8px; }
.pmcg .pmcg-label {
  font-family: var(--pmcg-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .55;
}
.pmcg .pmcg-text { opacity: .85; }
.pmcg .pmcg-links { display: flex; flex-direction: column; gap: 2px; }
.pmcg .pmcg-links a { opacity: .85; transition: color .15s ease; }
.pmcg .pmcg-links a:hover, .pmcg .pmcg-links a:focus-visible { color: var(--pmcg-accent); }

/* ---------- Contact and FAQ pages ---------- */
.pmcg .pmcg-header--wrap { flex-wrap: wrap; }
.pmcg .pmcg-nav {
  display: flex;
  gap: 28px;
  font-family: var(--pmcg-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pmcg .pmcg-nav a { opacity: .7; transition: opacity .15s ease; }
.pmcg .pmcg-nav a:hover { opacity: 1; }
.pmcg .pmcg-nav a.is-current { opacity: 1; color: var(--pmcg-accent); }
.pmcg-page .pmcg-main { padding-bottom: 80px; }
.pmcg .pmcg-title--sub { font-size: clamp(40px, 6vw, 72px); }
.pmcg .pmcg-lead--sub { font-size: 18px; max-width: 520px; }
.pmcg .pmcg-intro--sub { max-width: 720px; }
.pmcg .pmcg-footer-bar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--pmcg-mono);
  font-size: 13px;
  opacity: .6;
}
.pmcg .pmcg-button, .pmcg a.pmcg-button, .pmcg a.pmcg-button:hover {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  margin: 0;
  background: var(--pmcg-accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
  transition: opacity .15s ease;
}
.pmcg .pmcg-button:hover { opacity: .9; }
.pmcg .pmcg-accent-link, .pmcg a.pmcg-accent-link:hover { font-size: 15px; font-weight: 600; color: var(--pmcg-accent); }
.pmcg .pmcg-accent-link:hover { opacity: .8; }

/* FAQ */
.pmcg .pmcg-faq { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
.pmcg .pmcg-faq-side {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 32px;
}
.pmcg .pmcg-faq-side .pmcg-lead--sub { max-width: 420px; }
.pmcg .pmcg-faq-list { flex: 2 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.pmcg .pmcg-faq-group { display: flex; flex-direction: column; }
.pmcg .pmcg-faq-group-name { padding-bottom: 14px; border-bottom: 1px solid var(--pmcg-line); }
.pmcg .pmcg-faq-item { border-bottom: 1px solid var(--pmcg-line); margin: 0; padding: 0; }
.pmcg .pmcg-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  transition: color .15s ease;
}
.pmcg .pmcg-faq-item summary::-webkit-details-marker { display: none; }
.pmcg .pmcg-faq-item summary::marker { content: ''; }
.pmcg .pmcg-faq-item summary:hover { color: var(--pmcg-accent); }
.pmcg .pmcg-faq-item summary span:first-child { text-wrap: pretty; }
.pmcg .pmcg-faq-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: 18px;
  font-weight: 500;
  color: var(--pmcg-fg);
}
.pmcg .pmcg-faq-icon::before { content: '+'; }
.pmcg .pmcg-faq-item[open] .pmcg-faq-icon::before { content: '\2212'; }
.pmcg .pmcg-faq-item p {
  margin: 0;
  padding: 0 56px 24px 0;
  font-size: 17px;
  line-height: 1.6;
  opacity: .75;
  text-wrap: pretty;
}
@media (max-width: 820px) {
  .pmcg .pmcg-faq-side { position: static; }
  .pmcg .pmcg-faq-item p { padding-right: 0; }
}

/* Contact */
.pmcg .pmcg-contact-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.pmcg .pmcg-panel { background: var(--pmcg-card); border: 1px solid var(--pmcg-line); border-radius: 6px; min-width: 0; }
.pmcg .pmcg-contact-info { flex: 1 1 300px; display: flex; flex-direction: column; }
.pmcg .pmcg-contact-form { flex: 2 1 460px; padding: 32px; }
.pmcg .pmcg-panel-section { display: flex; flex-direction: column; gap: 10px; padding: 28px; }
.pmcg .pmcg-panel-section + .pmcg-panel-section { border-top: 1px solid var(--pmcg-line); }
.pmcg .pmcg-panel-section:first-child { gap: 8px; }
.pmcg .pmcg-panel-section .pmcg-accent-link { margin-top: 8px; }
.pmcg .pmcg-address { font-size: 20px; font-weight: 600; line-height: 1.4; }
.pmcg .pmcg-muted { font-size: 15px; opacity: .7; }
.pmcg .pmcg-hours-row { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; }
.pmcg .pmcg-hours-row span:first-child { opacity: .75; }
.pmcg .pmcg-panel-section.pmcg-links a { opacity: 1; font-size: 16px; }
.pmcg .pmcg-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pmcg a.pmcg-pill {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  font-size: 14px;
  transition: border-color .15s ease;
}
.pmcg a.pmcg-pill:hover { border-color: var(--pmcg-accent); }

.pmcg .pmcg-form { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.pmcg .pmcg-form-title { margin: 0 0 4px; font-family: inherit; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: inherit; }
.pmcg .pmcg-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.pmcg .pmcg-field { display: flex; flex-direction: column; gap: 8px; margin: 0; font-size: 14px; font-weight: 500; color: rgba(244, 243, 240, .9); }
.pmcg .pmcg-field input, .pmcg .pmcg-field textarea {
  width: 100%;
  margin: 0;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  color: #f4f3f0;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 4px;
  padding: 14px;
  outline: none;
  box-shadow: none;
}
.pmcg .pmcg-field textarea { resize: vertical; }
.pmcg .pmcg-field input:focus, .pmcg .pmcg-field textarea:focus { border-color: var(--pmcg-accent); }
.pmcg .pmcg-topics { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pmcg .pmcg-topics legend { padding: 0; margin: 0 0 10px; font-size: 14px; font-weight: 500; color: rgba(244, 243, 240, .9); }
.pmcg .pmcg-pills .pmcg-chip { position: relative; margin: 0; cursor: pointer; }
.pmcg .pmcg-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pmcg .pmcg-chip span {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #f4f3f0;
  transition: background .15s ease, border-color .15s ease;
}
.pmcg .pmcg-chip input:checked + span { background: var(--pmcg-accent); border-color: var(--pmcg-accent); }
.pmcg .pmcg-chip input:focus-visible + span { outline: 2px solid var(--pmcg-accent); outline-offset: 3px; }
.pmcg .pmcg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pmcg .pmcg-error { margin: 0; padding: 12px 14px; border: 1px solid var(--pmcg-accent); border-radius: 4px; font-size: 15px; }
.pmcg .pmcg-sent { display: flex; flex-direction: column; gap: 16px; padding: 40px 0; }
.pmcg .pmcg-sent .pmcg-lead--sub { font-size: 17px; line-height: 1.55; max-width: 440px; }
.pmcg .pmcg-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pmcg-accent);
  color: #fff;
  font-size: 22px;
}

/* Full-screen template: no theme chrome around the gateway. */
/* !important: block themes add padding to <body> from their global styles. */
body.pmcg-fullscreen { margin: 0 !important; padding: 0 !important; overflow-x: hidden; background: #141414; }
body.pmcg-fullscreen > .pmcg { width: 100%; max-width: none; margin: 0; }
body.pmcg-fullscreen.pmcg-fullscreen--light { background: #f6f5f2; }
