:root {
  --c-brand: #5B533A;
  --c-brand-deep: #48412D;
  --c-paper: #F3F1EB;
  --c-paper-deep: #E9E5DC;
  --c-ink: #1F1B16;
  --c-white: #FFFFFF;
  --c-line: rgba(31, 27, 22, .14);
  --c-line-strong: rgba(31, 27, 22, .24);
  --c-muted: #665F54;
  --radius: 8px;
  --container: 1280px;
  --font: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ladder-left-progress: 0;
  --ladder-right-progress: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  hyphens: none;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, .statement__text, .service-story h3, .metric strong, .value-strip__item strong { text-wrap: balance; }
p, li, .section-lead, .hero__lead, .page-hero__lead, .section-note { text-wrap: pretty; }

.site-header,
.site-main,
.site-footer,
.skip-link { position: relative; z-index: 2; }

.scroll-ladders {
  position: fixed;
  inset: 92px 0 24px;
  pointer-events: none;
  z-index: 12;
}
.scroll-ladder {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  color: #5B533A;
  opacity: 1;
  filter: drop-shadow(0 1px 0 rgba(243, 241, 235, .12));
}
.scroll-ladder--left { left: 4px; }
.scroll-ladder--right { right: 4px; }
.scroll-ladder::before,
.scroll-ladder::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2.5px;
  background: currentColor;
  border-radius: 999px;
  opacity: .30;
  transition: opacity .3s ease;
}
.scroll-ladder::before { left: 3px; }
.scroll-ladder::after { right: 3px; }
.scroll-ladder__rungs {
  position: absolute;
  inset: 0 3px;
  background: repeating-linear-gradient(to bottom, transparent 0 24px, currentColor 24px 27px);
  opacity: .30;
  transition: opacity .3s ease;
}
.scroll-ladder--right::before,
.scroll-ladder--right::after,
.scroll-ladder--right .scroll-ladder__rungs { opacity: .07; }
body.ladder-phase-right .scroll-ladder--left::before,
body.ladder-phase-right .scroll-ladder--left::after,
body.ladder-phase-right .scroll-ladder--left .scroll-ladder__rungs { opacity: .07; }
body.ladder-phase-right .scroll-ladder--right::before,
body.ladder-phase-right .scroll-ladder--right::after,
body.ladder-phase-right .scroll-ladder--right .scroll-ladder__rungs { opacity: .30; }
.scroll-climber {
  position: absolute;
  left: 50%;
  width: 24px;
  height: 58px;
  margin-left: -12px;
  color: #5B533A;
  opacity: .88;
  transition: opacity .25s ease;
}
.scroll-climber__figure {
  display: block;
  width: 24px;
  height: 58px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 1px rgba(243, 241, 235, .22));
}
.scroll-climber__figure circle { fill: currentColor; stroke: none; }
.scroll-climber--left {
  top: calc(100% - 58px);
}
.scroll-climber--right {
  top: 0;
  opacity: 0;
}
body.ladder-phase-right .scroll-climber--left { opacity: 0; }
body.ladder-phase-right .scroll-climber--right { opacity: .88; }

.container { width: min(calc(100% - 56px), var(--container)); margin-inline: auto; }
.container--narrow { width: min(calc(100% - 56px), 840px); margin-inline: auto; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--c-ink); color: var(--c-paper); }
.section--brand { position: relative; overflow: hidden; background: var(--c-brand); color: var(--c-white); }
.section--white { background: #FAF9F5; }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 9999;
  transform: translateY(-180%); background: var(--c-ink); color: var(--c-white);
  padding: 10px 14px; border-radius: 4px;
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(243, 241, 235, .97);
  border-bottom: 1px solid var(--c-line);
  backdrop-filter: blur(8px);
}
.site-header__inner {
  min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand--image { line-height: 0; }
.brand__logo { width: 164px; max-width: 24vw; height: auto; }
.brand__logo--footer { width: 210px; max-width: 68vw; filter: brightness(0) invert(1); }
.brand-wrap .custom-logo-link { display: inline-flex; align-items: center; }
.brand-wrap .custom-logo { width: auto; max-height: 38px; }
.brand-wrap--footer .custom-logo { max-height: 46px; filter: brightness(0) invert(1); }

.primary-nav { display: flex; align-items: center; gap: 16px; }
.primary-nav__list {
  display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0;
}
.primary-nav__list a,
.footer-nav a { text-decoration: none; font-size: 13.5px; font-weight: 740; }
.primary-nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 2px;
  white-space: nowrap;
  letter-spacing: .01em;
}
.primary-nav__list a::after {
  content: ''; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--c-brand);
  transition: left .18s ease, right .18s ease;
}
.primary-nav__list a:hover::after,
.primary-nav__list .current-menu-item > a::after,
.primary-nav__list .current_page_item > a::after { left: 0; right: 0; }
.nav-toggle { display: none; border: 0; background: transparent; color: inherit; cursor: pointer; padding: 10px 0; }
.nav-toggle__label { font-size: 14px; font-weight: 700; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; max-width: 100%; padding: 0 24px;
  border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; text-align: center; font-weight: 760; font-size: 15px; line-height: 1.2;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button__arrow { transition: transform .18s ease; }
.button:hover .button__arrow { transform: translateX(3px); }
.button--primary { background: var(--c-brand); color: var(--c-white); border-color: var(--c-brand); }
.button--primary:hover { background: var(--c-brand-deep); border-color: var(--c-brand-deep); }
.button--secondary { border-color: var(--c-line-strong); color: var(--c-ink); background: transparent; }
.button--secondary:hover { border-color: var(--c-brand); color: var(--c-brand-deep); }
.button--light { background: var(--c-paper); color: var(--c-ink); border-color: var(--c-paper); }
.button--light:hover { background: var(--c-white); border-color: var(--c-white); }
.button--small { min-height: 46px; padding-inline: 20px; font-size: 13.5px; white-space: nowrap; }
.button-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero { padding: 88px 0 0; text-align: center; }
.hero__inner { width: min(980px, 100%); margin-inline: auto; }
.hero__kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--c-brand);
  text-transform: uppercase;
  letter-spacing: .075em;
  font-weight: 800;
  font-size: 14px;
}
.hero__kicker::before,
.hero__kicker::after,
.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .38;
}
.hero h1,
.page-hero h1 {
  font-size: clamp(48px, 7vw, 84px); line-height: .99; letter-spacing: -.05em;
  margin: 0 auto; max-width: 1040px;
}
.hero__slogan {
  display: block; font-size: clamp(21px, 2.3vw, 31px); line-height: 1.28;
  font-weight: 620; margin-top: 20px; color: var(--c-brand);
}
.hero__lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.62; margin: 24px auto 0; max-width: 66ch; }
.hero-media { margin-top: 56px; position: relative; }
.hero-media::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(31,27,22,.02), rgba(31,27,22,.22));
}
.hero-media img { width: 100%; height: clamp(320px, 39vw, 540px); object-fit: cover; object-position: center 52%; }

.page-hero { padding: 86px 0 54px; text-align: center; }
.page-hero__grid { display: block; width: min(1000px, 100%); margin-inline: auto; }
.page-hero h1 { font-size: clamp(42px, 5.6vw, 70px); }
.page-hero__lead { font-size: 20px; margin: 22px auto 0; max-width: 64ch; }
.page-hero .button-row { margin-top: 26px; }
.page-photo { width: min(calc(100% - 56px), var(--container)); margin: 0 auto 76px; }
.page-photo img { width: 100%; height: clamp(270px, 34vw, 450px); object-fit: cover; }
.page-photo--meeting img { object-position: center 48%; }
.page-photo--workshop img { object-position: center 50%; }
.page-photo--laptop img { object-position: center 55%; }

.editorial-photo { margin: 0; overflow: hidden; background: var(--c-paper-deep); }
.editorial-photo img { width: 100%; height: 100%; object-fit: cover; }

.section-heading { max-width: 860px; margin: 0 auto 46px; text-align: center; }
.section-heading h2,
.content-block h2,
.site-footer h2,
.contact-aside h2 {
  font-size: clamp(32px, 3.5vw, 50px);
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 0;
}
.section-lead { font-size: 19px; margin: 18px auto 0; max-width: 66ch; color: var(--c-muted); text-align: center; }
.section--dark .section-lead,
.section--brand .section-lead { color: rgba(243,241,235,.74); }
.section-note { margin: 30px auto 0; max-width: 62ch; text-align: center; color: var(--c-muted); font-size: 18px; line-height: 1.55; }
.section-note--light { color: rgba(243,241,235,.72); }

.value-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.value-strip__item { padding: 30px 24px; text-align: center; }
.value-strip__item + .value-strip__item { border-left: 1px solid var(--c-line); }
.value-strip__item strong { display: block; font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.value-strip__item span { display: block; color: var(--c-muted); font-size: 14px; line-height: 1.55; }

.service-stories { border-top: 1px solid var(--c-line); }
.service-story { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: stretch; border-bottom: 1px solid var(--c-line); }
.service-story:nth-child(even) .service-story__media { order: 2; }
.service-story__media { min-height: 360px; overflow: hidden; }
.service-story__media img { width: 100%; height: 100%; object-fit: cover; }
.service-story__body {
  padding: 58px clamp(28px, 5vw, 74px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
}
.service-story__number { color: var(--c-brand); font-size: 14px; letter-spacing: .035em; font-weight: 800; text-transform: none; }
.service-story h3 { font-size: clamp(30px, 3vw, 42px); line-height: 1.06; letter-spacing: -.04em; margin: 15px 0; max-width: 720px; }
.service-story p { max-width: 640px; margin: 0; color: var(--c-muted); }
.service-story__link { display: inline-block; margin-top: 22px; font-weight: 800; color: var(--c-brand-deep); text-underline-offset: 5px; }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  border-top: 1px solid var(--c-line-strong);
  background: transparent;
  border-radius: 0;
  padding: 34px 18px;
  min-height: 100%;
  text-align: center;
}
.card--feature { border-top: 3px solid var(--c-brand); }
.card__number { font-size: 14px; letter-spacing: .025em; font-weight: 800; color: var(--c-brand); text-transform: none; }
.card h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.14; letter-spacing: -.03em; margin: 18px 0 12px; max-width: 690px; margin-inline: auto; }
.card p { margin: 0 auto 18px; max-width: 560px; }
.card__link { font-weight: 800; text-underline-offset: 5px; color: var(--c-brand-deep); }
.card ul { padding-left: 20px; text-align: left; }
.section--dark .card { border-color: rgba(243,241,235,.3); }
.section--dark .card__number,
.section--dark .card__link { color: var(--c-paper); }

.statement { padding: 44px 0; text-align: center; border-top: 1px solid var(--c-line-strong); }
.statement:last-child { border-bottom: 1px solid var(--c-line-strong); }
.statement__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-transform: none;
  letter-spacing: .02em;
  font-size: 15px;
  font-weight: 800;
  color: var(--c-brand);
}
.statement__label::before,
.statement__label::after {
  content: '';
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: .4;
}
.statement__text { font-size: clamp(24px, 2.6vw, 37px); line-height: 1.2; letter-spacing: -.03em; margin: 0 auto; max-width: 920px; }
.section--dark .statement__label { color: var(--c-paper); opacity: .8; }

.process-wrap { max-width: 1080px; margin: 0 auto; }
.process-track { list-style: none; margin: 0; padding: 0; display: flex; border-top: 1px solid var(--c-line-strong); }
.process-track__item { flex: 1; min-width: 0; position: relative; padding: 25px 8px 0; text-align: center; font-weight: 760; font-size: 14px; }
.process-track__item::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c-paper); border: 2px solid var(--c-brand);
  position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
}
.process-track__item--active::before { background: var(--c-brand); }
.section--dark .process-track { border-color: rgba(243,241,235,.35); }
.section--dark .process-track__item::before { background: var(--c-ink); border-color: var(--c-paper); }
.section--dark .process-track__item--active::before { background: var(--c-paper); }

.split { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(44px, 6vw, 82px); align-items: start; }
.split__aside { position: sticky; top: 112px; text-align: center; }
.split__aside h2 { font-size: clamp(34px, 3.8vw, 50px); line-height: 1.05; letter-spacing: -.045em; margin: 0 auto; max-width: 640px; }
.content-block { text-align: center; }
.content-block + .content-block { margin-top: 46px; padding-top: 46px; border-top: 1px solid var(--c-line); }
.content-block h2 { font-size: clamp(30px, 3vw, 42px); max-width: 760px; margin-inline: auto; }
.content-block h3 { font-size: 22px; margin: 28px 0 10px; }
.content-block p { margin: 15px auto; max-width: 66ch; }
.check-list { list-style: none; margin: 26px auto 0; padding: 0; max-width: 820px; text-align: center; }
.check-list li { position: relative; padding: 14px 14px; border-bottom: 1px solid var(--c-line); }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.metric { padding: 32px 24px; text-align: center; }
.metric + .metric { border-left: 1px solid var(--c-line); }
.metric strong { display: block; font-size: 28px; letter-spacing: -.03em; margin-bottom: 7px; }
.metric span { color: var(--c-muted); font-size: 14px; }
.section--dark .metric span { color: rgba(243,241,235,.72); }

.quote-panel { padding: 54px 42px; border-left: 3px solid var(--c-brand); background: transparent; color: inherit; text-align: center; }
.section--dark .quote-panel { border-left-color: var(--c-paper); }
.quote-panel p { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.16; letter-spacing: -.03em; margin: 0 auto; max-width: 920px; }
.quote-panel small { display: block; margin: 18px auto 0; max-width: 680px; color: var(--c-muted); }
.section--dark .quote-panel small { color: rgba(243,241,235,.64); }

.form-shell { background: #FCFBF8; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 32px; text-align: left; }
.aplizera-form { display: grid; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 750; }
.field input,
.field select,
.field textarea {
  width: 100%; border: 1px solid var(--c-line-strong); border-radius: 4px; background: var(--c-white); color: var(--c-ink);
  padding: 13px 14px; outline: none;
}
.field textarea { min-height: 155px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--c-brand); box-shadow: 0 0 0 3px rgba(91,83,58,.12); }
.field--hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.checkbox-row input { margin-top: 5px; }
.form-notice { border-radius: 4px; padding: 14px 16px; font-size: 14px; }
.form-notice--success { background: #e6eee5; border: 1px solid #a9c0a4; }
.form-notice--error { background: #f2e5e0; border: 1px solid #c9a69b; }
.form-help { font-size: 13px; color: var(--c-muted); }
.form-actions { display: flex; justify-content: center; }
.form-actions .button { min-width: 190px; }

.contact-grid { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 58px; align-items: start; }
.contact-aside { padding-top: 8px; text-align: center; }
.contact-aside h2 { max-width: 720px; margin-inline: auto; }
.contact-aside p { color: var(--c-muted); max-width: 560px; margin: 16px auto; }
.section--brand .contact-aside p { color: rgba(255,255,255,.78); }
.contact-direct { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--c-line); }
.contact-direct a { font-weight: 800; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-aside .check-list { max-width: 100%; }

.brand-statement { position: relative; isolation: isolate; text-align: center; }
.brand-statement::after {
  content: ''; position: absolute; width: min(460px, 75vw); aspect-ratio: 1; right: -120px; top: 50%; transform: translateY(-50%); z-index: -1;
  background: url('../images/aplizera-symbol.png') center/contain no-repeat; opacity: .07;
}
.brand-statement h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.03; letter-spacing: -.045em; margin: 0 auto; max-width: 820px; }
.brand-statement .section-lead { max-width: 740px; }

.site-footer { background: var(--c-ink); color: var(--c-paper); padding: 72px 0 24px; text-align: center; }
.site-footer__top { display: grid; grid-template-columns: .72fr 1.28fr; gap: 72px; align-items: center; }
.site-footer__top > div { display: flex; flex-direction: column; align-items: center; }
.site-footer__tagline { color: rgba(243,241,235,.6); margin-top: 16px; }
.site-footer__cta { max-width: 660px; }
.site-footer__cta p { color: rgba(243,241,235,.7); }
.site-footer .button--primary { background: var(--c-paper); color: var(--c-ink); border-color: var(--c-paper); }
.site-footer__bottom {
  border-top: 1px solid rgba(243,241,235,.14); margin-top: 62px; padding-top: 22px;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px;
  color: rgba(243,241,235,.56); font-size: 13px;
}
.footer-nav { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: var(--c-paper); }

.simple-page { padding: 78px 0 96px; text-align: center; }
.simple-page h1 { font-size: clamp(40px, 5vw, 62px); letter-spacing: -.04em; line-height: 1.04; }
.simple-page .entry-content { max-width: 820px; margin-inline: auto; }
.simple-page .entry-content h2 { margin-top: 42px; font-size: 27px; }
.simple-page .entry-content h3 { margin-top: 30px; }
.simple-page .entry-content a { color: var(--c-brand); }
.simple-page .entry-content ul,
.simple-page .entry-content ol { text-align: left; }

.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 70px 20px; }
.not-found h1 { font-size: clamp(62px, 11vw, 132px); margin: 0; letter-spacing: -.06em; color: var(--c-brand); }
.not-found h2 { font-size: 30px; margin: 0 0 12px; }

@media (max-width: 1199px) {
  .scroll-ladders { display: none; }
}

@media (max-width: 1280px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; }
  .nav-toggle__icon,
  .nav-toggle__icon::before,
  .nav-toggle__icon::after { width: 20px; height: 2px; background: currentColor; display: block; position: relative; }
  .nav-toggle__icon::before,
  .nav-toggle__icon::after { content: ''; position: absolute; left: 0; }
  .nav-toggle__icon::before { top: -6px; }
  .nav-toggle__icon::after { top: 6px; }
  .primary-nav {
    display: none; position: absolute; top: 78px; left: 0; right: 0; max-height: calc(100dvh - 78px); overflow-y: auto;
    background: var(--c-paper); border-bottom: 1px solid var(--c-line); padding: 16px 24px 24px; flex-direction: column; align-items: stretch;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav__list { display: grid; gap: 0; }
  .primary-nav__list li { border-bottom: 1px solid var(--c-line); }
  .primary-nav__list a { display: block; padding: 15px 4px; font-size: 16px; min-height: 0; text-align: center; white-space: normal; }
  .primary-nav__list a::after { display: none; }
  .primary-nav__cta { margin: 10px auto 0; width: min(100%, 380px); }
}

@media (max-width: 980px) {
  .grid--3 { grid-template-columns: 1fr; }
  .split,
  .contact-grid,
  .site-footer__top,
  .service-story { grid-template-columns: 1fr; gap: 42px; }
  .split__aside { position: static; }
  .service-story:nth-child(even) .service-story__media { order: 0; }
  .service-story__media { min-height: 310px; }
  .metric-grid,
  .value-strip { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3),
  .value-strip__item:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3),
  .value-strip__item:nth-child(n+3) { border-top: 1px solid var(--c-line); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container,
  .container--narrow,
  .page-photo { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 66px 0; }
  .section--tight { padding: 48px 0; }
  .site-header__inner { min-height: 68px; }
  .brand__logo { width: 148px; max-width: 54vw; }
  .brand-wrap .custom-logo { max-height: 36px; max-width: 54vw; }
  .primary-nav { top: 68px; max-height: calc(100dvh - 68px); padding-inline: 14px; }
  .hero { padding: 58px 0 0; }
  .hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .hero__slogan { font-size: 20px; }
  .hero__lead { margin-top: 20px; }
  .hero-media { margin-top: 42px; }
  .hero-media img { height: 330px; }
  .page-hero { padding: 58px 0 40px; }
  .page-hero h1 { font-size: clamp(36px, 10.4vw, 50px); }
  .page-hero__lead { font-size: 18px; }
  .page-photo { margin-bottom: 54px; }
  .page-photo img { height: 270px; }
  .section-heading { margin-bottom: 36px; }
  .button-row { flex-direction: column; align-items: stretch; width: min(100%, 420px); margin-inline: auto; margin-top: 24px; }
  .button-row .button { width: 100%; }
  .button { min-height: 50px; padding: 12px 18px; }
  .form-grid,
  .grid--2,
  .metric-grid,
  .value-strip { grid-template-columns: 1fr; }
  .metric + .metric,
  .value-strip__item + .value-strip__item { border-left: 0; border-top: 1px solid var(--c-line); }
  .service-story__media { min-height: 245px; }
  .service-story__body { padding: 36px 22px 40px; }
  .card { padding-inline: 8px; }
  .statement { padding: 36px 0; }
  .process-track { display: grid; border-top: 0; border-left: 1px solid var(--c-line-strong); margin-left: 8px; }
  .process-track__item { text-align: left; padding: 12px 0 12px 26px; font-size: 15px; }
  .process-track__item::before { top: 50%; left: -6px; transform: translateY(-50%); }
  .section--dark .process-track { border-left-color: rgba(243,241,235,.35); }
  .form-shell { padding: 22px 18px; }
  .field--full { grid-column: auto; }
  .quote-panel { padding: 34px 16px; border-left-width: 2px; }
  .brand-statement::after { right: -170px; opacity: .06; }
  .site-footer { padding-top: 60px; }
  .site-footer__bottom { flex-direction: column; }
  .check-list li { padding-inline: 8px; }
  .hero__kicker,
  .eyebrow,
  .statement__label { gap: 9px; font-size: 13px; }
  .hero__kicker::before,
  .hero__kicker::after,
  .eyebrow::before,
  .eyebrow::after,
  .statement__label::before,
  .statement__label::after { width: 16px; }
}

@media (max-width: 420px) {
  .container,
  .container--narrow,
  .page-photo { width: min(calc(100% - 22px), var(--container)); }
  .brand__logo { width: 136px; }
  .hero h1 { font-size: 42px; }
  .hero-media img { height: 285px; }
  .page-photo img { height: 235px; }
  .service-story__media { min-height: 220px; }
  .service-story__body { padding-inline: 16px; }
  .form-shell { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .scroll-ladders { display: none !important; }
}

/* APLIZERA platform V1.1.0 */
.portal-page { padding: 72px 0 100px; min-height: 70vh; }
.apl-platform { width: 100%; }
.apl-platform h2,
.apl-platform h3,
.apl-platform h4 { margin-top: 0; }
.apl-platform .button { text-decoration: none; }
.apl-portal-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--c-line-strong);
}
.apl-portal-head h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.02; letter-spacing: -.045em; margin: 8px 0 10px; }
.apl-portal-head p { margin: 0; color: var(--c-muted); max-width: 720px; }
.apl-kicker {
  display: inline-block;
  color: var(--c-brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.apl-stat {
  min-width: 170px;
  padding: 18px 20px;
  border-left: 2px solid var(--c-brand);
  text-align: left;
}
.apl-stat strong { display: block; font-size: 25px; line-height: 1.05; }
.apl-stat span { display: block; margin-top: 6px; color: var(--c-muted); font-size: 13px; }
.apl-portal-section { margin-top: 56px; }
.apl-portal-section > h3,
.apl-section-head h3 { font-size: clamp(27px, 3vw, 38px); letter-spacing: -.035em; margin: 0; }
.apl-assignment-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 22px; }
.apl-assignment-card {
  border-top: 2px solid var(--c-brand);
  padding: 24px 2px 6px;
}
.apl-assignment-card h4 { font-size: 23px; line-height: 1.15; margin: 10px 0 12px; }
.apl-assignment-card p { color: var(--c-muted); }
.apl-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 18px 0; font-size: 13px; color: var(--c-muted); }
.apl-workspace-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); gap: 22px; margin-top: 32px; }
.apl-panel {
  background: #FAF9F5;
  border: 1px solid var(--c-line);
  padding: clamp(22px,3vw,34px);
  border-radius: var(--radius);
}
.apl-panel--compact h3 { font-size: 22px; }
.apl-panel p:last-child { margin-bottom: 0; }
.apl-details { margin: 0; }
.apl-details > div { display: grid; grid-template-columns: minmax(100px,.7fr) minmax(0,1.3fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--c-line); }
.apl-details dt { font-weight: 800; }
.apl-details dd { margin: 0; overflow-wrap: anywhere; }
.apl-back { font-weight: 750; text-underline-offset: 4px; }
.apl-section-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; margin-bottom: 20px; }
.apl-table-wrap { overflow-x: auto; border: 1px solid var(--c-line); background: #FAF9F5; }
.apl-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.apl-table th,
.apl-table td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.apl-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); }
.apl-table small { color: var(--c-muted); }
.apl-add-box { margin-top: 22px; border-top: 1px solid var(--c-line); padding-top: 18px; }
.apl-add-box summary { cursor: pointer; font-weight: 800; }
.apl-inline-form { margin-top: 20px; }
.apl-inline-form textarea { min-height: 100px; }
.apl-log-form { display: grid; grid-template-columns: 150px minmax(180px,.8fr) minmax(220px,1.4fr) auto; gap: 10px; align-items: end; margin: 20px 0 28px; }
.apl-log-form input,
.apl-log-form select,
.apl-panel input,
.apl-panel select,
.apl-panel textarea {
  width: 100%; border: 1px solid var(--c-line-strong); border-radius: 4px; background: var(--c-white); color: var(--c-ink); padding: 11px 12px;
}
.apl-timeline { border-top: 1px solid var(--c-line); }
.apl-timeline__item { padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.apl-timeline__item strong { display: block; }
.apl-timeline__item span { display: block; margin-top: 4px; color: var(--c-muted); font-size: 13px; }
.apl-timeline__item p { margin: 8px 0 0; }
.apl-request-form { width: 100%; }

@media (max-width: 1100px) {
  .apl-assignment-grid { grid-template-columns: 1fr 1fr; }
  .apl-workspace-grid { grid-template-columns: 1fr; }
  .apl-log-form { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .portal-page { padding: 50px 0 72px; }
  .apl-portal-head { align-items: stretch; flex-direction: column; }
  .apl-stat { width: 100%; }
  .apl-assignment-grid { grid-template-columns: 1fr; }
  .apl-log-form { grid-template-columns: 1fr; }
  .apl-details > div { grid-template-columns: 1fr; gap: 2px; }
  .apl-section-head { align-items: flex-start; flex-direction: column; }
}

/* APLIZERA CRM / Uppdragsportal 1.2.0 */
.apl-portal-body { background:#e9e6de; min-height:100vh; }
.apl-app-header {
  height:64px; display:flex; align-items:center; gap:18px; padding:0 28px;
  background:#1f1b16; color:#f3f1eb; border-bottom:1px solid rgba(255,255,255,.08);
  position:sticky; top:0; z-index:50;
}
.apl-app-header span { font-size:13px; letter-spacing:.09em; text-transform:uppercase; opacity:.7; }
.apl-app-brand { display:inline-flex; align-items:center; }
.apl-app-brand img { width:156px; height:auto; filter:brightness(0) invert(1); }
.portal-page--app { padding:0; min-height:calc(100vh - 64px); }
.portal-container { width:min(calc(100% - 48px), 1680px); margin:0 auto; padding:26px 0 72px; }
.apl-worker-portal { width:100%; }
.apl-crm-userbar {
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:14px 18px; margin-bottom:22px; background:#f8f6f1; border:1px solid rgba(31,27,22,.12); border-radius:10px;
}
.apl-crm-userbar > div { display:flex; flex-direction:column; line-height:1.2; }
.apl-crm-userbar__name { font-weight:800; }
.apl-crm-userbar__role { font-size:12px; color:#6b645a; margin-top:3px; }
.apl-crm-userbar nav { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.apl-crm-userbar nav a { text-decoration:none; font-size:13px; font-weight:750; padding:9px 12px; border-radius:7px; }
.apl-crm-userbar nav a:hover { background:#ece8df; }
.apl-crm-userbar .apl-logout { background:#1f1b16; color:#f3f1eb; }
.apl-crm-hero {
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:36px;
  padding:34px 38px; border-radius:14px; background:#f8f6f1; border:1px solid rgba(31,27,22,.12);
}
.apl-crm-hero h1 { margin:6px 0 8px; font-size:clamp(38px,4vw,62px); line-height:1; letter-spacing:-.045em; }
.apl-crm-hero p { max-width:760px; margin:0; color:#665f54; font-size:16px; }
.apl-crm-focus, .apl-status-large { min-width:180px; padding-left:22px; border-left:2px solid #5b533a; }
.apl-crm-focus strong, .apl-status-large strong { display:block; font-size:36px; line-height:1; }
.apl-crm-focus span, .apl-status-large span { display:block; margin-top:6px; font-size:13px; color:#665f54; }
.apl-kpi-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin:16px 0 0; }
.apl-kpi-grid--compact { grid-template-columns:repeat(5,minmax(0,1fr)); }
.apl-kpi { background:#1f1b16; color:#f3f1eb; border-radius:12px; padding:20px; min-height:128px; display:flex; flex-direction:column; }
.apl-kpi > span { font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:rgba(243,241,235,.62); }
.apl-kpi strong { font-size:clamp(24px,2.2vw,36px); letter-spacing:-.035em; margin-top:auto; line-height:1; }
.apl-kpi small { margin-top:8px; color:rgba(243,241,235,.58); line-height:1.35; }
.apl-crm-two { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:16px; }
.apl-crm-card { background:#f8f6f1; border:1px solid rgba(31,27,22,.12); border-radius:12px; padding:26px; }
.apl-crm-card h2 { font-size:28px; margin:6px 0 18px; letter-spacing:-.03em; }
.apl-channel-grid { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid rgba(31,27,22,.14); border-bottom:1px solid rgba(31,27,22,.14); }
.apl-channel-grid span { padding:18px 10px; text-align:center; color:#665f54; }
.apl-channel-grid span+span { border-left:1px solid rgba(31,27,22,.14); }
.apl-channel-grid b { display:block; color:#1f1b16; font-size:28px; line-height:1; margin-bottom:7px; }
.apl-conversion { display:grid; grid-template-columns:1fr auto 1fr auto 1fr; align-items:center; gap:12px; padding-top:8px; }
.apl-conversion div { text-align:center; }
.apl-conversion strong { display:block; font-size:34px; line-height:1; }
.apl-conversion span { display:block; color:#665f54; font-size:12px; margin-top:7px; }
.apl-conversion i { font-style:normal; color:#5b533a; font-size:24px; }
.apl-portal-section { margin-top:34px; }
.apl-section-head { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:14px; }
.apl-section-head h2 { margin:5px 0 0; font-size:30px; letter-spacing:-.035em; }
.apl-section-head > span, .apl-section-head > strong { color:#665f54; font-size:13px; }
.apl-assignment-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:0; }
.apl-assignment-card { background:#f8f6f1; border:1px solid rgba(31,27,22,.12); border-top:4px solid #5b533a; border-radius:11px; padding:22px; }
.apl-assignment-card__top { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.apl-assignment-card h3 { font-size:25px; margin:12px 0 10px; letter-spacing:-.025em; }
.apl-assignment-card p { min-height:52px; color:#665f54; }
.apl-status-pill { display:inline-flex; align-items:center; padding:5px 8px; border-radius:999px; background:#e7e2d7; font-size:11px; font-weight:800; white-space:nowrap; }
.apl-status-pill--active { background:#dfeadf; }
.apl-status-pill--paused { background:#f0e3cf; }
.apl-money-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:16px 0; }
.apl-money-row:empty { display:none; }
.apl-money-row div { padding:11px 12px; background:#ece8df; border-radius:7px; }
.apl-money-row span { display:block; color:#665f54; font-size:11px; text-transform:uppercase; letter-spacing:.06em; }
.apl-money-row strong { display:block; margin-top:3px; font-size:18px; }
.apl-empty { background:#f8f6f1; border:1px dashed rgba(31,27,22,.25); border-radius:10px; padding:30px; color:#665f54; }
.apl-crm-hero--assignment { margin-top:14px; }
.apl-workspace-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(330px,.45fr); gap:16px; margin-top:16px; }
.apl-brief-grid { display:grid; grid-template-columns:1fr 1fr; gap:0 28px; }
.apl-brief-grid > div { padding:16px 0; border-top:1px solid rgba(31,27,22,.12); }
.apl-brief-grid h3 { font-size:14px; margin:0 0 7px; }
.apl-brief-grid p { margin:0; color:#4f493f; }
.apl-details > div { display:grid; grid-template-columns:.8fr 1.2fr; gap:12px; padding:11px 0; border-bottom:1px solid rgba(31,27,22,.12); }
.apl-details dt { font-weight:800; }
.apl-details dd { margin:0; overflow-wrap:anywhere; }
.apl-pipeline { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin:0 0 14px; }
.apl-pipeline div { background:#f8f6f1; border:1px solid rgba(31,27,22,.12); border-radius:9px; padding:16px; text-align:center; }
.apl-pipeline strong { display:block; font-size:28px; line-height:1; }
.apl-pipeline span { display:block; font-size:11px; color:#665f54; margin-top:5px; text-transform:uppercase; letter-spacing:.05em; }
.apl-table-wrap { overflow:auto; border:1px solid rgba(31,27,22,.12); border-radius:10px; background:#f8f6f1; }
.apl-table { width:100%; border-collapse:collapse; min-width:860px; }
.apl-table th, .apl-table td { text-align:left; padding:14px 15px; border-bottom:1px solid rgba(31,27,22,.1); vertical-align:middle; }
.apl-table th { font-size:11px; text-transform:uppercase; letter-spacing:.07em; color:#665f54; }
.apl-add-box { margin-top:14px; background:#f8f6f1; border:1px solid rgba(31,27,22,.12); border-radius:10px; padding:18px; }
.apl-add-box summary { cursor:pointer; font-weight:800; }
.apl-log-form { display:grid; grid-template-columns:150px 180px minmax(180px,.9fr) minmax(220px,1.2fr) auto; gap:10px; align-items:end; margin:18px 0 28px; }
.apl-log-form label { display:grid; gap:5px; font-size:12px; font-weight:750; }
.apl-log-form input,.apl-log-form select,.apl-crm-card input,.apl-crm-card select,.apl-crm-card textarea { width:100%; border:1px solid rgba(31,27,22,.25); background:#fff; border-radius:6px; padding:11px 12px; color:#1f1b16; }
.apl-timeline { border-top:1px solid rgba(31,27,22,.12); }
.apl-timeline__item { padding:15px 0; border-bottom:1px solid rgba(31,27,22,.12); }
.apl-timeline__item span { display:block; margin-top:4px; color:#665f54; font-size:12px; }
.apl-back { font-weight:800; text-underline-offset:4px; }
.apl-profile-wrap { max-width:980px; margin:26px auto; }
.apl-profile-wrap > div:first-child { margin-bottom:18px; }
.apl-profile-wrap h1 { font-size:48px; margin:6px 0 8px; letter-spacing:-.04em; }
.apl-profile-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.apl-login-card { width:min(100%,520px); margin:8vh auto; background:#f8f6f1; border:1px solid rgba(31,27,22,.12); border-radius:14px; padding:34px; }
.apl-login-card img { width:180px; margin-bottom:28px; }
.apl-login-card h2 { font-size:36px; margin:0 0 8px; }
.apl-login-card form p { display:grid; gap:5px; }
.apl-login-card input[type=text],.apl-login-card input[type=password] { width:100%; border:1px solid rgba(31,27,22,.25); border-radius:6px; padding:11px 12px; }
.apl-login-card input[type=submit] { min-height:44px; border:0; border-radius:6px; background:#5b533a; color:#fff; font-weight:800; padding:0 18px; }
.apl-nki { text-align:center; }
.apl-nki h1 { font-size:clamp(38px,5vw,64px); letter-spacing:-.045em; }
.apl-nki-scale { display:grid; grid-template-columns:repeat(10,1fr); gap:7px; border:0; margin:28px 0; padding:0; }
.apl-nki-scale legend { width:100%; margin-bottom:12px; font-weight:800; }
.apl-nki-scale label input { position:absolute; opacity:0; pointer-events:none; }
.apl-nki-scale label span { display:grid; place-items:center; aspect-ratio:1; border:1px solid rgba(31,27,22,.2); border-radius:8px; cursor:pointer; background:#fff; font-weight:800; }
.apl-nki-scale label input:checked + span { background:#5b533a; color:#fff; border-color:#5b533a; }
.apl-nki textarea { width:100%; border:1px solid rgba(31,27,22,.25); border-radius:6px; padding:12px; }

@media(max-width:1280px){
  .portal-container{width:min(calc(100% - 28px),1680px)}
  .apl-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .apl-kpi-grid--compact{grid-template-columns:repeat(3,minmax(0,1fr))}
  .apl-assignment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .apl-workspace-grid{grid-template-columns:1fr}
  .apl-log-form{grid-template-columns:1fr 1fr}
  .apl-log-form .button{align-self:end}
}
@media(max-width:760px){
  .apl-app-header{height:58px;padding:0 16px}.apl-app-brand img{width:132px}.apl-app-header span{display:none}
  .portal-container{width:min(calc(100% - 18px),1680px);padding-top:10px}
  .apl-crm-userbar{align-items:flex-start;flex-direction:column}.apl-crm-userbar nav{width:100%}.apl-crm-userbar nav a{flex:1;text-align:center}
  .apl-crm-hero{grid-template-columns:1fr;padding:24px}.apl-crm-focus,.apl-status-large{border-left:0;border-top:2px solid #5b533a;padding:16px 0 0}
  .apl-kpi-grid,.apl-kpi-grid--compact,.apl-crm-two,.apl-assignment-grid{grid-template-columns:1fr}
  .apl-channel-grid{grid-template-columns:repeat(2,1fr)}.apl-channel-grid span:nth-child(3){border-left:0;border-top:1px solid rgba(31,27,22,.14)}.apl-channel-grid span:nth-child(4){border-top:1px solid rgba(31,27,22,.14)}
  .apl-conversion{grid-template-columns:1fr}.apl-conversion i{transform:rotate(90deg);text-align:center}
  .apl-brief-grid{grid-template-columns:1fr}.apl-pipeline{grid-template-columns:repeat(2,1fr)}
  .apl-log-form{grid-template-columns:1fr}.apl-profile-actions{display:grid}.apl-profile-actions .button{width:100%}
  .apl-nki-scale{grid-template-columns:repeat(5,1fr)}
}


/* APLIZERA mål & tempo 1.3.0 */
.apl-goal-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.apl-goal-card { background:#f8f6f1; border:1px solid rgba(31,27,22,.12); border-radius:12px; padding:22px; position:relative; overflow:hidden; }
.apl-goal-card::before { content:''; position:absolute; left:0; top:0; bottom:0; width:4px; background:#8a8377; }
.apl-goal-card--ahead::before,.apl-goal-card--ontrack::before { background:#4f7557; }
.apl-goal-card--behind::before { background:#9f4b43; }
.apl-goal-card--working::before { background:#8a6c31; }
.apl-goal-card__head { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; }
.apl-goal-card__head h3 { margin:5px 0 0; font-size:24px; line-height:1.08; letter-spacing:-.03em; }
.apl-goal-badge { flex:0 0 auto; font-size:11px; font-weight:850; padding:5px 8px; border-radius:999px; background:#ece8df; }
.apl-goal-card--ahead .apl-goal-badge,.apl-goal-card--ontrack .apl-goal-badge { background:#e0ece2; color:#315b39; }
.apl-goal-card--behind .apl-goal-badge { background:#f3dfdc; color:#8a3029; }
.apl-goal-card--working .apl-goal-badge { background:#efe6d1; color:#75591f; }
.apl-goal-score { display:flex; align-items:baseline; gap:8px; margin-top:22px; }
.apl-goal-score strong { font-size:38px; line-height:1; letter-spacing:-.04em; }
.apl-goal-score span { color:#665f54; font-size:13px; }
.apl-goal-bar { height:10px; background:#e7e2d8; border-radius:999px; overflow:hidden; margin:16px 0 12px; }
.apl-goal-bar i { display:block; height:100%; background:#5b533a; border-radius:999px; transition:width .2s ease; }
.apl-goal-card--ahead .apl-goal-bar i,.apl-goal-card--ontrack .apl-goal-bar i { background:#4f7557; }
.apl-goal-card--behind .apl-goal-bar i { background:#9f4b43; }
.apl-goal-card__meta { display:flex; flex-wrap:wrap; gap:7px 14px; color:#665f54; font-size:12px; line-height:1.4; }
.apl-goal-personal { margin-top:14px; padding-top:12px; border-top:1px solid rgba(31,27,22,.1); font-size:12px; color:#4f493f; }
.apl-goals-section { margin-top:22px; }
@media(max-width:1280px){.apl-goal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.apl-goal-grid{grid-template-columns:1fr}.apl-goal-card__head{flex-direction:column}.apl-goal-score strong{font-size:34px}}
