/* D-Royal v3 — classic contractor system: navy, construction yellow, white. */
:root {
  --navy: #0c1d30;
  --navy-2: #13293f;
  --navy-3: #1c3854;
  --yellow: #f4b400;
  --yellow-2: #dda200;
  --ink: #142233;
  --text: #4a5563;
  --muted: #7b8592;
  --line: #e3e6ea;
  --bg: #ffffff;
  --bg-2: #f3f5f7;
  --white: #ffffff;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --gutter: clamp(16px, 3vw, 32px);
  --section: clamp(72px, 9vw, 120px);
  --shadow: 0 18px 40px -18px rgba(12, 29, 48, .28);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.7 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--navy); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--yellow); color: var(--navy); padding: 10px 16px; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.bg-2 { background: var(--bg-2); }
.navy { background: var(--navy); color: rgba(255,255,255,.75); }
.navy h2, .navy h3, .navy strong { color: #fff; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); font-weight: 700; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
.h2 { font-size: clamp(34px, 4.2vw, 52px); }
.h3 { font-size: 24px; letter-spacing: .02em; }
.tag { display: inline-flex; align-items: center; gap: 12px; font: 600 15px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow-2); margin-bottom: 14px; }
.tag::before { content: ""; width: 34px; height: 3px; background: var(--yellow); }
.navy .tag, .on-photo .tag { color: var(--yellow); }
.center .tag::after { content: ""; width: 34px; height: 3px; background: var(--yellow); }
.lead { font-size: 18.5px; line-height: 1.7; }
.head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 60px); }
.head.center { margin-inline: auto; text-align: center; }
.head .lead { margin-top: 16px; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 56px); }
.head-row .head { margin: 0; }
.hl { color: var(--yellow-2); }
.navy .hl, .on-photo .hl, .hero .hl { color: var(--yellow); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 28px; font: 700 16px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; background: var(--yellow); color: var(--navy); border: 2px solid var(--yellow); cursor: pointer; transition: background .25s, color .25s, border-color .25s; position: relative; }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn:hover svg { transform: translateX(4px); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn.ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn.dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.dark:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.btn.line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.line:hover { background: var(--navy); color: #fff; }
.navy .btn:hover, .on-photo .btn:hover { background: #fff; border-color: #fff; color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.more { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.more svg { width: 16px; height: 16px; color: var(--yellow-2); transition: transform .3s var(--ease); }
.more:hover svg { transform: translateX(4px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.72); font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; color: var(--yellow); }
.topbar .links { display: flex; gap: 22px; }
.topbar a:hover { color: var(--yellow); }
@media (max-width: 760px) { .topbar .hide-s { display: none; } .topbar .wrap { justify-content: center; } }

.header { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 1px 0 var(--line); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 10px 30px -12px rgba(12,29,48,.25); }
.nav { display: flex; align-items: center; gap: 20px; height: 84px; }
.header .wrap { max-width: 1400px; }
.menu a, .nav > .btn, .brand b, .brand small { white-space: nowrap; }
.brand { display: flex; align-items: center; gap: 12px; align-self: stretch; }
.brand .tile { background: var(--navy); align-self: stretch; display: grid; place-items: center; padding: 0 16px; }
.brand .tile img { width: 54px; height: auto; }
.brand b { display: block; font: 700 26px/1 var(--head); letter-spacing: .04em; color: var(--navy); }
.brand small { display: block; margin-top: 4px; font: 600 11px/1 var(--head); letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.menu > a, .menu .has-sub > a { display: flex; align-items: center; gap: 6px; height: 84px; padding: 0 11px; font: 600 16px/1 var(--head); letter-spacing: .07em; text-transform: uppercase; color: var(--navy); position: relative; }
.menu > a::after, .menu .has-sub > a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 22px; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.menu a:hover::after, .menu a[aria-current]::after { transform: scaleX(1); }
.has-sub { position: relative; }
.has-sub > a svg { width: 12px; height: 12px; }
.sub { position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border-top: 3px solid var(--yellow); box-shadow: var(--shadow); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 22px; font-size: 15.5px; color: var(--ink); border-left: 3px solid transparent; transition: .2s; }
.sub a:hover { background: var(--bg-2); border-left-color: var(--yellow); }
.nav > .btn { height: 50px; padding: 0 22px; font-size: 15px; }
.nav-toggle { display: none; margin-left: auto; width: 50px; height: 50px; background: var(--navy); border: 0; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; content: ""; transition: .3s var(--ease); }
.nav-toggle span { top: 24px; }
.nav-toggle span::before { top: -7px; left: 0; right: 0; }
.nav-toggle span::after { top: 7px; left: 0; right: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 1199px) {
  .nav-toggle { display: block; }
  .nav > .btn { display: none; }
  .menu { position: fixed; inset: 84px 0 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 12px var(--gutter) 32px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .3s var(--ease); }
  .nav-open .menu { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .menu > a, .menu .has-sub > a { height: auto; padding: 16px 0; font-size: 22px; border-bottom: 1px solid var(--line); }
  .menu > a::after, .menu .has-sub > a::after { display: none; }
  .menu a[aria-current] { color: var(--yellow-2); }
  .has-sub > a svg { display: none; }
  .menu { pointer-events: none; }
  .nav-open .menu { pointer-events: auto; }
  .sub { position: static; opacity: 1; visibility: inherit; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0; }
  .sub a { padding: 8px 0; font-size: 16px; color: var(--text); }
  .menu .btn { margin-top: 20px; justify-content: center; }
}
@media (min-width: 1200px) { .menu .m-only { display: none; } }
@media (max-width: 420px) { .brand small { display: none; } .brand b { font-size: 22px; } .brand .tile { padding: 0 10px; } .brand .tile img { width: 44px; } }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: min(88vh, 760px); min-height: 560px; background: var(--navy); overflow: hidden; color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slide.on { opacity: 1; z-index: 1; }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(1.1); transform: scale(1.08); transition: transform 7s linear; }
.slide.on > img { transform: scale(1); }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,20,34,.88) 0%, rgba(8,20,34,.6) 45%, rgba(8,20,34,.08) 100%); }
.slide .wrap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 150px; }
.slide .kicker { display: inline-flex; align-items: center; gap: 12px; font: 600 16px/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); }
.slide .kicker::before { content: ""; width: 40px; height: 3px; background: var(--yellow); }
.slide h1, .slide h2 { color: #fff; font-size: clamp(42px, 5.6vw, 76px); line-height: 1; max-width: 22ch; text-wrap: balance; margin: 18px 0 20px; }
.slide p { font-size: clamp(17px, 1.5vw, 20px); max-width: 56ch; color: rgba(255,255,255,.85); }
.slide .actions { margin-top: 34px; }
.slide .kicker, .slide h1, .slide h2, .slide p, .slide .actions { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.slide.on .kicker { opacity: 1; transform: none; transition-delay: .2s; }
.slide.on h1, .slide.on h2 { opacity: 1; transform: none; transition-delay: .35s; }
.slide.on p { opacity: 1; transform: none; transition-delay: .5s; }
.slide.on .actions { opacity: 1; transform: none; transition-delay: .65s; }
.hero-ctrl { position: absolute; z-index: 3; left: 0; right: 0; bottom: 100px; }
.hero-ctrl .wrap { display: flex; align-items: center; gap: 18px; }
.dots { display: flex; gap: 10px; }
.dots button { width: 34px; height: 4px; padding: 0; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: background .3s, width .3s; }
.dots button[aria-current] { background: var(--yellow); width: 60px; }
.arrows { display: flex; gap: 8px; margin-left: auto; }
.arrows button { width: 50px; height: 50px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.35); color: #fff; cursor: pointer; transition: .25s; }
.arrows button:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.arrows svg { width: 20px; height: 20px; }
.slide.lit::before { background: linear-gradient(90deg, rgba(8,20,34,.74) 0%, rgba(8,20,34,.4) 42%, rgba(8,20,34,0) 72%); }
@media (max-width: 700px) { .hero { height: auto; min-height: 640px; } .slide::before, .slide.lit::before { background: linear-gradient(180deg, rgba(8,20,34,.55), rgba(8,20,34,.92)); } .hero-ctrl { bottom: 90px; } .arrows { display: none; } }

/* ---------- Feature boxes overlapping hero ---------- */
.features { position: relative; z-index: 5; margin-top: -70px; }
.features .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); box-shadow: var(--shadow); }
.feature { background: #fff; padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); transition: background .3s, color .3s; }
.feature:last-child { border-right: 0; }
.feature .ic { width: 56px; height: 56px; display: grid; place-items: center; background: var(--bg-2); color: var(--navy); transition: .3s; }
.feature .ic svg { width: 30px; height: 30px; }
.feature h3 { font-size: 22px; }
.feature p { font-size: 15.5px; line-height: 1.6; }
.feature.hi, .feature:hover { background: var(--yellow); }
.feature.hi p, .feature:hover p { color: var(--navy); }
.feature.hi .ic, .feature:hover .ic { background: var(--navy); color: var(--yellow); }
@media (max-width: 1000px) { .features .grid { grid-template-columns: 1fr 1fr; } .feature:nth-child(2) { border-right: 0; } .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .features .grid { grid-template-columns: 1fr; } .feature { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- About block ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.collage { position: relative; padding: 0 0 60px 0; }
.collage .a { width: 78%; aspect-ratio: 4 / 5; overflow: hidden; }
.collage .b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; overflow: hidden; border: 10px solid #fff; box-shadow: var(--shadow); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .badge { position: absolute; left: 24px; bottom: 24px; background: var(--yellow); color: var(--navy); padding: 20px 22px; max-width: 220px; box-shadow: var(--shadow); }
.collage .badge b { display: block; font: 700 30px/1 var(--head); text-transform: uppercase; }
.collage .badge span { display: block; margin-top: 6px; font: 600 14px/1.3 var(--head); letter-spacing: .1em; text-transform: uppercase; }
.collage::before { content: ""; position: absolute; left: -18px; top: -18px; width: 120px; height: 120px; border-left: 6px solid var(--yellow); border-top: 6px solid var(--yellow); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 28px 0 34px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); line-height: 1.45; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--yellow-2); margin-top: 1px; }
.checks.one { grid-template-columns: 1fr; }
.navy .checks li { color: #fff; }
.navy .checks svg { color: var(--yellow); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .collage { max-width: 560px; } }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.svc { background: #fff; box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(12,29,48,.3); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc .ph { position: relative; aspect-ratio: 16 / 11; }
.svc .ph > div { position: absolute; inset: 0; overflow: hidden; }
.svc .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .ph img { transform: scale(1.06); }
.svc .ic { position: absolute; right: 24px; bottom: -30px; z-index: 2; width: 64px; height: 64px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); transition: .3s; }
.svc:hover .ic { background: var(--navy); color: var(--yellow); }
.svc .ic svg { width: 32px; height: 32px; }
.svc .body { padding: 30px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc h3 { font-size: 25px; padding-right: 70px; }
.svc p { font-size: 16px; line-height: 1.65; }
.svc .more { margin-top: auto; padding-top: 8px; }
@media (max-width: 1000px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

/* ---------- Photo band (values) ---------- */
.on-photo { position: relative; color: rgba(255,255,255,.8); overflow: hidden; }
.on-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.on-photo::before { content: ""; position: absolute; inset: 0; background: rgba(9, 22, 37, .88); z-index: 1; }
.on-photo > .wrap { position: relative; z-index: 2; }
.on-photo h2, .on-photo h3 { color: #fff; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.15); }
.value { padding: 36px 28px 8px 0; }
.value + .value { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.15); }
.value .ic { width: 58px; height: 58px; display: grid; place-items: center; border: 2px solid var(--yellow); color: var(--yellow); margin-bottom: 22px; }
.value .ic svg { width: 28px; height: 28px; }
.value h3 { font-size: 24px; margin-bottom: 10px; }
.value p { font-size: 15.5px; line-height: 1.65; }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } .value:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } .value, .value + .value { padding: 28px 0 4px; border-left: 0; border-top: 1px solid rgba(255,255,255,.15); } .value:first-child { border-top: 0; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; position: relative; counter-reset: p; }
.process::before { content: ""; position: absolute; left: 6%; right: 6%; top: 42px; border-top: 2px dashed #c9ced6; }
.pstep { position: relative; text-align: center; }
.pstep .num { position: relative; width: 84px; height: 84px; margin: 0 auto 22px; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); border-radius: 50%; color: var(--navy); transition: .3s; }
.pstep .num svg { width: 34px; height: 34px; }
.pstep .num b { position: absolute; top: -6px; right: -6px; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font: 700 15px/1 var(--head); }
.pstep:hover .num { background: var(--navy); border-color: var(--navy); color: var(--yellow); }
.pstep h3 { font-size: 21px; margin-bottom: 8px; }
.pstep p { font-size: 15px; line-height: 1.6; }
@media (max-width: 1000px) { .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; } .process::before { display: none; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr 1fr; } }

/* ---------- Projects grid + filter ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { height: 44px; padding: 0 20px; background: #fff; border: 1px solid var(--line); font: 600 15px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); cursor: pointer; transition: .2s; }
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pcard { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy); }
.pcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .4s; }
.pcard:hover img { transform: scale(1.07); opacity: .55; }
.pcard .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px; background: linear-gradient(180deg, transparent, rgba(8,20,34,.94)); color: #fff; }
.pcard .cat { font: 600 13px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.pcard h3 { color: #fff; font-size: 27px; margin-top: 8px; }
.pcard .go { position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); transform: scale(.6); opacity: 0; transition: .35s var(--ease); }
.pcard .go svg { width: 22px; height: 22px; }
.pcard:hover .go, .pcard:focus-visible .go { transform: none; opacity: 1; }
.pcard .n { position: absolute; top: 20px; left: 20px; font: 600 13px/1 var(--head); letter-spacing: .14em; background: rgba(8,20,34,.7); color: #fff; padding: 8px 10px; text-transform: uppercase; }
.pcard[hidden] { display: none; }
@media (max-width: 1000px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pgrid { grid-template-columns: 1fr; } .pcard { aspect-ratio: 4 / 3.6; } }

/* ---------- Split feature (diaspora etc.) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.split .ph { position: relative; min-height: 460px; }
.split .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split .txt { padding: clamp(40px, 6vw, 80px); background: var(--navy); color: rgba(255,255,255,.78); display: flex; flex-direction: column; justify-content: center; }
.split .txt h2 { color: #fff; }
.split .txt .lead { margin-top: 16px; }
.split .ph .stamp { position: absolute; left: 0; bottom: 0; background: var(--yellow); color: var(--navy); padding: 22px 28px; font: 700 22px/1.15 var(--head); text-transform: uppercase; letter-spacing: .04em; max-width: 280px; }
.cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.cities span { font: 600 14px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; padding: 9px 12px; border: 1px solid rgba(255,255,255,.25); color: #fff; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .ph { min-height: 340px; } }

/* ---------- Tech strip ---------- */
.tech { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: #fff; }
.tech > a { padding: 30px 24px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); transition: .3s; }
.tech > a:last-child { border-right: 0; }
.tech .ic { width: 52px; height: 52px; display: grid; place-items: center; color: var(--yellow-2); }
.tech .ic svg { width: 40px; height: 40px; }
.tech h3 { font-size: 21px; }
.tech p { font-size: 15px; line-height: 1.6; }
.tech > a:hover { background: var(--navy); }
.tech > a:hover h3 { color: #fff; }
.tech > a:hover p { color: rgba(255,255,255,.7); }
.tech > a:hover .ic { color: var(--yellow); }
@media (max-width: 700px) { .tech { grid-template-columns: 1fr; } .tech > a { border-right: 0; border-bottom: 1px solid var(--line); } .tech > a:last-child { border-bottom: 0; } }

/* ---------- Division strip (beekeeping) ---------- */
.division { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 32px; align-items: center; background: #23301c; color: #d9dec8; padding: 22px; }
.division .ph { aspect-ratio: 4 / 3; overflow: hidden; }
.division .ph img { width: 100%; height: 100%; object-fit: cover; }
.division h3 { color: #fff; font-size: 30px; margin: 6px 0 8px; }
.division .tag { color: #e1b847; margin: 0; }
.division .tag::before { background: #e1b847; }
.division .btn { background: #e1b847; border-color: #e1b847; color: #1f2716; }
.division .btn:hover { background: #fff; border-color: #fff; }
@media (max-width: 860px) { .division { grid-template-columns: 1fr; } .division .ph { aspect-ratio: 16 / 8; } }

/* ---------- CTA band ---------- */
.cta { background: var(--yellow); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 46%; background: repeating-linear-gradient(-45deg, rgba(12,29,48,.07) 0 22px, transparent 22px 44px); }
.cta .wrap { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; padding-block: clamp(48px, 6vw, 72px); }
.cta h2 { font-size: clamp(32px, 4vw, 50px); color: var(--navy); }
.cta p { color: var(--navy); font-size: 18px; margin-top: 8px; font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: #08172a; color: rgba(255,255,255,.65); font-size: 15.5px; }
.footer .top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding-block: clamp(60px, 7vw, 88px); }
.footer .logo { width: 150px; }
.footer p { margin-top: 18px; line-height: 1.7; max-width: 34ch; }
.footer h4 { color: #fff; font-size: 22px; margin-bottom: 22px; padding-bottom: 14px; position: relative; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--yellow); }
.footer li + li { margin-top: 10px; }
.footer li a { display: inline-flex; gap: 8px; align-items: center; transition: color .2s, transform .2s; }
.footer li a::before { content: ""; width: 6px; height: 6px; background: var(--yellow); }
.footer li a:hover { color: var(--yellow); }
.footer .visit { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.footer .visit + .visit { margin-top: 18px; }
.footer .visit svg { width: 22px; height: 22px; color: var(--yellow); flex: none; margin-top: 2px; }
.footer .visit strong { font-weight: 400; display: block; }
.footer .visit a:hover { color: var(--yellow); }
.footer .btn { margin-top: 24px; height: 48px; font-size: 15px; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer .bottom .wrap { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; gap: 10px 24px; padding-block: 22px; font-size: 14px; }
@media (max-width: 900px) { .footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .top { grid-template-columns: 1fr; } }

/* ---------- Page title banner ---------- */
.banner { position: relative; padding-block: clamp(80px, 11vw, 140px) clamp(60px, 8vw, 100px); color: #fff; overflow: hidden; background: var(--navy); }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,20,34,.94), rgba(8,20,34,.66)); z-index: 1; }
.banner .wrap { position: relative; z-index: 2; }
.banner h1 { color: #fff; font-size: clamp(42px, 6vw, 72px); margin-top: 6px; }
.banner p { max-width: 58ch; margin-top: 14px; color: rgba(255,255,255,.82); font-size: 18px; }
.crumbs { display: inline-flex; gap: 10px; align-items: center; margin-top: 26px; background: var(--yellow); color: var(--navy); padding: 10px 18px; font: 600 15px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; }
.crumbs a:hover { text-decoration: underline; }
.crumbs i { font-style: normal; opacity: .6; }

/* ---------- Service detail with sidebar ---------- */
.with-side { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.side { position: sticky; top: 108px; display: grid; gap: 28px; }
.side-menu { background: var(--bg-2); padding: 26px; }
.side-menu h4 { font-size: 22px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 3px solid var(--yellow); display: inline-block; }
.side-menu a { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; margin-top: 6px; background: #fff; font: 600 17px/1.2 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); transition: .2s; }
.side-menu a svg { width: 16px; height: 16px; }
.side-menu a:hover, .side-menu a.on { background: var(--navy); color: #fff; }
.side-menu a:hover svg, .side-menu a.on svg { color: var(--yellow); }
.side-cta { background: var(--navy); color: rgba(255,255,255,.78); padding: 32px 28px; position: relative; overflow: hidden; }
.side-cta::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border: 18px solid rgba(244,180,0,.18); border-radius: 50%; }
.side-cta h4 { color: #fff; font-size: 26px; margin-bottom: 10px; }
.side-cta .btn { margin-top: 20px; }
@media (max-width: 960px) { .with-side { grid-template-columns: 1fr; } .side { position: static; order: 2; } }

.sdetail + .sdetail { margin-top: clamp(64px, 8vw, 96px); padding-top: clamp(64px, 8vw, 96px); border-top: 1px solid var(--line); }
.sdetail { scroll-margin-top: 110px; }
.sdetail .hero-img { aspect-ratio: 16 / 8; overflow: hidden; margin-bottom: 30px; position: relative; }
.sdetail .hero-img img { width: 100%; height: 100%; object-fit: cover; }
.sdetail .hero-img .ic { position: absolute; left: 0; bottom: 0; width: 76px; height: 76px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); }
.sdetail .hero-img .ic svg { width: 36px; height: 36px; }
.sdetail h2 { font-size: clamp(32px, 3.6vw, 44px); margin-bottom: 14px; }
.sdetail .body + .body { margin-top: 14px; }
.sdetail .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.sdetail .two img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 560px) { .sdetail .two { grid-template-columns: 1fr; } }

.boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.box { background: #fff; padding: 34px 30px; border-bottom: 4px solid var(--yellow); box-shadow: 0 10px 30px -20px rgba(12,29,48,.3); }
.box .ic { width: 56px; height: 56px; display: grid; place-items: center; background: var(--navy); color: var(--yellow); margin-bottom: 20px; }
.box .ic svg { width: 28px; height: 28px; }
.box h3 { font-size: 23px; margin-bottom: 10px; }
.box p { font-size: 15.5px; line-height: 1.65; }
.box ul { margin-top: 14px; font-size: 15px; }
.box li { padding: 7px 0; border-top: 1px solid var(--line); color: var(--ink); }
.boxes.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .boxes, .boxes.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .boxes, .boxes.four { grid-template-columns: 1fr; } }

/* ---------- Project detail ---------- */
.pdetail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 56px); align-items: start; }
.pinfo { position: sticky; top: 108px; background: var(--navy); color: rgba(255,255,255,.78); }
.pinfo h4 { background: var(--yellow); color: var(--navy); font-size: 22px; padding: 18px 26px; }
.pinfo dl { margin: 0; padding: 8px 26px 26px; }
.pinfo dt { font: 600 13px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-top: 20px; }
.pinfo dd { margin: 6px 0 0; color: #fff; font-size: 16.5px; line-height: 1.45; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.pinfo .btn { margin: 0 26px 26px; width: calc(100% - 52px); justify-content: center; }
.pmain .lead { margin-bottom: 30px; }
.pmain h3 { font-size: 28px; margin: 36px 0 10px; }
@media (max-width: 960px) { .pdetail { grid-template-columns: 1fr; } .pinfo { position: static; } }

.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 22vw, 300px); gap: 12px; }
.gallery button { all: unset; cursor: zoom-in; position: relative; overflow: hidden; grid-column: span 2; background: var(--bg-2); }
.gallery button.big { grid-column: span 4; grid-row: span 2; }
.gallery button.half { grid-column: span 3; }
.gallery button.full { grid-column: 1 / -1; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery button::after { content: ""; position: absolute; inset: 0; background: rgba(8,20,34,.45); opacity: 0; transition: opacity .3s; }
.gallery .zoom { position: absolute; z-index: 2; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); transform: scale(.5); opacity: 0; transition: .3s var(--ease); }
.gallery .zoom svg { width: 22px; height: 22px; }
.gallery button:hover img { transform: scale(1.06); }
.gallery button:hover::after, .gallery button:focus-visible::after { opacity: 1; }
.gallery button:hover .zoom, .gallery button:focus-visible .zoom { transform: none; opacity: 1; }
.gallery button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 52vw; } .gallery button, .gallery button.half { grid-column: span 1; grid-row: span 1; } .gallery button.big, .gallery button.full { grid-column: 1 / -1; grid-row: span 1; } }

.pnav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pnav a { display: flex; flex-direction: column; gap: 6px; padding: 28px 0; }
.pnav a + a { text-align: right; align-items: flex-end; border-left: 1px solid var(--line); }
.pnav small { font: 600 13px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pnav b { font: 700 26px/1.1 var(--head); text-transform: uppercase; color: var(--navy); transition: color .2s; }
.pnav a:hover b { color: var(--yellow-2); }

/* ---------- Lightbox ---------- */
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #06111e; color: #fff; }
.lb::backdrop { background: rgba(6,17,30,.9); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px var(--gutter); border-bottom: 1px solid rgba(255,255,255,.1); font: 600 15px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.lb-top .count b { color: var(--yellow); }
.lb-stage { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); padding: 20px clamp(8px, 7vw, 100px); min-height: 0; touch-action: pan-y; }
.lb-stage img { width: 100%; height: 100%; object-fit: contain; animation: lbImg .35s var(--ease); user-select: none; -webkit-user-drag: none; }
@keyframes lbImg { from { opacity: 0; transform: scale(.985); } }
.lb-btn { width: 52px; height: 52px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); color: #fff; cursor: pointer; transition: .2s; }
.lb-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-prev { left: var(--gutter); }
.lb-next { right: var(--gutter); }
.lb-close { width: 44px; height: 44px; }
.lb-bottom { padding: 12px var(--gutter) 18px; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 12px; }
.lb-cap { font-size: 16px; }
.lb-thumbs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.lb-thumbs button { flex: none; width: 66px; height: 66px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .45; outline-offset: 2px; transition: opacity .2s; }
.lb-thumbs button[aria-current] { opacity: 1; outline: 3px solid var(--yellow); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; } .lb-stage { padding-bottom: 76px; } }

/* ---------- FAQ / Contact / misc ---------- */
.faq details { background: #fff; border: 1px solid var(--line); margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; font: 700 20px/1.2 var(--head); letter-spacing: .04em; text-transform: uppercase; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); font: 700 22px/1 var(--body); transition: transform .3s; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { color: var(--yellow-2); }
.faq details p { padding: 0 24px 22px; }

.ccards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ccard { background: #fff; padding: 30px 26px; text-align: center; border-bottom: 4px solid var(--yellow); box-shadow: 0 10px 30px -20px rgba(12,29,48,.3); display: flex; flex-direction: column; align-items: center; gap: 10px; transition: transform .3s var(--ease); }
a.ccard:hover { transform: translateY(-5px); }
.ccard .ic { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--yellow); margin-bottom: 6px; }
.ccard .ic svg { width: 28px; height: 28px; }
.ccard h3 { font-size: 22px; }
.ccard strong { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 1000px) { .ccards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ccards { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.map { min-height: 420px; position: relative; background: var(--bg-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3); }
.form { background: var(--navy); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form h2 { color: #fff; grid-column: 1 / -1; font-size: 36px; }
.form > p { grid-column: 1 / -1; color: rgba(255,255,255,.7); margin-top: -6px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font: 600 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 2px solid transparent; padding: 12px 14px; border-radius: 0; transition: border-color .2s; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--yellow); }
.form .note { color: rgba(255,255,255,.6); font-size: 14px; }
.form .actions { align-items: center; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

.note-box { background: #fff8e1; border-left: 5px solid var(--yellow); padding: 24px 26px; }
.note-box strong { display: block; color: var(--navy); font: 700 20px/1.2 var(--head); text-transform: uppercase; margin-bottom: 6px; }
.quote { font: 600 clamp(26px, 3vw, 38px)/1.2 var(--head); color: #fff; text-transform: none; letter-spacing: 0; max-width: 32ch; }
.video-frame { aspect-ratio: 9 / 16; max-height: 600px; overflow: hidden; background: #000; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 48px; }

/* Beekeeping page accent */
.bee .tag, .bee .hl { color: #a88414; }
.bee .tag::before { background: #c9a227; }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .slide > img, .slide .kicker, .slide h1, .slide h2, .slide p, .slide .actions { transition: none !important; }
  * { animation: none !important; }
}

.split .txt .checks li { color: #fff; }
.split .txt .checks svg { color: var(--yellow); }
.pcard.cta-card { background: var(--navy); display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 36px; color: rgba(255,255,255,.75); }
.pcard.cta-card::before { content: ""; position: absolute; inset: 14px; border: 2px dashed rgba(244,180,0,.45); pointer-events: none; }
.pcard.cta-card .ic { width: 64px; height: 64px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); }
.pcard.cta-card .ic svg { width: 32px; height: 32px; }
.pcard.cta-card h3 { color: #fff; font-size: 34px; }
.pcard.cta-card .btn { align-self: flex-start; position: relative; }
.cities.light span { color: var(--navy); border-color: var(--line); }
.navy .pstep .num { border-color: transparent; }
.navy .pstep p { color: rgba(255,255,255,.7); }
.navy .process::before { border-color: rgba(255,255,255,.25); }
.photo-tall { aspect-ratio: 4 / 5; max-height: 560px; overflow: hidden; }
.photo-tall img { width: 100%; height: 100%; object-fit: cover; }

/* two-up / multi-up grids collapse to one column on phones */
.boxes.two-col { grid-template-columns: 1fr 1fr; }
.process.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .process.five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .boxes.two-col, .process, .process.five, .checks, .values, .features .grid, .form, .pnav, .tech { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .value { border-left: 0; padding-left: 0; }
  .pnav a + a { border-left: 0; border-top: 1px solid var(--line); text-align: left; align-items: flex-start; }
}
.split-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
@media (max-width: 700px) { .split-cta { grid-template-columns: 1fr; } }
.gallery button, .photo-tall, .svc .ph, .pcard, .collage > div, .sdetail .hero-img, .sdetail .two img { background-color: #e6eaee; }
