/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg:         #000000;
  --bg-surface: #0d0d0d;
  --bg-card:    #111111;
  --text:       #ffffff;
  --text-muted: #888888;
  --text-dim:   #555555;
  --accent:     #c9a96e;
  --divider:    #1e1e1e;
  --font:       'Outfit', system-ui, -apple-system, sans-serif;
  --max-width:  1200px;
  --pad-x:      24px;
  --section-v:  100px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   SHARED LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-v) var(--pad-x);
}

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 48px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--divider);
  transition: box-shadow 0.3s ease;
}

#nav.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
}

.nav-logo:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.nav-phone {
  color: var(--accent) !important;
}

.nav-phone:hover {
  color: var(--text) !important;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

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

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(0, 0, 0, 0.65) 0%, transparent 65%),
    linear-gradient(to top,    rgba(0, 0, 0, 0.65) 0%, transparent 55%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px var(--pad-x) 80px;
  animation: heroFadeUp 0.8s ease both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-wordmark {
  font-size: clamp(22px, 4.5vw, 52px);
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.85);
}

.hero-tagline {
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 300;
  color: var(--text);
  font-style: italic;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.85);
}

.hero-subhead {
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.06em;
  margin-bottom: 52px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.85);
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  max-width: 580px;
  margin-bottom: 52px;
}

.hero-split-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 24px;
}

.hero-split-panel:first-child {
  padding-left: 0;
}

.hero-split-divider {
  background: var(--accent);
  opacity: 0.45;
}

.hero-split-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-split-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.hero-cta {
  display: inline-block;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 5px;
  transition: color 0.2s;
}

.hero-cta:hover {
  color: var(--accent);
}

/* ============================================================
   SERVICES
   ============================================================ */
#services {
  background: var(--bg-surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--divider);
}

.service-card {
  background: var(--bg-card);
  padding: 40px 32px 48px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card:nth-child(2) { transition-delay: 150ms; }
.service-card:nth-child(3) { transition-delay: 300ms; }

.service-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 24px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 32px;
  flex: 1;
}

.service-list li {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  padding-left: 16px;
  position: relative;
}

.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 11px;
  top: 2px;
}

.service-price {
  font-size: 12px;
  color: var(--accent);
  line-height: 1.65;
  border-top: 1px solid var(--divider);
  padding-top: 20px;
  margin-top: auto;
}

.service-price--inquiry {
  color: var(--text-dim);
  font-style: italic;
}

.service-price a {
  color: var(--accent);
  transition: color 0.2s;
}

.service-price a:hover {
  color: var(--text);
}

#services .container {
  padding-bottom: 0;
}

.services-cta {
  padding: 0 0 var(--section-v);
  text-align: center;
}

.services-divider {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 0 0 52px;
}

.services-cta-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.services-cta-phone {
  display: block;
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--text);
  line-height: 1;
  transition: color 0.25s;
}

.services-cta-phone:hover {
  color: var(--accent);
}

/* ============================================================
   ABOUT
   ============================================================ */
#about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.person-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.person-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%);
}

.person-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}

.person-role {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.person-bio {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

.person-photo--winston {
  object-position: 50% 35%;
}

/* ============================================================
   PROJECTS
   ============================================================ */
#projects {
  background: var(--bg-surface);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--divider);
}

.project-card--featured {
  grid-column: span 2;
}

.project-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-card);
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.15s ease;
}

.project-card:hover .project-image {
  transform: scale(1.04);
}

.project-info {
  padding: 20px 24px 28px;
  background: var(--bg-card);
}

.project-type {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
}

.project-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
}

.project-location {
  font-size: 12px;
  color: var(--text-dim);
}

.project-attribution {
  margin-top: 8px;
}

.project-attribution a {
  font-size: 11px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.project-attribution a:hover {
  color: var(--text);
}

/* Badge */
.project-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.62);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
}

.project-badge--commercial {
  color: var(--accent);
  border-color: rgba(201, 169, 110, 0.45);
}

/* Carousel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.40);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s;
  padding: 0;
  user-select: none;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.68);
}

.carousel-btn--prev { left: 12px; }
.carousel-btn--next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 6px;
  align-items: center;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot--active {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.35);
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  background: var(--bg);
}

#contact .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-phone {
  display: block;
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--text);
  transition: color 0.25s;
  line-height: 1;
}

.contact-phone:hover {
  color: var(--accent);
}

.contact-sub {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--divider);
  padding: 20px var(--pad-x);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.site-footer a {
  color: var(--text-dim);
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .site-footer {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-v: 64px;
    --pad-x:     20px;
  }

  .hero-bg {
    object-position: right center;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 10px;
  }

  .section-label {
    font-size: 14px;
    letter-spacing: 0.3em;
  }

  .hero-wordmark {
    font-size: clamp(28px, 7vw, 52px);
  }

  .hero-tagline {
    font-size: 22px;
  }

  .hero-subhead {
    font-size: 18px;
  }

  .hero-cta {
    font-size: 36px;
  }

  .service-title {
    font-size: 14px;
    letter-spacing: 0.18em;
  }

  .service-list li {
    font-size: 17px;
  }

  .person-name {
    font-size: 16px;
  }

  .person-role {
    font-size: 16px;
  }

  .person-bio {
    font-size: 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .hero-split {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .nav-links li:not(:last-child) {
    display: none;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-split-divider {
    display: none;
  }

  .hero-split-panel {
    padding: 14px 0;
    border-bottom: 1px solid var(--divider);
  }

  .hero-split-panel:last-child {
    border-bottom: none;
  }

  .service-card {
    padding: 32px 20px 40px;
  }
}
