/* NDAP public site: a local copy of the Squarespace www.ndap.com design (card 392). Own CSS, local fonts and
   images, no third-party requests and no inline styles (contact.php's CSP forbids them).
   Fonts: Figtree and Bodoni Moda (SIL OFL 1.1, fonts/OFL-*.txt) stand in for the Typekit faces the
   Squarespace site uses (proxima-nova, ltc-bodoni-175), which are licensed for Squarespace hosting only. */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("fonts/figtree-latin.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("fonts/figtree-latin-italic.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/bodonimoda-latin-italic.woff2") format("woff2"); }

:root {
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --serif: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --text: #8a8a8a;
  --heading: #444;
  --dark: #1f1f1f;
  --nav: #a1a1a1;
  --rule: #e3e3e3;
  --field: #fafafa;
  --field-line: #ccc;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 300 16px/1.6 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--text); text-decoration: none; }
a:hover, a:focus { color: #555; }
p { margin: 0 0 1.2em; }
h1, h2, h3 { margin: 0 0 .8em; color: var(--heading); font-family: var(--sans); }
h1 { font-size: 26px; font-weight: 300; line-height: 1.4; letter-spacing: .01em; }
h2 { font-size: 20px; font-weight: 300; line-height: 1.3; letter-spacing: .03em; }
h3 { font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: .04em; }
em { font-style: italic; }
strong { font-weight: 600; }
.text-align-center { text-align: center; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 30px 0; }

/* Header: site title on the left, the navigation next to it. */
.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 48px; max-width: 1180px; margin: 0 auto; padding: 40px 40px; }
.site-title { color: #000; font: 800 33px/1.1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.site-title:hover, .site-title:focus { color: rgba(130, 130, 130, .7); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; padding: 4px 0 4px .5em; color: var(--nav); font: 500 10px/1.4 var(--sans); letter-spacing: .5em; text-transform: uppercase; }
.nav a:hover, .nav a:focus { color: #141414; }
.nav a[aria-current="page"] { color: var(--dark); font-weight: 700; }

/* Banner: the page image across the full width, with the page title on it. */
.banner { position: relative; height: clamp(220px, 33.6vw, 520px); overflow: hidden; background: #222; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .18); }
.banner-text { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 0 24px; text-align: center; }
.page-title { margin: 0; color: #fff; font: 300 30px/1.2 var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.page-description { color: #fff; }

/* Content: the Squarespace 12-column grid, as rows of columns with a gutter. */
.content, .site-footer { max-width: 1180px; margin: 0 auto; padding: 0 23px; }
.content { padding-top: 34px; padding-bottom: 20px; }
.row { display: flex; flex-wrap: wrap; }
.col { min-width: 0; padding: 0 17px; }
.row .row { margin: 0 -17px; }
.blk { margin: 0 0 17px; }
.blk.text p:last-child, .blk.text h1:last-child, .blk.text h2:last-child, .blk.text h3:last-child { margin-bottom: 0; }
.spacer.v1 { height: 24px; }
.spacer.v2 { height: 48px; }
.spacer.v3 { height: 72px; }
.spacer.v4 { height: 96px; }
.blk.image { margin: 0 0 17px; text-align: center; }
.blk.image img { display: block; margin: 0 auto; }
.blk.text blockquote, .blk.quote blockquote { margin: 0 0 1em; color: var(--heading); font: italic 400 18px/1.55 var(--serif); letter-spacing: .01em; }
.blk.text blockquote p { margin: 0 0 1em; }
.blk.quote { margin: 0 0 24px; }
.blk.quote figcaption { color: var(--text); font-size: 14px; text-align: right; }
.blk.button { text-align: center; }
.btn { display: inline-block; padding: 22px 34px; border: 0; background: #000; color: #fff; font: 500 10px/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; cursor: pointer; }
.btn:hover, .btn:focus { background: #333; color: #fff; }
.blk.map { margin: 0 0 24px; }
.blk.map img { display: block; width: 100%; }
.blk.map figcaption { font-size: 11px; text-align: right; }
.section.page-footer h3 { margin: 0 0 1.8em; }
.section.page-footer h3, .section.page-footer h3 a { color: var(--heading); font-weight: 500; }
.section.page-footer h3 a:hover, .section.page-footer h3 a:focus { color: #000; }

/* Contact form (contact.php). */
.form-wrap label, .form-wrap .legend { display: block; margin: 0 0 4px; color: var(--heading); font-size: 15px; }
.form-wrap .req { color: #aaa; font-size: 10px; }
.form-wrap .sub { color: #666; font-size: 10px; margin: 0 0 2px; }
.form-wrap .field { margin: 0 0 20px; }
.form-wrap .name { display: flex; gap: 8px; }
.form-wrap .name > div { flex: 1; }
.form-wrap input[type=text], .form-wrap input[type=email], .form-wrap textarea { width: 100%; padding: 12px; border: 1px solid var(--field-line); background: var(--field); color: #000; font: 300 15px/1.4 var(--sans); }
.form-wrap textarea { min-height: 100px; resize: vertical; }
.form-wrap .btn-outline { padding: 18px 34px; border: 2px solid #000; background: #fff; color: #000; font: 400 13px/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.form-wrap .btn-outline:hover, .form-wrap .btn-outline:focus { background: #000; color: #fff; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin: 0 0 20px; padding: 12px 16px; border: 1px solid var(--rule); color: var(--heading); }
.notice.err { border-color: #d9a3a3; }
.notice p, .notice ul { margin: 0; }

/* Site footer: the copyright line under a full-width rule. */
.site-footer { padding-top: 20px; padding-bottom: 60px; border-top: 1px solid #eee; max-width: none; text-align: center; }
.site-footer p { color: #333; font-size: 12px; font-weight: 400; }

/* Column widths: s<span>-<parent span>, as in the Squarespace grid. */
.s1-1 { flex: 0 0 100%; max-width: 100%; }
.s1-2 { flex: 0 0 50%; max-width: 50%; }
.s2-2 { flex: 0 0 100%; max-width: 100%; }
.s1-3 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.s2-3 { flex: 0 0 66.6667%; max-width: 66.6667%; }
.s3-3 { flex: 0 0 100%; max-width: 100%; }
.s1-4 { flex: 0 0 25%; max-width: 25%; }
.s2-4 { flex: 0 0 50%; max-width: 50%; }
.s3-4 { flex: 0 0 75%; max-width: 75%; }
.s4-4 { flex: 0 0 100%; max-width: 100%; }
.s1-5 { flex: 0 0 20%; max-width: 20%; }
.s2-5 { flex: 0 0 40%; max-width: 40%; }
.s3-5 { flex: 0 0 60%; max-width: 60%; }
.s4-5 { flex: 0 0 80%; max-width: 80%; }
.s5-5 { flex: 0 0 100%; max-width: 100%; }
.s1-6 { flex: 0 0 16.6667%; max-width: 16.6667%; }
.s2-6 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.s3-6 { flex: 0 0 50%; max-width: 50%; }
.s4-6 { flex: 0 0 66.6667%; max-width: 66.6667%; }
.s5-6 { flex: 0 0 83.3333%; max-width: 83.3333%; }
.s6-6 { flex: 0 0 100%; max-width: 100%; }
.s1-7 { flex: 0 0 14.2857%; max-width: 14.2857%; }
.s2-7 { flex: 0 0 28.5714%; max-width: 28.5714%; }
.s3-7 { flex: 0 0 42.8571%; max-width: 42.8571%; }
.s4-7 { flex: 0 0 57.1429%; max-width: 57.1429%; }
.s5-7 { flex: 0 0 71.4286%; max-width: 71.4286%; }
.s6-7 { flex: 0 0 85.7143%; max-width: 85.7143%; }
.s7-7 { flex: 0 0 100%; max-width: 100%; }
.s1-8 { flex: 0 0 12.5%; max-width: 12.5%; }
.s2-8 { flex: 0 0 25%; max-width: 25%; }
.s3-8 { flex: 0 0 37.5%; max-width: 37.5%; }
.s4-8 { flex: 0 0 50%; max-width: 50%; }
.s5-8 { flex: 0 0 62.5%; max-width: 62.5%; }
.s6-8 { flex: 0 0 75%; max-width: 75%; }
.s7-8 { flex: 0 0 87.5%; max-width: 87.5%; }
.s8-8 { flex: 0 0 100%; max-width: 100%; }
.s1-9 { flex: 0 0 11.1111%; max-width: 11.1111%; }
.s2-9 { flex: 0 0 22.2222%; max-width: 22.2222%; }
.s3-9 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.s4-9 { flex: 0 0 44.4444%; max-width: 44.4444%; }
.s5-9 { flex: 0 0 55.5556%; max-width: 55.5556%; }
.s6-9 { flex: 0 0 66.6667%; max-width: 66.6667%; }
.s7-9 { flex: 0 0 77.7778%; max-width: 77.7778%; }
.s8-9 { flex: 0 0 88.8889%; max-width: 88.8889%; }
.s9-9 { flex: 0 0 100%; max-width: 100%; }
.s1-10 { flex: 0 0 10%; max-width: 10%; }
.s2-10 { flex: 0 0 20%; max-width: 20%; }
.s3-10 { flex: 0 0 30%; max-width: 30%; }
.s4-10 { flex: 0 0 40%; max-width: 40%; }
.s5-10 { flex: 0 0 50%; max-width: 50%; }
.s6-10 { flex: 0 0 60%; max-width: 60%; }
.s7-10 { flex: 0 0 70%; max-width: 70%; }
.s8-10 { flex: 0 0 80%; max-width: 80%; }
.s9-10 { flex: 0 0 90%; max-width: 90%; }
.s10-10 { flex: 0 0 100%; max-width: 100%; }
.s1-11 { flex: 0 0 9.0909%; max-width: 9.0909%; }
.s2-11 { flex: 0 0 18.1818%; max-width: 18.1818%; }
.s3-11 { flex: 0 0 27.2727%; max-width: 27.2727%; }
.s4-11 { flex: 0 0 36.3636%; max-width: 36.3636%; }
.s5-11 { flex: 0 0 45.4545%; max-width: 45.4545%; }
.s6-11 { flex: 0 0 54.5455%; max-width: 54.5455%; }
.s7-11 { flex: 0 0 63.6364%; max-width: 63.6364%; }
.s8-11 { flex: 0 0 72.7273%; max-width: 72.7273%; }
.s9-11 { flex: 0 0 81.8182%; max-width: 81.8182%; }
.s10-11 { flex: 0 0 90.9091%; max-width: 90.9091%; }
.s11-11 { flex: 0 0 100%; max-width: 100%; }
.s1-12 { flex: 0 0 8.3333%; max-width: 8.3333%; }
.s2-12 { flex: 0 0 16.6667%; max-width: 16.6667%; }
.s3-12 { flex: 0 0 25%; max-width: 25%; }
.s4-12 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.s5-12 { flex: 0 0 41.6667%; max-width: 41.6667%; }
.s6-12 { flex: 0 0 50%; max-width: 50%; }
.s7-12 { flex: 0 0 58.3333%; max-width: 58.3333%; }
.s8-12 { flex: 0 0 66.6667%; max-width: 66.6667%; }
.s9-12 { flex: 0 0 75%; max-width: 75%; }
.s10-12 { flex: 0 0 83.3333%; max-width: 83.3333%; }
.s11-12 { flex: 0 0 91.6667%; max-width: 91.6667%; }
.s12-12 { flex: 0 0 100%; max-width: 100%; }

/* Banner focal points, per page. */
.banner.b-home1 img { object-position: 45% 68%; }
.banner.b-aboutndap img { object-position: 43% 43%; }
.banner.b-products img { object-position: 51% 73%; }
.banner.b-clients img { object-position: 49% 43%; }
.banner.b-systems img { object-position: 54% 65%; }
.banner.b-contact img { object-position: 50% 50%; }

/* Phones: the columns stack and the spacer-only columns disappear. */
@media (max-width: 640px) {
  .site-header { justify-content: center; padding: 24px 16px; }
  .nav { justify-content: center; }
  .content { padding-left: 0; padding-right: 0; }
  .col { flex-basis: 100% !important; max-width: 100% !important; }
  .col:has(> .spacer:only-child) { display: none; }
  .page-title { font-size: 22px; letter-spacing: .2em; }
}
