/* HFS — index.css
   Homepage. The foundation (body, .rivet-rule, .wordmark, .subline, footer)
   lives in style.css and must not be restated here — only real overrides.
   Never retype a font stack; use var(--font-*). Nav CSS is owned by nav.js. */

/* The homepage runs the header lockup at display scale. */
header {
      text-align: center;
      padding: 3.5rem 1.5rem 3rem;
    }
/* Must qualify with .riveted to outrank `.riveted .rvt.tl` — see style.css. */
header.riveted .rvt.tl { top: 14px;    left: 16px;  }
header.riveted .rvt.tr { top: 14px;    right: 16px; }
header.riveted .rvt.bl { bottom: 14px; left: 16px;  }
header.riveted .rvt.br { bottom: 14px; right: 16px; }
.lockup { gap: 1.75rem; }
.shield { width: 104px; }
.wordmark { font-size: clamp(2.3rem, 6.5vw, 3.9rem); }
.wordmark-rule {
      width: calc(100% + 30px);
      margin: 0.8rem 0 0.65rem -15px;
    }
.subline { font-size: clamp(0.82rem, 1.6vw, 0.98rem); }
.descriptor {
      margin-top: 1.9rem;
      font-family: var(--font-condensed);
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.3em;
      font-size: clamp(1.05rem, 2.4vw, 1.45rem);
      color: var(--metal);
    }
.insignia-row {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      gap: 1.2rem;
      padding: 0.85rem 1.5rem;
      background-color: var(--field);
      border-top: 1px solid rgba(207,196,170,0.18);
      border-bottom: 1px solid rgba(207,196,170,0.18);
    }
.insignia-row .insignia { width: 28px; height: 28px; display: block; opacity: 0.93; }
.insignia-sep { width: 1px; height: 20px; background: rgba(207,196,170,0.32); }
.hero {
      background-color: var(--parchment);
      border-bottom: 1px solid var(--rule);
      padding: 4.25rem 1.5rem 4rem;
      text-align: center;
    }
.hero-eyebrow { width: 116px; margin: 0 auto 1.9rem; }
.hero h1 {
      font-family: var(--font-serif);
      font-weight: 400;
      font-size: clamp(1.65rem, 4vw, 2.5rem);
      color: var(--ink);
      line-height: 1.28;
      max-width: 680px;
      margin: 0 auto 1.2rem;
    }
.hero p {
      font-size: 1.05rem;
      color: var(--ink-mid);
      max-width: 580px;
      margin: 0 auto 2.1rem;
      text-align: left;
    }
.creed {
      background-color: var(--field);
      color: var(--bone);
      text-align: center;
      padding: 2.7rem 1.5rem;
      border-top: 1px solid var(--ink);
      border-bottom: 1px solid var(--ink);
    }
.creed-rule { width: 64px; margin: 0 auto 1.4rem; }
.creed-label {
      font-family: var(--font-condensed);
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.26em;
      font-size: 0.72rem;
      color: var(--metal);
      margin-bottom: 1.15rem;
    }
.creed-de, .creed-ru {
      font-family: var(--font-serif);
      font-style: italic;
      font-size: clamp(1.05rem, 2.2vw, 1.25rem);
      color: var(--bone);
      line-height: 1.45;
      max-width: 620px;
      margin: 0 auto;
    }
.creed-ru { margin-top: 0.35rem; }
.creed-en {
      font-family: var(--font-condensed);
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-size: 0.82rem;
      color: var(--rule);
      margin-top: 1.1rem;
    }
.btn-primary {
      display: inline-block;
      background-color: var(--field);
      color: var(--bone);
      text-decoration: none;
      padding: 0.85rem 2.3rem;
      font-family: var(--font-condensed);
      font-weight: 600;
      font-size: 0.86rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      border: 1px solid var(--field);
      transition: background 0.18s, color 0.18s;
    }
.btn-primary:hover { background-color: var(--ink-mid); border-color: var(--ink-mid); }
.section { max-width: 920px; margin: 0 auto; padding: 3.75rem 1.5rem; }
.section-header { text-align: center; margin-bottom: 2.6rem; }
.section-header h2,
    .about-inner h2,
    .contact-inner h2 {
      font-family: var(--font-condensed);
      font-weight: 600;
      font-size: clamp(1.4rem, 3vw, 1.95rem);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ink);
      margin-bottom: 0.85rem;
    }
.section-header .rule-line { width: 64px; margin: 0 auto; }
.services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.75rem;
    }
.services-note {
      max-width: 640px;
      margin: 2.2rem auto 0;
      text-align: center;
      font-style: italic;
      font-size: 0.97rem;
      color: var(--ink-light);
    }
.service-card {
      background-color: var(--bone);
      border: 1px solid var(--rule);
      padding: 2.1rem 1.8rem;
    }
.service-card h3 {
      font-family: var(--font-condensed);
      font-weight: 600;
      font-size: 1.12rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ink);
      text-align: center;
      margin-bottom: 0.7rem;
    }
.service-card p { font-size: 0.97rem; color: var(--ink-mid); line-height: 1.65; }
.divider { border: none; border-top: 1px solid var(--rule); margin: 0; }
.about-section {
      background-color: var(--parchment);
      border-top: 1px solid var(--rule);
      border-bottom: 1px solid var(--rule);
    }
.about-inner { max-width: 700px; margin: 0 auto; padding: 3.75rem 1.5rem; text-align: center; }
.about-inner p { color: var(--ink-mid); margin-bottom: 1rem; font-size: 1rem; text-align: left; }
#contact { background-color: var(--field); color: var(--bone); }
.contact-inner { max-width: 600px; margin: 0 auto; padding: 4rem 1.5rem; text-align: center; }
.contact-inner h2 { color: var(--bone); }
.contact-inner > p { color: var(--rule); margin-bottom: 2.5rem; font-size: 1rem; }
.contact-eyebrow { width: 90px; margin: 0 auto 1.6rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; text-align: left; }
.contact-form label {
      font-family: var(--font-condensed);
      font-weight: 500;
      font-size: 0.76rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--rule);
      display: block;
      margin-bottom: 0.4rem;
    }
.contact-form input,
    .contact-form textarea,
    .contact-form select {
      width: 100%;
      background: rgba(242,236,223,0.05);
      border: 1px solid rgba(207,196,170,0.35);
      color: var(--bone);
      padding: 0.7rem 0.9rem;
      font-family: var(--font-sans);
      font-size: 0.95rem;
      outline: none;
      border-radius: 0;
      transition: border-color 0.18s;
    }
.contact-form input:focus,
    .contact-form textarea:focus,
    .contact-form select:focus { border-color: var(--metal); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form select option { background: var(--field); }
.btn-submit {
      width: 100%;
      background-color: var(--bone);
      color: var(--field);
      border: 1px solid var(--bone);
      padding: 0.9rem;
      font-family: var(--font-condensed);
      font-weight: 600;
      font-size: 0.86rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      cursor: pointer;
      transition: background 0.18s, color 0.18s;
      margin-top: 0.4rem;
    }
.btn-submit:hover { background-color: var(--metal); border-color: var(--metal); }
/* Extends the foundation's focus ring to this page's form controls. */
a:focus-visible, button:focus-visible,
    input:focus-visible, select:focus-visible, textarea:focus-visible {
      outline: 2px solid var(--oxblood);
      outline-offset: 2px;
    }
@media (max-width: 600px) {
      .services-grid { grid-template-columns: 1fr; }
      .lockup { gap: 1.1rem; }
      .lockup-text { text-align: center; }
      .wordmark-rule { margin-left: auto; margin-right: auto; }
      .hero h1 br { display: none; }
    }
