/* Concise layout (Nov 16): text-only hero, short sections */
/* hero fills the first screen, headline spans the full container */
.hero-type { min-height: calc(100vh - 61px); min-height: calc(100svh - 61px); display: flex; align-items: center; }
.hero-type .wrap { width: 100%; grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 120px; }
.hero-type h1 { font-size: clamp(44px, 7.4vw, 104px); line-height: 1; letter-spacing: -0.045em; max-width: none; margin: 0 0 24px; text-wrap: balance; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); text-decoration: none;
}
.scroll-cue svg { animation: cue 1.8s ease-in-out infinite; color: var(--accent); }
.scroll-cue:hover { color: var(--ink); }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(6px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue svg { animation: none; } }
.hero-type .lede { font-size: clamp(18px, 2.2vw, 22px); margin-bottom: 30px; }
.hero-type .meta { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); max-width: none; gap: 8px 28px; font-size: 14.5px; }
@media (max-width: 860px) { .hero-type .wrap { padding-top: 48px; padding-bottom: 104px; } }

section { padding: 64px 0; }
.sec-title { font-size: 14px; font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-ink); margin: 0 0 22px; }
.sec-head { align-items: center; margin-bottom: 22px; }

.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .grid.four { grid-template-columns: 1fr; } }
.grid.four .card h3 { font-size: 16px; margin: 0; }

.card.feature { grid-template-columns: 1.6fr 1fr; align-items: center; }
.feature-lede { margin: 0; }
.steps-row { grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 28px; margin-top: 8px; }
.steps-row li { padding-left: 36px; line-height: 26px; }
@media (max-width: 620px) { .steps-row { grid-template-columns: 1fr; } }
.feature-side { gap: 18px; }

.xp { display: grid; }
.xp > div { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.xp > div:first-child { border-top: 0; }
.xp .when { font: 500 13px var(--mono); color: var(--ink-3); }
.xp b { font-weight: 600; }
.xp span:last-child { color: var(--ink-3); font-size: 15px; text-align: right; }
@media (max-width: 620px) {
  .xp > div { grid-template-columns: 1fr; gap: 2px; }
  .xp span:last-child { text-align: left; }
}

.contact { grid-template-columns: 1fr auto; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

/* quick facts strip */
.facts { padding: 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-grid > div { padding: 28px 24px 26px 0; display: flex; flex-direction: column; gap: 4px; }
.facts-grid > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.facts-grid b { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.02em; font-weight: 700; }
.facts-grid span { font-size: 14px; color: var(--ink-3); }
@media (max-width: 760px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* icons */
.ico { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.ico svg { width: 21px; height: 21px; }
.card .top .ico { margin-right: 4px; }
.card .top { justify-content: flex-start; }
.card .top .tag { margin-left: auto; }
.grid.four .card { gap: 12px; }
.skills .card { gap: 12px; }
.skills .card h3 { margin: 0; font-size: 16px; }
.skills .card .chips { margin-top: 0; padding-top: 0; }

/* experience as a vertical timeline */
.timeline-v > div { position: relative; padding-left: 28px; border-top: 0; }
.timeline-v > div::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.timeline-v > div:first-child::before { top: 22px; }
.timeline-v > div:last-child::before { bottom: calc(100% - 22px); }
.timeline-v > div::after { content: ""; position: absolute; left: 0; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.timeline-v > div:nth-child(-n+2)::after { background: var(--accent); }
