/* Hallmark · pre-emit critique: P4 H5 E4 S4 R5 V4 */
:root {
  --color-paper: #ffffff;
  --color-paper-soft: #f5f7fa;
  --color-ink: #14213d;
  --color-ink-2: #25324b;
  --color-muted: #667085;
  --color-line: #d8dee8;
  --color-green: #0f6b57;
  --color-green-dark: #0a4f41;
  --color-brass: #b38b45;
  --color-blue: #315f8f;
  --shadow-panel: 0 24px 70px rgba(20, 33, 61, 0.16);
  --font-sans: "Inter", Arial, sans-serif;
  --font-serif: "Libre Baskerville", Georgia, serif;
  --max: 1180px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 max(22px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 222, 232, 0.82);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
}
.brand img {
  width: min(232px, calc(100vw - 96px));
  max-width: 100%;
  height: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: var(--color-ink-2);
  font-size: 14px;
  font-weight: 700;
}
.nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--color-brass); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.phone-link {
  color: var(--color-green-dark);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(179, 139, 69, 0.36);
  outline-offset: 3px;
}
.btn--primary { background: var(--color-green); color: #fff; }
.btn--primary:hover { background: var(--color-green-dark); }
.btn--secondary { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--secondary:hover { background: rgba(255, 255, 255, 0.2); }
.btn--large { min-height: 52px; padding: 16px 24px; font-size: 15px; }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: var(--color-paper);
}
.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: calc(var(--header-h) + 96px) max(24px, calc((100vw - var(--max)) / 2)) 120px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}
.hero__image, .hero__image img, .hero__shade {
  position: absolute;
  inset: 0;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__shade {
  background:
    linear-gradient(90deg, rgba(11, 18, 32, 0.86) 0%, rgba(11, 18, 32, 0.64) 42%, rgba(11, 18, 32, 0.08) 100%),
    linear-gradient(0deg, rgba(11, 18, 32, 0.5), rgba(11, 18, 32, 0));
}
.hero__content {
  position: relative;
  max-width: 750px;
}
.hero h1 {
  margin: 0;
  max-width: 720px;
  font-family: var(--font-serif);
  font-size: 76px;
  line-height: 0.98;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.hero__lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 21px;
  line-height: 1.45;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__bar {
  position: absolute;
  left: max(24px, calc((100vw - var(--max)) / 2));
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-ink);
  box-shadow: var(--shadow-panel);
}
.hero__bar div { padding: 22px 24px; border-right: 1px solid var(--color-line); }
.hero__bar div:last-child { border-right: 0; }
.hero__bar strong { display: block; font-size: 15px; }
.hero__bar span { display: block; margin-top: 4px; color: var(--color-muted); font-size: 13px; line-height: 1.4; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 104px 24px;
}
.section__eyeline {
  margin-bottom: 16px;
  color: var(--color-green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1.12;
  font-weight: 700;
}
h3 { margin: 0; font-size: 20px; line-height: 1.25; }
p { margin: 0; color: var(--color-muted); }
.intro { padding-top: 92px; }
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 68px;
  align-items: start;
}
.intro__copy { display: grid; gap: 18px; font-size: 18px; }
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 44px;
  align-items: end;
  margin-bottom: 42px;
}
.section__head p { font-size: 17px; }

.services { border-top: 1px solid var(--color-line); }
.services__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--color-line);
  background: var(--color-paper);
}
.services__list article {
  min-height: 280px;
  padding: 28px;
  border-right: 1px solid var(--color-line);
}
.services__list article:last-child { border-right: 0; }
.services__list span {
  display: block;
  margin-bottom: 54px;
  color: var(--color-brass);
  font-weight: 900;
}
.services__list p { margin-top: 14px; }

.image-band {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 10px;
  padding: 10px;
  background: var(--color-ink);
}
.image-band img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.approach {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
  gap: 60px;
  align-items: center;
}
.approach__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-panel);
}
.approach__content h2 { max-width: 620px; }
.timeline { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--color-line); }
.timeline div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-line);
}
.timeline span { color: var(--color-green-dark); font-weight: 900; }

.methods { background: var(--color-paper-soft); max-width: none; }
.methods > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.method-grid article {
  min-height: 190px;
  padding: 28px;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
}
.method-grid p { margin-top: 12px; }

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1.22fr);
  gap: 54px;
  align-items: center;
}
.proof__content p { margin-top: 18px; font-size: 18px; }
.text-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--color-green-dark);
  font-weight: 900;
  border-bottom: 2px solid var(--color-brass);
}
.proof__gallery {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
}
.proof__gallery figure { margin: 0; }
.proof__gallery img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.proof__gallery figure:first-child img { height: 360px; margin-top: 80px; }
figcaption {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 54px;
  align-items: start;
  max-width: none;
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  background: var(--color-ink);
  color: #fff;
}
.contact p { color: rgba(255, 255, 255, 0.72); font-size: 18px; margin-top: 18px; }
.contact__direct { display: grid; gap: 10px; margin-top: 28px; font-weight: 800; }
.lead-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: var(--color-paper);
  color: var(--color-ink);
  box-shadow: var(--shadow-panel);
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
label {
  display: grid;
  gap: 7px;
  color: var(--color-ink-2);
  font-size: 13px;
  font-weight: 900;
}
input, select, textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #fff;
  color: var(--color-ink);
  padding: 13px 12px;
  font-size: 15px;
  font-weight: 500;
}
textarea { resize: vertical; }
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lead-form__submit { width: 100%; margin-top: 4px; }
.form-status {
  min-height: 24px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
}
.form-status.is-success { color: var(--color-green-dark); }
.form-status.is-error { color: #a23d3d; }

.faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
details {
  border: 1px solid var(--color-line);
  padding: 22px;
  background: var(--color-paper);
}
summary {
  cursor: pointer;
  color: var(--color-ink);
  font-weight: 900;
}
details p { margin-top: 14px; }

.footer {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 34px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--color-line);
  background: var(--color-paper-soft);
}
.footer img { width: 232px; height: auto; }
.footer p { max-width: 370px; }
.footer div { display: flex; gap: 18px; font-weight: 800; color: var(--color-green-dark); }

@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .site-header { gap: 12px; }
  .brand img { width: min(214px, calc(100vw - 116px)); }
  .header-actions { margin-left: auto; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 22px;
    background: var(--color-paper);
    border-bottom: 1px solid var(--color-line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--color-line); }
  .menu-button { display: inline-block; }
  .phone-link, .header-actions .btn { display: none; }
  .hero { min-height: 88vh; padding-top: calc(var(--header-h) + 72px); padding-bottom: 180px; }
  .hero h1 { font-size: 54px; }
  .hero__lead { font-size: 19px; }
  .hero__bar { grid-template-columns: 1fr; }
  .hero__bar div { padding: 15px 18px; border-right: 0; border-bottom: 1px solid var(--color-line); }
  .hero__bar div:last-child { border-bottom: 0; }
  .intro__grid, .section__head, .approach, .proof, .contact { grid-template-columns: 1fr; }
  .services__list, .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services__list article { border-bottom: 1px solid var(--color-line); }
  .services__list article:nth-child(2n) { border-right: 0; }
  .image-band { grid-template-columns: 1fr; }
  .image-band img { height: 300px; }
  .approach__media img { aspect-ratio: 16 / 10; }
  .proof__gallery img, .proof__gallery figure:first-child img { height: 330px; margin-top: 0; }
  .footer { display: grid; }
  .footer div { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .site-header { padding-left: 18px; padding-right: 18px; }
  .brand img { width: min(206px, calc(100vw - 116px)); }
  .hero {
    display: block;
    min-height: auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 44px;
  }
  .hero__shade {
    background:
      linear-gradient(90deg, rgba(11, 18, 32, 0.86), rgba(11, 18, 32, 0.54)),
      linear-gradient(0deg, rgba(11, 18, 32, 0.56), rgba(11, 18, 32, 0));
  }
  .hero h1 { font-size: 42px; line-height: 1.02; }
  .hero__lead { font-size: 17px; }
  .hero__actions { display: grid; }
  .hero__bar {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }
  .section { padding: 72px 20px; }
  h2 { font-size: 31px; }
  .intro__grid, .section__head, .approach, .proof, .contact { gap: 28px; }
  .services__list, .method-grid, .proof__gallery, .faq__grid, .field-row { grid-template-columns: 1fr; }
  .services__list article { min-height: auto; border-right: 0; }
  .services__list span { margin-bottom: 28px; }
  .timeline div { grid-template-columns: 1fr; gap: 8px; }
  .lead-form { padding: 22px; }
  .footer { padding: 30px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
