/* escapethiscareers.com.au — the old Duda site's look: black bands with torn grunge edges, condensed caps headings,
   Escape This red. Fonts: Bebas Neue stands in for Duda's licensed "Sailors" faces, Roboto Light for body text. */
:root {
  --bg: #000;
  --ink: #fff;
  --muted: #c9c9c9;
  --red: #c6202f;
  --red-bright: #e1293a;
  --display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; margin: 0 0 .4em; }
h2 { font-size: clamp(30px, 4.4vw, 44px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; position: relative; }
.wrap.narrow, .narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.kicker, .eyebrow { font-family: var(--display); color: var(--red-bright); text-transform: uppercase; letter-spacing: .04em; font-size: 20px; margin: 0 0 .3em; }
.btn { display: inline-block; font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--red-bright); border: 2px solid #fff; border-radius: 999px; padding: 8px 34px; text-decoration: none; font-size: 18px; }
.btn:hover, .btn:focus-visible { background: var(--red); color: #fff; border-color: var(--red); }

/* header: menu either side of the logo, as on the old site */
.site-header { background: #000; position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: center; gap: 32px; padding: 14px 16px; }
.nav-side { display: flex; gap: 26px; }
.nav-side a { font-family: var(--display); font-size: 19px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.nav-side a[aria-current="page"], .nav-side a:hover { border-color: #fff; }
.brand img { width: 150px; }
.menu-toggle { display: none; }

/* hero */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: center; text-align: center; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.45)); z-index: -1; }
.hero .wrap { width: 100%; padding-top: 60px; padding-bottom: 90px; }
.hero h1 { font-size: clamp(46px, 8vw, 92px); text-shadow: 0 4px 18px rgba(0,0,0,.6); margin-bottom: .1em; }
.hero .eyebrow { margin-bottom: .6em; text-shadow: 0 2px 8px rgba(0,0,0,.9); }
.hero .sub { font-family: var(--display); text-transform: uppercase; font-size: clamp(18px, 2.4vw, 26px); letter-spacing: .03em; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.hero-banner .sub { color: var(--red-bright); text-shadow: 0 1px 3px #000, 0 0 16px rgba(0,0,0,.9); }
.hero-worlds { min-height: 460px; }
.hero-worlds .sub { color: var(--red-bright); }
.crumbs ol { list-style: none; display: flex; justify-content: center; gap: 8px; padding: 0; margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 8px; }
.crumbs a { text-decoration: none; }
.grunge { position: absolute; left: 0; right: 0; line-height: 0; pointer-events: none; z-index: 1; }
.grunge.bottom { bottom: -1px; }
.grunge.top { top: -1px; }
.grunge img { width: 100%; height: 60px; object-fit: fill; }
.summary { padding-top: 22px; }
.tldr { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 14px; text-align: center; }
.tldr strong { color: #fff; }

/* sections */
section { position: relative; padding: 64px 0; isolation: isolate; }
section.has-bg { padding: 110px 0; }
section .bg { position: absolute; inset: 0; z-index: -1; }
section .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
section.has-bg::before, section.has-bg::after { content: ""; position: absolute; left: 0; right: 0; height: 60px; background: url(../img/grunge-top-960.webp) center/100% 100% no-repeat; z-index: 0; }
section.has-bg::before { top: -1px; }
section.has-bg::after { bottom: -1px; background-image: url(../img/grunge-bottom-960.webp); }
.text-block .wrap { max-width: 740px; text-align: center; }
.text-block .copy { text-align: justify; color: #e8e8e8; }
.text-block.wide .wrap { max-width: 1000px; }
.text-block.wide .copy { text-align: left; }
.text-block .accent, .text-block .kicker { font-family: var(--display); color: var(--red-bright); text-transform: uppercase; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.1; }
.text-block.wide .kicker { font-size: 20px; }
.promise { text-align: right; font-size: clamp(30px, 4vw, 40px); }
.promise span { display: block; }
.promise .red-first { color: var(--red-bright); }
.promise em { font-style: normal; color: var(--red-bright); }
.copy a { color: #fff; }

.values { text-align: center; }
.values .intro { max-width: 720px; margin: 0 auto 36px; font-size: 15px; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value { padding: 0 18px; border-left: 1px solid rgba(255,255,255,.6); }
.value:first-child { border-left: 0; }
.value h3 { font-size: 22px; }
.value img { width: 84px; margin: 6px auto 12px; }
.value .line { font-family: var(--display); text-transform: uppercase; font-size: 18px; line-height: 1.15; margin-bottom: .4em; }
.value .small { font-size: 12px; color: var(--muted); }

.teams { text-align: center; }
.team { margin: 26px auto 0; max-width: 700px; }
.team-1 { transform: translateX(6%); }
.team-0, .team-2 { transform: translateX(-6%); }

.quotes .wrap { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: start; }
.quotes h2 { text-align: right; font-size: 32px; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.quote { margin: 0; text-align: center; font-size: 13px; }
.quote .zig { display: block; width: 36px; height: 8px; margin: 0 auto 10px; background: linear-gradient(135deg, transparent 50%, var(--red) 50%) 0 0/9px 8px repeat-x; }
.quote blockquote { margin: 0 0 12px; }
.quote figcaption { font-weight: 700; }

.posters { text-align: center; }
.poster-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 900px; margin: 28px auto 0; }
.poster-grid img { width: 100%; transition: transform .2s; }
.poster-grid a:hover img { transform: scale(1.04); }

.keys { text-align: center; }
.keys dl { max-width: 720px; margin: 0 auto; }
.keys dt { font-family: var(--display); color: var(--red-bright); text-transform: uppercase; font-size: 20px; margin-top: 18px; }
.keys dd { margin: 0; font-size: 14px; }

.jobs .wrap, .job-page .wrap { max-width: 900px; }
.jobs .kicker { text-align: center; margin-top: 40px; }
.jobs h2, .job-page h2 { text-align: center; }
.accordion details { border-bottom: 1px solid rgba(255,255,255,.6); }
.accordion summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 12px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 28px; font-weight: 300; }
.accordion details[open] summary::after { content: "–"; }
.accordion summary h3 { margin: 0; font-size: 24px; }
.job { padding: 4px 16px 22px; font-size: 15px; color: #e8e8e8; }
.job ul { padding-left: 20px; margin: 0 0 1em; }
.job h3 { color: var(--red-bright); margin-top: 1.2em; }
.job a { color: #fff; }
.job-page .job { padding: 0; }

.cta { text-align: center; }
.cta h2 { color: var(--red-bright); font-size: clamp(24px, 3vw, 30px); }
.cta a { color: #fff; }

/* questions */
.qa-section, .faq-page { border-top: 1px solid rgba(255,255,255,.12); }
.qa-section h2 { text-align: center; }
.qa { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.qa h3 { font-size: 22px; margin-bottom: .3em; }
.qa h3 a { text-decoration: none; }
.qa h3 a:hover { color: var(--red-bright); }
.qa .answer { margin: 0; color: #e0e0e0; }
.more { text-align: center; margin-top: 24px; }
.more a { color: var(--red-bright); }
.toc { display: grid; gap: 18px; margin-bottom: 30px; font-size: 14px; }
.toc-h { font-family: var(--display); text-transform: uppercase; font-size: 20px; margin: 0; }
.toc-h a { color: var(--red-bright); text-decoration: none; }
.toc ol { margin: 4px 0 0; padding-left: 20px; }
.toc li a { text-decoration: none; color: var(--muted); }
.qa-group { padding-top: 26px; }
.qa-group > h2 { color: var(--red-bright); }

/* footer */
.site-footer { padding: 46px 0 0; border-top: 1px solid rgba(255,255,255,.12); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.contact h2 { color: var(--red-bright); font-size: 22px; margin: 0; }
.contact a { font-size: 14px; }
.social { list-style: none; display: flex; gap: 18px; padding: 0; margin: 0 0 0 auto; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; padding: 26px 16px 10px; font-size: 13px; color: var(--muted); }
.footer-links a { text-decoration: none; }
.legal { border-top: 1px solid rgba(255,255,255,.3); margin: 14px 0 0; padding: 12px 16px; text-align: center; font-family: var(--display); letter-spacing: .06em; font-size: 15px; }

@media (max-width: 860px) {
  .menu-toggle { display: block; margin: 10px 16px; background: none; color: #fff; border: 1px solid #fff; border-radius: 6px; padding: 6px 12px; font: inherit; }
  .nav { flex-direction: column; gap: 8px; padding-top: 0; }
  .nav .brand { order: -1; }
  .nav-side { display: none; flex-direction: column; align-items: center; gap: 8px; }
  .nav.open .nav-side { display: flex; }
  .site-header { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: flex-start; }
  .brand img { width: 110px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .value:nth-child(3) { border-left: 0; }
  .quotes .wrap { grid-template-columns: 1fr; }
  .quotes h2 { text-align: center; }
  .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .poster-grid { grid-template-columns: repeat(3, 1fr); }
  .team-0, .team-1, .team-2 { transform: none; }
  .promise { text-align: center; }
}
@media (max-width: 520px) {
  .quote-grid { grid-template-columns: 1fr; }
  .poster-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .text-block .copy { text-align: left; }
  .social { margin: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .poster-grid img { transition: none; } }

/* A filled role keeps its page: the ad is dimmed under a rubber-stamp "Vacancy filled" (Bernie, thread 043505599a). */
.job.filled { position: relative; }
.job.filled .filled-ad { opacity: .45; filter: grayscale(1); }
.stamp {
  position: absolute; z-index: 2; top: 120px; left: 50%; margin: 0;
  transform: translateX(-50%) rotate(-14deg);
  padding: .12em .45em; border: 8px double var(--red-bright); border-radius: 10px;
  font-family: var(--display); font-size: clamp(36px, 10.5vw, 128px); line-height: 1; letter-spacing: .04em;
  text-transform: uppercase; white-space: nowrap; color: var(--red-bright); background: rgba(0, 0, 0, .55);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, .55);
  -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 60%, rgba(0, 0, 0, .78) 61%, #000 75%), repeating-linear-gradient(115deg, #000 0 3px, rgba(0, 0, 0, .82) 3px 5px);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  pointer-events: none;
}
@media (max-width: 760px) { .stamp { top: 80px; border-width: 6px; } }
