/* Village Whiskey Careers. Shared styles matching villagewhiskey.com (2026 redesign). */
@font-face {
  font-family: SLTReg;
  src: url("fonts/SLTFTheSilverEditorial-Regular.woff2") format("woff2"),
       url("fonts/SLTFTheSilverEditorial-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --brown: #4d231b;
  --brown-nav: #48251d;
  --orange: #d47100;
  --orange-hover: #e77c02;
  --gold: #6f5b2f;
  --mint: #d4e4de;
  --rule: #e6ddd0;
  --muted: #7a5a50;
  --display: SLTReg, "Playfair Display", Georgia, serif;
  --body: p22-underground, "Barlow", sans-serif;
  --cond: americane-condensed, "Roboto Condensed", sans-serif;
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 1.1rem;
  line-height: 1.75rem;
  font-weight: 300;
  color: var(--brown);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; transition: color .15s; }
a:hover, a:focus { color: var(--brown); }
img { display: block; max-width: 100%; }
em { font-style: italic; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap;
}

/* ---------- Typography (mirrors main site heading scale) ---------- */
h1, .h1 { font-family: var(--display); font-size: 2.5rem; line-height: 1.2; font-weight: 300; letter-spacing: 2px; }
h2, .h2 { font-family: var(--display); font-size: 2.15rem; line-height: 1.2; font-weight: 300; letter-spacing: 2px; }
h3, .h3 { font-family: var(--body); font-size: 1.5rem; line-height: 1.2; font-weight: 400; letter-spacing: 1px; }
h4, .h4 { font-family: var(--cond); font-size: 1.75rem; line-height: 1.2; font-weight: 700; letter-spacing: 2px; }
h5, .h5 { font-family: var(--display); font-size: 1.375rem; line-height: 1.2; font-weight: 300; }
.text-orange { color: var(--orange); }
.uc { text-transform: uppercase; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: 1.375rem;
  line-height: 1.5;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: .2rem .8rem;
  border: 1px solid var(--orange);
  border-radius: .25rem;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.btn:hover, .btn:focus { background: var(--orange-hover); border-color: var(--orange-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--orange); }
.btn-outline:hover, .btn-outline:focus { background: var(--orange); color: #fff; }

/* ---------- Header / nav ---------- */
.site-nav {
  position: absolute; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: .5rem 0;
}
.site-nav.is-clone {
  position: fixed;
  background: var(--brown-nav);
  transform: translateY(-100%);
  transition: transform .3s ease-in-out;
}
.site-nav.is-clone.is-stuck { transform: translateY(0); }
.site-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-nav .logo { width: 125px; height: auto; margin-top: 15px; }
.site-nav.is-clone .logo { margin-top: 0; width: 110px; }
.nav-right { display: flex; align-items: center; gap: .5rem; }
.city-nav { display: none; list-style: none; align-items: center; gap: .25rem; margin-right: .5rem; }
.city-nav a:not(.btn) {
  display: block; padding: .5rem 1rem;
  font-family: var(--display); font-size: 1.375rem; color: #fff;
}
.city-nav a:not(.btn):hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.menu-toggle {
  width: 46px; height: 40px; padding: 10px 8px;
  background: none; border: 0; cursor: pointer;
}
.menu-toggle span { display: block; height: 3px; border-radius: 9px; background: #fff; }
.menu-toggle span + span { margin-top: 5px; }

/* Full-screen menu (matches main site's mint offcanvas) */
.menu-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: var(--mint);
  color: var(--brown);
  text-align: center;
  overflow-y: auto;
  padding: 1rem 1rem 3rem;
  opacity: 0; visibility: hidden;
  transform: translateY(-2%);
  transition: opacity .3s, transform .3s, visibility 0s .3s;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s; }
.menu-overlay .logo { width: 220px; margin: 1rem auto 2.5rem; }
.menu-close {
  position: absolute; top: 14px; right: 14px;
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: var(--brown);
}
.menu-close svg { width: 28px; height: 28px; }
.menu-overlay ul { list-style: none; }
.menu-overlay li a {
  display: inline-block; padding: .55rem 1rem;
  font-family: var(--display); font-size: 2rem; line-height: 1.1;
  letter-spacing: .1rem; text-transform: uppercase; color: var(--brown);
}
.menu-overlay li a:hover, .menu-overlay li a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero (image only, like the contact page) ---------- */
.page-hero {
  position: relative;
  height: 600px;
  background: #1a140c center / cover no-repeat;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(0,0,0,.5) 10%, rgba(0,0,0,0) 70%);
}

/* ---------- Paper title band ---------- */
.bg-paper {
  position: relative;
  background: #f6f3ee url("back-paper.jpg") center / cover;
  background-attachment: fixed;
}
.title-band { text-align: center; padding: 3rem 0 1.5rem; }
.title-band h1 { text-transform: uppercase; color: var(--brown); }
.title-band h4 { text-transform: uppercase; color: var(--orange); margin-top: .5rem; }
.title-band p { margin-top: .5rem; }
.title-band .crumb {
  font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5rem;
}
.title-band .crumb a { color: var(--gold); }
.title-band .crumb span { margin: 0 .35rem; }

/* ---------- Content sections ---------- */
.section { padding: 3rem 0; }
.two-col { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.two-col h3 { margin-bottom: .75rem; }
.two-col h3 + p + h3 { margin-top: 1.75rem; }
.quote {
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.9rem;
  border-left: 2px solid var(--orange);
  padding-left: 1.25rem;
}
.quote cite { display: block; margin-top: .75rem; font-style: normal; font-family: var(--display); font-size: 1.25rem; }
.decor { width: min(280px, 70vw); height: 18px; margin: .75rem auto 0; opacity: .8; }

/* Job-type cards */
.section-title { text-align: center; text-transform: uppercase; margin-bottom: 2rem; }
.cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.card {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--brown);
  color: var(--brown);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover, .card:focus-visible {
  color: var(--brown);
  border-top-color: var(--orange);
  box-shadow: 0 10px 24px -12px rgba(77,35,27,.35);
  transform: translateY(-2px);
  outline: none;
}
.card .icon {
  flex-shrink: 0; width: 3.5rem; height: 3.5rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--brown); border-radius: 50%;
}
.card .icon svg { width: 1.6rem; height: 1.6rem; color: var(--brown); }
.card h3 { font-family: var(--display); font-weight: 300; text-transform: uppercase; letter-spacing: 1.5px; }
.card p { font-size: 1rem; line-height: 1.5rem; margin-top: .2rem; }
.card .arrow { margin-left: auto; color: var(--orange); font-family: var(--display); font-size: 2.5rem; line-height: 1; }

/* Photo band */
.photo-band { display: grid; grid-template-columns: 1fr; }
.photo-band img { width: 100%; height: 260px; object-fit: cover; }

/* ---------- Job listings ---------- */
.states-jump { text-align: center; margin-bottom: 2.25rem; }
.states-jump h3 { font-family: var(--cond); font-weight: 700; font-size: 1.15rem; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: .5rem; }
#states-jump-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.5rem; }
#states-jump-links a { font-family: var(--display); font-size: 1.375rem; text-transform: uppercase; color: var(--brown); }
#states-jump-links a:hover { text-decoration: underline; text-underline-offset: 6px; }
.listings-title { text-align: center; text-transform: uppercase; margin-bottom: 2rem; }
.listings-title .count { display: block; font-family: var(--body); font-size: 1rem; letter-spacing: .04em; text-transform: none; color: var(--muted); margin-top: .25rem; }
.state-block { margin-bottom: 2rem; }
.state-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .85rem 0; margin-bottom: 1.25rem;
  background: none; border: 0; border-top: 2px solid var(--brown); border-bottom: 2px solid var(--brown);
  cursor: pointer; color: var(--brown); font: 300 1rem var(--body);
}
.state-name { font-family: var(--display); font-size: 1.6rem; letter-spacing: 2px; text-transform: uppercase; }
.state-toggle::after { content: "\2212"; font-size: 1.4rem; margin-left: .75rem; }
.state-block.is-collapsed .state-toggle::after { content: "+"; }
.state-toggle span:last-child { margin-left: auto; }
.job-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.state-block.is-collapsed .job-grid { display: none; }
.job-card {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.75rem; background: #fff;
  border: 1px solid var(--rule); border-top: 3px solid var(--brown);
}
.job-card h3 { font-family: var(--display); font-weight: 300; font-size: 1.5rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: .85rem; }
.job-addr { display: block; width: 100%; padding: 0; background: none; border: 0; text-align: left; cursor: pointer; font: inherit; color: var(--gold); }
.job-addr p { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(111,91,47,.4); }
.job-addr:hover p { color: var(--brown); }
.job-card .rule { border: 0; border-top: 1px solid var(--rule); margin: 1rem 0; }
.meta-row { display: flex; justify-content: space-between; gap: 1rem; margin: .35rem 0; font-size: 1rem; }
.lbl { font-family: var(--cond); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.btn-details {
  display: block; margin-top: 1.5rem; padding: .4rem 1rem; text-align: center;
  font-family: var(--display); font-size: 1.25rem; letter-spacing: .5px; text-transform: uppercase;
  color: #fff; background: var(--orange); border: 1px solid var(--orange); border-radius: .25rem;
}
.btn-details:hover, .btn-details:focus { color: #fff; background: var(--orange-hover); border-color: var(--orange-hover); }
.empty-note { text-align: center; color: var(--muted); margin: 1rem 0 2rem; }

/* Map modal */
.modal { display: none; position: fixed; inset: 0; z-index: 250; align-items: center; justify-content: center; }
.modal.is-open { display: flex; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(30,14,10,.6); }
.modal-panel { position: relative; z-index: 1; width: 100%; max-width: 42rem; margin: 0 1rem; background: #fff; border-top: 3px solid var(--brown); }
.modal-head { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem; border-bottom: 1px solid var(--rule); }
.modal-head h3 { font-family: var(--display); font-weight: 300; text-transform: uppercase; letter-spacing: 1.5px; }
.modal-head p { color: var(--muted); margin-top: .2rem; }
.modal-close { background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--brown); }
.modal-map { display: block; width: 100%; height: 400px; border: 0; }
.modal-foot { padding: 1rem; text-align: center; }

/* Job details modal */
body.modal-open { overflow: hidden; }
body.modal-open #hb-translate { display: none; }
.job-modal .modal-panel { max-width: 48rem; max-height: calc(100vh - 3rem); max-height: calc(100dvh - 3rem); display: flex; flex-direction: column; }
.job-modal .modal-head { padding: 1.5rem 1.5rem 1.25rem; flex-shrink: 0; }
.job-modal .modal-head h3 { font-size: 2rem; line-height: 1.1; }
.job-modal .modal-close { align-self: flex-start; width: 44px; height: 44px; margin: -.5rem -.5rem 0 0; }
.job-modal-meta { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; margin-top: .65rem; font-size: .95rem; }
.job-modal-meta .lbl { font-family: var(--cond); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.job-modal-body { overflow-y: auto; padding: 1.25rem 1.5rem 1.5rem; line-height: 1.65; overscroll-behavior: contain; }
.job-modal-body:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.job-modal-body p, .job-modal-body ul, .job-modal-body ol { margin-bottom: .9rem; }
.job-modal-body ul, .job-modal-body ol { padding-left: 1.4rem; }
.job-modal-body ul { list-style: disc; }
.job-modal-body ol { list-style: decimal; }
.job-modal-body li { margin-bottom: .25rem; }
.job-modal-body strong { font-weight: 700; }
.job-modal-body h4 { font-size: 1.15rem; color: var(--orange); text-transform: uppercase; margin: 1.25rem 0 .5rem; }
.job-modal-body a { color: var(--orange); text-decoration: underline; }
.job-modal .modal-foot { flex-shrink: 0; border-top: 1px solid var(--rule); background: #fff; }
.job-modal .btn-apply { min-width: 12rem; font-size: 1.5rem; padding: .3rem 1.5rem; }
.btn[hidden] { display: none !important; }
@media (max-width: 639px) {
  .job-modal { align-items: stretch; }
  .job-modal .modal-panel { margin: 0; max-width: none; max-height: none; height: 100%; }
  .job-modal .modal-head h3 { font-size: 1.6rem; }
  .job-modal .btn-apply { display: block; width: 100%; }
}

/* ---------- Footer (paper, double rules, like main site) ---------- */
.site-footer {
  position: relative;
  margin-top: auto;
  padding: 3rem 0;
  background: #f6f3ee url("back-paper.jpg") center / cover;
  background-attachment: fixed;
  color: var(--brown);
}
.site-footer::before, .site-footer::after {
  content: ""; position: absolute; left: 0; right: 0; height: 15px;
  border-top: 2px solid var(--brown); border-bottom: 2px solid var(--brown);
}
.site-footer::before { top: 0; margin-top: 1rem; }
.site-footer::after { bottom: 0; margin-bottom: 1rem; }
.site-footer a { color: var(--brown); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; padding-top: 2rem; }
.footer-brand { text-align: center; }
.footer-brand img { width: 225px; margin: 0 auto .75rem; }
.social { display: flex; justify-content: center; gap: .9rem; list-style: none; }
.social svg { width: 30px; height: 30px; display: block; }
.social a:hover { color: var(--orange); }
.footer-cols { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem; text-align: center; }
.footer-cols .h5 { display: block; margin-bottom: .25rem; text-transform: uppercase; }
.footer-cols a:hover { text-decoration: underline; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin-top: 3rem; }
.footer-nav a { display: block; padding: .5rem 1rem; text-transform: uppercase; font-size: 1rem; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { text-align: center; font-size: .95rem; padding: 1rem 0 .5rem; }
.footer-legal span { display: block; font-size: .85rem; opacity: .8; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .photo-band { grid-template-columns: repeat(3, 1fr); }
  .photo-band img { height: 300px; }
}
@media (min-width: 768px) {
  .site-nav .logo { width: 160px; }
  .cards, .job-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr 1.25fr; gap: 3rem; }
}
@media (min-width: 992px) {
  .city-nav { display: flex; }
  .footer-top { grid-template-columns: 1fr 3fr; }
  .footer-brand { text-align: left; }
  .footer-cols { justify-content: flex-end; text-align: left; }
  .menu-overlay li a { font-size: 3rem; line-height: 1.25; }
}
@media (min-width: 1200px) {
  .site-nav .logo { width: 200px; }
}
@media (max-width: 767.98px) {
  .page-hero { height: 340px; }
  .bg-paper, .site-footer { background-attachment: scroll; }
  h1, .h1 { font-size: 2.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
