/* Woody's Hiring Portal - public pages (Careers + Apply)
   Built on the live woodyspharmacyga.net design system. */

section[id] { scroll-margin-top: calc(var(--nav) - 6px); }
body.menu-open { overflow: hidden; }

/* ---------- header / nav (mirrors live site) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; min-height: var(--nav);
  font-family: var(--font-ui);
  border-bottom: 1px solid rgba(23, 18, 19, .08);
  background: rgba(255, 250, 247, .88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.nav {
  width: min(var(--max), calc(100% - 28px)); min-height: var(--nav); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center;
}
.brand { min-width: 0; display: inline-flex; align-items: center; }
.brand-mark { width: 136px; height: 48px; display: flex; align-items: center; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.nav-links {
  display: none; align-items: center; gap: 3px;
  color: rgba(23, 18, 19, .72); font-size: 14px; font-weight: 620;
}
.nav-links a { padding: 9px 11px; border-radius: 999px; }
.nav-links a:hover { color: var(--ink); background: rgba(201, 20, 34, .08); }
.nav-links a.is-active { color: var(--red); }
.icon-button {
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 999px;
  display: grid; place-items: center; color: var(--ink);
  background: rgba(255, 255, 255, .72); cursor: pointer;
}
.hamburger { width: 18px; height: 12px; position: relative; }
.hamburger::before, .hamburger::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; border-radius: 99px;
  background: currentColor; transition: transform .2s ease, top .2s ease;
}
.hamburger::before { top: 0; } .hamburger::after { top: 10px; }
.menu-open .hamburger::before { top: 5px; transform: rotate(45deg); }
.menu-open .hamburger::after { top: 5px; transform: rotate(-45deg); }
.header-call { padding: 9px 20px; font-size: 13.5px; }

.mobile-menu {
  position: fixed; inset: var(--nav) 0 auto; z-index: 45; display: none; padding: 14px;
  background: rgba(255, 250, 247, .97); border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 44px rgba(23, 18, 19, .12);
}
.menu-open .mobile-menu { display: block; }
.mobile-menu a {
  display: flex; align-items: center; min-height: 48px; padding: 0 6px;
  border-bottom: 1px solid rgba(23, 18, 19, .08); font-family: var(--font-ui); font-weight: 650;
}
.mobile-menu a:last-child { border-bottom: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: calc(100svh - var(--nav)); display: grid; align-items: end;
  overflow: hidden; isolation: isolate; background: #1d1110;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../assets/pharmacy-interior.jpg") center / cover no-repeat;
  filter: saturate(.92); transform: scale(1.02);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(23, 18, 19, .22), rgba(23, 18, 19, .7) 62%, rgba(23, 18, 19, .92)),
    linear-gradient(90deg, rgba(143, 14, 23, .56), transparent 72%);
}
.hero-inner {
  width: min(var(--max), calc(100% - 28px)); margin: 0 auto;
  padding: 72px 0 24px; display: grid; gap: 24px;
}
.hero-copy { color: #fff; max-width: 760px; }
.tag {
  width: fit-content; min-height: 34px; padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, .88); background: rgba(255, 255, 255, .1);
  font-family: var(--font-ui); font-size: 13px; font-weight: 850;
}
.tag-dot { width: 8px; height: 8px; border-radius: 50%; background: #31d07f; box-shadow: 0 0 0 4px rgba(49, 208, 127, .14); }
h1 { margin-bottom: 0; max-width: 780px; font-size: 48px; line-height: 1.18; text-wrap: balance; }
.hero-title-line { display: block; }
.hero-copy p {
  max-width: 650px; margin: 18px 0 0; color: rgba(255, 255, 255, .86);
  font-size: 18px; line-height: 1.58;
}
.hero-actions {
  display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 24px; max-width: 470px;
}

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-soft { background: linear-gradient(180deg, #fffaf7, #f7eee8); }
.section-red { color: #fff; background: linear-gradient(135deg, var(--red-deep), var(--red)); }
.section-head { display: grid; gap: 12px; margin-bottom: 26px; }
.kicker {
  margin-bottom: 0; color: var(--red); font-family: var(--font-ui);
  font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
}
.section-red .kicker { color: rgba(255, 255, 255, .78); }
h2 { margin-bottom: 0; max-width: 800px; font-size: 30px; line-height: 1.12; text-wrap: balance; }
h3 { margin-bottom: 0; font-size: 22px; line-height: 1.18; }
.lead { max-width: 720px; margin-bottom: 0; color: #5f5353; font-size: 18px; line-height: 1.62; font-weight: 500; }
.section-red .lead { color: rgba(255, 255, 255, .82); }

/* ---------- value props (benefits) ---------- */
.benefit-grid { display: grid; gap: 12px; }
.benefit-card {
  min-height: 190px; padding: 22px; display: grid; align-content: start; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255, 255, 255, .78); box-shadow: var(--shadow-sm);
}
.benefit-mark {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  color: var(--red); background: var(--red-soft); border: 1px solid rgba(201, 20, 34, .14);
}
.benefit-mark svg { width: 27px; height: 27px; stroke: currentColor; stroke-width: 2.1; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.benefit-card p { margin-bottom: 0; color: var(--muted); }

/* ---------- "why work here" split ---------- */
.split { display: grid; gap: 30px; align-items: center; }
.image-frame { overflow: hidden; border-radius: var(--radius); background: #140d0d; box-shadow: var(--shadow); }
.image-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.family-frame { background: linear-gradient(180deg, #fff, #fae7e4); padding: 10px; }
.family-frame img { border-radius: 6px; }
.check-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.check-list li {
  display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start;
  color: rgba(23, 18, 19, .8); font-weight: 520;
}
.check-list li::before {
  content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--red); box-shadow: inset 0 0 0 6px #fff; border: 1px solid rgba(201, 20, 34, .18);
}
.care-copy .kicker { margin-bottom: 18px; }
.care-copy h2 { margin-bottom: 22px; }
.care-copy .lead { margin-bottom: 30px; }

/* ---------- apply CTA band ---------- */
.cta-inner { display: grid; gap: 18px; justify-items: start; max-width: 720px; }
.cta-inner .btn { margin-top: 6px; }

/* ---------- footer (mirrors live site) ---------- */
.footer {
  padding: 46px 0 calc(46px + env(safe-area-inset-bottom));
  color: rgba(255, 255, 255, .72); background: var(--ink); text-align: center;
}
.footer-inner { width: min(760px, calc(100% - 28px)); margin: 0 auto; display: grid; justify-items: center; gap: 18px; }
.footer-brand img { width: 150px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: rgba(255,255,255,.82); }
.footer-links a:hover { color: #fff; }
.footer-credit { margin-bottom: 0; color: rgba(255, 255, 255, .82); font-weight: 520; }

/* TODO placeholder marker */
[data-todo] { outline: 1px dashed var(--red); outline-offset: 2px; }

/* ---------- responsive ---------- */
@media (min-width: 560px) {
  .hero-actions { grid-template-columns: auto auto; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 860px) {
  .icon-button { display: none; }
  .nav-links { display: flex; }
  .mobile-menu { display: none !important; }
  h1 { font-size: 66px; line-height: 1.2; }
  h2 { font-size: 42px; }
  .hero-inner { padding: 96px 0 34px; gap: 38px; }
  .hero-copy p { font-size: 20px; }
  .section { padding: 100px 0; }
  .split { grid-template-columns: .92fr 1fr; gap: 58px; }
  .benefit-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 420px) {
  :root { --nav: 64px; }
  .brand-mark { width: 114px; height: 44px; }
  .header-call { padding-inline: 12px; }
  h1 { font-size: 42px; line-height: 1.18; }
  h2 { font-size: 29px; }
  .section { padding: 62px 0; }
  .btn { width: 100%; }
}
