:root {
  --otc-ink: #17241e;
  --otc-forest: #1f4735;
  --otc-leaf: #3c7a58;
  --otc-sage: #9fbfa8;
  --otc-cream: #f4efe4;
  --otc-paper: #fffdf8;
  --otc-gold: #b08d3e;
  --otc-muted: #5d6c64;
  --otc-line: rgba(31, 71, 53, 0.12);
  --otc-serif: "Fraunces", "Source Serif 4", Georgia, serif;
  --otc-sans: "Manrope", "Source Sans 3", system-ui, sans-serif;
}

html {
  background: var(--otc-cream);
}

body,
.wp-site-blocks,
#wrapper,
#inner-wrap,
#inner-wrap > * {
  font-family: var(--otc-sans) !important;
  color: var(--otc-ink);
}

body {
  background:
    radial-gradient(1200px 420px at 8% -10%, rgba(176, 141, 62, 0.12), transparent 55%),
    radial-gradient(900px 380px at 100% 0%, rgba(60, 122, 88, 0.10), transparent 50%),
    var(--otc-cream) !important;
}

h1, h2, h3, h4, .entry-title, .wp-block-heading {
  font-family: var(--otc-serif) !important;
  letter-spacing: -0.02em;
  color: var(--otc-forest);
  font-weight: 650;
}

.otc-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.otc-langbar {
  background: var(--otc-forest);
  color: #e8f3ec;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.otc-langbar .otc-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 16px;
}

.otc-langbar__link {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 3px 12px;
  text-decoration: none !important;
}

.otc-langbar__link:hover {
  background: rgba(255,255,255,.1);
}

.otc-disclaimer-bar {
  background: #13291f;
  color: #d7e6dc;
  font-size: 13px;
  line-height: 1.55;
  padding: 14px 0;
}

.otc-disclaimer-bar p {
  margin: 0 0 8px;
}

.otc-legal a {
  color: #f0e7cf !important;
  text-decoration: underline;
}

#masthead,
.site-header-wrap {
  background: rgba(255, 253, 248, 0.92) !important;
  border-bottom: 1px solid var(--otc-line);
  backdrop-filter: blur(10px);
}

.site-branding .site-title,
.site-title,
.branding-title {
  font-family: var(--otc-serif) !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: var(--otc-forest) !important;
}

.site-title a {
  color: inherit !important;
}

.primary-menu-container a,
.header-menu-container a {
  font-weight: 600 !important;
  font-size: 14.5px !important;
  letter-spacing: 0.02em;
}

.otc-hero {
  padding: 56px 0 28px;
}

.otc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--otc-leaf);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.otc-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--otc-gold);
}

.otc-hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  max-width: 16ch;
  margin: 14px 0 18px;
}

.otc-hero p.lead {
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.7;
  color: var(--otc-muted);
}

.otc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.otc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14.5px;
}

.otc-btn-primary {
  background: var(--otc-forest);
  color: #fff !important;
}

.otc-btn-ghost {
  background: transparent;
  color: var(--otc-forest) !important;
  border: 1px solid var(--otc-forest);
}

.otc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 12px 0 48px;
}

.otc-card {
  background: var(--otc-paper);
  border: 1px solid var(--otc-line);
  border-radius: 18px;
  padding: 22px 20px 20px;
  box-shadow: 0 10px 30px rgba(23, 36, 30, 0.04);
  text-decoration: none !important;
  color: inherit;
  min-height: 168px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.otc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(23, 36, 30, 0.08);
}

.otc-card h3 {
  margin: 10px 0 8px;
  font-size: 22px;
}

.otc-card p {
  margin: 0;
  color: var(--otc-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.otc-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e7f0ea;
  color: var(--otc-forest);
  font-size: 20px;
}

.otc-section {
  padding: 10px 0 54px;
}

.otc-section h2 {
  font-size: 34px;
  margin-bottom: 8px;
}

.otc-section .sub {
  color: var(--otc-muted);
  margin-bottom: 22px;
}

.otc-posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.otc-post {
  background: var(--otc-paper);
  border: 1px solid var(--otc-line);
  border-radius: 18px;
  padding: 24px;
}

.otc-post a {
  color: var(--otc-forest);
  text-decoration: none;
}

.otc-post h3 {
  margin: 8px 0 10px;
  font-size: 26px;
}

.otc-meta {
  color: var(--otc-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.otc-note,
.otc-ymyl {
  background: #f3ead4;
  border-left: 3px solid var(--otc-gold);
  padding: 14px 16px;
  border-radius: 0 12px 12px 0;
  color: #3f3520;
}

.content-wrap .entry-content p,
.entry-content p {
  font-size: 17.5px;
  line-height: 1.75;
  max-width: 68ch;
}

.entry-content h2 {
  margin-top: 1.6em;
}

.entry-content ul,
.entry-content ol {
  max-width: 68ch;
}

.otc-refs {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--otc-line);
}

.otc-refs h2 {
  font-size: 22px;
}

.otc-refs a {
  color: var(--otc-leaf);
}

.site-footer,
#colophon {
  background: #10241b !important;
  color: #d5e4da !important;
}

.site-footer a,
#colophon a {
  color: #f0e7cf !important;
}

@media (max-width: 900px) {
  .otc-grid,
  .otc-posts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .otc-grid,
  .otc-posts {
    grid-template-columns: 1fr;
  }
  .otc-hero {
    padding-top: 32px;
  }
}
