/* PraxisLink Communications Inc. — shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #efa82f;
  --gold-light: #f7bc55;
  --gold-dim: rgba(239,168,47,0.15);
  --gold-text: #efa82f;
  --heading: #ffffff;
  --text: #c8c8c8;
  --text-dim: rgba(200,200,200,0.62);
  --text-faint: rgba(255,255,255,0.35);
  --bg: #1e1e1e;
  --surface: #252525;
  --surface2: #2c2c2c;
  --border: rgba(255,255,255,0.08);
  --rule: rgba(255,255,255,0.1);
  --input-bg: #1b1b1b;
  --input-border: rgba(255,255,255,0.16);
  --chip-bg: rgba(255,255,255,0.12);
  --chip-border: rgba(255,255,255,0.2);
  --error: #ff8a7a;
  --glow: rgba(60,50,30,0.18);
  --vignette: rgba(0,0,0,0.6);
  --stripe: rgba(255,255,255,0.013);
  color-scheme: dark;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 50% 0%, var(--glow) 0%, transparent 65%),
    radial-gradient(ellipse at center, transparent 35%, var(--vignette) 100%),
    repeating-linear-gradient(125deg, transparent 0px, transparent 28px, var(--stripe) 28px, var(--stripe) 29px),
    repeating-linear-gradient(55deg, transparent 0px, transparent 28px, var(--stripe) 28px, var(--stripe) 29px);
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .file-drop:focus-within, .unused {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1a1208; padding: 8px 14px; border-radius: 4px; font-weight: 700; z-index: 20; }
.skip:focus { left: 12px; }

/* ── HEADER ── */
header { position: relative; text-align: center; padding: 56px 40px 28px; }
.logo img { max-width: 420px; width: 100%; height: auto; display: block; margin: 0 auto; }

.controls { position: absolute; top: 20px; right: 24px; display: flex; gap: 10px; }
.lang-toggle { display: flex; border: 1px solid rgba(239,168,47,0.4); border-radius: 5px; overflow: hidden; }
.lang-toggle a { font-family: 'Raleway', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; background: transparent; color: var(--gold-text); border: 0; padding: 6px 12px; cursor: pointer; }
.lang-toggle a[aria-current="true"] { background: var(--gold); color: #1a1208; }

.site-nav { margin-top: 34px; display: flex; justify-content: center; gap: 6px 30px; flex-wrap: wrap; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; padding: 6px 2px; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.site-nav a:hover { color: var(--heading); }
.site-nav a[aria-current="page"] { color: var(--gold-text); border-bottom-color: var(--gold); }

hr { border: none; border-top: 1px solid var(--rule); margin: 0 40px; }

/* ── SECTIONS ── */
.sec { padding: 54px 40px; max-width: 1060px; margin: 0 auto; text-align: center; }
.sec h2 { font-size: 1.75rem; font-weight: 600; color: var(--gold-text); margin-bottom: 10px; }
.sec > p { font-size: 1rem; line-height: 1.8; max-width: 740px; margin: 0 auto; }
.sec > p + p { margin-top: 14px; }

.hero-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 20px; opacity: 0.9; }
.hero h1 { font-size: clamp(1.35rem, 2.8vw, 2rem); font-weight: 700; color: var(--heading); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 20px; line-height: 1.3; }
.hero h1 .g { color: var(--gold-text); }
.hero-cta { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.cta-btn, .cta-btn-outline { display: inline-block; font-family: 'Raleway', sans-serif; font-size: 0.97rem; font-weight: 600; padding: 14px 34px; border-radius: 5px; text-decoration: none; letter-spacing: 0.01em; cursor: pointer; transition: background 0.2s, transform 0.15s, box-shadow 0.15s; box-shadow: 0 2px 12px rgba(232,160,32,0.25); }
.cta-btn { background: var(--gold); color: #1a1208; border: 1px solid var(--gold); }
.cta-btn:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 18px rgba(232,160,32,0.4); }
.cta-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.cta-btn-outline { border: 1px solid var(--gold); color: var(--gold-text); background: transparent; }
.cta-btn-outline:hover { background: var(--gold-dim); transform: translateY(-1px); }

/* ── CARDS ── */
.card-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; text-align: left; }
.card-grid.wide { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 28px 24px 24px; position: relative; overflow: hidden; transition: border-color 0.2s, background 0.2s; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); opacity: 0; transition: opacity 0.2s; }
.card:hover { border-color: rgba(239,168,47,0.3); background: var(--surface2); }
.card:hover::before, .card.accent::before { opacity: 1; }
.card-icon { width: 44px; height: 44px; background: var(--gold-dim); border: 1px solid rgba(239,168,47,0.25); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card-icon svg { width: 22px; height: 22px; stroke: var(--gold-text); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1rem; font-weight: 700; color: var(--heading); margin-bottom: 10px; }
.card p { font-size: 1rem; color: var(--text-dim); line-height: 1.75; }
.card .more { display: inline-block; margin-top: 14px; color: var(--gold-text); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.card .more:hover { text-decoration: underline; }
.badge { display: inline-block; margin-top: 14px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); background: var(--gold-dim); border: 1px solid rgba(239,168,47,0.2); border-radius: 4px; padding: 3px 10px; }

.dlist { list-style: none; margin-top: 12px; }
.dlist li { font-size: 1rem; color: var(--text); padding: 5px 0 5px 18px; position: relative; line-height: 1.55; }
.dlist li::before { content: ''; position: absolute; left: 0; top: 12px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

/* ── NOTE BOX ── */
.note-box { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 36px 40px; text-align: center; max-width: 720px; margin: 40px auto 0; }
.note-box p { font-size: 0.95rem; line-height: 1.85; }
.note-box p + p { margin-top: 16px; }
.note-box strong { color: var(--gold-text); font-weight: 700; }
.note-box .cta-btn { margin-top: 24px; }

/* ── ABOUT ── */
.mission { max-width: 780px; margin: 0 auto; font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; color: var(--heading); line-height: 1.6; }
.mission .g { color: var(--gold-text); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--border); text-align: left; }
.values div { padding: 26px 22px 22px 0; }
.values div + div { padding-left: 22px; border-left: 1px solid var(--border); }
.values h3 { color: var(--gold-text); font-size: 1rem; margin-bottom: 8px; }
.values p { font-size: 1rem; color: var(--text-dim); line-height: 1.75; }


/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-top: 30px; }
.step { text-align: center; padding: 24px 20px; }
.step-num { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(239,168,47,0.4); color: var(--gold-text); font-size: 1rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step h3 { font-size: 0.92rem; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.7; }

/* ── FUNDING ── */
.funding-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; text-align: left; }
.province-badge { display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #1a1208; background: var(--gold); border-radius: 4px; padding: 3px 10px; margin-bottom: 14px; }

/* ── CAREERS ── */
.glance { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.glance div { padding: 26px 18px; border-right: 1px solid var(--border); }
.glance div:last-child { border-right: 0; }
.glance strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--heading); line-height: 1.2; }
.glance small { font-size: 0.82rem; color: var(--text-dim); }
.glance-sub { margin-top: 18px; font-size: 0.9rem; color: var(--text-dim); }

.vacation { margin: 40px auto 0; max-width: 700px; background: var(--surface); border: 1px solid rgba(239,168,47,0.3); border-radius: 10px; padding: 32px 36px; display: flex; gap: 26px; align-items: center; text-align: left; }
.vacation .num { font-size: 4rem; font-weight: 800; color: var(--gold-text); line-height: 1; }
.vacation h3 { color: var(--heading); font-size: 1.1rem; margin-bottom: 6px; }
.vacation p { font-size: 0.92rem; color: var(--text-dim); line-height: 1.7; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; text-align: left; }

/* ── FORM ── */
.apply-box { max-width: 720px; margin: 40px auto 0; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 36px 40px; text-align: left; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; display: flex; flex-direction: column; }
.field label, .field legend { font-size: 0.9rem; font-weight: 700; color: var(--heading); margin-bottom: 7px; }
.field .opt { font-weight: 400; color: var(--text-dim); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field select, .field textarea { font-family: 'Raleway', sans-serif; font-size: 0.95rem; color: var(--heading); background: var(--input-bg); border: 1px solid var(--input-border); border-radius: 6px; padding: 12px 14px; width: 100%; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px var(--gold-dim); }
.field [aria-invalid="true"] { border-color: var(--error) !important; }
.hint { font-size: 0.8rem; color: var(--text-dim); margin-top: 6px; }
fieldset.field { border: 0; }
.choices { display: flex; gap: 10px; flex-wrap: wrap; }
.choices label { font-weight: 600; font-size: 0.9rem; color: var(--text); margin: 0; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices label > span { display: inline-block; padding: 9px 16px; border: 1px solid var(--input-border); border-radius: 5px; cursor: pointer; background: var(--input-bg); }
.choices input:checked + span { border-color: var(--gold); color: #1a1208; background: var(--gold); }
.choices input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.file-drop { position: relative; border: 1.5px dashed rgba(239,168,47,0.5); border-radius: 8px; padding: 26px 20px; text-align: center; background: rgba(239,168,47,0.04); cursor: pointer; transition: background 0.2s; }
.file-drop:hover, .file-drop.drag { background: var(--gold-dim); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-drop strong { color: var(--gold-text); display: block; font-size: 0.95rem; }
.file-drop small { color: var(--text-dim); font-size: 0.8rem; }
.file-name { margin-top: 8px; color: var(--heading); font-weight: 600; font-size: 0.9rem; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.85rem; color: var(--text); margin: 6px 0 26px; }
.consent input { margin-top: 4px; accent-color: var(--gold); width: 18px; height: 18px; flex: none; }
.form-msg { margin-top: 18px; font-size: 0.92rem; line-height: 1.7; display: none; padding: 16px 18px; border-radius: 6px; }
.form-msg.show { display: block; }
.form-msg.ok { background: var(--gold-dim); border: 1px solid rgba(239,168,47,0.35); color: var(--heading); }
.form-msg.err { background: rgba(255,138,122,0.1); border: 1px solid rgba(255,138,122,0.35); color: var(--error); }
.alt-apply { margin-top: 22px; font-size: 0.85rem; color: var(--text-dim); text-align: center; }
.alt-apply a { color: var(--gold-text); }

/* ── CONTACT ── */
.email-link { display: inline-flex; align-items: center; gap: 12px; font-size: 1.65rem; font-weight: 500; color: var(--text); text-decoration: none; margin-top: 24px; transition: color 0.2s; }
.email-link:hover { color: var(--gold-text); }
.email-icon { width: 32px; height: 32px; background: var(--chip-bg); border: 1px solid var(--chip-border); border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.email-icon svg { width: 18px; height: 18px; stroke: var(--text); fill: none; stroke-width: 1.7; }
.email-link:hover .email-icon svg { stroke: var(--gold-text); }

/* ── FOOTER ── */
footer { text-align: center; padding: 36px 40px 56px; font-size: 0.87rem; color: var(--text-faint); line-height: 1.9; }
.foot-nav { display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.foot-nav a { color: var(--text-dim); text-decoration: none; }
.foot-nav a:hover { color: var(--gold-text); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

@media (max-width: 760px) {
  .glance { grid-template-columns: 1fr 1fr; }
  .glance div:nth-child(2) { border-right: 0; }
  .glance div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .two-col, .row, .funding-grid { grid-template-columns: 1fr; }
  .row { gap: 0; }
  .vacation { flex-direction: column; text-align: center; gap: 10px; }
  .apply-box, .note-box { padding: 28px 22px; }
  .values div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 680px) {
  header { padding: 70px 20px 24px; }
  .logo img { max-width: 280px; }
  .site-nav { gap: 4px 18px; margin-top: 26px; }
  .sec, footer { padding-left: 20px; padding-right: 20px; }
  .email-link { font-size: 1.15rem; }
  hr { margin: 0 20px; }
}

/* four-up service grid */
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .card-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid.four { grid-template-columns: 1fr; } }

.lang-toggle a { color: var(--gold-text); text-decoration: none; }
.lang-toggle a[aria-current="true"] { color: #1a1208; }

@media (max-width: 680px) { .controls { top: 16px; right: 16px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* Résumé upload: native file input, works without JavaScript and shows the file name */
.file-input { font-family: 'Raleway', sans-serif; font-size: 0.92rem; color: var(--text); width: 100%;
  background: rgba(239,168,47,0.04); border: 1.5px dashed rgba(239,168,47,0.5); border-radius: 8px; padding: 16px; cursor: pointer; }
.file-input::file-selector-button { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 0.9rem;
  background: var(--gold); color: #1a1208; border: 0; border-radius: 5px; padding: 9px 16px; margin-right: 14px; cursor: pointer; }
.file-input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px var(--gold-dim); }
/* Spam trap field, hidden from people */
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; opacity: 0; }

/* ── PROUDLY DEAF CANADIAN ── */
.proud { padding-top: 48px; padding-bottom: 48px; }
.proud-mark { display: block; width: 64px; height: 64px; margin: 0 auto 22px; }
.proud h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; color: var(--heading); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.proud .proud-lead { color: var(--gold-text); font-weight: 600; font-size: 1.05rem; }
.proud .proud-strong { margin-top: 8px; font-size: 1.1rem; color: var(--heading); }

/* ── WHY PRAXISLINK (name meaning) ── */
.name-eq { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; margin-top: 40px; }
.def { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 30px 28px; text-align: left; position: relative; overflow: hidden; }
.def::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); opacity: 0.55; }
.def h3 { font-size: 1.9rem; font-weight: 800; color: var(--heading); letter-spacing: 0.02em; line-height: 1.1; }
.def .pos { font-style: italic; color: var(--gold-text); font-size: 0.9rem; margin: 4px 0 14px; }
.def p { font-size: 0.93rem; line-height: 1.8; }
.op { align-self: center; font-size: 2rem; font-weight: 300; color: var(--gold-text); line-height: 1; }
.op-eq { display: block; margin: 18px auto; }
.def-combined { max-width: 760px; margin: 0 auto; text-align: center; border-color: rgba(239,168,47,0.35); padding: 34px 36px; }
.def-combined::before { opacity: 1; }
.def-combined img { display: block; margin: 0 auto 14px; width: 56px; height: 56px; }
.def-combined h3 { font-size: 1.35rem; color: var(--gold-text); margin-bottom: 12px; }
.def-combined p { font-size: 1rem; color: var(--heading); }
@media (max-width: 760px) {
  .name-eq { grid-template-columns: 1fr; gap: 12px; }
  .name-eq .op { justify-self: center; }
  .def-combined { padding: 28px 22px; }
}

/* Smart Home product cards: centred icon, title, text and tag */
.card-grid.centered .card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.card-grid.centered .card-icon { margin-left: auto; margin-right: auto; }
.card-grid.centered .badge { margin-top: auto; padding-top: 3px; }
.card-grid.centered .card p { margin-bottom: 14px; }

/* Closed funding program */
.status-closed { display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--error); border: 1px solid rgba(255,138,122,0.45); border-radius: 4px; padding: 2px 9px; margin-left: 6px; vertical-align: top; }
.card.is-closed::before { background: var(--error); opacity: 0.6; }
.card.is-closed .province-badge { background: rgba(239,168,47,0.45); }

/* Services cards on About page share the centred layout */
.card-grid.centered .more { margin-top: auto; }

/* Future-opening notice */
.notice { display: flex; gap: 16px; align-items: flex-start; text-align: left; max-width: 720px; margin: 34px auto 0;
  background: var(--gold-dim); border: 1px solid rgba(239,168,47,0.45); border-left: 4px solid var(--gold); border-radius: 8px; padding: 18px 22px; }
.notice strong { display: block; color: var(--heading); font-size: 0.95rem; margin-bottom: 4px; }
.notice p { font-size: 0.92rem; line-height: 1.7; color: var(--text); margin: 0; }
.notice-icon { flex: none; width: 36px; height: 36px; border-radius: 8px; background: rgba(239,168,47,0.2); display: flex; align-items: center; justify-content: center; }
.notice-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.notice-form { margin-top: 30px; }

/* Centred submit button */
.submit-row { text-align: center; }

/* ── ROLE CARDS ── */
.role-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 32px 32px 28px; margin-top: 28px; text-align: left; position: relative; overflow: hidden; }
.role-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); }
.role-card:first-of-type { margin-top: 40px; }
.role-head { text-align: center; margin-bottom: 8px; }
.role-head .card-icon { margin: 0 auto 14px; }
.role-head h3 { font-size: 1.45rem; font-weight: 800; color: var(--heading); margin-bottom: 14px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips li { font-size: 0.82rem; font-weight: 700; color: var(--gold-text); background: var(--gold-dim); border: 1px solid rgba(239,168,47,0.25); border-radius: 999px; padding: 5px 14px; }
.chips li:first-child { background: var(--gold); color: #1a1208; border-color: var(--gold); }
.role-card .two-col { margin-top: 24px; }
.role-card .two-col > div { background: transparent; border: 0; padding: 0; }
.role-card h4 { font-size: 0.95rem; color: var(--heading); margin-bottom: 6px; }
.role-extra { margin-top: 20px; font-size: 0.9rem; line-height: 1.7; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 8px; padding: 14px 18px; }
.role-extra strong { color: var(--gold-text); }
.role-cta { text-align: center; margin-top: 24px; }
@media (max-width: 680px) { .role-card { padding: 26px 20px 22px; } }
.role-card header.role-head { padding: 0; }

/* Why Work With Us: centred icon and title, lists stay left-aligned */
.card-grid.head-centered .card-icon { margin-left: auto; margin-right: auto; }
.card-grid.head-centered .card h3 { text-align: center; }
.card-grid.head-centered .card > p { text-align: center; color: var(--text); font-size: 1rem; }
.role-head h3 { margin-bottom: 6px; }
.role-langs { font-size: 1rem; font-weight: 700; color: var(--gold-text); letter-spacing: 0.04em; margin-bottom: 16px; }
.role-head h3 + .chips { margin-top: 12px; }

/* Simple combined form extras */
.cert-hint { margin: -12px 0 20px; }
.group-box { background: rgba(255,255,255,0.025); border: 1px solid var(--border) !important; border-radius: 8px; padding: 18px 18px 8px; }
.group-box legend { padding: 0 6px; margin-left: -6px; }
.group-box .hint { margin: 0 0 6px; }
.sub-label { font-size: 0.84rem; font-weight: 700; color: var(--heading); margin: 12px 0 8px; }
.choices.small { gap: 7px; margin-bottom: 6px; }
.choices.small label > span { padding: 6px 12px; font-size: 0.84rem; }
.small-input { font-family: 'Raleway', sans-serif; font-size: 0.9rem; color: var(--heading); background: var(--input-bg); border: 1px solid var(--input-border); border-radius: 6px; padding: 9px 12px; width: 100%; margin-bottom: 4px; }
.small-input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px var(--gold-dim); }
label.sub-label { display: block; }
.pos-hint { margin: -2px 0 10px; }

/* Combined meaning tagline + multi-paragraph boxes */
.def-combined .pos { margin-top: -6px; }
.def-combined .tagline { font-weight: 700; color: var(--gold-text); font-size: 1.05rem; margin-bottom: 10px; }
.note-box p + p, #contact p + p { margin-top: 12px; }

/* Planned-benefits note under Why Work With Us */
.benefits-note { max-width: 760px; margin: 28px auto 0; font-size: 1rem; line-height: 1.7; color: var(--text-dim); border-top: 1px solid var(--border); padding-top: 16px; }
.benefits-note strong { color: var(--heading); }

/* Role facts: plain information strip, not button-like pills */
.chips { gap: 8px 0; margin: 4px auto 0; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); max-width: 760px; }
.chips li { background: none; border: 0; border-radius: 0; padding: 2px 18px; font-size: 0.92rem; font-weight: 600; color: var(--text); cursor: default; }
.chips li + li { border-left: 1px solid var(--rule); }
.chips li:first-child { background: none; border: 0; color: var(--gold-text); font-size: 1.02rem; font-weight: 800; }
@media (max-width: 560px) {
  .chips { flex-direction: column; align-items: center; gap: 4px; }
  .chips li + li { border-left: 0; }
}
/* Text links inside paragraphs */
.inline-link { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.inline-link:hover { color: var(--gold-light); }

/* Only links and buttons use gold text. Emphasis inside text is plain white bold. */
.note-box strong { color: var(--heading); font-weight: 700; text-decoration: none; }
.proud .proud-lead, .def-combined .tagline, .role-extra strong, .chips li:first-child { color: var(--heading); }

/* "Explore Smart Home": a clear button, not plain gold text */
.card .more { display: inline-block; margin-top: auto; background: var(--gold); color: #1a1208; border: 1px solid var(--gold); border-radius: 5px; padding: 9px 18px; font-size: 0.9rem; font-weight: 700; text-decoration: none; box-shadow: 0 2px 10px rgba(232,160,32,0.25); transition: background 0.2s, transform 0.15s; }
.card .more:hover { background: var(--gold-light); transform: translateY(-1px); text-decoration: none; }

/* ── ACCESSIBILITY: contrast and minimum text sizes ──
   Secondary text was 4.4:1 and footer text 3.2:1 (below WCAG AA 4.5:1).
   Now about 7.5:1 and 7.3:1. Body text is at least 16px; small labels at least 14px. */
:root { --text-dim: #b8b8b8; --text-faint: #ababab; }
.field input::placeholder, .field textarea::placeholder { color: #8f8f8f; opacity: 1; }

.card p, .step p, .values p, .dlist li, .def p, .note-box p, .vacation p, .founder p,
.role-extra, .notice p, .benefits-note, .consent, .glance-sub, .sec > p, .hero p { font-size: 1rem; }
.card h3, .step h3 { font-size: 1.05rem; }
.hint, .alt-apply, .field label, .field legend, .file-drop small, .glance small,
.choices.small label > span, .sub-label, .def .pos, .chips li, footer, .foot-nav a { font-size: 0.9rem; }
.hero-eyebrow, .badge, .province-badge, .status-closed, .lang-toggle a { font-size: 0.875rem; }

/* What We Do: 2 x 2 so text lines are not too narrow at the larger text size */
.card-grid.four { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .card-grid.four { grid-template-columns: 1fr; } }

/* Our work so far */
.work-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 30px auto 0; }
.work-stats > div { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 26px 22px; }
.work-stats strong { display: block; font-size: 3rem; font-weight: 800; line-height: 1; color: var(--heading); }
.work-stats p { margin-top: 8px; font-size: 1.05rem; font-weight: 600; color: var(--heading); }
.work-stats small { display: block; margin-top: 6px; font-size: 0.9rem; color: var(--text-dim); }
@media (max-width: 560px) { .work-stats { grid-template-columns: 1fr; } }
.vac-extra { margin-top: 8px; font-weight: 600; color: var(--heading) !important; }

/* ── DISPLAY SETTINGS ── */
/* Light theme: follows the device unless the visitor picked Light or Dark */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
  --gold-text: #8a5300;
  --heading: #161616;
  --text: #2b2b2b;
  --text-dim: #4a4a4a;
  --text-faint: #555555;
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface2: #fbf8f1;
  --border: rgba(0,0,0,0.12);
  --rule: rgba(0,0,0,0.14);
  --input-bg: #ffffff;
  --input-border: rgba(0,0,0,0.35);
  --chip-bg: rgba(0,0,0,0.05);
  --chip-border: rgba(0,0,0,0.2);
  --error: #b3261e;
  --glow: rgba(239,168,47,0.10);
  --vignette: rgba(0,0,0,0.03);
  --stripe: rgba(0,0,0,0.02);
  color-scheme: light;
  }
}
:root[data-theme="light"] {
  --gold-text: #8a5300;
  --heading: #161616;
  --text: #2b2b2b;
  --text-dim: #4a4a4a;
  --text-faint: #555555;
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface2: #fbf8f1;
  --border: rgba(0,0,0,0.12);
  --rule: rgba(0,0,0,0.14);
  --input-bg: #ffffff;
  --input-border: rgba(0,0,0,0.35);
  --chip-bg: rgba(0,0,0,0.05);
  --chip-border: rgba(0,0,0,0.2);
  --error: #b3261e;
  --glow: rgba(239,168,47,0.10);
  --vignette: rgba(0,0,0,0.03);
  --stripe: rgba(0,0,0,0.02);
  color-scheme: light;
}
.logo-light { display: none !important; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .logo-dark { display: none !important; }
  :root:not([data-theme="dark"]) .logo-light { display: block !important; }
}
:root[data-theme="light"] .logo-dark { display: none !important; }
:root[data-theme="light"] .logo-light { display: block !important; }
:root[data-theme="dark"] .logo-light { display: none !important; }
:root[data-theme="light"] .inline-link:hover { color: var(--heading); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .inline-link:hover { color: var(--heading); } }

/* Text size */
html[data-text="large"] { font-size: 112.5%; }
html[data-text="larger"] { font-size: 125%; }

/* Button + panel */
.display-wrap { position: static; }
.display-btn { display: flex; align-items: center; gap: 6px; height: 100%; font-family: 'Raleway', sans-serif; font-size: 0.875rem; font-weight: 700;
  color: var(--gold-text); background: transparent; border: 1px solid rgba(239,168,47,0.4); border-radius: 5px; padding: 6px 12px; cursor: pointer; }
.display-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.display-btn[aria-expanded="true"] { background: var(--gold); color: #1a1208; }
.display-panel { position: absolute; right: 0; top: calc(100% + 8px); width: 300px; max-width: calc(100vw - 32px); z-index: 40; text-align: left;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 18px; box-shadow: 0 12px 32px rgba(0,0,0,0.35); }
.display-title { font-size: 1.05rem; font-weight: 700; color: var(--heading); margin-bottom: 14px; }
.display-group { margin-bottom: 16px; }
.display-label { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.display-note { font-size: 0.85rem; color: var(--text-dim); margin-top: 6px; }
.seg { display: flex; border: 1px solid var(--input-border); border-radius: 6px; overflow: hidden; }
.seg button { flex: 1; font-family: 'Raleway', sans-serif; font-size: 0.875rem; font-weight: 600; padding: 9px 4px; background: var(--input-bg); color: var(--text); border: 0; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--input-border); }
.seg button[aria-pressed="true"] { background: var(--gold); color: #1a1208; font-weight: 800; }
.seg button:focus-visible, .display-btn:focus-visible, .display-reset:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.aa { font-weight: 800; } .aa1 { font-size: 0.8em; } .aa2 { font-size: 1em; } .aa3 { font-size: 1.2em; }
.display-reset { background: none; border: 0; padding: 0; font-family: 'Raleway', sans-serif; font-size: 0.875rem; font-weight: 600; color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.no-js .display-wrap { display: none; }

/* Proudly Deaf heading in gold like other section headings */
.proud h2 { color: var(--gold-text); }
/* Careers highlights: content centred vertically in each box */
.glance div { display: flex; flex-direction: column; justify-content: center; align-items: center; }

/* Careers: full-width notice, vacation box and benefits note, matching the boxes below them */
.hero .notice, .vacation, .benefits-note { max-width: none; }
.sec > p.benefits-note { max-width: none; }

/* Role status tag: open now vs future */
/* Plain text label with a dot, so it does not look like a button */
.role-status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dim); }
.role-status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.role-status.now { color: #5fd38d; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .role-status.now { color: #1f7a45; } }
:root[data-theme="light"] .role-status.now { color: #1f7a45; }

/* Careers eyebrow: two clean lines on phones instead of a messy wrap */
.eb-part { white-space: nowrap; }
@media (max-width: 600px) {
  .eb-sep { display: none; }
  .eb-part { display: block; }
  .eb-part + .eb-sep + .eb-part { margin-top: 6px; }
}
.hero p.hero-eyebrow { margin-bottom: 16px; }

/* Meet Our Founder (About Us) */
.founder { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--border); text-align: left; }
.founder img { width: 200px; height: 250px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); display: block; }
.founder h3 { color: var(--gold-text); font-size: 1.15rem; margin-bottom: 12px; }
.founder .founder-name { color: var(--heading); font-weight: 700; font-size: 1.1rem; margin: 0; }
.founder .founder-role { color: var(--text-dim); font-weight: 600; margin: 2px 0 14px; }
.founder p { font-size: 1rem; color: var(--text-dim); line-height: 1.75; }
@media (max-width: 680px) {
  .founder { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .founder img { margin: 0 auto; width: 160px; height: 200px; }
}
.sec > p.founder-note { margin-top: 28px; text-align: center; }
.founder-note a { color: var(--gold-text); font-weight: 600; }
