:root {
  --background: #fff;
  --foreground: #0a1936;
  --primary: #bd4f2b;
  --primary-foreground: #fff;
  --surface: #f4f6f8;
  --copy: #536070;
  --line: #d7dde3;
  --rule: #c4cbd3;
  --display: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 16px;
  padding: 10px 14px;
  background: var(--foreground);
  color: #fff;
}
.skip-link:focus { top: 16px; }
:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 60%, transparent);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 84px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}
.wordmark {
  color: var(--foreground);
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: .24em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav > a:not(.header-cta) {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.site-nav > a:not(.header-cta):hover { color: var(--primary); }
.header-cta, .primary-cta, .submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 2px;
  background: var(--primary);
  box-shadow: none;
  color: var(--primary-foreground);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 0 24px;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta { min-height: 42px; }
.header-cta:hover, .primary-cta:hover, .submit-button:hover { background: #9f3f21; }
.menu-toggle, .mobile-menu { display: none; }

.hero {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 48px;
  max-width: var(--max);
  min-height: min(690px, calc(100vh - 84px));
  margin: 0 auto;
  padding: clamp(74px, 10vw, 132px) 24px 76px;
}
.hero h1, .section h2, .section h3, .legal-main h1, .legal-main h2, .not-found h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
}
.hero h1 { font-size: clamp(58px, 7.1vw, 102px); letter-spacing: -.045em; line-height: .97; }
.accent-rule { width: 56px; height: 2px; margin: 34px 0 26px; background: var(--primary); }
.hero-copy > p {
  max-width: 560px;
  margin: 0;
  color: var(--copy);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 42px; }
.text-link {
  color: var(--foreground);
  font-size: 14px;
  font-weight: 600;
  text-decoration-color: var(--primary);
  text-underline-offset: 7px;
}
.hero-mark { display: grid; place-items: center; min-width: 0; }
.hero-mark picture { display: block; width: min(100%, 650px); }
.hero-mark img { display: block; width: 100%; height: auto; }

.section { position: relative; padding: 104px 24px; border-top: 1px solid var(--line); }
.section-shell { max-width: var(--max); margin: 0 auto; }
.section h2 { font-size: clamp(42px, 5vw, 68px); letter-spacing: -.035em; line-height: 1.08; }
.services { background: var(--surface); }
.services > .section-shell > h2 { max-width: 830px; margin-bottom: 72px; }
.services-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 72px; }
.ip-feature { padding-right: 72px; border-right: 1px solid var(--rule); }
.service-heading { display: grid; grid-template-columns: 54px 1fr; align-items: start; gap: 22px; }
.service-number { color: var(--primary); font-size: 13px; letter-spacing: .08em; }
.service-heading h3, .secondary-services h3 {
  font-size: clamp(38px, 4vw, 54px);
  letter-spacing: -.025em;
  line-height: 1.02;
}
.service-heading p { max-width: 500px; margin: 20px 0 30px; color: var(--copy); }
.service-list { margin: 0; padding: 0 0 0 76px; list-style: none; }
.service-list li { padding: 21px 0; border-top: 1px solid var(--rule); }
.service-list span { display: block; margin-bottom: 3px; font-weight: 600; }
.service-list small { color: var(--copy); font-size: 14px; }
.secondary-services { display: grid; grid-template-rows: 1fr 1fr; gap: 42px; }
.secondary-services article { display: flex; flex-direction: column; justify-content: center; }
.secondary-services article + article { padding-top: 42px; border-top: 1px solid var(--rule); }
.secondary-services h3 { margin: 18px 0; }
.secondary-services p { max-width: 360px; margin: 0; color: var(--copy); }

.approach { background: var(--background); text-align: center; }
.anchor-offset { position: absolute; top: -84px; }
.approach h2 { max-width: 960px; margin: 0 auto 72px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); }
.principles article { padding: 0 48px; }
.principles article + article { border-left: 1px solid var(--rule); }
.principles span { color: var(--primary); font-size: 13px; letter-spacing: .08em; }
.principles h3 { margin: 22px 0 14px; font-size: 27px; }
.principles p { max-width: 320px; margin: 0 auto; color: var(--copy); font-size: 15px; }

.contact { background: var(--background); }
.contact-layout { display: grid; grid-template-columns: .74fr 1.26fr; align-items: start; gap: 86px; }
.contact-intro .accent-rule { margin-top: 28px; }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 160px 1fr; align-items: center; gap: 18px; }
.form-row > label, .form-row > legend { font-size: 14px; font-weight: 600; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
  color: var(--foreground);
  font-size: 15px;
}
.contact-form input[type="text"], .contact-form input[type="email"] { height: 48px; padding: 0 14px; }
.contact-form textarea { min-height: 128px; padding: 13px 14px; resize: vertical; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { border-color: var(--primary); }
.need-fieldset { margin: 0; padding: 0; border: 0; }
.need-fieldset legend { float: left; width: 160px; }
.radio-options { grid-column: 2; display: flex; flex-wrap: wrap; gap: 22px; }
.radio-label { display: inline-flex; align-items: center; gap: 8px; color: var(--copy); cursor: pointer; font-size: 14px; }
.radio-label input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--primary);
}
.message-row { align-items: start; }
.message-row > label { padding-top: 10px; }
.submit-button { width: calc(100% - 178px); margin-left: 178px; }
.form-disclaimer, .form-status {
  margin: -7px 0 0 178px;
  color: var(--copy);
  font-size: 12px;
}
.form-status { min-height: 22px; color: var(--primary); font-weight: 600; }
.honeypot-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit-button:disabled { cursor: wait; opacity: .72; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto auto auto;
  align-items: center;
  gap: 30px;
  min-height: 90px;
  padding: 28px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: var(--copy);
  font-size: 13px;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--primary); }
.site-footer div { display: flex; gap: 18px; }

.legal-main, .not-found {
  max-width: 860px;
  min-height: calc(100vh - 174px);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) 24px;
}
.legal-main h1, .not-found h1 { font-size: clamp(52px, 7vw, 82px); letter-spacing: -.04em; line-height: 1; }
.legal-main .accent-rule, .not-found .accent-rule { margin-top: 30px; }
.legal-main .lede { margin: 0 0 44px; color: var(--copy); font-size: 19px; }
.legal-main h2 { margin: 38px 0 12px; font-size: 31px; }
.legal-main p, .legal-main li { color: var(--copy); }
.legal-main ul { padding-left: 22px; }
.legal-main .updated { margin-top: 48px; font-size: 13px; }
.not-found p { max-width: 560px; margin: 0 0 32px; color: var(--copy); font-size: 19px; }

@media (max-width: 900px) {
  .site-header { min-height: 72px; }
  .site-nav > a:not(.header-cta) { display: none; }
  .menu-toggle {
    display: grid;
    place-content: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    margin-left: -22px;
    padding: 0;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
  }
  .menu-toggle > span:not(.sr-only) { display: block; width: 18px; height: 1px; background: var(--foreground); }
  .mobile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    padding: 16px max(24px, calc((100vw - var(--max)) / 2)) 22px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 10px 20px rgba(10, 25, 54, .08);
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { padding: 12px 0; font-size: 14px; font-weight: 600; text-decoration: none; }
  .mobile-menu a + a { border-top: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 82px; }
  .hero-mark { display: none; }
  .services-layout, .contact-layout { grid-template-columns: 1fr; }
  .ip-feature { padding: 0 0 52px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .secondary-services { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
  .secondary-services article + article { padding: 0 0 0 32px; border-top: 0; border-left: 1px solid var(--rule); }
  .principles article { padding: 0 24px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-header { gap: 12px; padding-inline: 18px; }
  .wordmark { font-size: 19px; letter-spacing: .16em; }
  .site-nav { display: none; }
  .menu-toggle { width: 38px; height: 38px; margin-left: auto; }
  .mobile-menu { padding-inline: 20px; }
  .hero { padding: 68px 20px 66px; }
  .hero h1 { font-size: clamp(51px, 16vw, 72px); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 20px; }
  .primary-cta { width: 100%; }
  .text-link { align-self: flex-start; }
  .section { padding: 74px 20px; }
  .section h2 { font-size: 42px; }
  .services > .section-shell > h2 { margin-bottom: 52px; }
  .service-heading { grid-template-columns: 1fr; gap: 12px; }
  .service-heading h3 { font-size: 44px; }
  .service-list { padding-left: 0; }
  .secondary-services { grid-template-columns: 1fr; gap: 0; }
  .secondary-services article { padding: 38px 0; }
  .secondary-services article + article { padding: 38px 0 0; border-top: 1px solid var(--rule); border-left: 0; }
  .principles { grid-template-columns: 1fr; }
  .principles article { padding: 30px 0; }
  .principles article + article { border-top: 1px solid var(--rule); border-left: 0; }
  .approach h2 { margin-bottom: 36px; }
  .contact-layout { gap: 42px; }
  .form-row { grid-template-columns: 1fr; gap: 8px; }
  .need-fieldset legend { float: none; width: auto; margin-bottom: 10px; }
  .radio-options { grid-column: 1; flex-direction: column; gap: 12px; }
  .message-row > label { padding-top: 0; }
  .submit-button, .form-disclaimer, .form-status { width: 100%; margin-left: 0; }
  .site-footer { grid-template-columns: 1fr; gap: 9px; padding-block: 30px; }
}

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