/* Overflow Development Group — brand stylesheet v2 */
:root {
  --black: #0b0b0b;
  --charcoal: #131313;
  --ink: #1b1b1b;
  --gold: #c9a227;
  --gold-light: #e0c266;
  --cream: #f5f1e8;
  --grey: #b3aea2;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Josefin Sans', 'Helvetica Neue', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; }
img { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold-light); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: linear-gradient(rgba(11,11,11,.85), rgba(11,11,11,.55) 80%, transparent);
  transition: background .3s;
}
header.scrolled {
  background: rgba(11,11,11,.96);
  border-bottom: 1px solid rgba(201,162,39,.3);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; max-width: 1240px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 13px; line-height: 1.1; }
.brand .mark { height: 46px; width: auto; }
.brand .text { display: flex; flex-direction: column; }
.brand .name {
  font-family: var(--serif); font-size: 1.5rem; letter-spacing: .14em;
  color: var(--cream); text-transform: uppercase;
}
.brand .tag {
  font-size: .6rem; letter-spacing: .46em; text-transform: uppercase; color: var(--gold);
}
nav ul { display: flex; gap: 34px; list-style: none; }
nav ul a {
  font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cream);
  padding-bottom: 5px; border-bottom: 1px solid transparent;
}
nav ul a:hover, nav ul a.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ---------- Hero (full screen, photo) ---------- */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 140px 24px 100px; position: relative;
  background-size: cover; background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(11,11,11,.78), rgba(11,11,11,.62) 55%, var(--black));
}
.hero > * { position: relative; z-index: 2; }
.hero-slides { position: absolute !important; inset: 0; z-index: 0 !important; }
.hero-slides .slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.8s ease;
}
.hero-slides .slide.active { opacity: 1; }

/* ---------- Trust bar ---------- */
.trust-bar {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 56px;
  padding: 26px 24px; background: var(--charcoal);
  border-top: 1px solid rgba(201,162,39,.25); border-bottom: 1px solid rgba(201,162,39,.25);
}
.trust-bar span {
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--grey);
  position: relative;
}
.trust-bar span::before { content: "\2014"; color: var(--gold); margin-right: 14px; }

/* ---------- Header phone ---------- */
.nav-phone {
  font-size: .82rem; letter-spacing: .18em; color: var(--gold);
  border: 1px solid var(--gold); padding: 10px 20px; white-space: nowrap;
  transition: all .3s;
}
.nav-phone:hover { background: var(--gold); color: var(--black); }

/* ---------- Sticky mobile call bar ---------- */
.call-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--gold); color: var(--black); text-align: center;
  padding: 16px; font-size: .84rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600;
}
.call-bar:hover { color: var(--black); background: var(--gold-light); }
.kicker {
  font-size: .72rem; letter-spacing: .52em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px; display: block;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem); max-width: 900px; margin: 0 auto 26px;
  text-shadow: 0 2px 30px rgba(0,0,0,.6);
}
.hero p { max-width: 620px; margin: 0 auto 44px; color: #d8d3c8; font-size: 1.1rem; }
.hero .actions { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  color: var(--gold); font-size: 1.4rem; animation: bob 2.2s infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,10px); } }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  min-height: 52vh; display: flex; flex-direction: column; justify-content: center;
  align-items: center; text-align: center; padding: 150px 24px 80px; position: relative;
  background-size: cover; background-position: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(11,11,11,.8), rgba(11,11,11,.65) 60%, var(--black));
}
.page-hero > * { position: relative; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.page-hero p { color: #d8d3c8; max-width: 600px; margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 16px 44px;
  border: 1px solid var(--gold); color: var(--gold);
  font-size: .76rem; letter-spacing: .3em; text-transform: uppercase;
  transition: all .3s; background: transparent;
}
.btn:hover { background: var(--gold); color: var(--black); }
.btn.solid { background: var(--gold); color: var(--black); }
.btn.solid:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--black); }

/* ---------- Sections ---------- */
section { padding: 110px 0; }
section.alt { background: var(--charcoal); }
.section-head { text-align: center; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 16px; }
.section-head p { color: var(--grey); max-width: 660px; margin: 0 auto; }
.rule { width: 64px; height: 1px; background: var(--gold); margin: 26px auto 0; }

/* ---------- Stats band ---------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 1px solid rgba(201,162,39,.25); border-bottom: 1px solid rgba(201,162,39,.25);
  padding: 54px 24px; max-width: 1140px; margin: 0 auto;
}
.stat { text-align: center; }
.stat .num { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.stat .label { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--grey); margin-top: 10px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 30px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--ink); border: 1px solid rgba(201,162,39,.18);
  overflow: hidden; transition: border-color .35s, transform .35s, box-shadow .35s;
  display: flex; flex-direction: column;
}
.card:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: 0 22px 50px rgba(0,0,0,.5); }
.card .photo { height: 220px; overflow: hidden; }
.card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .photo img { transform: scale(1.06); }
.card .body { padding: 34px 30px 38px; flex: 1; }
.card h3 { color: var(--gold); font-size: 1.5rem; margin-bottom: 14px; }
.card p { color: var(--grey); font-size: .95rem; }
.card .role {
  font-size: .66rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--cream); display: block; margin-bottom: 14px;
}

/* ---------- Split (image + text) ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.split .photo { position: relative; }
.split .photo img { width: 100%; height: 480px; object-fit: cover; }
.split .photo::after {
  content: ""; position: absolute; top: 18px; left: 18px; right: -18px; bottom: -18px;
  border: 1px solid var(--gold); z-index: -1;
}
.split h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 20px; }
.split p { color: var(--grey); margin-bottom: 18px; }
.split .kicker { margin-bottom: 16px; }

/* ---------- Feature band (photo CTA) ---------- */
.band {
  text-align: center; padding: 130px 24px; position: relative;
  background-size: cover; background-position: center; background-attachment: fixed;
}
.band::before { content: ""; position: absolute; inset: 0; background: rgba(11,11,11,.82); }
.band > * { position: relative; }
.band h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 780px; margin: 0 auto 20px; }
.band p { color: #d8d3c8; max-width: 640px; margin: 0 auto 40px; }

/* ---------- Lists ---------- */
.check { list-style: none; margin-top: 18px; }
.check li { padding-left: 28px; position: relative; margin-bottom: 13px; color: var(--grey); font-size: .93rem; }
.check li::before { content: "—"; color: var(--gold); position: absolute; left: 0; }

/* ---------- Contact ---------- */
.contact-info h2 { font-size: 2rem; margin-bottom: 30px; }
.contact-info p { margin-bottom: 22px; color: var(--grey); }
.contact-info strong {
  display: block; font-size: .68rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 5px; font-weight: 400;
}
form label {
  display: block; font-size: .68rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin: 24px 0 9px;
}
form input, form textarea, form select {
  width: 100%; background: var(--ink); border: 1px solid rgba(201,162,39,.3);
  color: var(--cream); padding: 14px 15px; font-family: var(--sans); font-size: .95rem;
}
form input:focus, form textarea:focus, form select:focus { outline: none; border-color: var(--gold); }
form .btn { margin-top: 30px; cursor: pointer; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid rgba(201,162,39,.25);
  padding: 70px 24px 44px; background: var(--charcoal);
}
.footer-grid {
  max-width: 1140px; margin: 0 auto 50px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px;
}
footer .name { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .14em; text-transform: uppercase; }
footer .tag { font-size: .58rem; letter-spacing: .44em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
footer p { color: var(--grey); font-size: .88rem; max-width: 340px; }
footer h4 {
  font-size: .7rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; font-weight: 400; font-family: var(--sans);
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 12px; }
footer ul a { color: var(--grey); font-size: .88rem; }
footer ul a:hover { color: var(--gold); }
footer .legal {
  text-align: center; color: #7a766c; font-size: .76rem;
  border-top: 1px solid rgba(201,162,39,.15); padding-top: 30px; max-width: 1140px; margin: 0 auto;
}
.footer-simple {
  max-width: 1140px; margin: 0 auto 40px; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 18px;
}
.footer-simple .name { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-simple .tag { font-size: .58rem; letter-spacing: .44em; text-transform: uppercase; color: var(--gold); }
.footer-simple p { color: var(--grey); font-size: .88rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }

/* ---------- Mobile nav toggle ---------- */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 30px; height: 22px; position: relative; padding: 0;
}
.nav-toggle span {
  position: absolute; left: 0; height: 2px; width: 100%; background: var(--cream);
  transition: transform .3s, opacity .3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ---------- Process timeline ---------- */
.steps { max-width: 820px; margin: 0 auto; }
.step {
  display: grid; grid-template-columns: 78px 1fr; gap: 30px;
  padding: 0 0 54px; position: relative;
}
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 38px; top: 70px; bottom: 0;
  width: 1px; background: rgba(201,162,39,.3);
}
.step .num-circle {
  width: 76px; height: 76px; border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.7rem; color: var(--gold);
  background: var(--charcoal);
}
.step h3 { color: var(--gold); font-size: 1.6rem; margin-bottom: 10px; }
.step p { color: var(--grey); font-size: .96rem; }
.step .phase {
  font-size: .64rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--cream); display: block; margin-bottom: 6px; opacity: .65;
}

/* ---------- Projects gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  position: relative; overflow: hidden; aspect-ratio: 4/3;
  border: 1px solid rgba(201,162,39,.18);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.tile:hover img { transform: scale(1.07); }
.tile .overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 24px;
  background: linear-gradient(transparent 40%, rgba(11,11,11,.88));
  opacity: 0; transition: opacity .4s;
}
.tile:hover .overlay { opacity: 1; }
.tile .overlay .cat {
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
}
.tile .overlay h4 { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); margin-top: 4px; }
.tile.wide { grid-column: span 2; aspect-ratio: auto; }
.note {
  text-align: center; color: #7a766c; font-size: .82rem; margin-top: 40px;
  font-style: italic;
}

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(201,162,39,.2); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 4px; color: var(--cream); font-family: var(--serif);
  font-size: 1.3rem; line-height: 1.3;
}
.faq-q:hover { color: var(--gold); }
.faq-q .icon { color: var(--gold); font-size: 1.6rem; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { color: var(--grey); font-size: .96rem; padding: 0 4px 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .grid.three, .grid.two, .split, .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .tile.wide { grid-column: span 2; }
  .split { gap: 48px; }
  .split .photo img { height: 320px; }
  header { background: rgba(11,11,11,.96); }
  .nav { padding: 16px 24px; }
  .nav-toggle { display: block; }
  nav { position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(11,11,11,.98); border-bottom: 1px solid rgba(201,162,39,.3);
    max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  nav.open { max-height: 420px; }
  nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
  nav ul li { width: 100%; text-align: center; }
  nav ul a { display: block; padding: 14px 0; border-bottom: 0; }
  .hero { min-height: 88vh; padding-top: 150px; }
  .nav-phone { display: none; }
  .call-bar { display: block; }
  body { padding-bottom: 54px; }
  .trust-bar { gap: 12px 30px; }
  section { padding: 70px 0; }
  .stats { grid-template-columns: 1fr; gap: 40px; }
  .band { background-attachment: scroll; }
  .step { grid-template-columns: 58px 1fr; gap: 20px; }
  .step .num-circle { width: 56px; height: 56px; font-size: 1.3rem; }
  .step:not(:last-child)::before { left: 28px; top: 60px; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .tile.wide { grid-column: span 1; }
}
