/* DAHSoftworks — house styles. Hand-written, no framework. */

:root {
  --blue: #1B72AD;
  --blue-mid: #5A9BCB;
  --blue-pale: #D6E6F2;
  --ink: #0f1e28;
  --ink-soft: #47555f;
  --paper: #ffffff;
  --paper-alt: #f4f8fb;
  --rule: #dfe7ec;
  --max-width: 860px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

header.site-header {
  padding: 30px 0;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: relative;
  z-index: 10;
}

header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.wordmark {
  font-size: 24px;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--blue);
  font-weight: 800;
}

.wordmark span {
  color: var(--ink-soft);
  font-weight: 300;
  letter-spacing: 0;
}

nav.site-nav {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

nav.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  margin-left: 28px;
}

nav.site-nav a:first-child {
  margin-left: 0;
}

nav.site-nav a:hover {
  color: var(--blue);
}

section {
  padding: 84px 0;
  border-bottom: 1px solid var(--rule);
}

section:last-of-type {
  border-bottom: none;
}

/* Hero — full-bleed snow/ice image band with overlay text */
.hero {
  padding: 0;
  border-bottom: none;
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
  min-height: 54vh;
  display: flex;
  align-items: flex-end;
}

.hero .wrap {
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero .eyebrow {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d9ecfb;
  margin: 0 0 22px;
  font-weight: 600;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.28;
  font-weight: 600;
  margin: 0 0 24px;
  max-width: 600px;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero .lede {
  font-size: 19px;
  color: #eaf3fa;
  max-width: 520px;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

/* Full-bleed image separator bands between sections */
.image-band {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-band--tall {
  min-height: 340px;
}

.band-statement {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  margin: 0;
  padding: 0 24px;
  letter-spacing: -0.01em;
}

h2.section-title {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  margin: 0 0 36px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--blue);
  display: inline-block;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
}

.service-list li {
  padding: 26px 0;
  border-top: 1px solid var(--rule);
}

.service-list li:nth-child(1),
.service-list li:nth-child(2) {
  border-top: none;
  padding-top: 0;
}

.service-list li.service-list__full {
  grid-column: 1 / -1;
  border-top: 1px solid var(--rule);
  padding-top: 26px;
}

.service-list h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}

.service-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 620px;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
}

.approach-item {
  border-left: 2px solid var(--blue-pale);
  padding-left: 20px;
}

.approach-item h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin: 0 0 8px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--blue);
}

.approach-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.principal p {
  margin: 0 0 14px;
  max-width: 640px;
}

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

.contact-block {
  font-size: 18px;
}

.contact-block a {
  color: var(--blue);
  border-bottom: 1px solid var(--blue-mid);
  text-decoration: none;
}

.contact-block a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.meta-line {
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

footer.site-footer {
  padding: 40px 0 72px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12.5px;
  line-height: 1.6;
  color: #7c8792;
  background: var(--paper-alt);
  border-top: 1px solid var(--rule);
}

footer.site-footer .wrap {
  padding-top: 36px;
}

footer.site-footer p {
  margin: 0 0 10px;
  max-width: 640px;
}

footer.site-footer .copyright {
  margin-top: 20px;
  color: #9aa4ac;
}

@media (max-width: 680px) {
  body { font-size: 17px; }
  .hero { min-height: 68vh; }
  .hero .wrap { padding-top: 80px; padding-bottom: 80px; }
  .hero h1 { font-size: 29px; }
  .hero .lede { font-size: 17px; }
  .band-statement { font-size: 20px; }
  .approach-grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .service-list li:nth-child(2) { border-top: 1px solid var(--rule); padding-top: 26px; }
  section { padding: 52px 0; }
  header.site-header { padding: 22px 0; }
  nav.site-nav a { margin-left: 16px; }
}
