@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --hj-limestone: #E8E0D4;
  --hj-indigo: #2C3E6B;
  --hj-olive: #6B7F4A;
  --hj-white: #FAFAF8;
  --hj-text: #2A2A28;
  --hj-text-muted: #5C5C58;
  --hj-border: #D4CCC0;
  --hj-shadow: rgba(44, 62, 107, 0.12);
  --hj-max: 1200px;
  --hj-radius: 6px;
  --hj-transition: 0.25s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--hj-text);
  background: var(--hj-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--hj-indigo);
  text-decoration: none;
  transition: color var(--hj-transition);
}

a:hover {
  color: var(--hj-olive);
}

h1, h2, h3, h4 {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--hj-indigo);
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.hj-container {
  width: 100%;
  max-width: var(--hj-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.hj-header {
  background: var(--hj-white);
  border-bottom: 1px solid var(--hj-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.hj-header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1.5rem 0;
  max-width: var(--hj-max);
  margin: 0 auto;
}

.hj-logo {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hj-indigo);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.hj-logo span {
  color: var(--hj-olive);
}

.hj-nav {
  display: flex;
  gap: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--hj-indigo);
  width: 100%;
  justify-content: center;
}

.hj-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hj-text-muted);
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--hj-transition), border-color var(--hj-transition);
}

.hj-nav a:hover,
.hj-nav a.hj-nav--active {
  color: var(--hj-indigo);
  border-bottom-color: var(--hj-olive);
}

.hj-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: absolute;
  right: 1.5rem;
  top: 1.25rem;
}

.hj-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--hj-indigo);
  margin: 5px 0;
  transition: var(--hj-transition);
}

/* Hero Split-screen */
.hj-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
}

.hj-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem clamp(1.5rem, 5vw, 5rem);
  background: var(--hj-limestone);
}

.hj-hero__copy .hj-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--hj-olive);
  margin-bottom: 1rem;
}

.hj-hero__copy h1 {
  margin-bottom: 1.25rem;
}

.hj-hero__copy p {
  font-size: 1.1rem;
  color: var(--hj-text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hj-hero__image {
  position: relative;
  overflow: hidden;
}

.hj-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.hj-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  border-radius: var(--hj-radius);
  cursor: pointer;
  transition: background var(--hj-transition), color var(--hj-transition), transform var(--hj-transition);
}

.hj-btn--primary {
  background: var(--hj-indigo);
  color: var(--hj-white);
}

.hj-btn--primary:hover {
  background: var(--hj-olive);
  color: var(--hj-white);
}

.hj-btn--outline {
  background: transparent;
  color: var(--hj-indigo);
  border: 2px solid var(--hj-indigo);
}

.hj-btn--outline:hover {
  background: var(--hj-indigo);
  color: var(--hj-white);
}

.hj-btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Page hero (inner pages) */
.hj-page-hero {
  background: var(--hj-limestone);
  padding: 4rem 0 3rem;
  text-align: center;
}

.hj-page-hero h1 {
  margin-bottom: 0.75rem;
}

.hj-page-hero p {
  color: var(--hj-text-muted);
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Sections */
.hj-section {
  padding: 5rem 0;
}

.hj-section--alt {
  background: var(--hj-limestone);
}

.hj-section__header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.hj-section__header p {
  color: var(--hj-text-muted);
  margin-top: 0.75rem;
}

.hj-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--hj-olive);
  margin-bottom: 0.5rem;
}

/* Features grid */
.hj-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.hj-feature {
  padding: 2rem;
  background: var(--hj-white);
  border: 1px solid var(--hj-border);
  border-radius: var(--hj-radius);
}

.hj-section--alt .hj-feature {
  background: var(--hj-white);
}

.hj-feature__icon {
  width: 48px;
  height: 48px;
  background: var(--hj-indigo);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hj-white);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.hj-feature h3 {
  margin-bottom: 0.75rem;
}

.hj-feature p {
  color: var(--hj-text-muted);
  font-size: 0.95rem;
}

/* Steps */
.hj-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.hj-step {
  text-align: center;
  padding: 2rem 1.25rem;
  position: relative;
}

.hj-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--hj-olive);
  color: var(--hj-white);
  font-family: 'Libre Baskerville', serif;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
}

.hj-step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.hj-step p {
  color: var(--hj-text-muted);
  font-size: 0.9rem;
}

/* Stats */
.hj-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
}

.hj-stat__number {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--hj-indigo);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hj-stat__label {
  font-size: 0.85rem;
  color: var(--hj-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* CTA band */
.hj-cta {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hj-cta__bg {
  position: absolute;
  inset: 0;
}

.hj-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hj-cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(44, 62, 107, 0.72);
}

.hj-cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  padding: 4rem 1.5rem;
  color: var(--hj-white);
}

.hj-cta__content h2 {
  color: var(--hj-white);
  margin-bottom: 1rem;
}

.hj-cta__content p {
  max-width: 32rem;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.hj-cta__content .hj-btn--primary {
  background: var(--hj-olive);
}

.hj-cta__content .hj-btn--primary:hover {
  background: var(--hj-limestone);
  color: var(--hj-indigo);
}

/* About split */
.hj-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hj-split__image {
  border-radius: var(--hj-radius);
  overflow: hidden;
}

.hj-split__content p {
  color: var(--hj-text-muted);
}

.hj-split__content h2 {
  margin-bottom: 1.25rem;
}

/* Apartment catalog */
.hj-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.hj-card {
  background: var(--hj-white);
  border: 1px solid var(--hj-border);
  border-radius: var(--hj-radius);
  overflow: hidden;
  transition: box-shadow var(--hj-transition), transform var(--hj-transition);
}

.hj-card:hover {
  box-shadow: 0 8px 32px var(--hj-shadow);
  transform: translateY(-4px);
}

.hj-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.hj-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hj-card:hover .hj-card__image img {
  transform: scale(1.04);
}

.hj-card__body {
  padding: 1.5rem;
}

.hj-card__body h3 {
  margin-bottom: 0.5rem;
}

.hj-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--hj-olive);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.hj-card__body p {
  color: var(--hj-text-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.hj-card__price {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.15rem;
  color: var(--hj-indigo);
  font-weight: 700;
}

/* Neighborhood */
.hj-stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.hj-story {
  background: var(--hj-white);
  border: 1px solid var(--hj-border);
  border-radius: var(--hj-radius);
  overflow: hidden;
}

.hj-story__image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.hj-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hj-story__body {
  padding: 1.5rem;
}

.hj-story__body h3 {
  margin-bottom: 0.75rem;
}

.hj-story__body p {
  color: var(--hj-text-muted);
  font-size: 0.92rem;
}

.hj-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hj-gallery img {
  border-radius: var(--hj-radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

/* Contact */
.hj-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.hj-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hj-form label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--hj-indigo);
  margin-bottom: -0.75rem;
}

.hj-form input,
.hj-form select,
.hj-form textarea {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--hj-border);
  border-radius: var(--hj-radius);
  background: var(--hj-white);
  color: var(--hj-text);
  transition: border-color var(--hj-transition);
}

.hj-form input:focus,
.hj-form select:focus,
.hj-form textarea:focus {
  outline: none;
  border-color: var(--hj-indigo);
}

.hj-form textarea {
  min-height: 140px;
  resize: vertical;
}

.hj-contact-details {
  padding: 2rem;
  background: var(--hj-limestone);
  border-radius: var(--hj-radius);
}

.hj-contact-details h3 {
  margin-bottom: 1.5rem;
}

.hj-contact-item {
  margin-bottom: 1.25rem;
}

.hj-contact-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hj-olive);
  margin-bottom: 0.25rem;
}

.hj-contact-item a,
.hj-contact-item span {
  color: var(--hj-text);
  font-size: 1rem;
}

/* Privacy */
.hj-legal {
  max-width: 48rem;
  margin: 0 auto;
}

.hj-legal h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 1rem;
}

.hj-legal h2:first-child {
  margin-top: 0;
}

.hj-legal p,
.hj-legal li {
  color: var(--hj-text-muted);
}

.hj-legal ul {
  margin: 0.75rem 0 1rem 1.5rem;
}

.hj-legal li {
  margin-bottom: 0.5rem;
}

/* Footer */
.hj-footer {
  background: var(--hj-indigo);
  color: var(--hj-limestone);
  padding: 4rem 0 2rem;
}

.hj-footer a {
  color: var(--hj-limestone);
  opacity: 0.85;
}

.hj-footer a:hover {
  opacity: 1;
  color: var(--hj-white);
}

.hj-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.hj-footer__col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hj-white);
  margin-bottom: 1.25rem;
}

.hj-footer__col p,
.hj-footer__col li {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.7;
}

.hj-footer__col ul {
  list-style: none;
}

.hj-footer__col li {
  margin-bottom: 0.5rem;
}

.hj-footer__bottom {
  border-top: 1px solid rgba(232, 224, 212, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Cookie banner */
.hj-cookie {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: 380px;
  background: var(--hj-white);
  border: 1px solid var(--hj-border);
  border-radius: var(--hj-radius);
  padding: 1.5rem;
  box-shadow: 0 8px 32px var(--hj-shadow);
  z-index: 200;
  display: none;
}

.hj-cookie.hj-cookie--visible {
  display: block;
}

.hj-cookie h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--hj-indigo);
  margin-bottom: 0.5rem;
}

.hj-cookie p {
  font-size: 0.85rem;
  color: var(--hj-text-muted);
  margin-bottom: 1rem;
}

.hj-cookie__actions {
  display: flex;
  gap: 0.75rem;
}

.hj-cookie__actions .hj-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
}

/* Values list */
.hj-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.hj-value {
  padding: 1.5rem;
  border-left: 3px solid var(--hj-olive);
  background: var(--hj-white);
}

.hj-value h4 {
  font-family: 'Libre Baskerville', serif;
  color: var(--hj-indigo);
  margin-bottom: 0.5rem;
}

.hj-value p {
  color: var(--hj-text-muted);
  font-size: 0.92rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hj-header__inner {
    position: relative;
    padding-top: 1rem;
    padding-bottom: 0;
  }

  .hj-burger {
    display: block;
  }

  .hj-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    border-bottom: none;
    width: 100%;
    padding: 0;
    background: var(--hj-white);
  }

  .hj-nav.hj-nav--open {
    display: flex;
    border-top: 1px solid var(--hj-border);
    margin-top: 1rem;
  }

  .hj-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--hj-border);
    text-align: center;
  }

  .hj-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hj-hero__copy {
    padding: 3rem 1.5rem;
    order: 1;
  }

  .hj-hero__image {
    order: 0;
    min-height: 50vh;
  }

  .hj-features,
  .hj-steps,
  .hj-stats,
  .hj-catalog,
  .hj-stories,
  .hj-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hj-split,
  .hj-contact-grid {
    grid-template-columns: 1fr;
  }

  .hj-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .hj-features,
  .hj-steps,
  .hj-stats,
  .hj-catalog,
  .hj-stories,
  .hj-footer__grid,
  .hj-gallery,
  .hj-values {
    grid-template-columns: 1fr;
  }

  .hj-btn-group {
    flex-direction: column;
  }

  .hj-btn {
    text-align: center;
  }

  .hj-cookie {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }

  .hj-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}
