/*
Theme Name: Saydo Editorial
Theme URI: https://saydowejuli.cloud
Description: An independent editorial journal for Saydo Wejuli. Native Gutenberg, custom editorial templates, and local fonts.
Author: Saydo Amani Wejuli
Template: generatepress
Version: 1.0.1
License: GNU General Public License v2 or later
Text Domain: saydo-editorial
*/
@font-face {
  font-family: Inter;
  src: url(assets/fonts/inter-latin-variable.woff2) format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url(assets/fonts/playfair-latin-variable.woff2) format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
:root {
  --paper: #f5f3ee;
  --ink: #171717;
  --stone: #88877f;
  --muted: #5f5e58;
  --rust: #a65e40;
  --rule: #d3d0c8;
  --serif: "Playfair Display", Georgia, serif;
  --sans: Inter, Arial, sans-serif;
  --wide: 1200px;
  --reading: 720px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--rust);
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 0.5em;
}
p {
  margin: 0 0 1.25em;
}
h1 {
  font-size: clamp(3.1rem, 7vw, 6.25rem);
}
h2 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
}
h3 {
  font-size: 1.8rem;
}
::selection {
  background: #e0c4b5;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 5px;
}
input,
textarea {
  max-width: 100%;
  border-radius: 0;
}
button {
  border-radius: 0;
}
.wrap {
  width: min(calc(100% - 80px), var(--wide));
  margin-inline: auto;
}
.reading {
  max-width: var(--reading);
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  padding: 12px 20px;
  z-index: 9999;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  padding: 29px 0 22px;
  border-bottom: 1px solid var(--ink);
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-size: 1.48rem;
  letter-spacing: -0.065em;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}
.primary-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  padding: 0;
  margin: 0;
}
.primary-nav a {
  font-size: 0.875rem;
  text-decoration: none;
}
.primary-nav .current-menu-item > a,
.primary-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 7px;
}
.editorial-menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px 0;
  font-size: 0.875rem;
}
.eyebrow,
.meta {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.6;
}
.eyebrow {
  color: var(--rust);
  font-weight: 600;
}
.meta {
  color: var(--muted);
}
.hero {
  padding: 62px 0 60px;
}
.hero h1 {
  max-width: 1040px;
  margin: 25px 0 35px;
  line-height: 1.03;
}
.hero h1 em {
  font-style: normal;
  color: var(--rust);
}
.hero-baseline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.positioning {
  font-size: 0.875rem;
  line-height: 1.9;
  font-weight: 500;
}
.hero-description {
  max-width: 430px;
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}
.feature {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 45px;
  align-items: center;
  border-top: 1px solid var(--ink);
  padding: 36px 0 60px;
}
.feature-image {
  overflow: hidden;
  aspect-ratio: 1.5;
  background: #e9e4d9;
}
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.feature-image:hover img {
  transform: scale(1.015);
}
.feature-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  margin: 18px 0 23px;
  line-height: 1.12;
}
.feature-copy h2 a,
.story h3 a {
  text-decoration: none;
}
.feature-copy > p {
  font-size: 0.95rem;
  color: var(--muted);
}
.text-link {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
}
.section {
  border-top: 1px solid var(--rule);
  padding: 34px 0 62px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 32px;
}
.section-heading h2 {
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.7;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 0;
}
.section-heading a {
  font-size: 0.8rem;
  color: var(--muted);
}
.stories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}
.story-image {
  display: block;
  aspect-ratio: 1.5;
  overflow: hidden;
  background: #e8e4db;
  margin-bottom: 22px;
}
.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story h3 {
  font-size: 1.85rem;
  margin: 12px 0;
}
.story p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}
.story .meta {
  margin-top: 18px;
  font-size: 0.72rem;
}
.journal-empty {
  padding: 28px 0 20px;
  max-width: 630px;
}
.journal-empty h2 {
  font-size: 2.6rem;
}
.journal-empty p {
  color: var(--muted);
}
.build-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
}
.build-section .section-intro p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 330px;
}
.project-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  border-bottom: 1px solid var(--rule);
  padding: 23px 0;
}
.project-row:first-child {
  padding-top: 0;
}
.project-row h3 {
  font-family: var(--sans);
  font-weight: 550;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  margin: 8px 0;
}
.project-row p {
  max-width: 460px;
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}
.project-row > a {
  font-size: 0.8rem;
  align-self: center;
}
.exploring {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.exploring h2 {
  font-size: 2.5rem;
}
.interests {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 35px;
}
.interests li {
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.875rem;
}
.selected-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.project-tile {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}
.project-tile h3 {
  font-size: 2.5rem;
  margin: 20px 0 15px;
}
.project-tile p {
  max-width: 470px;
  font-size: 0.95rem;
  color: var(--muted);
}
.project-visual {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  background: #e8e4d9;
  color: var(--ink);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.075em;
  font-weight: 700;
  border: 1px solid var(--rule);
}
.project-tile:nth-child(2) .project-visual {
  background: var(--ink);
  color: var(--paper);
  font-weight: 400;
  letter-spacing: -0.07em;
}
.personal-intro {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
}
.personal-intro h2 {
  font-size: 2.6rem;
}
.personal-intro p {
  font-size: 1.2rem;
  max-width: 630px;
}
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--ink);
  padding: 33px 0 25px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.footer-top p {
  font-size: 0.8rem;
  max-width: 350px;
  color: var(--muted);
  margin: 16px 0;
}
.footer-nav {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  font-size: 0.8rem;
  flex-wrap: wrap;
}
.footer-bottom {
  border-top: 1px solid var(--rule);
  padding-top: 19px;
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.72rem;
}
.archive-header,
.page-header {
  padding: 60px 0 42px;
}
.archive-header h1,
.page-header h1 {
  font-size: clamp(3.5rem, 7vw, 5.8rem);
  max-width: 950px;
  margin-top: 18px;
}
.archive-header p,
.page-header p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.1rem;
}
.archive-tools {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  border-block: 1px solid var(--rule);
  padding: 20px 0;
  margin-bottom: 38px;
}
.category-nav {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.category-nav a {
  font-size: 0.75rem;
  text-decoration: none;
}
.category-nav .active {
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 6px;
}
.search-form {
  display: flex;
  gap: 8px;
}
.search-field {
  width: 190px;
  padding: 8px 10px;
  border: 1px solid var(--rule);
  background: transparent;
  font-size: 0.85rem;
  color: var(--ink);
}
.search-submit,
.button {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  font-size: 0.8rem;
  padding: 10px 16px;
  text-decoration: none;
  display: inline-block;
}
.button:hover,
.search-submit:hover {
  background: var(--rust);
  border-color: var(--rust);
  color: #fff;
}
.archive-grid {
  row-gap: 45px;
  padding: 0 0 50px;
}
.pagination {
  display: flex;
  gap: 14px;
  padding: 35px 0;
  border-top: 1px solid var(--rule);
}
.pagination .page-numbers {
  padding: 8px 13px;
  font-size: 0.875rem;
}
.pagination .current {
  background: var(--ink);
  color: var(--paper);
}
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute !important;
  white-space: nowrap;
}
.post-header {
  padding: 56px 0 40px;
  max-width: 960px;
  margin: auto;
}
.breadcrumb {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 30px;
}
.post-header h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.06;
  margin: 20px 0 26px;
}
.post-deck {
  max-width: 750px;
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.65;
}
.post-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
  font-size: 0.75rem;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  margin-top: 30px;
  color: var(--muted);
}
.post-cover {
  margin: 0 0 54px;
}
.post-cover img {
  max-height: 650px;
  width: 100%;
  object-fit: cover;
}
.post-cover figcaption {
  font-size: 0.75rem;
  margin-top: 12px;
  color: var(--muted);
}
.entry-content {
  font-size: 1.1rem;
  line-height: 1.85;
  overflow-wrap: break-word;
}
.entry-content > *,
.entry-content .wp-block-group:not(.alignwide):not(.alignfull) {
  max-width: var(--reading);
  margin-inline: auto;
}
.entry-content > .alignwide {
  max-width: 1000px;
}
.entry-content > .alignfull {
  max-width: none;
}
.entry-content h2 {
  font-size: 2.35rem;
  margin-top: 1.7em;
  margin-bottom: 0.65em;
}
.entry-content h3 {
  font-size: 1.75rem;
  margin-top: 1.6em;
}
.entry-content h4 {
  font-family: var(--sans);
  font-size: 1.2rem;
  margin-top: 1.5em;
}
.entry-content a {
  color: var(--rust);
}
.entry-content blockquote,
.entry-content .wp-block-pullquote {
  border-left: 2px solid var(--rust);
  padding: 8px 0 8px 30px;
  margin-block: 40px;
}
.entry-content blockquote p,
.wp-block-pullquote p {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.5;
}
.entry-content cite {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: normal;
}
.entry-content figure {
  margin-block: 35px;
}
.entry-content figcaption {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.7;
}
.entry-content pre {
  background: #e9e6de;
  padding: 24px;
  overflow: auto;
  font-size: 0.8rem;
  line-height: 1.7;
  border: 1px solid var(--rule);
}
.entry-content code {
  font-size: 0.86em;
}
.entry-content table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.875rem;
  line-height: 1.7;
}
.entry-content td,
.entry-content th {
  border-bottom: 1px solid var(--rule);
  padding: 13px;
  text-align: left;
}
.wp-block-table {
  overflow-x: auto;
}
.entry-content .wp-block-columns {
  display: flex;
  gap: 28px;
}
.wp-block-column {
  flex: 1;
  min-width: 0;
}
.wp-block-gallery {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.wp-block-gallery figure {
  flex: 1;
  min-width: 220px;
}
.article-end {
  border-top: 1px solid var(--rule);
  padding-top: 32px;
  margin-top: 50px;
}
.share-links {
  display: flex;
  gap: 18px;
  font-size: 0.8rem;
  flex-wrap: wrap;
}
.author-bio {
  border-top: 1px solid var(--rule);
  padding: 30px 0;
  margin-top: 32px;
}
.author-bio h2 {
  font-size: 1.8rem;
}
.author-bio p {
  font-size: 0.875rem;
  color: var(--muted);
}
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  border-top: 1px solid var(--rule);
  padding: 25px 0 45px;
}
.post-navigation a {
  display: block;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.4rem;
}
.post-navigation .nav-next {
  text-align: right;
}
.post-navigation .meta {
  display: block;
  margin-bottom: 8px;
}
.related {
  margin-top: 30px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
  padding: 15px 0 65px;
}
.contact-note p {
  font-size: 0.95rem;
  color: var(--muted);
}
.contact-form label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 8px;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #aaa69d;
  background: transparent;
  padding: 13px;
  color: var(--ink);
}
.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}
.field {
  margin-bottom: 25px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-help {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 12px 0 20px;
}
.form-notice {
  border-left: 3px solid var(--rust);
  padding: 20px;
  background: #ece7dc;
  margin-bottom: 30px;
  font-size: 0.9rem;
}
.form-errors a {
  color: var(--ink);
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.error-page {
  min-height: 55vh;
  padding: 85px 0;
}
.error-page p {
  max-width: 550px;
  color: var(--muted);
}
.error-page h1 {
  margin: 20px 0;
}
.about-lead {
  padding-bottom: 35px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 45px;
}
.about-lead p {
  font-size: 1.4rem;
  line-height: 1.7;
}
.post-password-form input {
  padding: 10px;
}
.search-results .archive-header {
  padding-bottom: 20px;
}
@media (min-width: 1450px) {
  .hero {
    padding-top: 72px;
  }
  .hero h1 {
    font-size: 6.5rem;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .primary-nav ul {
    gap: 22px;
  }
  .feature {
    gap: 30px;
    grid-template-columns: 1.2fr 1fr;
  }
  .build-section,
  .personal-intro,
  .contact-layout {
    gap: 40px;
  }
  .stories {
    gap: 24px;
  }
  .story h3 {
    font-size: 1.6rem;
  }
  .archive-tools {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
  .search-field {
    width: 260px;
  }
  .hero h1 {
    font-size: clamp(3.4rem, 8vw, 5.5rem);
  }
  .project-visual {
    height: 185px;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    padding: 22px 0 18px;
  }
  .wordmark {
    font-size: 1.3rem;
  }
  .masthead {
    flex-wrap: wrap;
  }
  .editorial-menu-toggle {
    display: block;
  }
  .primary-nav {
    width: 100%;
    display: none;
    padding-top: 8px;
  }
  .primary-nav.is-open {
    display: block;
  }
  .primary-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .primary-nav a {
    display: block;
    padding: 11px 0;
    font-size: 0.95rem;
  }
  .hero {
    padding: 38px 0 36px;
  }
  .eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }
  .hero h1 {
    font-size: clamp(2.7rem, 10.7vw, 4rem);
    line-height: 1.08;
    margin: 24px 0 28px;
  }
  .hero-baseline {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .positioning {
    font-size: 0.8rem;
  }
  .hero-description {
    font-size: 0.9rem;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 0 40px;
  }
  .feature-copy h2 {
    font-size: 2.35rem;
    margin: 13px 0 16px;
  }
  .feature-copy > p {
    margin-bottom: 12px;
  }
  .section {
    padding: 25px 0 40px;
  }
  .section-heading {
    margin-bottom: 25px;
  }
  .section-heading h2 {
    font-size: 0.72rem;
  }
  .section-heading a {
    font-size: 0.75rem;
  }
  .stories {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .story {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rule);
  }
  .story-image {
    margin-bottom: 19px;
  }
  .story h3 {
    font-size: 1.9rem;
  }
  .build-section,
  .personal-intro,
  .contact-layout,
  .exploring {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .build-section .section-intro p {
    max-width: none;
  }
  .section-intro h2,
  .exploring h2,
  .personal-intro h2 {
    font-size: 2.2rem;
  }
  .project-row {
    gap: 20px;
  }
  .project-row > a {
    font-size: 0.75rem;
  }
  .interests {
    column-gap: 22px;
  }
  .interests li {
    font-size: 0.8rem;
  }
  .selected-projects {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .project-visual {
    height: 180px;
    font-size: 3rem;
  }
  .project-tile h3 {
    font-size: 2rem;
  }
  .personal-intro p {
    font-size: 1.1rem;
  }
  .footer-top {
    flex-direction: column;
    gap: 18px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 7px;
  }
  .site-footer {
    margin-top: 20px;
  }
  .archive-header,
  .page-header {
    padding: 39px 0 25px;
  }
  .archive-header h1,
  .page-header h1 {
    font-size: 3.3rem;
  }
  .archive-header p,
  .page-header p {
    font-size: 1rem;
  }
  .category-nav {
    gap: 10px 18px;
  }
  .category-nav a {
    line-height: 2;
  }
  .search-form {
    width: 100%;
  }
  .search-field {
    width: 100%;
    min-width: 0;
  }
  .post-header {
    padding: 36px 0 28px;
  }
  .post-header h1 {
    font-size: 2.9rem;
  }
  .post-deck {
    font-size: 1.1rem;
  }
  .post-byline {
    gap: 8px 18px;
  }
  .post-cover {
    margin-bottom: 32px;
  }
  .entry-content {
    font-size: 1.05rem;
    line-height: 1.85;
  }
  .entry-content h2 {
    font-size: 1.95rem;
  }
  .entry-content .wp-block-columns {
    flex-direction: column;
  }
  .entry-content blockquote p {
    font-size: 1.45rem;
  }
  .post-navigation a {
    font-size: 1.2rem;
  }
  .contact-layout {
    padding-top: 0;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .about-lead p {
    font-size: 1.2rem;
  }
  .journal-empty h2 {
    font-size: 2.2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Accessible text variant; the supplied rust remains the display/accent colour. */
:root {
  --rust-text: #955137;
}
.eyebrow,
.category-nav .active,
.entry-content a {
  color: var(--rust-text);
}
.wordmark {
  word-spacing: 0.1em;
  letter-spacing: -0.05em;
}
.project-tile > a,
.project-tile h3 a {
  text-decoration: none;
}
.post-navigation .nav-links {
  display: contents;
}
.post-navigation .nav-previous {
  grid-column: 1;
}
.post-navigation .nav-next {
  grid-column: 2;
}
@view-transition {
  navigation: none;
}
