/* ==========================================================================
   Bible Scholarship — Unified Editorial & Homepage Stylesheet
   Replaces Tailwind Play CDN with zero-JS, fast-loading static CSS
   ========================================================================== */

:root {
  --bg-ivory: #fdfcf8;
  --bg-white: #ffffff;
  --bg-stone-50: #fafaf9;
  --bg-stone-200: #e7e5e4;
  --bg-stone-800: #292524;
  --bg-stone-900: #1c1917;

  --text-ink: #1a1a1a;
  --text-stone-600: #57534e;
  --text-stone-500: #78716c;
  --text-stone-400: #a8a29e;
  --text-stone-300: #d6d3d1;

  --accent-red-900: #7f1d1d;
  --accent-red-hover: #631717;

  --font-serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-biblical: 'SBL Greek', 'SBL Hebrew', 'Gentium Plus', 'Times New Roman', serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg-ivory);
  color: var(--text-ink);
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.sans {
  font-family: var(--font-sans);
}

/* ==========================================================================
   Sticky Top Navigation
   ========================================================================== */
.site-nav {
  border-bottom: 1px solid var(--bg-stone-200);
  background-color: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-ink);
  text-decoration: none;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 3px;
  object-fit: cover;
  border: 1px solid var(--bg-stone-200);
  flex-shrink: 0;
}

.nav-links-desktop {
  display: none;
  align-items: center;
  gap: 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-stone-500);
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .nav-links-desktop {
    display: flex;
  }
}

@media (min-width: 1280px) {
  .nav-links-desktop {
    gap: 1.85rem;
  }
}

.nav-links-desktop a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links-desktop a:hover,
.nav-links-desktop a.nav-highlight {
  color: var(--accent-red-900);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-support {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background-color: var(--accent-red-900);
  color: var(--bg-white);
  padding: 0.55rem 1rem;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.btn-support:hover {
  background-color: var(--bg-stone-800);
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: var(--text-stone-600);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-drawer {
  display: none;
  background-color: var(--bg-stone-50);
  border-top: 1px solid var(--bg-stone-200);
  padding: 1.5rem;
}

.mobile-menu-drawer.is-open {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu-drawer.is-open {
    display: none;
  }
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-stone-500);
}

.mobile-menu-links a {
  color: inherit;
  text-decoration: none;
}

.mobile-menu-links a.nav-highlight {
  color: var(--accent-red-900);
}

/* ==========================================================================
   Homepage Sections
   ========================================================================== */
.hero-bg {
  background-color: var(--bg-ivory);
  border-bottom: 1px solid var(--bg-stone-200);
  padding: 6rem 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-bg {
    padding: 8rem 1.5rem;
  }
}

.hero-inner {
  max-width: 56rem;
  margin: 0 auto;
}

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent-red-900);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 2rem;
  color: var(--text-ink);
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--text-stone-600);
  line-height: 1.7;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.btn-hero {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background-color: var(--bg-stone-900);
  color: var(--bg-white);
  padding: 1.25rem 3rem;
  text-decoration: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease;
}

.btn-hero:hover {
  background-color: var(--accent-red-900);
}

/* Research Pillars Grid */
.pillars-section {
  max-width: 80rem;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.section-header-line {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--bg-stone-200);
  padding-bottom: 1rem;
}

.section-header-line h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-stone-400);
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--bg-stone-200);
  border: 1px solid var(--bg-stone-200);
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar-card {
  background-color: var(--bg-white);
  padding: 2.5rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background-color 0.15s ease;
}

.pillar-card:hover {
  background-color: var(--bg-stone-50);
}

.pillar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--text-ink);
  transition: color 0.15s ease;
}

.pillar-card:hover h3 {
  color: var(--accent-red-900);
}

.pillar-card p {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-stone-500);
  line-height: 1.65;
  margin: 0;
}

/* Official Publications Showcase */
.publications-section {
  background-color: var(--bg-stone-50);
  border-top: 1px solid var(--bg-stone-200);
  border-bottom: 1px solid var(--bg-stone-200);
  padding: 6rem 1.5rem;
}

.publications-inner {
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .publications-inner {
    flex-direction: row;
    gap: 4rem;
  }
}

.pub-media,
.pub-content {
  width: 100%;
}

@media (min-width: 1024px) {
  .pub-media,
  .pub-content {
    width: 50%;
  }
}

.pub-cover-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.22);
  transition: opacity 0.2s ease;
}

.pub-cover-img:hover {
  opacity: 0.95;
}

.pub-content h2 {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  line-height: 1.25;
}

.pub-lead {
  font-size: 1.075rem;
  color: var(--text-stone-600);
  line-height: 1.75;
  margin: 0 0 1.5rem;
}

.pub-sub {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-stone-500);
  line-height: 1.65;
  margin: 0 0 2rem;
}

.review-callout-link {
  display: block;
  text-decoration: none;
  margin-bottom: 2rem;
}

.review-callout {
  background-color: var(--bg-white);
  padding: 1.5rem;
  border: 1px solid var(--bg-stone-200);
  font-style: italic;
  color: var(--text-stone-500);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease;
}

.review-callout-link:hover .review-callout {
  border-color: var(--accent-red-900);
}

.review-author {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-stone-400);
  transition: color 0.2s ease;
}

.review-callout-link:hover .review-author {
  color: var(--accent-red-900);
}

.cta-underline {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-red-900);
  text-decoration: none;
  border-bottom: 2px solid var(--accent-red-900);
  padding-bottom: 0.25rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cta-underline:hover {
  color: var(--bg-stone-900);
  border-bottom-color: var(--bg-stone-900);
}

/* Student Testimony */
.testimony-section {
  max-width: 80rem;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.testimony-heading {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  font-style: italic;
  color: var(--bg-stone-800);
  margin: 0 0 4rem;
}

.testimony-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimony-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimony-card {
  background-color: var(--bg-white);
  padding: 2rem;
  border: 1px solid var(--bg-stone-200);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  font-style: italic;
  color: var(--text-stone-600);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease;
}

a.testimony-card:hover {
  border-color: var(--accent-red-900);
}

.testimony-card p {
  margin: 0;
}

.testimony-meta {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-stone-400);
}

a.testimony-card:hover .testimony-meta-author {
  color: var(--accent-red-900);
}

.testimony-source-tag {
  color: var(--text-stone-300);
  font-size: 0.5625rem;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Inner Article & Page Layout (Used across all 62 content pages)
   ========================================================================== */
.article-shell {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5.5rem;
}

.entry-header {
  margin-bottom: 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--bg-stone-200);
}

.entry-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-ink);
  margin: 0 0 0.85rem;
}

.entry-meta {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-stone-500);
  margin: 0;
}

.featured-image {
  margin: 1.75rem 0 0;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--bg-stone-200);
  background-color: var(--bg-white);
}

.featured-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.featured-image figcaption {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-stone-500);
  margin-top: 0.5rem;
  line-height: 1.45;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content p {
  margin: 0 0 1.5rem;
}

.entry-content h2 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-ink);
  margin: 2.75rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bg-stone-200);
  scroll-margin-top: 5.5rem;
}

.entry-content h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-ink);
  margin: 2rem 0 0.75rem;
  scroll-margin-top: 5.5rem;
}

.entry-content a {
  color: var(--accent-red-900);
  text-decoration: underline;
  text-decoration-color: rgba(127, 29, 29, 0.35);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.entry-content a:hover {
  color: var(--bg-stone-900);
  text-decoration-color: var(--bg-stone-900);
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background-color: var(--bg-white);
  border-left: 3px solid var(--accent-red-900);
  border-top: 1px solid var(--bg-stone-200);
  border-right: 1px solid var(--bg-stone-200);
  border-bottom: 1px solid var(--bg-stone-200);
  color: var(--text-stone-600);
  font-style: italic;
}

.entry-content blockquote p:last-child {
  margin-bottom: 0;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 2px;
  border: 1px solid var(--bg-stone-200);
  margin: 1.5rem 0;
}

.entry-content figure {
  margin: 2rem 0;
}

.entry-content figcaption {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-stone-500);
  margin-top: 0.5rem;
  text-align: center;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  background-color: var(--bg-white);
  border: 1px solid var(--bg-stone-200);
}

.entry-content th,
.entry-content td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--bg-stone-200);
}

.entry-content th {
  background-color: var(--bg-stone-50);
  font-weight: 700;
  color: var(--text-ink);
}

/* Author Box & Author Hub Profile Styling */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.author-avatar {
  width: 96px;
  height: 96px;
  min-width: 96px;
  max-width: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--bg-stone-200);
  margin: 0;
  display: block;
}

.author-avatar-lg {
  width: 128px;
  height: 128px;
  min-width: 128px;
  max-width: 128px;
}

.author-profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.author-box-more {
  margin-top: 0.65rem;
  margin-bottom: 0;
  font-size: 0.85rem;
  font-weight: 600;
}

.author-box-more a {
  color: var(--accent-red-900);
  text-decoration: none;
}

.author-box-more a:hover {
  text-decoration: underline;
}

.author-article-cat {
  color: var(--text-stone-500);
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .author-box,
  .author-profile-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

[lang="grc"],
[lang="el"],
[lang="he"],
.biblical-text {
  font-family: var(--font-biblical);
  font-size: 1.12em;
}

/* ==========================================================================
   Dark Stone Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg-stone-900);
  color: var(--text-stone-400);
  padding: 5rem 1.5rem;
}

.footer-grid {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  border-bottom: 1px solid var(--bg-stone-800);
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand h3 {
  color: var(--bg-white);
  font-family: var(--font-serif);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1.125rem;
  margin: 0 0 1.5rem;
}

.footer-brand p {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  max-width: 28rem;
  margin: 0;
  line-height: 1.65;
}

.footer-col h4 {
  color: var(--bg-white);
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 1.5rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a,
.footer-contact-link {
  color: var(--text-stone-400);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--bg-white);
}

.footer-contact-link {
  color: var(--bg-white);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer-contact-link:hover {
  color: var(--accent-red-900);
}

.footer-bottom {
  max-width: 80rem;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom p {
  margin: 0;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: var(--text-stone-400);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-legal-links a:hover {
  color: var(--bg-white);
}

/* Responsive 16:9 Video Embeds (Prevents CLS) */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 2rem 0;
  background-color: var(--bg-stone-900);
  border: 1px solid var(--bg-stone-200);
  border-radius: 2px;
  overflow: hidden;
}

.video-embed iframe,
.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Editorial Breadcrumbs */
.breadcrumbs {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-stone-500);
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.breadcrumbs a {
  color: var(--accent-red-900);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Blog Research Feed & Card Grid */
.blog-pillar-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}

.blog-pillar-bar a {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--bg-stone-200);
  border-radius: 4px;
  color: var(--text-ink);
  text-decoration: none;
  background: #fff;
}

.blog-pillar-bar a:hover {
  border-color: var(--accent-red-900);
  color: var(--accent-red-900);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.25rem 0 2.5rem;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--bg-stone-200);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card-img-link img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  margin: 0;
}

.blog-card-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.blog-card-cat {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-red-900);
}

.blog-card-body h3 {
  font-size: 1.02rem;
  line-height: 1.35;
  margin: 0;
}

.blog-card-body h3 a {
  color: var(--text-ink);
  text-decoration: none;
}

.blog-card-body h3 a:hover {
  color: var(--accent-red-900);
  text-decoration: underline;
}

.blog-card-body time {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-stone-500);
  margin-top: auto;
}

@media (max-width: 820px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Email-Verified Contact Form (/contact/)
   ========================================================================== */
.contact-card {
  background-color: var(--bg-white);
  border: 1px solid var(--bg-stone-200);
  border-radius: 4px;
  padding: 2rem;
  margin-top: 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-row-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.contact-field label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-ink);
}

.contact-req {
  color: var(--accent-red-900);
}

.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-ink);
  background-color: var(--bg-stone-50);
  border: 1px solid var(--bg-stone-200);
  border-radius: 3px;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-field textarea {
  resize: vertical;
  min-height: 8.5rem;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  background-color: var(--bg-white);
  border-color: var(--accent-red-900);
  box-shadow: 0 0 0 3px rgba(127, 29, 29, 0.12);
}

.contact-inline-group {
  display: flex;
  gap: 0.65rem;
  align-items: stretch;
}

.contact-inline-group input {
  flex: 1;
  min-width: 0;
}

.contact-verify-box {
  background-color: var(--bg-stone-50);
  border: 1px solid var(--bg-stone-200);
  border-left: 3px solid var(--accent-red-900);
  border-radius: 3px;
  padding: 1rem 1.15rem;
}

.contact-verify-box input[type="text"] {
  background-color: var(--bg-white);
  letter-spacing: 0.25em;
  font-weight: 700;
  max-width: 14rem;
}

.contact-hint {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-stone-500);
  margin: 0.15rem 0 0 !important;
}

.contact-verified-badge {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #166534;
  background-color: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  white-space: nowrap;
}

.contact-btn {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 3px;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.contact-btn-primary {
  background-color: var(--accent-red-900);
  color: var(--bg-white);
  border: 1px solid var(--accent-red-900);
  padding: 0.9rem 1.75rem;
}

.contact-btn-primary:hover:not(:disabled) {
  background-color: var(--accent-red-hover);
  border-color: var(--accent-red-hover);
}

.contact-btn-secondary {
  background-color: var(--bg-stone-900);
  color: var(--bg-white);
  border: 1px solid var(--bg-stone-900);
}

.contact-btn-secondary:hover:not(:disabled) {
  background-color: var(--accent-red-900);
  border-color: var(--accent-red-900);
}

.contact-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact-status {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 0.75rem 1rem;
  border-radius: 3px;
  border: 1px solid var(--bg-stone-200);
}

.contact-status--info {
  background-color: var(--bg-stone-50);
  color: var(--text-stone-600);
}

.contact-status--success {
  background-color: #f0fdf4;
  border-color: #86efac;
  color: #166534;
}

.contact-status--error {
  background-color: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0.25rem;
}

@media (max-width: 600px) {
  .contact-card {
    padding: 1.35rem;
  }

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

  .contact-inline-group {
    flex-direction: column;
  }

  .contact-verify-box input[type="text"] {
    max-width: 100%;
  }
}