/* Alphabet City Works — static site styles */

:root {
  --accent: #01e0dd;
  --accent-dark: #00b5b3;
  --ink: #16181a;
  --ink-soft: #3a3a3a;
  --ink-mute: #6b7075;
  --paper: #ffffff;
  --paper-soft: #f6f8f8;
  --line: #e6e9e9;
  --max: 1120px;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink-soft);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

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

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.wordmark {
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark span { color: var(--accent-dark); }

.site-nav { display: flex; gap: 28px; align-items: center; }

.site-nav a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.site-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }

.site-nav a.nav-cta {
  background: var(--accent);
  color: var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  border-bottom: none;
}

.site-nav a.nav-cta:hover { background: var(--accent-dark); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 8px 0 16px;
  }

  .site-nav.open { display: flex; }

  .site-nav a { padding: 12px 24px; width: 100%; text-align: center; border-bottom: none; }

  .site-nav a.nav-cta { width: auto; margin-top: 8px; }

  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

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

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10, 14, 15, 0.72) 0%, rgba(10, 14, 15, 0.35) 60%, rgba(1, 224, 221, 0.18) 100%);
  z-index: -1;
}

.hero .wrap { padding-top: 48px; padding-bottom: 48px; }

.hero .kicker {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.015em;
  max-width: 13ch;
  color: #fff;
}

.hero p.lede {
  margin-top: 18px;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.92);
}

.hero .cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

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

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }

.btn-ghost { border: 2px solid rgba(255, 255, 255, 0.65); color: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent-dark); }

/* ---------- sections ---------- */

section { padding: 84px 0; }

section.alt { background: var(--paper-soft); }

.section-head { max-width: 640px; margin-bottom: 44px; }

.section-head .kicker {
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.15;
}

.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-grid .photo img { border-radius: var(--radius); }

.about-copy p + p { margin-top: 14px; }

.about-stats {
  margin-top: 28px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.stat .num em { font-style: normal; color: var(--accent-dark); }

.stat .label {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 6px;
}

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- offices / pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 820px;
}

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: 0 6px 24px rgba(20, 30, 30, 0.05);
}

.price-card h3 { font-size: 1.2rem; color: var(--ink); font-weight: 800; }

.price-card .price {
  margin: 14px 0 4px;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.price-card .price small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-mute);
}

.price-card ul { list-style: none; margin: 22px 0 28px; }

.price-card li {
  padding: 7px 0 7px 28px;
  position: relative;
  font-size: 0.97rem;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--accent-dark);
  border-bottom: 2.5px solid var(--accent-dark);
  transform: rotate(-45deg);
}

@media (max-width: 700px) {
  .price-grid { grid-template-columns: 1fr; }
}

/* ---------- amenities ---------- */

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.amenity {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}

.amenity svg {
  width: 30px;
  height: 30px;
  stroke: var(--accent-dark);
  margin-bottom: 14px;
}

.amenity h3 { font-size: 1rem; font-weight: 700; color: var(--ink); }

.amenity p { font-size: 0.88rem; color: var(--ink-mute); margin-top: 4px; }

@media (max-width: 960px) { .amenity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .amenity-grid { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-grid a:hover img { transform: scale(1.04); }

.gallery-grid a.tall { grid-row: span 2; }

.gallery-grid a.wide { grid-column: span 2; }

@media (max-width: 800px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}

/* ---------- location ---------- */

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.location-copy address {
  font-style: normal;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 18px 0 6px;
}

.location-copy .directions { margin-top: 22px; }

.location-grid .photo img { border-radius: var(--radius); }

@media (max-width: 800px) {
  .location-grid { grid-template-columns: 1fr; gap: 32px; }
}

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

.contact-band {
  background: linear-gradient(120deg, var(--accent) 0%, #3ff0ed 100%);
  color: var(--ink);
  text-align: center;
  padding: 72px 0;
}

.contact-band h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.contact-band p { margin-top: 10px; font-size: 1.1rem; }

.contact-band .cta-row {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-band .plain-links {
  margin-top: 26px;
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-weight: 700;
}

.contact-band .plain-links a { text-decoration: none; color: var(--ink); }
.contact-band .plain-links a:hover { text-decoration: underline; }

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

.contact-page { padding: 72px 0 96px; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.contact-card svg { width: 28px; height: 28px; stroke: var(--accent-dark); margin-bottom: 12px; }

.contact-card h3 {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
}

.contact-card p, .contact-card address { font-style: normal; margin-top: 8px; font-size: 1.05rem; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }

.contact-card a { text-decoration: none; color: var(--ink); }
.contact-card a:hover { color: var(--accent-dark); }

.contact-card .sub { display: block; font-size: 0.88rem; font-weight: 500; color: var(--ink-mute); margin-top: 4px; }

@media (max-width: 800px) { .contact-cards { grid-template-columns: 1fr; } }

.tour-note {
  margin-top: 48px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  max-width: 720px;
}

.tour-note h2 { font-size: 1.3rem; font-weight: 800; color: var(--ink); }

.tour-note p { margin-top: 10px; }

.tour-note .btn { margin-top: 20px; }

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

.site-footer {
  background: var(--ink);
  color: #b8bdc2;
  padding: 56px 0 36px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.site-footer .wordmark { color: #fff; }

.site-footer p { margin-top: 12px; max-width: 34ch; }

.site-footer h3 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7d848a;
  margin-bottom: 14px;
  font-weight: 700;
}

.site-footer ul { list-style: none; }

.site-footer li { margin-bottom: 9px; }

.site-footer a { color: #d4d8db; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid #2b2f33;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: #7d848a;
}

.footer-bottom a { color: #7d848a; text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

.footer-bottom .btn-admin {
  color: var(--ink);
  font-size: 1rem;
  padding: 12px 32px;
}
.footer-bottom .btn-admin:hover { color: #fff; }

@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(12, 14, 15, .93);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 88vh; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff;
  cursor: pointer; font-size: 46px; line-height: 1; padding: 16px; opacity: .8;
}
.lightbox button:hover { opacity: 1; color: var(--accent); }
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); font-size: 64px; }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); font-size: 64px; }
body.lb-open { overflow: hidden; }
@media (max-width: 800px) {
  .lb-prev { left: 0; font-size: 48px; }
  .lb-next { right: 0; font-size: 48px; }
}
