@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --black: #000;
  --white: #fff;
  --red-dirt: #b3471f;
  --red-dirt-dark: #8f3716;
  --concrete: #ecebe8;
  --line: #c9c7c2;
  --muted: #55524d;
  --muted-on-dark: #c9c7c2;
  --error: #a3161a;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --section: clamp(64px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font: 400 1.0625rem/1.6 "Archivo", system-ui, "Segoe UI", Arial, sans-serif;
  overflow-wrap: break-word;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; box-shadow: 0 0 0 2px var(--white); border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--white); box-shadow: 0 0 0 2px var(--black); }

h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.05; text-wrap: balance; }
h1, h2 { font-stretch: 125%; text-transform: uppercase; }
h2 { font-size: clamp(1.75rem, 1.1rem + 2.7vw, 3.25rem); }
h3 { font-size: 1.3125rem; line-height: 1.2; font-stretch: 112%; }
.lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.5; }

.wrap { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.concrete { background: var(--concrete); }
.dark { background: var(--black); color: var(--white); }
.stack > * + * { margin-top: 1.25rem; }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { margin-top: 1rem; }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; background: var(--white); color: var(--black); font-weight: 700;
}
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 12px 24px;
  border: 2px solid var(--red-dirt); border-radius: 3px;
  background: var(--red-dirt); color: var(--white);
  font: inherit; font-weight: 700; font-stretch: 110%; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; touch-action: manipulation;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { background: var(--red-dirt-dark); border-color: var(--red-dirt-dark); }
.btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.btn-outline:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.light-btn .btn-outline:hover, .btn-outline.on-light:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.btn-white { background: var(--white); border-color: var(--white); color: var(--black); }
.btn-white:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--white); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.brand { display: block; flex: none; padding: 4px 0; }
.brand img { width: 150px; height: auto; filter: brightness(0) invert(1); }
.nav-toggle {
  display: none; min-height: 48px; padding: 10px 18px;
  border: 2px solid currentColor; border-radius: 3px; background: transparent; color: inherit;
  font: inherit; font-weight: 700; cursor: pointer;
}
.nav { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 28px); }
.nav ul { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 28px); }
.nav a:not(.btn) {
  display: block; padding: 10px 0;
  font-size: .9375rem; font-weight: 700; font-stretch: 112%; text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.nav .btn { min-height: 46px; padding: 10px 20px; font-size: .9375rem; white-space: nowrap; }
.nav-phone { display: none; }

/* Heroes */
.hero { position: relative; display: flex; flex-direction: column; background: var(--black); color: var(--white); isolation: isolate; overflow: hidden; }
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.5) 45%, rgba(0,0,0,.7));
}
.hero-home { min-height: min(100svh, 980px); }
.hero-home .hero-body {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding-block: 128px clamp(112px, 15vw, 190px);
}
.hero-home h1 { font-size: clamp(1.8rem, 4.6vw, 4.75rem); line-height: 1.08; }
.hero-home h1 span { display: block; }
.hero-home .lead { margin: 1.5rem auto 2rem; max-width: 58ch; }
.hero-home .actions { justify-content: center; }
.hero-page { min-height: clamp(460px, 68vh, 680px); justify-content: flex-end; }
.hero-page .hero-body { padding-block: 136px clamp(88px, 11vw, 160px); }
.hero-page h1 { font-size: clamp(2rem, 1.1rem + 4vw, 4.5rem); max-width: 18ch; }
.hero-page .lead { margin-top: 1.25rem; max-width: 54ch; }
.hero-page .actions { margin-top: 1.75rem; }
.hero-black { background: var(--black); }

.ridge { position: absolute; inset: auto 0 -1px; width: 100%; height: clamp(44px, 8.5vw, 124px); color: var(--white); pointer-events: none; }
.ridge-top { position: static; display: block; color: var(--black); background: var(--white); margin-bottom: -1px; }
.ridge-top.after-dark { background: var(--black); color: var(--black); display: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero-home h1 span, .hero-home .lead, .hero-home .actions { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-home h1 span:nth-child(2) { animation-delay: .12s; }
  .hero-home h1 span:nth-child(3) { animation-delay: .24s; }
  .hero-home h1 span:nth-child(4) { animation-delay: .36s; }
  .hero-home .lead { animation-delay: .54s; }
  .hero-home .actions { animation-delay: .62s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Video thumbnail in the home hero */
.video-thumb {
  position: absolute; right: var(--gutter); bottom: clamp(70px, 10.5vw, 150px); z-index: 2;
  display: flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px;
  border-radius: 6px; background: rgba(0,0,0,.72); color: var(--white);
  font-size: .9375rem; font-weight: 600; line-height: 1.25; text-decoration: none;
}
.video-thumb:hover { background: var(--black); }
.video-thumb .thumb { position: relative; flex: none; width: 58px; height: 74px; overflow: hidden; border-radius: 4px; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb svg { position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; }
.video-dialog { width: min(92vw, 420px); padding: 0; border: 0; border-radius: 6px; background: var(--black); color: var(--white); }
.video-dialog::backdrop { background: rgba(0,0,0,.82); }
.video-dialog video { width: 100%; max-height: 78vh; background: var(--black); }
.video-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; font-weight: 600; }
.video-dialog-bar button { min-height: 44px; padding: 8px 16px; border: 2px solid var(--white); border-radius: 3px; background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }

/* Home: the three divisions */
.divisions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: var(--white); }
.division {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(520px, 50vw, 720px); padding: clamp(24px, 2.6vw, 40px);
  background: var(--black); color: var(--white); isolation: isolate; overflow: hidden;
}
.division > img.division-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.division:not(.division-black)::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(0,0,0,.42) 10%, rgba(0,0,0,.8) 55%, rgba(0,0,0,.94));
}
.division-black { background: var(--black); }
.division-badge { width: min(100%, 230px); height: auto; margin-bottom: auto; align-self: center; }
.division-logo { width: min(100%, 250px); margin-bottom: 1.25rem; filter: brightness(0) invert(1); }
.division-word { margin-bottom: 1.25rem; font-size: clamp(1.75rem, 2.1vw, 2.6rem); overflow-wrap: normal; font-weight: 800; font-stretch: 112%; line-height: 1; text-transform: uppercase; }
.division h3 { margin-bottom: .5rem; }
.division p { margin-bottom: 1.25rem; }
.division .btn { align-self: flex-start; }

/* Two-column layouts */
.split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; }
.split > :first-child { grid-column: span 5; }
.split > :last-child { grid-column: 7 / -1; }
.split-even > :first-child { grid-column: span 6; }
.split-even > :last-child { grid-column: 7 / -1; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--black); }
.facts > div { padding: 18px 20px 18px 0; }
.facts dt { font-size: .9375rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-size: 1.25rem; font-weight: 700; font-stretch: 110%; line-height: 1.25; }
.facts a { text-decoration-thickness: 2px; text-underline-offset: 3px; }

.ruled li { padding-block: 13px; border-top: 1px solid var(--line); font-weight: 600; }
.ruled li:last-child { border-bottom: 1px solid var(--line); }
.dark .ruled li { border-color: #55524d; }
.ruled-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.ruled-2 li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }

/* Full-bleed statement over a photo */
.statement { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 56vw, 720px); background: var(--black); color: var(--white); isolation: isolate; overflow: hidden; }
.statement img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.statement::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(0,0,0,.12) 20%, rgba(0,0,0,.8)); }
.statement .wrap { padding-block: clamp(40px, 6vw, 80px); }
.statement h2 { max-width: 20ch; }
.statement p { margin-top: 1rem; }
.statement .actions { margin-top: 1.5rem; }

/* Contact band */
.cta-band { background: var(--red-dirt); color: var(--white); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding-block: clamp(48px, 6vw, 80px); }
.cta-band h2 { max-width: 20ch; font-size: clamp(1.625rem, 1.1rem + 2vw, 2.75rem); }
.cta-band p { margin-top: .75rem; }

/* Services */
.service-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(32px, 5vw, 72px); }
.service-groups h3 { margin-bottom: 12px; }
.logo-block { width: min(100%, 360px); }

.story-subhead { margin: 2.25rem 0 .75rem; font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem); }
.callout { border-left: 6px solid var(--red-dirt); padding: 4px 0 4px clamp(18px, 2.4vw, 32px); }
.callout strong { display: block; margin-bottom: .4rem; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 800; font-stretch: 112%; line-height: 1.15; }

/* Photo grid */
.photos { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.photo { grid-column: span 6; margin: 0; }
.photo-wide { grid-column: span 8; }
.photo-narrow { grid-column: span 4; }
.photo-third { grid-column: span 4; }
.photo img, .photo video { width: 100%; object-fit: cover; aspect-ratio: 4 / 3; background: var(--concrete); }
.photo-narrow img, .photo-narrow video { aspect-ratio: 3 / 4; }
.photo-wide img { aspect-ratio: 16 / 9; }
.photo-narrow, .photo-wide { align-self: end; }
.photo figcaption { margin-top: 12px; }
.photo figcaption h3 { margin-bottom: 4px; }
.photo figcaption p { color: var(--muted); }

/* Marks content the owner still has to supply. Remove each before launch. */
.needs-info {
  display: block; padding: 14px 16px; margin-top: 12px;
  border: 2px dashed var(--red-dirt); border-radius: 3px;
  background: #fbefe9; color: #6e2a10; font-size: .9375rem; font-weight: 600; line-height: 1.4;
}
.needs-slot { display: flex; align-items: center; justify-content: center; margin: 0; min-height: 240px; text-align: center; }
.before-after { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.before-after .photo { grid-column: auto; }
.qr { margin: 0; max-width: 340px; }
.qr img { width: 240px; height: 240px; margin-bottom: 14px; border: 1px solid var(--line); }
.qr a { text-underline-offset: 3px; }

/* Forms */
.contact-layout { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 24px; }
.contact-info { grid-column: span 4; }
.contact-form { grid-column: 6 / -1; }
.contact-list dt { color: var(--muted); font-size: .9375rem; }
.contact-list dd { margin: 0 0 1.25rem; font-size: 1.25rem; font-weight: 700; font-stretch: 105%; line-height: 1.3; }
.directory-title { margin: 2rem 0 .75rem; }
.email-directory { margin: 0 0 1.25rem; }
.email-directory > div { padding-block: 8px; border-top: 1px solid var(--line); }
.email-directory dt { color: var(--muted); font-size: .9375rem; }
.email-directory dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.email-directory a { display: inline-block; padding-block: 4px; text-underline-offset: 3px; }
.contact-list a { display: inline-block; padding-block: 6px; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; }
.field .req { color: var(--error); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 50px; padding: 11px 13px;
  border: 2px solid var(--black); border-radius: 3px; background: var(--white); color: var(--black);
  font: inherit; font-size: 1rem;
}
.field textarea { min-height: 150px; resize: vertical; }
.field .hint { margin: 6px 0 0; color: var(--muted); font-size: .9375rem; }
.field .error { margin: 6px 0 0; color: var(--error); font-size: .9375rem; font-weight: 600; }
.field [aria-invalid="true"] { border-color: var(--error); }
.error-summary { margin-bottom: 24px; padding: 16px 18px; border: 2px solid var(--error); border-radius: 3px; }
.error-summary h3 { margin-bottom: 8px; font-size: 1.0625rem; }
.error-summary a { color: var(--error); font-weight: 600; }
.form-status { margin-top: 20px; padding: 16px 18px; border: 2px solid var(--black); border-radius: 3px; font-weight: 600; }
.form-status[hidden], .error-summary[hidden], [data-show][hidden] { display: none; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 12px; color: var(--muted); font-size: .9375rem; }

/* Footer */
.site-footer { background: var(--black); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; padding-block: clamp(32px, 5vw, 64px) 40px; }
.footer-brand { grid-column: span 3; }
.footer-brand img { width: 190px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-col { grid-column: span 3; }
.footer-col:last-child { grid-column: span 3; }
.footer-col h2 { margin-bottom: 10px; font-size: 1rem; font-stretch: 110%; line-height: 1.3; text-transform: none; }
.footer-col li { color: var(--muted-on-dark); }
.footer-col { min-width: 0; }
.footer-col a { display: inline-block; padding-block: 5px; color: var(--white); text-underline-offset: 3px; overflow-wrap: anywhere; }
.footer-bottom { padding-block: 18px; border-top: 1px solid #55524d; color: var(--muted-on-dark); font-size: .9375rem; }

/* Tablet and down */
@media (max-width: 1280px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--black);
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a:not(.btn) { padding: 13px 0; font-size: 1.0625rem; border-bottom: 1px solid #55524d; }
  .nav a:not(.btn):hover { border-bottom-color: #55524d; text-decoration: underline; }
  .nav a[aria-current="page"] { border-bottom-color: #55524d; text-decoration: underline; text-underline-offset: 4px; }
  .nav .btn { margin-top: 16px; }
  .nav-phone { display: block; }
  .site-header { background: linear-gradient(rgba(0,0,0,.4), transparent); }
  .site-header:has(.nav.open) { background: var(--black); }
}
@media (max-width: 960px) {
  .split > :first-child, .split > :last-child, .split-even > :first-child, .split-even > :last-child { grid-column: 1 / -1; }
  .contact-info, .contact-form { grid-column: 1 / -1; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col, .footer-col:last-child { grid-column: span 4; }
  .photo, .photo-wide, .photo-narrow, .photo-third { grid-column: span 6; }
  .photo-wide, .photo-third-end { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .brand img { width: 118px; }
  .hero-home h1 { font-stretch: 100%; font-size: min(6.7vw, 2.6rem); }
  .hero-home .hero-body { padding-bottom: 170px; }
  h1, h2 { font-stretch: 108%; }
  .actions .btn { flex: 1 1 100%; }
  .video-thumb { right: auto; left: 50%; transform: translateX(-50%); bottom: 54px; width: max-content; }
  .facts { grid-template-columns: 1fr; }
  .facts > div { padding-block: 12px; border-bottom: 1px solid var(--line); }
  .ruled-2, .service-groups, .field-row, .before-after { grid-template-columns: minmax(0, 1fr); }
  .ruled-2 li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .photo, .photo-wide, .photo-narrow, .photo-third { grid-column: 1 / -1; }
  .footer-col, .footer-col:last-child { grid-column: 1 / -1; }
  .cta-band .actions { width: 100%; }
}


.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 1280px) {
  .divisions { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .divisions { grid-template-columns: minmax(0, 1fr); }
  .division { min-height: 440px; }
}

/* IA Private Networking hero: its own logo beside the text */
.hero-ia .hero-body { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: clamp(24px, 5vw, 72px); }
.hero-badge { flex: none; width: clamp(240px, 27vw, 360px); height: auto; }
@media (max-width: 800px) {
  .hero-ia .hero-body { flex-direction: column; align-items: flex-start; }
  .hero-badge { width: 200px; }
}
