:root {
  --ink: #07152f;
  --muted: #53627a;
  --soft: #eef3f8;
  --line: #dbe4ee;
  --paper: #ffffff;
  --navy: #050b1d;
  --accent: #62738f;
  --shadow: 0 16px 42px rgba(7, 21, 47, .08);
  --radius: 30px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #f6f9fc;
  line-height: 1.55;
}
a { color: inherit; }
img, video { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: white; padding: 10px 14px; z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; }
.logo { text-decoration: none; display: grid; gap: 2px; }
.logo-main { font-weight: 700; letter-spacing: -.02em; font-size: 21px; }
.logo-sub { color: var(--muted); text-transform: uppercase; letter-spacing: .22em; font-size: 11px; }
.nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.nav a, .pill-link, .button-link {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  background: rgba(255,255,255,.86);
  transition: .18s ease;
}
.nav a:hover, .pill-link:hover, .button-link:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.hero {
  background: linear-gradient(135deg, #fff 0%, #eef4fb 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 92px 0; }
.eyebrow { margin: 0; color: var(--accent); text-transform: uppercase; letter-spacing: .22em; font-size: 13px; font-weight: 800; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-size: clamp(44px, 6vw, 78px); line-height: .96; letter-spacing: -.055em; margin-bottom: 24px; }
.hero-copy { color: var(--muted); font-size: 19px; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.primary { background: var(--navy); color: white; border-color: var(--navy); }
.primary:hover { color: white; background: #111b32; }
.hero-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.profile-name { font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 4px; }
.credentials { color: var(--accent); font-weight: 800; letter-spacing: .16em; font-size: 12px; text-transform: uppercase; margin-bottom: 24px; }
.stat-list { display: grid; gap: 0; margin-top: 10px; }
.stat { padding: 18px 0; border-top: 1px solid var(--line); font-size: 18px; }
.section { padding: 82px 0; scroll-margin-top: 92px; }
.section-header { max-width: 780px; margin-bottom: 34px; }
.section-header h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.02; letter-spacing: -.045em; margin: 12px 0 18px; }
.section-header p { color: var(--muted); font-size: 18px; }
.grid { display: grid; gap: 24px; }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-pad { padding: 30px; }
.card h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.03em; margin-bottom: 14px; }
.card p { color: var(--muted); }
.bullets { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; color: #344157; }
.bullets li { display: flex; gap: 12px; }
.bullets li:before { content: ''; flex: 0 0 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-top: 10px; }
.experience-subnav { position: sticky; top: 80px; z-index: 40; background: rgba(246,249,252,.94); backdrop-filter: blur(16px); border-block: 1px solid var(--line); }
.experience-subnav .container { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; }
.project-card { display: grid; grid-template-rows: auto 1fr; }
.media-box { min-height: 245px; background: var(--navy); position: relative; overflow: hidden; }
.media-box img { width: 100%; height: 100%; min-height: 245px; object-fit: cover; }
.media-box .fallback { position: absolute; inset: 0; display: grid; place-items: center; color: white; font-weight: 800; letter-spacing: .18em; font-size: 26px; }
.project-meta { color: var(--accent); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 800; margin-bottom: 12px; }
.project-location { color: var(--accent); margin-top: -8px; font-size: 14px; }
.project-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.facts { display: grid; gap: 10px; margin: 24px 0; }
.fact { background: #f7fafc; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; color: #334155; font-size: 14px; }
.case-study { scroll-margin-top: 150px; }
.case-grid { display: grid; grid-template-columns: .34fr .66fr; gap: 34px; }
.case-body > p { color: var(--muted); font-size: 17px; }
.video-card { margin-top: 30px; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: white; display: grid; grid-template-columns: 1.3fr .7fr; }
.video-card video { width: 100%; height: 100%; min-height: 290px; object-fit: cover; background: #000; }
.video-copy { padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.video-copy p { color: rgba(255,255,255,.76); }
.placeholder-video { margin-top: 30px; border: 1px dashed #b9c5d3; background: #f9fbfd; border-radius: var(--radius); padding: 28px; }
.gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.gallery-trigger img {
  transition: transform .22s ease, filter .22s ease;
}

.gallery-trigger:hover img {
  transform: scale(1.025);
  filter: brightness(.96);
}

.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(5, 11, 29, .9);
}

.lightbox-panel {
  width: min(1200px, 100%);
  max-height: calc(100vh - 56px);
  display: grid;
  gap: 14px;
}

.lightbox-image-wrap {
  position: relative;
  display: grid;
  place-items: center;
  background: #000;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

.lightbox-image-wrap img {
  width: 100%;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  background: #000;
}

.lightbox-caption {
  color: white;
  display: grid;
  gap: 3px;
}

.lightbox-caption span {
  color: rgba(255, 255, 255, .62);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 800;
}

.lightbox-caption strong {
  font-size: 18px;
}

.lightbox-caption em {
  color: rgba(255, 255, 255, .68);
  font-style: normal;
  font-size: 14px;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(5, 11, 29, .72);
  color: white;
  cursor: pointer;
  transition: .18s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, .16);
}

.lightbox-close {
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 30px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 58px;
  border-radius: 999px;
  font-size: 44px;
  line-height: 1;
}

.lightbox-prev {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

@media (max-width: 620px) {
  .lightbox {
    padding: 14px;
  }

  .lightbox-image-wrap img {
    max-height: calc(100vh - 160px);
  }

  .lightbox-nav {
    width: 42px;
    height: 50px;
    font-size: 36px;
  }
}
.gallery { margin-top: 30px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
figure { margin: 0; background: white; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
figure img { width: 100%; height: 260px; object-fit: cover; background: var(--navy); }
figcaption { padding: 12px 14px; color: var(--muted); font-size: 14px; }
.news-section { background: var(--navy); color: white; border-radius: var(--radius); padding: 42px; }
.news-section p { color: rgba(255,255,255,.72); }
.news-grid { display: grid; gap: 14px; }
.news-item { text-decoration: none; display: block; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); border-radius: 22px; padding: 20px; transition: .18s ease; }
.news-item:hover { background: rgba(255,255,255,.1); transform: translateY(-1px); }
.news-item strong { display: block; margin-top: 7px; font-size: 18px; }
.news-item span { color: rgba(255,255,255,.66); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; }
.back-link { display: inline-block; margin-top: 30px; font-weight: 800; color: var(--accent); text-decoration: none; }
.dark-back { color: rgba(255,255,255,.78); }
.contact-grid { display: grid; grid-template-columns: .42fr .58fr; gap: 24px; }
.contact-form { display: grid; gap: 14px; }
label { color: #344157; font-size: 14px; font-weight: 800; }
input, textarea { width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: #f9fbfd; color: var(--ink); }
textarea { min-height: 135px; resize: vertical; }
button.primary { cursor: pointer; border-radius: 16px; padding: 14px 18px; font-weight: 800; border: 0; }
.footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .header-inner, .hero-grid, .case-grid, .video-card, .contact-grid { grid-template-columns: 1fr; display: grid; }
  .nav { justify-content: flex-start; }
  .two, .three, .gallery-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 64px 0; }
  .section { padding: 62px 0; }
  .news-section { padding: 28px; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav a { padding: 8px 11px; font-size: 13px; }
  .card-pad { padding: 24px; }
  .hero-panel { padding: 26px; }
  figure img { height: 220px; }
}
