/* Home page sections, in page order. Loaded by index.html, and by the services and industries lists for the rows and tiles. */

/* ---------- Hero: the guards' photograph is the one bold thing ---------- */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(88vh, 50rem);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.hero::after { /* darker on the left, where the words sit, so the faces on the right stay visible */
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(var(--ink-rgb) / .92) 0, rgb(var(--ink-rgb) / .72) 38%, rgb(var(--ink-rgb) / .15) 72%),
    linear-gradient(to top, rgb(var(--ink-rgb) / .6), transparent 40%);
}
.hero-body { position: relative; z-index: 1; padding-block: clamp(3.5rem, 9vw, 7rem); }
.hero h1 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.02em;
  color: #fff;
}
.hero-tagline { max-width: 34rem; margin-bottom: 2rem; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.5; color: var(--text-on-ink); }
.hero h1 + .hero-actions { margin-top: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero-tagline, .hero-actions { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-tagline { animation-delay: .08s; }
  .hero-actions { animation-delay: .16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } }
}
@media (max-width: 575.98px) {
  .hero { min-height: 0; align-items: end; }
  .hero::after { background: linear-gradient(to top, rgb(var(--ink-rgb) / .95) 0, rgb(var(--ink-rgb) / .7) 55%, rgb(var(--ink-rgb) / .25) 100%); }
  .hero-body { padding-top: 12rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Trust strip: accreditations and clients, right under the hero ---------- */

.trust { padding-block: 1.75rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.5rem 4rem; }
.trust-group { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.trust-label { margin: 0; font-size: .9rem; font-weight: 600; color: var(--text-muted); }
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin: 0; padding: 0; list-style: none; }
.trust-logos a { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 700; font-size: .9rem; text-decoration: none; }
.trust-logos a:hover { color: var(--gold-deep); }
.trust-logos img { display: block; width: auto; max-width: 120px; height: 48px; object-fit: contain; }

/* ---------- Proof: the benefit figures as large numerals ---------- */

.proof { padding-block: clamp(2.5rem, 5vw, 4rem); background: var(--navy); color: var(--text-on-ink); }
.proof-grid { display: grid; gap: 2rem var(--gap); margin: 0; padding: 0; list-style: none; }
.proof-item { padding-left: 1.25rem; border-left: 2px solid var(--gold); }
.proof-value { display: block; font-family: var(--font-display); font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.75rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: #fff; }
.proof-title { display: block; margin-top: .5rem; font-weight: 600; color: var(--gold-light); }
.proof-item p { margin: .25rem 0 0; font-size: .95rem; color: var(--text-on-ink-muted); }
@media (min-width: 768px) { .proof-grid { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); } }

/* ---------- Services: rows, a picture or the icon in the same square (FR-3.1.12) ---------- */

.rows { display: grid; gap: 0 var(--gap); margin: 0; padding: 0; list-style: none; }
.row-item { display: flex; gap: 1.25rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.row-media {
  display: grid; flex: 0 0 auto; place-items: center;
  width: 5.5rem; height: 5.5rem; overflow: hidden;
  border-radius: var(--radius); background: var(--ink); color: var(--gold-bright); font-size: 1.6rem;
}
.row-media img { width: 100%; height: 100%; object-fit: cover; }
.row-body { min-width: 0; }
.row-body h3 { margin-bottom: .4rem; font-size: 1.2rem; overflow-wrap: anywhere; }
.row-body h3 a { color: var(--ink); text-decoration: none; }
.row-body h3 a:hover { color: var(--gold-deep); }
.row-body p { margin-bottom: .5rem; color: var(--text-muted); }
.row-quote { font-size: .95rem; font-weight: 600; color: var(--gold-deep); }
.row-quote:hover { color: var(--ink); }
@media (min-width: 768px) {
  .rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-media { width: 7rem; height: 7rem; }
}

/* ---------- Who we serve: tiles on ink ---------- */

.band-ink { background: var(--ink); color: var(--text-on-ink); }
.band-ink h2 { color: #fff; }
.band-ink .section-head p { color: var(--text-on-ink-muted); }
.band-ink .section-head .more { color: var(--gold-bright); }
.band-ink .section-head .more:hover { color: #fff; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.tile { display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.75rem 1.5rem; border: 1px solid rgb(255 255 255 / .14); border-radius: var(--radius); background: rgb(255 255 255 / .03); color: var(--text-on-ink-muted); text-decoration: none; transition: background-color var(--transition), border-color var(--transition); }
.tile i { margin-bottom: .75rem; font-size: 1.6rem; color: var(--gold-bright); }
.tile-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; line-height: 1.25; color: #fff; overflow-wrap: anywhere; }
.tile-text { font-size: .95rem; line-height: 1.5; }
.tile:hover { border-color: var(--gold); background: var(--ink-soft); color: var(--text-on-ink); }
.tile:hover .tile-title { color: var(--gold-bright); }

/* ---------- About, with the reasons to choose us ---------- */

.about-grid { display: grid; gap: var(--gap); align-items: start; }
.about-grid > img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.about-text h2 { margin-bottom: 1.25rem; }
.about-text > p { color: var(--text-muted); }
.reasons { display: grid; gap: 1.25rem 2rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.reasons li { display: flex; gap: .9rem; }
.reasons i { display: grid; flex: 0 0 1.75rem; place-items: center; width: 1.75rem; height: 1.75rem; margin-top: .1rem; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: .8rem; }
.reasons strong { display: block; color: var(--ink); }
.reasons span { display: block; font-size: .975rem; color: var(--text-muted); }
@media (min-width: 576px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.awards { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.award img { display: block; max-width: 110px; max-height: 64px; width: auto; height: auto; }
.award-text { font-weight: 600; font-size: .95rem; }

/* ---------- Testimonials: one large, the rest beside it ---------- */

.voices { display: grid; gap: var(--gap); }
.voice-featured { display: flex; flex-direction: column; gap: 1.5rem; margin: 0; padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radius); background: var(--stone); }
.voice-featured img { width: 6rem; height: 6rem; border-radius: 50%; object-fit: cover; }
.voice-featured blockquote { position: relative; margin: 0 0 1.25rem; font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem); font-weight: 600; line-height: 1.35; color: var(--ink); }
.voice-featured blockquote::before { content: '\201C'; display: block; height: 2.5rem; font-size: 4.5rem; line-height: 1; color: var(--gold); }
.voice-featured figcaption, .testimonial figcaption { font-size: .95rem; color: var(--text-muted); }
.voice-featured figcaption strong, .testimonial figcaption strong { display: block; color: var(--ink); }
.voice-list { display: grid; gap: 1.75rem; align-content: start; margin: 0; padding: 0; list-style: none; }
.testimonial { margin: 0; padding-left: 1.25rem; border-left: 3px solid var(--gold); }
.testimonial blockquote { margin: 0 0 .75rem; font-size: 1.05rem; line-height: 1.55; color: var(--ink); }
@media (min-width: 768px) { .voice-featured { flex-direction: row; align-items: flex-start; } .voice-featured img { flex: 0 0 auto; width: 8rem; height: 8rem; } }
@media (min-width: 992px) { .voices { grid-template-columns: 7fr 5fr; gap: 3.5rem; align-items: start; } .voices-one { grid-template-columns: minmax(0, 52rem); } }

/* ---------- Team ---------- */


.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 2rem var(--gap); margin: 0; padding: 0; list-style: none; }
.person { display: flex; gap: 1.1rem; align-items: flex-start; }
.person-photo { display: grid; flex: 0 0 auto; place-items: center; width: 5.5rem; height: 5.5rem; border-radius: 50%; object-fit: cover; }
.person-initial { background: var(--ink); color: var(--gold-bright); font-family: var(--font-display); font-size: 2rem; font-weight: 800; }
.person h3 { margin-bottom: .15rem; font-size: 1.15rem; }
.person .role { margin-bottom: .5rem; font-weight: 600; color: var(--gold-deep); }
.person p { font-size: .975rem; color: var(--text-muted); }
.person .btn { margin-right: .4rem; }


@media (min-width: 992px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 4rem; }
}

/* ---------- Request a quote: the short form on ink, the page's call to action ---------- */

.band-quote {
  position: relative;
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy-deep) 100%);
  color: var(--text-on-ink);
  overflow: hidden;
}
.band-quote::before { /* the shield, large and faint */
  content: '';
  position: absolute; right: -4%; top: 50%;
  width: min(46vw, 30rem); aspect-ratio: 129 / 143;
  background: url("../images/brand/shield-light.31acfc57872f.png") center / contain no-repeat;
  opacity: .06; transform: translateY(-50%);
  pointer-events: none;
}
.band-quote > .container { position: relative; }
.band-quote h2 { color: #fff; }
.band-quote .lead { color: var(--text-on-ink-muted); }
.band-quote .quote-intro a { color: var(--gold-bright); font-weight: 600; }
.band-quote .quote-intro a:hover { color: #fff; }
.quote-split { display: grid; gap: var(--gap); align-items: center; }
@media (min-width: 992px) { .quote-split { grid-template-columns: 5fr 7fr; gap: 4rem; } }

/* ---------- Our work, where we work, careers, downloads (work item 012) ---------- */

.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .75rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.areas li { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; border-left: 3px solid var(--gold); background: #fff; }
.areas i { margin-top: .2rem; color: var(--gold-deep); }
.areas strong { display: block; color: var(--ink); }
.areas small { display: block; color: var(--text-muted); }
.jobs { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.jobs li { padding-block: 1.25rem; border-top: 1px solid var(--line); }
.jobs h3 { margin-bottom: .35rem; font-size: 1.2rem; overflow-wrap: anywhere; }
.jobs h3 a { color: var(--ink); text-decoration: none; }
.jobs h3 a:hover { color: var(--gold-deep); }
.job-meta { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0 0 .5rem; font-size: .9rem; color: var(--text-muted); }
.job-meta i { margin-right: .4rem; color: var(--gold-deep); }
.prose .job-meta { margin-bottom: 1rem; }
.job-summary { margin: 0; color: var(--text-muted); }
.band-ink .jobs li { border-color: rgb(255 255 255 / .16); }
.band-ink .jobs h3 a { color: #fff; }
.band-ink .jobs h3 a:hover { color: var(--gold-bright); }
.band-ink .job-meta, .band-ink .job-summary { color: var(--text-on-ink-muted); }
.band-ink .job-meta i { color: var(--gold-bright); }
.apply { display: flex; flex-wrap: wrap; gap: .75rem; }
.downloads { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.downloads li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); }
.downloads i { margin-top: .25rem; font-size: 1.75rem; color: var(--gold-deep); }
.downloads h3 { margin-bottom: .25rem; font-size: 1.15rem; overflow-wrap: anywhere; }
.downloads h3 a { color: var(--ink); text-decoration: none; }
.downloads h3 a:hover { color: var(--gold-deep); }
.downloads p { margin: 0 0 .25rem; color: var(--text-muted); }
.file-meta { font-size: .9rem; }
