/* ============================================================
   Phytoventures SITE — Institute OVERRIDE
   Re-skins the old styles.css / pages.css to match Institute.
   Load AFTER styles.css + pages.css on legal/content pages.
   ============================================================ */

:root {
  --bg: #f4f1e8 !important;
  --bg-alt: #eee9dc !important;
  --text: #0e1f17 !important;
  --text-primary: #0e1f17 !important;
  --text-secondary: #4a5a50 !important;
  --text-muted: #6b7a70 !important;
  --text-subtle: #6b7a70 !important;
  --accent: #1b3c2b !important;
  --accent-light: #2d5a3e !important;
  --accent-dark: #0e1f17 !important;
  --emerald: #1b3c2b !important;
  --gold: #e8c547 !important;
  --border: #d6cfbe !important;
  --border-light: #e5decb !important;
  --card-bg: #faf7ee !important;
  --card-hover: #eee9dc !important;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

html, body {
  background: #f4f1e8 !important;
  color: #0e1f17 !important;
  font-family: "Inter", -apple-system, system-ui, sans-serif !important;
  font-feature-settings: "ss01", "cv11";
}

/* ===== DISPLAY / HEADINGS ===== */
h1, h2, h3, h4,
.hero-title, .section-title, .page-title,
.legal-title, .page-h1, .content-title {
  font-family: "Instrument Serif", "Fraunces", Georgia, serif !important;
  font-weight: 400 !important;
  letter-spacing: -0.03em !important;
  color: #0e1f17 !important;
}
.section-title { font-size: 56px !important; line-height: 1 !important; }
.section-title--xl { font-size: 88px !important; }

body p, body li, body td, body th { font-family: "Inter", sans-serif !important; }

/* ===== NAV (top) ===== */
.nav, body > nav, header.nav {
  background: rgba(244,241,232,0.92) !important;
  border-bottom: 1px solid #d6cfbe !important;
  backdrop-filter: blur(8px);
}
.nav.scrolled { background: rgba(244,241,232,0.98) !important; }
.nav-logo-text {
  font-family: "Inter", sans-serif !important;
  font-weight: 600 !important;
  color: #0e1f17 !important;
  letter-spacing: -0.02em !important;
}
.nav-links a {
  color: #0e1f17 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}
.nav-links a:hover, .nav-links a.active { color: #1b3c2b !important; }
.nav-cta, .nav-portal-btn {
  background: #1b3c2b !important;
  color: #f4f1e8 !important;
  border-radius: 999px !important;
  padding: 10px 18px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border: none !important;
}
.nav-cta:hover, .nav-portal-btn:hover { background: #0e1f17 !important; }

/* Announcement bar */
.announcement-bar {
  background: #0e1f17 !important;
  color: #f4f1e8 !important;
  border: none !important;
}
.announcement-bar-badge {
  background: #e8c547 !important;
  color: #0e1f17 !important;
}

/* Mobile nav */
.mobile-overlay { background: rgba(244,241,232,0.98) !important; }
.mobile-link { color: #0e1f17 !important; }
.mobile-link--cta {
  background: #1b3c2b !important; color: #f4f1e8 !important;
  border-radius: 999px !important;
}

/* ===== HERO ===== */
.hero {
  background: #f4f1e8 !important;
  color: #0e1f17 !important;
}
.hero-mesh, .hero-noise, .hero-fade { opacity: 0.08 !important; }
.hero-title { color: #0e1f17 !important; }
.hero-subtitle { color: #2a3a30 !important; }
.hero-badge {
  background: #eee9dc !important;
  border: 1px solid #d6cfbe !important;
  color: #1b3c2b !important;
}
.hero-badge-dot { background: #1b3c2b !important; }

/* ===== SECTION ===== */
.section { background: #f4f1e8 !important; }
.section--dark { background: #0e1f17 !important; color: #f4f1e8 !important; }
.section--brands { background: #eee9dc !important; }
.section--contact { background: #1b3c2b !important; color: #f4f1e8 !important; }
.section-tag {
  color: #6b7a70 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  font-size: 12px !important;
}
.section-tag--gold { color: #b45309 !important; }
.section--dark .section-tag { color: #e8c547 !important; }

/* ===== BUTTONS ===== */
.btn, .btn-primary, .btn-submit {
  font-family: "Inter", sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 13px 22px !important;
  border-radius: 999px !important;
  background: #1b3c2b !important;
  color: #f4f1e8 !important;
  border: none !important;
  letter-spacing: -0.005em !important;
  transition: background 0.15s ease, transform 0.15s ease !important;
}
.btn:hover, .btn-primary:hover, .btn-submit:hover {
  background: #0e1f17 !important; transform: translateY(-1px);
}
.btn-ghost {
  background: transparent !important;
  color: #0e1f17 !important;
  border: 1.5px solid #0e1f17 !important;
  padding: 11.5px 22px !important;
}
.btn-ghost:hover { background: #0e1f17 !important; color: #f4f1e8 !important; }

/* ===== CARDS (generic) ===== */
.value-card, .brand-card, .content-card, .card, .page-card {
  background: #faf7ee !important;
  border: 1px solid #d6cfbe !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}
.value-card-number {
  font-family: "Instrument Serif", serif !important;
  color: #1b3c2b !important;
}
.value-card-title, .brand-card-title {
  font-family: "Instrument Serif", serif !important;
  font-weight: 400 !important;
  color: #0e1f17 !important;
  letter-spacing: -0.015em !important;
}
.value-card-text, .brand-card-text { color: #4a5a50 !important; }

/* ===== LEGAL / CONTENT / POLICY ===== */
.legal-content, .page-content, .content-prose,
.policy-content, main > .container, .container .content {
  font-family: "Inter", sans-serif !important;
  color: #0e1f17 !important;
}
.legal-content h1, .legal-content h2, .legal-content h3,
.page-content h1, .page-content h2, .page-content h3 {
  font-family: "Instrument Serif", serif !important;
  color: #0e1f17 !important;
}
.legal-content h2 { font-size: 36px !important; letter-spacing: -0.025em !important; margin-top: 40px !important; }
.legal-content h3 { font-size: 24px !important; letter-spacing: -0.015em !important; margin-top: 28px !important; }
.legal-content p, .legal-content li { color: #2a3a30 !important; line-height: 1.7 !important; font-size: 16px !important; }
.legal-content a { color: #1b3c2b !important; text-decoration: underline; text-underline-offset: 3px; }
.legal-content blockquote {
  border-left: 3px solid #1b3c2b !important;
  background: #eee9dc !important;
  padding: 18px 22px !important;
  font-family: "Instrument Serif", serif !important;
  font-style: italic;
  color: #0e1f17 !important;
}
.legal-content hr, hr { border: none !important; border-top: 1px solid #d6cfbe !important; }

/* ===== FOOTER ===== */
.footer, .site-footer, footer:not(.portal-sidebar-footer) {
  background: #0e1f17 !important;
  color: #9aaea2 !important;
}
.footer a, footer:not(.portal-sidebar-footer) a { color: #c9d7cd !important; }
.footer a:hover, footer:not(.portal-sidebar-footer) a:hover { color: #f4f1e8 !important; }
.footer-title, .footer-heading {
  color: #e8c547 !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
}

/* Links in content */
.content a, article a, .prose a { color: #1b3c2b !important; text-decoration: underline; }
.content a:hover, article a:hover { color: #0e1f17 !important; }

/* Forms (contact) */
.form-input, .form-textarea, .form-select, input[type="text"], input[type="email"], textarea {
  background: #faf7ee !important;
  border: 1px solid #d6cfbe !important;
  border-radius: 4px !important;
  color: #0e1f17 !important;
  font-family: "Inter", sans-serif !important;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: #1b3c2b !important; outline: none !important;
  box-shadow: none !important;
}
.form-label, label {
  color: #6b7a70 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

/* Focus */
*:focus-visible {
  outline: 2px solid #1b3c2b !important;
  outline-offset: 2px !important;
  border-radius: 2px;
}

/* Selection */
::selection { background: #1b3c2b; color: #f4f1e8; }

/* ============================================================
   EXTENDED INSTITUTE PATTERNS (marketing site)
   Re-usable design blocks for pages that want richer layouts.
   ============================================================ */

/* ── Eyebrow (em-dash + uppercase) ── */
.inst-eyebrow {
  font-size: 12px; color: #6b7a70;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.inst-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: #1b3c2b;
  display: inline-block;
}
.inst-eyebrow.no-rule::before { display: none; }
.inst-eyebrow.on-dark { color: #e8c547; }
.inst-eyebrow.on-dark::before { background: #e8c547; }
.inst-eyebrow.green { color: #1b3c2b; font-weight: 600; }
.inst-eyebrow.green::before { background: #1b3c2b; }

/* ── Italic emphasis ── */
.italic-emphasis, em.italic-emphasis {
  font-style: italic; color: #1b3c2b;
}
.italic-emphasis-accent, em.italic-emphasis-accent {
  font-style: italic; color: #e8c547;
}

/* ── Hero wrapper (cream) ── */
.inst-hero-block {
  padding: 72px 56px 56px; background: #f4f1e8;
  border-bottom: 1px solid #d6cfbe;
}
.inst-hero-block h1 {
  font-family: "Instrument Serif", Georgia, serif !important;
  font-size: 104px !important; line-height: 0.95 !important;
  font-weight: 400 !important; letter-spacing: -0.04em !important;
  color: #0e1f17 !important;
}
.inst-hero-block .inst-hero-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 56px; align-items: end; margin-top: 28px;
}
.inst-hero-block p.lead {
  font-size: 19px; line-height: 1.5; color: #2a3a30;
  font-weight: 400; margin: 0;
}
.inst-hero-block p.lead strong { color: #0e1f17; font-weight: 600; }
@media (max-width: 1023px) {
  .inst-hero-block { padding: 56px 40px 48px; }
  .inst-hero-block h1 { font-size: 72px !important; }
  .inst-hero-block .inst-hero-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 767px) {
  .inst-hero-block { padding: 40px 24px 32px; }
  .inst-hero-block h1 { font-size: 44px !important; }
  .inst-hero-block p.lead { font-size: 16px; }
}

/* ── Stats strip (same as portal) ── */
.inst-stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid #d6cfbe; border-bottom: 1px solid #d6cfbe;
  margin: 0 0 48px;
}
.inst-stats-cell { padding: 32px 28px; border-right: 1px solid #d6cfbe; }
.inst-stats-cell:last-child { border-right: none; }
.inst-stats-key {
  font-size: 12px; color: #6b7a70;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.inst-stats-val {
  font-family: "Instrument Serif", serif; font-size: 72px;
  font-weight: 400; line-height: 1; letter-spacing: -0.03em;
  color: #0e1f17; margin-top: 12px;
}
.inst-stats-note {
  font-size: 12px; color: #1b3c2b; margin-top: 8px; font-style: italic;
}
@media (max-width: 1023px) {
  .inst-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .inst-stats-cell:nth-child(2) { border-right: none; }
  .inst-stats-cell:nth-child(3), .inst-stats-cell:nth-child(4) {
    border-top: 1px solid #d6cfbe;
  }
  .inst-stats-val { font-size: 48px; }
}
@media (max-width: 600px) {
  .inst-stats-strip { grid-template-columns: 1fr; }
  .inst-stats-cell { border-right: none; border-top: 1px solid #d6cfbe; }
  .inst-stats-cell:first-child { border-top: none; }
}

/* ── Service row (alternating image + text) ── */
.inst-svc-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; padding: 32px 0;
  border-top: 1px solid #d6cfbe;
  align-items: center;
}
.inst-svc-row.reverse .inst-svc-image { order: 1; }
.inst-svc-row.reverse .inst-svc-text { order: 0; }
.inst-svc-row-eyebrow {
  font-size: 12px; color: #1b3c2b;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 10px; display: inline-block;
}
.inst-svc-row-title {
  font-family: "Instrument Serif", serif; font-size: 48px;
  line-height: 1; font-weight: 400; letter-spacing: -0.03em;
  color: #0e1f17;
}
.inst-svc-row-body {
  font-size: 16px; line-height: 1.6; color: #2a3a30;
  margin-top: 16px; max-width: 520px;
}
.inst-svc-image {
  width: 100%; aspect-ratio: 16/10;
  background: #eee9dc; border: 1px solid #d6cfbe;
  border-radius: 4px; overflow: hidden;
}
.inst-svc-image > svg, .inst-svc-image > img {
  width: 100%; height: 100%; object-fit: cover;
}
@media (max-width: 1023px) {
  .inst-svc-row { grid-template-columns: 1fr; gap: 24px; }
  .inst-svc-row.reverse .inst-svc-image { order: 0; }
  .inst-svc-row.reverse .inst-svc-text { order: 1; }
  .inst-svc-row-title { font-size: 32px; }
}

/* ── Stack pills ── */
.inst-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.inst-pill {
  font-size: 12px; font-weight: 500; color: #1b3c2b;
  background: #eee9dc; border: 1px solid #d6cfbe;
  padding: 6px 12px; border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.inst-pill:hover { background: #1b3c2b; color: #e8c547; border-color: #1b3c2b; }

/* ── Pull quote ── */
.inst-pullquote {
  margin: 36px 0; padding: 22px 26px;
  border-left: 3px solid #1b3c2b; background: #eee9dc;
}
.inst-pullquote p, .inst-pullquote blockquote {
  font-family: "Instrument Serif", serif; font-size: 26px;
  font-style: italic; font-weight: 400; color: #0e1f17;
  line-height: 1.3; margin: 0;
}
.inst-pullquote cite, .inst-pullquote footer {
  display: block; font-family: "Inter", sans-serif; font-size: 13px;
  color: #6b7a70; margin-top: 12px; font-style: normal;
}

/* ── Commitment banner (green) for page tops ── */
.inst-commit-banner {
  background: #1b3c2b; color: #f4f1e8;
  padding: 22px 28px; border-radius: 4px;
  display: flex; align-items: center; gap: 20px; margin: 0 0 32px;
}
.inst-commit-banner-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: #e8c547; color: #0e1f17;
  display: grid; place-items: center;
  font-family: "Instrument Serif", serif; font-size: 18px; font-weight: 400;
  flex-shrink: 0;
}
.inst-commit-banner-eyebrow {
  font-size: 11px; color: #e8c547;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
}
.inst-commit-banner-eyebrow::before { content: "— "; }
.inst-commit-banner-body {
  font-family: "Instrument Serif", serif; font-size: 20px;
  margin-top: 4px; letter-spacing: -0.01em; font-weight: 400;
}
.inst-commit-banner-body em { color: #e8c547; font-style: italic; }

/* ── Commitments grid (ink section) ── */
.inst-commitments {
  background: #0e1f17; color: #f4f1e8;
  padding: 80px 56px;
}
.inst-commitments h2 {
  font-family: "Instrument Serif", serif;
  font-size: 52px; line-height: 1;
  font-weight: 400; letter-spacing: -0.025em;
  color: #f4f1e8 !important;
}
.inst-commitments-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  margin-top: 40px;
}
.inst-commit {
  padding: 22px 24px; border-top: 1px solid #2d3d34;
}
.inst-commit:nth-child(2n) { border-left: 1px solid #2d3d34; }
.inst-commit-num {
  font-size: 11px; color: #e8c547;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.inst-commit-title {
  font-family: "Instrument Serif", serif; font-size: 26px;
  font-weight: 400; margin: 8px 0 10px;
  letter-spacing: -0.015em; color: #f4f1e8 !important;
}
.inst-commit-body {
  font-size: 14px; line-height: 1.6; color: #c9d7cd;
}
@media (max-width: 767px) {
  .inst-commitments { padding: 48px 24px; }
  .inst-commitments h2 { font-size: 32px; }
  .inst-commitments-grid { grid-template-columns: 1fr; }
  .inst-commit:nth-child(2n) { border-left: none; }
}

/* ── Pricing card ── */
.inst-pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.inst-pricing {
  background: #faf7ee; border: 1px solid #d6cfbe;
  border-radius: 4px; padding: 28px;
  display: flex; flex-direction: column;
}
.inst-pricing.featured {
  background: #1b3c2b; color: #f4f1e8; border-color: #1b3c2b;
}
.inst-pricing-name {
  font-family: "Instrument Serif", serif; font-size: 26px;
  font-weight: 400; letter-spacing: -0.02em;
}
.inst-pricing-price {
  font-family: "Instrument Serif", serif; font-size: 64px;
  font-weight: 400; letter-spacing: -0.03em;
  line-height: 1; margin: 16px 0 4px;
}
.inst-pricing-price .cadence {
  font-family: "Inter", sans-serif; font-size: 14px;
  color: #6b7a70; letter-spacing: 0; font-weight: 400;
}
.inst-pricing.featured .inst-pricing-price .cadence { color: #c9d7cd; }
.inst-pricing-list {
  list-style: none; padding: 20px 0 0; margin: 20px 0 0;
  border-top: 1px solid #d6cfbe; flex: 1;
}
.inst-pricing.featured .inst-pricing-list { border-top-color: #2f513e; }
.inst-pricing-list li {
  padding: 10px 0 10px 24px; font-size: 13.5px;
  color: #4a5a50; position: relative; line-height: 1.55;
}
.inst-pricing.featured .inst-pricing-list li { color: #c9d7cd; }
.inst-pricing-list li::before {
  content: "✓"; position: absolute; left: 0; top: 11px;
  color: #1b3c2b; font-weight: 700;
}
.inst-pricing.featured .inst-pricing-list li::before { color: #e8c547; }
@media (max-width: 1023px) {
  .inst-pricing-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 767px) {
  .inst-pricing-grid { grid-template-columns: 1fr; }
}

/* ── Timeline (horizontal or stacked) ── */
.inst-timeline {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
}
.inst-timeline-cell {
  padding: 0 18px; border-left: 1px solid #d6cfbe;
}
.inst-timeline-cell:first-child { border-left: none; padding-left: 0; }
.inst-timeline-date {
  font-size: 11px; color: #1b3c2b;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
}
.inst-timeline-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #1b3c2b; margin: 12px 0;
}
.inst-timeline-title {
  font-family: "Instrument Serif", serif; font-size: 22px;
  font-weight: 400; margin: 0 0 8px; letter-spacing: -0.015em;
  color: #0e1f17;
}
.inst-timeline-body { font-size: 13px; line-height: 1.55; color: #4a5a50; }

/* ── Drop cap ── */
.inst-dropcap > p:first-of-type::first-letter,
.article-body > p:first-of-type::first-letter,
.blog-post-content > p:first-of-type::first-letter {
  font-family: "Instrument Serif", serif;
  font-size: 76px; line-height: 0.85;
  font-weight: 400; color: #1b3c2b;
  float: left; padding: 8px 12px 0 0; margin-top: 6px;
}

/* ── Ordered check list ── */
.inst-check-list { list-style: none; padding: 0; margin: 0; }
.inst-check-list li {
  padding: 12px 0 12px 32px; position: relative;
  font-size: 15px; color: #0e1f17; line-height: 1.55;
  border-bottom: 1px solid #e5decb;
}
.inst-check-list li:last-child { border-bottom: none; }
.inst-check-list li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 18px; height: 18px; border-radius: 3px;
  background: #1b3c2b;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'><path d='M4 9L7.5 12.5L14 5.5' stroke='%23e8c547' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 18px 18px; background-position: center;
}

/* ── Contact-on-green pattern ── */
.inst-contact-block {
  background: #1b3c2b; color: #f4f1e8;
  padding: 80px 56px;
}
.inst-contact-block .inst-eyebrow { color: #e8c547; font-weight: 600; }
.inst-contact-block .inst-eyebrow::before { background: #e8c547; }
.inst-contact-grid {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 56px; align-items: start;
}
.inst-contact-block h2 {
  font-family: "Instrument Serif", serif; font-size: 72px;
  line-height: 0.95; font-weight: 400; letter-spacing: -0.035em;
  color: #f4f1e8 !important;
}
.inst-contact-meta {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 28px;
}
.inst-contact-meta-key {
  font-size: 11px; color: #95a89b;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.inst-contact-meta-val {
  color: #f4f1e8; font-weight: 500; font-size: 15px;
  margin-top: 4px; line-height: 1.5;
}
.inst-contact-form {
  background: #173528; border: 1px solid #2d513d;
  border-radius: 6px; padding: 28px;
}
.inst-contact-form-heading {
  font-size: 12px; color: #e8c547;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px;
}
.inst-contact-form label {
  display: block; margin-bottom: 14px;
  color: #9aaea2 !important;
}
.inst-contact-form label > span {
  font-size: 11px; color: #9aaea2;
  letter-spacing: 0.1em; text-transform: uppercase;
  display: block; margin-bottom: 4px;
}
.inst-contact-form input,
.inst-contact-form textarea {
  width: 100%; background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #3b5e4b !important;
  color: #f4f1e8 !important;
  padding: 8px 0 !important; font-size: 16px !important;
  font-family: "Inter", sans-serif !important;
}
.inst-contact-form input:focus,
.inst-contact-form textarea:focus {
  border-bottom-color: #e8c547 !important; outline: none !important;
}
.inst-contact-form textarea {
  border: 1px solid #3b5e4b !important; border-radius: 4px !important;
  padding: 10px !important; resize: none; min-height: 80px;
}
.inst-contact-form button {
  background: #e8c547 !important; color: #0e1f17 !important;
  border: none; padding: 12px 22px; border-radius: 999px;
  font-family: "Inter", sans-serif; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: filter 0.15s ease;
}
.inst-contact-form button:hover { filter: brightness(0.95); }
@media (max-width: 1023px) {
  .inst-contact-block { padding: 64px 40px; }
  .inst-contact-block h2 { font-size: 52px; }
  .inst-contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 767px) {
  .inst-contact-block { padding: 48px 24px; }
  .inst-contact-block h2 { font-size: 40px; }
  .inst-contact-meta { grid-template-columns: 1fr; }
}

/* ── Serif italic helper for inline emphasis in headings ── */
h1 em, h2 em, h3 em, h4 em,
.hero-title em, .section-title em, .page-title em {
  font-style: italic !important;
  color: #1b3c2b !important;
}
.section--dark h1 em, .section--dark h2 em, .section--dark h3 em,
.inst-commitments h1 em, .inst-commitments h2 em,
.inst-commitments h3 em, .inst-contact-block h1 em,
.inst-contact-block h2 em { color: #e8c547 !important; }

/* ── Marquee (for pages that want it) ── */
.inst-marquee-wrap {
  border-top: 1px solid #d6cfbe; border-bottom: 1px solid #d6cfbe;
  padding: 14px 0; overflow: hidden; margin: 40px 0;
}
.inst-marquee-inner {
  white-space: nowrap; display: inline-block;
  font-family: "Instrument Serif", serif; font-size: 24px;
  font-style: italic; color: #0e1f17;
  animation: inst-marquee 40s linear infinite;
}
@keyframes inst-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .inst-marquee-inner { animation: none; }
}

/* ============================================================
   TYPEFORM-STYLE CONTACT FORM (contact.html)
   ============================================================ */
.tf-form { background: #f4f1e8 !important; font-family: "Inter", sans-serif !important; }
.tf-question {
  font-family: "Instrument Serif", Georgia, serif !important;
  font-weight: 400 !important; letter-spacing: -0.025em !important;
  color: #0e1f17 !important; font-size: 48px !important; line-height: 1.05 !important;
}
.tf-highlight {
  font-style: italic !important; color: #1b3c2b !important;
  font-family: "Instrument Serif", serif !important;
}
.tf-input, .tf-textarea, .tf-select {
  background: transparent !important;
  border: none !important;
  border-bottom: 1.5px solid #d6cfbe !important;
  font-family: "Instrument Serif", serif !important;
  font-size: 32px !important;
  padding: 8px 0 !important;
  color: #0e1f17 !important;
  border-radius: 0 !important;
  transition: border-color 0.15s ease !important;
}
.tf-input:focus, .tf-textarea:focus, .tf-select:focus {
  border-bottom-color: #1b3c2b !important; outline: none !important;
}
.tf-next, .tf-submit, .tf-btn {
  background: #1b3c2b !important; color: #f4f1e8 !important;
  border-radius: 999px !important; padding: 13px 22px !important;
  font-family: "Inter", sans-serif !important; font-size: 14px !important;
  font-weight: 600 !important; letter-spacing: -0.005em !important;
  border: none !important; cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.tf-next:hover, .tf-submit:hover, .tf-btn:hover {
  background: #0e1f17 !important; transform: translateY(-1px);
}
.tf-progress, .tf-progress-bar { background: #d6cfbe !important; }
.tf-progress-fill, .tf-progress-bar-fill { background: #1b3c2b !important; }
.tf-option, .tf-choice {
  border: 1px solid #d6cfbe !important; background: #faf7ee !important;
  border-radius: 4px !important; color: #0e1f17 !important;
  transition: border-color 0.15s, background 0.15s !important;
}
.tf-option:hover, .tf-choice:hover {
  border-color: #1b3c2b !important; background: #eee9dc !important;
}
.tf-option.selected, .tf-choice.selected {
  background: #1b3c2b !important; color: #f4f1e8 !important; border-color: #1b3c2b !important;
}
.tf-hint, .tf-label { color: #6b7a70 !important; }
.tf-success-title {
  font-family: "Instrument Serif", serif !important;
  font-weight: 400 !important; letter-spacing: -0.025em !important;
  color: #0e1f17 !important;
}
.tf-success-title em { color: #1b3c2b !important; font-style: italic; }

/* ============================================================
   BLOG / ARTICLE STYLING
   ============================================================ */
.blog-post-content, .article-body, .blog-content {
  font-family: "Inter", sans-serif;
  color: #2a3a30; font-size: 17px; line-height: 1.7;
}
.blog-post-content h1, .blog-post-content h2, .blog-post-content h3,
.article-body h1, .article-body h2, .article-body h3 {
  font-family: "Instrument Serif", serif !important;
  color: #0e1f17 !important; font-weight: 400 !important;
  letter-spacing: -0.02em !important;
}
.blog-post-content h1, .article-body h1 { font-size: 56px; line-height: 1; margin: 48px 0 24px; }
.blog-post-content h2, .article-body h2 { font-size: 40px; line-height: 1.05; margin: 40px 0 20px; letter-spacing: -0.025em !important; }
.blog-post-content h3, .article-body h3 { font-size: 26px; line-height: 1.15; margin: 32px 0 16px; letter-spacing: -0.015em !important; }
.blog-post-content p, .article-body p { margin-bottom: 1.4em; }
.blog-post-content blockquote, .article-body blockquote {
  border-left: 3px solid #1b3c2b !important; background: #eee9dc;
  padding: 22px 26px; margin: 32px 0;
  font-family: "Instrument Serif", serif; font-style: italic;
  font-size: 24px; line-height: 1.35; color: #0e1f17;
}
.blog-post-content a, .article-body a {
  color: #1b3c2b; text-decoration: underline; text-underline-offset: 3px;
}
.blog-post-content img, .article-body img {
  border-radius: 4px; margin: 28px 0; border: 1px solid #d6cfbe;
}
.blog-post-content code, .article-body code {
  font-family: "JetBrains Mono", monospace; font-size: 14px;
  background: #eee9dc; color: #0e1f17;
  padding: 2px 6px; border-radius: 3px;
}
.blog-post-content pre, .article-body pre {
  font-family: "JetBrains Mono", monospace; font-size: 14px;
  background: #0e1f17; color: #c9d7cd;
  padding: 20px; border-radius: 4px; overflow-x: auto;
  margin: 28px 0;
}
.blog-post-content pre code, .article-body pre code {
  background: transparent; color: inherit; padding: 0;
}
.blog-post-meta, .article-meta {
  display: flex; gap: 14px; align-items: center;
  font-size: 12px; color: #6b7a70;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
  padding: 14px 0; border-bottom: 1px solid #d6cfbe;
  margin-bottom: 32px;
}
.blog-post-title, .article-title {
  font-family: "Instrument Serif", serif !important;
  font-size: 72px !important; line-height: 0.95 !important;
  font-weight: 400 !important; letter-spacing: -0.035em !important;
  color: #0e1f17 !important;
}
.blog-post-title em, .article-title em {
  font-style: italic !important; color: #1b3c2b !important;
}
@media (max-width: 768px) {
  .blog-post-title, .article-title { font-size: 44px !important; }
  .blog-post-content h2, .article-body h2 { font-size: 28px; }
  .blog-post-content h3, .article-body h3 { font-size: 22px; }
  .blog-post-content blockquote, .article-body blockquote { font-size: 20px; }
}

/* Blog post listing */
.blog-post-card {
  background: #faf7ee !important; border: 1px solid #d6cfbe !important;
  border-radius: 4px !important; padding: 24px !important;
  transition: border-color 0.15s, transform 0.15s;
}
.blog-post-card:hover { border-color: #1b3c2b !important; transform: translateY(-2px); }
.blog-post-card h2, .blog-post-card h3 {
  font-family: "Instrument Serif", serif !important;
  font-weight: 400 !important; letter-spacing: -0.02em !important;
  color: #0e1f17 !important;
}

/* ============================================================
   HOSTING / PRICING — picks up existing class names
   ============================================================ */
.plan-card, .pricing-card, .pricing-tier {
  background: #faf7ee !important; border: 1px solid #d6cfbe !important;
  border-radius: 4px !important; padding: 28px !important;
  box-shadow: none !important;
}
.plan-card.featured, .pricing-card.featured, .pricing-tier.featured {
  background: #1b3c2b !important; color: #f4f1e8 !important; border-color: #1b3c2b !important;
}
.plan-price, .pricing-price {
  font-family: "Instrument Serif", serif !important;
  font-size: 56px !important; font-weight: 400 !important;
  letter-spacing: -0.03em !important; line-height: 1 !important;
  color: #0e1f17 !important;
}
.plan-card.featured .plan-price, .pricing-card.featured .pricing-price { color: #f4f1e8 !important; }
.plan-name, .pricing-name {
  font-family: "Instrument Serif", serif !important;
  font-weight: 400 !important; letter-spacing: -0.02em !important;
  color: #0e1f17 !important;
}
.plan-card.featured .plan-name, .pricing-card.featured .pricing-name { color: #f4f1e8 !important; }
.plan-features li, .pricing-features li {
  color: #4a5a50 !important;
}
.plan-card.featured .plan-features li { color: #c9d7cd !important; }

/* ============================================================
   FEATURE GRID (services / about pages)
   ============================================================ */
.feature-card, .feat-card, .service-card {
  background: #faf7ee !important; border: 1px solid #d6cfbe !important;
  border-radius: 4px !important; padding: 24px !important;
  transition: border-color 0.15s, transform 0.15s !important;
}
.feature-card:hover, .feat-card:hover, .service-card:hover {
  border-color: #1b3c2b !important; transform: translateY(-2px);
}
.feature-card h3, .feat-card h3, .service-card h3,
.feature-card .title, .feat-card .title, .service-card .title {
  font-family: "Instrument Serif", serif !important;
  font-weight: 400 !important; letter-spacing: -0.015em !important;
  color: #0e1f17 !important;
}
.feature-card p, .feat-card p, .service-card p { color: #4a5a50 !important; }
