/* Palette, fonts and scale from the exported site. */
@font-face {
  font-family: Inter;
  src: url('/assets/fonts/Inter-VariableFont_slntwght.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: Literata;
  src: url('/assets/fonts/or3PQ6P12-iJxAIgLa78DkrbXsDgk0oVDaDPYLanFLHpPf2TbJG_F_PcTWCWp8g.woff2') format('woff2');
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: Literata;
  src: url('/assets/fonts/or3PQ6P12-iJxAIgLa78DkrbXsDgk0oVDaDPYLanFLHpPf2TbCO_F_PcTWCWp8g.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --jc-dark: #1a1a1a;
  --jc-hero-dark: #111;
  --jc-light: #fff;
  --jc-off-white: #f9f9f9;
  --jc-brand: #56058b;
  --jc-purple: #3f0568;
  --jc-purple-button: #6f2da8;
  --jc-body: Inter, "Open Sans", sans-serif;
  --jc-heading: Literata, serif;
  --jc-gutter: min(6.5rem, 8vw);
  --jc-wide: 1280px;
  --jc-reading: 620px;
  --jc-section-space: 120px;
}

.jc-header,
.jc-footer {
  font-family: var(--jc-body);
  font-size: 1.05rem;
  line-height: 1.6;
}

.jc-header {
  padding: 20px var(--jc-gutter);
  background: var(--jc-off-white);
  color: var(--jc-hero-dark);
}

.jc-nav-wrap,
.jc-footer-wrap {
  max-width: var(--jc-wide);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.jc-logo {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.jc-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.jc-header .jc-tagline {
  margin: 0;
  color: var(--jc-brand);
  font: 500 0.9rem/1.6 var(--jc-heading);
}

.jc-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem min(1.5rem, 2vw);
  font-weight: 500;
}

.jc-header .jc-nav a {
  color: #000;
  text-decoration: none;
}

.jc-header .jc-nav a:hover,
.jc-header .jc-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.jc-header .jc-nav .jc-nav-contact {
  background: var(--jc-purple-button);
  color: var(--jc-light);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgb(0 0 0 / 10%);
  font: 500 clamp(1.039rem, 1.039rem + 0.935 * (1vw - 0.2rem), 1.2rem)/1.6 var(--jc-heading);
  padding: 5px 20px;
}

.jc-header .jc-nav .jc-nav-contact:hover {
  background: #5b248c;
}

.jc-menu-toggle {
  display: none;
}

.jc-footer {
  padding: var(--jc-gutter) max(1rem, var(--jc-gutter));
  background: var(--jc-purple);
  color: var(--jc-light);
}

.jc-footer-wrap {
  align-items: start;
}

.jc-footer .jc-nav {
  flex-direction: column;
  align-items: start;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 400;
}

.jc-footer a {
  color: var(--jc-light);
}

.jc-footer .jc-copyright {
  margin: var(--jc-gutter) 0 0;
  font-size: 0.9rem;
  text-align: center;
}

.jc-editorial {
  margin: 0;
  background: var(--jc-dark);
  color: var(--jc-light);
  font: 200 1.05rem/1.6 var(--jc-body);
}

.jc-editorial strong {
  font-weight: 500;
}

/* Match the theme's dark palette for standard exported quote blocks. */
main blockquote.wp-block-quote.wp-block-quote-is-layout-flow:not(.has-background, .has-text-color) {
  background-color: #2e2634;
  color: var(--jc-light);
  border-color: #ae8fc2;
}

main blockquote.wp-block-quote.wp-block-quote-is-layout-flow:not(.has-background, .has-text-color) a {
  color: #e3c8f2;
}

.jc-skip {
  position: absolute;
  inset: 0 auto auto 0;
  transform: translateY(-120%);
  padding: 0.5rem 1rem;
  z-index: 2;
  color: var(--jc-hero-dark);
  background: var(--jc-off-white);
}

.jc-skip:focus {
  transform: none;
}

.jc-content {
  margin: 0 auto;
  max-width: var(--jc-reading);
  padding: min(5rem, 8vw) max(1rem, var(--jc-gutter));
}

.jc-home {
  max-width: none;
  padding: 19px 0 var(--jc-section-space);
}

.jc-home .jc-hero {
  margin-inline: 10px;
  padding: var(--jc-section-space) max(1rem, var(--jc-gutter));
  background: var(--jc-hero-dark);
}

.jc-home .jc-hero > * {
  max-width: 800px;
  margin-inline: auto;
}

.jc-content h1,
.jc-content h2,
.jc-content h3 {
  font-family: var(--jc-heading);
  font-weight: 200;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.jc-content h1 {
  font-size: clamp(2.1rem, 1.8rem + 2vw, 3.5rem);
  margin-block: 0 1.25rem;
}

.jc-article h1 {
  font-size: clamp(1.85rem, 1.85rem + 1.083 * (1vw - 0.2rem), 2.5rem);
}

.jc-hero h1 {
  font-size: clamp(32.518px, 2.032rem + 2.654 * (1vw - 3.2px), 58px);
  line-height: 1.4;
  margin-block-end: clamp(2.5rem, 8vw, 7.5rem);
}

.jc-hero > p:first-of-type {
  color: var(--jc-off-white);
  font: 200 clamp(21.027px, 1.314rem + 1.351 * (1vw - 3.2px), 34px)/1.5 var(--jc-heading);
}

.jc-content h2 {
  margin-block: 2rem 1rem;
  font-size: clamp(1.85rem, 1.55rem + 1.5vw, 2.5rem);
}

.jc-content h3 {
  margin-block: 0 1rem;
  font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
}

.jc-content p {
  font-size: 1rem;
  margin-block: 0 1.5rem;
}

.jc-content a {
  color: var(--jc-light);
  text-underline-offset: 0.15em;
}

.jc-content section {
  margin-block-start: min(var(--jc-section-space), 12vw);
}

.jc-home > section {
  max-width: var(--jc-reading);
  margin-inline: auto;
  padding-inline: max(1rem, var(--jc-gutter));
}

.jc-home > section:first-of-type,
.jc-home > .jc-profile {
  max-width: var(--jc-wide);
}

.jc-home > section:first-of-type > h2,
.jc-blog > h1,
.jc-services > h1 {
  text-align: center;
}

.jc-services {
  max-width: var(--jc-wide);
}

.jc-services > :not(.jc-services-intro) {
  max-width: var(--jc-reading);
  margin-inline: auto;
}

.jc-content .jc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-block: 1.5rem 0;
}

.jc-hero .jc-actions {
  justify-content: center;
  margin-block-start: 50px;
}

.jc-content .jc-button {
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.6rem 1rem;
  background: var(--jc-purple);
  color: var(--jc-light);
  font: 500 clamp(1.039rem, 1.039rem + 0.935 * (1vw - 0.2rem), 1.6rem)/1.55 var(--jc-heading);
  text-decoration: none;
}

.jc-content .jc-button-outline {
  background: transparent;
  border-color: currentColor;
}

.jc-content .jc-button:hover {
  text-decoration: underline;
}

.jc-contact .jc-actions {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.jc-contact .jc-button {
  cursor: pointer;
}

.jc-contact .jc-button[hidden] {
  display: none;
}

.jc-grid,
.jc-profile,
.jc-services-intro {
  display: grid;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.jc-grid {
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.jc-profile,
.jc-services-intro {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jc-portrait,
.jc-services-intro img {
  display: block;
  width: 100%;
  height: auto;
}

.jc-biography .jc-portrait {
  margin-bottom: 1.5rem;
}

.jc-post-list {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}

.jc-post-list h2 {
  margin: 0 0 0.5rem;
}

.jc-post-list .wp-block-columns {
  display: flex;
  gap: 1.5rem;
}

.jc-post-list figure {
  margin: 0 0 1rem;
}

.jc-post-list img {
  display: block;
  width: 100%;
  height: auto;
}

.jc-post-list hr {
  border: 0;
  border-top: 1px solid #888;
  margin: 2rem auto;
  width: min(10.5rem, 35%);
}

.jc-content .jc-post-date,
.jc-content .wp-block-post-date {
  font-size: 0.9rem;
}

.jc-content nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-block-start: 2rem;
}

@media (max-width: 760px) {
  :root {
    --jc-section-space: 80px;
  }

  .jc-nav-wrap {
    gap: 0.5rem;
  }

  .jc-brand {
    flex: 1 1 0;
    min-width: 0;
  }

  .jc-header .jc-nav {
    flex-basis: 100%;
  }

  .jc-menu-toggle:not([hidden]) {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }

  .jc-menu-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -6px currentColor, 0 6px currentColor;
  }

  .jc-menu-toggle:not([hidden])[aria-expanded="false"] + .jc-nav {
    display: none;
  }

  .jc-header .jc-nav a {
    padding-block: 0.55rem;
  }

  .jc-profile,
  .jc-services-intro {
    grid-template-columns: 1fr;
  }

  .jc-post-list .wp-block-columns {
    display: block;
  }
}

