/* The landing page: Runway's layout (hero with product shots, logo strip,
 * the problem, three steps, a ranked chart, FAQ, closing call) in Alum's own
 * look. Colours, type, buttons, cards, job cards and badges all come from
 * styles.css; this file only lays them out. */

.landing { --maroon: #861f41; --orange: #e5751f; }
.landing main { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

/* Header: brand left, section links centred, one call to action right. */
.l-nav { display: flex; gap: 28px; font-size: 15px; color: var(--muted); }
.l-nav a:hover { color: var(--ink); }
.top-cta { justify-self: end; }
.primary.small, .secondary.small { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 999px; gap: 6px; }
.primary .lucide, .secondary .lucide { width: 16px; height: 16px; }

/* Underlined accents, like Runway's, in Hokie orange. They draw themselves in
 * left to right once their section is on screen (.drawn, set by landing.js). */
.landing u {
  text-decoration: none;
  background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 100% / 0% 3px;
  padding-bottom: 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 1100ms var(--ease) 250ms;
}
.landing u.drawn { background-size: 100% 3px; }

.l-eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--maroon); }
.l-center { text-align: center; }
.l-sub { max-width: 640px; margin: 16px auto 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.l-section { max-width: var(--page); margin: 0 auto; padding: 96px 20px; }
.l-section h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -0.02em; }

/* Hero ----------------------------------------------------------------------- */

.l-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
  max-width: var(--page);
  margin: 0 auto;
  padding: 72px 20px 56px;
}
.l-badge { font-size: 13px; padding: 6px 12px; }
.l-hero h1 { margin: 20px 0 0; font-size: clamp(40px, 5.6vw, 66px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; }
.l-lede { margin: 22px 0 0; max-width: 520px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.l-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.l-ctas .primary, .l-ctas .secondary { height: 52px; padding: 0 24px; border-radius: 999px; }
.l-proof { margin: 20px 0 0; font-size: 14px; color: var(--muted); }
.l-proof b { color: var(--ink); }

/* Product shots: a browser window holding real job cards, with two floating
 * panels over it. */
.l-shots { position: relative; padding: 0 0 48px 28px; }
.l-window { border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-lift); overflow: hidden; }
.l-window-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--soft); }
.l-window-bar span { width: 10px; height: 10px; border-radius: 999px; background: var(--line); }
.l-window-bar b { margin: 0 auto; padding-right: 36px; font-size: 12px; font-weight: 500; color: var(--muted); }
.l-window-body { padding: 16px; }
.l-mini-search { height: 44px; padding: 0 14px; gap: 10px; font-size: 14px; color: var(--muted); box-shadow: none; }
.l-mini-tally { margin: 14px 2px 10px; font-size: 13px; color: var(--muted); }
.l-mini-tally b { color: var(--ink); }
.l-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; padding-top: 6px; }
.l-hero > *, .l-window { min-width: 0; }
.l-mini-grid .job { padding: 14px; gap: 8px; min-height: 0; cursor: default; box-shadow: none; }
.l-mini-grid .job:hover { box-shadow: none; }
.l-mini-grid .job h3 { font-size: 14px; }
.l-mini-grid .job-meta { font-size: 12px; }
.l-mini-grid .logo { width: 36px; height: 36px; font-size: 13px; }
.l-mini-grid .hokie { font-size: 11px; }
.l-mini-grid .save { pointer-events: none; }

.l-float { position: absolute; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-lift); }
.l-float h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.l-float .asks li { padding: 7px 0; font-size: 13px; }
.l-float-fit { left: -8px; bottom: -6px; width: min(340px, 72%); animation: rise 600ms var(--ease) 200ms both; }
.l-float-hokies { right: -18px; top: 44%; width: 220px; animation: rise 600ms var(--ease) 400ms both; }
.l-float-hokies p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.l-float-hokies .stat { margin-top: 10px; }
.l-emp-head { display: flex; align-items: center; gap: 12px; }
.l-emp-head b { display: block; font-size: 15px; }
.l-emp-head span:not(.logo) { font-size: 13px; color: var(--muted); }

/* Employer strip ---------------------------------------------------------------- */

.l-strip { padding: 40px 0 16px; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.l-strip > p { margin: 0 20px 28px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Logo slider: the track holds the list twice and slides left by half its
 * width, forever. Edges fade out. */
.l-logos { overflow: hidden; padding-bottom: 24px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.l-marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.l-dup { display: contents; }
@keyframes marquee { to { transform: translateX(-50%); } }
.l-logo { display: inline-flex; align-items: center; height: 96px; padding: 0 44px; white-space: nowrap; }
.l-logo img { display: block; height: calc(var(--h) * 1px); width: auto; filter: grayscale(1); opacity: 0.6; transition: filter 300ms ease, opacity 300ms ease; }
.l-logo:hover img { filter: none; opacity: 1; }
.l-wordmark { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); opacity: 0.6; }

/* The problem ------------------------------------------------------------------- */

.l-pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 48px 0 0; text-align: left; }
.l-pain { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.l-pain .lucide { width: 24px; height: 24px; color: var(--maroon); }
.l-pain p { margin: 14px 0 0; color: var(--muted); line-height: 1.5; }
.l-pain b { color: var(--ink); font-weight: 600; }
.l-punch { margin: 56px 0 0; font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -0.01em; }

/* How it works ------------------------------------------------------------------ */

.l-how { border-top: 1px solid var(--line); }
.l-step { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 88px; }
.l-step.flip .l-step-text { order: 2; }
.l-step h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.02em; }
.l-step-text > p:not(.l-eyebrow) { margin: 16px 0 24px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.l-step-text b { color: var(--ink); font-weight: 600; }
.l-step-shot .card { margin: 0; box-shadow: var(--shadow-lift); }

.l-sync-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.l-sync-head span { font-size: 13px; color: var(--good); font-weight: 500; }
.l-sync-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.l-sync-row:last-of-type { border-bottom: 0; }
.l-sync-row .logo { width: 32px; height: 32px; font-size: 12px; }
.l-sync-row b { font-weight: 500; }
.l-sync-row span:not(.logo) { font-size: 13px; color: var(--muted); }
.l-sync-row .lucide { color: var(--good); }

.l-profile .chips { gap: 8px; }
.l-profile .chip { cursor: default; height: 36px; font-size: 13px; }
.l-filtered { margin: 18px 0 6px; padding: 10px 14px; border-radius: 12px; background: var(--soft); font-size: 14px; color: var(--muted); }
.l-filtered b { color: var(--ink); font-weight: 600; }

.l-employer .pills { margin: 18px 0 8px; }
.l-radar { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
.l-radar b { display: block; font-size: 14px; font-weight: 600; }
.l-radar span:not(.logo) { font-size: 13px; color: var(--muted); }

/* Where Hokies land: ranked bars ------------------------------------------------- */

.l-bars { max-width: 820px; margin: 40px auto 32px; text-align: left; }
.l-bar { display: grid; grid-template-columns: 220px 1fr 48px; align-items: center; gap: 16px; padding: 10px 0; }
.l-bar-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.l-bar-name b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-bar-name .logo { width: 30px; height: 30px; font-size: 11px; }
.l-bar-track { height: 12px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.l-bar-fill { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--maroon); transition: width 900ms var(--ease) var(--d); }
.l-bars.in .l-bar-fill { width: var(--w); }
.l-bar:first-child .l-bar-fill { background: var(--orange); }
.l-bar-n { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.l-bars .fine-inline { margin-top: 14px; }

/* FAQ ------------------------------------------------------------------------------ */

.l-faq { max-width: 760px; }
.l-faq .l-center { margin-bottom: 32px; }
.l-faq details { border-bottom: 1px solid var(--line); }
.l-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 500; cursor: pointer; list-style: none; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--muted); transition: transform 200ms var(--ease); }
.l-faq details[open] summary::after { transform: rotate(45deg); }
.l-faq details p { margin: -4px 0 22px; color: var(--muted); line-height: 1.6; }

/* Closing + footer -------------------------------------------------------------------- */

.l-final { margin: 0; padding: 64px 24px; text-align: center; background: var(--soft); }
.l-final p { margin: 12px 0 28px; color: var(--muted); font-size: 17px; }
.l-final .primary { height: 52px; border-radius: 999px; }
.l-foot { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; max-width: var(--page); margin: 0 auto; padding: 32px 20px 48px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.l-foot .brand img { width: 26px; height: 27px; }
.l-foot .brand span { font-size: 20px; }
.l-foot p { margin: 0; }
.l-foot a#source { text-decoration: underline; }
.l-foot nav { display: flex; gap: 20px; }
.l-foot nav a:hover { color: var(--ink); }

/* Motion ------------------------------------------------------------------------------ */

/* Hero: the copy rises in on load, a beat apart. */
.l-hero-text > * { animation: rise 800ms var(--ease) both; }
.l-hero-text > :nth-child(2) { animation-delay: 80ms; }
.l-hero-text > :nth-child(3) { animation-delay: 160ms; }
.l-hero-text > :nth-child(4) { animation-delay: 240ms; }
.l-hero-text > :nth-child(5) { animation-delay: 320ms; }
.l-window { animation: rise 900ms var(--ease) 150ms both; }

/* The floating panels drift, each on its own beat. */
@keyframes drift { 50% { translate: 0 -10px; } }
.l-float-fit { animation: rise 600ms var(--ease) 500ms both, drift 7s ease-in-out 1.2s infinite; }
.l-float-hokies { animation: rise 600ms var(--ease) 700ms both, drift 8s ease-in-out 2s infinite; }

/* The product window leans toward the cursor (desktop; --rx/--ry from landing.js). */
.l-shots { perspective: 1400px; }
.l-window, .l-float { transition: transform 600ms var(--ease); }
.l-window { transform: rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg)); }
.l-float-fit { transform: translate3d(calc(var(--ry, 0) * -3px), calc(var(--rx, 0) * 3px), 0); }
.l-float-hokies { transform: translate3d(calc(var(--ry, 0) * 4px), calc(var(--rx, 0) * -4px), 0); }

/* A new internship sliding into the mock board. */
@keyframes slideIn { from { opacity: 0; transform: translateY(-18px) scale(0.97); } }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(229, 117, 31, 0.45); } 100% { box-shadow: 0 0 0 10px rgba(229, 117, 31, 0); } }
.l-mini-grid .job.incoming { animation: slideIn 650ms var(--ease) both, glow 1.4s ease-out 300ms; border-color: var(--orange); }
.l-mini-grid .job .just-in { position: absolute; top: -9px; left: 12px; padding: 2px 8px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.l-mini-grid .job { position: relative; transition: border-color 1.2s ease; }

/* Sections fade up as they scroll in; landing.js sets --rd for a stagger. */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); transition-delay: var(--rd, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* Problem cards lift under the cursor. */
/* (.settled: added once the fade-in ends, so the quick hover transition
 * doesn't cut the staggered entrance short.) */
.l-pain.settled { transition: transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.l-pain.settled:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.l-pain .lucide { transition: transform 400ms var(--ease); }
.l-pain:hover .lucide { transform: rotate(-12deg) scale(1.12); }

/* Step 1: a sweep down the career sites, one "checking" at a time. */
.l-sync-row .lucide { transition: transform 300ms var(--ease), opacity 300ms ease; }
.l-sync-row.checking .lucide { opacity: 0.25; transform: scale(0.7); }
.l-sync-row.checking span:not(.logo) { color: var(--ink); }
.l-sync-row.done .lucide { animation: pop 450ms var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } }
.l-sync-row { transition: background 400ms ease; border-radius: 10px; }
.l-sync-row.checking { background: var(--soft); }

/* Step 2: the fine print checks off row by row. */
.l-step-shot .asks li { opacity: 0; transform: translateX(-10px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); transition-delay: var(--rd, 0ms); }
.l-step-shot.in .asks li, .l-step-shot:not(.reveal) .asks li { opacity: 1; transform: none; }
.l-step-shot.in .asks li .lucide { animation: pop 450ms var(--ease) both; animation-delay: var(--rd, 0ms); }

/* Buttons nudge their arrow. */
.primary .lucide, .secondary .lucide { transition: transform 250ms var(--ease); }
.primary:hover .lucide, .secondary:hover .lucide { transform: translateX(3px); }

/* Narrower screens ---------------------------------------------------------------------- */

@media (max-width: 980px) {
  .l-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .l-shots { padding: 0 0 72px; }
  .l-float-hokies { right: -6px; top: auto; bottom: 120px; }
  .l-pains { grid-template-columns: 1fr 1fr; }
  .l-step, .l-step.flip { grid-template-columns: 1fr; gap: 32px; margin-top: 64px; }
  .l-step.flip .l-step-text { order: 0; }
}
@media (max-width: 720px) {
  .top { grid-template-columns: 1fr auto; }
  .l-nav { display: none; }
  .landing .brand img { width: 30px; height: 31px; }
  .landing .brand span { font-size: 24px; }
  .l-section { padding: 64px 16px; }
  .l-hero { padding: 36px 16px 32px; }
  .l-mini-grid { grid-template-columns: minmax(0, 1fr); }
  .l-mini-grid .job:nth-child(n + 3) { display: none; }
  .l-float-fit { position: relative; left: 0; bottom: 0; width: 100%; margin-top: -24px; }
  .l-float-hokies { display: none; }
  .l-shots { padding: 0; }
  .l-pains { grid-template-columns: 1fr; }
  .l-bar { grid-template-columns: 130px 1fr 36px; gap: 10px; }
  .l-logo { height: 64px; padding: 0 26px; }
  .l-logo img { height: calc(var(--h) * 0.62px); }
  .l-wordmark { font-size: 22px; }
  .l-marquee-track { animation-duration: 36s; }
  .l-bar-name .logo { display: none; }
  .l-foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .l-hero-text > *, .l-window, .l-float-fit, .l-float-hokies, .l-mini-grid .job.incoming { animation: none; }
  .reveal, .l-step-shot .asks li { opacity: 1; transform: none; transition: none; }
  .l-window, .l-float-fit, .l-float-hokies { transform: none; }
  .landing u { transition: none; background-size: 100% 3px; }
  .l-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 16px; }
  .l-dup { display: none; }
  .l-bar-fill { transition: none; }
  .l-float-fit, .l-float-hokies { animation: none; }
}
