/* ================================================================
   HOMEPAGE — front-page.css
   Pure white editorial. Typography-first. No colored backgrounds.
   ================================================================ */

/* ── HERO ────────────────────────────────────────────────────── */
.home-hero {
  min-height: auto;
  padding: calc(var(--nav-h) + 20px) var(--pad-x) 72px;
  display: block;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.home-hero__index { display: none; }

.home-hero__content {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.home-hero__eyebrow {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 32px;
}

.home-hero__name {
  font-family: var(--f-display);
  font-size: clamp(80px, 11.5vw, 160px);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 0;
}

.home-hero__name em {
  font-style: italic;
  font-weight: 300;
}

.home-hero__rule {
  width: 100%;
  height: 1px;
  background: var(--rule);
  margin: 44px 0;
}

.home-hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.home-hero__statement {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 640px;
}

.home-hero__meta {
  flex-shrink: 0;
  text-align: right;
}

.home-hero__meta p {
  font-size: 12px;
  font-weight: 300;
  color: var(--stone);
  line-height: 2;
  letter-spacing: 0.04em;
}

/* ── INTRO ───────────────────────────────────────────────────── */
.home-intro {
  padding: 100px var(--pad-x);
  border-bottom: 1px solid var(--rule);
}

.home-intro__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}

.home-intro__label {
  padding-top: 6px;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.home-intro__body p {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 24px;
}

.home-intro__body p + p {
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.8;
  font-size: 15.5px;
}

/* ── SELECTED WORK ───────────────────────────────────────────── */
.home-work {
  padding: 100px var(--pad-x);
  border-bottom: 1px solid var(--rule);
}

.home-work__header {
  max-width: var(--max);
  margin: 0 auto 64px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
}

.home-work__title {
  font-family: var(--f-display);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 300;
  letter-spacing: -0.01em;
}

.home-work__see-all {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  flex-shrink: 0;
}
.home-work__see-all:hover { color: var(--ink); }
.home-work__see-all::after { content: '→'; }

/* 2-up grid */
.home-work__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

/* Project card — white bg, image + text overlay */
.project-card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  background: var(--rule-lt);
}

.project-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--rule-lt);
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.4s;
  filter: saturate(0.88);
}

.project-card:hover .project-card__image img {
  transform: scale(1.04);
  filter: saturate(1);
}

/* Placeholder when no image */
.project-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.9s var(--ease);
}
.project-card:hover .project-card__placeholder { transform: scale(1.04); }

/* Gradient overlay — now very subtle, mainly bottom fade */
.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 12, 11, 0.80) 0%,
    rgba(12, 12, 11, 0.20) 45%,
    transparent 70%
  );
}

.project-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 32px;
}

.project-card__tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.project-card__name {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 6px;
}

.project-card__desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* Arrow appear on hover */
.project-card__arrow {
  position: absolute;
  top: 20px; right: 20px;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 14px;
  opacity: 0;
  transform: translate(6px, -6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.project-card:hover .project-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── PHILOSOPHY ──────────────────────────────────────────────── */
.home-philosophy {
  padding: 120px var(--pad-x);
  border-bottom: 1px solid var(--rule);
}

.home-philosophy__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}

.home-philosophy__label {
  padding-top: 4px;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.home-philosophy__quote {
  font-family: var(--f-display);
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 32px;
  position: relative;
}

.home-philosophy__quote::before {
  content: '"';
  position: absolute;
  left: -0.5em;
  top: -0.1em;
  font-size: 1em;
  color: var(--rule);
  font-style: normal;
}

.home-philosophy__body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--stone);
  max-width: 560px;
}

/* ── CTA ─────────────────────────────────────────────────────── */
.home-cta {
  padding: 100px var(--pad-x);
}

.home-cta__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.home-cta__label {
  margin-bottom: 14px;
}

.home-cta__heading {
  font-family: var(--f-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 16px;
}

.home-cta__sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.7;
  max-width: 400px;
  margin-top: 16px;
}

.home-cta__actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.home-cta__email {
  font-family: var(--f-display);
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 300;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
  transition: border-color 0.2s;
}
.home-cta__email:hover { border-color: var(--ink); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .home-hero { padding: 12vh var(--pad-x-sm) 64px; }
  .home-hero__index { display: none; }
  .home-hero__bottom { flex-direction: column; align-items: flex-start; }
  .home-hero__meta { text-align: left; }

  .home-intro { padding: 72px var(--pad-x-sm); }
  .home-intro__inner { grid-template-columns: 1fr; gap: 24px; }
  .home-intro__label { position: static; }

  .home-work { padding: 72px var(--pad-x-sm); }
  .home-work__header { flex-direction: column; gap: 12px; align-items: flex-start; }
  .home-work__grid { grid-template-columns: 1fr; }

  .home-philosophy { padding: 72px var(--pad-x-sm); }
  .home-philosophy__inner { grid-template-columns: 1fr; gap: 24px; }
  .home-philosophy__label { position: static; }

  .home-cta { padding: 72px var(--pad-x-sm); }
  .home-cta__inner { flex-direction: column; align-items: flex-start; }
  .home-cta__actions { align-items: flex-start; }
}
