/* OneCore Construction Management — brand: black / blue / gold */
:root {
  --black: #101418;
  --ink: #1c2229;
  --blue: #1f6fce;
  --blue-dark: #1458a8;
  --gold: #f2b705;
  --gold-dark: #c98f04;
  --paper: #ffffff;
  --paper-soft: #f5f6f8;
  --muted: #5d6670;
  --line: #e3e6ea;
  --radius: 10px;
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; color: var(--black); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 750; }
h3.group-title { font-size: 1.15rem; font-weight: 700; margin: 2.2em 0 1em; }
p { margin: 0 0 1em; }
a { color: var(--blue); }

.container { width: min(var(--maxw), 92%); margin: 0 auto; }
.container.narrow { max-width: 760px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.6em;
}
.section { padding: 5rem 0; }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 640px; }
.section-dark { background: var(--black); color: #eef1f4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-lead { color: #aeb6bf; }
.section-dark .eyebrow { color: #8fb8ec; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo { height: 64px; width: auto; }
.site-nav { display: flex; gap: 1.6rem; align-items: center; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover { color: var(--blue); }
.nav-cta {
  background: var(--black); color: #fff !important;
  padding: 0.55em 1.2em; border-radius: 999px;
}
.nav-cta:hover { background: var(--blue-dark); }
.nav-login {
  border: 2px solid var(--blue); color: var(--blue) !important;
  padding: 0.45em 1.1em; border-radius: 999px;
}
.nav-login:hover { background: var(--blue); color: #fff !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--black); margin: 6px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,18,0.25) 0%, rgba(10,14,18,0.05) 40%, rgba(10,14,18,0.72) 100%); }
.hero-content { position: relative; padding: 0 0 5.5rem; max-width: var(--maxw); }
.hero .eyebrow { color: #fff; }
.hero h1 { color: #fff; margin-bottom: 0.4em; text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.hero-sub { font-size: clamp(1.02rem, 2vw, 1.25rem); color: #f2f4f6; max-width: 560px; margin-bottom: 1.8em; text-shadow: 0 1px 10px rgba(0,0,0,0.4); }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 0.85em 1.9em; border-radius: 999px; font-size: 1rem;
}
.btn-gold { background: var(--blue); color: #fff; }
.btn-gold:hover { background: var(--blue-dark); }

/* Galleries */
.gallery {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin-top: 2rem;
}
.gallery-wide { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.gallery figure {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--paper-soft); border: 1px solid var(--line);
  cursor: zoom-in; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.section-dark .gallery figure { background: #1a2027; border-color: #2a323b; }
.gallery figure:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,0.16); }
.gallery img { width: 100%; height: 240px; object-fit: cover; }
.gallery-wide img { height: 260px; }
.gallery figcaption { padding: 0.7em 1em; font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.section-dark .gallery figcaption { color: #aeb6bf; }

/* Development — black & gold */
.section-dev { background: #0b0b0c; color: #ece7db; }
.section-dev h2 { color: #fff; }
.section-dev p { color: #c9c2b4; font-size: 1.12rem; max-width: 680px; }
.eyebrow-gold { color: var(--gold) !important; }
.section-dev { border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); }
.dev-logo { display: block; width: min(280px, 60%); margin: 0 auto 1.5rem; border: 1px solid var(--gold); border-radius: 4px; }
.dev-list-title { color: var(--gold); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.12em; margin: 2.2rem 0 0.8rem; }
.dev-list-sub { color: #a89f8d; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 1.4rem 0 0.2rem; }
.dev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 1.2rem; }
@media (max-width: 860px) { .dev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dev-grid { grid-template-columns: 1fr; } }
.dev-card { display: block; border-radius: var(--radius); overflow: hidden; background: #141416; border: 1px solid #2a2a2c; text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.dev-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,0.4); }
.dev-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.dev-card-body { padding: 0.9rem 1.1rem; }
.dev-card-body strong { display: block; color: #fff; font-size: 1.02rem; }
.dev-card-body span { display: block; color: #a89f8d; font-size: 0.85rem; margin-top: 0.2rem; }
.dev-card-text { display: flex; align-items: center; min-height: 120px; border-left: 3px solid var(--gold); }
.dev-list { list-style: none; margin: 0; padding: 0; }
.dev-list li { padding: 0.65rem 0; border-bottom: 1px solid #2a2a2c; font-size: 1.08rem; color: #ece7db; font-weight: 600; }
.dev-list li span { display: block; font-size: 0.88rem; color: #a89f8d; font-weight: 400; }

/* About / Contact */
#about p { font-size: 1.12rem; color: #d6dbe1; max-width: 680px; }
.contact-block { text-align: center; }
.contact-email {
  font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; color: var(--black);
  text-decoration: none; border-bottom: 3px solid var(--blue); padding-bottom: 2px;
}
.contact-email:hover { color: var(--blue-dark); }
.license { margin-top: 1.6em; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; }

/* Footer */
.site-footer { background: var(--black); color: #9aa3ad; padding: 2.2rem 0; font-size: 0.92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-inner .license { margin-top: 0; color: #9aa3ad; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(8,10,13,0.92); align-items: center; justify-content: center;
  flex-direction: column; padding: 4vh 4vw; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 100%; max-height: 82vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-cap { color: #cfd6dd; margin-top: 0.9em; font-size: 0.95rem; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1.4rem; background: none; border: 0;
  color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1;
}

/* Responsive */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 1rem 4%; gap: 0; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(0,0,0,0.08);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.85em 0; border-top: 1px solid var(--line); }
  .site-nav a:first-child { border-top: 0; }
  .nav-cta { text-align: center; margin-top: 0.6em; }
  .section { padding: 3.4rem 0; }
  .hero { min-height: 78vh; }
  .footer-inner { flex-direction: column; }
}
