/* Urban Contracting LLC — brand system
   Canvas: near-black. Accent: brushed gold. Secondary: steel navy. */

:root {
  --ink: #07080b;
  --ink-2: #0b0d12;
  --ink-3: #10131a;
  --line: rgba(212, 168, 67, 0.14);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #e8e6e1;
  --text-dim: #9b9890;
  --gold: #d4a843;
  --gold-hi: #f0cd7a;
  --gold-deep: #a37c22;
  --navy: #24344d;
  --navy-hi: #3a5578;
  --display: "Archivo", sans-serif;
  --serif: "Fraunces", serif;
  --body: "Inter", sans-serif;
  --shell: 1120px;
}

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

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 28px; }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- type helpers ---------- */

.accent {
  background: linear-gradient(100deg, var(--gold-deep), var(--gold-hi) 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--display);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); opacity: 0.8; }

.section-title {
  font-family: var(--display);
  font-size: clamp(29px, 5.4vw, 60px);
  font-weight: 750;
  font-stretch: 92%;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 20px 0 18px;
}

.section-sub { max-width: 560px; color: var(--text-dim); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-size: 14px; font-weight: 650;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 3px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn--lg { padding: 18px 34px; font-size: 15px; }

.btn--gold {
  color: #171205;
  background: linear-gradient(115deg, var(--gold-deep), var(--gold) 45%, var(--gold-hi));
  box-shadow: 0 8px 28px -10px rgba(212, 168, 67, 0.55);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(212, 168, 67, 0.7);
}
.btn--gold svg { width: 15px; height: 15px; fill: currentColor; }

.btn--line {
  color: var(--text);
  border: 1px solid rgba(232, 230, 225, 0.28);
}
.btn--line:hover { border-color: var(--gold); color: var(--gold-hi); transform: translateY(-2px); }

/* ---------- topbar ---------- */

.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.topbar.is-solid {
  background: rgba(7, 8, 11, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, 0.8);
}
.topbar__inner { display: flex; align-items: center; gap: 28px; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; }
.brand__mark path { fill: none; stroke-width: 2.4; stroke-linecap: square; }
.brand__mark .mk-gold { stroke: var(--gold); }
.brand__mark .mk-navy { stroke: var(--navy-hi); fill: rgba(36, 52, 77, 0.55); }
.brand__word {
  font-family: var(--display);
  font-size: 19px; font-weight: 800; letter-spacing: 0.06em;
  color: var(--text); line-height: 1;
}
.brand__word em {
  display: block;
  font-style: normal; font-size: 9px; font-weight: 600;
  letter-spacing: 0.42em; color: var(--gold); margin-top: 4px;
}

.topbar__nav { margin-left: auto; display: flex; gap: 30px; }
.topbar__nav a {
  font-family: var(--display);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none;
  transition: color 0.2s ease;
}
.topbar__nav a:hover { color: var(--gold-hi); }

.topbar__cta { padding: 11px 20px; font-size: 13px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: clamp(640px, 100svh, 1060px);
  display: flex; align-items: center;
  padding: 130px 0 90px;
  background:
    radial-gradient(1100px 520px at 50% -8%, rgba(36, 52, 77, 0.5), transparent 65%),
    var(--ink);
  overflow: hidden;
}
.hero__glow {
  position: absolute; inset: auto 0 -40%;
  height: 80%;
  background: radial-gradient(60% 55% at 50% 100%, rgba(212, 168, 67, 0.13), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212, 168, 67, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 67, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(75% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}
.hero__inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }

.hero__logo {
  width: min(300px, 62vw); height: auto;
  margin-bottom: 34px;
  filter: drop-shadow(0 18px 50px rgba(0, 0, 0, 0.75));
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(30px, 8.6vw, 88px);
  font-weight: 800;
  font-stretch: 90%;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero__sub {
  max-width: 580px;
  margin: 26px auto 0;
  color: var(--text-dim);
  font-size: 18px;
}

.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 38px; }

.hero__note {
  margin-top: 26px;
  font-family: var(--display);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(212, 168, 67, 0.75);
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 30px;
  width: 1px; height: 54px;
  background: rgba(232, 230, 225, 0.14);
  overflow: hidden;
}
.hero__scroll span {
  position: absolute; inset: 0;
  background: var(--gold);
  animation: scrollhint 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes scrollhint {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ---------- trust strip ---------- */

.trust { border-block: 1px solid var(--line); background: var(--ink-2); }
.trust__row { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust__item { padding: 44px 34px; position: relative; }
.trust__item + .trust__item { border-left: 1px solid var(--line-soft); }
.trust__num {
  font-family: var(--serif); font-style: italic;
  font-size: 15px; color: var(--gold);
}
.trust__item h3 {
  font-family: var(--display);
  font-size: 21px; font-weight: 750; letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 10px 0 8px;
}
.trust__item p { font-size: 15px; color: var(--text-dim); }

/* ---------- services ---------- */

.services { padding: 130px 0 120px; }

.services__grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.svc {
  background: var(--ink);
  padding: 36px 28px 40px;
  position: relative;
  transition: background 0.3s ease;
}
.svc::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-hi));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc:hover { background: var(--ink-3); }
.svc:hover::after { transform: scaleX(1); }
.svc svg {
  width: 34px; height: 34px;
  fill: none; stroke: var(--gold); stroke-width: 1.6;
  stroke-linecap: square; stroke-linejoin: bevel;
  margin-bottom: 18px;
}
.svc h3 {
  font-family: var(--display);
  font-size: 17px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 8px;
}
.svc p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* ---------- before / after ---------- */

.work { padding: 120px 0; background: var(--ink-2); border-block: 1px solid var(--line); }

.work__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.ba { position: relative; }
.ba__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-3);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.85);
}
.ba__after, .ba__before { position: absolute; inset: 0; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba__after img, .ba__before img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ba__range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
  touch-action: none;
  z-index: 3; margin: 0;
}

.ba__handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 1px; margin-left: -0.5px;
  background: var(--gold);
  z-index: 2; pointer-events: none;
}
.ba__handle span {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(7, 8, 11, 0.82);
  backdrop-filter: blur(4px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
}
.ba__handle span::before, .ba__handle span::after {
  content: "";
  position: absolute; top: 50%;
  width: 7px; height: 7px;
  border-top: 1.6px solid var(--gold);
  border-left: 1.6px solid var(--gold);
}
.ba__handle span::before { left: 11px; transform: translateY(-50%) rotate(-45deg); }
.ba__handle span::after { right: 11px; transform: translateY(-50%) rotate(135deg); }

.ba__tag {
  position: absolute; bottom: 14px;
  font-family: var(--display);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  padding: 7px 12px;
  background: rgba(7, 8, 11, 0.72);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  color: var(--text);
  pointer-events: none;
  z-index: 2;
}
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; color: var(--gold-hi); border-color: rgba(212, 168, 67, 0.4); }

.ba figcaption {
  margin-top: 16px;
  font-family: var(--display);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim);
}

/* placeholder art until real photos arrive */
.ba-ph {
  width: 100%; height: 100%;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 26px 22px;
  position: relative;
}
.ba-ph span {
  font-family: var(--serif); font-style: italic;
  font-size: 17px; color: rgba(232, 230, 225, 0.5);
}
.ba-ph--before {
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #181b21, #0d0f13 70%);
}
.ba-ph--after {
  background:
    repeating-linear-gradient(90deg, rgba(212, 168, 67, 0.05) 0 1px, transparent 1px 56px),
    radial-gradient(120% 90% at 70% 10%, rgba(36, 52, 77, 0.65), transparent 60%),
    linear-gradient(160deg, #1a1712, #0e0c08 75%);
}
.ba-ph--after::before {
  content: "";
  position: absolute; inset: auto 0 0;
  height: 45%;
  background: radial-gradient(80% 100% at 50% 100%, rgba(212, 168, 67, 0.16), transparent 70%);
}
.ba-ph--after span { color: var(--gold-hi); }

.work__note {
  margin-top: 34px;
  font-size: 14px;
  color: var(--text-dim);
  font-style: italic;
  font-family: var(--serif);
}

/* ---------- statement band ---------- */

.band {
  padding: 130px 0;
  background:
    radial-gradient(900px 400px at 50% 120%, rgba(212, 168, 67, 0.1), transparent 70%),
    var(--ink);
  text-align: center;
}
.band__quote {
  font-family: var(--display);
  font-size: clamp(27px, 5vw, 56px);
  font-weight: 800; font-stretch: 90%;
  text-transform: uppercase;
  line-height: 1.05;
}
.band__copy { max-width: 520px; margin: 22px auto 0; color: var(--text-dim); }

/* ---------- contact ---------- */

.contact {
  padding: 130px 0 140px;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}
.contact__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact .eyebrow { justify-content: center; }
.contact .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); opacity: 0.8; }
.contact .section-sub { margin-inline: auto; }

.contact__cards {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 400px));
  gap: 22px;
  width: 100%;
  justify-content: center;
}
.ccard {
  display: flex; flex-direction: column; gap: 6px;
  padding: 34px 30px;
  text-align: left;
  text-decoration: none;
  background: var(--ink);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.ccard::before {
  content: "";
  position: absolute; inset: 0 auto 0 0; width: 2px;
  background: linear-gradient(var(--gold-deep), var(--gold-hi));
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.ccard:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 168, 67, 0.45);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8);
}
.ccard:hover::before { transform: scaleY(1); }
.ccard__label {
  font-family: var(--display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold);
}
.ccard__value {
  font-family: var(--display);
  font-size: clamp(17px, 2vw, 21px); font-weight: 700;
  color: var(--text);
  overflow-wrap: anywhere;
}
.ccard__hint { font-size: 13px; color: var(--text-dim); }

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--line); padding: 54px 0 46px; background: var(--ink); }
.footer__inner { text-align: center; }
.footer__brand {
  font-family: var(--display);
  font-size: 15px; font-weight: 800; letter-spacing: 0.3em;
}
.footer__tag {
  margin-top: 10px;
  font-family: var(--serif); font-style: italic;
  font-size: 15px; color: var(--text-dim);
}
.footer__tag span { color: var(--gold); }
.footer__meta { margin-top: 18px; font-size: 12.5px; color: rgba(155, 152, 144, 0.6); }

/* ---------- reveals ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .work__grid { grid-template-columns: 1fr; }
  .topbar__nav { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__note { letter-spacing: 0.18em; padding-inline: 12px; }
  .hero__sub { font-size: 16px; }
  .topbar__inner { height: 66px; }
  .brand__word { font-size: 16px; }
  .topbar__cta { padding: 10px 14px; font-size: 12px; }
  .trust__row { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line-soft); }
  .trust__item { padding: 34px 6px; }
  .services, .work, .band, .contact { padding-block: 88px; }
  .services__grid { grid-template-columns: 1fr; }
  .contact__cards { grid-template-columns: 1fr; }
  .ccard { text-align: center; align-items: center; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}
