/* MI Recruitment — shared styles */
:root {
  --navy: #0d1b2a;
  --navy-2: #13263a;
  --navy-3: #1c3550;
  --orange: #e8661c;
  --orange-dk: #c9530f;
  --light: #eef2f5;
  --grey: #5b6b7a;
  --white: #ffffff;
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--navy); background: var(--white); line-height: 1.6; font-size: 17px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--head); text-transform: uppercase; line-height: 1.05; letter-spacing: .5px; font-weight: 700; }
h1 { font-size: clamp(44px, 7vw, 88px); }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: 24px; }
.accent { color: var(--orange); }
.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: 2px; font-size: 15px; color: var(--orange); font-weight: 600; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--orange); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); text-transform: uppercase; letter-spacing: 1px; font-size: 17px; font-weight: 600; text-decoration: none; padding: 15px 28px; border: 2px solid var(--orange); background: var(--orange); color: var(--white); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: var(--orange-dk); border-color: var(--orange-dk); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn.ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn.dark { background: var(--navy); border-color: var(--navy); }
.btn.dark:hover { background: var(--navy-3); border-color: var(--navy-3); }

/* Top bar + header */
.topbar { background: var(--orange); color: var(--white); font-size: 14px; font-weight: 500; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 28px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.topbar svg { width: 15px; height: 15px; }
header.site { background: var(--navy); color: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--orange); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand svg { width: 29px; height: 56px; flex: 0 0 29px; }
.brand .name { font-family: var(--head); font-size: 24px; font-weight: 700; letter-spacing: 1px; line-height: 1; }
.brand .tag { font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase; color: #b8c4cf; margin-top: 5px; border-top: 2px solid var(--orange); padding-top: 5px; }
nav.main ul { list-style: none; display: flex; gap: 34px; align-items: center; }
nav.main a { font-family: var(--head); text-transform: uppercase; letter-spacing: 1px; font-size: 17px; text-decoration: none; color: #d4dce3; padding: 6px 0; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
nav.main a:hover, nav.main a.active { color: var(--white); border-color: var(--orange); }
nav.main a.btn { color: var(--white); border-bottom: 2px solid var(--orange); padding: 11px 20px; font-size: 16px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); cursor: pointer; }
.menu-toggle svg { width: 30px; height: 30px; }

/* Hero */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; min-height: 640px; padding-top: 70px; padding-bottom: 70px; }
.hero h1 .line { display: block; }
.hero p.lead { font-size: 19px; color: #c7d1da; max-width: 560px; margin: 26px 0 36px; }
.hero .cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-art { position: relative; align-self: stretch; min-height: 420px; }
.hero-art svg { position: absolute; right: -40px; bottom: -70px; width: 120%; height: auto; }

.page-hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; }
.page-hero .wrap { position: relative; padding-top: 90px; padding-bottom: 90px; }
.page-hero p { color: #c7d1da; font-size: 19px; max-width: 640px; margin-top: 20px; }
.page-hero .stripe { position: absolute; right: -60px; top: 0; bottom: 0; width: 360px; background: repeating-linear-gradient(-45deg, var(--orange) 0 28px, transparent 28px 56px); opacity: .14; }

/* Hazard stripe divider */
.hazard { height: 14px; background: repeating-linear-gradient(-45deg, var(--orange) 0 18px, var(--navy) 18px 36px); }

/* Sections */
section { padding: 100px 0; }
section.light { background: var(--light); }
section.dark { background: var(--navy); color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { color: var(--grey); margin-top: 16px; font-size: 18px; }
section.dark .section-head p { color: #b8c4cf; }

/* Stats strip */
.stats { background: var(--orange); color: var(--white); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; border-right: 1px solid rgba(255,255,255,.25); }
.stat:last-child { border-right: 0; }
.stat strong { font-family: var(--head); font-size: 26px; text-transform: uppercase; display: block; line-height: 1.1; }
.stat span { font-size: 14.5px; opacity: .92; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.card { background: var(--white); padding: 38px 32px; border-top: 4px solid var(--orange); box-shadow: 0 10px 30px rgba(13,27,42,.07); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(13,27,42,.13); }
.card .icon { width: 62px; height: 62px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; margin-bottom: 22px; }
.card .icon svg { width: 32px; height: 32px; color: var(--white); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--grey); font-size: 16px; }
.card ul { margin-top: 16px; list-style: none; }
.card li { font-size: 15px; padding: 6px 0 6px 28px; position: relative; border-bottom: 1px solid #e6ebef; }
.card li:last-child { border-bottom: 0; }
.card li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--orange); background: radial-gradient(var(--orange) 0 3px, transparent 4px); }
.card.dark { background: var(--navy-2); color: var(--white); box-shadow: none; }
.card.dark p { color: #b8c4cf; }

/* Check list */
.checks { list-style: none; margin: 26px 0 34px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; font-weight: 500; }
.checks li svg { flex: 0 0 26px; width: 26px; height: 26px; color: var(--orange); }

/* Feature panel */
.panel { background: var(--navy); color: var(--white); padding: 50px; position: relative; overflow: hidden; }
.panel::after { content: ""; position: absolute; right: 0; bottom: 0; width: 180px; height: 180px; background: repeating-linear-gradient(-45deg, var(--orange) 0 14px, transparent 14px 28px); opacity: .25; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.panel h3 { font-size: 30px; margin-bottom: 18px; }
.panel p { color: #c7d1da; }
.panel .big { font-family: var(--head); font-size: 64px; color: var(--orange); line-height: 1; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 0 26px 0 0; position: relative; }
.step .num { font-family: var(--head); font-size: 54px; font-weight: 700; color: var(--orange); line-height: 1; }
.step h4 { font-size: 21px; margin: 14px 0 10px; }
.step p { color: #b8c4cf; font-size: 15.5px; }
.step::after { content: ""; position: absolute; top: 26px; left: 76px; right: 26px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 8px, transparent 8px 16px); }
.step:last-child::after { display: none; }

/* Roles strip */
.roles { display: flex; flex-wrap: wrap; gap: 12px; }
.roles span { font-family: var(--head); text-transform: uppercase; letter-spacing: 1px; font-size: 16px; padding: 10px 18px; border: 2px solid var(--navy); }
.roles span:nth-child(3n+1) { background: var(--navy); color: var(--white); }

/* CTA band */
.cta-band { background: var(--orange); color: var(--white); padding: 70px 0; position: relative; overflow: hidden; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; position: relative; }
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); }
.cta-band p { font-size: 18px; margin-top: 8px; opacity: .95; }
.cta-band::before { content: ""; position: absolute; left: -80px; top: -80px; width: 260px; height: 260px; border: 40px solid rgba(255,255,255,.1); border-radius: 50%; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.c-card { display: flex; gap: 20px; align-items: center; background: var(--navy); color: var(--white); padding: 26px 28px; text-decoration: none; transition: transform .2s; }
.c-card:hover { transform: translateX(6px); }
.c-card .icon { flex: 0 0 58px; width: 58px; height: 58px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; }
.c-card .icon svg { width: 28px; height: 28px; }
.c-card small { display: block; font-family: var(--head); text-transform: uppercase; letter-spacing: 1.5px; color: #b8c4cf; font-size: 14px; }
.c-card strong { font-size: 21px; font-weight: 600; word-break: break-word; }
form.contact { background: var(--white); padding: 44px; box-shadow: 0 14px 40px rgba(13,27,42,.1); border-top: 4px solid var(--orange); }
form.contact h3 { margin-bottom: 6px; font-size: 28px; }
form.contact > p { color: var(--grey); margin-bottom: 26px; }
.toggle { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--navy); margin-bottom: 22px; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle label { text-align: center; padding: 12px; font-family: var(--head); text-transform: uppercase; letter-spacing: 1px; cursor: pointer; font-size: 16px; transition: background .2s, color .2s; }
.toggle input:checked + label { background: var(--navy); color: var(--white); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 1.5px solid #cfd8e0; background: #f8fafb; color: var(--navy); transition: border-color .2s, background .2s; border-radius: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: var(--white); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13.5px; color: var(--grey); margin-top: 14px; }
.form-success { display: none; background: #eaf7ee; border-left: 4px solid #2e9e5b; padding: 14px 16px; margin-top: 16px; font-size: 15px; }

/* Footer */
footer.site { background: #08121c; color: #9fb0bf; padding: 70px 0 0; font-size: 15px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-bottom: 50px; }
footer.site h4 { color: var(--white); font-size: 18px; margin-bottom: 18px; letter-spacing: 1px; }
footer.site ul { list-style: none; }
footer.site li { padding: 5px 0; }
footer.site a { text-decoration: none; transition: color .2s; }
footer.site a:hover { color: var(--orange); }
footer.site .brand { margin-bottom: 18px; color: var(--white); }
footer.site .tagline { font-family: var(--head); text-transform: uppercase; letter-spacing: 1px; color: var(--white); font-size: 18px; margin-top: 18px; }
footer.site .bottom { border-top: 1px solid #1c2b3a; padding: 22px 0; font-size: 13.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: auto; }
  .hero-art { min-height: 300px; }
  .hero-art svg { position: relative; right: auto; bottom: -70px; width: 100%; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; gap: 26px; }
  .step::after { display: none; }
  .grid-2, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; }
  nav.main { position: absolute; top: 87px; left: 0; right: 0; background: var(--navy); border-bottom: 3px solid var(--orange); display: none; }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; gap: 0; padding: 10px 24px 24px; align-items: stretch; }
  nav.main li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--navy-3); }
  nav.main a.btn { margin-top: 14px; justify-content: center; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding: 70px 0; }
  .grid-3, .steps, .row, footer.site .cols { grid-template-columns: 1fr; }
  .topbar .wrap { justify-content: center; gap: 18px; font-size: 13px; }
  .topbar .hide-sm { display: none; }
  form.contact, .panel { padding: 30px 22px; }
  .stats .wrap { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
}

/* Password screen */
html.locked body > *:not(#gate) { display: none !important; }
#gate { position: fixed; inset: 0; z-index: 999; background: var(--navy); display: grid; place-items: center; padding: 24px; }
#gate::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; }
#gate::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: repeating-linear-gradient(-45deg, var(--orange) 0 18px, var(--navy) 18px 36px); }
.gate-box { position: relative; width: 100%; max-width: 400px; background: var(--navy-2); border-top: 4px solid var(--orange); padding: 44px 36px; text-align: center; color: var(--white); }
.gate-box svg { width: 36px; height: 70px; margin: 0 auto 14px; }
.gate-name { font-family: var(--head); font-size: 28px; font-weight: 700; letter-spacing: 1px; }
.gate-box p { color: #b8c4cf; font-size: 15px; margin: 10px 0 24px; }
.gate-box input { width: 100%; font: inherit; padding: 14px; border: 1.5px solid var(--navy-3); background: var(--navy); color: var(--white); margin-bottom: 14px; border-radius: 0; }
.gate-box input:focus { outline: none; border-color: var(--orange); }
.gate-box .btn { width: 100%; justify-content: center; }
.gate-err { display: none; color: #ff8a65; font-size: 14px; margin-top: 14px; }

/* Animated hero crane (desktop) */
.hero h1 .line { width: fit-content; will-change: transform; }
.hero h1 { position: relative; z-index: 3; }
.hero .wrap { z-index: 2; }
.crane-rig { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero.rig-on .hero-art { visibility: hidden; }
.hero.rig-on .wrap { padding-top: 150px; padding-bottom: 90px; }
html.rig-pending .hero h1 .line { visibility: hidden; }

/* Crane game */
.game-sec { background: var(--navy); color: var(--white); padding: 50px 0 70px; position: relative; overflow: hidden; }
.game-sec::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; }
.game-grid { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: start; }
.game-info .lead { color: #c7d1da; font-size: 18px; margin: 18px 0 24px; max-width: 480px; }
.how-list { list-style: none; margin-bottom: 18px; }
.how-list li { display: flex; align-items: center; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--navy-3); color: #d4dce3; }
.how-list li span { min-width: 104px; display: flex; gap: 6px; }
kbd { font-family: var(--head); font-size: 14px; background: var(--navy-3); border: 1px solid #2f4c6b; border-bottom-width: 3px; padding: 3px 9px; color: var(--white); min-width: 30px; text-align: center; display: inline-block; }
.tip { color: #8ea0b1; font-size: 14px; margin-bottom: 30px; }
.game-cta { padding: 34px; background: var(--navy-2); }
.game-cta h3 { font-size: 26px; margin-bottom: 8px; }
.game-cta p { margin-bottom: 20px; }
.stage { position: relative; border: 3px solid var(--navy-3); box-shadow: 0 20px 50px rgba(0,0,0,.4); line-height: 0; }
.stage canvas { display: block; outline: none; touch-action: none; }
.game-overlay { position: absolute; inset: 0; display: none; place-items: center; background: rgba(8,18,28,.78); padding: 24px; line-height: 1.6; }
.go-box { background: var(--navy-2); border-top: 4px solid var(--orange); padding: 32px 30px; text-align: center; max-width: 360px; width: 100%; }
.go-box h2 { font-size: 46px; margin-bottom: 10px; }
.go-box p { color: #c7d1da; font-size: 15px; margin-bottom: 18px; }
.go-box .how { list-style: none; text-align: left; margin: 0 auto 20px; display: inline-block; font-size: 14.5px; color: #d4dce3; }
.go-box .how li { padding: 4px 0; }
.go-box .how kbd { font-size: 12px; padding: 1px 6px; min-width: 24px; margin-right: 4px; }
.go-box .small { font-size: 13.5px; margin: 16px 0 0; }
.go-box .small a { color: var(--orange); }
.go-box .eyebrow { justify-content: center; }
.touch-controls { display: none; grid-template-columns: 1fr 1fr 1.4fr 1fr; gap: 10px; margin-top: 14px; user-select: none; -webkit-user-select: none; }
.touch-controls button { height: 64px; background: var(--navy-3); color: var(--white); border: 0; border-bottom: 4px solid #0a1622; font-family: var(--head); font-size: 20px; letter-spacing: 1px; display: grid; place-items: center; touch-action: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.touch-controls button svg { width: 28px; height: 28px; }
.touch-controls button.drop { background: var(--orange); border-bottom-color: var(--orange-dk); }
.touch-controls button.down { transform: translateY(3px); border-bottom-width: 1px; filter: brightness(1.15); }
@media (pointer: coarse), (max-width: 760px) { .touch-controls { display: grid; } .tip { display: block; } }
@media (pointer: fine) and (min-width: 761px) { .tip { display: none; } }
@media (max-width: 960px) {
  .game-grid { grid-template-columns: 1fr; gap: 30px; }
  .game-stage-wrap { order: -1; display: flex; flex-direction: column; align-items: center; }
  .game-info h1 { display: none; }
  .game-sec { padding-top: 20px; }
}

/* Photos */
.page-hero.has-photo { background: var(--navy); }
.page-hero.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(13,27,42,.93) 40%, rgba(13,27,42,.55) 75%, rgba(13,27,42,.35) 100%), var(--bg) var(--pos, center)/cover no-repeat; z-index: 0; }
.page-hero.has-photo::before { z-index: 1; }
.page-hero.has-photo .wrap { z-index: 2; padding-top: 110px; padding-bottom: 110px; }
.page-hero.has-photo .stripe { z-index: 1; opacity: .1; }
.photo-card { position: relative; overflow: hidden; min-height: 520px; margin: 0; background: var(--navy); }
.photo-card.short { min-height: 340px; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.photo-card:hover img { transform: scale(1.04); }
.photo-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: repeating-linear-gradient(-45deg, var(--orange) 0 14px, var(--navy) 14px 28px); }
.photo-card figcaption { position: absolute; left: 0; bottom: 34px; background: var(--navy); color: var(--white); font-family: var(--head); text-transform: uppercase; font-size: 24px; letter-spacing: .5px; padding: 16px 24px; border-left: 5px solid var(--orange); max-width: 85%; line-height: 1.2; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { margin: 0; aspect-ratio: 3/4; overflow: hidden; position: relative; border-bottom: 4px solid var(--orange); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, filter .4s; filter: saturate(.95); }
.gallery figure:hover img { transform: scale(1.06); filter: saturate(1.1); }
@media (max-width: 960px) { .gallery { grid-template-columns: 1fr 1fr; } .photo-card { min-height: 420px; } }
@media (max-width: 620px) { .page-hero.has-photo::after { background: linear-gradient(rgba(13,27,42,.85), rgba(13,27,42,.92)), var(--bg) var(--pos, center)/cover no-repeat; } .page-hero.has-photo .wrap { padding-top: 80px; padding-bottom: 80px; } .photo-card figcaption { font-size: 19px; } }

/* Socials + service photos + 6-photo gallery */
.top-social { display: inline-flex; gap: 14px; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.35); }
.topbar .top-social svg { width: 16px; height: 16px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; background: #13263a; color: var(--white); transition: background .2s; }
.socials a:hover { background: var(--orange); color: var(--white); }
.socials svg { width: 19px; height: 19px; }
.c-social { display: grid; grid-template-columns: 1fr; gap: 18px; }
.c-social .c-card { padding: 20px; gap: 14px; }
.c-social .c-card .icon { flex-basis: 46px; width: 46px; height: 46px; }
.c-social .c-card .icon svg { width: 22px; height: 22px; }
.c-social .c-card strong { font-size: 16px; }
.card.has-img { padding-top: 0; overflow: hidden; }
.card-img { margin: 0 -32px 0; height: 210px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card.has-img:hover .card-img img { transform: scale(1.06); }
.card.has-img .icon { margin-top: -31px; position: relative; border: 4px solid var(--white); width: 70px; height: 70px; }
.gallery { grid-template-columns: repeat(3, 1fr); }
.gallery figure { aspect-ratio: 4/3.4; }
@media (max-width: 960px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .c-social { grid-template-columns: 1fr; } .top-social { border-left: 0; padding-left: 0; } }

/* Gallery page */
.masonry { columns: 3 300px; column-gap: 16px; }
.g-item { display: block; position: relative; margin-bottom: 16px; break-inside: avoid; overflow: hidden; border-bottom: 4px solid var(--orange); background: var(--navy); }
.g-item img { width: 100%; height: auto; display: block; transition: transform .7s ease, opacity .3s; }
.g-item:hover img { transform: scale(1.05); opacity: .85; }
.g-zoom { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; background: var(--orange); color: #fff; display: grid; place-items: center; opacity: 0; transform: translateY(8px); transition: .3s; }
.g-item:hover .g-zoom { opacity: 1; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,12,20,.94); display: none; align-items: center; justify-content: center; padding: 30px 80px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-bottom: 4px solid var(--orange); }
.lightbox figcaption { color: #c7d1da; font-size: 14px; margin-top: 12px; }
.lightbox button { position: absolute; background: var(--navy-3); color: #fff; border: 0; cursor: pointer; width: 54px; height: 54px; display: grid; place-items: center; font-size: 34px; line-height: 1; transition: background .2s; }
.lightbox button:hover { background: var(--orange); }
.lightbox button svg { width: 26px; height: 26px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 620px) { .lightbox { padding: 60px 10px 80px; } .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } .masonry { columns: 2 140px; column-gap: 10px; } .g-item { margin-bottom: 10px; } }
@media (min-width: 961px) and (max-width: 1180px) { nav.main ul { gap: 22px; } nav.main a { font-size: 15.5px; } }
