:root {
  --ink: #101f46;
  --yellow: #f47a26;
  --paper: #f3f5f7;
  --muted: #515b6e;
  --navy: #0c1f4e;
}
body { font-family: system-ui, -apple-system, sans-serif; }
.wrap { width: min(1160px, 90%); }
header nav { min-height: 82px; }
.brand b, h1 em, h2 em { color: #c34a0c; font-style: normal; }
.btn { border-radius: 999px; padding: 12px 21px; }
.btn:hover { filter: brightness(.94); }
.eyebrow { letter-spacing: 1.4px; }
.hero {
  display: block; min-height: auto; padding: 64px 0 46px; color: var(--ink);
  background: linear-gradient(to bottom, var(--paper) 0 72%, var(--navy) 72%);
}
.hero::after { content: none; }
.hero h1 { font-size: clamp(42px, 6.2vw, 79px); line-height: .99; margin: 19px 0 26px; }
.hero-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin-bottom: 28px; }
.hero-copy p { color: var(--muted); margin: 0; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags a { background: #fff; padding: 7px 12px; font-size: 12px; border-radius: 999px; }
.hero-tags a:hover { background: #ffe3d2; }
.hero-visual { display: grid; grid-template-columns: 3fr 1fr; gap: 20px; }
.hero-visual img { display: block; width: 100%; height: 350px; object-fit: cover; object-position: 50% 55%; border-radius: 0 18px 18px 18px; clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%, 0 15%); }
.hero-panel { background: var(--yellow); border-radius: 16px; padding: 25px; display: grid; align-content: center; gap: 16px; }
.hero-panel div + div { border-top: 1px solid #101f4640; padding-top: 16px; }
.hero-panel b { display: block; font-size: clamp(18px, 2vw, 26px); line-height: 1.1; }
.hero-panel small { display: block; margin-top: 6px; }
#about { background: #fff; color: var(--ink); }
#about .about { gap: 42px; }
#about .bodycopy { color: var(--muted); }
#about .values { color: var(--ink); border-color: #dce1e8; gap: 18px; }
#about .values b { color: #a8400a; }
.profile-photos > img { border-radius: 0 16px 16px 16px; clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%, 0 15%); }
.profile-photos figure { background: var(--navy); color: white; border-radius: 14px; padding: 10px 16px; }
#services .heading { display: block; text-align: center; }
#services .eyebrow { justify-content: center; }
#services .heading > p { margin: 15px auto 0; max-width: 480px; }
.services { gap: 18px; }
.service { padding: 0 19px 22px; overflow: hidden; border-radius: 0 15px 15px 15px; box-shadow: 0 3px 15px #101f4610; border-bottom: 2px solid var(--yellow); }
.service > img { width: calc(100% + 38px); height: 145px; object-fit: cover; margin: 0 -19px; }
.service .icon { position: relative; margin: -21px 0 0; background: var(--navy); color: white; border: 2px solid #fff; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 20px; }
.service h3 { margin: 11px 0 0; }
.service p { margin-bottom: 20px; }
#projects { background: #fff; }
.project-list li { background: var(--paper); border-radius: 10px; }
.dark, footer, .banner .btn { background: var(--navy); }
.dark .bodycopy, details p, .footgrid p, .bottom { color: #d5deeb; }
@media (max-width: 800px) {
  .hero { padding: 40px 0 30px; }
  .hero-visual { grid-template-columns: minmax(0, 1fr); }
  .hero-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 17px; }
  .hero-panel div + div { border-top: 0; padding-top: 0; }
  .hero-visual img { height: 260px; }
  #about .about { gap: 28px; }
}
@media (max-width: 520px) {
  .hero-copy, .services { grid-template-columns: 1fr; }
  .hero-panel { gap: 9px; }
  .hero-panel b { font-size: 14px; overflow-wrap: anywhere; }
  .profile-photos > img { height: 265px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service { transition: none; }
  .service:hover { transform: none; }
}

.hero-slider { position: relative; min-width: 0; }
.hero-slide { margin: 0; position: relative; }
.hero-slide figcaption {
  position: absolute; bottom: 14px; left: 14px; max-width: calc(100% - 28px);
  background: #0c1f4e; color: #fff; font-size: 12px; padding: 7px 12px; border-radius: 6px;
}
.slider-controls {
  position: absolute; top: 12px; right: 12px;
  display: flex; align-items: center; gap: 7px; background: #0c1f4e;
  color: #fff; border-radius: 999px; padding: 4px;
}
.slider-controls[hidden] { display: none; }
.slider-controls button {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: #fff; color: var(--navy); font-size: 20px;
}
.slider-controls button:hover { background: #ffd4bb; }
.slider-count { font-size: 12px; padding: 0 3px; white-space: nowrap; }
.hero-slide figcaption a, .projectinfo p a { text-decoration: underline; }
.client-photos { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.client-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: 4px; }

.lang-switch { font-size: 13px; font-weight: 700; padding: 8px 12px; border: 1px solid #c5cedd; border-radius: 999px; }
.lang-switch:hover { background: #fff; }
@media (max-width: 800px) {
  header nav { gap: 12px; }
  .lang-switch { margin-left: auto; }
}
@media (min-width: 801px) and (max-width: 1020px) {
  header nav, .navlinks { gap: 13px; }
  .navcta { display: none; }
}
