:root {
  --ink: #080b0e;
  --charcoal: #20272d;
  --paper: #f1f4f5;
  --white: #ffffff;
  --gold: #c69a55;
  --gold-bright: #e4c48f;
  --silver: #cfd1d2;
  --muted: #58636b;
  --line: rgba(10, 10, 10, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 50;
  padding: .75rem 1rem;
  color: var(--ink);
  background: var(--white);
  outline: 3px solid var(--gold);
}
.skip-link:focus { top: 1rem; }

.announcement {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 5vw;
  color: var(--ink);
  background: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
}

.site-header {
  position: relative;
  z-index: 10;
  min-height: 94px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: .55rem clamp(1.25rem, 5vw, 4.75rem);
  color: var(--white);
  background: rgba(8, 11, 14, .98);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.brand img {
  width: 60px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.5));
}
.brand span { display: grid; gap: .15rem; }
.brand strong { color: var(--gold-bright); font-size: 1.2rem; letter-spacing: .025em; }
.brand small { color: var(--silver); font-size: .58rem; font-weight: 800; letter-spacing: .18em; }
.site-header nav { display: flex; justify-content: flex-end; gap: clamp(1.4rem, 3vw, 2.75rem); }
.site-header nav a {
  position: relative;
  padding: .75rem 0;
  color: #e9e9e9;
  font-size: .8rem;
  font-weight: 700;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: .35rem;
  height: 2px;
  background: var(--gold);
  transition: right 180ms ease;
}
.site-header nav a:hover::after,
.site-header nav a:focus-visible::after { right: 0; }

.hero {
  position: relative;
  min-height: 610px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(3.6rem, 6vw, 5.8rem) clamp(1.5rem, 7vw, 7rem);
  color: var(--white);
  background: var(--ink);
}
.hero::after {
  content: "";
  position: absolute;
  left: clamp(1.5rem, 7vw, 7rem);
  bottom: 0;
  width: 31vw;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero-visuals {
  position: absolute;
  inset: 0 0 0 42%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero-visuals span { background-size: cover; background-position: center; filter: saturate(.72) contrast(1.07); }
.hero-visuals .education-image { background-image: url("/assets/education.jpg"); background-position: 58% center; }
.hero-visuals .maintenance-image { background-image: url("/assets/maintenance.png"); background-position: 48% center; }
.hero-visuals .security-image { background-image: url("/assets/security.png"); background-position: 72% center; }
.hero-visuals::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(8,11,14,.88) 16%, rgba(8,11,14,.35) 58%, rgba(8,11,14,.45) 100%);
}
.hero-glow {
  position: absolute;
  top: -30vw;
  right: -8vw;
  width: 62vw;
  height: 62vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198,154,85,.18), transparent 64%);
}
.hero-copy { position: relative; z-index: 2; max-width: 720px; }
.hero-crest {
  width: 118px;
  height: auto;
  margin: 0 0 1rem 1.4rem;
  filter: drop-shadow(0 15px 22px rgba(0,0,0,.7));
}
.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--gold-bright);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .025em;
}
.eyebrow.dark { color: #8c5e20; }
.hero h1 {
  margin: 0;
  font-size: clamp(3.35rem, 6.8vw, 6.35rem);
  font-weight: 400;
  line-height: .91;
  letter-spacing: -.055em;
}
.hero h1 span,
.hero h1 em { display: block; }
.hero h1 em { color: var(--gold-bright); font-style: normal; }
.hero-text {
  max-width: 590px;
  margin: 1.8rem 0 0;
  color: #d1d3d5;
  font-size: clamp(1.02rem, 1.45vw, 1.25rem);
  line-height: 1.6;
}
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  padding: .85rem 1.45rem;
  border: 1px solid transparent;
  font-size: .76rem;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}
.button:hover,
.button:focus-visible { transform: translateY(-2px); }
.button-gold { color: var(--ink); background: var(--gold); }
.button-gold:hover,
.button-gold:focus-visible { background: var(--gold-bright); }
.hero-facts {
  max-width: 590px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.1rem;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-facts span {
  padding: 1rem 1rem 0 0;
  color: #aaa;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .04em;
}
.hero-facts span + span { padding-left: 1rem; border-left: 1px solid rgba(255,255,255,.18); }

.services { padding: clamp(5rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem); }
.section-heading {
  max-width: 1220px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .55fr);
  align-items: end;
  gap: 4rem;
  margin: 0 auto 3.2rem;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.04em;
}
.section-heading > p {
  margin: 0 0 .35rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}
.service-grid {
  max-width: 1220px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin: 0 auto;
}
.service-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  color: var(--white);
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform 180ms ease, border-color 180ms ease;
}
.service-card:hover,
.service-card:focus-visible { transform: translateY(-5px); border-color: var(--gold); }
.service-visual { height: 225px; display: block; overflow: hidden; }
.service-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.82) contrast(1.03);
  transition: transform 350ms ease;
}
.service-card:hover .service-visual img { transform: scale(1.035); }
.education .service-visual img { object-position: 54% center; }
.maintenance .service-visual img { object-position: 48% center; }
.security .service-visual img { object-position: 71% center; }
.service-content { min-height: 278px; display: flex; flex-direction: column; padding: 1.65rem; }
.service-name { color: var(--white); font-size: 1.65rem; font-weight: 450; letter-spacing: -.025em; }
.service-copy { margin-top: .8rem; color: #c4c9cd; font-size: .9rem; line-height: 1.65; }
.service-link {
  align-self: flex-start;
  margin-top: auto;
  padding: 1.3rem 0 .25rem;
  color: var(--gold-bright);
  border-bottom: 2px solid var(--gold);
  font-size: .75rem;
  font-weight: 850;
}

a:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 4px; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1.5rem, 7vw, 7rem);
  color: var(--silver);
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.09);
  font-size: .75rem;
}
.footer-brand { display: flex; align-items: center; gap: .75rem; }
.footer-brand img { width: 42px; height: auto; }
.footer-brand span { display: grid; gap: .15rem; }
.footer-brand strong { color: var(--gold-bright); font-size: .98rem; }
.footer-brand small { color: #999; font-size: .6rem; }
footer p { margin: 0; }

@media (max-width: 920px) {
  .hero-visuals { inset-left: 25%; opacity: .42; }
  .hero-visuals::after { background: linear-gradient(90deg, var(--ink) 0%, rgba(8,11,14,.82) 48%, rgba(8,11,14,.45) 100%); }
  .section-heading { grid-template-columns: 1fr; gap: 1.2rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr); }
  .service-visual { height: 100%; min-height: 280px; }
}

@media (max-width: 620px) {
  .announcement { min-height: 31px; font-size: .62rem; }
  .site-header { min-height: 82px; padding-block: .4rem; }
  .brand img { width: 46px; height: 62px; }
  .brand strong { font-size: 1rem; }
  .brand small { display: none; }
  .site-header nav { gap: 1.2rem; }
  .site-header nav a { font-size: .72rem; }
  .hero { min-height: 540px; padding-top: 3.5rem; padding-bottom: 3.7rem; }
  .hero::after { width: 62vw; }
  .hero-visuals { inset: 0 0 0 13%; grid-template-columns: 1fr; opacity: .23; }
  .hero-visuals .education-image,
  .hero-visuals .maintenance-image { display: none; }
  .hero-visuals .security-image { background-image: url("/assets/maintenance.png"); background-position: 53% center; }
  .hero-visuals::after { background: linear-gradient(90deg, var(--ink) 0%, rgba(8,11,14,.72) 72%, rgba(8,11,14,.48)); }
  .hero-crest { width: 82px; margin: 0 0 .75rem .75rem; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 4.3rem); }
  .hero-text { max-width: 330px; margin-top: 1.35rem; font-size: .98rem; }
  .button { margin-top: 1.5rem; }
  .hero-facts { margin-top: 1.5rem; }
  .hero-facts span { font-size: .6rem; }
  .services { padding-top: 4.5rem; padding-bottom: 5rem; }
  .service-card { display: flex; }
  .service-visual { height: 205px; min-height: 0; }
  .service-content { min-height: 250px; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button,
  .service-card,
  .service-visual img,
  .site-header nav a::after { transition: none; }
}
