/* lancemulu.com — shared styles for every page */
:root {
  --ink:      #182420;
  --pine:     #223730;
  --paper:    #F6F1E6;
  --paper-2:  #EFE8D8;
  --card:     #FDFBF5;
  --marigold: #F5B70A;
  --hibiscus: #C6432E;
  --stone:    #6F695A;
  --border:   #E2DAC6;
  --line:     rgba(24,36,32,0.14);
  --line-inv: rgba(246,241,230,0.16);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:84px; }
body { font-family:'DM Sans', sans-serif; background:var(--paper); color:var(--ink); overflow-x:hidden; -webkit-font-smoothing:antialiased; }
img { max-width:100%; display:block; }
[hidden] { display:none !important; }
::selection { background:var(--marigold); color:var(--ink); }

h1, h2, h3 { font-family:'Bricolage Grotesque', sans-serif; font-weight:800; letter-spacing:-0.02em; line-height:1.04; }
h2 { font-size:clamp(32px, 4.4vw, 54px); margin-bottom:24px; max-width:15em; }
.mono { font-family:'IBM Plex Mono', monospace; font-size:12px; font-weight:500; letter-spacing:0.18em; text-transform:uppercase; }
.eyebrow { color:var(--hibiscus); display:block; margin-bottom:24px; }
.ink .eyebrow { color:var(--marigold); }
.dot { color:var(--marigold); }
.lede { font-size:18px; font-weight:300; line-height:1.75; color:var(--stone); max-width:600px; }
.ink .lede { color:rgba(246,241,230,0.65); }

.container { max-width:1160px; margin:0 auto; padding:0 32px; }
.narrow { max-width:780px; }
@media (max-width:640px){ .container { padding:0 20px; } }

section { padding:104px 0; }
@media (max-width:760px){ section { padding:72px 0; } }
.ink { background:var(--ink); color:var(--paper); }

/* ── Buttons ── */
.btn { display:inline-block; font-family:'DM Sans', sans-serif; font-size:15px; font-weight:700; padding:17px 30px; text-decoration:none; border:2px solid var(--ink); cursor:pointer; transition:background .2s, color .2s, transform .2s, border-color .2s; }
.btn-ink { background:var(--ink); color:var(--paper); }
.btn-ink:hover { background:var(--marigold); border-color:var(--marigold); color:var(--ink); transform:translateY(-2px); }
.btn-ghost { background:transparent; color:var(--ink); }
.btn-ghost:hover { background:var(--ink); color:var(--paper); transform:translateY(-2px); }
.btn-gold { background:var(--marigold); border-color:var(--marigold); color:var(--ink); }
.btn-gold:hover { background:var(--paper); border-color:var(--paper); transform:translateY(-2px); }
.btn:disabled { opacity:.6; cursor:wait; transform:none; }
.btn-row { display:flex; gap:16px; flex-wrap:wrap; }

/* ── Motion (one-time, and off for reduced motion) ── */
.reveal { opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:none; }
.hero-in { opacity:0; transform:translateY(16px); animation:heroIn .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay:calc(var(--d, 0) * 110ms + 60ms); }
@keyframes heroIn { to { opacity:1; transform:none; } }

/* ── Nav ── */
.site-nav { position:fixed; top:0; left:0; right:0; z-index:100; height:68px; display:flex; align-items:center; background:rgba(246,241,230,0.92); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.nav-inner { width:100%; max-width:1160px; margin:0 auto; padding:0 32px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
@media (max-width:640px){ .nav-inner { padding:0 20px; } }
.nav-logo { font-family:'Bricolage Grotesque', sans-serif; font-size:23px; font-weight:600; letter-spacing:-0.02em; color:var(--ink); text-decoration:none; white-space:nowrap; }
.nav-logo b { font-weight:800; }
.nav-links { display:flex; gap:30px; align-items:center; list-style:none; }
.nav-links a { font-size:13.5px; font-weight:500; letter-spacing:0.04em; color:var(--ink); opacity:0.65; text-decoration:none; transition:opacity .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity:1; }
.nav-links a[aria-current="page"] { text-decoration:underline; text-decoration-color:var(--marigold); text-decoration-thickness:2px; text-underline-offset:6px; }
.nav-links .nav-cta { opacity:1; background:var(--ink); color:var(--paper); padding:11px 20px; font-weight:700; white-space:nowrap; transition:background .2s, color .2s; }
.nav-links .nav-cta:hover { background:var(--marigold); color:var(--ink); }
@media (max-width:560px){
  .nav-links { gap:16px; }
  .nav-links a { font-size:13px; }
  .nav-links .nav-cta { display:none; }
}

/* ── Page header (About, Contact, legal) ── */
.page-head { padding:168px 0 64px; }
.page-head h1 { font-size:clamp(42px, 6vw, 80px); max-width:12em; margin-bottom:24px; }
@media (max-width:760px){ .page-head { padding:128px 0 44px; } }

/* ── Career route (the dotted line with stops) ── */
.route { position:relative; display:grid; grid-template-columns:repeat(5, 1fr); gap:18px; margin-top:64px; }
.route::before { content:''; position:absolute; top:27px; left:6%; right:6%; border-top:3px dotted rgba(24,36,32,0.28); clip-path:inset(0 100% 0 0); transition:clip-path 1.8s cubic-bezier(.6,.1,.2,1) .2s; }
.route.visible::before { clip-path:inset(0 0 0 0); }
.stop { position:relative; }
.stop-marker { width:56px; height:56px; border-radius:50%; background:var(--paper); border:3px solid rgba(24,36,32,0.22); color:rgba(24,36,32,0.3); display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono', monospace; font-weight:600; font-size:15px; margin-bottom:22px; transition:background .35s, border-color .35s, color .35s; transition-delay:calc(var(--i) * 300ms + 300ms); }
.route.visible .stop-marker { border-color:var(--ink); color:var(--ink); }
.route.visible .stop.now .stop-marker { background:var(--marigold); }
.stop .mono { font-size:10.5px; color:var(--hibiscus); display:block; margin-bottom:8px; }
.stop h3 { font-size:19px; line-height:1.2; margin-bottom:8px; }
.stop p { font-size:14.5px; font-weight:300; line-height:1.6; color:var(--stone); }
@media (max-width:900px){
  .route { grid-template-columns:1fr; gap:0; }
  .route::before { display:none; }
  .stop { display:grid; grid-template-columns:56px 1fr; gap:0 22px; padding:22px 0; border-bottom:1px solid var(--line); }
  .stop-marker { grid-row:1 / span 3; margin-bottom:0; }
  .stop:not(:last-child)::after { content:''; position:absolute; left:27px; top:78px; bottom:-22px; border-left:3px dotted rgba(24,36,32,0.25); }
}

/* ── Forms ── */
.form-card { background:var(--card); border:1px solid var(--line); border-top:4px solid var(--marigold); padding:38px 36px; color:var(--ink); }
@media (max-width:520px){ .form-card { padding:28px 22px; } }
.form-card h2, .form-card h3 { font-size:28px; margin-bottom:10px; }
.form-card > p { font-size:15.5px; line-height:1.7; color:var(--stone); margin-bottom:24px; }
.fgrid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.fgrid .full { grid-column:1 / -1; }
@media (max-width:520px){ .fgrid { grid-template-columns:1fr; } }
.fgrid label { display:block; font-family:'IBM Plex Mono', monospace; font-size:10.5px; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; margin-bottom:7px; }
.fgrid input, .fgrid textarea { width:100%; font:inherit; font-size:15px; color:var(--ink); background:var(--paper); border:1.5px solid var(--border); border-radius:0; padding:14px 15px; outline:none; -webkit-appearance:none; appearance:none; transition:border-color .2s, box-shadow .2s; }
.fgrid textarea { min-height:150px; resize:vertical; }
.fgrid input:focus, .fgrid textarea:focus { border-color:var(--ink); box-shadow:0 0 0 3px rgba(245,183,10,0.28); }
.fgrid .btn { width:100%; }
.hp { position:absolute; left:-9999px; }
.form-fine { font-size:12.5px; color:var(--stone); }
.form-fine a { color:inherit; }
.form-error { display:none; font-size:14px; font-weight:600; color:var(--hibiscus); }
.form-error.show { display:block; }
.form-done { display:none; padding:12px 0 4px; }
.form-done.show { display:block; animation:heroIn .5s ease forwards; }
.tick { width:52px; height:52px; border-radius:50%; background:var(--marigold); border:2px solid var(--ink); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:22px; margin-bottom:16px; }
.form-done h3 { font-size:24px; margin-bottom:8px; }
.form-done p { font-size:15.5px; line-height:1.7; color:var(--stone); }

/* ── Footer ── */
.site-footer { background:var(--ink); color:var(--paper); padding:64px 0 40px; border-top:1px solid var(--line-inv); }
.footer-grid { display:flex; justify-content:space-between; align-items:flex-start; gap:32px; flex-wrap:wrap; padding-bottom:36px; border-bottom:1px solid var(--line-inv); }
.footer-logo { font-family:'Bricolage Grotesque', sans-serif; font-size:26px; font-weight:600; }
.footer-logo b { font-weight:800; }
.footer-links { display:flex; gap:12px 28px; list-style:none; flex-wrap:wrap; }
.footer-links a { font-size:13.5px; color:rgba(246,241,230,0.6); text-decoration:none; transition:color .2s; }
.footer-links a:hover { color:var(--marigold); }
.footer-fine { padding-top:28px; font-size:12.5px; line-height:1.8; color:rgba(246,241,230,0.42); max-width:720px; }

/* ── Legal pages ── */
.legal { padding:8px 0 96px; }
.legal section { padding:30px 0 6px; border-top:1px solid var(--line); }
.legal h2 { font-size:24px; margin-bottom:14px; }
.legal p, .legal li { font-size:16px; line-height:1.8; color:#3D3A30; }
.legal p { margin-bottom:14px; }
.legal ul { list-style:none; margin-bottom:16px; }
.legal li { position:relative; padding:4px 0 4px 24px; }
.legal li::before { content:''; position:absolute; left:2px; top:14px; width:8px; height:8px; border-radius:50%; background:var(--marigold); border:1.5px solid var(--ink); }
.legal a { color:var(--ink); }
.updated { margin-top:14px; color:var(--stone); font-size:11.5px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .reveal, .hero-in, .form-done.show { opacity:1; transform:none; transition:none; animation:none; }
  .route::before { clip-path:none; transition:none; }
  .stop-marker { transition:none; border-color:var(--ink); color:var(--ink); }
  .stop.now .stop-marker { background:var(--marigold); }
}
