/* Public Moroc marketing surface. */

[data-moroc-site] {
    --moroc-paper: #f3f1eb;
    --moroc-ink: #161714;
    --moroc-olive: #7a826d;
    --moroc-line: rgb(22 23 20 / 16%);
    --moroc-muted: #64665f;
    min-height: 100%;
    background: var(--moroc-paper);
    color: var(--moroc-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
}

[data-moroc-site] *, [data-moroc-site] *::before, [data-moroc-site] *::after { box-sizing: border-box; }
[data-moroc-site] h1, [data-moroc-site] h2, [data-moroc-site] h3, [data-moroc-site] p { margin: 0; }
[data-moroc-site] a { color: inherit; text-decoration: none; }
.moroc-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.moroc-skip-link { position: fixed; z-index: 100; top: 16px; left: 16px; transform: translateY(-160%); border-radius: 999px; background: var(--moroc-ink); color: var(--moroc-paper); padding: 10px 14px; font-size: 14px; font-weight: 600; }
.moroc-skip-link:focus { transform: translateY(0); outline: 3px solid rgb(22 23 20 / 35%); outline-offset: 3px; }

.moroc-announcement { position: absolute; z-index: 51; inset: 0 0 auto; display: flex; align-items: center; justify-content: center; min-height: 40px; border-bottom: 1px solid var(--moroc-line); color: var(--moroc-ink); font-size: 14px; font-weight: 500; text-align: center; }
.moroc-announcement:hover, .moroc-announcement:focus-visible { background: rgb(22 23 20 / 5%); outline: none; text-decoration: underline; text-underline-offset: 3px; }
.site-header { position: absolute; z-index: 50; inset: 0 0 auto; padding: 16px 32px; color: var(--moroc-ink); }
.moroc-announcement + .site-header { top: 40px; }
.header-inner { width: min(100%, 1512px); min-height: 40px; margin: 0 auto; display: flex; align-items: center; }
.moroc-brand { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.marketing-logo { display: block; width: 29px; height: auto; }
.moroc-brand > span { font-family: Georgia, "Times New Roman", serif; font-size: 27px; line-height: 1; letter-spacing: -.075em; }
.header-inner nav { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 14px; font-weight: 500; }
.header-inner nav a { display: inline-flex; align-items: center; min-height: 40px; border: 0; border-radius: 999px; padding: 0 14px; white-space: nowrap; transition: background-color 100ms ease, color 100ms ease; }
.header-inner nav a:hover, .header-inner nav a:focus-visible, .header-inner nav a.active { background: rgb(22 23 20 / 7%); outline: none; }
.header-inner nav .header-mobile-action { display: none; }
.header-actions { display: flex; align-items: center; margin-left: 8px; }
.header-cta, .moroc-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border: 1px solid var(--moroc-ink); border-radius: 999px; padding: 0 20px; font-size: 14px; font-weight: 600; line-height: 1; transition: background-color 150ms ease, color 150ms ease, transform 150ms ease; }
[data-moroc-site] .header-cta { width: 109px; min-width: 109px; min-height: 40px; padding: 0 16px; background: var(--moroc-ink); color: var(--moroc-paper); font-weight: 400; letter-spacing: -.13px; }
.header-cta:hover, .moroc-button--dark:hover { background: #35372f; border-color: #35372f; }
.header-cta:focus-visible, .moroc-button:focus-visible, .moroc-text-link:focus-visible { outline: 3px solid rgb(22 23 20 / 40%); outline-offset: 3px; }
.menu-button { display: none; width: 40px; height: 40px; margin-left: auto; border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; padding: 10px; transition: background-color 100ms ease; }
.menu-button:hover, .menu-button:focus-visible { background: rgb(22 23 20 / 7%); outline: 3px solid rgb(22 23 20 / 35%); outline-offset: 2px; }
.menu-button span { display: block; height: 1px; width: 16px; margin: 5px auto; background: currentColor; }

@media (min-width: 701px) {
    .header-inner nav a + a:not(.header-mobile-action) { width: 75px; min-height: 40px; height: 40px; justify-content: center; }
}

.moroc-eyebrow { color: var(--moroc-muted); font-size: 12px; font-weight: 700; letter-spacing: .11em; line-height: 1.3; text-transform: uppercase; }
.moroc-journal h1, .moroc-journal h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.065em; }
[data-moroc-site] .moroc-button--dark { background: var(--moroc-ink); color: var(--moroc-paper); }
[data-moroc-site] .moroc-button--quiet { border-color: transparent; background: rgb(22 23 20 / 7%); color: var(--moroc-ink); }
.moroc-button--quiet:hover { border-color: rgb(22 23 20 / 14%); background: transparent; }
[data-moroc-site] .moroc-button--light { border-color: var(--moroc-paper); background: var(--moroc-paper); color: var(--moroc-ink); white-space: nowrap; }
.moroc-button--light:hover { background: transparent; color: var(--moroc-paper); }

.moroc-footer { padding: 38px 0 28px; background: var(--moroc-ink); color: var(--moroc-paper); }
.moroc-footer__top, .moroc-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.moroc-footer .marketing-logo { color: var(--moroc-paper); }
.moroc-footer nav { display: flex; flex-wrap: wrap; justify-content: end; gap: 19px; font-size: 13px; color: rgb(243 241 235 / 72%); }
.moroc-footer nav a:hover, .moroc-footer nav a:focus-visible { color: var(--moroc-paper); text-decoration: underline; text-underline-offset: 4px; outline: none; }
.moroc-footer__bottom { margin-top: 30px; padding-top: 17px; border-top: 1px solid rgb(255 255 255 / 17%); color: rgb(243 241 235 / 55%); font-size: 12px; }

.moroc-journal__main { min-height: 100vh; padding-top: 110px; }
.moroc-journal__hero { padding: 95px 0 105px; border-bottom: 1px solid var(--moroc-line); }
.moroc-journal__hero h1 { max-width: 780px; margin-top: 18px; font-size: clamp(3.5rem, 7.2vw, 6.5rem); line-height: .94; text-wrap: balance; }
.moroc-journal__hero p:last-child { max-width: 450px; margin-top: 25px; color: var(--moroc-muted); font-size: 17px; line-height: 1.55; }
.moroc-journal__empty { min-height: 530px; display: grid; align-items: center; padding: 90px 0; background: #e2e4d8; }
.moroc-journal__empty > .moroc-shell > div { max-width: 610px; }
.moroc-journal__empty > .moroc-shell > div > span { display: inline-grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--moroc-line); border-radius: 50%; font-family: Georgia, "Times New Roman", serif; font-size: 19px; }
.moroc-journal__empty .moroc-eyebrow { margin-top: 28px; }
.moroc-journal__empty h2 { margin: 15px 0; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: .98; }
.moroc-journal__empty p:not(.moroc-eyebrow) { max-width: 370px; color: var(--moroc-muted); font-size: 16px; line-height: 1.55; }
.moroc-journal__empty .moroc-button { margin-top: 26px; }

.moroc-entry { --moroc-paper: #181916; --moroc-ink: #f3f1eb; --moroc-line: rgb(243 241 235 / 16%); --moroc-muted: #afb1a8; min-height: 100vh; background: #181916; color: #f3f1eb; }
.moroc-entry .site-header { position: fixed; color: #f3f1eb; }
.moroc-entry .header-cta { border-color: #f3f1eb; background: #f3f1eb; color: #181916; }
.moroc-entry .header-cta:hover { background: transparent; color: #f3f1eb; }

@media (max-width: 700px) {
    .moroc-shell { width: min(100% - 32px, 1120px); }
    .moroc-announcement { min-height: 60px; justify-content: flex-start; padding: 0 16px; text-align: left; }
    .moroc-announcement + .site-header { top: 60px; }
    .site-header { padding: 16px; }
    .moroc-brand { gap: 7px; }
    .marketing-logo { width: 27px; }
    .moroc-brand > span { font-size: 25px; }
    .header-inner nav { position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 8px; border: 1px solid var(--moroc-line); border-radius: 12px; background: var(--moroc-paper); box-shadow: 0 12px 26px rgb(22 23 20 / 12%); }
    .moroc-entry .header-inner nav { background: #252724; box-shadow: 0 12px 26px rgb(0 0 0 / 28%); }
    .header-inner nav.is-open { display: flex; }
    .header-inner nav a { min-height: 42px; padding: 0 12px; border: 0; border-radius: 8px; }
    .header-inner nav a:first-child { min-width: 0; justify-content: flex-start; }
    .header-inner nav .header-mobile-action { display: inline-flex; }
    .header-inner nav a:hover, .header-inner nav a:focus-visible, .header-inner nav a.active { background: rgb(22 23 20 / 8%); }
    .moroc-entry .header-inner nav a:hover, .moroc-entry .header-inner nav a:focus-visible, .moroc-entry .header-inner nav a.active { background: rgb(255 255 255 / 9%); }
    .header-actions { display: none; }
    .menu-button { display: block; }
    .moroc-footer__top, .moroc-footer__bottom { align-items: flex-start; flex-direction: column; gap: 20px; }
    .moroc-footer nav { justify-content: flex-start; gap: 13px 18px; }
    .moroc-footer__bottom { margin-top: 25px; }
    .moroc-journal__main { padding-top: 130px; }
    .moroc-journal__hero { padding: 66px 0 78px; }
    .moroc-journal__hero h1 { font-size: clamp(3.2rem, 15vw, 4.5rem); }
}

@keyframes moroc-logo-slide {
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) { [data-moroc-site], [data-moroc-site] *, [data-moroc-site] *::before, [data-moroc-site] *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; } }

/* Public writing archive and reader. The data source is Joomla's article archive;
   these rules only define its presentation. */
.moroc-blog-article { --moroc-paper: #fbfaf7; --moroc-ink: #171714; --moroc-muted: #6d6b66; --moroc-line: rgb(23 23 20 / 15%); background: var(--moroc-paper); }
.moroc-blog-article h1, .moroc-blog-article h2, .moroc-blog-article .moroc-blog-card h2, .moroc-blog-article .moroc-blog-card h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.065em; }
.moroc-blog-article .moroc-blog-card { display: flex; min-width: 0; flex-direction: column; color: var(--moroc-ink); }
.moroc-blog-article .moroc-blog-card__media { position: relative; display: grid; width: 100%; aspect-ratio: 2 / 1; place-items: center; overflow: hidden; background: #dcdcd5; color: #5e6157; }
.moroc-blog-article .moroc-blog-card__media--empty { background: linear-gradient(135deg, #e8e7df, #c8cbbd); font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5vw, 76px); letter-spacing: -.08em; }
.moroc-blog-article .moroc-blog-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.72,.24,1); }
.moroc-blog-article .moroc-blog-card:hover .moroc-blog-card__media img { transform: scale(1.025); }
.moroc-blog-article .moroc-blog-card__body { padding-top: 13px; }
.moroc-blog-article .moroc-blog-card__meta { display: flex; align-items: center; gap: 8px; color: var(--moroc-muted); font-size: 13px; line-height: 1.35; }
.moroc-blog-article .moroc-blog-card__meta i { width: 3px; height: 3px; flex: 0 0 auto; border-radius: 50%; background: currentColor; }
.moroc-blog-article .moroc-blog-card h2, .moroc-blog-article .moroc-blog-card h3 { margin-top: 10px; font-size: 22px; line-height: 1.08; }
.moroc-blog-article .moroc-blog-card__excerpt { max-width: 540px; margin-top: 11px; color: var(--moroc-muted); font-size: 14px; line-height: 1.48; }
.moroc-blog-article .moroc-blog-card:focus-visible { outline: 3px solid rgb(23 23 20 / 42%); outline-offset: 5px; }

.moroc-blog-article__main { min-height: 100vh; padding-top: 184px; }
.moroc-blog-article__reading { width: min(720px, calc(100% - 48px)); margin: 0 auto; }
.moroc-blog-article__hero { padding: 44px 0 72px; }
.moroc-blog-article__back { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; border: 1px solid var(--moroc-line); border-radius: 999px; padding: 0 14px; font-size: 14px; transition: background-color 150ms ease; }
.moroc-blog-article__back:hover, .moroc-blog-article__back:focus-visible { background: rgb(23 23 20 / 7%); outline: none; }
.moroc-blog-article h1 { margin-top: 34px; font-size: clamp(50px, 5.2vw, 74px); line-height: .98; text-wrap: balance; }
.moroc-blog-article__deck { max-width: 610px; margin-top: 24px; color: #494944; font-size: 18px; line-height: 1.52; }
.moroc-blog-article__hero .moroc-blog-card__meta { margin-top: 24px; }
.moroc-blog-article__content { padding-bottom: 112px; }
.moroc-blog-article__image { margin: 0 0 54px; overflow: hidden; background: #e3e2db; }
.moroc-blog-article__image img { display: block; width: 100%; height: auto; }
.article-rich { color: #292925; font-size: 18px; line-height: 1.62; }
.article-rich > :first-child { margin-top: 0; }
.article-rich p, .article-rich ul, .article-rich ol, .article-rich blockquote, .article-rich figure, .article-rich table { margin: 26px 0 0; }
.article-rich h2, .article-rich h3 { margin-top: 64px; color: var(--moroc-ink); }
.article-rich h2 { font-size: clamp(34px, 3.2vw, 44px); line-height: 1.02; }
.article-rich h3 { font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 400; letter-spacing: -.045em; line-height: 1.1; }
.article-rich ul, .article-rich ol { padding-left: 1.25em; }
.article-rich li + li { margin-top: 9px; }
.article-rich blockquote { border-left: 2px solid var(--moroc-ink); padding-left: 22px; color: #4a4a45; font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.25; }
.article-rich a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-rich img { max-width: 100%; height: auto; }
.article-rich table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.article-rich td, .article-rich th { border: 1px solid var(--moroc-line); padding: 9px 12px; text-align: left; }
.article-reveal { opacity: 0; transform: translateY(14px); transition: opacity 360ms ease, transform 360ms ease; }
.article-reveal.visible { opacity: 1; transform: none; }
.moroc-blog-related { border-top: 1px solid var(--moroc-line); padding: 92px 0 120px; }
.moroc-blog-related__heading p { color: var(--moroc-muted); font-size: 13px; }
.moroc-blog-related h2 { margin-top: 9px; font-size: 46px; line-height: .98; }
.moroc-blog-related__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.moroc-blog-article .moroc-blog-card--related h3 { font-size: 22px; }

@keyframes moroc-blog-spinner { to { transform: rotate(1turn); } }

@media (max-width: 700px) {
    .moroc-blog-related__grid { grid-template-columns: 1fr; gap: 44px; }
    .moroc-blog-article__main { padding-top: 128px; }
    .moroc-blog-article__reading { width: min(100% - 32px, 720px); }
    .moroc-blog-article__hero { padding: 30px 0 56px; }
    .moroc-blog-article__hero .moroc-blog-card__meta { margin-top: 24px; }
    .moroc-blog-article h1 { font-size: clamp(45px, 12vw, 58px); }
    .moroc-blog-article__deck { font-size: 16px; }
    .moroc-blog-article__content { padding-bottom: 76px; }
    .moroc-blog-article__image { margin-bottom: 38px; }
    .article-rich { font-size: 17px; line-height: 1.62; }
    .article-rich h2 { margin-top: 48px; font-size: 35px; }
    .article-rich h3 { margin-top: 42px; font-size: 27px; }
    .moroc-blog-related { padding: 68px 0 80px; }
    .moroc-blog-related h2 { font-size: 39px; }
}
