/* People HiTec — static clone (no WordPress). Values taken from the original Salient theme CSS. */
:root {
  --red: #d70000;          /* accent color */
  --charcoal: #2a2a2a;     /* extra color 1 / dark sections */
  --text: #555;
  --soft: #f9f9f7;
  --serif: "Bree Serif", Georgia, serif;
  --sans: "Mulish", "Muli", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 1, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--text);
  font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.4em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.12; color: var(--charcoal); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.dark :focus-visible, .site-header :focus-visible, .side :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: #fff; }
.skip { position: absolute; left: -999px; top: 8px; background: #000; color: #fff; padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding-top: env(safe-area-inset-top, 0px); transition: background 0.3s; }
.site-header.solid { background: #000; }
.site-header.overlay { background: transparent; }
.site-header.overlay.scrolled { background: #000; }
.bar { height: 72px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: block; line-height: 0; }
.logo img { height: 44px; width: auto; }
.header-right { display: flex; align-items: center; gap: 22px; }
.nav { display: flex; }
.nav a { font-family: var(--sans); font-weight: 700; font-size: 17px; color: #fff; text-decoration: none; padding: 8px 30px; transition: opacity 0.2s, color 0.2s; }
.overlay .nav a { opacity: 0.8; }
.overlay .nav a:hover, .overlay .nav a[aria-current="page"] { opacity: 1; }
.nav a:hover { color: var(--red); }
.overlay .nav a:hover { color: #fff; }
.solid .nav a[aria-current="page"] { color: var(--red); }
.menu-btn { background: none; border: 0; color: #fff; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; padding: 0; opacity: 0.85; transition: opacity 0.2s; }
.menu-btn:hover { opacity: 1; }
.ico-menu { width: 26px; height: 26px; }

/* slide-out panel (opens from the menu button; holds the contact message) */
.side { position: fixed; inset: 0 0 0 auto; width: min(440px, 100%); background: var(--red); color: #fff; z-index: 150; padding: 22px 53px 80px; display: flex; flex-direction: column; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0s 0.45s; }
.side.open { transform: none; visibility: visible; transition: transform 0.45s var(--ease); }
.side .close { align-self: flex-end; background: none; border: 0; color: #fff; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; margin-right: -14px; padding: 0; }
.side-nav { display: none; flex-direction: column; margin: 12px 0 0; }
.side-nav a { color: #fff; text-decoration: none; font-weight: 700; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.side-nav a[aria-current="page"] { text-decoration: underline; }
.side-body { margin-top: auto; padding-top: 40px; }
.side-lead { font-family: var(--serif); font-size: 26px; line-height: 1.17; color: #fff; margin: 0 0 40px; }
.side-lead a { text-decoration: underline; }
.side-phone { font-family: var(--serif); font-size: 26px; color: #fff; margin: 0 0 32px; }
.side address { font-style: normal; font-size: 19px; line-height: 1.4; color: #fff; margin-bottom: 44px; }
.social { display: flex; gap: 20px; }
.social a { color: rgba(255, 255, 255, 0.55); display: grid; place-items: center; width: 24px; height: 24px; transition: color 0.2s; }
.social a:hover { color: #fff; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); z-index: 120; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0s 0.35s; }
.scrim.open { opacity: 1; visibility: visible; transition: opacity 0.35s; }

/* ---------- heroes ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: #0b3d49; display: flex; align-items: center; }
.hero .bg, .hero video, .hero .tint { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .bg { background-size: cover; background-position: center; }
.hero video { object-fit: cover; opacity: 0; transition: opacity 0.8s; }
.hero video.ready { opacity: 1; }
.hero h1 { color: #fff; }
.hero-text { position: relative; z-index: 2; }

.hero.home { height: 70vh; min-height: 520px; max-height: 760px; justify-content: center; text-align: center; padding-bottom: 7vh; }
.hero.home .bg { background-image: url(../images/home_poster.jpg); }
.hero.home .tint { background: rgba(0, 88, 94, 0.55); }
.hero.home h1 { font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: 1.05; }
.hero.home h2 { font-family: var(--sans); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.7rem); color: var(--red); line-height: 1.2; margin-top: 4px; }
.hero.home .down { position: absolute; left: 50%; bottom: 7vh; transform: translateX(-50%); z-index: 2; color: #fff; display: block; line-height: 0; }
.ico-arrow { width: 22px; height: 58px; animation: nudge 2.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

.hero.page { height: 404px; margin-top: 72px; }
.hero.page .bg.photo { background-size: cover; }
.hero.about .bg { background-image: url(../images/about_hero.jpg); background-position: center 24%; }
.hero.services .bg { background-image: url(../images/services_hero.jpg); background-position: center; }
.hero.page::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 12, 20, 0.35), rgba(0, 12, 20, 0) 65%); }
.hero-text.left { padding: 0 max(4.8%, 24px); margin-top: -30px; }
.hero .kicker { font-family: var(--sans); font-weight: 400; font-size: clamp(1.9rem, 3.2vw, 2.7rem); color: var(--red); line-height: 1.1; }
.hero.page h1 { font-size: clamp(2.4rem, 4.4vw, 3.5rem); line-height: 1.1; }

/* ---------- rows ---------- */
.row { padding-block: clamp(64px, 6vw, 112px); }
.cols { display: grid; padding-inline: 5%; align-items: center; }
.cols.two { grid-template-columns: 1fr 1fr; column-gap: 2%; }
.cols.two .copy { max-width: 540px; }
.cols.two .copy p:last-child { margin-bottom: 0; }
.cols.two .title { padding-left: 4.5%; }
.cols.flip { grid-template-columns: 1fr 1fr; }
.cols.flip .title { padding-left: 0; }
.cols.flip .copy { padding-left: 4.2%; max-width: none; }
.cols.flip .copy p { max-width: 560px; }
.red { color: var(--red); font-size: clamp(2.2rem, 3.5vw, 3.2rem); margin-bottom: 0.2em; }
.orange { color: var(--red); font-size: clamp(2rem, 2.9vw, 2.6rem); line-height: 1.12; }
.title h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.2; }
.intro .cols { min-height: 0; }
.about-intro .title h3 { max-width: 520px; }

.dark { background: var(--charcoal); color: #fff; }
.dark h3 { color: #fff; }
.dark p { color: #fff; font-weight: 400; }

/* We imagine / design / do */
.trio { padding-block: clamp(70px, 6.6vw, 125px); }
.cols.three { grid-template-columns: repeat(3, 1fr); text-align: center; }
.ico-lg { width: 76px; height: 76px; fill: var(--red); display: block; margin: 0 auto 26px; }
.trio h3 { font-size: clamp(1.8rem, 2.4vw, 2.3rem); margin-bottom: 8px; }
.trio p { font-size: 18px; margin: 0; }

/* representatives */
.reps { background: var(--soft); }
.reps-grid { grid-template-columns: 38% 1fr 1fr; column-gap: 0; align-items: start; padding-inline: 4.5%; }
.reps-title { font-size: clamp(1.9rem, 2.5vw, 2.4rem); max-width: 330px; padding-top: 6px; }
.rep img { width: 200px; height: auto; display: block; margin-bottom: 8px; }
.rep h4 { color: var(--red); font-size: 16px; margin: 0 0 20px; }
.rep ul { list-style: none; margin: 0; padding: 0; font-size: 18px; line-height: 1.35; }
.rep li { padding-left: 38px; position: relative; margin-bottom: 0; }
.rep li::before { content: ""; position: absolute; left: 8px; top: 0.78em; width: 13px; height: 1px; background: #a8a8a8; }
.rep a { text-decoration: none; }
.rep a:hover { color: var(--red); }

/* about pillars */
.pillars-row { padding-block: clamp(70px, 6.6vw, 125px); }
.pillars { display: grid; grid-template-columns: 1fr 1fr; column-gap: 9%; row-gap: clamp(48px, 5vw, 96px); padding-inline: 4.3%; }
.pillar { display: grid; grid-template-columns: 52px 1fr; align-items: start; }
.pillar img { width: 32px; height: 32px; margin-top: 8px; }
.pillar h3 { font-size: clamp(1.9rem, 2.4vw, 2.3rem); margin-bottom: 6px; }
.pillar p { font-size: 17px; line-height: 1.45; margin: 0 0 1.4em; max-width: 720px; }
.pillar p:last-child { margin-bottom: 0; }

/* services: fancy boxes */
.offer { padding-block: clamp(56px, 5vw, 90px) clamp(60px, 5.5vw, 100px); }
.fancy-row { width: 90%; margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.fancy { position: relative; }
.fancy::before { content: ""; position: absolute; left: 1%; top: 1%; width: 98%; height: 98%; box-shadow: 0 30px 90px var(--red); opacity: 0; transition: opacity 0.45s var(--ease); }
.fancy:hover::before, .fancy:focus-within::before { opacity: 0.33; }
.box-inner { position: relative; padding: 10% 14%; overflow: hidden; height: 100%; background: #fff; }
.box-bg { position: absolute; inset: 0; background: var(--red); opacity: 0; transition: opacity 0.45s var(--ease); }
.fancy:hover .box-bg, .fancy:focus-within .box-bg { opacity: 1; }
.fancy .inner { position: relative; z-index: 1; text-align: left; color: #444; }
.fancy .inner .ico-box { color: var(--red); }
.fancy .inner * { transition: color 0.45s var(--ease), fill 0.45s var(--ease), opacity 0.45s var(--ease); }
.ico-box { width: 54px; height: 54px; fill: var(--red); color: var(--red); display: block; margin-bottom: 25px; }
.fancy h3 { font-size: 24px; margin-bottom: 10px; color: #444; }
.fancy p { margin: 0; color: #777; font-size: 17px; line-height: 1.8; }
.fancy:hover .inner *, .fancy:focus-within .inner * { color: #fff; }
.fancy:hover .ico-box, .fancy:focus-within .ico-box { fill: #fff; color: #fff; }
.fancy:hover p, .fancy:focus-within p { opacity: 0.85; }
.fancy { outline: none; }

/* regional presence */
.regional { background: #f8f8f8 url(../images/map_bg.jpg) left top / auto 100% no-repeat; padding-block: clamp(48px, 4vw, 70px) clamp(80px, 7vw, 120px); }
.regional-grid { display: grid; grid-template-columns: 55% 1fr; padding-right: 5%; }
.regional .copy { grid-column: 2; }
.regional h2 { margin-bottom: 22px; }
.regional .copy p { max-width: 600px; }
.regional .copy p:last-child { margin-bottom: 0; }

/* services: points list */
.points-row { padding-block: clamp(70px, 7vw, 130px); }
.points { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 9%; padding-inline: 4%; }
.points ul { list-style: none; margin: 0; padding: 0; }
.points li { display: grid; grid-template-columns: 45px 1fr; align-items: start; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); font-size: 17px; line-height: 1.4; color: #fff; font-weight: 400; }
.points li:first-child { padding-top: 0; }
.points li:last-child { border-bottom: 0; padding-bottom: 0; }
.ico-pt { width: 32px; height: 32px; fill: #fff; margin: -4px 0 0 -2px; }
.adapted { padding-block: clamp(70px, 7vw, 125px); }

/* ---------- footer ---------- */
.site-footer { background: var(--red); color: #fff; padding-block: 70px 78px; }
.foot { display: grid; grid-template-columns: 33.7% 1fr 1fr 0; padding-left: 0; }
.foot { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 33.7%; padding-right: 8%; }
.site-footer h4 { color: #fff; font-size: 24px; margin-bottom: 6px; }
.site-footer p { margin: 0; color: #fff; font-size: 18px; line-height: 1.35; max-width: 270px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .fancy-row { grid-template-columns: repeat(2, 1fr); }
  .points { grid-template-columns: 1fr 1fr; row-gap: 0; }
  .foot { padding-left: 8%; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .side-nav { display: flex; }
  .cols.two, .cols.flip, .cols.three, .reps-grid, .pillars, .regional-grid { grid-template-columns: 1fr; }
  .cols.two .title, .cols.flip .copy { padding-left: 0; }
  .cols.two { row-gap: 32px; }
  .cols.three { row-gap: 56px; }
  .regional .copy { grid-column: 1; }
  .regional { background-size: cover; background-position: center; }
  .regional::before { content: ""; }
  .reps-grid { row-gap: 36px; }
  .hero.page { height: 340px; }
  .bar { padding: 0 20px; }
  .foot { grid-template-columns: 1fr; row-gap: 28px; padding-inline: 8%; }
  .pillar { grid-template-columns: 46px 1fr; }
}
@media (max-width: 700px) {
  .regional-grid { padding-inline: 24px; }
  .points { padding-inline: 24px; }
  .fancy-row { width: 100%; }
  .fancy-row, .points { grid-template-columns: 1fr; }
  .points ul + ul { margin-top: 0; }
  .points li { padding: 20px 0; }
  .points ul:not(:last-child) li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.18); padding-bottom: 20px; }
  .points ul + ul li:first-child { padding-top: 20px; }
  .box-inner { padding: 36px 32px; }
  .side { padding-inline: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ico-arrow { animation: none; }
  .side, .side.open, .scrim, .box-bg, .fancy::before { transition: none; }
}
