/* ==========================================================================
   Source Medical Staffing — Global Stylesheet
   Shared design system for every page (header, footer, components, layout).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --navy:          #1c3a5e;   /* primary dark — headings, footer */
  --navy-deep:     #16314f;   /* footer base */
  --navy-soft:     #2a4a72;
  --orange:        #f5a623;   /* bright accent — Apply button */
  --orange-deep:   #e8943a;   /* warm script accent */
  --orange-ink:    #d4801f;

  /* Sticky/scroll header (matches reference) */
  --header-blue:   #a3c8e2;   /* light steel blue header on scroll */
  --header-blue-d: #93bcd9;

  /* Soft card-button fills */
  --blue-soft:     #d8e8f5;
  --blue-soft-ink: #356ca3;
  --peach-soft:    #fce4d6;
  --peach-soft-ink:#cf8a52;
  --gray-soft:     #e7eaef;
  --gray-soft-ink: #5d6b7c;

  /* Neutrals */
  --bg:            #ffffff;
  --bg-tint:       #eef5fb;   /* pale blue section wash */
  --bg-tint-2:     #f5f9fd;
  --text:          #7c8794;   /* body copy */
  --text-dark:     #1c3a5e;
  --line:          #e3e8ee;
  --white:         #ffffff;

  /* Type */
  --f-display: "Montserrat", "Arial Narrow", sans-serif;
  --f-nav:     "Oswald", "Montserrat", sans-serif;
  --f-serif:   "Playfair Display", Georgia, serif;
  --f-script:  "Dancing Script", "Segoe Script", cursive;
  --f-body:    "Lato", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 60px);
  --radius: 6px;
  --shadow-sm: 0 4px 14px rgba(28, 58, 94, .08);
  --shadow-md: 0 14px 40px rgba(28, 58, 94, .14);
  --t: .28s cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0 0 .4em;
  color: var(--text-dark);
  font-family: var(--f-serif);
  font-weight: 700;
  line-height: 1.2;
}

p { margin: 0 0 1.1em; }

/* Accessibility helpers */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 6px;
  font-weight: 700; transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tint   { background: var(--bg-tint); }
.section--tint-2 { background: var(--bg-tint-2); }

.eyebrow-script {
  font-family: var(--f-script);
  font-weight: 700;
  color: var(--orange-deep);
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1;
  margin-bottom: .15em;
  display: inline-block;
}
.eyebrow-script::after {
  content: "";
  display: block;
  width: 84px;
  height: 2px;
  background: var(--orange-deep);
  opacity: .5;
  margin-top: .35em;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  padding: .72em 1.4em;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
}
.btn .arrow { transition: transform var(--t); }
.btn:hover  { transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--apply  { background: var(--orange); color: #fff; text-transform: uppercase; letter-spacing: .08em; box-shadow: 0 6px 18px rgba(245,166,35,.35); }
.btn--apply:hover { background: var(--orange-ink); }

.btn--blue   { background: var(--blue-soft);  color: var(--blue-soft-ink); }
.btn--peach  { background: var(--peach-soft); color: var(--peach-soft-ink); }
.btn--gray   { background: var(--gray-soft);  color: var(--gray-soft-ink); }
.btn--peach:hover, .btn--blue:hover, .btn--gray:hover { box-shadow: var(--shadow-sm); }

.btn--ghost-peach { background: var(--peach-soft); color: var(--peach-soft-ink); }
.btn--navy   { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-soft); }
.btn--lg { font-size: .9rem; padding: .9em 1.7em; }

/* --------------------------------------------------------------------------
   5. Header / Navigation
   Top of page  → near-white bar, navy bold nav, ORANGE active item (ref img 3)
   On scroll    → solid white bar, navy nav, compact
   Applies to every page; home uses a fixed overlay variant.
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fbfbfc;
  box-shadow: 0 1px 0 rgba(28, 58, 94, .06);
  padding-block: 30px;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
/* Home: transparent overlay sitting directly on the banner — no bar.
   Navy logo + navy nav read cleanly over the light hero sky. */
.site-header--transparent {
  position: fixed;
  left: 0; right: 0; top: 0;
  background: transparent;
  box-shadow: none;
}

/* ----- Scrolled state (every page) — solid WHITE bar, navy nav, compact ----- */
.site-header.is-scrolled {
  background: #fff;
  box-shadow: 0 6px 22px rgba(28, 58, 94, .14);
  padding-block: 15px;
}
.site-header.is-scrolled .nav-links > a { color: var(--navy); }
.site-header.is-scrolled .nav-links > a:hover { color: var(--orange-ink); }
.site-header.is-scrolled .nav-links > a[aria-current="page"] { color: var(--orange); }
.site-header.is-scrolled .nav-links > a::after { background: var(--orange); }
.site-header.is-scrolled .nav-links > a:hover::after { width: 100%; }
.site-header.is-scrolled .brand { color: var(--navy); }
.site-header.is-scrolled .nav-toggle span { background: var(--navy); }
/* close (X) must stay white over the navy mobile drawer in any header state */
.site-header .nav-toggle.is-open span { background: #fff; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(30px, 4.5vw, 92px);   /* clear breathing space AFTER the logo */
  flex-wrap: nowrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--navy);
  font-family: var(--f-display);
  font-size: 1.42rem;
  font-weight: 400;
  letter-spacing: .005em;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: transform var(--t);
}
.brand:hover { transform: translateY(-1px); }
.brand img, .brand svg { width: 48px; height: 48px; flex: none; transition: width .35s ease, height .35s ease; }
.site-header.is-scrolled .brand img { width: 40px; height: 40px; }
.brand b { font-weight: 700; }
.brand span { font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: clamp(24px, 2.8vw, 56px);  /* generous, even gap between menu items */
}
.nav-links > a {
  color: var(--navy);
  font-family: var(--f-nav);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  padding-block: 6px;
  transition: color var(--t);
}
.nav-links > a:hover { color: var(--orange-ink); }
/* active page = solid orange (ref img 3 — "TRAVELER") */
.nav-links > a[aria-current="page"] { color: var(--orange); }
.nav-links > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width var(--t);
}
.nav-links > a:hover::after { width: 100%; }

.nav-cta { margin-left: 8px; }
.nav-cta .btn--apply {
  border-radius: 999px;
  padding: .82em 1.85em;
  font-family: var(--f-nav);
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: .07em;
}

/* hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
  z-index: 70;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 26px;
  background: var(--navy);
  margin-inline: auto;
  transition: transform var(--t), opacity var(--t), background var(--t);
}
.nav-toggle.is-open span { background: #fff; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding-top: clamp(110px, 16vh, 150px);
  overflow: hidden;
}
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1600 / 1080;   /* show the FULL photo — full width, no cropping */
  min-height: 460px;            /* floor so the banner never gets too short on phones */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding-top: clamp(128px, 17vh, 178px);
  overflow: hidden;
  isolation: isolate;
}
.hero > .container { position: relative; z-index: 4; max-width: 940px; }
.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;          /* aspect-ratio matches the image, so cover == full image, no crop */
  object-position: center;
  width: 100%; height: 100%;
  z-index: 0;
}

/* drifting cloud layer — real cloud PNGs passing across the sky */
.hero__clouds { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.cloud { position: absolute; left: 0; height: auto; will-change: transform; }
.cloud--1 { width: 42%; top: 5%;  opacity: .85; animation: drift 66s linear infinite; animation-delay: -10s; }
.cloud--2 { width: 26%; top: 20%; opacity: .55; animation: drift 92s linear infinite; animation-delay: -52s; }
.cloud--3 { width: 54%; top: -4%; opacity: .68; animation: drift 78s linear infinite; animation-delay: -34s; }
.cloud--4 { width: 22%; top: 28%; opacity: .48; animation: drift 106s linear infinite; animation-delay: -72s; }
@keyframes drift { from { transform: translateX(-62vw); } to { transform: translateX(165vw); } }

.hero__title { animation: heroUp .9s cubic-bezier(.2,.7,.2,1) both; }
.hero__script { animation: heroUp 1s cubic-bezier(.2,.7,.2,1) .18s both; }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,32,56,.34) 0%, rgba(16,32,56,.10) 38%, rgba(16,32,56,.04) 60%, rgba(16,32,56,.18) 100%);
  z-index: 2;
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.7rem, 8vw, 5.6rem);
  line-height: .96;
  letter-spacing: .005em;
  color: #fff;
  text-shadow: 0 4px 30px rgba(10,22,40,.40), 0 1px 3px rgba(10,22,40,.25);
  margin: 0;
}
.hero__script {
  font-family: var(--f-script);
  font-weight: 700;
  color: var(--orange);
  font-size: clamp(2.1rem, 5.6vw, 3.7rem);
  line-height: 1.05;
  margin-top: .22em;
  text-shadow: 0 3px 18px rgba(10,22,40,.32);
}
/* circular "adventure awaits" stamp */
.hero__badge {
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  bottom: 60px;
  width: 118px; height: 118px;
  opacity: .92;
  z-index: 3;
  animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* zigzag band at base of hero */
.hero__zigzag {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 26px;
  background: repeating-linear-gradient(135deg, rgba(20,30,45,.55) 0 8px, rgba(20,30,45,.2) 8px 16px);
  z-index: 3;
}

/* --------------------------------------------------------------------------
   7. Quick-link cards (home, 3-up)
   -------------------------------------------------------------------------- */
.quicklinks { background: #fff; }
.quicklinks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 5vw, 60px);
  text-align: center;
}
.qcard { display: flex; flex-direction: column; align-items: center; }
.qcard__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-tint);
  margin-bottom: 18px;
  transition: transform var(--t), background var(--t);
}
.qcard:hover .qcard__icon { transform: translateY(-4px); background: #e2eefa; }
.qcard__icon svg { width: 28px; height: 28px; stroke: var(--navy); }
.qcard h3 {
  font-family: var(--f-serif);
  font-size: 1.5rem;
  margin-bottom: .35em;
}
.qcard p { font-size: .92rem; margin-bottom: 1.2em; }

/* --------------------------------------------------------------------------
   8. Split feature rows (Travelers / Healthcare Facilities)
   -------------------------------------------------------------------------- */
.feature {
  position: relative;
  background: #ffffff;
}
.feature__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
}
.feature--reverse .feature__media { order: -1; }
/* give the imagery more room than the copy for visual impact */
.feature--travelers  .feature__inner { grid-template-columns: 0.82fr 1.18fr; }
.feature--facilities .feature__inner { grid-template-columns: 1.18fr 0.82fr; }
.feature__body h3 {
  font-family: var(--f-serif);
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  color: var(--navy);
  margin-bottom: .75em;
}
.feature__media img { border-radius: var(--radius); }

/* photo collage (healthcare facilities) — scattered masonry matching the design */
.collage {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 585 / 495;
  margin-inline: auto;
}
.feature--facilities .feature__media { display: flex; justify-content: center; }
.collage img {
  position: absolute;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(28,58,94,.14);
}
.collage__workers { left: 0%;  top: 16%; width: 41%; height: 73%; }
.collage__hands   { left: 44%; top: 0%;  width: 30%; height: 55%; }
.collage__heart   { left: 77%; top: 28%; width: 23%; height: 25%; }
.collage__selfie  { left: 43%; top: 57%; width: 43%; height: 43%; }

/* ---- Travelers scattered flatlay (transparent PNG objects) ------------- */
.flatlay {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 5;
  max-width: 720px;
  margin-inline: auto;
}
.fl { position: absolute; filter: drop-shadow(0 20px 30px rgba(28,58,94,.22)); }
.fl--phone    { width: 50%; top: 5%;  left: 12%; z-index: 3; transform: rotate(-10deg); animation: floatA 7s ease-in-out infinite; }
.fl--succulent{ width: 21%; top: 1%;  left: 52%; z-index: 4; animation: floatB 6s ease-in-out infinite .4s; }
.fl--coffee   { width: 34%; top: 17%; right: 0%; z-index: 4; animation: floatA 6.6s ease-in-out infinite .8s; }
.fl--keys     { width: 29%; bottom: 6%; left: 10%; z-index: 5; animation: floatB 7.4s ease-in-out infinite .2s; }
.fl--glasses  { width: 37%; bottom: 2%; left: 47%; z-index: 5; transform: rotate(6deg); animation: floatA 8s ease-in-out infinite .6s; }
@keyframes floatA { 0%,100% { transform: translateY(0) rotate(-10deg); } 50% { transform: translateY(-12px) rotate(-10deg); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
/* the rotated ones need their own keyframes to preserve rotation */
.fl--coffee   { animation-name: floatPlain; }
.fl--keys     { animation-name: floatPlain; }
.fl--succulent{ animation-name: floatPlain; }
.fl--glasses  { animation-name: floatGlasses; }
@keyframes floatPlain  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
@keyframes floatGlasses{ 0%,100% { transform: translateY(0) rotate(6deg); } 50% { transform: translateY(-13px) rotate(6deg); } }

/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep) url("../images/shared/footer-bg.jpg") top left repeat;
  background-size: 360px 360px;
  color: #c7d3e2;
  padding-top: clamp(48px, 6vw, 72px);
  font-size: .92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.2fr;
  gap: clamp(28px, 5vw, 56px);
  padding-bottom: 42px;
}
.footer__col a { display: block; padding-block: 7px; color: #c7d3e2; font-family: var(--f-serif); font-size: 1rem; transition: color var(--t), padding-left var(--t); }
.footer__col a:hover { color: #fff; padding-left: 5px; }

.footer__cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.footer__cta-row .btn { text-transform: none; letter-spacing: .02em; font-size: .9rem; padding: .85em 1.5em; border-radius: 4px; }
.footer__contact { display: flex; gap: 16px; align-items: flex-start; }
.footer__contact .logo { width: 42px; height: 42px; flex: none; }
.footer__contact address { font-style: normal; line-height: 1.6; font-size: .88rem; overflow-wrap: anywhere; }
.footer__contact address a:hover { color: #fff; }
.footer__social { display: flex; gap: 12px; margin-top: 12px; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.footer__social a:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; fill: #fff; }

/* outlined button (footer "Request Staff") */
.btn--outline { background: transparent; color: #fff; border: 1.5px solid var(--orange); }
.btn--outline:hover { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(245,166,35,.3); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .8rem;
  color: #93a4ba;
}
.footer__bottom a { color: #c7d3e2; }
.footer__bottom a:hover { color: #fff; }
.footer__seal { width: 58px; height: 58px; flex: none; }

/* --------------------------------------------------------------------------
   10. Inner-page hero band (shared by sub-pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: clamp(96px, 14vw, 150px) 0 clamp(48px, 7vw, 72px);
  position: relative;
}
.page-hero__script {
  font-family: var(--f-script);
  color: var(--orange);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  display: block;
  margin-bottom: .1em;
}
.page-hero h1 {
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2rem, 6vw, 3.6rem);
  letter-spacing: .01em;
}
.page-hero p { color: #c7d3e2; max-width: 640px; margin-inline: auto; }
.breadcrumb { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #9fb3cc; margin-top: 14px; }
.breadcrumb a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   11. Generic content blocks for inner pages
   -------------------------------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); margin-top: 1.4em; }
.prose h3 { font-size: 1.25rem; color: var(--navy); margin-top: 1.2em; }
.prose ul { margin: 0 0 1.2em; }
.prose li { position: relative; padding-left: 26px; margin-bottom: .6em; list-style: none; }
.prose li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card .num { font-family: var(--f-display); font-weight: 800; color: var(--orange); font-size: 1.1rem; letter-spacing: .1em; }
.value-card h3 { font-family: var(--f-serif); color: var(--navy); font-size: 1.25rem; margin: .35em 0; }
.value-card p { font-size: .92rem; margin: 0; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 28px;
  text-align: center;
}
.stat { padding: 12px; }
.stat b { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3rem); color: var(--orange); line-height: 1; }
.stat span { font-size: .9rem; color: var(--text); }

/* --------------------------------------------------------------------------
   12. Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 4vw, 48px);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--navy); letter-spacing: .03em; }
.field input,
.field select,
.field textarea {
  font-family: var(--f-body);
  font-size: .95rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-tint-2);
  color: var(--text-dark);
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(245,166,35,.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--text); margin-top: 4px; }
.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: #e6f6ec;
  color: #1f7a44;
  font-weight: 600;
  font-size: .9rem;
}
.form-success.show { display: block; }

/* --------------------------------------------------------------------------
   13. Job search
   -------------------------------------------------------------------------- */
.job-toolbar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 14px;
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 36px;
}
.job-list { display: grid; gap: 18px; }
.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.job-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.job-card h3 { font-family: var(--f-serif); color: var(--navy); font-size: 1.2rem; margin: 0 0 4px; }
.job-card .meta { font-size: .85rem; color: var(--text); display: flex; gap: 16px; flex-wrap: wrap; }
.job-card .meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-card .pay { font-family: var(--f-display); font-weight: 700; color: var(--navy); white-space: nowrap; }

/* --------------------------------------------------------------------------
   14. Reveal-on-scroll animation
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   16. Inner-page sections (About / Traveler / Request Staff / Contact)
   ========================================================================== */

/* Light-blue banner with text + image collage */
.page-banner {
  position: relative;
  background: linear-gradient(115deg, #e3eefb 0%, #eef5fc 55%, #f4f9fd 100%);
  overflow: hidden;
}
.page-banner__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  padding-block: clamp(48px, 7vw, 86px);
}
.page-banner--center { text-align: center; }
.page-banner--center .page-banner__inner { display: block; padding-block: clamp(40px, 6vw, 72px); }
.banner-script {
  font-family: var(--f-script);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.08;
  margin: 0 0 .35em;
  display: inline-block;
}
.banner-script--center { color: var(--navy); }
.page-banner p { color: #5d7088; font-size: .96rem; max-width: 560px; }
.btn--bannerblue { background: #3b82c4; color: #fff; border-radius: var(--radius); }
.btn--bannerblue:hover { background: #2f6ba6; }

/* banner image collage (scattered) */
.banner-collage { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1 / 0.86; margin-inline: auto; }
.banner-collage img { position: absolute; object-fit: cover; border-radius: 6px; box-shadow: 0 12px 30px rgba(28,58,94,.18); }
.banner-badge { position: absolute; width: 86px; height: 86px; z-index: 6; }

/* request-staff collage placement */
.rs-doctor { left: 0;   top: 6%;  width: 40%; height: 80%; z-index: 3; }
.rs-glasses{ left: 43%; top: 0;   width: 34%; height: 40%; z-index: 4; }
.rs-tablet { left: 79%; top: 6%;  width: 21%; height: 33%; z-index: 4; }
.rs-child  { left: 43%; top: 44%; width: 47%; height: 50%; z-index: 4; }
.rs-badge  { left: 30%; bottom: -6%; }

/* traveler collage placement */
.tv-compass  { left: 0;   top: 6%;  width: 33%; height: 82%; z-index: 4; }
.tv-handshake{ left: 36%; top: 0;   width: 48%; height: 46%; z-index: 3; }
.tv-bridge   { left: 36%; top: 50%; width: 48%; height: 44%; z-index: 3; }
.tv-heart    { left: 86%; top: 50%; width: 16%; height: 30%; z-index: 5; }
.tv-badge    { left: 24%; bottom: -4%; }

/* "Do you need staff" / generic icon grid */
.icongrid-head { text-align: center; max-width: 560px; margin: 0 auto clamp(36px, 5vw, 56px); }
.icongrid-head h2 { font-family: var(--f-serif); color: var(--navy); font-size: clamp(1.5rem, 3vw, 2rem); }
.icongrid-head .u { border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.icongrid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px) clamp(40px, 6vw, 80px); max-width: 860px; margin-inline: auto; }
.icongrid__item { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.icongrid__item svg { width: 30px; height: 30px; stroke: var(--navy); fill: none; flex: none; }
.icongrid__item h3 { font-family: var(--f-serif); color: var(--navy); font-size: 1.25rem; margin: 0 0 .25em; }
.icongrid__item p { margin: 0; font-size: .92rem; }

/* Traveling perks (checkmark grid) */
.perks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 44px) clamp(40px, 6vw, 80px); max-width: 820px; margin-inline: auto; }
.perk { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.perk .tick { color: var(--orange); font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.perk h3 { font-family: var(--f-serif); color: var(--navy); font-size: 1.2rem; margin: 0 0 .2em; }
.perk p { margin: 0; font-size: .92rem; }

/* Benefits carousel — responsive sliding track with center emphasis */
.carousel { position: relative; max-width: 1080px; margin-inline: auto; padding-inline: 8px; }
.carousel__viewport { overflow: hidden; padding: 14px 4px 6px; }
.carousel__track {
  display: flex;
  gap: 24px;
  transition: transform .45s cubic-bezier(.4, .14, .3, 1);
  will-change: transform;
}
.benefit-card {
  flex: 0 0 calc((100% - 48px) / 3);   /* 3 per view, two 24px gaps */
  box-sizing: border-box;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 40px 28px; text-align: center; border: 1px solid var(--line);
  transition: box-shadow .35s ease, transform .35s ease;
}
.benefit-card.is-active { box-shadow: 0 18px 44px rgba(28,58,94,.16); transform: translateY(-10px); position: relative; z-index: 2; }
.benefit-card__icon { width: 78px; height: 78px; border-radius: 50%; background: var(--peach-soft); display: grid; place-items: center; margin: 0 auto 22px; }
.benefit-card__icon--blue  { background: #dbe7fb; }
.benefit-card__icon--green { background: #e7efe5; }
.benefit-card__icon--tan   { background: #f3e9df; }
.benefit-card__icon svg { width: 34px; height: 34px; stroke: var(--navy); fill: none; }
.benefit-card__icon--blue svg  { stroke: #2f6fd0; }
.benefit-card__icon--green svg { stroke: #5e7d56; }
.benefit-card h3 { font-family: var(--f-serif); color: var(--navy); font-size: 1.3rem; margin: 0 0 .5em; }
.benefit-card p { margin: 0; font-size: .94rem; line-height: 1.6; }
.carousel__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 1.3rem; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background var(--t), opacity var(--t); z-index: 4; }
.carousel__nav:hover { background: var(--bg-tint); }
.carousel__nav:disabled { opacity: .35; cursor: default; }
.carousel__nav--prev { left: -14px; }
.carousel__nav--next { right: -14px; }
.carousel__dots { display: flex; gap: 9px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.carousel__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #c7d3e2; cursor: pointer; padding: 0; transition: background var(--t), transform var(--t); }
.carousel__dots button.is-active { background: var(--navy); transform: scale(1.25); }

/* Resources (navy) */
.resources { background: var(--navy-deep); color: #c7d3e2; }
.resources .banner-script, .resources h2.script { color: #fff; text-align: center; display: block; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 48px) clamp(36px, 5vw, 64px); margin-top: clamp(32px, 4vw, 48px); }
.resource { border-left: 1px solid rgba(255,255,255,.16); padding-left: 22px; }
.resource a.title { font-family: var(--f-serif); color: #7fc6a0; font-size: 1.15rem; display: inline-flex; align-items: center; gap: 6px; transition: color var(--t); }
.resource a.title:hover { color: #a9e3c2; }
.resource a.title .ext { font-size: .82em; opacity: .8; }
.resource a.title:hover .ext { opacity: 1; }
.resource p { font-size: .88rem; margin: .4em 0 0; color: #aebccd; }

/* FAQ accordion */
.faq { max-width: 760px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--f-serif); color: var(--navy); font-size: 1.12rem; }
.faq__q::after { content: "⌄"; position: absolute; right: 6px; top: 50%; transform: translateY(-60%); font-size: 1.2rem; color: var(--navy); transition: transform var(--t); }
.faq__item.is-open .faq__q::after { transform: translateY(-30%) rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a p { margin: 0 0 .85em; font-size: .94rem; line-height: 1.65; }
.faq__a p:first-child { padding-top: 2px; }
.faq__a p:last-child { margin-bottom: 22px; }
.faq__a strong { color: var(--navy); }

/* Leadership */
.leadership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); max-width: 920px; margin-inline: auto; }
.leader img { width: 100%; aspect-ratio: 1 / 1.04; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow-sm); }
.leader h3 { font-family: var(--f-serif); color: var(--navy); font-size: 1.4rem; margin: 22px 0 .4em; }
.leader p { font-size: .9rem; }

/* Our Beliefs (orange) */
.beliefs { position: relative; text-align: center; color: #fff; overflow: hidden; }
.beliefs::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(224,124,52,.92), rgba(224,124,52,.92)), center/cover no-repeat; background-image: linear-gradient(rgba(224,124,52,.9), rgba(224,124,52,.9)), url("../images/about/beliefs-bg.jpg"); z-index: 0; }
.beliefs > * { position: relative; z-index: 1; }
.beliefs .banner-script { color: #fff; }
.beliefs p { color: rgba(255,255,255,.95); max-width: 620px; margin-inline: auto; }
.beliefs .heart { font-size: 1.6rem; }

/* Our Mission */
.mission { position: relative; text-align: center; overflow: hidden; }
.mission::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.86), rgba(255,255,255,.92)), url("../images/about/beliefs-bg.jpg") center/cover no-repeat; z-index: 0; }
.mission > * { position: relative; z-index: 1; }
.mission h2 { font-family: var(--f-serif); color: var(--navy); font-size: clamp(1.4rem, 3vw, 1.9rem); }
.mission .u { width: 60px; height: 2px; background: var(--orange); margin: .4em auto 1.2em; }
.mission p { max-width: 540px; margin-inline: auto; }
.mission .heart, .beliefs .heart { display: inline-block; color: var(--navy); margin-bottom: .4em; }
.beliefs .heart { color: #fff; }

/* full-width image strip */
.image-strip { width: 100%; max-height: 360px; overflow: hidden; }
.image-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* honeypot */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* split 2-column layout (Our Why / Our Story / Contact) */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.split2--top { align-items: start; }
.split2__lead { font-family: var(--f-serif); color: var(--navy); font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.3; margin: .25em 0 .8em; }
.split2__img { width: 100%; border-radius: 8px; box-shadow: var(--shadow-md); display: block; }

.banner-script--orange { color: var(--orange-deep); }

/* generic form rows (Contact / Request Staff) */
.form-row { margin-bottom: 16px; }
.form-row label { display: flex; flex-direction: column; gap: 7px; font-size: .82rem; font-weight: 700; color: var(--navy); letter-spacing: .03em; }
.form-row label.sr-lbl { gap: 0; font-size: 0; }
.form-row input, .form-row select, .form-row textarea {
  font-family: var(--f-body); font-size: .95rem; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-tint-2);
  color: var(--text-dark); transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(245,166,35,.18);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-card--plain { background: #f4f6fa; box-shadow: none; }
.form-card__title { text-align: center; font-family: var(--f-serif); color: var(--navy); font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 .2em; }
.form-card__sub { text-align: center; color: #6c7f96; font-size: .95rem; margin: 0 0 1.8em; }
.form-card__sub a { color: var(--orange-ink); }
.u-teal { border-bottom: 3px solid #2f9e95; padding-bottom: 1px; }
.contact-name { font-family: var(--f-serif); color: var(--navy); font-size: 1.18rem; }
.contact-addr { font-style: normal; line-height: 2; font-size: .92rem; color: #5d7088; }
.contact-addr a { color: var(--orange-ink); }
.contact-addr a:hover { color: var(--navy); }


/* --------------------------------------------------------------------------
   15. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .feature__inner,
  .feature--travelers .feature__inner,
  .feature--facilities .feature__inner { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
  .feature--facilities .feature__body { order: -1; }
  .collage { max-width: 560px; margin-inline: auto; }
  .flatlay { max-width: 560px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .job-toolbar { grid-template-columns: 1fr 1fr; }

  /* inner-page sections */
  .page-banner__inner { grid-template-columns: 1fr; }
  .banner-collage { order: -1; max-width: 420px; }
  .page-banner .reveal:first-child { text-align: left; }
  .split2 { grid-template-columns: 1fr; }
  .icongrid { grid-template-columns: 1fr; max-width: 520px; }
  .perks-grid { grid-template-columns: 1fr; max-width: 520px; }
  .resource-grid { grid-template-columns: 1fr 1fr; }
  .leadership-grid { grid-template-columns: 1fr; max-width: 460px; }
  .benefit-card { flex-basis: calc((100% - 24px) / 2); }  /* 2 per view */
}

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 320px);
    flex: none;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--navy);
    padding: 96px 32px 32px;
    transform: translateX(105%);
    transition: transform var(--t);
    box-shadow: -10px 0 40px rgba(0,0,0,.3);
    z-index: 60;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links > a { width: 100%; color: #fff; font-size: .95rem; padding-block: 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links > a:hover { color: var(--orange); }
  .nav-cta { width: 100%; }
  .nav-cta .btn { width: 100%; justify-content: center; margin-top: 12px; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(10,20,35,.5);
    opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t); z-index: 55;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

@media (max-width: 700px) {
  .quicklinks__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .job-toolbar { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .resource-grid { grid-template-columns: 1fr; }
  .carousel__track { gap: 16px; }
  .benefit-card { flex-basis: 100%; }   /* 1 per view */
  .carousel__nav--prev { left: -6px; }
  .carousel__nav--next { right: -6px; }
  .image-strip { max-height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
