/* ── Variables ── */
:root {
  --bg: #F7F2EB;
  --bg-warm: #EEE8DC;
  --fg: #1A1612;
  --fg-muted: #6B5E4E;
  --accent: #C47A3A;
  --accent-deep: #8B4E14;
  --surface: #EDE6D8;
  --border: #D8CEBF;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Barlow', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 3rem;
  display: flex;
  align-items: center;
}

.nav__mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--fg);
}

.nav__name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav__link {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
  padding: 0 0.5rem;
}

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

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 0;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(196, 122, 58, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(196, 122, 58, 0.05) 0%, transparent 50%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 200px;
}

.hero__content {
  position: relative;
  max-width: 900px;
}

.hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.hero__headline {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 2rem;
}

.hero__sub {
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 5rem;
}

/* ── Stats Strip ── */
.hero__stat-strip {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: auto;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 3rem;
}

.hero__stat:first-child { padding-left: 0; }

.hero__stat-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__stat-divider {
  width: 1px;
  height: 3rem;
  background: var(--border);
}

/* ── Philosophy ── */
.philosophy {
  background: var(--fg);
  color: var(--bg);
  padding: 8rem 3rem;
}

.philosophy__inner {
  max-width: 760px;
  margin: 0 auto;
}

.philosophy__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3rem;
}

.philosophy__quote {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  color: var(--bg);
  margin-bottom: 2.5rem;
  position: relative;
  padding-left: 2rem;
}

.philosophy__quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25em;
  bottom: 0.25em;
  width: 2px;
  background: var(--accent);
}

.philosophy__body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(247, 242, 235, 0.65);
}

/* ── Services ── */
.services {
  padding: 8rem 3rem;
  background: var(--bg);
}

.services__header {
  margin-bottom: 4rem;
}

.services__eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.services__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--fg);
  max-width: 500px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.services__col-title {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.services__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.services__list li {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--fg-muted);
  padding-left: 1rem;
  position: relative;
}

.services__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  opacity: 0.5;
  font-size: 0.7rem;
  top: 0.15em;
}

/* ── Projects ── */
.projects {
  padding: 8rem 3rem;
  background: var(--bg-warm);
}

.projects__header {
  margin-bottom: 4rem;
}

.projects__eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.projects__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--fg);
}

.projects__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 1.5rem;
}

.projects__item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.projects__item-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

.projects__item:hover .projects__item-bg {
  transform: scale(1.03);
}

/* Liberty Public Market — warm amber industrial */
.projects__item-bg--market {
  background:
    linear-gradient(to top, rgba(26, 22, 18, 0.92) 0%, rgba(26, 22, 18, 0.5) 50%, transparent 100%),
    radial-gradient(ellipse at 30% 70%, rgba(196, 122, 58, 0.4) 0%, transparent 60%),
    linear-gradient(135deg, #2A1F14 0%, #4A2E18 40%, #C47A3A 100%);
}

/* 1835 Studios — muted brick and steel */
.projects__item-bg--studios {
  background:
    linear-gradient(to top, rgba(26, 22, 18, 0.92) 0%, rgba(26, 22, 18, 0.4) 60%, transparent 100%),
    radial-gradient(ellipse at 70% 30%, rgba(160, 130, 90, 0.3) 0%, transparent 60%),
    linear-gradient(160deg, #1E1814 0%, #3A2E22 50%, #6B5E4E 100%);
}

/* 3167 Gallery — deep slate with warm glow */
.projects__item-bg--gallery {
  background:
    linear-gradient(to top, rgba(26, 22, 18, 0.92) 0%, rgba(26, 22, 18, 0.4) 60%, transparent 100%),
    radial-gradient(ellipse at 60% 80%, rgba(196, 122, 58, 0.25) 0%, transparent 50%),
    linear-gradient(200deg, #141210 0%, #2A241E 60%, #4A3D2E 100%);
}

.projects__item-content {
  position: relative;
  padding: 2rem;
  z-index: 1;
}

.projects__item-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--bg);
  margin-bottom: 0.4rem;
}

.projects__item-meta {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.projects__item-desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(247, 242, 235, 0.7);
}

/* ── Closing ── */
.closing {
  background: var(--accent-deep);
  padding: 8rem 3rem;
}

.closing__inner {
  max-width: 800px;
}

.closing__headline {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--bg);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.closing__body {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(247, 242, 235, 0.7);
  max-width: 560px;
}

/* ── Footer ── */
.footer {
  background: var(--fg);
  color: var(--bg);
  padding: 4rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer__mark { color: var(--bg); margin-bottom: 0.75rem; }

.footer__company {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(247, 242, 235, 0.5);
  line-height: 1.6;
}

.footer__tagline {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(247, 242, 235, 0.5);
  text-align: right;
  line-height: 1.8;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }

  .hero { padding: 7rem 1.5rem 0; }

  .hero__stat-strip {
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem 0;
  }

  .hero__stat { padding: 0 1.5rem; }
  .hero__stat-divider { display: none; }

  .philosophy,
  .services,
  .projects,
  .closing,
  .footer {
    padding: 5rem 1.5rem;
  }

  .services__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

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

  .projects__item--large { min-height: 280px; }

  .footer {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
  }

  .footer__tagline { text-align: left; }
}

@media (max-width: 480px) {
  .services__grid { grid-template-columns: 1fr; }
  .hero__stat-strip { gap: 1rem; }
}