/* ═══════════════════════════════════════════
   Home — page-specific sections only.
   Requires tokens.css + base.css loaded first.
   ═══════════════════════════════════════════ */

/* nav position (fixed) is inherited from base.css — shared across all pages */

/* ── Honest beat ── */
.currently {
  margin-top: 1.6rem; padding-left: 1rem; border-left: 2px solid var(--border);
  font-size: 0.9rem; line-height: 1.55; color: var(--muted);
}
.currently .lbl { display: block; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); opacity: 0.55; margin-bottom: 0.3rem; }
.currently em { font-style: italic; color: var(--text); }

/* ── Hero ── */
.hero { min-height: 90vh; display: flex; flex-direction: column; justify-content: center; padding-top: 5rem; }
.hero .wrap { width: 100%; }
.hero .eyebrow { opacity: 0; transform: translateY(12px); animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.1s forwards; }
.hero .name {
  font-family: 'Playfair Display', serif; font-weight: 400;
  font-size: clamp(2.8rem, 9vw, 5rem); line-height: 1.04; letter-spacing: -0.02em;
  margin-bottom: 1.8rem; opacity: 0; transform: translateY(12px);
  animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.15s forwards;
}
.hero .name em { font-style: italic; color: var(--muted); display: inline-block; transition: color 0.4s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1); }
.hero .name:hover em { color: var(--text); transform: translateX(4px); }
.hero-divider { width: 0; height: 1px; background: var(--border); margin: 0 0 1.8rem; animation: expandLine 0.9s cubic-bezier(0.16,1,0.3,1) 0.42s forwards; }
@keyframes expandLine { to { width: 2.5rem; } }
.hero .tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem); font-weight: 300; line-height: 1.6;
  max-width: 38ch; margin-bottom: 0.9rem; opacity: 0; transform: translateY(12px);
  animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.5s forwards;
}
.hero .tagline em { font-style: italic; }
.hero .tagline strong { font-weight: 500; }
.hero .sub { font-size: 0.9rem; color: var(--muted); max-width: 46ch; margin-bottom: 2.4rem; opacity: 0; transform: translateY(12px); animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.5s forwards; }
.hero .links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; opacity: 0; transform: translateY(12px); animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.74s forwards; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); filter: blur(6px); }
  30%  { filter: blur(0); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero-cta { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-bottom: 1.4rem; opacity: 0; transform: translateY(12px); animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.74s forwards; }

/* ── Proof chip ── */
.proof {
  display: inline-flex; align-items: flex-start; gap: 0.55rem;
  font-size: 0.8rem; color: var(--muted); text-decoration: none;
  margin-bottom: 2.2rem; opacity: 0; transform: translateY(12px);
  animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.74s forwards;
}
@media (pointer: fine) { .proof { cursor: none; } }
.proof .tick { color: var(--text); }
.proof .swipe { position: relative; color: var(--text); padding-bottom: 1px; }
.proof .swipe::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--text); transform-origin: left; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1); }
.proof:hover .swipe::after { transform-origin: right; transform: scaleX(0); }
/* Touch / narrow: hover can't fire and the absolute ::after underline can't
   span wrapped lines — use a real underline that follows the text instead. */
@media (hover: none), (max-width: 600px) {
  .proof .swipe { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
  .proof .swipe::after { content: none; }
}

/* ── Build-in-public band ── */
.band { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (max-width: 640px) { .band .grid { grid-template-columns: 1fr; } }
.band p.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); line-height: 1.6; margin-bottom: 1.2rem; }
.band p.lead strong { font-weight: 500; }
.band .note { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.6rem; }
.video-card { display: block; text-decoration: none; color: inherit; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); position: relative; transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease; }
@media (pointer: fine) { .video-card { cursor: none; } }
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.video-thumb { position: relative; aspect-ratio: 16/9; background: var(--card) center/cover no-repeat; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-thumb .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-thumb .play span { width: 54px; height: 54px; border-radius: 50%; background: var(--play-bg); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-play); }
.video-meta { padding: 0.9rem 1.1rem; }
.video-meta .k { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.video-meta .ttl { font-size: 0.92rem; margin-top: 0.3rem; line-height: 1.35; }

/* ── Section heading ── */
.sec-head { font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.sec-intro { font-size: 0.95rem; color: var(--muted); max-width: 52ch; margin-bottom: 2.8rem; }

/* ── Culture photos ── */
.culture-photos { margin: 0 0 1.8rem; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm); }
.culture-photos img { width: 100%; height: auto; display: block; }
.culture-more { font-size: 0.92rem; color: var(--muted); }

/* ── Work cards ── */
.work-list { display: flex; flex-direction: column; }
.work {
  display: block; text-decoration: none; color: inherit;
  padding: 2rem 0; border-top: 1px solid var(--border);
  position: relative;
}
@media (pointer: fine) { .work { cursor: none; } }
.work:last-child { border-bottom: 1px solid var(--border); }
.work > * { position: relative; z-index: 1; }
/* Hover: soft gray highlight with breathing room around the row */
.work::before {
  content: ''; position: absolute; inset: 0.55rem -1.4rem; z-index: 0;
  background: color-mix(in srgb, var(--text) 6%, transparent);
  border-radius: 14px; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.work:hover::before { opacity: 1; }
.work-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.work-title { font-family: 'Playfair Display', serif; font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; }
.work-title .arrow { display: inline-block; margin-left: 0.4rem; opacity: 0; transform: translateX(-6px); transition: opacity 0.35s ease, transform 0.35s ease; font-style: normal; }
.work:hover .work-title .arrow { opacity: 0.55; transform: translateX(0); }
.work-role { flex-shrink: 0; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; padding-top: 0.4rem; }
@media (max-width: 600px) {
  .work-top { flex-direction: column; gap: 0.45rem; }
  .work-role { order: -1; padding-top: 0; }
}
.work-desc { font-size: 0.92rem; color: var(--muted); margin-top: 0.7rem; max-width: 60ch; }
.work-metrics { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1rem; }
.metric { font-size: 0.78rem; color: var(--text); }
.metric b { font-weight: 500; }
.metric .label { color: var(--muted); }

/* ── Beyond Design grid ── */
.bd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 560px) { .bd-grid { grid-template-columns: 1fr; } }
.bd-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 1.4rem 1.5rem; transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease, border-color 0.4s ease;
}
@media (pointer: fine) { .bd-card { cursor: none; } }
.bd-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--border-hover); }
.bd-tag { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.bd-name { font-size: 1rem; font-weight: 400; margin-top: 0.55rem; line-height: 1.35; }
.bd-desc { font-size: 0.84rem; color: var(--muted); margin-top: 0.45rem; }

/* ── Experience timeline ── */
.xp { border-top: 1px solid var(--border); padding: 1.6rem 0; }
.xp:last-child { border-bottom: 1px solid var(--border); }
.xp-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.xp-role { font-size: 1.02rem; font-weight: 500; }
.xp-co { color: var(--muted); font-weight: 300; }
.xp-date { font-size: 0.74rem; letter-spacing: 0.05em; color: var(--muted); white-space: nowrap; }
.xp-desc { font-size: 0.9rem; color: var(--muted); margin-top: 0.55rem; max-width: 64ch; }
.xp-more { font-size: 0.78rem; color: var(--muted); margin-top: 0.7rem; padding-left: 1rem; border-left: 1px solid var(--border); }

/* ── Contact ── */
.contact .sec-head { margin-bottom: 1.4rem; }
.contact-row { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin-bottom: 2rem; }
.contact-item { font-size: 0.95rem; }
.contact-item .label { display: block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
