/* =========================
   Theme variables
   ========================= */
:root{
  --bg:#0f172a; --panel:#0b1220; --text:#e5e7eb; --muted:#94a3b8; --line:rgba(255,255,255,0.08);
  --brand:#22d3ee; --accent:#f59e0b; --card:#111827; --soft:#111927;
  --maxw:1180px; --radius:14px; --shadow:0 10px 30px rgba(0,0,0,.25); --header-offset:72px;

  /* Contact form vertical offset (aligns with left column title) */
  --contact-form-offset: 37px;

  /* Header logo sizes */
  --brand-logo-h-mobile: 44px;
  --brand-logo-h-desktop: 58px;
}

/* =========================
   Base
   ========================= */
*{ box-sizing:border-box }
html,body{ height:100% }
body{
  margin:0; color:var(--text);
  background:
    radial-gradient(1200px 600px at 30% -20%, rgba(34,211,238,.08), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(245,158,11,.07), transparent 55%),
    linear-gradient(180deg, #0a1223 0%, #0f172a 100%);
  font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,"Helvetica Neue",Arial,"Apple Color Emoji","Segoe UI Emoji";
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block }
a{ color:var(--brand); text-decoration:none }
a:hover{ text-decoration:underline }

/* Utilities */
.container{ width:100%; max-width:var(--maxw); margin-inline:auto; padding:0 20px }
.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-48{margin-top:48px}
.mb-8{margin-bottom:8px}
.grid{ display:grid; gap:24px }
.grid.two-col{ grid-template-columns:1fr; gap:28px }
.grid.cards-3{ grid-template-columns:1fr; gap:24px }
.hero-grid{ grid-template-columns:1fr; align-items:center }
@media (min-width:880px){
  .grid.two-col{ grid-template-columns:1.1fr .9fr }
  .grid.cards-3{ grid-template-columns:repeat(3,1fr) }
  .hero-grid{ grid-template-columns:1.1fr .9fr }
}

/* Accessibility */
.skip-link{ position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden }
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto;
  background:#000; color:#fff; padding:8px 12px; border-radius:8px; z-index:9999
}
/* Visually hidden (for screen readers only) */
.sr-only{
position:absolute !important;
width:1px; height:1px;
padding:0; margin:-1px;
overflow:hidden; clip:rect(0,0,0,0);
white-space:nowrap; border:0;
}

/* =========================
   Header / Navigation
   ========================= */
.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(1.2) blur(6px);
  background:rgba(10,18,35,.85);
  border-bottom:1px solid var(--line);
  padding:8px 0; /* keep navbar height compact */
}
.nav{ display:flex; align-items:center; justify-content:space-between }

/* Brand (logo only in header) */
.brand{ display:flex; align-items:center; gap:6px; color:#fff }
.brand-logo{
  height:var(--brand-logo-h-mobile);
  max-height:var(--brand-logo-h-mobile);
  width:auto; max-width:none;
  object-fit:contain;
  filter:drop-shadow(0 6px 12px rgba(0,0,0,.35));
}
@media (min-width:880px){
  .brand-logo{ height:var(--brand-logo-h-desktop); max-height:var(--brand-logo-h-desktop) }
}
.site-header.is-compact .brand-logo{
  height:calc(var(--brand-logo-h-desktop) - 8px);
  max-height:calc(var(--brand-logo-h-desktop) - 8px);
}

/* Mobile nav (overlay) */
.site-nav{
position:fixed;
top:68px; left:16px; right:16px;
z-index:1200; /* this must be >= nav-toggle z-index or just below */
background:#0b1220;
border:1px solid var(--line);
border-radius:14px;
padding:12px;
display:none;
box-shadow:0 20px 50px rgba(0,0,0,.55);
}
.site-nav.open{ display:block }
.site-nav ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:4px }
.site-nav a{ display:block; padding:10px 12px; border-radius:10px; color:#e5e7eb }
.site-nav a:hover{ background:rgba(255,255,255,.06) }
.btn--nav{ background:linear-gradient(135deg,var(--brand),var(--accent)); color:#0b1220; font-weight:700 }

/* Hamburger button (white on mobile, animated X) */
.nav-toggle{
appearance:none; -webkit-appearance:none;
width:48px; height:48px; padding:0; border-radius:12px;
display:inline-grid; place-items:center; gap:6px;
background:#ffffff;
border:1px solid rgba(0,0,0,.15);
box-shadow:0 8px 20px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.65);
transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
z-index:1300; /* keep above sticky header content */
}
.nav-toggle .bar{
display:block; width:24px; height:3px; border-radius:2px;
background:#0b1220; /* dark bars on white */
box-shadow:0 1px 0 rgba(0,0,0,.25);
transition:transform .25s ease, opacity .2s ease, background .2s ease;
}
.nav-toggle:hover{ transform:translateY(-1px); box-shadow:0 12px 26px rgba(0,0,0,.5) }
.nav-toggle:focus-visible{ outline:3px solid var(--brand); outline-offset:3px }

/* Open state -> animated X */
.nav-toggle[aria-expanded="true"]{
background:#ffffff; border-color:rgba(0,0,0,.18);
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1){ transform:translateY(9px) rotate(45deg) }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2){ opacity:0 }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3){ transform:translateY(-9px) rotate(-45deg) }

/* Hide the toggle on desktop */
@media (min-width:1000px){
.nav-toggle{ display:none }
}

/* Desktop nav (single-line, aligned, tight spacing) */
@media (min-width:1000px){
  .site-nav{ all:unset }
  .site-nav ul{
    display:flex; flex-direction:row; gap:10px; align-items:center; flex-wrap:nowrap;
    list-style:none; margin:0; padding:0;
  }
  .site-nav a{
    display:flex; align-items:center;
    padding:6px 10px; font-size:15px; line-height:1; white-space:nowrap;
    border-radius:10px; color:#e5e7eb;
  }
  .site-nav a:hover{ background:rgba(255,255,255,.06) }
  .btn--nav{ padding:6px 12px; line-height:1; white-space:nowrap }
  .nav-toggle{ display:none }
}

/* Anchor target offset for sticky header */
section{ scroll-margin-top:var(--header-offset) }

/* =========================
   Hero
   ========================= */
.hero{ padding:64px 0 36px }
.hero h1{ font-size:clamp(28px,5vw,46px); line-height:1.15; margin:0 0 10px }
.subtitle{ color:var(--muted); max-width:60ch }
.hero-ctas{ display:flex; gap:12px; margin-top:16px }
.hero-stats{ list-style:none; display:flex; gap:18px; flex-wrap:wrap; margin:22px 0 0; padding:0 }
.hero-stats .stat{
  font-weight:800; font-size:20px;
  background:linear-gradient(135deg,var(--brand),var(--accent));
  -webkit-background-clip:text; background-clip:text; color:transparent
}
.hero-stats .label{ display:block; color:var(--muted); font-size:13px }
.hero-graphic{
  border-radius:18px; border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  box-shadow:var(--shadow)
}

/* =========================
   Sections / Headings
   ========================= */
.section{ padding:56px 0 }
.section.alt{ background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)) }
.eyebrow{ letter-spacing:.18em; text-transform:uppercase; color:var(--muted); font-size:13px }
.lede{ color:#cbd5e1 }

h2{
  margin:0 0 6px; font-size:clamp(22px,3.4vw,34px); font-weight:800; letter-spacing:.2px;
  background:linear-gradient(135deg,#e2e8f0 0%,var(--brand) 45%,var(--accent) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
h2::after{
  content:""; display:block; height:3px; width:64px; margin-top:8px;
  background:linear-gradient(90deg,var(--brand),var(--accent)); border-radius:2px
}
h3{ margin:0 0 6px }
p{ margin:8px 0 }

/* =========================
   Cards
   ========================= */
.card{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:18px;
  box-shadow:0 1px 0 rgba(255,255,255,.03) inset, var(--shadow)
}
.card--soft{ background:var(--soft) }
.divider{ height:1px; background:var(--line); margin:14px 0 }
.bullets{ margin:0; padding-left:18px }
.checklist{ list-style:none; margin:0; padding:0 }
.checklist li{ position:relative; padding-left:28px; margin:10px 0 }
.checklist li::before{
  content:""; position:absolute; left:0; top:7px; width:16px; height:16px; border-radius:5px;
  background:linear-gradient(135deg,var(--brand),var(--accent)); box-shadow:0 2px 6px rgba(0,0,0,.3)
}

/* Services icons */
.service .icon{ font-size:22px; margin-bottom:8px }

/* =========================
   Contact strip
   ========================= */
.contact-strip{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:rgba(255,255,255,.02) }
.strip{ display:grid; grid-template-columns:1fr; gap:8px; padding:12px 0 }
.strip-item{ display:flex; gap:10px; align-items:center }
.strip-label{ color:var(--muted); font-size:13px }
.strip-value{ color:#e5e7eb }
@media (min-width:780px){ .strip{ grid-template-columns:repeat(4,1fr) } }

/* =========================
Contact section
========================= */
.contact-cards {
display: grid;
grid-template-columns: 1fr; /* always stacked */
gap: 16px;
}

/* Card appearance */
.contact-card {
position: relative;
background: var(--soft);
border: 1px solid var(--line);
border-radius: 16px;
padding: 18px;
box-shadow: var(--shadow);
}
.contact-card::before {
content: "";
position: absolute;
left: -1px; top: -1px; bottom: -1px;
width: 4px;
background: linear-gradient(180deg, var(--brand), var(--accent));
border-radius: 16px 0 0 16px;
opacity: .95;
}

/* Headings inside the cards */
.contact-card h3 {
margin: 0 0 8px;
font-weight: 900;
letter-spacing: .2px;
background: linear-gradient(135deg, #e6edf7 0%, var(--brand) 45%, var(--accent) 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.contact-card h3::after {
content: "";
display: block;
width: 44px; height: 2px; margin-top: 8px;
background: linear-gradient(90deg, var(--brand), var(--accent));
border-radius: 2px;
opacity: .95;
}

/* List-style rows with icons (Option A: flex) */
.ci {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 0;
border-top: 1px solid var(--line);
margin: 0;
flex-wrap: wrap;
}
.contact-card .ci:first-of-type { border-top: 0; padding-top: 4px; }
.ci strong {
font-weight: 800;
letter-spacing: .2px;
color: #e6edf7;
margin-right: 6px;
white-space: nowrap;
}
.contact-card a { color: var(--brand); font-weight: 600; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

/* Icon via mask (no extra HTML) */
.ci::before {
content: "";
width: 22px; height: 22px; border-radius: 6px;
background: linear-gradient(135deg, var(--brand), var(--accent));
-webkit-mask: var(--icon) center/18px 18px no-repeat;
mask: var(--icon) center/18px 18px no-repeat;
flex: 0 0 22px;
}
.ci br { flex-basis: 100%; height: 0; }

/* Icon variants */
.ci--phone { --icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M6.6 10.8a15.1 15.1 0 006.6 6.6l2.2-2.2a1 1 0 011-.24 11.6 11.6 0 003.7.6 1 1 0 011 1v3.5a1 1 0 01-1 1A17.7 17.7 0 012 6a1 1 0 011-1h3.5a1 1 0 011 1 11.6 11.6 0 00.6 3.7 1 1 0 01-.24 1l-2.26 2.1z"/></svg>'); }
.ci--mail { --icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M2 6a2 2 0 012-2h16a2 2 0 012 2v12a2 2 0 01-2 2H4a2 2 0 01-2-2V6zm2 .5l8 5 8-5V6H4v.5z"/></svg>'); }
.ci--person { --icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 12a5 5 0 100-10 5 5 0 000 10zm-8 9a8 8 0 1116 0v1H4v-1z"/></svg>'); }
.ci--location { --icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2a7 7 0 00-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 00-7-7zm0 9.5a2.5 2.5 0 110-5 2.5 2.5 0 010 5z"/></svg>'); }

/* Form styling (unchanged basics) */
.contact-form {
background: var(--card);
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 16px;
}
label { display: block; font-size: 14px; margin-bottom: 12px; color: #cbd5e1; }
input, textarea {
width: 100%;
margin-top: 6px;
background: #0b1220;
border: 1px solid var(--line);
border-radius: 10px;
color: #e5e7eb;
padding: 10px 12px;
outline: none;
}
input:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(34,211,238,.15); }
.form-note { color: var(--muted); font-size: 12px; margin-top: 8px; }

/* Buttons */
.btn{
  display:inline-block; padding:10px 14px; border-radius:12px; border:1px solid var(--line);
  transition:.15s ease; color:#fff; text-decoration:none
}
.btn--primary{ background:linear-gradient(135deg,var(--brand),var(--accent)); color:#0b1220; font-weight:800 }
.btn--primary:hover{ transform:translateY(-1px) }
.btn--ghost{ background:transparent }
.btn--ghost:hover{ background:rgba(255,255,255,.06) }

/* =========================
   Reveal on scroll
   ========================= */
.reveal{ opacity:0; transform:translateY(12px); transition:all .6s cubic-bezier(.2,.8,.2,1) }
.reveal.is-visible{ opacity:1; transform:none }
.delay-1{ transition-delay:.12s } .delay-2{ transition-delay:.24s } .delay-3{ transition-delay:.36s }

/* =========================
   Footer
   ========================= */
.site-footer{
  position:relative; border-top:1px solid var(--line); padding:18px 0; background:#0a1223
}

/* Footer layout (single row on desktop; robust against wrapping) */
.foot{
  display:grid;
  grid-template-columns: auto 1fr; /* brand | copyright */
  align-items:center;
  gap:12px;
}
.site-footer .brand{ align-items:center }
.site-footer .brand-text{
  white-space:nowrap; max-width:40vw; overflow:hidden; text-overflow:ellipsis
}

/* Copyright aligned to the far right on the same row */
.foot .foot-copy{
  margin:0;
  justify-self:end;        /* push to the far right column end */
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Footer credit (visible, bottom-right, does not affect layout) */
.credit-link{
  position:absolute; right:12px; bottom:6px; z-index:3;
  font-size:12px; color:var(--brand); text-decoration:none; white-space:nowrap; line-height:1; opacity:.95
}
.credit-link:hover{ color:#e5e7eb; text-decoration:underline }

/* Stack on small screens */
@media (max-width:700px){
  .foot{
    grid-template-columns:1fr;  /* stack brand and copyright */
    row-gap:8px;
  }
  .foot .foot-copy{
    justify-self:start;
    white-space:normal;
    text-overflow:clip;
  }
}

/* =========================
   Outlined helper
   ========================= */
.outlined{ border:2px solid rgba(255,255,255,.12)!important; box-shadow:0 10px 30px rgba(0,0,0,.25) }

/* =========================
   Team (executive cards)
   ========================= */
.team-grid{ display:grid; grid-template-columns:1fr; gap:20px }
@media (min-width:880px){ .team-grid{ grid-template-columns:repeat(2,1fr) } }
@media (min-width:1200px){ .team-grid{ grid-template-columns:repeat(4,1fr) } }

.team-card{
  background:var(--soft); border-radius:16px; padding:18px; position:relative; overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease
}
.team-card:hover{ transform:translateY(-4px); border-color:rgba(255,255,255,.16); box-shadow:0 12px 32px rgba(0,0,0,.35) }

.team-card__head{ padding-bottom:10px; margin-bottom:10px; border-bottom:1px solid var(--line) }
.team-card__head h3{
  font-size:clamp(20px, 2.1vw, 26px); line-height:1.25; font-weight:900; letter-spacing:.2px;
  background:linear-gradient(135deg, #e6edf7 0%, var(--brand) 45%, var(--accent) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent; text-shadow:0 0 0 transparent
}
.team-card__head::after{
  content:""; display:block; height:2px; width:56px; margin-top:10px;
  background:linear-gradient(90deg, var(--brand), var(--accent)); border-radius:2px; opacity:.95
}
.team-card .role{ display:block; margin-top:4px; font-weight:600; letter-spacing:.25px; color:var(--muted) }

/* =========================
   Image background sections
   ========================= */
.image-section{ position:relative; overflow:hidden }
.image-section .section-bg{
  position:absolute; inset:0;
  background-image:linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.55)), var(--image-url);
  background-size:cover; background-position:center; filter:saturate(1.05); will-change:transform
}
.image-section--services .section-bg{
  background-image:linear-gradient(180deg, rgba(10,18,35,.60), rgba(10,18,35,.80)), var(--image-url)
}
.image-section--track .section-bg{
  background-image:linear-gradient(180deg, rgba(10,18,35,.86), rgba(10,18,35,.92)), var(--image-url)
}
.image-section > .container{ position:relative; z-index:1 }
.image-section .card{ backdrop-filter:blur(3px); background:rgba(17,25,39,.85) }

/* =========================
   Partners & Client logos
   ========================= */
.logo-grid{ display:grid; grid-template-columns:1fr; gap:16px }
@media (min-width:700px){ .logo-grid{ grid-template-columns:repeat(2,1fr) } }

.logo-card{
  display:block; background:var(--soft); border-radius:16px; padding:14px; text-align:center;
  color:inherit; cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease
}
.logo-card:hover{ transform:translateY(-3px); border-color:rgba(255,255,255,.18); box-shadow:0 12px 28px rgba(0,0,0,.35) }
.logo-card:focus-visible{ outline:3px solid var(--brand); outline-offset:3px; border-color:rgba(255,255,255,.25) }
.logo-card img{ max-width:220px; max-height:70px; width:auto; height:auto; object-fit:contain; margin:6px auto 8px }

.logo-fallback{
  width:70px; height:70px; border-radius:12px; display:grid; place-items:center; margin:6px auto 8px;
  font-weight:800; color:#0b1220; background:linear-gradient(135deg,var(--accent),var(--brand)); box-shadow:var(--shadow)
}

.client-logos{
  display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:16px 24px;
  background:var(--soft); border-radius:16px; padding:16px
}
.client-logos img{
  flex:0 1 220px; max-width:220px; height:64px; object-fit:contain;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.25)); background:rgba(255,255,255,.02); border-radius:12px; padding:8px
}
/* =========================
Operations gallery
========================= */
.op-photos__head h3{
margin:0 0 4px; font-weight:900; letter-spacing:.2px;
background:linear-gradient(135deg,#e6edf7 0%, var(--brand) 45%, var(--accent) 100%);
-webkit-background-clip:text; background-clip:text; color:transparent
}
.op-photos__head h3::after{
content:""; display:block; height:2px; width:56px; margin-top:8px;
background:linear-gradient(90deg, var(--brand), var(--accent)); border-radius:2px
}
.op-photos__sub{ color:var(--muted); margin:6px 0 0 }

.op-gallery{
display:grid; gap:12px;
grid-template-columns:repeat(2,1fr);
}
@media (min-width:700px){ .op-gallery{ grid-template-columns:repeat(3,1fr) } }
@media (min-width:1000px){ .op-gallery{ grid-template-columns:repeat(4,1fr) } }

.op-thumb{
position:relative; display:block; overflow:hidden; border-radius:14px;
border:1px solid var(--line); background:var(--card);
aspect-ratio:4/3; cursor:zoom-in; box-shadow:var(--shadow)
}
.op-thumb img{
width:100%; height:100%; object-fit:cover; display:block;
transition:transform .35s cubic-bezier(.2,.8,.2,1), filter .35s ease
}
.op-thumb::after{
content:""; position:absolute; inset:0;
background:radial-gradient(120% 120% at 100% 0, rgba(34,211,238,.16), transparent 50%),
radial-gradient(120% 120% at 0 100%, rgba(245,158,11,.14), transparent 55%);
opacity:0; transition:opacity .25s ease
}
.op-thumb:hover img{ transform:scale(1.05) }
.op-thumb:hover::after{ opacity:1 }
.op-thumb:focus-visible{ outline:3px solid var(--brand); outline-offset:3px }

/* =========================
Gallery lightbox
========================= */
.gallery-modal{ position:fixed; inset:0; display:none; align-items:center; justify-content:center; z-index:1000 }
.gallery-modal.open{ display:flex }
.gallery-modal__backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.6); backdrop-filter:blur(2px) }

.gallery-modal__dialog{
position:relative; background:var(--soft); border:1px solid var(--line);
border-radius:16px; padding:16px; width:min(96vw, 1100px); max-height:92vh;
box-shadow:var(--shadow); display:grid; grid-template-rows:auto 1fr auto; gap:12px; z-index:1
}
.gallery-modal__title{ margin:0; text-align:center; color:#e6edf7; font-weight:800 }
.gallery-modal__close{
position:absolute; top:8px; right:8px; width:36px; height:36px;
display:grid; place-items:center; border:1px solid var(--line); border-radius:10px;
background:transparent; color:#e5e7eb; cursor:pointer
}

.gallery-modal__stage{
position:relative; display:grid; place-items:center;
background:rgba(255,255,255,.02); border:1px solid var(--line); border-radius:14px; overflow:hidden
}
.gallery-modal__stage img{
max-width:90vw; max-height:75vh; width:auto; height:auto; object-fit:contain; display:block;
border-radius:10px; box-shadow:0 12px 32px rgba(0,0,0,.35)
}

.gallery-modal__controls{
display:flex; align-items:center; justify-content:center; gap:12px
}
.gallery-modal__nav{
width:42px; height:42px; border-radius:10px; border:0; cursor:pointer;
background:linear-gradient(135deg, var(--brand), var(--accent)); color:#0b1220; font-size:22px; font-weight:900
}
.gallery-modal__count{ color:#cbd5e1; font-weight:700; letter-spacing:.3px }

/* =========================
Operations: Current clients list
========================= */
.op-clients{
display:grid;
gap:14px;
grid-template-columns:1fr;
}
@media (min-width:700px){ .op-clients{ grid-template-columns:repeat(2,1fr) } }

.op-client{
position:relative;
display:flex; align-items:center;
padding:16px 18px 16px 20px;
border:1px solid var(--line);
border-radius:16px;
background:
radial-gradient(110% 160% at 100% 0, rgba(34,211,238,.06), transparent 55%),
radial-gradient(110% 160% at 0 100%, rgba(245,158,11,.05), transparent 55%),
var(--soft);
box-shadow:var(--shadow);
transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
overflow:hidden;
}

/* Left accent bar (brand gradient) */
.op-client::before{
content:"";
position:absolute; left:-1px; top:-1px; bottom:-1px;
width:4px; border-radius:16px 0 0 16px;
background:linear-gradient(180deg, var(--brand), var(--accent));
opacity:.95;
}

/* Subtle sheen on hover */
.op-client::after{
content:"";
position:absolute; inset:0;
background:radial-gradient(120% 120% at 100% 0, rgba(34,211,238,.12), transparent 55%),
radial-gradient(120% 120% at 0 100%, rgba(245,158,11,.10), transparent 60%);
opacity:0; transition:opacity .25s ease;
}
.op-client:hover{
transform:translateY(-2px);
border-color:rgba(255,255,255,.14);
box-shadow:0 14px 36px rgba(0,0,0,.38);
}
.op-client:hover::after{ opacity:1 }

/* Name styling (keeps your gradient heading vibe, tuned size for tiles) */
.op-client__name{
margin:0;
font-size:clamp(16px, 2.2vw, 18px);
font-weight:900; letter-spacing:.2px;
background:linear-gradient(135deg, #e6edf7 0%, var(--brand) 45%, var(--accent) 100%);
-webkit-background-clip:text; background-clip:text; color:transparent;
}

/* Small gradient dot as a visual anchor to the left of the name */
.op-client .op-client__name{
position:relative; padding-left:26px;
}
.op-client .op-client__name::before{
content:"";
position:absolute; left:0; top:50%; transform:translateY(-50%);
width:14px; height:14px; border-radius:50%;
background:linear-gradient(135deg, var(--brand), var(--accent));
box-shadow:0 0 0 3px rgba(255,255,255,.02);
}
/* =========================
Operations: Current projects highlight
========================= */
.op-projects{
position:relative;
width:min(100%, 920px); /* centers the card under the grid */
margin-inline:auto; /* center horizontally */
text-align:center;
padding:22px 22px;
border-radius:18px;
border:2px solid transparent; /* gradient border shell */
background:
linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.03)) padding-box,
linear-gradient(135deg, var(--brand), var(--accent)) border-box;
box-shadow:var(--shadow);
overflow:hidden;
}

/* subtle ambient glow */
.op-projects::after{
content:""; position:absolute; inset:0; pointer-events:none;
background:
radial-gradient(120% 120% at 100% 0, rgba(34,211,238,.10), transparent 55%),
radial-gradient(120% 120% at 0 100%, rgba(245,158,11,.10), transparent 60%);
opacity:.75;
}

/* Title styling to match your brand gradient */
.op-projects__title{
margin:0 0 8px; font-weight:900; letter-spacing:.2px;
font-size:clamp(18px, 2.4vw, 22px);
background:linear-gradient(135deg, #e6edf7 0%, var(--brand) 45%, var(--accent) 100%);
-webkit-background-clip:text; background-clip:text; color:transparent;
}
.op-projects__title::after{
content:""; display:block; height:2px; width:56px; margin:8px auto 0;
background:linear-gradient(90deg, var(--brand), var(--accent)); border-radius:2px;
}

/* Centered description with comfortable reading width */
.op-projects__desc{
margin:10px auto 0; color:#cbd5e1; max-width:70ch; line-height:1.6;
}
/* =========================
   Quote
   ========================= */
.card.quote{
  text-align:center; padding:22px 24px; border-radius:18px; border:2px solid transparent;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.03)) padding-box,
             linear-gradient(135deg, var(--brand), var(--accent)) border-box;
  box-shadow:0 12px 30px rgba(0,0,0,.28)
}
.card.quote blockquote{ margin:0; font-size:clamp(18px, 2.2vw, 24px); line-height:1.5; font-weight:700; color:#eaf2f8 }

/* =========================
   About helpers
   ========================= */
.about-grid .span-all{ grid-column:1 / -1 }

/* Track Record intro width */
.track-intro{ max-width:70ch }

/* Contact alignment */
#contact .grid.two-col { align-items: stretch; }

@media (min-width: 880px) {
#contact .grid.two-col { grid-template-columns: 1fr 1fr; }
#contact .grid.two-col > .reveal:last-child { display: grid; }

/* Desktop uses the offset (your 37px) */
#contact .contact-form {
margin-top: var(--contact-form-offset);
height: calc(100% - var(--contact-form-offset));
display: flex;
flex-direction: column;
}
}

@media (max-width: 879px) {
/* Mobile ignores the offset and just stacks neatly */
#contact .contact-form {
margin-top: 16px;
height: auto;
}
}

/* =========================
   Floating Back-to-Top button
   ========================= */
.to-top{
  position:fixed !important; right:16px; bottom:18px; width:50px; height:50px; border-radius:50%; border:0;
  display:grid; place-items:center;
  background:linear-gradient(135deg, var(--brand), var(--accent)); color:#0b1220; font-weight:900; text-decoration:none;
  box-shadow:0 12px 28px rgba(0,0,0,.35);
  transition:opacity .25s ease, transform .25s ease, box-shadow .2s ease;
  opacity:0; visibility:hidden; transform:translateY(8px); z-index:60
}
.to-top.is-visible{ opacity:1; visibility:visible; transform:none }
.to-top:hover{ transform:translateY(-2px); box-shadow:0 16px 36px rgba(0,0,0,.45) }
.to-top:focus{ outline:none; box-shadow:0 0 0 3px rgba(34,211,238,.35), 0 12px 28px rgba(0,0,0,.35) }
.to-top.push-up{ bottom:86px } /* lifts when footer is visible */
@media (max-width:480px){ .to-top{ width:44px; height:44px; right:12px; bottom:12px } }

/* =========================
   Map card (optional)
   ========================= */
.map-card h3{ margin-bottom:8px }
.map-embed{
  position:relative; width:100%; height:220px; padding-top:0 !important; border-radius:14px; overflow:hidden;
  border:1px solid var(--line); background:#0b1220; box-shadow:var(--shadow)
}
.map-embed iframe{ position:absolute; inset:0; width:100%; height:100%; border:0 }
.map-links a{ color:var(--brand); text-decoration:none }
.map-links a:hover{ text-decoration:underline }
#contact .map-wrap{ margin-top:24px }
@media (min-width:880px){
/* Make the map span full width under the two-column layout */
#contact .map-wrap .map-card{
width:100%;
max-width:none;
margin-left:0;
}
/* Optional: make the map taller so you see more of Danielskuil */
#contact .map-embed{
height:clamp(280px, 45vh, 420px);
}
}
@media (max-width:879px){ #contact .map-wrap .map-card{ width:100% } #contact .map-embed{ height:200px } }
@media (max-width:700px){ #contact .map-embed{ height:180px } }

/* =========================
   Logo lightbox
   ========================= */
.logo-modal{ position:fixed; inset:0; display:none; align-items:center; justify-content:center; z-index:1000 }
.logo-modal.open{ display:flex }
.logo-modal__backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.6); backdrop-filter:blur(2px) }
.logo-modal__dialog{
  position:relative; background:var(--soft); border:1px solid var(--line);
  border-radius:14px; padding:16px; max-width:90vw; max-height:80vh; box-shadow:var(--shadow)
}
.logo-modal__title{ margin:0 0 8px; text-align:center }
.logo-modal__content{ display:flex; flex-direction:column; align-items:center; gap:12px }
.logo-modal__content img{ max-width:80vw; max-height:60vh; width:auto; height:auto }
.logo-modal__actions{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center }
.logo-modal__close{
  position:absolute; top:8px; right:8px; width:32px; height:32px;
  display:grid; place-items:center;
  border:1px solid var(--line); border-radius:8px; background:transparent; color:#e5e7eb; cursor:pointer
}