/* ==========================================================================
   OnPoint Network / service, location and 404 pages
   Loaded AFTER css/next.css. Adds classes, changes nothing that already exists,
   and reuses the same tokens, type ramp and arrow-square button.
   ========================================================================== */

/* ---------- short hero ---------------------------------------------------- */

.sv-hero {
  position: relative;
  min-height: 62svh;
  display: grid;
  align-items: end;
  padding: 168px var(--gut) 64px;
  isolation: isolate;
  overflow: hidden;
}
.sv-hero-media { position: absolute; inset: 0; z-index: -2; }
.sv-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
.sv-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,11,9,.90) 0%, rgba(13,11,9,.46) 34%, rgba(13,11,9,.72) 74%, rgba(13,11,9,.99) 100%);
}
.sv-hero-in { width: 100%; max-width: var(--max); margin: 0 auto; }
.sv-hero h1 {
  font-size: clamp(33px, 4.6vw, 62px);
  line-height: 1.0;
  letter-spacing: -.032em;
  max-width: 17ch;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .5);
}
.sv-hero .lede { margin-top: 24px; }
.sv-hero-act { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- breadcrumb ---------------------------------------------------- */

.sv-crumb {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--fg-faint);
  margin: 0 0 18px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.sv-crumb a { color: var(--fg-dim); transition: color var(--t-fast); }
.sv-crumb a:hover { color: var(--green); }
.sv-crumb i { font-style: normal; opacity: .4; }

/* ---------- two column body ---------------------------------------------- */

.sv-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}
.sv-prose > h2 {
  font-size: clamp(25px, 2.6vw, 36px);
  letter-spacing: -.026em;
  margin: 56px 0 18px;
}
.sv-prose > h2:first-child { margin-top: 0; }
.sv-prose p {
  margin: 0 0 18px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.68;
  color: var(--fg-dim);
  max-width: 66ch;
  text-wrap: pretty;
}
.sv-prose p strong { color: var(--fg); font-weight: 600; }
.sv-prose p em { color: var(--green); font-style: normal; }
.sv-prose a { color: var(--fg); border-bottom: 1px solid rgba(79, 175, 71, .5); transition: color var(--t-fast), border-color var(--t-fast); }
.sv-prose a:hover { color: var(--green); border-bottom-color: var(--green); }

.sv-list { list-style: none; margin: 0 0 22px; padding: 0; }
.sv-list li {
  position: relative;
  padding: 11px 0 11px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--fg-dim);
}
.sv-list li::before {
  content: ""; position: absolute; left: 0; top: 20px;
  width: 13px; height: 1px; background: var(--green);
}
.sv-list li b { color: var(--fg); font-weight: 600; }

/* sticky facts rail */
.sv-rail {
  position: sticky; top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  padding: 26px 24px 24px;
}
.sv-rail h2 { font-size: 19px; margin: 0 0 16px; letter-spacing: -.02em; }
.sv-rail dl { margin: 0; }
.sv-rail dt {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--fg-faint); margin-top: 16px;
}
.sv-rail dd { margin: 5px 0 0; font-size: 15px; color: var(--fg); }
.sv-rail dd a { color: inherit; }
.sv-rail dd a:hover { color: var(--green); }
.sv-rail .btn { margin-top: 24px; width: 100%; justify-content: center; }

/* ---------- jobs on the record ------------------------------------------- */

.sv-jobs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}
@media (min-width: 981px) {
  .sv-jobs[data-n="4"] { grid-template-columns: repeat(4, 1fr); }
  .sv-jobs[data-n="2"] { grid-template-columns: repeat(2, 1fr); }
}
.sv-job {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), background var(--t);
}
.sv-job:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--card-2); }
.sv-job-shot { position: relative; overflow: hidden; }
.sv-job-shot img { width: 100%; height: 178px; object-fit: cover; transition: transform var(--t-slow); }
.sv-job:hover .sv-job-shot img { transform: scale(1.045); }
.sv-job-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sv-job-sec { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-faint); }
.sv-job-body h3 { font-size: 20px; letter-spacing: -.022em; }
.sv-job-body p { margin: 0; font-size: 14px; color: var(--fg-dim); }
.sv-job-meta {
  margin-top: auto; padding-top: 14px;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: var(--fg-faint);
}
.sv-job-meta b { color: var(--green); font-weight: 600; font-size: 15px; }

/* ---------- FAQ ----------------------------------------------------------- */

.sv-faq { border-top: 1px solid var(--line); margin-top: 8px; }
.sv-faq-item { border-bottom: 1px solid var(--line); padding: 26px 0; }
.sv-faq-item h3 { font-size: clamp(18px, 1.7vw, 22px); letter-spacing: -.02em; margin: 0 0 12px; }
.sv-faq-item p { margin: 0; font-size: 15.5px; line-height: 1.66; color: var(--fg-dim); max-width: 72ch; }
.sv-faq-item p + p { margin-top: 12px; }

/* ---------- other services ------------------------------------------------ */

.sv-other { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.sv-other a {
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--card); padding: 20px 20px 22px;
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.sv-other a:hover { border-color: rgba(79, 175, 71, .38); background: var(--card-2); transform: translateY(-3px); }
.sv-other b { font-family: "Archivo", sans-serif; font-variation-settings: "wght" 650; font-weight: 650; font-size: 17px; letter-spacing: -.02em; }
.sv-other span { font-size: 13.5px; color: var(--fg-dim); }

/* ---------- suburb chips (location page) ---------------------------------- */

.sv-suburbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.sv-suburbs li {
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 7px 15px; font-size: 13.5px; color: var(--fg-dim);
}
.sv-suburbs li.is-base { border-color: rgba(79, 175, 71, .45); color: var(--fg); }

/* ---------- closing CTA band ---------------------------------------------- */

.sv-cta { border-top: 1px solid var(--line); background: var(--ink-2); }
.sv-cta .wrap { padding-block: clamp(64px, 7vw, 104px); text-align: center; }
.sv-cta h2 { font-size: clamp(30px, 4.4vw, 56px); }
.sv-cta .lede { margin-inline: auto; }
.sv-cta-act { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- 404 ----------------------------------------------------------- */

.e404 { min-height: 78svh; display: grid; place-items: center; text-align: center; padding: 150px var(--gut) 90px; }
.e404 .num {
  font-family: "Archivo", sans-serif; font-variation-settings: "wght" 800; font-weight: 800;
  font-size: clamp(88px, 18vw, 220px); line-height: .84; letter-spacing: -.05em;
  color: var(--card-3);
}
.e404 h1 { margin-top: 18px; font-size: clamp(30px, 4.4vw, 54px); }
.e404 .lede { margin-inline: auto; }
.e404-act { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- responsive ---------------------------------------------------- */

@media (max-width: 1180px) {
  .sv-other { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .sv-cols { grid-template-columns: 1fr; }
  .sv-rail { position: static; }
  .sv-jobs { grid-template-columns: repeat(2, 1fr); }
  .sv-hero { min-height: 0; padding-top: 132px; padding-bottom: 54px; }
}

@media (max-width: 720px) {
  .sv-crumb, .sv-job-sec, .sv-rail dt { font-size: 12px; }
  /* breadcrumb links need a real tap target on a phone */
  .sv-crumb a { display: inline-block; padding-block: 11px; }
  .sv-crumb { margin-bottom: 8px; }
  .sv-jobs { grid-template-columns: 1fr; }
  .sv-other { grid-template-columns: 1fr; }
  .sv-hero h1 { max-width: none; }
  .sv-prose p { font-size: 15px; }
  .sv-suburbs li { padding-block: 9px; }
}
