/* =====================================================================
   Home page — Emin Style v1.2 (2026-11-25). Loaded by index.html only,
   after v2.css (shared type, buttons, cards, network band, motion).
   Page-specific classes carry the hm- prefix.
   ===================================================================== */

.hm-pillar, .hm-post, .hm-satellite { color: inherit; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .js .hm-name span { transform: none !important; animation: none !important; } }
/* ---------- hero ---------- */
.hm-hero { padding: 64px 0 76px; }
.hm-name { font-size: clamp(54px, 11.6vw, 160px); font-weight: 500; line-height: .88; letter-spacing: -.045em; margin: 24px 0 0 -.04em; white-space: nowrap; overflow: hidden; padding: .06em 0 .04em; }
.hm-name span { display: inline-block; }
.js .hm-name span { transform: translateY(105%); animation: hm-rise 1s cubic-bezier(.2,.7,.2,1) .1s forwards; }
.js .hm-name span + span { animation-delay: .22s; }
@keyframes hm-rise { to { transform: none; } }
.hm-hero__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) 296px; gap: 56px; align-items: start; margin-top: 40px; }
.hm-tagline { font-family: var(--ek-font-prose); font-size: clamp(28px, 2.7vw, 40px); line-height: 1.12; letter-spacing: -.012em; color: var(--ek-ink); text-wrap: balance; }
.hm-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hm-hero__lede { font-family: var(--ek-font-prose); font-size: 19px; line-height: 1.52; color: var(--ek-ink-2); }
.hm-hero__lede b { font-weight: 600; color: var(--ek-ink); }
.hm-portrait-wrap { position: relative; justify-self: end; }
.hm-portrait { width: 296px; height: 296px; border-radius: 50%; object-fit: cover; }
.hm-satellite { color: var(--ek-ink); position: absolute; right: -6px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: var(--ek-paper-lifted); box-shadow: var(--ek-shadow-float); display: inline-flex; align-items: center; justify-content: center; transition: background .16s var(--ek-ease), color .16s var(--ek-ease); }
.hm-satellite:hover { background: var(--ek-coral-700); color: var(--ek-paper); }

/* ---------- pillars ---------- */
.hm-pillars { padding: 132px 0 104px; }
.hm-pillars__head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 72px; }
.hm-pillars__head .v2-h2 { margin-top: 22px; }
.hm-pillars__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.hm-pillar { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 34px 0 56px; }
.hm-pillar .hm-rule { position: absolute; left: 0; right: 0; top: 0; height: 1.5px; background: var(--ek-ink); }
.hm-pillar .hm-rule::after { content: ''; position: absolute; inset: -1px 0; background: var(--ek-coral-600); transform: scaleX(0); transform-origin: left center; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.hm-pillar:hover .hm-rule::after { transform: scaleX(1); }
.hm-pillar__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hm-pillar__go { width: 44px; height: 44px; border-radius: 50%; background: var(--ek-paper-lifted); box-shadow: 0 8px 18px rgba(22,21,15,.07); display: inline-flex; align-items: center; justify-content: center; transition: background .18s var(--ek-ease), color .18s var(--ek-ease), transform .3s cubic-bezier(.2,.7,.2,1); }
.hm-pillar:hover .hm-pillar__go { background: var(--ek-coral-700); color: var(--ek-paper); transform: translate(3px, -3px); }
.hm-pillar h3 { font-size: clamp(28px, 2.7vw, 40px); font-weight: 500; letter-spacing: -.026em; line-height: 1.06; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.hm-pillar:hover h3 { transform: translateX(8px); }
.hm-pillar p { font-size: 17px; line-height: 1.55; color: var(--ek-ink-2); max-width: 33em; }

/* ---------- featured work ---------- */
.hm-work { padding: 40px 0 72px; }
.hm-work__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.hm-work__head .v2-h2 { margin-top: 22px; }
.hm-work__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; }
.hm-work__side { display: grid; gap: 24px; align-content: stretch; }

/* ---------- stats ---------- */
.hm-stats { padding: 72px 0 96px; }
.hm-stats__row { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 56px 0; }
.hm-stats__row .hm-rule { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ek-ink); }
.hm-stats__row .hm-rule--t { top: 0; } .hm-stats__row .hm-rule--b { bottom: 0; }
.hm-stat { display: flex; flex-direction: column; gap: 18px; }
.hm-stat + .hm-stat { padding-left: 32px; border-left: 1px solid rgba(22,21,15,.16); }
.hm-stat strong { font-size: clamp(54px, 6.5vw, 100px); font-weight: 500; letter-spacing: -.04em; line-height: .9; }
.hm-stat--hero strong { color: var(--ek-coral-600); }
.hm-stat > span { font-family: var(--ek-font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.45; color: var(--ek-ink-muted); max-width: 22ch; }

/* ---------- writing ---------- */
.hm-writing { padding: 40px 0 120px; }
.hm-writing__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.hm-writing__head .v2-h2 { margin-top: 22px; }
.hm-post { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 32px; align-items: start; padding: 30px 0; border-top: 1px solid rgba(22,21,15,.16); }
.hm-post:last-child { border-bottom: 1px solid rgba(22,21,15,.16); }
.hm-post__date { font-family: var(--ek-font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ek-ink-muted); padding-top: 8px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.hm-tag { font-family: var(--ek-font-mono); font-size: 11px; letter-spacing: .06em; padding: 4px 8px; border-radius: 6px; background: var(--ek-paper-sunken); color: var(--ek-ink-muted); }
.hm-post h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; transition: color .18s var(--ek-ease), transform .3s cubic-bezier(.2,.7,.2,1); }
.hm-post p { font-size: 17px; line-height: 1.5; color: var(--ek-ink-2); margin-top: 10px; max-width: 42em; }
.hm-post__go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(22,21,15,.5); display: inline-flex; align-items: center; justify-content: center; transition: background .18s var(--ek-ease), color .18s var(--ek-ease), border-color .18s var(--ek-ease); }
.hm-post:hover h3 { color: var(--ek-coral-700); transform: translateX(8px); }
.hm-post:hover .hm-post__go { background: var(--ek-coral-700); border-color: var(--ek-coral-700); color: var(--ek-paper); }

/* ---------- small screens ---------- */
@media (max-width: 980px) {
  .hm-hero { padding: 40px 0 56px; }
  .hm-hero__row { grid-template-columns: 1fr; gap: 28px; }
  .hm-portrait-wrap { justify-self: start; order: -1; }
  .hm-portrait { width: 200px; height: 200px; }
  .hm-pillars { padding: 80px 0 56px; }
  .hm-pillars__head, .hm-pillars__grid, .hm-work__grid { grid-template-columns: 1fr; gap: 28px; }
  .hm-pillars__grid { gap: 0; }
  .hm-stats__row { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .hm-stat + .hm-stat { padding-left: 0; border-left: 0; }
  .hm-post { grid-template-columns: 1fr; gap: 12px; }
  .hm-post__date { flex-direction: row; align-items: center; padding-top: 0; }
  .hm-post__go { display: none; }
}
