/* NgeosOne v4. Agency rhythm: photo hero, statement, services, uniform gallery, proof, about, CTA. */
:root {
  --bg: #0e0f11;
  --bg-2: #15171a;
  --bg-3: #1c1f23;
  --line: #2a2d33;
  --text: #f2f1ec;
  --muted: #a6a69e;
  --accent: #f5c400;
  --accent-ink: #141200;
  --radius: 6px;
  --nav-h: 64px;
  --gutter: clamp(16px, 5vw, 72px);
  --measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; }

h1 { font-size: clamp(2.1rem, 4.8vw, 3.8rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.06; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
h3 { font-size: 1.05rem; font-weight: 650; line-height: 1.3; }
section, header.hero { scroll-margin-top: var(--nav-h); }

/* Nav */
#nav {
  position: sticky; top: 0; z-index: 10; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(14, 15, 17, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-logo { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; font-size: 0.95rem; }
.nav-logo img { height: 30px; width: auto; }
.nav-logo .mark { display: none; height: 32px; }
footer .nav-logo img { height: 24px; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { font-size: 0.92rem; color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav-cta, .btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink) !important;
  font-weight: 650; text-decoration: none; padding: 0.55rem 1.1rem; border-radius: var(--radius);
  transition: transform 0.15s; white-space: nowrap;
}
.btn { font-size: 1rem; padding: 0.8rem 1.4rem; }
.nav-cta:active, .btn:active { transform: translateY(1px); }

/* Hero: full-bleed photo, text bottom-left */
.hero { position: relative; min-height: min(78dvh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,15,17,0.25) 0%, rgba(14,15,17,0.55) 55%, rgba(14,15,17,0.95) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 4rem var(--gutter) 3.5rem; max-width: 44rem; }
.hero h1 { margin-bottom: 1rem; }
.hero p { font-size: 1.15rem; color: var(--text); opacity: 0.85; max-width: 34rem; margin-bottom: 1.6rem; }

/* Statement */
.statement { padding: clamp(3rem, 7vw, 5.5rem) var(--gutter) 0; display: grid; grid-template-columns: 1fr 260px; gap: var(--gutter); align-items: center; }
.statement h2 { margin-bottom: 0.8rem; }
.statement p { color: var(--muted); max-width: var(--measure); font-size: 1.08rem; }
.statement-media { margin: 0; justify-self: end; width: 260px; }
.statement-media img { border-radius: var(--radius); }

/* Services: six equal cells, 3 x 2, hairline dividers */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin: clamp(2.5rem, 5vw, 4rem) var(--gutter) 0;
  background: var(--line); border: 1px solid var(--line);
}
.svc { background: var(--bg); padding: 1.8rem 1.6rem 2rem; }
.svc h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.svc p { color: var(--muted); font-size: 0.95rem; max-width: 34rem; }

/* Work: uniform gallery, 4 x 2 */
.work { padding: clamp(4rem, 8vw, 6.5rem) var(--gutter) 0; }
.work-head { margin-bottom: 1.6rem; }
.work-head h2 { margin-bottom: 0.5rem; }
.work-head p { color: var(--muted); max-width: var(--measure); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery li { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.gallery li:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } .gallery li:hover img { transform: none; } }
.gallery h3 { font-size: 0.98rem; padding: 0.8rem 0.9rem 0.2rem; }
.gallery p { font-size: 0.86rem; color: var(--muted); padding: 0 0.9rem 0.95rem; }
.work-more { margin-top: 1.2rem; }
.work-more a { color: var(--accent); text-decoration: none; }
.work-more a:hover { text-decoration: underline; }

/* Proof: dark band, two columns */
.proof {
  margin-top: clamp(4rem, 8vw, 6.5rem);
  background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter);
}
.proof h2 { margin-bottom: 0.8rem; }
.proof p { color: var(--muted); max-width: var(--measure); }
.facts li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts strong { font-weight: 650; }
.facts span { color: var(--muted); }
.proof blockquote { border-left: 3px solid var(--accent); padding-left: 1rem; }
.proof blockquote p { color: var(--text); font-size: 1.05rem; }
.proof cite { font-style: normal; color: var(--muted); font-size: 0.9rem; }

/* About */
.about { display: grid; grid-template-columns: 280px 1fr; gap: var(--gutter); align-items: start; padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 0; }
.about-nophoto { grid-template-columns: 1fr; }
.about-photo { margin: 0; }
.about-photo img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; }
.about-text { max-width: var(--measure); }
.about-text h2 { margin-bottom: 0.8rem; }
.about-text p { color: var(--muted); margin-bottom: 0.9rem; }

/* CTA band */
.cta { margin: clamp(3rem, 6vw, 4.5rem) var(--gutter) clamp(3rem, 6vw, 4.5rem); padding: clamp(2.5rem, 5vw, 3.5rem); background: var(--bg-3); border-radius: var(--radius); text-align: left; }
.cta h2 { margin-bottom: 0.5rem; }
.cta p { color: var(--muted); margin-bottom: 1.4rem; max-width: var(--measure); }
.cta-addr { margin: 0.9rem 0 0 !important; font-size: 1rem; color: var(--text) !important; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 2rem var(--gutter); display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: start; color: var(--muted); font-size: 0.9rem; }
.foot-brand p { margin-top: 0.6rem; }
.foot-links { display: flex; gap: 1.4rem; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot-copy { grid-column: 1 / -1; font-size: 0.8rem; }

/* Mobile */
@media (max-width: 960px) {
  .services { grid-template-columns: 1fr 1fr; }
  .statement { grid-template-columns: 1fr; }
  .statement-media { justify-self: start; width: 200px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .proof { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-photo { width: 200px; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .svc { padding: 1.4rem 1.2rem 1.6rem; }
  .facts li { grid-template-columns: 1fr; gap: 0.2rem; }
  .nav-links { gap: 0.9rem; }
  .nav-links a { font-size: 0.86rem; }
  .nav-logo .lockup { display: none; }
  .nav-logo .mark { display: block; }
  .hero { min-height: 70dvh; }
  footer { grid-template-columns: 1fr; }
}

/* /work page */
.work-page { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
