/* LucyESL — design system
   Bold & warm, ClickUp-inspired character: heavy display type, two-tone
   headlines, a warm brick→coral accent, chunky dark buttons, colorful
   category chips, and a floating product mock. Light mode. */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f6f4f1;        /* warm off-white section */
  --ink: #1a1712;           /* near-black, warm */
  --ink-fade: #c8c2b8;      /* two-tone headline tail */
  --muted: #5f5a52;
  --faint: #8f897f;
  --line: #e6e1d8;
  --line-soft: #efeae2;

  --accent: #d1442a;        /* brick */
  --accent-2: #ee6a3e;      /* coral */
  --accent-ink: #a5371f;
  --accent-tint: #fbeee9;
  --grad: linear-gradient(118deg, #ee6a3e 0%, #d1442a 100%);

  /* colorful category chips */
  --blue: #2f61d8;   --blue-bg: #eaf0fd;
  --violet: #7a44cf; --violet-bg: #f2ecfd;
  --green: #1c7a49;  --green-bg: #e6f4ec;
  --amber: #a86a15;  --amber-bg: #fbf1da;

  --ok: #1c7a49; --ok-bg: #e6f4ec;
  --err: #c4362b; --err-bg: #fbece9;

  --maxw: 1080px;
  --wide: 1180px;
  --nav-h: 60px;

  --display: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --body: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Apple SD Gothic Neo", "Noto Sans KR", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- layout ---------- */

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.wide { max-width: var(--wide); margin-inline: auto; padding-inline: 24px; }
.wrap { max-width: var(--wide); margin-inline: auto; padding: 0 24px 72px; }

.section { padding-block: clamp(88px, 13vw, 168px); }
.section-alt { background: var(--bg-alt); }
.center { text-align: center; }

/* minimal audience block — a few important selling points, lots of air */
.sell {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 400; line-height: 1.5;
  letter-spacing: -0.015em; color: var(--muted); margin: 0 auto; max-width: 540px;
}
.sell b { color: var(--ink); font-weight: 600; }

/* ---------- announcement topbar ---------- */

.topbar {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 9px 20px;
  letter-spacing: -0.01em;
}
.topbar a { color: #fff; font-weight: 700; }
.topbar a:hover { text-decoration: none; }
.topbar .arw { color: var(--accent-2); }

/* ---------- nav ---------- */

.nav-bar {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: var(--wide); margin-inline: auto; height: var(--nav-h);
  padding-inline: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.wordmark {
  margin: 0; font-family: var(--display);
  font-size: 1.4rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink);
}
.wordmark a { color: inherit; }
.wordmark a:hover { text-decoration: none; }
.wordmark span { color: var(--accent); }
.wordmark.small { font-size: 1.15rem; }

.nav-links { display: flex; gap: 10px; align-items: center; }
.nav-links a {
  color: var(--ink); font-size: 0.92rem; font-weight: 600; letter-spacing: -0.01em;
  padding: 8px 12px; border-radius: 10px;
}
.nav-links a:hover { text-decoration: none; background: var(--bg-alt); }
.nav-links a.nav-cta {
  background: var(--ink); color: #fff; padding: 9px 18px;
}
.nav-links a.nav-cta:hover { background: #000; }

/* ---------- type ---------- */

.eyebrow {
  font-family: var(--display);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 18px;
}
.eyebrow .dot { color: var(--ink-fade); margin: 0 7px; }

h1.display {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.7rem, 6vw, 4.7rem); line-height: 1.02;
  letter-spacing: -0.04em; margin: 0 0 22px; color: var(--ink);
}
h1.display .hl { color: var(--accent); }
h1.display .fade { color: var(--ink-fade); }

.subhead {
  font-size: clamp(1.1rem, 2.1vw, 1.45rem); font-weight: 400; line-height: 1.4;
  letter-spacing: -0.015em; color: var(--muted); margin: 0; max-width: 560px;
}

h2.headline {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.04; letter-spacing: -0.035em;
  margin: 0 0 16px; color: var(--ink);
}
h2.headline .hl { color: var(--accent); }
h2.headline .fade { color: var(--ink-fade); }

.section-lede {
  font-size: clamp(1.05rem, 1.9vw, 1.3rem); font-weight: 400; line-height: 1.42;
  color: var(--muted); margin: 0 auto; max-width: 600px;
}

.fine { font-size: 0.82rem; color: var(--faint); line-height: 1.5; }

/* ---------- buttons + arrow links ---------- */

.cta-row { display: flex; gap: 14px 26px; flex-wrap: wrap; align-items: center; margin-top: 32px; }
.center .cta-row { justify-content: center; }

.btn {
  display: inline-block; font: inherit; font-family: var(--display);
  font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em;
  color: #fff; background: var(--ink); border: 0; border-radius: 14px;
  padding: 15px 28px; cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { background: #000; text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(26,23,18,0.18); }
.btn:active { transform: translateY(0); }

.btn-accent { background: var(--accent); }
.btn-accent:hover { background: var(--accent-ink); box-shadow: 0 10px 26px rgba(209,68,42,0.28); }

.btn-quiet {
  display: inline-block; font: inherit; font-family: var(--display);
  font-size: 0.98rem; font-weight: 600; color: var(--ink);
  background: var(--bg-alt); border: 0; border-radius: 12px; padding: 11px 20px; cursor: pointer;
  transition: background .18s ease;
}
.btn-quiet:hover { background: #ece7de; text-decoration: none; }

.link-arrow { font-family: var(--display); font-size: 1.02rem; font-weight: 600; color: var(--accent); letter-spacing: -0.01em; white-space: nowrap; }
.link-arrow:hover { text-decoration: none; }
.link-arrow::after { content: "›"; margin-left: 5px; display: inline-block; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- hero (split) ---------- */

.hero { padding-top: clamp(48px, 8vw, 92px); padding-bottom: clamp(52px, 8vw, 96px); }
.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; gap: 44px; } }

.hero-copy { max-width: 560px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.trust {
  font-family: var(--display); font-size: 0.82rem; font-weight: 600; color: var(--muted);
  background: var(--bg-alt); border-radius: 999px; padding: 7px 14px;
}
.trust b { color: var(--ink); }

/* floating product mock */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 340px; }
.blob {
  position: absolute; inset: 6% 4%; border-radius: 40% 60% 62% 38% / 50% 44% 56% 50%;
  background: var(--grad); opacity: 0.14; filter: blur(14px); z-index: 0;
}
.mock {
  position: relative; z-index: 1; width: min(400px, 100%);
  background: #fff; border: 1px solid var(--line-soft); border-radius: 22px;
  padding: 26px 26px 24px; box-shadow: 0 30px 70px -20px rgba(26,23,18,0.28);
  transform: rotate(-1.4deg);
}
.mock h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.025em; margin: 0 0 6px; line-height: 1.15; }
.mock .m-org { color: var(--muted); font-size: 0.92rem; margin: 0 0 16px; }
.mock .m-salary { font-family: var(--display); font-weight: 700; font-size: 1.55rem; letter-spacing: -0.03em; }
.mock .m-salary span { font-size: 0.9rem; font-weight: 500; color: var(--muted); letter-spacing: -0.01em; }
.mock .chips { margin-top: 16px; }
.badge-float {
  position: absolute; z-index: 2; font-family: var(--display); font-weight: 700; font-size: 0.85rem;
  background: #fff; border-radius: 999px; padding: 9px 15px; box-shadow: 0 12px 30px -8px rgba(26,23,18,0.3);
}
.badge-float.verified { top: 4%; right: 2%; color: var(--ok); }
.badge-float.pay { bottom: 6%; left: 0%; color: #fff; background: var(--accent); box-shadow: 0 12px 30px -8px rgba(209,68,42,0.5); }

/* ---------- feature quilt ---------- */

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 860px; margin: clamp(40px, 6vw, 60px) auto 0; }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--bg); border: 1px solid var(--line-soft); border-radius: 22px;
  padding: 30px 28px; text-align: left; transition: transform .18s ease, box-shadow .18s ease;
}
.section-alt .feature { background: #fff; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(26,23,18,0.22); }
.feat-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-size: 1.3rem; margin-bottom: 16px; font-family: var(--display); font-weight: 700;
}
.feat-icon.brick { background: var(--accent-tint); color: var(--accent); }
.feat-icon.green { background: var(--green-bg); color: var(--green); }
.feat-icon.blue { background: var(--blue-bg); color: var(--blue); }
.feat-icon.violet { background: var(--violet-bg); color: var(--violet); }
.feature h3 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.025em; margin: 0 0 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.42; }

/* ---------- claim band ---------- */

.band { background: var(--ink); color: #fff; }
.band .headline { color: #fff; }
.band .headline .hl { color: var(--accent-2); }
.band .section-lede { color: rgba(255,255,255,0.66); }

/* ---------- forms ---------- */

.capture { max-width: 460px; margin: 32px auto 0; text-align: left; }
form .field-label, .capture label, .form-card label {
  display: block; font-family: var(--display); font-size: 0.85rem; font-weight: 600; color: var(--ink); margin: 0 0 6px;
}
.form-card .check-group label { display: flex; font-family: var(--body); font-weight: 400; margin: 0; }
.opt { font-weight: 400; color: var(--faint); }

form input[type="email"], form input[type="text"], form input[type="password"],
form input[type="number"], form input[type="date"], select.field {
  display: block; width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink);
  padding: 14px 16px; margin-bottom: 14px; background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 13px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
form input:focus, select.field:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(209,68,42,0.13);
}
form input::placeholder { color: var(--faint); }

.capture form button[type="submit"], .form-card > button[type="submit"] {
  display: block; width: 100%; font: inherit; font-family: var(--display); font-size: 1.05rem; font-weight: 700;
  color: #fff; background: var(--ink); border: 0; border-radius: 14px; padding: 16px; cursor: pointer;
  transition: background .2s ease, transform .12s ease;
}
.capture form button[type="submit"]:hover, .form-card > button[type="submit"]:hover { background: #000; transform: translateY(-1px); }
.capture .fine { margin: 12px 2px 0; text-align: center; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; margin: 0; }

.flash { margin: 0 0 16px; padding: 13px 16px; border-radius: 13px; font-size: 0.95rem; font-weight: 600; }
.flash-ok { background: var(--ok-bg); color: var(--ok); }
.flash-err { background: var(--err-bg); color: var(--err); }

/* ---------- interior page header ---------- */

.page-head, .page-title { padding-block: clamp(40px, 7vw, 76px) 12px; }
.page-head h1, .page-title h1 {
  font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.1rem);
  letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 10px;
}
.page-head p, .page-title p { margin: 0; color: var(--muted); font-size: 1.12rem; }

/* ---------- job board ---------- */

.filters {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: end;
  background: var(--bg-alt); border-radius: 20px; padding: 18px; margin-bottom: 28px;
}
.filters > div { display: flex; flex-direction: column; }
.filters label { font-family: var(--display); font-size: 0.7rem; font-weight: 700; color: var(--faint); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.filters select, .filters input[type="search"] {
  font: inherit; font-size: 0.95rem; padding: 10px 13px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink);
}
.filters select:focus, .filters input:focus { outline: none; border-color: var(--accent); }
.filters .grow { flex: 1; min-width: 150px; }
.filters .grow input { width: 100%; }
.filters .btn { padding: 11px 22px; font-size: 0.98rem; border-radius: 12px; }

.job-list { display: grid; gap: 14px; }
.job-card {
  display: block; background: var(--bg); border: 1px solid var(--line-soft); border-radius: 20px;
  padding: 26px 28px; color: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.job-card:hover { text-decoration: none; border-color: var(--line); box-shadow: 0 16px 40px -22px rgba(26,23,18,0.3); transform: translateY(-2px); }
.job-card h2 { font-family: var(--display); margin: 0 0 5px; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; }
.job-card .org { color: var(--muted); font-size: 0.95rem; margin: 0 0 14px; }
.job-salary { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.03em; color: var(--accent); }
.job-salary .per { color: var(--muted); font-weight: 500; font-size: 0.9rem; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.chip {
  font-family: var(--display); font-size: 0.8rem; font-weight: 600; border-radius: 999px; padding: 5px 13px;
  color: var(--muted); background: var(--bg-alt);
}
.chip.c-visa { color: var(--accent); background: var(--accent-tint); }
.chip.c-age { color: var(--violet); background: var(--violet-bg); }
.chip.c-schedule { color: var(--blue); background: var(--blue-bg); }
.chip.c-housing { color: var(--green); background: var(--green-bg); }
.badge-verified { font-family: var(--display); font-size: 0.8rem; font-weight: 700; color: var(--ok); background: var(--ok-bg); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.job-meta { color: var(--faint); font-size: 0.85rem; margin-top: 15px; }

.pager { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 34px; font-size: 0.95rem; }
.muted { color: var(--muted); }
.empty { color: var(--muted); font-size: 1.08rem; padding: 34px 0; }

/* ---------- job detail ---------- */

.job-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 20px; overflow: hidden;
  margin: 24px 0 36px; max-width: 780px;
}
@media (max-width: 680px) { .job-facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .job-facts { grid-template-columns: 1fr; } }
.fact { background: var(--bg); padding: 18px 20px; }
.fact b { display: block; font-family: var(--display); font-size: 0.7rem; color: var(--faint); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 5px; }
.fact span { font-size: 1.05rem; }
.fact.salary span { font-family: var(--display); font-weight: 700; color: var(--accent); letter-spacing: -0.02em; }

.job-desc { font-size: 1.09rem; line-height: 1.6; color: #2c2822; max-width: 720px; }
.job-desc h2, .job-desc h3 { font-family: var(--display); color: var(--ink); letter-spacing: -0.025em; margin: 1.4em 0 0.5em; }
.job-desc h2 { font-size: 1.45rem; } .job-desc h3 { font-size: 1.22rem; }
.job-desc ul, .job-desc ol { padding-left: 1.3em; } .job-desc li { margin-bottom: 0.4em; }
.job-desc blockquote { border-left: 3px solid var(--accent); margin: 1em 0; padding-left: 16px; color: var(--muted); }
.job-desc a { color: var(--accent); }
.apply-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 32px; }

/* ---------- school forms + dashboard ---------- */

.form-card { max-width: 460px; margin: 26px auto 0; }
.form-wide { max-width: 720px; }
.form-err { background: var(--err-bg); color: var(--err); padding: 13px 16px; border-radius: 13px; font-size: 0.92rem; margin-bottom: 16px; }
.form-err div + div { margin-top: 4px; }
.form-ok { background: var(--ok-bg); color: var(--ok); padding: 13px 16px; border-radius: 13px; font-size: 0.92rem; margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.check-group { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 2px 0 16px; }
.check-group label { font-weight: 400; font-size: 0.95rem; display: flex; gap: 7px; align-items: center; margin: 0; }
.check-group input { margin: 0; }

.table-plain { border-collapse: collapse; width: 100%; }
.table-plain th, .table-plain td { text-align: left; padding: 13px 12px; border-bottom: 1px solid var(--line-soft); font-size: 0.95rem; }
.table-plain th { font-family: var(--display); color: var(--faint); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; }
.status-pill { font-family: var(--display); font-size: 0.78rem; font-weight: 700; border-radius: 999px; padding: 3px 12px; }
.status-published { color: var(--ok); background: var(--ok-bg); }
.status-closed { color: var(--muted); background: var(--bg-alt); }

#editor { background: #fff; min-height: 280px; font-size: 1.05rem; }
.ql-toolbar.ql-snow { border: 1.5px solid var(--line); border-radius: 13px 13px 0 0; }
.ql-container.ql-snow { border: 1.5px solid var(--line); border-top: 0; border-radius: 0 0 13px 13px; font-size: 1.05rem; }

/* ---------- footer ---------- */

.foot { background: var(--ink); color: #fff; padding-block: 44px; }
.foot-inner { max-width: var(--wide); margin-inline: auto; padding-inline: 24px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.foot .wordmark { color: #fff; font-size: 1.15rem; }
.foot .wordmark span { color: var(--accent-2); }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot nav a { color: rgba(255,255,255,0.7); font-size: 0.9rem; font-weight: 500; }
.foot nav a:hover { color: #fff; text-decoration: none; }
.foot .copy { color: rgba(255,255,255,0.45); font-size: 0.82rem; width: 100%; margin-top: 6px; }
