/* Work FNQ — workfnq.com.au production styles.
   Based on the approved standalone draft (26 November 2026, Australia/Brisbane).
   Navy header and footer, orange accents, coral-to-orange buttons, Roboto / Poppins. */

:root {
  --navy: #003366;
  --indigo: #190d5e;
  --gold: #F2AA4C;
  --coral: #F53C82;
  --orange: #FF8C14;
  --green: #3E990A;
  --steel: #4679AC;
  --services-bg: #326598;
  --sage: #DEE8D9;
  /* Light blue from live mossmanbackpackers.com.au/work-fnq CSS
     (#fnq-embed .fnq-employer .fnq-fineprint.fnq-on-panel { color: #e8eef4 }),
     checked 26 November 2026 (Australia/Brisbane). */
  --light-blue: #e8eef4;
  --paper: #F5F6F4;
  --ink: #161513;
  --white: #ffffff;
  --muted: #4a5560;
  --head: "Roboto", sans-serif;
  --body: "Poppins", sans-serif;
  --head-fontSize: 1;
  --head-fontHeight: 1;
  --body-fontSize: 1.08;
  --body-fontHeight: 1.1;
  --button-gradient: linear-gradient(135deg, #F53C82, #FF8C14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-padding-top: 88px; }
body {
  font-family: var(--body);
  font-weight: 300;
  font-style: normal;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.heading-xlarge,
.heading-large,
.heading-medium,
.heading-small {
  font-family: var(--head);
  font-weight: 500;
  font-style: normal;
  margin: 0;
}
.heading-xlarge {
  font-size: calc(36px * var(--head-fontSize));
  line-height: calc(42px * var(--head-fontHeight));
}
.heading-large {
  font-size: calc(30px * var(--head-fontSize));
  line-height: calc(36px * var(--head-fontHeight));
}
.heading-medium {
  font-size: calc(24px * var(--head-fontSize));
  line-height: calc(32px * var(--head-fontHeight));
}
.heading-small {
  font-size: calc(20px * var(--head-fontSize));
  line-height: calc(28px * var(--head-fontHeight));
}
.body-large {
  font-size: calc(18px * var(--body-fontSize));
  line-height: calc(26px * var(--body-fontHeight));
}
.body-normal {
  font-size: calc(16px * var(--body-fontSize));
  line-height: calc(24px * var(--body-fontHeight));
}
.body-small {
  font-size: calc(14px * var(--body-fontSize));
  line-height: calc(21px * var(--body-fontHeight));
}
@media (min-width: 768px) {
  .heading-xlarge {
    font-size: calc(46px * var(--head-fontSize));
    line-height: calc(54px * var(--head-fontHeight));
  }
  .heading-large {
    font-size: calc(35px * var(--head-fontSize));
    line-height: calc(42px * var(--head-fontHeight));
  }
  .heading-medium {
    font-size: calc(28px * var(--head-fontSize));
    line-height: calc(36px * var(--head-fontHeight));
  }
  .heading-small {
    font-size: calc(21px * var(--head-fontSize));
    line-height: calc(28px * var(--head-fontHeight));
  }
  .body-large {
    font-size: calc(24px * var(--body-fontSize));
    line-height: calc(36px * var(--body-fontHeight));
  }
  .body-normal {
    font-size: calc(18px * var(--body-fontSize));
    line-height: calc(28px * var(--body-fontHeight));
  }
  .body-small {
    font-size: calc(16px * var(--body-fontSize));
    line-height: calc(21px * var(--body-fontHeight));
  }
}
@media (min-width: 1280px) {
  .heading-xlarge {
    font-size: calc(64px * var(--head-fontSize));
    line-height: calc(72px * var(--head-fontHeight));
  }
  .heading-large {
    font-size: calc(48px * var(--head-fontSize));
    line-height: calc(56px * var(--head-fontHeight));
  }
  .heading-medium {
    font-size: calc(32px * var(--head-fontSize));
    line-height: calc(40px * var(--head-fontHeight));
  }
  .heading-small {
    font-size: calc(24px * var(--head-fontSize));
    line-height: calc(32px * var(--head-fontHeight));
  }
}


.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 4000;
  background: var(--white);
  color: var(--navy);
  padding: 8px 12px;
  border-radius: 4px;
}
.skip-link:focus { top: 8px; }

/* Header — Work FNQ identity, navy #003366 */
.site-header {
  background-color: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 2000;
}
.header-inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  margin: 0 auto;
  max-width: 1280px;
  padding: 12px 20px;
}
@media (min-width: 1024px) {
  .header-inner {
    padding: 14px 32px;
    gap: 24px 40px;
  }
}
.logo-link {
  display: flex;
  align-items: center;
  max-width: 100%;
  text-decoration: none;
}
.logo {
  height: 40px;
  width: auto;
}
@media (min-width: 1024px) {
  .logo { height: 52px; }
}

.header-end { display: none; }
@media (min-width: 1024px) {
  .header-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
    grid-column: 2 / -1;
  }
}
.primary-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--white);
}
.primary-nav a {
  display: block;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover { color: var(--orange); }
.primary-nav a.current {
  color: var(--orange);
  border-bottom-color: var(--orange);
  font-weight: 500;
}

.menu-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

.mobile-panel {
  display: none;
  background: var(--navy);
  color: var(--white);
  padding: 8px 20px 20px;
}
.mobile-panel.open { display: block; }
@media (min-width: 1024px) {
  .mobile-panel { display: none !important; }
}
.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-panel a {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.mobile-panel a.current { color: var(--orange); }

/* Buttons — live coral-to-orange gradient */
a.button,
button.button,
.button-solid {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--button-gradient);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  text-decoration: none;
  text-align: center;
  padding: 12px 22px;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s;
}
a.button:hover,
button.button:hover,
.button-solid:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 8px 18px rgba(245,60,130,.45);
}
a.button:active,
button.button:active,
.button-solid:active { transform: scale(.97); }

.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  font-family: var(--body);
  font-weight: 500;
  text-decoration: none;
  text-align: center;
}
.button-outline:hover { background: rgba(255,255,255,0.12); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

/* Hero — original dawn artwork, navy overlay for type contrast */
.hero {
  position: relative;
  color: var(--white);
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 51, 102, 0.62), rgba(0, 22, 48, 0.72)),
    url("hero-bg.jpg") center / cover no-repeat;
  z-index: -1;
}
.hero-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 64px 24px 72px;
}
.trial-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--navy);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 { margin: 0 0 16px; color: var(--white); }
.hero p { margin: 0 0 12px; }
.hero .lead { max-width: 760px; margin: 0 auto 12px; }
.hero .tagline {
  font-weight: 500;
  margin-bottom: 18px;
}
.hero .support-line {
  color: var(--orange);
  font-weight: 600;
  margin-top: 8px;
}

/* Content sections */
.section { padding: 56px 24px 64px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-inner--wide { max-width: 1200px; }
.kicker {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 8px;
}
.kicker--light { color: var(--gold); }
.section h2 { color: var(--indigo); margin: 0 0 16px; }
.section p { margin: 0 0 12px; }
.section .lead { max-width: 820px; }
.on-dark { color: var(--white); }
.on-dark h2 { color: var(--white); }
.on-dark .kicker { color: var(--gold); }
.on-dark a:not(.button) { color: var(--gold); }

.why { background: var(--white); }
.jobs { background: var(--paper); }
.stay { background: var(--white); }
.businesses { background: var(--light-blue); }
.businesses .kicker { color: var(--steel); }
.businesses .contact-form { border-color: var(--steel); }
.businesses .form-success {
  background: var(--white);
  border: 1px solid var(--steel);
  color: var(--navy);
}
.legal { background: var(--navy); color: var(--white); }
.legal h2 { color: var(--white); }
.legal a:not(.button) { color: var(--gold); }
.stay a:not(.button),
.why a:not(.button),
.jobs a:not(.button):not(.view-btn) {
  color: var(--navy);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fineprint { color: var(--muted); max-width: 820px; }
.fineprint a { color: var(--steel); }
.list {
  margin: 12px 0 20px;
  padding-left: 1.2em;
  max-width: 820px;
}
.list li { margin: 0 0 8px; }

/* Search — mirrors the live /work-fnq keyword + location form */
.search-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 24px 0 8px;
  background: var(--white);
  border: 1px solid #d7ddd4;
  padding: 16px;
  border-radius: 12px;
}
@media (min-width: 720px) {
  .search-bar {
    grid-template-columns: 1fr 1fr auto;
    align-items: end;
    padding: 16px 18px;
  }
}
.search-field { display: flex; flex-direction: column; gap: 6px; }
.search-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--indigo);
}
.search-field input {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.08);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  padding: 12px 14px;
}
.search-field input:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
  background: var(--white);
}
.search-bar .button { min-width: 140px; }

/* Job grid */
.job-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 28px;
}
@media (min-width: 620px) {
  .job-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .job-grid { grid-template-columns: repeat(3, 1fr); }
}
.job-card {
  background: var(--white);
  border: 1px solid #d7ddd4;
  border-radius: 16px;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 2px 8px rgba(0, 51, 102, 0.04);
}
.job-card.is-hidden { display: none; }
.job-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.job-icon {
  width: 28px;
  height: 28px;
  color: var(--navy);
  flex: 0 0 auto;
}
.example-badge {
  display: inline-block;
  background: #FFF6E8;
  color: #8A5A12;
  border: 1px solid var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.sector {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.listing-type { color: var(--green); font-weight: 500; }
.listing-place { color: var(--navy); }
.job-card h3 {
  font-family: var(--head);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--indigo);
}
.peak { font-size: 14px; margin: 0 0 18px; flex: 1 1 auto; }
.view-btn {
  width: 100%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 16px 8px;
}
.view-note {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255,255,255,0.9);
}
.empty-state {
  display: none;
  margin-top: 24px;
  padding: 20px;
  background: var(--white);
  border: 1px dashed #c5cdc0;
  color: var(--muted);
}
.empty-state.is-visible { display: block; }

/* Stay suggestion — backlink to Mossman Exchange */
.stay-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid #d7ddd4;
  overflow: hidden;
  margin-top: 24px;
}
@media (min-width: 800px) {
  .stay-card { grid-template-columns: 1.1fr 1.2fr; align-items: stretch; }
}
.stay-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
@media (min-width: 800px) {
  .stay-card img { height: 100%; min-height: 280px; }
}
.stay-body { padding: 24px 24px 28px; display: flex; flex-direction: column; }
.stay-body .button { align-self: flex-start; margin-top: 12px; }

/* Business contact form — front-end mock only */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 8px;
}
@media (min-width: 880px) {
  .contact-layout { grid-template-columns: 1fr 1fr; align-items: start; }
}
.contact-form {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #cfd8c8;
  display: flex;
  flex-direction: column;
}
.contact-form h3 { margin: 0 0 8px; color: var(--indigo); }
.contact-form .button { align-self: flex-start; margin-top: 4px; }
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 14px;
}
.form-row label {
  font-size: 14px;
  font-weight: 500;
  color: var(--indigo);
}
.form-row input,
.form-row textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.08);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  padding: 12px 14px;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
  background: var(--white);
}
.form-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  background: #eef6e8;
  border: 1px solid #c5ddb5;
  color: #24520c;
  border-radius: 8px;
}
.form-success.is-visible { display: block; }

/* Footer — navy #003366, white type, orange accents */
.site-footer {
  position: relative;
  background-color: var(--navy);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-inner {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 1024px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 56px 48px 64px;
  }
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 1024px) {
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
  }
}
.footer-links a {
  color: var(--white);
  text-decoration: none;
}
.footer-links a:hover { color: var(--orange); }
.footer-note {
  flex-basis: 100%;
  font-size: 13px;
  opacity: 0.9;
  margin: 8px 0 0;
  max-width: 720px;
}
.footer-note a { color: var(--orange); text-decoration: underline; }
@media (min-width: 1024px) {
  .footer-note { text-align: right; margin-left: auto; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
