/* ============================================================
   SIXTH ADAMS — Real Estate Asset Management & Investment Advisory
   Committed dark institutional palette.
   Primary: near-black / charcoal (green-biased neutrals)
   Secondary: forest green   Tertiary: gold
   ============================================================ */

:root {
  /* --- Primary: charcoal / near-black, biased faintly toward the green --- */
  --void:            #070908;
  --ink:             #0C0E0D;
  --surface:         #131614;
  --surface-2:       #1A1E1B;
  --surface-3:       #212724;
  --hairline:        #262C28;
  --hairline-lift:   #343C37;

  /* --- Text --- */
  --text:            #E9ECEA;
  --text-dim:        #9BA49E;
  --text-mute:       #6C7570;

  /* --- Secondary: forest green --- */
  --forest:          #1F3B2E;
  --forest-deep:     #16291F;
  --forest-lift:     #2C5442;
  --forest-edge:     #3A6B54;

  /* --- Tertiary: gold --- */
  --gold:            #C9A961;
  --gold-deep:       #A3813F;
  --gold-wash:       rgba(201, 169, 97, 0.10);

  /* --- Type --- */
  --f-mark:  "Cinzel", "Trajan Pro", Georgia, serif;
  --f-head:  "Spectral", Georgia, "Times New Roman", serif;
  --f-body:  "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono:  "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* --- Metrics --- */
  --nav-h: 72px;
  --wrap: 1140px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.intro-lock { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
}

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 400;
  text-wrap: balance;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.005em;
}

p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.prose { max-width: 64ch; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.eyebrow-dim { color: var(--text-mute); }

.mono { font-family: var(--f-mono); }
.tnum { font-variant-numeric: tabular-nums; }

.rule-gold {
  width: 44px;
  height: 2px;
  background: var(--gold-deep);
  margin: 1.25rem 0;
  border: 0;
}

/* ============================================================
   LOGO
   ============================================================ */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 30px;
  height: 30px;
  border: 1px solid var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mark);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  flex: none;
  line-height: 1;
  padding-top: 1px;
}

.logo-type {
  font-family: var(--f-mark);
  font-size: 0.98rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text);
  padding-left: 0.7rem;
  border-left: 1px solid var(--hairline-lift);
  white-space: nowrap;
}

/* ============================================================
   NAV
   ============================================================ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 9, 8, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.75rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-dim);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--text); }

.nav-links a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hairline-lift);
  color: var(--text-dim);
  padding: 0.45rem 0.7rem;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
}

.nav-toggle:hover { color: var(--text); border-color: var(--gold-deep); }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--void);
    border-bottom: 1px solid var(--hairline);
    padding: 1.5rem 1.75rem 1.75rem;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  line-height: 1;
}

.btn-gold {
  background: var(--gold);
  color: #14170F;
  border-color: var(--gold);
  font-weight: 500;
}
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #0C0E0D; }

.btn-ghost {
  border-color: var(--hairline-lift);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--gold-deep); color: var(--gold); }

.btn-green {
  background: var(--forest);
  border-color: var(--forest-edge);
  color: var(--text);
}
.btn-green:hover { background: var(--forest-lift); }

/* ============================================================
   INTRO ANIMATION
   ============================================================ */

.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--void);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.85s ease;
}

.intro.done { opacity: 0; pointer-events: none; }
.intro.hidden { display: none; }

.intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 62%, rgba(31,59,46,0.30), transparent 70%);
  pointer-events: none;
}

.intro-stage {
  position: relative;
  width: min(1100px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.intro-sky { width: 100%; height: auto; display: block; }

.intro-logo {
  position: absolute;
  will-change: transform, opacity;
  top: 27%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(10px);
  text-align: center;
  opacity: 0;
  animation: logo-in 1.3s ease 3.5s forwards;
  padding: 2.5rem 3.5rem;
  z-index: 2;
}

/* soft scrim so the wordmark always reads clear of the skyline behind it */
.intro-logo::before {
  content: "";
  position: absolute;
  inset: -10% -20%;
  background: radial-gradient(ellipse at center, rgba(7,9,8,0.96) 0%, rgba(7,9,8,0.86) 45%, rgba(7,9,8,0) 75%);
  z-index: -1;
}

@media (max-height: 620px) {
  .intro-logo { top: 22%; }
}

.intro-logo .lg-mark {
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold);
  margin: 0 auto 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mark);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.intro-logo .lg-type {
  font-family: var(--f-mark);
  font-size: clamp(1.5rem, 4.2vw, 2.6rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #F2F0E8;
  text-indent: 0.3em;
}

.intro-logo .lg-sub {
  font-family: var(--f-mono);
  font-size: clamp(0.56rem, 1.35vw, 0.7rem);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(201,169,97,0.35);
  display: inline-block;
}

@keyframes logo-in {
  from { opacity: 0; transform: translate(-50%, -50%) translateY(10px); }
  to   { opacity: 1; transform: translate(-50%, -50%) translateY(0); }
}

.intro-skip {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: none;
  border: 1px solid var(--hairline-lift);
  color: var(--text-mute);
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  cursor: pointer;
  border-radius: 2px;
  z-index: 3;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.intro-skip:hover { color: var(--gold); border-color: var(--gold-deep); }

/* --- skyline element animations --- */

/* transform/opacity only, and promoted to their own layer, so the whole intro
   runs on the compositor and never blocks or re-lays-out the first paint */
.bldg {
  transform: translateY(340px);
  animation: rise 0.8s cubic-bezier(0.16, 0.9, 0.3, 1) forwards;
  will-change: transform;
}

@keyframes rise {
  from { transform: translateY(340px); }
  to   { transform: translateY(0); }
}

.b1  { animation-delay: 0.20s; }
.b2  { animation-delay: 0.36s; }
.b3  { animation-delay: 0.52s; }
.b4  { animation-delay: 0.68s; }
.b5  { animation-delay: 0.84s; }
.b6  { animation-delay: 1.00s; }
.b7  { animation-delay: 1.16s; }
.b8  { animation-delay: 1.32s; }
.b9  { animation-delay: 1.48s; }
.b10 { animation-delay: 1.64s; }

.storefront {
  transform: translateY(150px) scaleY(0.4);
  transform-origin: 600px 400px;
  opacity: 0;
  animation: pop 0.8s cubic-bezier(0.2, 1.5, 0.4, 1) 2.55s forwards;
  will-change: transform, opacity;
}

@keyframes pop {
  0%   { transform: translateY(150px) scaleY(0.4); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateY(0) scaleY(1); opacity: 1; }
}

.groundline {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw 1.3s ease-out 0.05s forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }

.lit { opacity: 0; animation: light-on 0.65s ease forwards; }
.lit-a { animation-delay: 3.00s; }
.lit-b { animation-delay: 3.15s; }
.lit-c { animation-delay: 3.30s; }
.lit-d { animation-delay: 3.45s; }

@keyframes light-on { to { opacity: 1; } }

/* static (non-animating) copy used as the permanent hero backdrop */
.sky-static .bldg,
.sky-static .storefront,
.sky-static .lit { animation: none; transform: none; opacity: 1; }
.sky-static .groundline { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(7,9,8,0.86) 0%, rgba(7,9,8,0.70) 45%, rgba(12,14,13,0.97) 100%),
    var(--hero-photo, none);
  background-size: cover;
  background-position: center 38%;
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}

.hero-sky {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  opacity: 0.26;
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 7rem 1.75rem 8.5rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  line-height: 1.1;
  max-width: 19ch;
  margin-top: 1.5rem;
  font-weight: 300;
}

.hero .lede {
  margin-top: 1.6rem;
  max-width: 52ch;
  font-size: 1.08rem;
  color: var(--text-dim);
}

.hero-cta {
  margin-top: 2.6rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* home: the settled skyline is the whole header, no photograph behind it */
.home-hero { background: var(--ink); }
.home-hero .hero-sky { opacity: 0.44; }

.home-lockup {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 8.5rem 1.75rem 9.5rem;
}

/* keeps the wordmark clear of the skyline behind it */
.home-lockup::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(920px, 96%);
  height: 340px;
  background: radial-gradient(ellipse at center, rgba(12,14,13,0.97) 0%, rgba(12,14,13,0.88) 42%, rgba(12,14,13,0) 74%);
  z-index: -1;
  pointer-events: none;
}

.home-lockup .hl-mark {
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold);
  margin: 0 auto 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mark);
  font-size: 1rem;
  color: var(--gold);
}

.home-lockup .hl-type {
  font-family: var(--f-mark);
  font-size: clamp(1.6rem, 5vw, 3rem);
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  color: #F2F0E8;
  line-height: 1.15;
}

.home-lockup .hl-sub {
  font-family: var(--f-mono);
  font-size: clamp(0.58rem, 1.4vw, 0.72rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(201, 169, 97, 0.35);
  display: inline-block;
}

/* interior page hero */
.page-hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(7,9,8,0.88) 0%, rgba(12,14,13,0.96) 100%),
    var(--hero-photo, none);
  background-size: cover;
  background-position: center 45%;
  border-bottom: 1px solid var(--hairline);
  padding: 5rem 0 4rem;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4.4vw, 2.8rem);
  max-width: 24ch;
  margin-top: 1.1rem;
  font-weight: 300;
}

.page-hero .lede {
  margin-top: 1.3rem;
  max-width: 58ch;
  color: var(--text-dim);
}

/* ============================================================
   SECTIONS
   ============================================================ */

section { padding: 5.5rem 0; }
section.tight { padding: 4rem 0; }
section + section { border-top: 1px solid var(--hairline); }

.section-head { max-width: 62ch; margin-bottom: 3.25rem; }

.section-head h2 {
  font-size: clamp(1.55rem, 3.1vw, 2.15rem);
  margin-top: 0.85rem;
  font-weight: 300;
}

.section-head p {
  margin-top: 1.1rem;
  color: var(--text-dim);
}

.band-green {
  background:
    linear-gradient(180deg, rgba(22,41,31,0.75), rgba(12,14,13,0.92)),
    var(--band-photo, none);
  background-size: cover;
  background-position: center;
}

/* ============================================================
   CARDS / GRIDS
   ============================================================ */

.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 1.35rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 1.75rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--hairline-lift);
  padding: 1.85rem;
  transition: border-top-color 0.22s ease, background 0.22s ease;
}

.card:hover { border-top-color: var(--gold-deep); background: var(--surface-2); }

.card .num {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}

.card h3 {
  font-size: 1.12rem;
  margin-top: 0.7rem;
  font-weight: 400;
}

.card > p {
  margin-top: 0.75rem;
  color: var(--text-dim);
  font-size: 0.94rem;
}

.list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 1.05rem;
  margin-bottom: 0.62rem;
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 1px;
  background: var(--gold-deep);
}

.mini-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1.5rem;
}
.mini-label:first-child { margin-top: 0; }

/* two-column text/side layout */
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2.75rem; } }

/* ============================================================
   STATS
   ============================================================ */

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding-top: 2.25rem;
  margin-top: 2.25rem;
  border-top: 1px solid var(--hairline);
}

.stat { min-width: 130px; }

.stat .label {
  font-family: var(--f-mono);
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.stat .value {
  font-family: var(--f-head);
  font-size: 1.85rem;
  color: var(--text);
  margin-top: 0.35rem;
  font-variant-numeric: tabular-nums;
  font-weight: 300;
}

.stat .value em {
  font-style: normal;
  color: var(--gold);
}

/* ============================================================
   BIO
   ============================================================ */

.bio-photo {
  border: 1px solid var(--hairline);
  filter: grayscale(0.25) contrast(1.02);
  width: 100%;
}

.bio-name {
  font-family: var(--f-head);
  font-size: 1.4rem;
  margin-top: 1.4rem;
  font-weight: 400;
}

.bio-role {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.4rem;
}

.bio-meta {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.88rem;
  color: var(--text-dim);
}

.bio-meta div + div { margin-top: 0.55rem; }

/* education block: sits between the narrative and the numbers */
.credentials {
  margin-top: 2.25rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--gold-deep);
  background: var(--surface);
}

.credentials .mini-label { margin-top: 0; }

.credentials div {
  font-size: 0.94rem;
  color: var(--text-dim);
  margin-top: 0.65rem;
}

/* ============================================================
   COMPARISON
   ============================================================ */

.compare {
  border: 1px solid var(--hairline);
  overflow: hidden;
}

.compare-head, .compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.compare-row { border-top: 1px solid var(--hairline); }

.ch {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.05rem 1.85rem;
}

.ch-a { background: var(--surface-2); color: var(--text-mute); }
.ch-b { background: var(--forest); color: var(--gold); }

.cc { padding: 1.7rem 1.85rem; }
.cc-a { background: var(--ink); color: var(--text-mute); }
.cc-b { background: var(--forest-deep); color: var(--text-dim); }

.cc h4 {
  font-family: var(--f-head);
  font-size: 1.02rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--text-dim);
}

.cc-b h4 { color: var(--text); }

.cc p { font-size: 0.9rem; line-height: 1.55; }

@media (max-width: 760px) {
  .compare-head { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1fr; }
  .cc-a { border-bottom: 1px solid var(--hairline); }
  .ch-a { display: none; }
  .cc-a::before {
    content: "Large consulting firm";
    display: block;
    font-family: var(--f-mono);
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 0.6rem;
  }
  .cc-b::before {
    content: "Sixth Adams";
    display: block;
    font-family: var(--f-mono);
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6rem;
  }
}

/* ============================================================
   WORK SAMPLES
   ============================================================ */

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.work-item {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 0;
  cursor: zoom-in;
  text-align: left;
  font: inherit;
  color: inherit;
  display: block;
  width: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.work-item:hover { border-color: var(--gold-deep); transform: translateY(-2px); }

/* source screenshots vary wildly in aspect ratio, so the tile crops to a
   consistent frame and the lightbox shows the full image */
.work-item img {
  width: 100%;
  /* the width/height attributes reserve space before load, but without this
     they would also override the aspect-ratio below */
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--hairline);
  background: var(--surface-2);
}

.lightbox img {
  aspect-ratio: auto;
  object-fit: contain;
}

/* display:block matters — as an inline span the padding collapsed and the
   caption sat flush against the tile edge */
.work-cap {
  display: block;
  padding: 0.45rem 1.5rem 0.5rem;
}

.work-cap .k {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.work-cap .t {
  display: block;
  font-family: var(--f-head);
  font-size: 0.98rem;
  color: var(--gold);
}

/* side rail variant */
.work-rail {
  display: grid;
  gap: 1rem;
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(4, 6, 5, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.lightbox.open { display: flex; }

/* capped below the source width so the sample is never upscaled into blur;
   app.js additionally clamps to each image's own natural width */
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  width: auto;
  border: 1px solid var(--hairline-lift);
}

.lightbox-cap {
  position: absolute;
  bottom: 1.75rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  background: none;
  border: 1px solid var(--hairline-lift);
  color: var(--text-dim);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  text-transform: uppercase;
}
.lightbox-close:hover { color: var(--gold); border-color: var(--gold-deep); }

.work-note {
  margin-top: 1.75rem;
  font-size: 0.82rem;
  color: var(--text-mute);
  max-width: 70ch;
}

/* ============================================================
   FORMS
   ============================================================ */

.field { margin-bottom: 1.15rem; }

.field label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 0.45rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--hairline-lift);
  border-radius: 2px;
  padding: 0.8rem 0.9rem;
  font-family: var(--f-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.18s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold-deep);
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-mute); }

.field textarea { resize: vertical; min-height: 130px; }

.hidden-field { position: absolute; left: -9999px; }

.form-note {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--text-mute);
  max-width: 52ch;
}

/* --- client login panel --- */

.login-panel {
  background:
    linear-gradient(180deg, rgba(22,41,31,0.55), rgba(12,14,13,0.94)),
    var(--band-photo, none);
  background-size: cover;
  background-position: center 60%;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.login-box {
  max-width: 520px;
  margin: 0 auto;
  background: rgba(12, 14, 13, 0.86);
  border: 1px solid var(--hairline-lift);
  padding: 2.5rem;
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.login-box h2 {
  font-size: 1.35rem;
  margin-top: 0.9rem;
  font-weight: 300;
}

.login-box > p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-top: 0.8rem;
}

.login-form {
  margin-top: 1.85rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.login-form .field {
  flex: 1 1 240px;
  margin-bottom: 0;
  text-align: left;
}

.login-form .btn { flex: none; align-self: flex-end; height: 44px; }

.login-msg {
  margin-top: 1.25rem;
  font-size: 0.86rem;
  min-height: 1.4em;
  text-align: left;
  display: none;
}

.login-msg.show { display: block; }

.login-msg .bad {
  color: #D98A7B;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.login-msg .detail { color: var(--text-dim); }

/* ============================================================
   CONTACT
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
}

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 2.75rem; } }

.contact-info dt {
  font-family: var(--f-mono);
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 1.75rem;
}

.contact-info dt:first-child { margin-top: 0; }

.contact-info dd {
  margin: 0.4rem 0 0;
  font-size: 1.02rem;
}

.contact-info dd a { text-decoration: none; border-bottom: 1px solid var(--hairline-lift); }
.contact-info dd a:hover { color: var(--gold); border-bottom-color: var(--gold-deep); }

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: var(--void);
  border-top: 1px solid var(--hairline);
  margin-top: 0;
}

.foot-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 3.5rem 1.75rem 2.5rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 760px) { .foot-inner { grid-template-columns: 1fr; gap: 2rem; } }

.foot-col h4 {
  font-family: var(--f-mono);
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 400;
  margin-bottom: 0.9rem;
}

.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 0.5rem; }

.foot-col a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: color 0.18s ease;
}
.foot-col a:hover { color: var(--gold); }

.foot-tag {
  color: var(--text-mute);
  font-size: 0.85rem;
  margin-top: 1rem;
  max-width: 34ch;
}

.foot-bar {
  border-top: 1px solid var(--hairline);
  padding: 1.4rem 1.75rem;
}

.foot-bar-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--text-mute);
}

.replay-link {
  background: none;
  border: 0;
  color: var(--text-mute);
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.replay-link:hover { color: var(--gold); }

/* ============================================================
   CENTERED PAGE (thank-you)
   ============================================================ */

.center-page {
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.75rem;
}

.center-page h1 { font-size: 2rem; margin-top: 1rem; font-weight: 300; }
.center-page p { color: var(--text-dim); margin-top: 1.1rem; max-width: 46ch; }
