:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-soft: #f0eee8;
  --surface-strong: #e8e5dd;
  --ink: #172022;
  --muted: #687173;
  --line: #deddd7;
  --coral: #f15d42;
  --coral-dark: #c7412b;
  --coral-soft: #fff0ec;
  --green: #247a66;
  --green-soft: #e6f4f0;
  --blue: #356ea9;
  --blue-soft: #eaf3fb;
  --amber: #a16b18;
  --amber-soft: #fbf2dc;
  --navy: #152d32;
  --navy-deep: #102429;
  --shadow: 0 18px 45px rgba(25, 41, 43, 0.09);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --container: 1220px;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #111b1d;
  --surface: #172528;
  --surface-soft: #1c2c2f;
  --surface-strong: #26383b;
  --ink: #f5f3ed;
  --muted: #a5b1b2;
  --line: #304144;
  --coral-soft: #3a2927;
  --green-soft: #1d3d38;
  --blue-soft: #1e3545;
  --amber-soft: #3b3324;
  --navy: #0c1719;
  --navy-deep: #071012;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  transition: background-color 180ms ease, color 180ms ease;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.3rem, 4vw, 4.4rem);
}

h2 {
  font-size: clamp(1.7rem, 2.3vw, 2.5rem);
}

h3 {
  font-size: 1.28rem;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.container.narrow {
  width: min(calc(100% - 40px), 860px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 14px;
  padding: 9px 14px;
  color: #fff;
  background: var(--coral);
  border-radius: 8px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.utility-bar {
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-deep);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.utility-inner,
.utility-links {
  display: flex;
  align-items: center;
}

.utility-inner {
  min-height: 34px;
  justify-content: space-between;
  gap: 20px;
}

.utility-inner p {
  margin: 0;
}

.utility-links {
  gap: 18px;
}

.utility-links a {
  transition: color 180ms ease;
}

.utility-links a:hover {
  color: #fff;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  background: #55d39b;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(85, 211, 155, 0.14);
}

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  background: color-mix(in srgb, var(--bg) 93%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  background: transparent;
  border-radius: 13px;
  box-shadow: 0 7px 18px rgba(12, 44, 50, 0.14);
  overflow: hidden;
  place-items: center;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: grid;
  line-height: 1.12;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 1.02rem;
  letter-spacing: -0.04em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  background: var(--coral);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 180ms ease, transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--ink);
}

.desktop-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.icon-button,
.search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.icon-button:hover,
.search-button:hover {
  color: var(--coral);
  border-color: var(--coral);
}

.icon-button:active,
.search-button:active {
  transform: translateY(1px);
}

.icon-button {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

[data-theme="dark"] .sun-icon,
.moon-icon {
  display: none;
}

[data-theme="dark"] .moon-icon {
  display: block;
}

.search-button {
  gap: 9px;
  height: 42px;
  padding: 0 10px 0 14px;
  border-radius: 24px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.search-button svg {
  width: 16px;
  height: 16px;
}

kbd {
  padding: 2px 6px;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.62rem;
}

.mobile-only {
  display: none;
}

.ticker {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.ticker-inner {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
}

.ticker-label {
  padding: 4px 8px;
  color: #fff;
  background: var(--coral);
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker p {
  margin: 0;
  color: var(--muted);
}

.ticker a {
  margin-left: auto;
  color: var(--ink);
  font-weight: 700;
}

.section-pad {
  padding-block: 72px;
}

.section-kicker-row,
.section-heading,
.sidebar-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.section-kicker-row {
  margin-bottom: 18px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow span {
  width: 24px;
  height: 2px;
  background: currentColor;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.72);
}

.date-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(310px, 0.88fr);
  gap: 18px;
}

.hero-feature,
.side-story,
.post-card,
.profile-card,
.popular-card,
.prose-card,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.hero-feature {
  position: relative;
  min-height: 545px;
  overflow: hidden;
}

.feature-image-wrap,
.feature-image {
  width: 100%;
  height: 100%;
}

.feature-image-wrap {
  display: block;
}

.feature-image,
.story-image-wrap img,
.card-image-wrap img,
.list-image img {
  object-fit: cover;
  transition: transform 450ms ease;
}

.hero-feature:hover .feature-image,
.side-story:hover .story-image-wrap img,
.post-card:hover .card-image-wrap img,
.list-post:hover .list-image img {
  transform: scale(1.04);
}

.feature-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 100px 34px 30px;
  color: #fff;
  background: linear-gradient(transparent, rgba(7, 17, 19, 0.92));
}

.feature-content h1 {
  max-width: 770px;
  margin: 14px 0 12px;
  color: #fff;
  font-size: clamp(2.05rem, 3.8vw, 3.7rem);
}

.feature-content p {
  max-width: 680px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.feature-content .article-meta {
  color: rgba(255, 255, 255, 0.7);
}

.category-pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 20px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pill-coral {
  color: var(--coral-dark);
  background: var(--coral-soft);
}

.pill-blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.pill-green {
  color: var(--green);
  background: var(--green-soft);
}

.hero-side {
  display: grid;
  grid-template-rows: 1.12fr 0.88fr;
  gap: 18px;
}

.side-story {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.side-story > div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 65px 22px 20px;
  color: #fff;
  background: linear-gradient(transparent, rgba(7, 17, 19, 0.9));
}

.story-image-wrap,
.story-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
}

.side-story h2 {
  margin: 10px 0 10px;
  color: #fff;
  font-size: 1.4rem;
}

.side-story .article-meta {
  color: rgba(255, 255, 255, 0.68);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
}

.article-meta > * + *::before {
  margin-right: 11px;
  color: var(--coral);
  content: "•";
}

.topic-strip {
  padding-block: 20px;
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.topic-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: background-color 180ms ease, transform 180ms ease;
}

.topic-card:hover {
  background: var(--surface-soft);
  transform: translateY(-2px);
}

.topic-card span:nth-child(2) {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.topic-card strong {
  font-size: 0.82rem;
}

.topic-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
}

.topic-card b {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.72rem;
}

.topic-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  border-radius: 12px;
  place-items: center;
}

.topic-icon svg {
  width: 19px;
  height: 19px;
}

.topic-icon.coral {
  color: var(--coral);
  background: var(--coral-soft);
}

.topic-icon.green {
  color: var(--green);
  background: var(--green-soft);
}

.topic-icon.blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.topic-icon.amber {
  color: var(--amber);
  background: var(--amber-soft);
}

.section-heading {
  margin-bottom: 25px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading.compact {
  margin-bottom: 18px;
}

.text-link {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 700;
}

.text-link span {
  display: inline-block;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.card-grid {
  display: grid;
  gap: 18px;
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card {
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.post-card:hover {
  border-color: color-mix(in srgb, var(--coral) 45%, var(--line));
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.card-image-wrap {
  display: block;
  height: 210px;
  overflow: hidden;
  background: var(--surface-soft);
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  margin: 12px 0 9px;
}

.card-body p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.latest-section {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
}

.content-sidebar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
}

.article-list {
  display: grid;
  gap: 15px;
}

.list-post {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.list-post:hover {
  border-color: color-mix(in srgb, var(--coral) 45%, var(--line));
  box-shadow: var(--shadow);
}

.list-image {
  display: block;
  height: 155px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.list-image img {
  width: 100%;
  height: 100%;
}

.list-post h3 {
  margin: 9px 0 6px;
}

.list-post p {
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.outline-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 24px;
  font-size: 0.78rem;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.outline-button {
  margin-top: 17px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
}

.outline-button:hover {
  color: var(--coral);
  background: var(--surface);
  border-color: var(--coral);
}

.primary-button {
  color: #fff;
  background: var(--coral);
  border: 1px solid var(--coral);
}

.primary-button:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
}

.full-width {
  width: 100%;
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 17px;
}

.profile-card,
.popular-card {
  padding: 22px;
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.profile-card h2 {
  margin: 0;
  font-size: 1.35rem;
}

.profile-card p {
  color: var(--muted);
  font-size: 0.82rem;
}

.profile-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #d7a64e);
  border-radius: 50%;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  place-items: center;
}

.profile-avatar.small {
  width: 44px;
  height: 44px;
  font-size: 0.74rem;
}

.profile-avatar.extra-large {
  width: 150px;
  height: 150px;
  margin-inline: auto;
  font-size: 2.2rem;
}

.newsletter-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
  border-radius: var(--radius-lg);
}

.newsletter-card::after {
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: 110px;
  height: 110px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  content: "";
}

.newsletter-card h2 {
  color: #fff;
  font-size: 1.5rem;
}

.newsletter-card p {
  font-size: 0.82rem;
}

.newsletter-card small {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.64rem;
}

.mini-icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 17px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  place-items: center;
}

.mini-icon svg {
  width: 17px;
  height: 17px;
}

.newsletter-form {
  display: flex;
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
}

.newsletter-form input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 2px 0 15px;
  color: #172022;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 0.78rem;
}

.newsletter-form button {
  display: grid;
  width: 44px;
  flex-shrink: 0;
  color: #fff;
  background: var(--coral);
  border: 4px solid #fff;
  border-radius: 50%;
  place-items: center;
}

.newsletter-form button svg {
  width: 16px;
  height: 16px;
}

.popular-card h2 {
  margin: 0;
  font-size: 1.4rem;
}

.sidebar-title-row svg {
  color: var(--coral);
}

.popular-list {
  padding: 0;
  margin: 17px 0 0;
  list-style: none;
}

.popular-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 9px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
}

.popular-list span {
  color: var(--coral);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
}

.popular-list a {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
  transition: color 180ms ease;
}

.popular-list a:hover {
  color: var(--coral);
}

.site-footer {
  padding-top: 54px;
  color: rgba(255, 255, 255, 0.64);
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 0.65fr);
  gap: 44px;
  padding-bottom: 42px;
}

.footer-brand .brand-copy strong {
  color: #fff;
}

.footer-brand .brand-copy small {
  color: rgba(255, 255, 255, 0.46);
}

.footer-intro {
  max-width: 430px;
  margin: 19px 0 0;
  font-size: 0.82rem;
}

.footer-grid h2 {
  margin-bottom: 14px;
  color: #fff;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) a {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  transition: color 180ms ease;
}

.footer-grid > div:not(:first-child) a:hover,
.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom.standalone {
  margin-top: 0;
}

.mobile-panel,
.panel-backdrop {
  display: none;
}

.search-modal {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  padding: 80px 20px;
  background: rgba(3, 11, 13, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  place-items: start center;
}

.search-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.search-dialog {
  width: min(100%, 680px);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transform: translateY(-14px);
  transition: transform 180ms ease;
}

.search-modal.open .search-dialog {
  transform: translateY(0);
}

.search-head {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
}

.search-head svg {
  flex-shrink: 0;
  color: var(--coral);
}

.search-head input {
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.search-head button {
  padding: 5px 8px;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.7rem;
}

.search-body {
  min-height: 126px;
  max-height: min(480px, 70vh);
  padding: 17px;
  overflow-y: auto;
}

.search-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.search-results {
  display: grid;
  gap: 8px;
}

.search-result {
  display: block;
  padding: 12px;
  border-radius: 10px;
  transition: background-color 180ms ease;
}

.search-result:hover {
  background: var(--surface-soft);
}

.search-result small {
  color: var(--coral);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-result strong {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
}

.back-top {
  position: fixed;
  z-index: 70;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--coral);
  border: 0;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  place-items: center;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-top svg {
  width: 18px;
  height: 18px;
}

.page-hero {
  padding: 92px 0 76px;
  background:
    radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--coral) 18%, transparent), transparent 22%),
    var(--surface);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.page-hero .eyebrow {
  justify-content: center;
}

.page-hero h1 {
  max-width: 780px;
  margin: 0 auto 13px;
}

.page-hero p:last-child {
  max-width: 690px;
  margin: 0 auto;
  color: var(--muted);
}

.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.archive-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pills button {
  padding: 8px 13px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 700;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.filter-pills button:hover,
.filter-pills button.active {
  color: #fff;
  background: var(--coral);
  border-color: var(--coral);
}

.archive-grid .post-card[hidden] {
  display: none;
}

.about-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
  gap: 34px;
}

.about-portrait {
  padding: 30px 20px;
  background: var(--navy);
  border-radius: var(--radius-xl);
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.about-portrait p {
  margin: 18px 0 0;
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.4rem;
}

.about-portrait small {
  font-size: 0.72rem;
}

.prose-card {
  padding: clamp(25px, 4vw, 48px);
}

.prose-card > p {
  color: var(--muted);
}

.about-topics {
  display: grid;
  gap: 12px;
  margin: 20px 0 28px;
}

.about-topics div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0 10px;
  padding: 15px;
  background: var(--surface-soft);
  border-radius: var(--radius-md);
}

.about-topics span {
  grid-row: span 2;
  color: var(--coral);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.about-topics strong {
  font-size: 0.9rem;
}

.about-topics p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
}

.contact-info {
  padding: 12px 10px 0 0;
}

.contact-info > p:not(.eyebrow) {
  color: var(--muted);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.contact-detail svg {
  color: var(--coral);
}

.contact-detail div {
  display: grid;
}

.contact-detail small {
  color: var(--muted);
  font-size: 0.7rem;
}

.contact-detail a {
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 14px;
  padding: 25px;
}

.contact-form label {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  font-size: 0.82rem;
  transition: border-color 180ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--coral);
}

.contact-form textarea,
.contact-form label[for="message"],
.contact-form .primary-button,
.form-status {
  grid-column: 1 / -1;
}

.contact-form .primary-button {
  margin-top: 9px;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--green);
  font-size: 0.78rem;
}

.reading-progress {
  position: fixed;
  z-index: 500;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--coral);
}

.article-hero {
  padding: 72px 0 46px;
  background: var(--surface);
  text-align: center;
}

.article-hero-inner {
  width: min(calc(100% - 40px), 890px);
}

.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.72rem;
}

.article-breadcrumb b {
  color: var(--coral);
}

.article-hero h1 {
  margin: 15px auto 12px;
}

.article-lead {
  max-width: 740px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.04rem;
}

.article-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 25px;
  text-align: left;
}

.article-author strong {
  font-size: 0.82rem;
}

.article-author p {
  display: flex;
  gap: 6px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.article-cover {
  max-width: 1170px;
  margin-top: 30px;
}

.article-cover img {
  width: 100%;
  max-height: 570px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.article-layout {
  display: grid;
  grid-template-columns: 62px minmax(0, 700px) minmax(220px, 1fr);
  gap: 36px;
  justify-content: center;
  padding-block: 58px;
}

.share-rail {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 10px;
}

.share-rail > span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.share-rail a,
.share-rail button {
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  place-items: center;
  transition: color 180ms ease, border-color 180ms ease;
}

.share-rail a:hover,
.share-rail button:hover {
  color: var(--coral);
  border-color: var(--coral);
}

.share-rail svg {
  width: 15px;
  height: 15px;
}

.article-body {
  color: color-mix(in srgb, var(--ink) 89%, var(--muted));
  font-size: 1.02rem;
  line-height: 1.86;
}

.article-body p {
  margin-bottom: 22px;
}

.article-body h2 {
  margin: 42px 0 14px;
}

.article-body li {
  margin-bottom: 7px;
}

.article-body blockquote {
  margin: 28px 0;
  padding: 21px 23px;
  color: var(--ink);
  background: var(--surface);
  border-left: 4px solid var(--coral);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.23rem;
  line-height: 1.55;
}

.article-toc,
.article-note {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.article-toc {
  display: grid;
  gap: 5px;
  margin: 27px 0;
}

.article-toc strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.18rem;
}

.article-toc a {
  color: var(--muted);
  font-size: 0.84rem;
  transition: color 180ms ease;
}

.article-toc a:hover {
  color: var(--coral);
}

.article-note {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  margin: 25px 0;
  background: var(--green-soft);
  border-color: color-mix(in srgb, var(--green) 28%, var(--line));
}

.article-note svg {
  color: var(--green);
}

.article-note p {
  margin: 0;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.6;
}

.article-aside {
  align-self: start;
}

.article-aside .profile-card {
  position: sticky;
  top: 108px;
}

.article-aside .profile-avatar {
  margin-bottom: 12px;
}

.related-section {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
}

.compact-card .card-image-wrap {
  height: 175px;
}

.compact-card .card-body {
  padding: 16px;
}

.compact-card h3 {
  margin-top: 0;
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 17px;
  }

  .content-sidebar-grid {
    grid-template-columns: minmax(0, 1fr) 305px;
    gap: 22px;
  }

  .article-layout {
    grid-template-columns: 48px minmax(0, 700px);
  }

  .article-aside {
    display: none;
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .mobile-only {
    display: inline-flex;
  }

  .header-inner {
    min-height: 70px;
    gap: 12px;
  }

  .header-inner .brand {
    margin-right: auto;
  }

  .header-actions {
    margin-left: auto;
  }

  .search-button {
    width: 42px;
    padding: 0;
    border-radius: 50%;
  }

  .search-button span,
  .search-button kbd {
    display: none;
  }

  .mobile-panel {
    position: fixed;
    z-index: 220;
    top: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: min(86vw, 340px);
    padding: 18px;
    background: var(--surface);
    border-right: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateX(-105%);
    transition: transform 220ms ease;
  }

  .mobile-panel.open {
    transform: translateX(0);
  }

  .mobile-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav {
    display: grid;
    gap: 3px;
    padding-top: 17px;
  }

  .mobile-nav a {
    padding: 11px 12px;
    color: var(--muted);
    border-radius: 9px;
    font-size: 0.86rem;
    font-weight: 700;
  }

  .mobile-nav a:hover,
  .mobile-nav a.active {
    color: var(--coral);
    background: var(--coral-soft);
  }

  .mobile-nav button {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 11px 12px;
    color: var(--muted);
    background: var(--surface-soft);
    border: 0;
    border-radius: 9px;
    font-size: 0.86rem;
    font-weight: 700;
    text-align: left;
  }

  .mobile-nav button svg {
    width: 16px;
    height: 16px;
  }

  .panel-backdrop {
    position: fixed;
    z-index: 210;
    inset: 0;
    display: block;
    background: rgba(3, 11, 13, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .panel-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-feature {
    min-height: 470px;
  }

  .hero-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .side-story {
    min-height: 260px;
  }

  .topic-grid {
    grid-template-columns: 1fr 1fr;
  }

  .content-sidebar-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .popular-card {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.6fr 0.6fr;
  }

  .footer-grid > div:last-child {
    display: none;
  }

  .article-layout {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .share-rail {
    display: flex;
  }

  .share-rail > span {
    align-self: center;
    margin: 0 5px 0 0;
    writing-mode: horizontal-tb;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container,
  .container.narrow,
  .article-hero-inner {
    width: min(calc(100% - 28px), var(--container));
  }

  .utility-links {
    display: none;
  }

  .brand-copy small {
    display: none;
  }

  .section-pad {
    padding-block: 48px;
  }

  .ticker-inner {
    gap: 9px;
  }

  .ticker p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ticker a {
    display: none;
  }

  .hero-feature {
    min-height: 455px;
  }

  .feature-content {
    padding: 90px 20px 21px;
  }

  .feature-content h1 {
    font-size: 2.2rem;
  }

  .feature-content p {
    font-size: 0.84rem;
  }

  .hero-side {
    grid-template-columns: 1fr;
  }

  .side-story {
    min-height: 230px;
  }

  .topic-grid,
  .three-col,
  .sidebar,
  .about-layout,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .topic-strip {
    padding-block: 10px;
  }

  .topic-card {
    padding-block: 8px;
  }

  .topic-icon {
    width: 39px;
    height: 39px;
  }

  .section-heading {
    align-items: end;
  }

  .section-heading .text-link {
    flex-shrink: 0;
  }

  .list-post {
    grid-template-columns: 1fr;
  }

  .list-image {
    height: 185px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: block;
    padding-block: 15px;
  }

  .footer-bottom p + p {
    margin-top: 3px;
  }

  .page-hero {
    padding: 66px 0 58px;
  }

  .page-hero h1 {
    font-size: 2.45rem;
  }

  .archive-toolbar {
    display: block;
  }

  .archive-toolbar p {
    margin-top: 12px;
  }

  .about-portrait {
    padding: 24px;
  }

  .profile-avatar.extra-large {
    width: 116px;
    height: 116px;
    font-size: 1.8rem;
  }

  .contact-form label,
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    grid-column: 1 / -1;
  }

  .article-hero {
    padding: 52px 0 30px;
  }

  .article-hero h1 {
    font-size: 2.42rem;
  }

  .article-lead {
    font-size: 0.94rem;
  }

  .article-cover {
    width: 100%;
    margin-top: 0;
  }

  .article-cover img {
    height: 270px;
    border-radius: 0;
  }

  .article-layout {
    gap: 23px;
    padding-block: 27px 43px;
  }

  .article-body {
    font-size: 0.96rem;
  }

  .article-body h2 {
    margin-top: 34px;
  }

  .article-body blockquote {
    font-size: 1.1rem;
  }
}

@media (max-width: 440px) {
  .header-actions {
    display: none;
  }
}
