/* ==========================================================================
   Executive Building NYC — Unofficial Historical Archive
   Industrial construction theme. Typography: Barlow Condensed + Barlow.
   ========================================================================== */

:root {
  --bg: #f5f2ec;
  --bg-tint: #ece7dd;
  --ink: #1b2127;
  --steel: #32414d;
  --steel-light: #465966;
  --amber: #d9971e;
  --amber-dark: #b87c12;
  --paper: #ffffff;
  --muted: #6d737a;
  --line: #ddd6c9;
  --danger: #8a4b2e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Barlow", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--amber-dark); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(27, 33, 39, 0.97);
  color: #fff;
  border-bottom: 3px solid var(--amber);
}
.header-inner { display: flex; align-items: center; gap: 24px; padding: 12px 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { height: 40px; width: auto; }
.brand .brand-text { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.05; }
.brand .brand-text small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.18em; color: var(--amber); }

.mainnav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.mainnav a {
  color: #d7dde2; padding: 8px 12px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; border-radius: 3px;
}
.mainnav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.mainnav a.active { color: #fff; background: var(--amber); }

.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid #5b6670; color: #fff; padding: 8px 12px; font-size: 18px; border-radius: 4px; cursor: pointer; }

/* Hero ------------------------------------------------------------------ */
.hero { background: var(--ink); color: #fff; border-bottom: 4px solid var(--amber); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 56px 24px; }
.eyebrow {
  display: inline-block; font-family: "Barlow Condensed", sans-serif; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; font-size: 13px; color: var(--amber);
  border: 1px solid rgba(217,151,30,0.5); padding: 4px 10px; border-radius: 2px; margin-bottom: 16px;
}
.hero h1 { font-size: 54px; margin-bottom: 8px; }
.hero .tagline { font-size: 20px; color: #b9c2c9; margin-bottom: 18px; font-weight: 500; }
.hero .lead { color: #d3d9de; font-size: 16.5px; max-width: 520px; }
.hero-meta { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-meta span { font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; color: #9aa4ac; border: 1px solid #3a444c; padding: 4px 9px; border-radius: 2px; }

.hero-slider { position: relative; border-radius: 6px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.45); background: #0e1215; }
.hero-slider img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.hero-slider figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff; font-family: "Barlow Condensed", sans-serif; font-size: 17px; letter-spacing: 0.03em;
}
.hero-slider figcaption small { display: block; color: #cfd6db; font-family: "Barlow", sans-serif; font-size: 13px; letter-spacing: 0; }
.slider-dots { position: absolute; top: 12px; right: 14px; display: flex; gap: 6px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,0.4); cursor: pointer; }
.slider-dots button.active { background: var(--amber); }

/* Notice ---------------------------------------------------------------- */
.notice { background: var(--amber); color: #2a1c04; }
.notice .wrap { padding: 16px 24px; font-size: 15px; }
.notice strong { font-weight: 700; }

/* Sections -------------------------------------------------------------- */
.section { padding: 64px 0; }
.section.tint { background: var(--bg-tint); }
.section.tight { padding: 44px 0; }

.h2 { font-size: 34px; margin-bottom: 8px; color: var(--ink); }
.h2::after { content: ""; display: block; width: 54px; height: 4px; background: var(--amber); margin-top: 10px; border-radius: 2px; }
.sub { color: var(--muted); max-width: 720px; margin-bottom: 32px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Cards ----------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 18px 20px 20px; }
.card-body h3 { font-size: 21px; margin-bottom: 8px; }
.card-body p { font-size: 15px; color: var(--muted); }
.card .kicker { font-family: "Barlow Condensed", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; color: var(--amber-dark); font-weight: 600; }

/* Project galleries ----------------------------------------------------- */
.project { margin-bottom: 48px; }
.project-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.project-head h3 { font-size: 26px; }
.project-head .loc { color: var(--muted); font-size: 15px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }

/* Lists ----------------------------------------------------------------- */
.list-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 32px; }
.list-cols li { list-style: none; position: relative; padding-left: 22px; margin-bottom: 6px; font-size: 16px; }
.list-cols li::before { content: "▸"; position: absolute; left: 0; color: var(--amber-dark); font-weight: 700; }

/* Bio / prose ----------------------------------------------------------- */
.prose { max-width: 760px; }
.prose p { margin-bottom: 18px; }
.prose .person {
  background: var(--paper); border-left: 4px solid var(--amber);
  padding: 22px 26px; border-radius: 0 6px 6px 0; margin: 28px 0;
}
.prose .person .name { font-size: 22px; color: var(--ink); }
.prose .person .role { font-family: "Barlow Condensed", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-dark); font-weight: 600; font-size: 14px; margin-bottom: 12px; }

/* Contact --------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 26px 28px; }
.contact-card h3 { font-size: 20px; margin-bottom: 14px; }
.contact-card dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.contact-card dt { font-weight: 700; color: var(--steel); }
.contact-card dd { color: var(--ink); }

/* Footnote / fine print ------------------------------------------------- */
.fine { color: var(--muted); font-size: 14px; }

/* Footer ---------------------------------------------------------------- */
.footer { background: var(--ink); color: #b9c2c9; margin-top: 0; }
.footer-inner { padding: 40px 24px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; }
.footer .brand-text { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 20px; letter-spacing: 0.04em; color: #fff; text-transform: uppercase; }
.footer .fine { color: #8d979f; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding: 40px 24px; }
  .hero h1 { font-size: 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .list-cols { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .mainnav { display: none; }
  .mainnav.open { display: flex; flex-direction: column; width: 100%; }
  .nav-toggle { display: block; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .list-cols { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
}
