/* Work Local Forest Row. Architectural and calm, after tekt.com.au: pale grey-blue
   ground, hairline frames with square corner handles, a label column and a content
   column, real Ashdown Forest photographs. Glass appears only where the header and
   search sit over a photo. One accent, salmon from the Ferris Creative logo, for focus,
   pay and featured jobs.
   Type is technical: Geist for reading, Geist Mono in small capitals for every label,
   figure and annotation, like the notes on an architect's drawing. */

@font-face { font-family: "Geist"; src: url(/assets/fonts/geist.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/assets/fonts/geist-mono.woff2) format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }

:root {
  --ground: #e7ebee;
  --ground-2: #dde3e8;
  --steel: #c8d2da;
  --steel-2: #b7c3cd;
  --ink: #1c2420;
  --ink-2: #3a4540;
  --muted: #4d5853;
  --line: #5b6560;
  --line-soft: rgba(28, 36, 32, .2);
  --paper: #f6f8f9;
  --accent: #fa8072;
  --accent-soft: rgba(250, 128, 114, .38);
  --danger: #9b2c2c;
  --ok: #2f6b3d;
  --wrap: 1320px;
  --pad: clamp(1rem, 2.4vw, 1.75rem);
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; overflow-x: clip; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--ground); overflow-x: clip; }
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--accent); }
h1, h2, h3 { font-family: var(--sans); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-size: 1.2rem; font-weight: 550; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.desc, .prose-page p, .prose-page li { font-size: 1.05rem; line-height: 1.6; color: var(--ink-2); }

/* The technical layer: labels, figures and annotations in mono small capitals. */
.sect-label, .cell, .subnav a, .tabs a, .tag, .status, .pill, .btn, .dock, .eyebrow, .crumbs, .photo-credit,
.facts dt, .search-cell label, .field > label:not(.check), .field legend, .filter-grid label, .foot-grid h2, .foot-legal, .foot-legalname, .foot-copy,
.jr-meta, .jr-when, .job-pay, .bus-ref, .table th, .key, .preview-bar, .acc summary, .ring-map figcaption {
  font-family: var(--mono); letter-spacing: .02em;
}
.sect-label, .cell, .subnav a, .tabs a, .tag, .status, .btn, .dock, .eyebrow, .facts dt, .search-cell label,
.field > label:not(.check), .field legend, .filter-grid label, .foot-grid h2, .table th, .acc summary, .preview-bar {
  text-transform: uppercase; font-size: .78rem; font-weight: 500; letter-spacing: .07em;
}
.field .opt { text-transform: none; letter-spacing: 0; }
code.key { font-size: 1.1rem; letter-spacing: .08em; background: var(--paper); padding: .15em .4em; border: 1px solid var(--line); word-break: break-all; }

.skip { position: absolute; left: -999px; top: .5rem; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 60; }
.skip:focus { left: .5rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.small { font-size: .9rem; color: var(--muted); }
.center { text-align: center; }
mark.need { background: #ffe08a; color: #3a2a00; padding: 0 .2em; outline: 2px dashed #b07d00; }

/* ---- Frames: hairline boxes with square handles at the corners -------------------- */
.frame, .glass {
  position: relative; border: 1px solid var(--line); background: transparent;
  --h: var(--ink);
}
.frame::before, .glass::before {
  content: ""; position: absolute; inset: -3px; pointer-events: none;
  background:
    linear-gradient(var(--h), var(--h)) left top / 5px 5px no-repeat,
    linear-gradient(var(--h), var(--h)) right top / 5px 5px no-repeat,
    linear-gradient(var(--h), var(--h)) left bottom / 5px 5px no-repeat,
    linear-gradient(var(--h), var(--h)) right bottom / 5px 5px no-repeat;
}
.panel, .glass.panel { padding: var(--pad); }

/* ---- Header: a row of framed cells ---------------------------------------------------- */
.preview-bar { margin: 0; background: var(--accent); color: var(--ink); text-align: center; font-size: .88rem; padding: .3rem 1rem; position: relative; z-index: 5; }
.site-head { position: relative; z-index: 4; display: flex; flex-wrap: wrap; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 1rem var(--pad) 0; --hl: var(--line); --hh: var(--ink); color: var(--ink); }
.cell {
  position: relative; display: flex; align-items: center; min-height: 48px; padding: .5rem 1rem; margin: 0 0 0 -1px;
  border: 1px solid var(--hl); color: inherit; text-decoration: none; font-size: .95rem; background: transparent; font-family: inherit;
}
.cell::before { content: ""; position: absolute; inset: -3px; pointer-events: none;
  background: linear-gradient(var(--hh), var(--hh)) left top / 5px 5px no-repeat, linear-gradient(var(--hh), var(--hh)) right top / 5px 5px no-repeat,
    linear-gradient(var(--hh), var(--hh)) left bottom / 5px 5px no-repeat, linear-gradient(var(--hh), var(--hh)) right bottom / 5px 5px no-repeat; }
a.cell:hover { background: rgba(255, 255, 255, .25); }
.cell[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); }
.brand { flex: 1 1 auto; margin-left: 0; gap: .6rem; font-weight: 600; }
.brand-mark { width: 30px; height: 30px; flex: none; display: block; margin: -4px 0; }
.brand-text { font-family: var(--sans); font-size: 1.05rem; letter-spacing: -.02em; text-transform: none; font-weight: 600; }
.brand-text span { font-weight: 400; }
.hnav { display: flex; flex-wrap: wrap; }
.hnav .cell { min-width: 9rem; }
.cell-strong { font-weight: 600; }
.cell-form { margin: 0 0 0 -1px; padding: 0 1rem; }
.cell-form .linkish { color: inherit; font: inherit; text-transform: inherit; letter-spacing: inherit; text-decoration: none; min-height: 0; padding: 0; }
.cell-form .linkish:hover { text-decoration: underline; }
.menu-btn { display: none; cursor: pointer; font-weight: 600; }
@media (max-width: 900px) {
  .js .menu-btn { display: flex; }
  .js .hnav { display: none; width: 100%; flex-direction: column; margin-top: -1px; }
  .js .hnav.is-open { display: flex; }
  .hnav .cell { margin: -1px 0 0; min-width: 0; }
  .brand-text { font-size: 1rem; }
}

/* ---- Photo headers --------------------------------------------------------------------- */
.photo-head { position: relative; min-height: clamp(340px, 52svh, 560px); display: flex; flex-direction: column; color: #fff; background: #3a4038; }
.photo-head.is-hero { min-height: clamp(560px, 92svh, 980px); }
.photo-head-img, .photo-head-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* A scrim so white text stays readable on any part of the photo. */
.photo-head-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10, 16, 12, .45) 0, rgba(10, 16, 12, .08) 30%, rgba(10, 16, 12, .1) 50%, rgba(10, 16, 12, .62) 100%); }
.photo-head .site-head { --hl: rgba(255, 255, 255, .7); --hh: #fff; color: #fff; }
.photo-head .cell { background: rgba(20, 26, 22, .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.photo-head a.cell:hover { background: rgba(255, 255, 255, .16); }
.photo-head :focus-visible { outline-color: #fff; }
.photo-head-inner { position: relative; z-index: 2; margin-top: auto; width: 100%; max-width: var(--wrap); margin-left: auto; margin-right: auto; padding: 2rem var(--pad) 2.75rem; }
.photo-head h1 { max-width: 16ch; text-shadow: 0 1px 24px rgba(0, 0, 0, .25); margin-bottom: .3em; }
.hero-lede { font-size: clamp(1.1rem, 1.8vw, 1.35rem); max-width: 40ch; }
.photo-head .hero-lede { color: rgba(255, 255, 255, .94); }
.photo-head a { color: #fff; }
.photo-credit { position: absolute; z-index: 2; right: var(--pad); bottom: .4rem; margin: 0; font-size: .75rem; color: rgba(255, 255, 255, .85); }
.photo-credit a { color: inherit; }
@media (max-width: 600px) { .photo-credit { position: static; padding: 0 var(--pad) .5rem; z-index: 2; } }

/* The search panel: the one frosted surface. */
.search { display: grid; grid-template-columns: 1.3fr 1fr auto; margin-top: 1.5rem; max-width: 980px; color: var(--ink);
  background: rgba(246, 248, 249, .82); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); --h: #fff; border-color: rgba(255, 255, 255, .85); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .search, .photo-head .cell { background: rgba(246, 248, 249, .95); } .photo-head .cell { color: var(--ink); } }
@media (prefers-reduced-transparency: reduce) { .search { background: var(--paper); backdrop-filter: none; } .photo-head .cell { background: rgba(20, 26, 22, .7); backdrop-filter: none; } }
.search-cell { padding: .7rem 1rem .5rem; border-right: 1px solid var(--line-soft); }
.search-cell label { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); }
.search-cell input, .search-cell select { width: 100%; border: 0; background: transparent; font: inherit; font-size: 1.15rem; padding: .25rem 0; color: var(--ink); min-height: 40px; }
.search-cell input:focus-visible, .search-cell select:focus-visible { box-shadow: none; outline: none; }
.search-cell:focus-within { box-shadow: inset 0 -3px 0 var(--accent); }
.search-go { margin: .55rem; }
@media (max-width: 760px) { .search { grid-template-columns: 1fr; } .search-cell { border-right: 0; border-bottom: 1px solid var(--line-soft); } }

/* ---- Sections: a label column and a content column --------------------------------------- */
main { flex: 1 0 auto; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 1rem var(--pad) 4rem; }
.sect { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 1.5rem 2rem; padding: clamp(2.5rem, 7vw, 6rem) 0 0; }
.sect-label { font-size: .95rem; font-weight: 600; letter-spacing: 0; margin: .4rem 0 0; }
.sect-lead { font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight: 500; line-height: 1.2; letter-spacing: -.03em; max-width: 34ch; margin-bottom: 1.5rem; }
.sect-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 2rem; align-items: start; }
@media (max-width: 900px) { .sect { grid-template-columns: 1fr; gap: .75rem; } .sect-split { grid-template-columns: 1fr; } }
.more { margin-top: 1.25rem; }
.arrow-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.arrow-link:hover { border-bottom-width: 2px; }
.band { margin: clamp(3rem, 7vw, 6rem) calc(50% - 50vw) 0; position: relative; }
.band img { display: block; width: 100%; height: clamp(260px, 42vw, 560px); object-fit: cover; }
.band .photo-credit { right: var(--pad); }
@media (max-width: 600px) { .band .photo-credit { color: var(--muted); padding-top: .4rem; } }

/* ---- Buttons ------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .6rem 1.1rem;
  background: var(--steel); color: var(--ink); border: 1px solid var(--steel); border-radius: 0;
  font: inherit; font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center;
}
.btn:hover { background: var(--steel-2); border-color: var(--steel-2); }
.btn-dark, .search-go { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover, .search-go:hover { background: #0d1310; border-color: #0d1310; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: rgba(255, 255, 255, .45); border-color: var(--ink); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: #7d1f1f; border-color: #7d1f1f; }
.btn-small { min-height: 44px; padding: .4rem .85rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .5rem 0; }
.btn[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.linkish { background: none; border: 0; padding: .4rem 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.link-more { font-weight: 600; margin-left: .75rem; }
.inline-form { display: inline; margin: 0; }
.dock { position: fixed; left: max(var(--pad), calc((100% - var(--wrap)) / 2 + var(--pad))); bottom: 1.25rem; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 2rem; min-width: 15rem; min-height: 46px; padding: .55rem 1rem;
  background: var(--steel); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; box-shadow: 0 2px 10px rgba(28, 36, 32, .12); }
.dock:hover { background: var(--steel-2); }
@media (min-width: 1100px) { .dock { display: inline-flex; } }

/* ---- Job rows ------------------------------------------------------------------------------- */
.rows { display: grid; }
.rows > .frame + .frame { margin-top: -1px; }
.job-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr) minmax(0, 1.3fr); gap: .25rem 1.5rem; padding: 1rem 1.1rem; align-items: start; }
.job-row:hover { background: rgba(255, 255, 255, .45); }
.job-row.is-featured { background: rgba(250, 128, 114, .12); }
.job-row .job-title { font-size: 1.2rem; font-weight: 500; margin: 0; letter-spacing: -.02em; }
.job-row .job-title a { text-decoration: none; }
.job-row .job-title a::after { content: ""; position: absolute; inset: 0; }
.job-row .job-title a:hover { text-decoration: underline; }
.job-row .job-title a:focus-visible { outline: none; box-shadow: none; }
.job-row:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--accent); z-index: 1; }
.job-biz { margin: .1rem 0 0; color: var(--ink-2); }
.jr-pay, .jr-meta { margin: 0; }
.jr-meta { font-size: .82rem; line-height: 1.5; color: var(--ink-2); }
.jr-when { grid-column: 1 / -1; margin: .4rem 0 0; font-size: .82rem; color: var(--muted); }
.job-row .tags { grid-column: 1 / -1; }
.job-pay { font-weight: 500; background: linear-gradient(transparent 58%, var(--accent-soft) 58%); }
@media (max-width: 700px) { .job-row { grid-template-columns: 1fr; } }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: .4rem 0 0; }
.tag { display: inline-block; font-size: .8rem; padding: .1rem .45rem; border: 1px solid var(--line); background: transparent; }
.tag-featured { background: var(--accent); border-color: var(--accent); font-weight: 600; }
.tag-demo { background: #ffe08a; border: 1px dashed #b07d00; color: #3a2a00; font-weight: 600; }
.badge-reply { color: var(--ok); border-color: var(--ok); font-weight: 600; font-size: .8rem; }
.badge-reply::before { content: "\2713\00a0"; }
span.badge-reply { display: inline-block; padding: .05rem .4rem; border: 1px solid var(--ok); }
.empty { padding: 1.5rem; }
.tag-bus { border-color: var(--ink); font-weight: 600; }
.bus-list li { display: flex; gap: .75rem; align-items: flex-start; }
.bus-ref { flex: none; min-width: 2.9rem; text-align: center; font-weight: 600; background: var(--ink); color: #fff; padding: .1rem .35rem; font-size: .92rem; }

/* ---- The five-mile ring --------------------------------------------------------------------- */
.ring-map { margin: 0; padding: 1rem; }
.ring-map svg { width: 100%; height: auto; display: block; overflow: visible; }
.ring-map .ring { fill: none; stroke: var(--ink); stroke-opacity: .35; stroke-dasharray: 2 5; }
.ring-map .ring-label { font-size: 9px; fill: var(--muted); font-family: var(--mono); }
.ring-place circle { fill: var(--ground); stroke: var(--ink); stroke-width: 1.2; }
.ring-place.has-jobs circle { fill: var(--accent); stroke-width: 1.5; }
.ring-place.is-centre circle { fill: var(--ink); }
.ring-place text { font-size: 10px; font-family: var(--mono); fill: var(--ink); paint-order: stroke; stroke: var(--ground); stroke-width: 3px; stroke-linejoin: round; }
.ring-place .ring-n { font-weight: 600; }
.ring-place:hover circle { stroke-width: 3.5; }
.ring-place:focus-visible circle { stroke: var(--ink); stroke-width: 4; fill: var(--accent); }
.ring-place:focus-visible text { font-weight: 600; text-decoration: underline; }
.ring-place:focus-visible { outline: none; box-shadow: none; }
.ring-map figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }

/* ---- Ways in, and the accordion ------------------------------------------------------------- */
.ways { display: grid; grid-template-columns: 1fr 1fr; }
.ways > .frame + .frame { margin-left: -1px; }
.way { padding: var(--pad); display: flex; flex-direction: column; min-height: 18rem; }
.way h3 { font-size: 1.5rem; font-weight: 450; letter-spacing: -.02em; }
.way p.desc { max-width: 46ch; }
.way-links { margin: auto 0 0; padding-top: 1.25rem; display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
@media (max-width: 760px) { .ways { grid-template-columns: 1fr; } .ways > .frame + .frame { margin: -1px 0 0; } }
.acc { display: grid; }
.acc > details + details { margin-top: -1px; }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 48px; padding: .6rem 1rem; font-weight: 600; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-weight: 400; font-size: 1.3rem; line-height: 1; }
.acc details[open] summary::after { content: "\2212"; }
.acc details[open] { padding-bottom: 1rem; }
.acc .desc { padding: 0 1rem; margin: 0; max-width: 52ch; }
details summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }

/* ---- Page furniture --------------------------------------------------------------------------- */
.page-head { margin: 2rem 0 1.5rem; }
.page-head.glass, .page-head.frame { padding: var(--pad); }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 46rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--muted); }
.flash { background: var(--ink); color: #fff; padding: .75rem 1rem; margin: 1rem 0; }
.notice { background: #fbf1d2; border: 1px solid #b8901f; border-left-width: 5px; padding: .9rem 1rem; margin: 0 0 1rem; }
.notice-bad { background: #f7e3e0; border-color: var(--danger); }
/* Blocks follow the left grid like Tekt; only the sign-up and login cards sit centred. */
.narrow { max-width: 760px; margin-left: 0; margin-right: auto; }
.form-page.narrow { margin-left: auto; }
main > section { margin-top: 2.5rem; }
main > section > h2:first-child { margin-bottom: 1rem; }
.stack { display: grid; gap: 1.25rem; align-content: start; }
/* Framed blocks that follow one another in a page need air between them. */
main > .glass + .glass, main > .frame + .glass, main > .glass + .frame, main > .table-wrap + .glass, main > .notice + .glass { margin-top: 1.5rem; }
.crumbs + .sect, .crumbs + .page-head { padding-top: clamp(1.5rem, 4vw, 3rem); margin-top: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; padding: 0; margin: 1.25rem 0 0; font-size: .88rem; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--muted); }
.prose-page { max-width: 46rem; }
.prose-page h2 { margin-top: 1.6em; }
.prose-page h3 { margin-top: 1.2em; }
.prose-page.legal p, .prose-page.legal li { font-size: 1.02rem; }
.plain-head .prose-page h1 { margin-top: .2em; }

/* ---- Lists and filters ------------------------------------------------------------------------ */
.list-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 2rem; align-items: start; }
.filters { padding: 1.1rem; }
.list-layout .filters { position: sticky; top: 1rem; }
.filter-grid { display: grid; gap: .75rem; }
.filters label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .2rem; }
.filters input, .filters select { width: 100%; min-height: 44px; padding: .4rem .6rem; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 0; }
.filter-checks { display: grid; gap: .1rem; margin: .75rem 0; }
.filter-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin: .5rem 0 0; }
@media (max-width: 900px) { .list-layout { grid-template-columns: 1fr; } .list-layout .filters { position: relative; top: auto; } .filter-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.pager { display: flex; justify-content: space-between; align-items: center; margin: 1.5rem 0; font-weight: 600; }

/* ---- A job ------------------------------------------------------------------------------------ */
.job-full { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; align-items: start; margin-top: 1rem; }
.job-main { padding: clamp(1.25rem, 3.5vw, 2.5rem); }
.job-main h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.job-side { display: grid; gap: 1.5rem; position: sticky; top: 1rem; }
.job-side .glass, .job-side .frame { padding: 1.25rem; }
.job-biz-line { font-weight: 600; font-size: 1.1rem; }
.job-pay-big { font-size: 1.4rem; display: inline-block; }
.tags-line { margin: 0 0 .75rem; display: flex; gap: .35rem; flex-wrap: wrap; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 1.5rem 0 2rem; border-top: 1px solid var(--line); }
.facts > div { padding: .75rem 1rem .75rem 0; border-bottom: 1px solid var(--line-soft); min-width: 0; }
.facts dt { font-size: .8rem; font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.share textarea { width: 100%; font: inherit; font-size: .95rem; padding: .6rem; border: 1px solid var(--line); background: var(--paper); resize: vertical; }
.report-link { font-size: .9rem; }
@media (max-width: 900px) { .job-full { grid-template-columns: 1fr; } .job-side { position: relative; top: auto; } }

/* ---- Forms: framed cells, label inside, as on Tekt's enquiry form ----------------------------- */
.form-page { margin-top: 1.5rem; padding: clamp(1.25rem, 4vw, 2.5rem); }
.field { position: relative; margin: 0 0 -1px; padding: .6rem .9rem .5rem; border: 1px solid var(--line); background: rgba(255, 255, 255, .35); min-width: 0; }
.field:focus-within { background: rgba(255, 255, 255, .7); box-shadow: inset 0 -3px 0 var(--accent); z-index: 1; }
.field > label:not(.check), .field legend { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: .1rem; }
fieldset.field { padding-top: .6rem; }
fieldset.field legend { float: left; width: 100%; margin-bottom: .3rem; }
fieldset.field legend + * { clear: both; }
.field .opt { font-weight: 400; color: var(--muted); }
.hint { font-size: .88rem; color: var(--muted); margin: 0 0 .25rem; }
.err { color: var(--danger); font-weight: 600; margin: 0 0 .25rem; font-size: .92rem; }
.field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="tel"], .field input[type="search"], .field input[type="date"], .field input[type="url"], .field input:not([type]), .field select, .field textarea {
  width: 100%; min-height: 40px; padding: .2rem 0; font: inherit; font-size: 1.1rem; color: var(--ink); background: transparent; border: 0; border-radius: 0;
}
.field select { cursor: pointer; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: none; }
.field textarea { min-height: 6rem; resize: vertical; }
input[type="file"] { font: inherit; max-width: 100%; padding: .3rem 0; }
.field input.short, .short { max-width: 16rem; }
.has-error { border-color: var(--danger); border-width: 2px; z-index: 1; }
.check { display: flex; gap: .55rem; align-items: flex-start; min-height: 44px; padding: .5rem 0; cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; flex: none; accent-color: var(--ink); }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 1rem; }
.single-check { padding-top: .2rem; padding-bottom: .2rem; }
.group { border: 0; padding: 0; margin: 0 0 1.75rem; min-width: 0; }
.group > legend { font-size: 1.35rem; letter-spacing: -.015em; padding: 0; margin-bottom: .75rem; }
.group > p.hint { margin-bottom: .6rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; }
.two > .field + .field { margin-left: -1px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } .two > .field + .field { margin-left: 0; } }
form > .btn, form .btn:last-child { margin-top: 1rem; }
.errors { background: #f7e3e0; border: 2px solid var(--danger); padding: 1rem 1.25rem; margin: 0 0 1.25rem; }
.errors h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: .4rem; }
.errors ul { margin: 0; padding-left: 1.2rem; }
.errors a { color: var(--danger); font-weight: 600; }
.cf-turnstile { margin: 1rem 0 0; min-height: 65px; }
.choose { display: grid; grid-template-columns: 1fr 1fr; max-width: 980px; margin: 0 auto 1.5rem; }
.choose > .glass + .glass { margin-left: -1px; }
.choose-card { padding: 2rem; text-decoration: none; display: grid; gap: .5rem; align-content: start; min-height: 13rem; }
.choose-card:hover { background: rgba(255, 255, 255, .45); }
.choose-title { font-size: 1.6rem; letter-spacing: -.015em; }
@media (max-width: 640px) { .choose { grid-template-columns: 1fr; } .choose > .glass + .glass { margin: -1px 0 0; } }
.search-row label { display: block; font-weight: 600; }

/* ---- Dashboards --------------------------------------------------------------------------------- */
.subnav { display: flex; flex-wrap: wrap; margin: 1.5rem 0 .5rem; }
.subnav a { position: relative; display: flex; align-items: center; min-height: 46px; padding: .4rem 1rem; border: 1px solid var(--line); margin-left: -1px; font-weight: 600; text-decoration: none; font-size: .95rem; }
.subnav a:first-child { margin-left: 0; }
.subnav a:hover { background: rgba(255, 255, 255, .45); }
.subnav a[aria-current="page"] { background: var(--paper); box-shadow: inset 0 -3px 0 var(--accent); }
.tabs { display: flex; gap: 1.25rem; margin: 0 0 1rem; flex-wrap: wrap; }
.tabs a { font-weight: 600; text-decoration: none; padding: .4rem 0; }
.tabs a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; margin-bottom: 1.5rem; }
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }
.pill { display: inline-block; background: var(--accent); color: var(--ink); font-size: .75rem; font-weight: 600; padding: 0 .4rem; }
.status { display: inline-block; font-size: .82rem; font-weight: 600; padding: .05rem .45rem; border: 1px solid var(--line); background: var(--paper); }
.status-shortlisted, .status-offered { border-color: var(--ok); color: var(--ok); }
.status-unsuccessful, .status-withdrawn { color: var(--muted); }
.meter { height: .5rem; background: var(--steel); overflow: hidden; margin: .25rem 0 .4rem; }
.meter span { display: block; height: 100%; background: var(--ink); }
.table-wrap { overflow-x: auto; margin-bottom: 1.5rem; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.table th { font-size: .82rem; color: var(--muted); border-bottom-color: var(--line); }
.applicant { border-top: 1px solid var(--line-soft); padding: 1rem 0; }
.applicant h3 { margin-bottom: .2rem; }
blockquote { margin: .5rem 0; padding: .5rem 1rem; border-left: 3px solid var(--accent); background: rgba(255, 255, 255, .45); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.person h2 { font-size: 1.25rem; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: .45rem 0; border-bottom: 1px solid var(--line-soft); }
.danger { border-color: var(--danger); --h: var(--danger); }
.request { margin-bottom: 1.25rem; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 140px; margin-top: 1rem; }
.bars span { flex: 1; background: var(--ink); min-height: 2px; }
pre.mail { white-space: pre-wrap; font-family: var(--sans); font-size: .95rem; background: var(--paper); padding: 1rem; overflow-wrap: anywhere; border: 1px solid var(--line-soft); }
.decide .field { margin-bottom: .5rem; }

/* ---- Footer ---------------------------------------------------------------------------------------- */
.site-foot { border-top: 1px solid var(--line); background: var(--ground-2); padding: clamp(2.5rem, 6vw, 4.5rem) 0 5.5rem; margin-top: 3rem; }
/* Same box as main and the header, so the footer's left edge lines up with the content. */
.site-foot > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--pad); padding-right: var(--pad); }

.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.foot-logo { margin: 0 0 1rem; }
.foot-logo img { display: block; width: min(100%, 440px); height: auto; }
.foot-brand p:last-child { max-width: 32ch; }
.foot-grid h2 { font-size: .95rem; font-weight: 600; letter-spacing: 0; margin-bottom: .6rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li a { display: inline-block; padding: .3rem 0; text-decoration: none; }
.foot-grid li a:hover { text-decoration: underline; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-legal { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .9rem; }
.foot-grid { padding-bottom: 1.5rem; background: linear-gradient(var(--line-soft), var(--line-soft)) center bottom / calc(100% - 2 * var(--pad)) 1px no-repeat; }
.foot-legal a { padding: .35rem 0; }
.foot-legalname, .foot-copy { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.credit { font-size: .85rem; }

/* ---- Motion, after Tekt: slow fades, a short rise, nothing that moves on its own ---- */
a, .btn, .cell, .dock, .job-row, .field, .acc summary { transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease; }
.btn span[aria-hidden], .dock span[aria-hidden], .arrow-link span[aria-hidden] { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover span[aria-hidden], .dock:hover span[aria-hidden], .arrow-link:hover span[aria-hidden] { transform: translateX(4px); }
.acc summary::after { transition: transform .35s var(--ease); }
/* Hidden only once site.js has run; site.js shows anything already on screen at once,
   and everything at once where IntersectionObserver or motion isn't available. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js img.fade { opacity: 0; transition: opacity .5s linear; }
.js img.fade.is-loaded { opacity: 1; }
.js .is-hero .photo-head-img img { transform: scale(1.04); transition: transform 1.6s var(--ease); }
.js .is-hero.is-in .photo-head-img img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js img.fade { opacity: 1; transform: none; }
  .js .is-hero .photo-head-img img { transform: none; } *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print { .photo-head-img, .photo-head-shade, .site-head, .site-foot, .dock, .job-side .share, .preview-bar { display: none; } .photo-head { color: var(--ink); min-height: 0; } }
