/* C-note Careers — matches cnotetax.ca: Poppins headings, Plus Jakarta Sans body,
   C-note red #DA1F24, dark hero, warm sand + blush sections, gradient pill buttons. */
.cnc {
	--cnc-red: #da1f24;
	--cnc-red-deep: #aa1a1e;
	--cnc-ink: #141414;
	--cnc-text: #333;
	--cnc-muted: #6b6b70;
	--cnc-line: #e7e3df;
	--cnc-sand: #f1efed;
	--cnc-blush: #fce9ea;
	--cnc-grad: linear-gradient(45deg, #2e2e3a 0%, #5a2730 44%, #7a2229 56%, #aa1a1e 100%);
	--cnc-head: "Poppins", -apple-system, "Segoe UI", Roboto, sans-serif;
	--cnc-body: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
	font-family: var(--cnc-body);
	color: var(--cnc-text);
	font-size: 16px;
	line-height: 1.65;
	container: cnc / inline-size; /* layout adapts to the column it is placed in, not just the screen */
}
.cnc [hidden] { display: none !important; }
.cnc *, .cnc *::before, .cnc *::after { box-sizing: border-box; }
.cnc-page--full { width: 100vw; max-width: none !important; margin-right: 0 !important; margin-left: calc(50% - 50vw) !important; overflow-x: clip; }
.cnc h1, .cnc h2, .cnc h3 { font-family: var(--cnc-head); color: var(--cnc-ink); margin: 0; letter-spacing: -0.01em; }
.cnc p { margin: 0; }
.cnc a { text-decoration: none; }
.cnc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.cnc-red { color: var(--cnc-red); }
.cnc-ico { width: 1.15em; height: 1.15em; flex: none; }

/* Buttons — same gradient pill as "Contact us" / "Book Appointment" on the main site */
.cnc .cnc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 34px; border: 0; border-radius: 50px; cursor: pointer;
	background: var(--cnc-grad); background-size: 140% 100%; background-position: 0 0;
	color: #fff; font-family: var(--cnc-body); font-weight: 600; font-size: 16px; line-height: 1.2;
	box-shadow: 0 10px 24px -12px rgba(170, 26, 30, 0.7);
	transition: background-position .35s ease, transform .2s ease, box-shadow .2s ease;
}
.cnc .cnc-btn:hover, .cnc .cnc-btn:focus-visible { background-position: 100% 0; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(218, 31, 36, 0.75); }
.cnc .cnc-btn:focus-visible { outline: 3px solid rgba(218, 31, 36, .35); outline-offset: 3px; }
.cnc .cnc-btn--ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.35); box-shadow: none; }
.cnc .cnc-btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; box-shadow: none; }
.cnc .cnc-btn--sm { padding: 11px 24px; font-size: 14px; white-space: nowrap; }
.cnc .cnc-btn--block { width: 100%; padding: 17px; }
.cnc .cnc-btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.cnc-eyebrow, .cnc-badge {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cnc-red);
}
.cnc-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--cnc-red); }
.cnc-badge { padding: 7px 14px; border-radius: 50px; background: rgba(218,31,36,.12); border: 1px solid rgba(218,31,36,.35); }
.cnc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cnc-red); box-shadow: 0 0 0 0 rgba(218,31,36,.6); animation: cnc-pulse 1.8s infinite; }
@keyframes cnc-pulse { 70% { box-shadow: 0 0 0 10px rgba(218,31,36,0); } 100% { box-shadow: 0 0 0 0 rgba(218,31,36,0); } }

.cnc-head { max-width: 760px; margin: 0 auto 48px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.cnc-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; line-height: 1.2; }
.cnc-head p { color: var(--cnc-muted); font-size: 17px; }

/* Hero */
.cnc-hero {
	position: relative; overflow: hidden; padding: 96px 0 104px;
	background:
		radial-gradient(circle at 85% 15%, rgba(218,31,36,.22), transparent 45%),
		radial-gradient(circle at 5% 95%, rgba(218,31,36,.14), transparent 40%),
		#0c0c0e;
}
.cnc-hero::before { /* faint data-grid, echoing the site's hero texture */
	content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
	background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 75%);
}
.cnc-hero__grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.cnc-hero__text { display: grid; gap: 24px; justify-items: start; }
.cnc .cnc-hero__title { color: #fff; font-size: clamp(36px, 5.2vw, 64px); font-weight: 700; line-height: 1.12; }
.cnc-hero__lead { color: #d0d0d0; font-size: 18px; max-width: 560px; }
.cnc-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 28px; width: 100%; }
.cnc-hero__media { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.cnc-hero__media img { position: relative; z-index: 2; width: 100%; max-height: 440px; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.cnc-shape { position: absolute; background: var(--cnc-red); z-index: 1; }
.cnc-shape--a { width: 62%; height: 72%; right: -4%; bottom: -6%; clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
.cnc-shape--b { width: 34%; height: 34%; left: 6%; top: 2%; clip-path: polygon(0 0, 100% 0, 100% 100%); opacity: .9; }
.cnc-hero__card {
	position: relative; z-index: 2; display: grid; gap: 4px; padding: 34px 40px; min-width: 260px;
	background: rgba(20,20,22,.88); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; backdrop-filter: blur(6px);
	box-shadow: 0 30px 60px -30px rgba(0,0,0,.9);
}
.cnc-hero__card strong { font-family: var(--cnc-head); font-size: 72px; line-height: 1; color: #fff; }
.cnc-hero__card span { color: #d0d0d0; font-size: 18px; }
.cnc-hero__card em { margin-top: 14px; display: flex; gap: 8px; align-items: center; font-style: normal; color: #fff; font-size: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.cnc-hero__card em .cnc-ico { color: var(--cnc-red); }

/* Why C-note */
.cnc-why { background: var(--cnc-sand); padding: 96px 0; }
.cnc-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cnc-pillar {
	position: relative; padding: 36px; background: #fff; border-radius: 18px; border: 1px solid var(--cnc-line);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden;
}
.cnc-pillar::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--cnc-red); transition: width .35s ease; }
.cnc-pillar:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -28px rgba(170,26,30,.45); border-color: transparent; }
.cnc-pillar:hover::before { width: 100%; }
.cnc-pillar__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--cnc-blush); color: var(--cnc-red); margin-bottom: 20px; font-size: 24px; transition: background .25s, color .25s; }
.cnc-pillar:hover .cnc-pillar__icon { background: var(--cnc-red); color: #fff; }
.cnc .cnc-pillar h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.cnc-pillar p { color: var(--cnc-muted); font-size: 15px; }

/* Openings */
.cnc-openings { background: #fff; padding: 96px 0; }
.cnc-jobs { display: grid; gap: 18px; max-width: 960px; margin: 0 auto; }
.cnc-job {
	border: 1px solid var(--cnc-line); border-left: 4px solid transparent; border-radius: 16px; padding: 26px 30px; background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.cnc-job:hover { border-left-color: var(--cnc-red); box-shadow: 0 18px 40px -30px rgba(0,0,0,.35); }
.cnc-job__top { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.cnc-job__dept { font-size: 12px; font-weight: 700; color: var(--cnc-red); text-transform: uppercase; letter-spacing: .1em; }
.cnc .cnc-job__title { font-size: 21px; font-weight: 600; margin: 2px 0 10px; }
.cnc-job__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--cnc-muted); font-size: 14px; }
.cnc-job__meta li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.cnc-job__meta .cnc-ico { color: var(--cnc-red); }
.cnc-job__summary { margin-top: 14px !important; color: var(--cnc-text); }
.cnc-job__more { margin-top: 14px; border-top: 1px dashed var(--cnc-line); padding-top: 12px; }
.cnc-job__more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--cnc-red); }
.cnc-job__more summary::-webkit-details-marker { display: none; }
.cnc-job__more[open] summary .cnc-ico { transform: rotate(180deg); }
.cnc-job__content { padding-top: 12px; color: var(--cnc-text); font-size: 15px; }
.cnc-job__content ul { padding-left: 20px; }
.cnc-job__content p + p, .cnc-job__content ul { margin-top: 10px; }
.cnc-empty { max-width: 640px; margin: 0 auto; text-align: center; padding: 40px; border: 1px dashed #d8d2cc; border-radius: 18px; background: var(--cnc-sand); display: grid; gap: 20px; justify-items: center; }

/* Apply */
.cnc-apply { background: var(--cnc-blush); padding: 96px 0; scroll-margin-top: 100px; }
.cnc-openings { scroll-margin-top: 100px; }
.cnc-apply__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.cnc-apply__info { display: grid; gap: 18px; position: sticky; top: 120px; }
.cnc .cnc-apply__info h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
.cnc-apply__info > p { color: var(--cnc-muted); }
.cnc-contact { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 14px; }
.cnc-contact li { display: flex; gap: 14px; align-items: center; margin: 0; }
.cnc-contact__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--cnc-red); box-shadow: 0 6px 18px -10px rgba(170,26,30,.5); }
.cnc-contact small { display: block; color: var(--cnc-muted); font-size: 12px; }
.cnc-contact a { color: var(--cnc-ink); font-weight: 700; }
.cnc-contact a:hover { color: var(--cnc-red); }

.cnc-card { background: #fff; border-radius: 24px; padding: 36px; box-shadow: 0 30px 60px -36px rgba(120, 20, 24, .45); }
.cnc-card__head { padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid var(--cnc-line); }
.cnc .cnc-card__head h3 { font-size: 22px; font-weight: 600; }
.cnc-card__head p { color: var(--cnc-muted); font-size: 14px; margin-top: 4px; }

.cnc-form { display: grid; gap: 18px; }
.cnc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cnc-field { display: grid; gap: 6px; min-width: 0; }
.cnc-field > label, .cnc-label { font-size: 13px; font-weight: 600; color: var(--cnc-ink); }
.cnc-field b { color: var(--cnc-red); }
.cnc .cnc-form input[type=text], .cnc .cnc-form input[type=email], .cnc .cnc-form input[type=tel], .cnc .cnc-form input[type=url], .cnc .cnc-form select, .cnc .cnc-form textarea {
	width: 100%; padding: 13px 16px; border: 1.5px solid var(--cnc-line); border-radius: 12px; background: #fbfaf9;
	font-family: var(--cnc-body); font-size: 15px; color: var(--cnc-ink); line-height: 1.4; box-shadow: none; transition: border-color .2s, background .2s, box-shadow .2s;
}
.cnc .cnc-form select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23da1f24' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.cnc .cnc-form textarea { resize: vertical; min-height: 120px; }
.cnc .cnc-form input:focus, .cnc .cnc-form select:focus, .cnc .cnc-form textarea:focus { outline: none; border-color: var(--cnc-red); background: #fff; box-shadow: 0 0 0 4px rgba(218,31,36,.1); }
.cnc .cnc-form .cnc-invalid { border-color: var(--cnc-red) !important; background: #fff6f6 !important; }

.cnc-drop {
	position: relative; display: grid; justify-items: center; gap: 2px; padding: 18px 14px; text-align: center; cursor: pointer;
	border: 2px dashed #e2d6d3; border-radius: 14px; background: #fbfaf9; transition: border-color .2s, background .2s;
}
.cnc-drop:hover, .cnc-drop.is-drag { border-color: var(--cnc-red); background: #fff; }
.cnc-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.cnc-drop .cnc-ico { width: 26px; height: 26px; color: var(--cnc-red); margin-bottom: 4px; }
.cnc-drop--muted .cnc-ico { color: #9a9a9f; }
.cnc-drop__label { font-size: 14px; font-weight: 600; color: var(--cnc-ink); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cnc-drop small { font-size: 11px; color: var(--cnc-muted); }
.cnc-drop.has-file { border-style: solid; border-color: #2e9e5b; background: #f3fbf6; }
.cnc-drop.has-file .cnc-drop__label { color: #1f7a45; }
.cnc-drop.cnc-invalid { border-color: var(--cnc-red); }

.cnc-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--cnc-muted); cursor: pointer; }
.cnc-consent input { margin-top: 3px; accent-color: var(--cnc-red); width: 16px; height: 16px; flex: none; }
.cnc-msg { padding: 12px 16px; border-radius: 12px; background: #fff1f1; border: 1px solid #f3c2c3; color: #a3161b; font-size: 14px; font-weight: 500; }
.cnc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cnc-note { color: var(--cnc-muted); }

.cnc-success { text-align: center; padding: 24px 8px; display: grid; gap: 12px; justify-items: center; }
.cnc-success__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: #e9f7ef; color: #1f9d55; font-size: 34px; }
.cnc-success p { color: var(--cnc-muted); max-width: 440px; }

/* Responsive */
@container cnc (max-width: 980px) {
	.cnc-hero__grid, .cnc-apply__grid { grid-template-columns: 1fr; }
	.cnc-hero__media { min-height: 300px; }
	.cnc-apply__info { position: static; }
}
@container cnc (max-width: 680px) {
	.cnc-hero, .cnc-why, .cnc-openings, .cnc-apply { padding: 64px 0; }
	.cnc-pillars, .cnc-row { grid-template-columns: 1fr; }
	.cnc-job__top { flex-direction: column; align-items: flex-start; }
	.cnc-card { padding: 24px 20px; }
	.cnc-pillar { padding: 28px 24px; }
	.cnc-hero__actions .cnc-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.cnc * { animation: none !important; transition: none !important; }
}
