@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
  --night: #021536;
  --night-2: #071C39;
  --deep: #092343;
  --cream: #EEEAE4;
  --beige: #DACAB6;
  --gold: #C9972D;
  --ink-soft: #5b6068;
  --ink: #11151d;
  --white: #FDFDFD;
  --social-icon-size: 44px;
}

* { box-sizing: border-box; }
[x-cloak] { display: none !important; }
body {
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
}

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

.container { width: min(1520px, 86vw); margin: 0 auto; }
.section { padding: 3.8rem 0; }
.section-tight { padding-top: 2.6rem; padding-bottom: 1.4rem; }

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.07;
  color: #0f141d;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: var(--cream);
  border-bottom: 1px solid rgba(2, 21, 54, 0.08);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--night);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.social-links {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.7rem;
  justify-self: end;
}

.social-icon-link {
  width: var(--social-icon-size);
  height: var(--social-icon-size);
  min-width: var(--social-icon-size);
  min-height: var(--social-icon-size);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff1f0;
  border: 1px solid #ffd0cc;
}

.social-icon-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.yt-icon-link {
  background: #fff1f0;
  border: 1px solid #ffd0cc;
  color: #ff2a20;
}

.wa-icon-link {
  background: #ffffff;
  border: 1px solid #d7dbe2;
  color: #000000;
}

.mobile-btn { display: none; }

.list-header h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6.5vw, 6.8rem);
  max-width: 16ch;
}

.list-header p {
  margin-top: 0.8rem;
  font-size: clamp(1.2rem, 1.9vw, 2rem);
  color: var(--ink-soft);
  max-width: 33ch;
}

.home-subtitle { max-width: 44ch !important; }

.minimal-filters {
  margin-top: 2.2rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

input, select, textarea {
  font: inherit;
  border: 1px solid rgba(2, 21, 54, 0.18);
  background: #f5f2ec;
  border-radius: 999px;
  padding: 0.8rem 1rem;
}

input[type='search'] { width: min(420px, 100%); }

.btn-minimal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(2, 21, 54, 0.18);
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  background: transparent;
  color: var(--night);
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.btn-minimal:hover {
  background: #f0ece4;
  border-color: rgba(2, 21, 54, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(2, 21, 54, 0.08);
}

.category-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-width: 300px;
  padding-right: 2.6rem;
  cursor: pointer;
  background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23021536' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E\");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
}

.section-list-stream {
  display: grid;
  gap: 5.4rem;
}

.stream-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4.6rem;
}

.stream-item-reverse .stream-copy { order: 1; }
.stream-item-reverse .stream-media { order: 0; }

.stream-copy h2 {
  margin: 0.1rem 0 0.5rem;
  font-size: clamp(2.2rem, 5.2vw, 5.4rem);
  max-width: min(20ch, 100%);
  line-height: 1.07;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.stream-category {
  margin: 0;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.stream-excerpt {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.45vw, 1.6rem);
  max-width: 36ch;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.stream-meta {
  margin-top: 0.95rem;
  color: #9ca1a9;
  font-size: 1rem;
}

.stream-media {
  min-height: 520px;
}

.stream-copy {
  min-width: 0;
}

.stream-media img,
.media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 2px;
}

.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: var(--night);
  background: linear-gradient(160deg, #e4ddd2, #d6cab6);
}

.article-layout {
  padding-top: 2.8rem;
  padding-bottom: 6rem;
}

.article-hero {
  max-width: 1400px;
}

.article-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 700;
}

.article-hero h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(2.7rem, 7.4vw, 8rem);
  max-width: min(15ch, 100%);
  line-height: 1.04;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

@supports (text-wrap: balance) {
  .stream-copy h2,
  .article-hero h1 {
    text-wrap: balance;
  }
}

.article-meta {
  margin-top: 0.95rem;
  color: #a3a7ae;
  font-size: 1rem;
}

.article-cover-wrap {
  margin: 2.4rem 0 3.8rem;
}

.article-cover {
  width: min(1400px, 100%);
  max-height: 980px;
  object-fit: cover;
}

.article-prose {
  width: min(900px, 100%);
  margin: 0 auto;
}

.prose p,
.prose li {
  font-size: clamp(1.3rem, 1.7vw, 1.85rem);
  line-height: 1.58;
  color: #1f252d;
  margin: 0 0 1.8rem;
}

.prose a {
  color: var(--deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.prose h2,
.prose h3 {
  margin-top: 2.5rem;
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.prose img {
  width: min(700px, 100%);
  margin: 2.7rem auto;
}

.prose .section-heading {
  margin: 2.8rem 0 1.2rem;
  font-size: clamp(2.1rem, 3.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.14;
}

.prose img.richtext-image.left,
.prose img.left {
  float: left;
  width: min(380px, 45%);
  margin: 0.4rem 1.3rem 1rem 0;
}

.prose img.richtext-image.right,
.prose img.right {
  float: right;
  width: min(380px, 45%);
  margin: 0.4rem 0 1rem 1.3rem;
}

.prose::after {
  content: "";
  display: block;
  clear: both;
}

.image-text {
  width: min(1040px, 100%);
  margin: 2rem auto;
  display: grid;
  gap: 1.8rem;
  align-items: start;
  grid-template-columns: 1fr minmax(280px, 42%);
}

.image-text--size-sm {
  grid-template-columns: 1fr minmax(220px, 30%);
}

.image-text--size-md {
  grid-template-columns: 1fr minmax(280px, 42%);
}

.image-text--size-lg {
  grid-template-columns: 1fr minmax(340px, 50%);
}

.image-text--left {
  grid-template-columns: minmax(280px, 42%) 1fr;
}

.image-text--left.image-text--size-sm {
  grid-template-columns: minmax(220px, 30%) 1fr;
}

.image-text--left.image-text--size-md {
  grid-template-columns: minmax(280px, 42%) 1fr;
}

.image-text--left.image-text--size-lg {
  grid-template-columns: minmax(340px, 50%) 1fr;
}

.image-text--left .image-text__media { order: 0; }
.image-text--left .image-text__copy { order: 1; }

.image-text__media { margin: 0; }

.image-text__media img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.image-text__copy :is(p, li) {
  font-size: clamp(1.2rem, 1.45vw, 1.65rem);
}

.prose blockquote {
  margin: 2rem 0;
  padding-left: 1.2rem;
  border-left: 4px solid var(--gold);
  color: #5a606a;
}

.video-wrap {
  width: min(860px, 100%);
  margin: 1.1rem auto 2.2rem;
}

.video-wrap iframe {
  width: 100%;
  min-height: 430px;
  border: 0;
}

.article-video-end {
  margin: 2.5rem 0 0.5rem;
}

.article-related {
  width: min(900px, 100%);
  margin: 4rem auto 0;
}

.related-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(2, 21, 54, 0.14);
  padding: 0.9rem 0;
  gap: 1rem;
}

.related-row a { font-weight: 600; }
.related-row span { color: #979ca4; }

.post-nav {
  margin-top: 5.4rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.post-nav a:first-child { justify-self: start; font-weight: 700; font-size: 3rem; }
.post-nav a:last-child { justify-self: end; font-weight: 700; font-size: 3rem; }

.share-wrap {
  position: relative;
  display: inline-flex;
  justify-content: center;
}

.share-trigger {
  border: 1px solid rgba(2, 21, 54, 0.18);
  background: #f5f2ec;
  color: var(--night);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  cursor: pointer;
  font: inherit;
}

.share-trigger svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.share-actions {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  background: #f5f2ec;
  border: 1px solid rgba(2, 21, 54, 0.12);
  border-radius: 999px;
  padding: 0.35rem;
  z-index: 25;
}

.share-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(2, 21, 54, 0.15);
  background: #fff;
}

.share-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.share-icon.facebook { color: #1877f2; }
.share-icon.whatsapp { color: #25d366; }
.share-icon.linkedin { color: #0a66c2; }

.share-icon:hover {
  transform: translateY(-1px);
}

.share-icon.whatsapp svg {
  width: 16px;
  height: 16px;
}

.pager {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #868b94;
}

.pager div:nth-child(1) { justify-self: start; }
.pager div:nth-child(2) { justify-self: center; }
.pager div:nth-child(3) { justify-self: end; }
.pager a { color: var(--night); font-weight: 700; }

.site-footer {
  margin-top: 5rem;
  border-top: 1px solid rgba(2, 21, 54, 0.08);
  padding: 3.2rem 0 4.2rem;
}

.foot-minimal {
  text-align: center;
  color: #959aa3;
}

.foot-minimal strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #848993;
  font-family: 'Outfit', sans-serif;
}

.about-section { max-width: 1220px; }

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.4rem;
  align-items: start;
}

.about-content h1 { margin-top: 0; }

.about-photo-wrap {
  margin: 0;
  justify-self: end;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.about-photo {
  width: min(460px, 100%);
  border-radius: 14px;
  border: 0;
  box-shadow: none;
}

.about-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--cream) 0%, rgba(238, 234, 228, 0) 12%),
    linear-gradient(to top, var(--cream) 0%, rgba(238, 234, 228, 0) 12%),
    linear-gradient(to right, var(--cream) 0%, rgba(238, 234, 228, 0) 12%),
    linear-gradient(to left, var(--cream) 0%, rgba(238, 234, 228, 0) 12%);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid rgba(2, 21, 54, 0.13);
  padding: 1rem;
}

.alert {
  background: #e8f5e9;
  border: 1px solid #9ccc9f;
  padding: 0.8rem;
  border-radius: 6px;
}

@media (max-width: 1200px) {
  nav { font-size: 1.2rem; gap: 1rem; }
  .stream-item { grid-template-columns: 1fr; gap: 1.9rem; }
  .stream-item-reverse .stream-copy,
  .stream-item-reverse .stream-media { order: unset; }
  .stream-copy h2 { max-width: 100%; }
  .stream-media,
  .stream-media img,
  .media-placeholder { min-height: 380px; }
}

@media (max-width: 860px) {
  .container { width: min(1300px, 92vw); }
  .nav-wrap { grid-template-columns: 1fr auto; }
  .logo { grid-column: 1; grid-row: 1; }
  .mobile-btn { grid-column: 2; grid-row: 1; }
  .social-links {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    width: fit-content;
    margin-inline: auto;
    justify-content: center;
    justify-self: center;
    margin-top: 0.75rem;
  }
  .social-links .social-icon-link {
    display: inline-flex;
  }
  .social-links .yt-icon-link,
  .social-links .wa-icon-link {
    display: inline-flex;
  }
  .mobile-btn {
    display: inline-flex;
    justify-self: end;
    background: transparent;
    border: 1px solid rgba(2, 21, 54, 0.2);
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
    color: var(--night);
  }
  nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 3;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0.8rem;
    font-size: 1rem;
    gap: 0.7rem;
  }
  nav.open { display: flex; }
  .list-header p { font-size: 1.05rem; }
  .minimal-filters { flex-direction: column; align-items: stretch; }
  .article-prose { width: 100%; }
  .prose p, .prose li { font-size: 1.25rem; }
  .post-nav { grid-template-columns: 1fr; text-align: center; }
  .post-nav a:first-child, .post-nav a:last-child { justify-self: center; font-size: 1.5rem; }
  .share-wrap { justify-self: center; }
  .share-actions { left: 50%; transform: translateX(-50%); }
  .home-subtitle { max-width: 44ch !important; }
  .about-layout { grid-template-columns: 1fr; }
  .about-photo-wrap { justify-self: start; margin-top: 0.8rem; }
  .image-text,
  .image-text--left { grid-template-columns: 1fr; }
  .image-text--left .image-text__media,
  .image-text--left .image-text__copy { order: initial; }
}
