/* Homepage — conversion-focused editorial layout */

.home-page {
  --home-ink: #1d1d1b;
  --home-muted: #707070;
  --home-cream: #f5f5f5;
  --home-blush: #c8a5ad;
  --home-white: #ffffff;
  --home-dark: #1d1d1b;
  --home-gutter: clamp(1.25rem, 4vw, 3rem);
  --home-max: 72rem;
  color: var(--home-ink);
}

.home-page a {
  text-decoration: none;
}

/* ── Hero ── */
.home-hero {
  position: relative;
  min-height: calc(100vh - 4.25rem);
  min-height: calc(100dvh - 4.25rem);
  display: flex;
  align-items: flex-end;
  background: var(--home-dark);
  color: var(--home-white);
  overflow: hidden;
}

.home-hero-media {
  position: absolute;
  inset: 0;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(29, 29, 27, 0.92) 0%,
    rgba(29, 29, 27, 0.55) 45%,
    rgba(29, 29, 27, 0.25) 100%
  );
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 5rem var(--home-gutter) 3.5rem;
}

.home-hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1.35rem;
  max-width: 42rem;
}

.home-hero-lead {
  font-family: "Raleway", sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 40rem;
  margin: 0 0 1.25rem;
}

.home-hero-studio {
  font-family: "Raleway", sans-serif;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 40rem;
  margin: 0 0 2rem;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  font-family: "Raleway", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.home-btn-primary {
  background: var(--home-blush);
  color: var(--home-ink);
  border-color: var(--home-blush);
}

.home-btn-primary:hover,
.home-btn-primary:focus-visible {
  background: #d4b3bb;
  border-color: #d4b3bb;
  outline: none;
}

.home-btn-secondary {
  background: transparent;
  color: var(--home-white);
  border-color: rgba(255, 255, 255, 0.55);
}

.home-btn-secondary:hover,
.home-btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--home-white);
  outline: none;
}

.home-btn-dark {
  background: var(--home-ink);
  color: var(--home-white);
  border-color: var(--home-ink);
}

.home-btn-dark:hover,
.home-btn-dark:focus-visible {
  background: #000;
  outline: none;
}

.home-btn-outline {
  background: transparent;
  color: var(--home-ink);
  border-color: var(--home-ink);
}

.home-btn-outline:hover,
.home-btn-outline:focus-visible {
  background: var(--home-ink);
  color: var(--home-white);
  outline: none;
}

/* ── Sections ── */
.home-section {
  padding: clamp(4rem, 8vw, 6.5rem) var(--home-gutter);
}

.home-section-inner {
  max-width: var(--home-max);
  margin: 0 auto;
}

.home-section-dark {
  background: var(--home-dark);
  color: var(--home-white);
}

.home-section-cream {
  background: var(--home-cream);
}

.home-section-white {
  background: var(--home-white);
}

.home-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--home-blush);
  margin: 0 0 1rem;
}

.home-section-dark .home-label {
  color: var(--home-blush);
}

.home-heading {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}

.home-heading-lg {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  max-width: 18ch;
}

.home-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--home-muted);
  max-width: 40rem;
}

.home-section-dark .home-body {
  color: rgba(255, 255, 255, 0.78);
}

.home-split {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .home-split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .home-split-reverse .home-split-copy {
    order: 2;
  }
}

/* ── Stats strip ── */
.home-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 640px) {
  .home-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-stat-value {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 0.25rem;
}

.home-stat-label {
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* ── Offer card ── */
.home-offer {
  border: 1px solid rgba(29, 29, 27, 0.1);
  background: var(--home-white);
  padding: clamp(2rem, 4vw, 3rem);
}

.home-offer-price {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}

.home-offer-note {
  font-size: 0.875rem;
  color: var(--home-muted);
  margin: 0 0 1.5rem;
}

.home-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.home-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--home-muted);
}

.home-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--home-blush);
  border-radius: 50%;
}

/* ── Process ── */
.home-process-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .home-process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.home-process-step {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(29, 29, 27, 0.12);
}

.home-process-num {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--home-blush);
  margin: 0 0 0.75rem;
}

.home-process-title {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.home-process-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--home-muted);
  margin: 0;
}

/* ── Testimonials ── */
.home-quotes {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .home-quotes {
    grid-template-columns: repeat(2, 1fr);
  }
}

.home-quote {
  padding: 2rem;
  background: var(--home-cream);
  border-left: 3px solid var(--home-blush);
}

.home-quote-text {
  font-family: "Playfair Display", serif;
  font-size: 1.125rem;
  line-height: 1.55;
  font-style: italic;
  margin: 0 0 1rem;
  color: var(--home-ink);
}

.home-quote-meta {
  font-size: 0.8125rem;
  color: var(--home-muted);
  margin: 0;
}

/* ── Final CTA ── */
.home-final-cta {
  text-align: center;
}

.home-final-cta .home-heading {
  margin-left: auto;
  margin-right: auto;
}

.home-final-cta .home-body {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.home-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.home-footnote {
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.home-footnote a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.home-footnote a:hover {
  color: var(--home-white);
}

.home-image-panel {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e8e4e5;
}

.home-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Portfolio (shuffled from projects-portfolio data) ── */
.home-portfolio-section {
  text-align: center;
}

.home-portfolio-inner {
  max-width: 72rem;
}

.home-portfolio-header {
  margin-bottom: 2.5rem;
}

.home-portfolio-header .home-heading {
  margin-left: auto;
  margin-right: auto;
}

.home-portfolio-rule {
  width: 6rem;
  height: 4px;
  background: var(--home-blush);
  margin: 0 auto 1.5rem;
}

.home-portfolio-intro {
  margin: 0 auto;
  max-width: 40rem;
}

.home-portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: left;
}

@media (min-width: 768px) {
  .home-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .home-portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-portfolio-card {
  background: var(--home-white);
  box-shadow: 0 10px 30px rgba(29, 29, 27, 0.08);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.home-portfolio-card:hover,
.home-portfolio-card:focus-within {
  box-shadow: 0 16px 40px rgba(29, 29, 27, 0.12);
  transform: translateY(-2px);
}

.home-portfolio-card-link {
  display: block;
  color: inherit;
  height: 100%;
}

.home-portfolio-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8e4e5;
}

.home-portfolio-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.home-portfolio-card-link:hover .home-portfolio-card-media img,
.home-portfolio-card-link:focus-visible .home-portfolio-card-media img {
  transform: scale(1.03);
}

.home-portfolio-card-body {
  padding: 1.5rem;
}

.home-portfolio-type {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--home-blush);
  margin: 0 0 0.5rem;
}

.home-portfolio-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.home-portfolio-summary {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--home-muted);
  margin: 0 0 1rem;
}

.home-portfolio-more-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--home-blush);
  transition: color 0.2s ease;
}

.home-portfolio-card-link:hover .home-portfolio-more-link,
.home-portfolio-card-link:focus-visible .home-portfolio-more-link {
  color: var(--home-ink);
}

.home-portfolio-actions {
  margin: 2.5rem 0 0;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .home-portfolio-card,
  .home-portfolio-card-media img,
  .home-btn {
    transition: none;
  }

  .home-portfolio-card:hover,
  .home-portfolio-card:focus-within {
    transform: none;
  }
}
