/* ==========================================================================
   KND-LINE — brand overrides (loaded last): road lines, hazard stripes, Karantina
   ========================================================================== */

/* Type ------------------------------------------------------------------ */
h1, h2, h3, h4 { letter-spacing: 0; }
.display-xl, .display-l { font-weight: 700; line-height: 0.95; }
.display-m { font-weight: 700; line-height: 1.02; }
.display-xl .accent, .display-l .accent, .display-m .accent { font-style: normal; font-weight: 700; color: var(--brass-400); }
.section--light .display-xl .accent, .section--light .display-l .accent, .section--light .display-m .accent { color: var(--brass-600); }
.prose h2 { font-family: var(--font-display); font-size: var(--t-display-m); font-weight: 700; }
::selection { background: var(--brass-500); color: #fff; }

/* Section label: hazard stripe + "/ 02" ----------------------------------- */
.label::before { width: 30px; height: 8px; border-radius: 2px; background: var(--hazard); }
.label[data-n]::after { content: '/ ' attr(data-n); }
.section--light .label::before, .cta .label::before { background: repeating-linear-gradient(135deg, var(--brass-500) 0 12px, var(--parch-100) 12px 24px); }

/* Rule: a dashed lane line ---------------------------------------------- */
.rule { height: 2px; background: var(--lane-soft); }
.rule::before, .rule::after { display: none; }
.rule--brass { background: repeating-linear-gradient(90deg, var(--brass-500) 0 18px, transparent 18px 32px); opacity: 0.8; }
.ambient { background-image: linear-gradient(to bottom, rgba(94, 164, 222, 0.04) 1px, transparent 1px), radial-gradient(60% 50% at 85% 10%, rgba(64, 144, 208, 0.12), transparent 70%); }
.stripe { height: 10px; background: var(--hazard); border-radius: 2px; }
.stripe--thin { height: 6px; }
.section--light .stripe { background: repeating-linear-gradient(135deg, var(--brass-500) 0 12px, var(--navy-700) 12px 24px); }

/* Components -------------------------------------------------------------- */
.card__num::before { content: '/ '; opacity: 0.6; }
.stat__value .suffix { color: var(--brass-400); }

.cert { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--glass-light); }
.cert__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(64, 144, 208, 0.16); color: var(--brass-400); }
.cert__icon svg { width: 22px; height: 22px; }
.cert b { display: block; font-weight: 600; font-size: 1.02rem; }
.cert p { margin-top: 0.3rem; font-size: 0.9rem; color: var(--fg-2); line-height: 1.6; }
.section--light .cert { border-color: var(--line-on-light); background: rgba(11, 12, 15, 0.03); }
.section--light .cert__icon { color: var(--brass-600); }
.section--light .cert p { color: var(--fg-on-light-2); }

.equip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.equip div { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-3); display: flex; flex-direction: column; gap: 0.3rem; }
.equip b { font-weight: 600; font-size: 1rem; }
.equip span { font-size: 0.85rem; color: var(--fg-3); line-height: 1.5; }
.equip i { font-family: var(--font-mono); font-style: normal; font-size: 0.6rem; letter-spacing: 0.16em; color: var(--brass-400); text-transform: uppercase; }

.job { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center; padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-3); transition: border-color var(--d-base), transform var(--d-slow) var(--ease-out); }
.job:hover { border-color: var(--brass-500); transform: translateY(-3px); }
.job__title { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; }
.job__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.job__text { margin-top: 0.7rem; color: var(--fg-2); font-size: 0.95rem; line-height: 1.65; max-width: 70ch; }

.form-row--3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.field input[type="date"] { direction: ltr; text-align: end; }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.8); }
.cta .field input[type="date"]::-webkit-calendar-picker-indicator { filter: none; }

.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.sector { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--glass-light); display: flex; flex-direction: column; gap: 0.5rem; }
.sector__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(64, 144, 208, 0.14); color: var(--brass-400); }
.sector__icon svg { width: 20px; height: 20px; }
.sector b { font-weight: 600; }
.sector p { font-size: 0.86rem; color: var(--fg-2); line-height: 1.6; }
.section--light .sector { border-color: var(--line-on-light); background: rgba(11, 12, 15, 0.03); }
.section--light .sector p { color: var(--fg-on-light-2); }
.section--light .sector__icon { color: var(--brass-600); }

.paddle { display: inline-grid; place-items: center; width: 64px; height: 64px; font-family: var(--font-grotesk); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; color: #fff; }
.paddle--stop { background: #d7261e; clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); }
.paddle--slow { background: #f26a16; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); color: var(--ink-950); }
.paddles { display: inline-flex; gap: 0.6rem; align-items: center; }

/* Header / preloader / hero ------------------------------------------------- */
.header__logo { gap: 0.8rem; }
.header__logo .mark { width: 44px; height: 44px; flex: 0 0 auto; object-fit: contain; transition: width var(--d-base), height var(--d-base); }
.header.is-scrolled .header__logo .mark { width: 36px; height: 36px; }
.header__wordmark b { white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: 0.02em; line-height: 0.9; color: var(--parch-50); direction: ltr; }
.header__wordmark span { font-family: var(--font-sans); font-size: 0.62rem; letter-spacing: 0.04em; color: var(--brass-400); text-transform: none; font-weight: 500; }

.preloader__mark { width: clamp(180px, 26vw, 360px); }
.preloader__rule { height: 3px; inset-inline: var(--page-x); }
.preloader__rule::before { display: none; }
.preloader__rule::after { top: 0; height: 3px; background: var(--lane); box-shadow: none; opacity: 0.9; }

.hero__rule { top: 54%; height: 3px; }
.hero__rule::before { display: none; }
.hero__rule::after { top: 0; height: 3px; background: var(--lane); box-shadow: 0 0 14px rgba(64, 144, 208, 0.45); opacity: 0.95; }
.hero__title { max-width: 14ch; font-weight: 700; line-height: 0.95; }
.hero__title .accent { font-style: normal; }
.hero__shade::after { background: radial-gradient(70% 60% at 80% 20%, rgba(64, 144, 208, 0.22), transparent 70%); }

.statement__text { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.8vw, 3.8rem); line-height: 1.15; letter-spacing: 0.01em; max-width: 26ch; }
.founder__name { font-family: var(--font-sans); font-size: 1.05rem; }
.founder__sig { font-family: var(--font-display); font-style: normal; font-size: 1.6rem; }

.practice-card__title { font-family: var(--font-display); font-size: clamp(2rem, 2.8vw, 2.8rem); line-height: 0.95; }
.practice-card--end { background: var(--brass-500); }
.practice-card--end .practice-card__title { color: var(--ink-950); }
.practice-card--end p { color: rgba(11, 12, 15, 0.8); }

.method__svg .ln { stroke: rgba(27, 31, 39, 0.75); }
.method__svg .ln--accent { stroke: var(--brass-500); }
.method__svg .ln--lane { stroke: #b8902a; stroke-width: 2; stroke-dasharray: 10 8; }
.method__svg .mark--cone { fill: var(--brass-500); }
.method__svg text.he { font-family: var(--font-sans); font-size: 10px; }

.split__quote { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.8rem); line-height: 1.15; }
.split__quote::before, .split__quote::after { content: ''; margin: 0; }

.cta__title { font-weight: 700; line-height: 0.98; }
.cta__title .accent { color: var(--brass-600); font-style: normal; }
.cta__rule { height: 3px; top: 16%; opacity: 0.7; }
.cta__rule::before { display: none; }
.cta__rule::after { top: 0; height: 3px; background: repeating-linear-gradient(90deg, var(--brass-500) 0 34px, transparent 34px 60px); }
.footer__logo { height: 150px; }
.preloader__mark { width: clamp(150px, 20vw, 260px); }

.footer__rule { height: 3px; opacity: 0.5; }
.footer__rule::before { display: none; }
.footer__rule::after { top: 0; height: 3px; background: var(--lane); }
.footer__logo { height: 110px; }
.footer__wordmark { font-weight: 700; letter-spacing: 0.02em; }
.footer__wordmark.is-solid span { color: var(--brass-500); }

.page-top .display-xl { max-width: 18ch; }
.guide-card__title { font-family: var(--font-display); font-size: 2rem; line-height: 0.98; }
.guide-card__status { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3; }
.err .display-xl { -webkit-text-stroke: 1px var(--brass-400); }

@media (max-width: 1180px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } .equip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .sectors, .equip, .form-row--3 { grid-template-columns: 1fr; } .job { grid-template-columns: 1fr; } .header__wordmark { display: flex; } .header__wordmark span { display: none; } .preloader__mark { width: 60vw; } }
