/* Newness Careers — 2026 brand (Black / White / Grey + Spring Green accent) */
@font-face { font-family: "Jost"; font-weight: 300; font-display: swap; src: url("brand/fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url("brand/fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-display: swap; src: url("brand/fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-display: swap; src: url("brand/fonts/jost-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 700; font-display: swap; src: url("brand/fonts/jost-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans Myanmar"; font-weight: 100 900; font-display: swap; src: url("brand/fonts/NotoSansMyanmar-myanmar.woff2") format("woff2"); }

:root {
  --ink: #1A1A1C; --ink-hover: #333336; --ink-raised: #26262A;
  --white: #FFFFFF; --canvas: #F5F5F6; --line: #E4E5E7;
  --grey: #8E9094; --grey-text: #737578; --muted-dark: #B4B6BA;
  --green: #07EEB1; --green-soft: #DAFCF3; --green-deep: #048563;
  --yellow: #FEEC01; --yellow-soft: #FFFCD9;
  --azure: #00AAFF; --azure-soft: #D9F2FF; --azure-deep: #007AB8;
  --aqua: #03FFFF; --poppy: #FE9723; --poppy-soft: #FFEFDE; --poppy-deep: #A86417;
  --font: "Futura 100", "Jost", "Futura 100 MYA", "Noto Sans Myanmar", "Futura", system-ui, sans-serif;
  --radius: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.my { line-height: 1.85; letter-spacing: 0; } /* Burmese text: never letter-space */

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(26,26,28,.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.nav img { height: 26px; width: auto; } /* ≥140px wide: brand minimum logo size */
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted-dark); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--white); }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-family: inherit; font-size: 15px; font-weight: 500; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--green); color: var(--ink); }
.btn-accent:hover { filter: brightness(.95); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-hover); }
.btn-ghost-dark { background: transparent; color: var(--white); border-color: rgba(255,255,255,.25); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.06); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; }

/* ---------- Type helpers ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .3em; color: var(--grey-text); margin: 0 0 18px; }
.kicker::before { content: ""; width: 32px; height: 4px; border-radius: 4px; background: var(--green); }
.dark .kicker { color: var(--muted-dark); }
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.1; font-weight: 700; }
h2.my, h1.my { line-height: 1.6; } /* Burmese stacked glyphs need room */
.lead { font-size: 18px; color: var(--grey-text); max-width: 640px; margin: 18px 0 0; }
.dark .lead { color: var(--muted-dark); }
.hl { color: var(--grey); }
.dark .hl-green { color: var(--green); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding: 120px 0 0; }
.hero h1 { font-size: clamp(40px, 7vw, 88px); line-height: 1.02; font-weight: 700; max-width: 900px; }
.hero h1 .hl { color: var(--green); }
.hero .sub { font-size: clamp(17px, 2vw, 20px); color: var(--muted-dark); max-width: 620px; margin: 28px 0 40px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 80px; padding: 32px 0 56px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-meta div { min-width: 140px; }
.hero-meta strong { display: block; font-size: 30px; font-weight: 700; line-height: 1.1; }
.hero-meta span { font-size: 14px; color: var(--muted-dark); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.about-grid p { margin: 0 0 18px; font-size: 17px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill { padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 20px; font-weight: 600; margin: 18px 0 8px; }
.card p { margin: 0; color: var(--grey-text); font-size: 15.5px; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--green-soft); color: var(--ink); }
.icon svg { width: 24px; height: 24px; }

.dark { background: var(--ink); color: var(--white); }
.dark .card { background: var(--ink-raised); border-color: rgba(255,255,255,.07); }
.dark .card p { color: var(--muted-dark); }
.dark .icon { background: rgba(7,238,177,.12); color: var(--green); }

/* ---------- Culture / values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.values > div { padding: 28px 24px 0 0; }
.values .num { font-size: 14px; font-weight: 600; color: var(--green-deep); }
.values h3 { font-size: 22px; font-weight: 700; margin: 10px 0 8px; }
.values p { margin: 0; color: var(--grey-text); font-size: 15px; }
@media (max-width: 860px) { .values { grid-template-columns: repeat(2, 1fr); row-gap: 24px; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* ---------- Hiring steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 56px; counter-reset: step; }
.step { position: relative; padding-top: 22px; border-top: 4px solid var(--line); }
.step:first-child { border-top-color: var(--green); }
.step .n { font-size: 13px; font-weight: 600; color: var(--grey-text); letter-spacing: .1em; }
.step h3 { font-size: 19px; font-weight: 600; margin: 6px 0 6px; }
.step p { margin: 0; color: var(--grey-text); font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: var(--white); border-radius: 24px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 42px); }
.cta-band p { margin: 10px 0 0; font-size: 17px; color: var(--muted-dark); }
.cta-band > :not(.aurora) { position: relative; }
@media (max-width: 620px) { .cta-band { padding: 36px 24px; } }

/* ---------- Positions page ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: 88px 0 72px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.04; font-weight: 700; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-dark); text-decoration: none; font-size: 14px; font-weight: 500; margin-bottom: 32px; }
.back:hover { color: var(--white); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; }
.filter { font-family: inherit; font-size: 14px; font-weight: 500; padding: 10px 18px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.filter:hover { background: var(--canvas); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.filter .count { opacity: .6; margin-left: 4px; }

.dept { margin-bottom: 48px; }
.dept-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.dept-head h2 { font-size: 24px; font-weight: 700; }
.dept-bar { width: 36px; height: 6px; border-radius: 6px; }
.dept-head .tag { font-size: 13px; color: var(--grey-text); font-weight: 500; }

.job { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 12px; text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.job:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 30px -18px rgba(26,26,28,.35); }
.job h3 { font-size: 20px; font-weight: 600; margin: 0 0 6px; }
.job p { margin: 0; color: var(--grey-text); font-size: 15px; }
.job .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.badge { font-size: 12.5px; font-weight: 500; padding: 4px 11px; border-radius: 999px; background: var(--canvas); color: var(--grey-text); }
.job .apply { white-space: nowrap; }
.job .arrow { transition: transform .15s ease; }
.job:hover .arrow { transform: translateX(3px); }
@media (max-width: 620px) { .job { grid-template-columns: 1fr; padding: 22px; } .job .apply { width: 100%; } }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: var(--muted-dark); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 48px; padding-bottom: 48px; }
footer img { height: 26px; width: auto; }
footer small { font-size: 14px; }
footer a { color: var(--muted-dark); text-decoration: none; }
footer a:hover { color: var(--white); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* fixes */
.nav-links a.btn-accent, .nav-links a.btn-accent:hover { color: var(--ink); }
.back { display: flex; width: fit-content; }
.dept-head .tag { margin-left: auto; white-space: nowrap; }

/* ---------- Job detail page ---------- */
.job-hero { padding-bottom: 64px; }
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.apply-side { position: sticky; top: 92px; }
@media (max-width: 960px) { .job-layout { grid-template-columns: 1fr; } .apply-side { display: none; } }
.jd { padding: 40px; }
@media (max-width: 620px) { .jd { padding: 24px 20px; } }
.jd h3 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; }
.jd h3:first-child { margin-top: 0; }
.jd h4 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; display: flex; align-items: center; gap: 10px; }
.jd h4::before { content: ""; width: 18px; height: 4px; border-radius: 4px; background: var(--green); flex: none; }
.jd p { margin: 0 0 10px; color: var(--ink); }
.jd ul, .jd ol { margin: 0 0 12px; padding-left: 22px; color: var(--ink); }
.jd li { margin: 6px 0; }
.jd li::marker { color: var(--grey); }
.jd a { color: var(--azure-deep); }
.skeleton { height: 16px; border-radius: 8px; background: linear-gradient(90deg, var(--line), var(--canvas), var(--line)); background-size: 200% 100%; animation: sk 1.2s infinite; margin: 14px 0; }
.skeleton.short { width: 60%; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- Application form ---------- */
.form-card { padding: 48px; max-width: 820px; margin: 0 auto; }
@media (max-width: 620px) { .form-card { padding: 28px 20px; } }
.field { margin-bottom: 24px; }
.label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.req { color: var(--poppy-deep); }
.help { display: block; font-size: 14px; color: var(--grey-text); margin-bottom: 8px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url],
.field input[type=date], .field input[type=number], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px; margin-top: 6px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 3px rgba(0,170,255,.18); }
.field.invalid input, .field.invalid select, .field.invalid textarea, .field.invalid .file { border-color: var(--poppy); }
.err { display: block; color: var(--poppy-deep); font-size: 14px; margin-top: 6px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.check { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 15px; min-height: 44px; }
.check:has(input:checked) { background: var(--green-soft); border-color: var(--green-deep); }
.check input { accent-color: var(--green-deep); width: 16px; height: 16px; }
.file { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border: 1.5px dashed var(--line); border-radius: 12px; padding: 16px; margin-top: 6px; cursor: pointer; background: var(--canvas); }
.file:hover { border-color: var(--grey); }
.file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file:focus-within { border-color: var(--azure); }
.file-btn { background: var(--ink); color: var(--white); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; }
.file-name { font-size: 14px; color: var(--grey-text); word-break: break-all; }
.form-note { background: var(--green-soft); border-radius: 12px; padding: 16px 18px; margin: 8px 0 24px; font-size: 15px; }
.form-note p { margin: 0; }
.form-note h3 { font-size: 16px; margin: 0 0 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: var(--poppy-soft); color: var(--ink); border-left: 4px solid var(--poppy); border-radius: 8px; padding: 14px 16px; margin-bottom: 20px; }
.form-error a { color: var(--poppy-deep); }
.submit { width: 100%; min-height: 54px; font-size: 16px; }
.submit:disabled { opacity: .6; cursor: progress; transform: none; }
.done { text-align: center; padding: 24px 0; }
.done-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--green); display: grid; place-items: center; color: var(--ink); }
.done-icon svg { width: 36px; height: 36px; }
.done h2, .done h3 { font-size: 30px; margin: 0 0 8px; }
.done p { color: var(--grey-text); margin: 0 0 12px; }
.done .btn { margin-top: 16px; }

/* ---------- Dark "aurora" look (matches the Newness Careers Facebook cover) ---------- */
.hero > .wrap, .page-hero > .wrap { position: relative; z-index: 1; }
.aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.aurora::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(34% 44% at 6% 12%,  rgba(0,170,255,.85), transparent 72%),
    radial-gradient(30% 40% at 26% 0%,  rgba(7,238,177,.80), transparent 72%),
    radial-gradient(20% 30% at 0% 34%,  rgba(3,255,255,.35), transparent 72%),
    radial-gradient(32% 42% at 96% 100%, rgba(254,151,35,.85), transparent 72%),
    radial-gradient(20% 28% at 82% 108%, rgba(254,236,1,.30), transparent 72%);
  filter: blur(36px) saturate(1.15);
}
.aurora::after { /* thin light edge, like the glass prism on the cover */
  content: ""; position: absolute; left: -10%; right: -10%; top: 62%; height: 1px; transform: rotate(-14deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35) 30%, rgba(0,170,255,.5) 45%, transparent 70%);
}
.outline-word {
  position: absolute; right: -0.04em; bottom: -0.22em; pointer-events: none; user-select: none;
  font-size: clamp(120px, 24vw, 360px); font-weight: 400; line-height: 1; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.2); white-space: nowrap;
}
.page-hero .outline-word { font-size: clamp(100px, 18vw, 260px); }
.cta-band .aurora::after { display: none; }
.cta-band .aurora::before { filter: blur(30px); }

/* sub-brand under the logo: wordmark + spaced uppercase label */
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; line-height: 1; }
.nav-sub { margin-top: 5px; font-size: 9px; font-weight: 500; letter-spacing: .45em; text-transform: uppercase; color: var(--muted-dark); }
