/*
Theme Name: Trinity DC
Theme URI: https://trinity-commerce.com/
Author: Trinity DC LLC
Author URI: https://trinity-commerce.com/
Description: Trinity DC LLC corporate site theme. White-based modern minimalism with antique gold accents. Beyond Wealth.
Version: 1.0.6
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
License URI: https://trinity-commerce.com/
Text Domain: trinity-dc
Tags: minimalist, custom-logo, custom-menu, translation-ready
*/

/*
  Trinity DC LLC — Corporate site prototype stylesheet
  Theme: White-based modern minimalism with antique gold accents.
  Richness is expressed through typography and whitespace, never decoration.
*/

:root {
  --bg: #FFFFFF;
  --bg-alt: #FAFAFA;
  --text: #1A1A1A;
  --text-subtle: #6A6A6A;
  --accent: #C9A961;
  --accent-soft: #E6D7B4;
  --hairline: #E8E8E8;

  --serif-en: "Cormorant Garamond", "Noto Serif JP", Georgia, serif;
  --serif-ja: "Noto Serif JP", "Cormorant Garamond", serif;
  --sans-en: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans-ja: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1240px;
  --gutter: 40px;
  --section-y: 160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans-ja), var(--sans-en);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ─────────────────────────────────────────
   Header
   ───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 24px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--hairline);
  background: rgba(255, 255, 255, 0.95);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif-en);
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
}

.brand-mark {
  width: 26px;
  height: auto;
  display: block;
  color: var(--text);
  transition: color 0.3s ease;
}

.brand:hover .brand-mark { color: var(--accent); }

.brand-text {
  display: inline-block;
  letter-spacing: 0.04em;
}

.brand-dot {
  color: var(--accent);
  margin: 0 3px;
  font-weight: 500;
  display: inline-block;
}

.nav {
  display: flex;
  gap: 40px;
  font-family: var(--sans-en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding: 4px 0;
  color: var(--text);
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

.nav a:hover { color: var(--accent); }
.nav a:hover::after { transform: scaleX(1); }

/* ─────────────────────────────────────────
   Hero
   ───────────────────────────────────────── */
.hero {
  padding-top: 88px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-text { max-width: 480px; }

.hero-title {
  font-family: var(--serif-en);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  color: var(--text);
}

.hero-sub-ja {
  font-family: var(--serif-ja);
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: 0.16em;
  margin: 0 0 56px;
}

.hairline {
  border: 0;
  border-top: 1px solid var(--accent);
  width: 64px;
  margin: 0 0 36px;
}

.hero-body {
  font-family: var(--serif-ja);
  font-weight: 300;
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.12em;
  margin: 0 0 20px;
}

.hero-body-en {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--text-subtle);
  margin: 0;
}

.hero-image {
  height: 72vh;
  min-height: 480px;
  background-image: url('assets/images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ─────────────────────────────────────────
   Section base
   ───────────────────────────────────────── */
.section {
  padding: var(--section-y) 0;
}

.section-alt { background: var(--bg-alt); }

.section-label {
  font-family: var(--sans-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}

.hairline-short {
  border: 0;
  border-top: 1px solid var(--hairline);
  width: 56px;
  margin: 0 0 64px;
}

/* ─────────────────────────────────────────
   Philosophy
   ───────────────────────────────────────── */
.philosophy-body {
  max-width: 720px;
}

.philosophy-body p {
  font-family: var(--serif-ja);
  font-weight: 300;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 2.3;
  letter-spacing: 0.12em;
  margin: 0 0 40px;
}

.philosophy-body p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────────
   Products
   ───────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.product-card {
  padding: 56px 48px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.product-card:hover {
  border-color: var(--accent);
}

.product-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans-en);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin: 0 0 48px;
}

.product-status { color: var(--accent); }

.product-name {
  font-family: var(--serif-ja);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.4;
  letter-spacing: 0.1em;
  margin: 0 0 28px;
}

.product-name-sub {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--serif-en);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
}

.product-tagline {
  font-family: var(--serif-ja);
  font-weight: 300;
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin: 0 0 40px;
  flex: 1;
}

.product-link {
  align-self: flex-start;
  font-family: var(--sans-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--accent);
  padding: 0 0 6px;
  transition: color 0.2s ease, letter-spacing 0.3s ease;
}

.product-link:hover {
  color: var(--accent);
  letter-spacing: 0.28em;
}

.product-card-empty {
  background: transparent;
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 56px 40px;
}

.coming-soon-label {
  font-family: var(--sans-en);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

/* ─────────────────────────────────────────
   Company
   ───────────────────────────────────────── */
.company-list {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px 56px;
  max-width: 720px;
  margin: 0 0 48px;
}

.company-list dt {
  font-family: var(--sans-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-subtle);
  align-self: baseline;
  padding-top: 4px;
}

.company-list dd {
  margin: 0;
  font-family: var(--serif-ja);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--text);
}

.company-note {
  font-family: var(--sans-ja);
  font-weight: 300;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  margin: 0;
}

.company-note a {
  color: var(--text);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.company-note a:hover { color: var(--accent); }

/* ─────────────────────────────────────────
   Contact
   ───────────────────────────────────────── */
.contact-lead {
  font-family: var(--serif-ja);
  font-weight: 300;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 2.2;
  letter-spacing: 0.1em;
  margin: 0 0 56px;
  max-width: 640px;
}

.contact-cta {
  display: inline-block;
  font-family: var(--sans-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--text);
  padding: 22px 56px;
  transition: background 0.3s ease, color 0.3s ease, letter-spacing 0.3s ease;
}

.contact-cta:hover {
  background: var(--text);
  color: var(--bg);
  letter-spacing: 0.28em;
}

/* ─────────────────────────────────────────
   Footer
   ───────────────────────────────────────── */
.site-footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--hairline);
  background: var(--bg);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 32px;
}

.footer-brand {
  font-family: var(--serif-en);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--text);
}

.footer-nav {
  display: flex;
  gap: 40px;
  justify-content: center;
  font-family: var(--sans-ja);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
}

.footer-nav a {
  color: var(--text-subtle);
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: var(--accent); }

.footer-copy {
  text-align: right;
  font-family: var(--sans-en);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--text-subtle);
  margin: 0;
}

/* ─────────────────────────────────────────
   Responsive
   ───────────────────────────────────────── */
@media (max-width: 960px) {
  :root {
    --section-y: 100px;
    --gutter: 28px;
  }

  .nav { display: none; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-image {
    order: -1;
    height: 50vh;
    min-height: 320px;
  }
  .hero-text { max-width: 100%; }

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

  .product-card { padding: 40px 32px; }

  .company-list {
    grid-template-columns: 1fr;
    gap: 8px 0;
  }
  .company-list dd { margin-bottom: 20px; }

  .site-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-copy { text-align: center; }
  .footer-nav { flex-wrap: wrap; gap: 16px 28px; }
}

/* ─────────────────────────────────────────
   Product detail page
   ───────────────────────────────────────── */
.product-hero {
  padding-top: 200px;
  padding-bottom: 120px;
  background: var(--bg);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--sans-en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin: 0 0 64px;
}

.breadcrumb a {
  color: var(--text-subtle);
  transition: color 0.2s ease;
}

.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--text); }

.product-hero-domain {
  display: inline-block;
  font-family: var(--sans-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.product-hero-title {
  font-family: var(--serif-ja);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.3;
  letter-spacing: 0.08em;
  margin: 0 0 40px;
  color: var(--text);
}

.product-hero-subtitle {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--serif-en);
  font-weight: 300;
  font-style: italic;
  font-size: 0.55em;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
}

.product-hero-lead {
  font-family: var(--serif-ja);
  font-weight: 300;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 2.2;
  letter-spacing: 0.1em;
  max-width: 680px;
  margin: 0;
  color: var(--text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.feature { padding: 0; }

.feature-title {
  font-family: var(--serif-ja);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.12em;
  margin: 0 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--accent);
  width: fit-content;
}

.feature-body {
  font-family: var(--serif-ja);
  font-weight: 300;
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin: 0;
}

.apply-note {
  font-family: var(--sans-ja);
  font-size: 12px;
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  margin: 40px 0 0;
}

.apply-note a {
  color: var(--text);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.apply-note a:hover { color: var(--accent); }

.inline-link {
  color: var(--text);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.inline-link:hover { color: var(--accent); }

.product-hero-note {
  font-family: var(--sans-ja);
  font-weight: 300;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  margin: 40px 0 0;
}

.detail-prose {
  max-width: 720px;
  margin: 0 0 32px;
}

.detail-prose p {
  font-family: var(--serif-ja);
  font-weight: 300;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 2.2;
  letter-spacing: 0.1em;
  margin: 0 0 24px;
  color: var(--text);
}

.detail-prose p:last-child { margin-bottom: 0; }

.detail-disclaimer {
  font-family: var(--sans-ja);
  font-weight: 300;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  padding: 20px 24px;
  background: var(--bg);
  border-left: 2px solid var(--accent);
  margin: 0;
  max-width: 720px;
}

.section-alt .detail-disclaimer { background: var(--bg-alt); }

.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 720px;
  border-top: 1px solid var(--hairline);
}

.steps-list li {
  display: flex;
  align-items: baseline;
  gap: 40px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}

.step-num {
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  flex-shrink: 0;
  width: 72px;
}

.step-body {
  font-family: var(--serif-ja);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: var(--text);
}

.support-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.support-list li {
  font-family: var(--serif-ja);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.08em;
  padding-left: 28px;
  position: relative;
  color: var(--text);
}

.support-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.spec-list {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px 56px;
  max-width: 720px;
  margin: 0;
}

.spec-list dt {
  font-family: var(--sans-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-subtle);
  align-self: baseline;
  padding-top: 4px;
}

.spec-list dd {
  margin: 0;
  font-family: var(--serif-ja);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--text);
}

.placeholder {
  color: var(--text-subtle);
  font-style: italic;
  font-size: 0.95em;
}

@media (max-width: 960px) {
  .spec-list {
    grid-template-columns: 1fr;
    gap: 6px 0;
  }
  .spec-list dd { margin-bottom: 20px; }

  .steps-list li {
    flex-direction: column;
    gap: 6px;
    padding: 20px 0;
  }
  .step-num { width: auto; }
}

/* ─────────────────────────────────────────
   Contact form
   ───────────────────────────────────────── */
.contact-form {
  max-width: 560px;
  display: grid;
  gap: 32px;
  margin: 0 0 32px;
}

.form-field {
  display: block;
}

.form-label {
  display: block;
  font-family: var(--sans-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 0;
  font-family: var(--serif-ja);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-cta-submit {
  align-self: flex-start;
  margin-top: 8px;
  cursor: pointer;
  font-family: var(--sans-en);
  background: transparent;
}

/* ─────────────────────────────────────────
   Legal documents (Terms / Privacy)
   ───────────────────────────────────────── */
.legal-prose {
  max-width: 760px;
  font-family: var(--serif-ja);
  font-weight: 300;
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.06em;
  color: var(--text);
}

.legal-prose h2 {
  font-family: var(--serif-ja);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.1em;
  margin: 64px 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
  color: var(--text);
}

.legal-prose h2:first-child { margin-top: 0; }

.legal-prose h3 {
  font-family: var(--serif-ja);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.08em;
  margin: 36px 0 16px;
  color: var(--text);
}

.legal-prose p {
  margin: 0 0 20px;
}

.legal-prose ul,
.legal-prose ol {
  padding-left: 24px;
  margin: 0 0 24px;
}

.legal-prose li {
  margin-bottom: 8px;
}

.legal-prose dl {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px 40px;
  margin: 0 0 32px;
}

.legal-prose dt {
  font-weight: 400;
  color: var(--text-subtle);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.legal-prose dd {
  margin: 0;
}

.legal-prose a {
  color: var(--text);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color 0.2s ease;
}

.legal-prose a:hover { color: var(--accent); }

.placeholder-notice {
  font-family: var(--sans-ja);
  font-weight: 300;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
}

@media (max-width: 760px) {
  .legal-prose dl {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }
  .legal-prose dd { margin-bottom: 16px; }
}

@media (max-width: 960px) {
  .product-hero {
    padding-top: 140px;
    padding-bottom: 80px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* ============================================================
 * Snow Monkey Forms (snow-monkey-forms plugin) overrides.
 * Goal: blend the existing form (form id=132 on /contact/) into
 * Trinity DC's minimal aesthetic without modifying the plugin.
 *
 * Scope is gated by .contact-form-host (set in page-contact.php)
 * so SMF forms on any other page keep their default styles.
 * ============================================================ */

.contact-form-host {
  max-width: 720px;
  margin: 48px auto 0;
}

.contact-form-host .snow-monkey-form {
  background: transparent;
  border: 0;
  padding: 0;
  font-family: var(--sans-ja);
}

.contact-form-host .smf-form,
.contact-form-host .smf-item,
.contact-form-host .smf-item__col,
.contact-form-host .smf-item__controls {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}

.contact-form-host .smf-item {
  margin-bottom: 32px;
}

.contact-form-host .smf-item__col--label {
  margin-bottom: 10px;
}

.contact-form-host .smf-item__label__text {
  display: inline-block;
  font-family: var(--sans-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.contact-form-host .smf-text-control,
.contact-form-host .smf-textarea-control {
  display: block;
  width: 100%;
}

.contact-form-host .smf-text-control__control,
.contact-form-host .smf-textarea-control__control,
.contact-form-host .smf-tel-control__control,
.contact-form-host .smf-url-control__control {
  width: 100%;
  font-family: var(--serif-ja);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--bg);
  border: 0;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  padding: 12px 0;
  outline: 0;
  box-shadow: none;
  transition: border-color 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form-host .smf-text-control__control:focus,
.contact-form-host .smf-textarea-control__control:focus,
.contact-form-host .smf-tel-control__control:focus,
.contact-form-host .smf-url-control__control:focus {
  border-bottom-color: var(--accent);
}

.contact-form-host .smf-textarea-control__control {
  min-height: 160px;
  resize: vertical;
  line-height: 1.9;
}

/* Submit button — match .contact-cta visual language */
.contact-form-host .smf-action {
  margin-top: 40px;
  text-align: left;
}

.contact-form-host .smf-action button,
.contact-form-host .smf-action input[type="submit"],
.contact-form-host .smf-action .smf-button-control__control,
.contact-form-host .smf-button-control__control {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif-ja);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--accent);
  border-radius: 0;
  padding: 12px 4px;
  cursor: pointer;
  text-transform: none;
  transition: color 0.2s ease, border-color 0.2s ease, padding 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form-host .smf-action button:hover,
.contact-form-host .smf-action input[type="submit"]:hover,
.contact-form-host .smf-button-control__control:hover {
  color: var(--accent);
  padding-right: 12px;
}

/* Notes / hints under each field */
.contact-form-host .smf-item__notes,
.contact-form-host .smf-item__description {
  font-family: var(--sans-ja);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-subtle);
  letter-spacing: 0.06em;
  margin-top: 8px;
}

/* Validation error messages */
.contact-form-host .smf-error,
.contact-form-host .smf-text-control__error,
.contact-form-host .smf-textarea-control__error {
  font-family: var(--sans-ja);
  font-size: 12px;
  color: #B05050;
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* System-managed elements that should stay invisible until needed */
.contact-form-host .smf-focus-point {
  display: none;
}

.contact-form-host .smf-system-error-content-ready {
  font-family: var(--sans-ja);
  font-size: 13px;
  color: #B05050;
  margin-top: 16px;
  line-height: 1.8;
}

/* Intro paragraph that appears above the form (from post_content) */
.contact-form-host > p:not(.contact-lead):not(.apply-note) {
  font-family: var(--serif-ja);
  font-weight: 300;
  font-size: 15px;
  line-height: 2.1;
  color: var(--text-subtle);
  margin: 0 0 36px;
  letter-spacing: 0.08em;
}

/* Required indicator if SMF emits .smf-item__label__required */
.contact-form-host .smf-item__label__required,
.contact-form-host .smf-item__required {
  display: inline-block;
  margin-left: 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  vertical-align: 1px;
}

@media (max-width: 760px) {
  .contact-form-host {
    margin-top: 32px;
  }
  .contact-form-host .smf-item {
    margin-bottom: 28px;
  }
  .contact-form-host .smf-textarea-control__control {
    min-height: 140px;
  }
}
