/* Codex — Ghost theme matching dorly.com.br design system */

:root {
  --amber: #C8943A;
  --amber-dim: rgba(200,148,58,0.55);
  --parchment: #E8D5A3;
  --cream: #F5ECD7;
  --bg-dark: #0D0B07;
  --bg-panel: #110F0A;
  --bg-root: #1A1208;
  --bg-page: #100b04;
  --verdigris: #3B8C7E;
  --radius: 0.25rem;
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-root);
  color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--parchment); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--cream);
  margin: 0 0 0.6em;
}

.font-serif-title { font-family: var(--font-serif); }
.font-mono-meta { font-family: var(--font-mono); }

/* Atmosphere */
.cinematic-root { background: var(--bg-root); color: var(--cream); min-height: 100vh; position: relative; }
.cine-film-grain::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cine-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  background: radial-gradient(circle at center, transparent 55%, rgba(0,0,0,0.35) 100%);
}

/* Header / footer */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(16, 11, 4, 0.94);
  border-bottom: 1px solid rgba(200,148,58,0.18);
}
.site-header__inner {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.site-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(200,148,58,0.45);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.site-logo__text { font-weight: 500; }
.site-logo img { height: 28px; width: auto; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
}
.site-nav .nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav .nav li { margin: 0; padding: 0; list-style: none; }
.site-nav a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,236,215,0.88);
  transition: color 0.25s ease;
}
.site-nav a:hover,
.site-nav .nav-current a,
.site-nav__external { color: var(--amber); }
.site-nav__external {
  padding-left: 18px;
  border-left: 1px solid rgba(200,148,58,0.28);
}

.site-footer {
  border-top: 1px solid rgba(200,148,58,0.14);
  margin-top: 0;
  padding: 56px 0 64px;
  background:
    linear-gradient(180deg, transparent, rgba(200,148,58,0.04)),
    var(--bg-page);
}
.site-footer__inner {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}
.site-footer__title {
  font-size: 28px;
  margin: 0 0 8px;
  color: var(--cream);
}
.site-footer__brand p:last-child {
  margin: 0;
  max-width: 36rem;
  opacity: 0.7;
  line-height: 1.7;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.site-footer__links a {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,236,215,0.65);
}
.site-footer__links a:hover { color: var(--amber); }
.site-footer__copy {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.45;
}

/* ── Home stage ───────────────────────────────────────────────────────────── */
.home-template .site-main { overflow: hidden; }
.home-stage {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 12% 18%, rgba(200,148,58,0.14), transparent 55%),
    radial-gradient(ellipse 55% 40% at 88% 8%, rgba(59,140,126,0.08), transparent 50%),
    var(--bg-page);
  padding: 28px 0 96px;
}
.home-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.home-orb--a {
  width: 420px;
  height: 420px;
  top: 8%;
  right: -6%;
  background: rgba(200,148,58,0.16);
  animation: home-float 14s ease-in-out infinite alternate;
}
.home-orb--b {
  width: 280px;
  height: 280px;
  top: 42%;
  left: -8%;
  background: rgba(59,140,126,0.1);
  animation: home-float 18s ease-in-out infinite alternate-reverse;
}
@keyframes home-float {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(28px) scale(1.06); }
}

.home-hero,
.home-feature,
.home-feed {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1180px);
  margin-left: auto;
  margin-right: auto;
}

.home-hero {
  padding: 72px 0 64px;
  max-width: min(100% - 48px, 980px);
  margin-right: auto;
  margin-left: max(24px, calc((100% - 1180px) / 2 + 24px));
}
.home-hero__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
}
.home-hero__rule {
  display: block;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
}
.home-hero__brand {
  margin: 0 0 18px;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--parchment);
}
.home-hero__title {
  margin: 0 0 28px;
  font-size: clamp(42px, 7.4vw, 92px);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.home-hero__title em {
  font-style: italic;
  color: var(--amber);
  font-weight: 400;
}
.home-hero__lede {
  margin: 0 0 36px;
  max-width: 34rem;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.75;
  opacity: 0.9;
}
.home-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,236,215,0.72);
}
.home-hero__meta a { color: var(--amber); }

.home-feature {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 0;
  margin-top: 12px;
  margin-bottom: 72px;
  border: 1px solid rgba(200,148,58,0.22);
  background: rgba(26,18,8,0.55);
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.45s var(--ease);
}
.home-feature:hover {
  border-color: rgba(200,148,58,0.45);
  transform: translateY(-3px);
}
.home-feature__media {
  display: block;
  min-height: 100%;
  background: #0a0805;
}
.home-feature__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 0.7s var(--ease), filter 0.4s ease;
}
.home-feature:hover .home-feature__media img {
  transform: scale(1.03);
  filter: saturate(1) contrast(1.08);
}
.home-feature__body {
  padding: 42px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-feature__label,
.home-feature__tag {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
}
.home-feature__label { opacity: 0.9; margin-bottom: 10px; }
.home-feature__tag { opacity: 0.55; margin-bottom: 18px; }
.home-feature h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  margin: 0 0 18px;
}
.home-feature h2 a { color: var(--cream); }
.home-feature h2 a:hover { color: var(--amber); }
.home-feature__body > p {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.75;
  opacity: 0.88;
}
.home-feature__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,236,215,0.7);
  padding-top: 22px;
  border-top: 1px solid rgba(200,148,58,0.16);
}
.home-feature__cta {
  margin-left: auto;
  color: var(--amber);
}

.home-feed__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(200,148,58,0.18);
}
.home-feed__head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
}
.home-feed__head span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.7;
}
.home-feed__list {
  counter-reset: home-row 1;
}
.home-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 140px;
  gap: 24px;
  align-items: start;
  padding: 28px 4px;
  border-bottom: 1px solid rgba(200,148,58,0.12);
  transition: background 0.3s ease;
}
.home-row:hover { background: rgba(200,148,58,0.03); }
.home-row__index {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--amber);
  opacity: 0.55;
  padding-top: 8px;
}
.home-row__index::before {
  counter-increment: home-row;
  content: counter(home-row, decimal-leading-zero);
}
.home-row__tag {
  display: block;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.6;
  margin-bottom: 8px;
}
.home-row h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15;
}
.home-row h3 a { color: var(--cream); }
.home-row h3 a:hover { color: var(--amber); }
.home-row__main p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  opacity: 0.68;
  max-width: 42rem;
}
.home-row__meta {
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,236,215,0.45);
  padding-top: 8px;
  display: grid;
  gap: 6px;
}
.home-feed__empty {
  margin: 0;
  padding: 36px 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.45;
  border-bottom: 1px solid rgba(200,148,58,0.12);
}

/* Resume / document shell */
.cine-resume-page {
  background:
    radial-gradient(circle at 75% 0%, rgba(200,148,58,0.12), transparent 34%),
    var(--bg-page);
  min-height: 60vh;
}
.cine-resume-shell {
  width: min(100% - 48px, 1040px);
  margin: 0 auto;
  padding: 64px 0 96px;
}
.cine-resume-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 54px;
}
.cine-resume-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cine-resume-button,
.cine-resume-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 16px;
  border: 1px solid rgba(200,148,58,0.35);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.cine-resume-button {
  background: var(--amber);
  color: #100b04;
  border-color: var(--amber);
}
.cine-resume-button:hover { background: var(--parchment); color: #100b04; }
.cine-resume-link {
  background: rgba(200,148,58,0.06);
  color: var(--cream);
}
.cine-resume-link:hover { border-color: rgba(200,148,58,0.8); color: var(--amber); }
.cine-resume-header {
  border: 1px solid rgba(200,148,58,0.22);
  background: rgba(26,18,8,0.74);
  padding: 46px;
  margin-bottom: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.cine-resume-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.75;
  margin-bottom: 18px;
}
.cine-resume-header h1 {
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.95;
  font-weight: 500;
  margin-bottom: 18px;
}
.cine-resume-header > p {
  font-size: 18px;
  line-height: 1.75;
  opacity: 0.82;
  margin: 0;
  max-width: 42rem;
}
.cine-resume-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}
.cine-resume-section {
  border: 1px solid rgba(200,148,58,0.16);
  background: rgba(200,148,58,0.035);
  padding: 30px 34px;
  margin-bottom: 18px;
}
.cine-resume-section > h2 {
  font-size: 28px;
  color: var(--cream);
  margin-bottom: 18px;
}
.cine-resume-summary,
.cine-resume-section p {
  line-height: 1.78;
  opacity: 0.9;
}

/* Post feed / cards */
.post-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.post-card {
  border: 1px solid rgba(200,148,58,0.16);
  background: rgba(200,148,58,0.035);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.35s var(--ease);
}
.post-card:hover {
  border-color: rgba(200,148,58,0.42);
  transform: translateY(-2px);
}
.post-card__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.post-card__body { padding: 24px 26px 28px; }
.post-card__tag {
  display: block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.7;
  margin-bottom: 12px;
}
.post-card h2 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 10px; }
.post-card h2 a { color: var(--cream); }
.post-card h2 a:hover { color: var(--amber); }
.post-card p { margin: 0 0 16px; opacity: 0.72; font-size: 15px; line-height: 1.7; }
.post-card__meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}

.post-feature-image {
  margin: 0 0 18px;
  border: 1px solid rgba(200,148,58,0.16);
  overflow: hidden;
}
.post-feature-image img { width: 100%; aspect-ratio: 16 / 9; max-height: 520px; object-fit: cover; }
.post-feature-image figcaption {
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.6;
}
.post-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.post-tags a {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(200,148,58,0.25);
  padding: 8px 12px;
  color: var(--cream);
}
.post-author h2 { font-size: 28px; }
.pagination {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Article prose */
.gh-content {
  font-size: 1.05rem;
  line-height: 1.85;
}
.gh-content > * + * { margin-top: 1.25em; }
.gh-content h2, .gh-content h3, .gh-content h4 {
  margin-top: 1.8em;
  margin-bottom: 0.5em;
}
.gh-content h2 { font-size: 1.7rem; }
.gh-content h3 { font-size: 1.35rem; color: var(--parchment); }
.gh-content a { text-decoration: underline; text-underline-offset: 3px; }
.gh-content blockquote {
  margin: 1.6em 0;
  padding: 0.2em 0 0.2em 1.2em;
  border-left: 2px solid var(--amber);
  color: var(--parchment);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.5;
}
.gh-content pre,
.gh-content code {
  font-family: var(--font-mono);
  font-size: 0.92em;
}
.gh-content pre {
  overflow-x: auto;
  padding: 1.1em 1.2em;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(200,148,58,0.16);
}
.gh-content :not(pre) > code {
  background: rgba(200,148,58,0.1);
  padding: 0.15em 0.4em;
  color: var(--parchment);
}
.gh-content ul, .gh-content ol { padding-left: 1.3em; }
.gh-content li + li { margin-top: 0.4em; }
.gh-content hr {
  border: 0;
  border-top: 1px solid rgba(200,148,58,0.22);
  margin: 2.4em 0;
}
.gh-content figcaption {
  margin-top: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  opacity: 0.6;
}
.gh-content table {
  width: 100%;
  margin: 1.8em 0;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.6;
}
.gh-content th,
.gh-content td {
  padding: 0.7em 0.9em;
  text-align: left;
  border: 1px solid rgba(200,148,58,0.16);
}
.gh-content thead th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(200,148,58,0.07);
}
.gh-content tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }
.gh-content tbody tr:hover { background: rgba(200,148,58,0.05); }

/* Related posts ("Leia também") */
.related-posts { margin-top: 56px; }
.related-posts > h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 28px; }
.related-posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) {
  .related-posts__grid { grid-template-columns: 1fr; }
}

/* Koenig cards */
.kg-width-wide { max-width: none; }
.kg-width-full { width: calc(100% + 68px); margin-left: -34px; }

.kg-image-card,
.kg-gallery-card {
  margin: 1.8em 0;
}
.kg-image-card img,
.kg-gallery-image img {
  border: 1px solid rgba(200,148,58,0.16);
}
.kg-gallery-container { display: flex; flex-wrap: wrap; gap: 10px; }
.kg-gallery-image { flex: 1 1 180px; }

.kg-bookmark-card {
  margin: 1.8em 0;
}
.kg-bookmark-container {
  display: flex;
  min-height: 140px;
  border: 1px solid rgba(200,148,58,0.22);
  background: rgba(26,18,8,0.74);
  color: inherit !important;
  text-decoration: none !important;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.kg-bookmark-container:hover { border-color: rgba(200,148,58,0.5); }
.kg-bookmark-content {
  flex: 1;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.kg-bookmark-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--cream);
}
.kg-bookmark-description {
  font-size: 0.92rem;
  opacity: 0.72;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.75;
}
.kg-bookmark-icon { width: 18px; height: 18px; }
.kg-bookmark-thumbnail {
  flex: 0 0 180px;
  min-width: 140px;
}
.kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kg-callout-card {
  display: flex;
  gap: 14px;
  margin: 1.8em 0;
  padding: 22px 24px;
  border: 1px solid rgba(200,148,58,0.22);
  background: rgba(200,148,58,0.07);
}
.kg-callout-card-accent-blue,
.kg-callout-card-accent-green,
.kg-callout-card-accent-yellow,
.kg-callout-card-accent-red,
.kg-callout-card-accent-pink,
.kg-callout-card-accent-purple {
  border-color: rgba(200,148,58,0.35);
  background: rgba(200,148,58,0.08);
}
.kg-callout-emoji { font-size: 1.2rem; line-height: 1; }
.kg-callout-text { opacity: 0.88; }

.kg-code-card {
  margin: 1.8em 0;
  border: 1px solid rgba(200,148,58,0.16);
  background: rgba(0,0,0,0.35);
  overflow: hidden;
}
.kg-code-card pre {
  margin: 0;
  border: 0;
  background: transparent;
}
.kg-code-card .kg-code-card-caption,
.kg-card-hascaption figcaption {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.6;
  border-top: 1px solid rgba(200,148,58,0.12);
}

.kg-toggle-card {
  margin: 1.4em 0;
  border: 1px solid rgba(200,148,58,0.18);
  background: rgba(200,148,58,0.04);
}
.kg-toggle-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  background: transparent;
  border: 0;
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  text-align: left;
  cursor: pointer;
}
.kg-toggle-card[data-kg-toggle-state="close"] .kg-toggle-content { display: none; }
.kg-toggle-content { padding: 0 18px 18px; opacity: 0.8; }
.kg-toggle-card svg { color: var(--amber); }

.kg-button-card { margin: 1.8em 0; }
.kg-button-card a.kg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 20px;
  background: var(--amber);
  color: #100b04 !important;
  border: 1px solid var(--amber);
  text-decoration: none !important;
  transition: background 0.3s ease;
}
.kg-button-card a.kg-btn:hover { background: var(--parchment); }
.kg-btn-accent { background: var(--amber) !important; }

.kg-product-card,
.kg-audio-card,
.kg-file-card,
.kg-header-card,
.kg-signup-card {
  border: 1px solid rgba(200,148,58,0.18);
  background: rgba(26,18,8,0.6);
  margin: 1.8em 0;
}

/* Focus */
a:focus-visible,
button:focus-visible {
  outline: 1px solid rgba(200,148,58,0.7);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .home-feature { grid-template-columns: 1fr; }
  .home-feature__media img { min-height: 240px; }
  .home-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .home-row__meta {
    grid-column: 2;
    text-align: left;
    padding-top: 0;
    display: flex;
    gap: 12px;
  }
}

@media (max-width: 760px) {
  .site-header__inner,
  .site-footer__inner,
  .cine-resume-shell,
  .home-hero,
  .home-feature,
  .home-feed { width: min(100% - 32px, 1180px); }
  .home-hero { margin-left: auto; padding: 40px 0 36px; }
  .home-feature__body { padding: 28px 24px; }
  .cine-resume-shell { padding-top: 40px; }
  .cine-resume-header { padding: 28px; }
  .cine-resume-header h1 { font-size: clamp(36px, 11vw, 56px); }
  .cine-resume-section { padding: 22px; }
  .post-feed { grid-template-columns: 1fr; }
  .site-logo__text { display: none; }
  .kg-width-full { width: 100%; margin-left: 0; }
  .kg-bookmark-container { flex-direction: column; }
  .kg-bookmark-thumbnail { flex: none; min-height: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .home-orb { animation: none; }
}
