/* =========================================================
   Home page — hero, work grid, about, contact
   ========================================================= */

/* ---------- Hero ---------- */
.hero {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 80px var(--gutter) 64px;
}
.hero__eyebrow { margin-bottom: 32px; display: flex; align-items: center; gap: 10px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}
.hero__title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.91;
  letter-spacing: -0.04em;
  color: #1A1615;
}
.hero__title-dot { color: var(--accent); }
.hero__desc {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-secondary);
}
.hero-meta { display: flex; gap: 64px; flex-wrap: wrap; }
.hero__meta-label {
  font-family: var(--font-accent);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.hero__meta-value { font-size: 14.5px; font-weight: 600; line-height: 1.4; }

/* ---------- Selected work ---------- */
.work {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter) 80px;
}
.work__heading {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 24px;
}
.work__heading h2 {
  margin: 0;
  font-size: 12px;
  font-family: var(--font-accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Featured card */
.feat-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--dark-deeper);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 16px;
  min-height: 460px;
}
.feat-content {
  padding: 52px 52px 48px;
  display: flex; flex-direction: column; justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}
.feat-content__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.feat-content__title {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900; letter-spacing: -0.035em;
  color: var(--bg);
  line-height: 1.0;
}
.feat-content__desc {
  margin: 0 0 36px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(244, 241, 234, 0.55);
  max-width: 40ch;
}
.feat-image {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  overflow: hidden;
  background: var(--dark-deeper);
}
.feat-image__wrap {
  width: 100%; height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #EDE5D4;
}
.feat-image__wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 2×2 project grid */
.work-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.proj-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.proj-card__media { height: 280px; overflow: hidden; position: relative; }
.proj-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.proj-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(251, 250, 246, 0.85) 100%);
  pointer-events: none;
}
.proj-card__body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex; flex-direction: column; justify-content: space-between;
}
.proj-card__title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.proj-card__desc {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-secondary);
}
.proj-card__footer { display: flex; align-items: center; justify-content: space-between; }
.proj-card__tag {
  font-family: var(--font-accent);
  font-size: 11px;
  color: var(--ink-muted);
  background: var(--bg-warm);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}

/* ---------- About (light) ---------- */
.about {
  background: var(--bg);
  color: var(--ink);
}
.about__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 96px var(--gutter);
}
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.about-photo-col {}
.about__photo {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #E8E5DE;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about__actions { margin-top: 20px; display: flex; gap: 16px; flex-wrap: wrap; }
.about__resume {
  color: var(--ink-secondary);
  border-color: var(--border-strong);
  font-size: 12px;
  padding: 9px 16px 9px 18px;
}
.about__resume .ext-pill__arrow {
  background: var(--bg-warm);
  width: 24px; height: 24px;
  font-size: 12px;
}
.about__eyebrow {
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 28px;
}
.about__heading {
  margin: 0 0 24px;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 700;
  max-width: 22ch;
}
.about__body p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-secondary);
  max-width: 70ch;
}
.about__body p:last-of-type { margin-bottom: 48px; }
.about-skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.about__skills-label {
  font-family: var(--font-accent);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.about__skills-list {
  font-size: 15px; line-height: 2;
  color: var(--ink-secondary);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero {
    padding-left: 24px; padding-right: 24px;
    padding-top: 56px; padding-bottom: 48px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }
  .work { padding-left: 24px; padding-right: 24px; }
  .feat-card { grid-template-columns: 1fr; min-height: 0; }
  .feat-content {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .work-grid-2 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo-col { max-width: 280px; margin: 0 auto; }
  .about__inner {
    padding-left: 24px; padding-right: 24px;
    padding-top: 64px; padding-bottom: 64px;
  }
}
@media (max-width: 640px) {
  .hero {
    padding-left: 18px; padding-right: 18px;
    padding-top: 40px;
  }
  .hero-meta { gap: 20px 32px; }
  .work { padding-left: 18px; padding-right: 18px; }
  .feat-content { padding: 32px 24px 28px; }
  .about__inner {
    padding-left: 18px; padding-right: 18px;
    padding-top: 48px; padding-bottom: 48px;
  }
  .about-skills-grid { grid-template-columns: 1fr; gap: 24px; }
}
