:root {
  --bg: #f4f7fb;
  --paper: #fffefb;
  --paper-line: #d8e2ef;
  --ink: #112746;
  --muted: #62758f;
  --blue: #1d4ed8;
  --blue-deep: #173fbf;
  --blue-soft: #edf4ff;
  --sand-soft: #fff7e5;
  --sand-line: rgba(214, 191, 128, .62);
  --navy: #0d2341;
  --shadow: 0 20px 48px rgba(16, 40, 70, .08);
  --shadow-soft: 0 10px 24px rgba(16, 40, 70, .06);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1320px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at top left, rgba(30, 88, 168, .07), transparent 22rem),
    radial-gradient(circle at bottom right, rgba(30, 88, 168, .05), transparent 20rem),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  overflow-x: hidden;
}
body::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .22;
  background: linear-gradient(rgba(255, 255, 255, .88), rgba(255, 255, 255, .82));
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.page { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 20px 82px; }
.topbar { 
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-right: -20px;
  margin-bottom: 14px;
  margin-left: -20px;
  padding: 12px 16px 12px 25px;
  border: 1px solid rgba(142, 173, 225, .26);
  border-radius: 0;
  background: rgba(5, 17, 39, .76);
  box-shadow: 0 12px 30px rgba(2, 8, 23, .32), 0 0 34px rgba(27, 69, 148, .24);
  backdrop-filter: blur(16px) saturate(1.18);
  -webkit-backdrop-filter: blur(16px) saturate(1.18);
}
.topbar--hero { width: 100vw; margin-right: calc(50% - 50vw); margin-bottom: -74px; margin-left: calc(50% - 50vw); padding-right: clamp(26px, 6vw, 82px); padding-left: clamp(26px, 6vw, 82px); }
.topbar:not(.topbar--hero) { width: 100vw; margin-right: calc(50% - 50vw); margin-left: calc(50% - 50vw); padding-right: clamp(26px, 6vw, 82px); padding-left: clamp(26px, 6vw, 82px); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.brand img { width: 112px; height: 38px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.brand-copy { min-width: 0; }
.brand-copy strong { display: block; color: rgba(255,255,255,.96); font-size: 14px; letter-spacing: -.03em; }
.brand-copy span { display: block; color: rgba(218, 229, 250, .76); font-size: 11px; white-space: nowrap; }
.nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.nav a { color: rgba(238, 244, 255, .9); font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { position: relative; z-index: 0; padding: 5px 9px; margin: -5px -9px; color: #fff; }
.nav a[aria-current="page"]::before,
.nav a[aria-current="page"]::after { position: absolute; z-index: -1; content: ""; pointer-events: none; border: 1.4px solid rgba(176, 201, 255, .9); border-radius: 48% 52% 46% 54% / 52% 44% 56% 48%; }
.nav a[aria-current="page"]::before { inset: -2px -4px; transform: rotate(-4deg); }
.nav a[aria-current="page"]::after { inset: -3px -3px; border-color: rgba(176, 201, 255, .42); transform: rotate(4deg) scale(1.04, .94); }
.topbar-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.language-switch { display: inline-flex; align-items: center; gap: 5px; padding: 4px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; color: rgba(238, 244, 255, .7); font-size: 11px; font-weight: 800; letter-spacing: .08em; line-height: 1; }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 25px; border-radius: 999px; color: inherit; text-decoration: none; }
.language-switch a:hover, .language-switch a[aria-current="page"] { color: var(--navy); background: #fff; }
.language-switch span { color: rgba(255, 255, 255, .45); }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .9); border-radius: 14px; background: #fff; color: var(--navy); cursor: pointer; transition: transform 160ms ease, background 160ms ease; }
.menu-toggle:hover, .menu-toggle:focus-visible { background: #eef3fb; transform: translateY(-1px); outline: none; }
.menu-toggle svg { width: 20px; height: 20px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: linear-gradient(180deg, #2258e6 0%, var(--blue-deep) 100%); box-shadow: 0 9px 18px rgba(29, 78, 216, .2); }
.hero .button-primary, .topbar .button-primary { color: var(--navy); background: #fff; border-color: rgba(255, 255, 255, .9); box-shadow: 0 9px 20px rgba(2, 8, 23, .22); }
.hero .button-primary:hover, .topbar .button-primary:hover { color: var(--navy); background: #eef3fb; box-shadow: 0 12px 24px rgba(2, 8, 23, .3); }
.hero .button-primary:focus-visible, .topbar .button-primary:focus-visible { outline: 3px solid rgba(255, 255, 255, .62); outline-offset: 3px; }
.button-secondary { color: var(--blue); border-color: rgba(29, 78, 216, .55); background: transparent; }
.card { overflow: hidden; border: 1px solid var(--paper-line); border-radius: var(--radius-xl); background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(252,253,255,.96)); box-shadow: var(--shadow); }
.section { margin-top: 22px; padding: clamp(30px, 5vw, 68px); }
.eyebrow { margin: 0 0 11px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { letter-spacing: -.05em; }
h1 { max-width: 720px; font-size: clamp(48px, 7vw, 88px); line-height: .93; }
h2 { max-width: 760px; font-size: clamp(34px, 5vw, 62px); line-height: .96; }
.section-subtitle { max-width: 520px; color: var(--ink); font-size: clamp(34px, 5vw, 62px); line-height: .96; }
h3 { font-size: 24px; line-height: 1.05; }
em, .serif { color: var(--blue); font-family: var(--serif); font-weight: 400; }
.lead { color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.62; }
.body-copy { color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero { width: 100vw; margin: 0 calc(50% - 50vw); padding: 0; overflow: hidden; border-right: 0; border-left: 0; border-radius: 0; background: #cfe4f7; color: #fff; }
.hero-photo-stage { position: relative; min-height: clamp(790px, 84vh, 920px); display: flex; align-items: stretch; overflow: hidden; padding: clamp(42px, 7vw, 88px) clamp(26px, 6vw, 82px) 170px; background: linear-gradient(118deg, #02050b 0%, #061326 47%, #102b58 100%); }
.hero-photo-stage::after { position: absolute; z-index: 0; inset: 0; content: ""; pointer-events: none; background: linear-gradient(180deg, rgba(8, 16, 28, .12) 0%, transparent 50%, rgba(8, 16, 28, .62) 100%); }
.hero-copy { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; width: 100%; max-width: 1280px; min-height: 100%; padding: clamp(26px, 4vw, 46px) 0 0; }
.hero-left { display: grid; grid-column: 1; align-self: center; gap: clamp(24px, 4vw, 42px); }
.hero-intro, .hero-support { display: grid; gap: 16px; }
.hero-intro, .hero-support { grid-column: auto; }
.hero .eyebrow { text-transform: none; letter-spacing: .04em; }
.hero-photo-stage .eyebrow { color: #b8caf8; }
.hero-photo-stage h1 { color: #fff; max-width: 760px; font-size: clamp(42px, 5.8vw, 72px); }
.hero-photo-stage .lead { color: #f3f6ff; max-width: 720px; font-size: clamp(17px, 2vw, 22px); }
.hero-photo-stage .body-copy { color: rgba(237, 243, 255, .78); max-width: 720px; }
.hero-photo-stage .button-secondary { color: #dce7ff; border-color: rgba(220, 231, 255, .5); }
.hero-copy .lead { max-width: 690px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 4px; }
.hero-visual { position: absolute; z-index: 1; top: 50%; right: clamp(18px, 6vw, 110px); width: min(52vw, 700px); height: min(68vh, 640px); transform: translate3d(0, calc(-50% + 44px + var(--hero-visual-y, 0px)), 0); transition: opacity 700ms ease; will-change: transform; }
.hero-mail-deck { position: absolute; inset: 0; pointer-events: none; }
.hero-mail-card { position: absolute; width: clamp(150px, 18vw, 250px); height: clamp(270px, 40vw, 440px); margin: 0; padding: 8px; overflow: hidden; border: 1px solid rgba(214, 228, 255, .36); border-radius: 25px; background: rgba(228, 237, 255, .14); box-shadow: 0 28px 70px rgba(0, 0, 0, .3); backdrop-filter: blur(8px); pointer-events: auto; transition: transform 260ms cubic-bezier(.22, .8, .2, 1), box-shadow 260ms ease, opacity 500ms ease; will-change: transform; }
.hero-mail-card:hover, .hero-mail-card:focus-within { box-shadow: 0 34px 84px rgba(0, 0, 0, .42); }
.hero-mail-card__scroll { width: 100%; height: 100%; overflow-y: auto; border-radius: 17px; background: #fff; scrollbar-width: none; overscroll-behavior: contain; }
.hero-mail-card__scroll::-webkit-scrollbar, .hero-phone-screen__scroll::-webkit-scrollbar { display: none; }
.hero-mail-card img { width: 100%; height: auto; }
.hero-mail-card--left { top: 13%; left: 2%; transform: translate3d(0, var(--hero-mail-y, 0px), 0) rotate(-11deg); opacity: .58; }
.hero-mail-card--right { top: 4%; right: 7%; transform: translate3d(0, var(--hero-mail-y, 0px), 0) rotate(10deg); opacity: .5; }
.hero-mail-card--back { right: 0; bottom: 1%; transform: translate3d(0, var(--hero-mail-y, 0px), 0) rotate(4deg) scale(.88); opacity: .34; }
.hero-phone { position: absolute; z-index: 4; top: 50%; left: 50%; width: clamp(220px, 21vw, 300px); height: min(68vh, 640px); padding: 4px; transform: translate(-50%, calc(-50% + var(--hero-phone-y, 0px))) rotate(-1deg); border: 1px solid rgba(235, 243, 255, .48); border-radius: 24px; background: rgba(224, 236, 255, .16); box-shadow: 0 34px 80px rgba(0, 0, 0, .34), 0 0 0 1px rgba(255, 255, 255, .08); transition: transform 260ms cubic-bezier(.22, .8, .2, 1), box-shadow 260ms ease; will-change: transform; }
.hero-phone:hover, .hero-phone:focus-within { box-shadow: 0 40px 92px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(255, 255, 255, .3); }
.hero-phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 19px; background: #fff; }
.hero-phone-screen__scroll { width: 100%; height: 100%; overflow-y: auto; padding-top: 3px; background: #fff; scrollbar-width: none; overscroll-behavior: contain; }
.hero-phone-screen img { width: 100%; height: auto; }
.hero.is-visible .hero-phone { animation: hero-phone-in 900ms cubic-bezier(.22, .8, .2, 1) both; }
.hero.is-visible .hero-mail-card--left { animation: hero-card-left-in 850ms 100ms cubic-bezier(.22, .8, .2, 1) both; }
.hero.is-visible .hero-mail-card--right { animation: hero-card-right-in 850ms 170ms cubic-bezier(.22, .8, .2, 1) both; }
.hero.is-visible .hero-mail-card--back { animation: hero-card-back-in 850ms 230ms cubic-bezier(.22, .8, .2, 1) both; }
@keyframes hero-phone-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-card-left-in { from { opacity: 0; } to { opacity: .58; } }
@keyframes hero-card-right-in { from { opacity: 0; } to { opacity: .5; } }
@keyframes hero-card-back-in { from { opacity: 0; } to { opacity: .34; } }
.hero-roles-line { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: -3px; color: rgba(237, 243, 255, .72); font-size: 12px; font-weight: 700; line-height: 1.45; }
.hero-roles-line i { color: #b8caf8; font-size: 15px; font-style: normal; line-height: 1; }
.hero-tiles { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: -40px 0 22px; background: transparent; }
.hero-tile { min-height: 178px; padding: 23px 24px 26px; border: 1px solid var(--paper-line); border-radius: 18px; background: #fff; box-shadow: 0 14px 28px rgba(13, 35, 65, .12); color: inherit; text-align: center; text-decoration: none; transition: background 160ms ease, transform 160ms ease; }
.hero-tile:hover { background: #eef5ff; transform: translateY(-2px); }
.hero-tile span { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.hero-tile h2 { margin: 24px 0 12px; color: var(--ink); font-size: 25px; }
.hero-tile p { max-width: 330px; margin-right: auto; margin-left: auto; color: var(--muted); font-size: 13px; line-height: 1.55; }
.section[id] { scroll-margin-top: 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.section-heading > p { max-width: 350px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.section-heading-note { max-width: 370px; padding: 22px 24px; border: 1px solid var(--paper-line); border-radius: 18px; background: linear-gradient(135deg, #eef5ff 0%, #fff 100%); }
.section-heading-note > p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.about { background: linear-gradient(135deg, #eef5ff 0%, #fffefb 68%); }
.about-heading { margin-bottom: clamp(28px, 4vw, 52px); }
.about-heading h2 { margin-bottom: 0; }
.about-grid { display: grid; grid-template-columns: minmax(240px, .9fr) minmax(0, 1.1fr); gap: clamp(35px, 6vw, 90px); align-items: start; }
.about-grid > * { min-width: 0; }
.about-photo { margin: 0; overflow: hidden; border-radius: var(--radius-md); background: #eadfd6; }
.about-photo { grid-column: 1; grid-row: 1 / span 2; }
.about-photo img { display: block; width: 100%; height: auto; }
.about-copy { display: grid; grid-column: 2; grid-row: 1; align-self: start; gap: 16px; max-width: 620px; color: var(--muted); font-size: 16px; line-height: 1.72; }
.about-tools-column { grid-column: 2; grid-row: 2; align-self: start; }
.about-tools-heading { display: grid; gap: 8px; margin-top: 0; }
.about-tools-heading .eyebrow { margin-bottom: 0; }
.about-tools-heading h3 { font-size: clamp(25px, 3vw, 36px); }
.about-tools-heading > p:last-child { max-width: 560px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.about-tools { display: grid; width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 42px; }
.about-tool { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; min-height: 0; padding: 0; text-align: center; }
.about-tool-icons { display: flex; align-items: center; gap: 6px; min-height: 42px; }
.tool-logo { display: block; width: 36px; height: 36px; object-fit: contain; }
.tool-logo-generic { padding: 4px; }
.about-tool strong { display: block; color: var(--ink); font-size: 13px; line-height: 1.3; }
.about-tool > span:last-child { display: block; max-width: 170px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.process { background: var(--paper); }
.process-grid { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr); gap: clamp(35px, 7vw, 100px); align-items: start; }
.process-intro { max-width: 390px; }
.process-intro h2 { margin-bottom: 21px; }
.process-intro p { color: var(--muted); font-size: 16px; line-height: 1.72; }
.process-visual { margin: 32px 0 0; overflow: hidden; border: 1px solid var(--paper-line); border-radius: var(--radius-md); background: #fff; box-shadow: 0 14px 28px rgba(16, 40, 70, .08); }
.process-visual img { width: 100%; height: 390px; object-fit: cover; object-position: top center; transition: transform 500ms ease; }
.process-visual:hover img { transform: scale(1.025); }
.process-visual--infographic { height: auto; aspect-ratio: 4 / 3; background: linear-gradient(145deg, #edf4ff 0%, #fffaf1 100%); }
.process-visual--infographic img { height: 100%; object-position: center; }
.process-list { position: relative; display: grid; grid-template-columns: 1fr; gap: 10px; }
.process-list::before { position: absolute; top: 18px; bottom: 18px; left: 37px; width: 1px; content: ""; background: linear-gradient(180deg, rgba(29, 78, 216, .05), rgba(29, 78, 216, .42), rgba(29, 78, 216, .05)); }
.process-item { position: relative; z-index: 1; display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 16px; align-items: start; min-height: 0; padding: 15px 18px 16px; border: 1px solid var(--paper-line); border-radius: 14px; background: #fff; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.process-item:hover { border-color: rgba(29, 78, 216, .34); box-shadow: 0 12px 24px rgba(16, 40, 70, .08); transform: translateX(4px); }
.js .process-item[data-process-item] { opacity: 0; transform: translateX(24px); transition: opacity 600ms ease, transform 600ms ease, border-color 180ms ease, box-shadow 180ms ease; transition-delay: calc(var(--process-step, 0) * 70ms); }
.js .process-item[data-process-item].is-visible { opacity: 1; transform: none; }
.js .process-item[data-process-item].is-visible:hover { transform: translateX(4px); }
.process-item b { display: flex; grid-row: 1 / span 2; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--blue); border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 11px; letter-spacing: .08em; }
.process-item h3 { margin: 1px 0 7px; font-size: 20px; }
.process-item p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.situations { background: linear-gradient(135deg, #eef5ff 0%, #fffefb 65%); }
.situations-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--paper-line); border-left: 1px solid var(--paper-line); }
.situation { min-height: 265px; padding: 24px; border-right: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); }
.situation h3 { margin: 50px 0 14px; font-size: 25px; }
.situation p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.tools { color: #fff; background: var(--navy); }
.tools .eyebrow { color: #bfd1ff; }
.tools-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: start; }
.tools h2 { color: #fff; }
.tools h2 em { color: #bfd1ff; }
.tools-intro { margin-top: 22px; max-width: 430px; color: rgba(255,255,255,.73); font-size: 15px; line-height: 1.7; }
.tool-list { border-top: 1px solid rgba(255,255,255,.25); }
.tool-row { display: grid; grid-template-columns: 130px 1fr; gap: 30px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.17); }
.tool-row strong { color: #bfd1ff; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.tool-row p { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.6; }
.projects { background: var(--paper); }
.projects .section-heading { display: block; }
.projects .section-heading > p { max-width: 620px; margin-top: 22px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project { display: grid; grid-template-rows: 310px auto; overflow: hidden; border: 1px solid var(--paper-line); border-radius: var(--radius-lg); background: #fff; }
.project--clickable { cursor: pointer; }
.project--clickable:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.project-media { position: relative; overflow: hidden; background: #e8eef8; }
.project-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 500ms ease; }
.project:hover .project-media img { transform: scale(1.035); }
.project-media--text { display: grid; align-content: end; min-height: 0; padding: 27px 166px 72px 27px; color: #fff; }
.project-media--lumora { background: linear-gradient(145deg, #271e43 0%, #7647a5 58%, #e2b2c7 145%); }
.project-media--revous { background: linear-gradient(145deg, #102b50 0%, #1d4ed8 62%, #8eaaf0 100%); }
.project-media--holivica { background: linear-gradient(145deg, #162a3d 0%, #486783 54%, #d4a86b 145%); }
.project-media--mail { background: linear-gradient(145deg, #09182f 0%, #173fbf 62%, #7b9dea 145%); }
.project-media--mail .project-media-title em { color: #dce7ff; }
.project-media-kicker { display: block; margin-top: 12px; color: rgba(255,255,255,.72); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.project-media-title { display: block; max-width: 270px; font-size: clamp(30px, 3vw, 43px); letter-spacing: -.06em; line-height: .94; }
.project-media--text .project-flag { color: #fff; background: rgba(8, 22, 43, .3); }
.project-media--text > div:first-child { position: relative; z-index: 2; max-width: 100%; }
.project-mail-preview { position: absolute; z-index: 1; top: 26px; right: 25px; width: 126px; height: 242px; padding: 7px; overflow: hidden; border: 1px solid rgba(255,255,255,.72); border-radius: 15px; background: rgba(255,255,255,.94); box-shadow: 0 18px 34px rgba(7, 17, 44, .28), 0 3px 8px rgba(7, 17, 44, .12); transform: rotate(4deg); transition: transform 420ms ease, box-shadow 420ms ease; }
.project-mail-preview img { display: block; width: 100%; height: 100%; border-radius: 9px; object-fit: cover; object-position: top center; }
.project-media--revous .project-mail-preview { transform: rotate(-5deg); }
.project-media--holivica .project-mail-preview { transform: rotate(3deg); }
.project-media--mail .project-mail-preview { transform: rotate(-4deg); }
.project:hover .project-mail-preview { box-shadow: 0 24px 42px rgba(7, 17, 44, .34), 0 4px 10px rgba(7, 17, 44, .14); transform: translateY(-6px) rotate(1deg); }
.project-media--revous .project:hover .project-mail-preview { transform: translateY(-6px) rotate(-2deg); }
.project-media--holivica .project:hover .project-mail-preview { transform: translateY(-6px) rotate(0deg); }
.project-media--mail .project:hover .project-mail-preview { transform: translateY(-6px) rotate(-1deg); }
.project-flag { position: absolute; left: 15px; bottom: 15px; padding: 8px 10px; color: var(--ink); background: rgba(255,254,251,.9); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.project-copy { display: grid; gap: 13px; padding: 24px; }
.project-copy h3 { font-size: 32px; }
.project-copy p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.project-scope { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .04em; line-height: 1.5; }
.text-link { width: fit-content; color: var(--blue); font-size: 14px; font-weight: 800; text-decoration: none; }
.portfolio { background: radial-gradient(circle at 15% 15%, rgba(29,78,216,.06), transparent 22rem), #fff; }
.mail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mail-item { overflow: hidden; border: 1px solid var(--paper-line); border-radius: var(--radius-md); background: #fbfdff; }
.mail-image { height: 290px; overflow: hidden; background: #eef3fa; }
.mail-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.mail-image--text { display: flex; flex-direction: column; justify-content: end; gap: 8px; padding: 25px; color: #fff; }
.mail-image--lumora { background: linear-gradient(145deg, #271e43 0%, #7647a5 58%, #e2b2c7 145%); }
.mail-image--revous { background: linear-gradient(145deg, #102b50 0%, #1d4ed8 62%, #8eaaf0 100%); }
.mail-image--holivica { background: linear-gradient(145deg, #162a3d 0%, #486783 54%, #d4a86b 145%); }
.mail-image--text strong { font-size: 32px; letter-spacing: -.06em; }
.mail-image--text span { font-size: 19px; font-weight: 800; letter-spacing: -.04em; }
.mail-image--text small { color: rgba(255,255,255,.76); font-size: 11px; line-height: 1.45; }
.mail-copy { display: grid; gap: 8px; padding: 19px; }
.mail-meta { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.mail-copy h3 { font-size: 22px; }
.mail-copy p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.mail-note { color: #806b4f; font-size: 11px; line-height: 1.5; }
.contact { display: grid; grid-template-columns: 1fr minmax(280px, .6fr); gap: 50px; align-items: end; padding: clamp(34px, 6vw, 75px); color: #fff; background: var(--navy); }
.contact .eyebrow { color: #bfd1ff; }
.contact h2 em { color: #bfd1ff; }
.contact h2 { font-size: clamp(45px, 6vw, 76px); }
.contact-copy { display: grid; gap: 19px; max-width: 360px; }
.contact-links { display: grid; gap: 8px; }
.contact-links a { color: #dce7ff; font-size: 14px; font-weight: 800; text-decoration: none; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact .button-primary { color: var(--navy); background: #fff; box-shadow: none; }
.contact .button-secondary { color: #dce7ff; border-color: rgba(220, 231, 255, .5); }
.footer { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; margin-top: 22px; padding: 52px 54px; color: rgba(255,255,255,.72); background: var(--navy); }
.footer img { width: 102px; filter: brightness(0) invert(1); }
.footer p { max-width: 390px; margin-top: 14px; font-size: 12px; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 14px 21px; align-content: start; }
.footer-links a { color: inherit; font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer--project { grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); align-items: end; }
.footer-project-cta { display: grid; justify-items: start; gap: 14px; }
.footer-project-cta img { width: 102px; margin-bottom: 4px; filter: brightness(0) invert(1); }
.footer-project-cta .eyebrow { margin-bottom: 0; color: #b8caf8; }
.footer-project-cta h2 { max-width: 540px; color: #fff; font-size: clamp(30px, 4vw, 50px); line-height: .98; }
.footer-project-cta h2 em { color: #b8caf8; }
.footer-details { display: grid; gap: 22px; }
.footer-contact { display: grid; gap: 8px; }
.footer-contact-label { color: #b8caf8; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-contact a { color: rgba(255,255,255,.9); font-size: 13px; text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-social-link { display: inline-flex; align-items: center; gap: 8px; }
.footer-social-link svg { width: 17px; height: 17px; flex: 0 0 17px; }
.footer--project,
.case-process { width: 100vw; margin-right: calc(50% - 50vw); margin-left: calc(50% - 50vw); border-right: 0; border-left: 0; border-radius: 0; box-shadow: none; }
.footer--project { margin-top: 22px; margin-bottom: -82px; padding-right: clamp(26px, 6vw, 82px); padding-left: clamp(26px, 6vw, 82px); }
.case-process { padding: 0; background: linear-gradient(135deg, #eef5ff 0%, #fffefb 72%); }
.case-process__heading { max-width: var(--max); margin: 0 auto; padding: clamp(30px, 5vw, 68px) max(44px, calc((100vw - var(--max)) / 2 + 44px)) 38px; }
.case-process .case-showcase--process { grid-template-columns: repeat(3, minmax(0, 1fr)); border-right: 0; border-left: 0; }
.case-process .case-showcase--process { width: min(var(--max), calc(100% - 88px)); margin-right: auto; margin-left: auto; border-right: 1px solid var(--paper-line); border-left: 1px solid var(--paper-line); }
.case-showcase--process article { min-height: 0; padding: 22px clamp(18px, 2.5vw, 30px) 24px; background: rgba(255,255,255,.72); }
.case-showcase--process span { margin-bottom: 24px; }
.case-showcase--process strong { max-width: 230px; font-size: 16px; }
.case-showcase--process p { max-width: 250px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.subpage-hero { padding: clamp(32px, 5vw, 68px); background: linear-gradient(135deg, #fff 0%, #edf4ff 100%); }
.subpage-hero h1 { max-width: 900px; margin-bottom: 12px; }
.subpage-hero .lead { max-width: 620px; color: var(--muted); font-size: clamp(15px, 1.35vw, 18px); line-height: 1.5; }
.subpage-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.meta-chip { padding: 8px 11px; border: 1px solid var(--paper-line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.72); font-size: 11px; font-weight: 800; }
.subpage-hero { position: relative; min-height: 340px; overflow: hidden; }
.subpage-hero > :not(.subpage-hero-art) { position: relative; z-index: 2; }
.subpage-hero--lumora { background: linear-gradient(135deg, #f6edff 0%, #e2d8ff 58%, #cbdcff 100%); }
.subpage-hero--revous { background: linear-gradient(135deg, #eaf4ff 0%, #cbdcff 54%, #b9b1ee 100%); }
.subpage-hero--holivica { color: #fff; background: linear-gradient(135deg, #0e2442 0%, #2c557d 55%, #c69a63 150%); }
.subpage-hero--holivica .eyebrow { color: #dce7ff; }
.subpage-hero--holivica .lead { color: rgba(255,255,255,.78); }
.subpage-hero--holivica .back-link { color: #dce7ff; }
.subpage-hero--holivica .meta-chip { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.12); }
.subpage-hero--mail { background: linear-gradient(135deg, #edf4ff 0%, #dbe8ff 48%, #efdff1 100%); }
.subpage-hero-art { position: absolute; z-index: 1; top: 50%; right: clamp(34px, 8vw, 112px); width: 255px; height: 285px; transform: translateY(-45%); pointer-events: none; }
.subpage-hero-orbit { position: absolute; top: 12px; right: 0; width: 225px; height: 225px; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; transform: rotate(-17deg) skewX(-8deg); opacity: .82; }
.subpage-hero-mail { position: absolute; z-index: 1; top: 20px; right: 35px; width: 150px; height: 250px; padding: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: 0 24px 44px rgba(12, 32, 70, .22), 0 4px 12px rgba(12, 32, 70, .12); transform: rotate(5deg); }
.subpage-hero-mail img { display: block; width: 100%; height: 100%; border-radius: 11px; object-fit: cover; object-position: top center; }
.subpage-hero--revous .subpage-hero-mail { transform: rotate(-6deg); }
.subpage-hero--holivica .subpage-hero-mail { transform: rotate(4deg); }
.subpage-hero--mail .subpage-hero-mail { transform: rotate(-4deg); }
.subpage-hero--holivica .subpage-hero-orbit { border-color: rgba(255,255,255,.4); }
.case-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; align-items: start; }
.case-grid h2 { margin-bottom: 18px; }
.case-text { display: grid; gap: 18px; }
.case-text p { color: var(--muted); font-size: 15px; line-height: 1.72; }
.case-text--wide { max-width: 980px; margin-bottom: 38px; }
.revous-intro-media { position: relative; margin: 0 0 38px; overflow: hidden; border: 1px solid var(--paper-line); border-radius: var(--radius-md); background: #eadfd6; }
.revous-intro-media img { width: 100%; height: auto; }
.revous-intro-overlay { position: absolute; bottom: 24px; left: 24px; display: grid; gap: 8px; max-width: 360px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.62); border-radius: 16px; color: var(--ink); background: rgba(255,255,255,.84); box-shadow: 0 12px 28px rgba(65, 43, 28, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.revous-intro-overlay strong { font-size: 22px; letter-spacing: -.045em; line-height: 1.05; }
.revous-intro-overlay span { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.revous-intro-overlay small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.case-facts { display: grid; border-top: 1px solid var(--paper-line); }
.case-fact { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--paper-line); }
.case-fact strong { color: var(--blue); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.case-fact p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.case-showcase { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--paper-line); border-left: 1px solid var(--paper-line); }
.case-showcase article { min-height: 190px; padding: 22px; border-right: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); background: linear-gradient(180deg, #fff 0%, #f5f8fd 100%); }
.case-showcase span { display: block; margin-bottom: 38px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.case-showcase strong { display: block; margin-bottom: 10px; font-size: 18px; letter-spacing: -.04em; }
.case-showcase p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.case-showcase--three { grid-template-columns: repeat(3, 1fr); }
.case-showcase--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-showcase--six article { min-height: 145px; padding: 18px; }
.case-showcase--six span { margin-bottom: 20px; }
.case-showcase--six strong { margin-bottom: 7px; font-size: 16px; }
.case-showcase--six p { font-size: 12px; line-height: 1.45; }
.case-process .case-showcase--process article { min-height: 0; padding: 18px clamp(18px, 2.5vw, 30px) 20px; }
.case-process .case-showcase--process span { margin-bottom: 20px; }
.js .case-process .case-showcase--process article { opacity: 0; transform: translateY(16px); transition: opacity 520ms ease, transform 520ms cubic-bezier(.22, .8, .2, 1), background 180ms ease, box-shadow 180ms ease; transition-delay: calc((var(--process-index, 1) - 1) * 65ms); }
.js .case-process.is-visible .case-showcase--process article { opacity: 1; transform: none; }
.js .case-process.is-visible .case-showcase--process article:hover,
.js .case-process.is-visible .case-showcase--process article:focus-within { transform: translateY(-4px); background: #fff; box-shadow: 0 14px 28px rgba(16, 40, 70, .1); }
.case-showcase--process article:nth-child(1) { --process-index: 1; }
.case-showcase--process article:nth-child(2) { --process-index: 2; }
.case-showcase--process article:nth-child(3) { --process-index: 3; }
.case-showcase--process article:nth-child(4) { --process-index: 4; }
.case-showcase--process article:nth-child(5) { --process-index: 5; }
.case-showcase--process article:nth-child(6) { --process-index: 6; }
.holivica-scope-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: min(var(--max), calc(100% - 88px)); margin: 0 auto; }
.holivica-scope-card { min-width: 0; padding: 22px 20px 24px; border: 1px solid rgba(38, 73, 121, .14); border-radius: 18px; background: linear-gradient(155deg, #fff 0%, #f1f6ff 100%); box-shadow: 0 10px 24px rgba(26, 54, 96, .06); }
.holivica-scope-card:nth-child(2) { background: linear-gradient(155deg, #fff 0%, #f5efff 100%); }
.holivica-scope-card:nth-child(3) { background: linear-gradient(155deg, #fff 0%, #eef8f7 100%); }
.holivica-scope-card:nth-child(4) { background: linear-gradient(155deg, #fff 0%, #fff4e9 100%); }
.holivica-scope-card--monthly { background: linear-gradient(155deg, #edf4ff 0%, #dce8ff 100%); }
.holivica-scope-card > span { display: grid; width: 30px; height: 30px; place-items: center; margin-bottom: 22px; border: 1px solid rgba(36, 82, 219, .18); border-radius: 50%; color: var(--blue); background: rgba(255,255,255,.72); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.holivica-scope-card strong { display: block; margin-bottom: 14px; color: var(--navy); font-size: 18px; letter-spacing: -.045em; line-height: 1.05; }
.holivica-scope-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.holivica-scope-card p + p { margin-top: 12px; }
.holivica-scope-card b { color: var(--navy); font-weight: 800; }
.holivica-scope-card__why { padding-bottom: 12px; border-bottom: 1px solid rgba(38, 73, 121, .12); }
.holivica-monthly { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px 42px; width: min(var(--max), calc(100% - 88px)); margin: 18px auto 0; padding: 26px 28px 25px; border: 1px solid rgba(36, 82, 219, .18); border-radius: 20px; color: #fff; background: linear-gradient(135deg, #102b50 0%, #285de0 68%, #768fe0 150%); box-shadow: 0 18px 36px rgba(16, 43, 80, .14); }
.holivica-monthly .eyebrow { margin-bottom: 8px; color: #bfd1ff; }
.holivica-monthly h3 { max-width: 310px; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.06em; line-height: .98; }
.holivica-monthly > p { align-self: end; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.62; }
.holivica-monthly-points { display: flex; flex-wrap: wrap; grid-column: 1 / -1; gap: 8px; }
.holivica-monthly-points span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: rgba(255,255,255,.86); background: rgba(255,255,255,.1); font-size: 10px; font-weight: 800; }
.holivica-scope-note { width: min(var(--max), calc(100% - 88px)); margin: 15px auto 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.case-artifacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-artifacts--two { grid-template-columns: repeat(2, 1fr); }
.holivica-mail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.holivica-mail-card { display: block; min-width: 0; overflow: hidden; border: 1px solid var(--paper-line); border-radius: var(--radius-md); color: var(--navy); background: #fff; text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.holivica-mail-card:hover, .holivica-mail-card:focus-visible { border-color: rgba(36, 82, 219, .52); box-shadow: 0 16px 32px rgba(20, 42, 77, .12); transform: translateY(-3px); outline: none; }
.holivica-mail-card__media { height: 430px; overflow: hidden; background: #eef1f5; }
.holivica-mail-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 260ms ease, opacity 180ms ease; }
.holivica-mail-card:hover .holivica-mail-card__media img, .holivica-mail-card:focus-visible .holivica-mail-card__media img { opacity: .9; transform: scale(1.025); }
.holivica-mail-card__body { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; min-height: 92px; padding: 16px 17px 15px; border-top: 1px solid var(--paper-line); }
.holivica-mail-card__meta { display: block; margin-bottom: 7px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.holivica-mail-card h3 { margin: 0; font-size: 19px; letter-spacing: -.045em; line-height: 1.05; }
.holivica-mail-card__link { flex: 0 0 auto; color: var(--muted); font-size: 10px; font-weight: 800; white-space: nowrap; }
.artifact { min-width: 0; padding: 18px; border: 1px solid var(--paper-line); border-radius: var(--radius-md); background: linear-gradient(180deg, #fff 0%, #f5f8fd 100%); }
.artifact > p { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.artifact .flow-preview { margin-top: 14px; }
.artifact-label { display: block; margin-bottom: 12px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.email-preview { min-height: 230px; padding: 18px; border-radius: 13px; color: #142a4d; background: linear-gradient(155deg, #eef5ff 0%, #fff 56%, #dce8ff 100%); }
.email-preview--purple { color: #fff; background: linear-gradient(155deg, #302151 0%, #7647a5 58%, #d9a9c2 150%); }
.email-preview--blue { color: #fff; background: linear-gradient(155deg, #102b50 0%, #285de0 62%, #93adf0 150%); }
.email-preview--sand { color: #26364d; background: linear-gradient(155deg, #edf3f6 0%, #fff 55%, #dcc49d 150%); }
.email-preview small { display: block; margin-bottom: 34px; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
.email-preview h3 { max-width: 220px; margin-bottom: 12px; font-size: 25px; letter-spacing: -.06em; line-height: .98; }
.email-preview p { max-width: 220px; font-size: 12px; line-height: 1.45; opacity: .82; }
.email-preview .preview-button { display: inline-block; margin-top: 20px; padding: 8px 11px; border-radius: 999px; color: #fff; background: #1d4ed8; font-size: 10px; font-weight: 800; }
.email-preview--purple .preview-button, .email-preview--blue .preview-button { color: #182640; background: #fff; }
.flow-preview { display: grid; gap: 8px; min-height: 230px; padding: 18px; border-radius: 13px; background: #102b50; }
.flow-step { position: relative; padding: 10px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; color: #fff; background: rgba(255,255,255,.1); font-size: 12px; font-weight: 700; }
.flow-step:not(:last-child)::after { position: absolute; bottom: -10px; left: 50%; width: 1px; height: 9px; background: rgba(255,255,255,.5); content: ''; }
.flow-step span { display: block; margin-bottom: 3px; color: #bfd1ff; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.revous-video { max-width: 760px; margin: 28px auto 0; overflow: hidden; border: 1px solid var(--paper-line); border-radius: var(--radius-md); background: #09182f; }
.revous-video video { display: block; width: 100%; height: auto; background: #09182f; }
.revous-video figcaption { padding: 12px 16px 15px; color: rgba(255,255,255,.72); background: #09182f; font-size: 11px; line-height: 1.5; }
.revous-mail-copy { max-width: 820px; margin: 24px auto 0; }
.revous-mail-copy p { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.revous-mail-copy p:last-child { margin-bottom: 0; }
.revous-mail-copy em { color: var(--navy); font-style: normal; font-weight: 700; }
.revous-mail-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 28px auto 0; }
.revous-mail-figure { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--paper-line); border-radius: var(--radius-md); background: #fff; }
.revous-mail-figure figcaption { display: grid; gap: 4px; padding: 15px 17px 13px; border-bottom: 1px solid var(--paper-line); background: #f7f9fd; }
.revous-mail-figure figcaption strong { font-size: 14px; letter-spacing: -.02em; }
.revous-mail-figure figcaption span { color: var(--muted); font-size: 11px; }
.revous-mail-open { display: block; width: 100%; padding: 0; border: 0; background: #f4effb; cursor: zoom-in; }
.revous-mail-open img { display: block; width: 100%; height: 540px; object-fit: cover; object-position: top center; transition: opacity 180ms ease; }
.revous-mail-open:hover img, .revous-mail-open:focus-visible img { opacity: .84; }
.revous-mail-open:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.revous-mail-lightbox { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(11, 24, 48, .76); }
.revous-modal-open { overflow: hidden; }
.revous-mail-lightbox-dialog { display: grid; grid-template-rows: auto auto minmax(0, 1fr); width: min(900px, 100%); max-height: 92vh; overflow: hidden; border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius-md); background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.26); }
.revous-mail-lightbox-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px 15px; border-bottom: 1px solid var(--paper-line); }
.revous-mail-lightbox-head .eyebrow { margin-bottom: 5px; }
.revous-mail-lightbox-head h3 { font-size: 22px; letter-spacing: -.04em; }
.revous-mail-close { display: grid; width: 36px; height: 36px; place-items: center; padding: 0; border: 1px solid var(--paper-line); border-radius: 50%; color: var(--navy); background: #fff; font: inherit; font-size: 25px; line-height: 1; cursor: pointer; }
.revous-mail-close:hover, .revous-mail-close:focus-visible { border-color: var(--blue); color: var(--blue); outline: none; }
.revous-mail-switcher { display: flex; gap: 8px; padding: 12px 20px; border-bottom: 1px solid var(--paper-line); background: #f7f9fd; }
.revous-mail-switcher button { padding: 8px 13px; border: 1px solid var(--paper-line); border-radius: 999px; color: var(--muted); background: #fff; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.revous-mail-switcher button:hover, .revous-mail-switcher button:focus-visible, .revous-mail-switcher button.is-active { border-color: var(--blue); color: var(--blue); outline: none; }
.revous-mail-lightbox-scroll { min-height: 0; overflow: auto; padding: 20px; background: #edf1f7; }
.revous-mail-lightbox-scroll img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; background: #f4effb; box-shadow: 0 10px 30px rgba(20,42,77,.12); }
.lumora-automation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lumora-automation { min-width: 0; padding: 20px; border: 1px solid var(--paper-line); border-radius: var(--radius-md); background: linear-gradient(180deg, #fff 0%, #f5f8fd 100%); }
.lumora-automation--campaign { grid-column: 1 / -1; }
.lumora-automation-copy h3 { max-width: 340px; margin-bottom: 12px; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.06em; line-height: .98; }
.lumora-automation-copy > p { max-width: 480px; color: var(--muted); font-size: 14px; line-height: 1.62; }
.lumora-automation-copy > p.lumora-focus { max-width: 520px; margin-top: 12px; color: var(--navy); font-size: 13px; line-height: 1.58; }
.lumora-flow-steps { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.lumora-flow-steps span { padding: 7px 9px; border: 1px solid var(--paper-line); border-radius: 999px; color: var(--muted); background: #fff; font-size: 10px; font-weight: 800; }
.lumora-inline-link { display: inline-flex; margin-top: 20px; color: var(--blue); font-size: 12px; font-weight: 800; text-decoration: none; }
.lumora-inline-link:hover { text-decoration: underline; }
.lumora-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.lumora-map button { position: relative; min-height: 60px; padding: 9px 10px; border: 1px solid var(--paper-line); border-radius: 10px; color: var(--navy); background: #fff; font: inherit; font-size: 11px; font-weight: 800; line-height: 1.2; text-align: left; cursor: pointer; transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.lumora-map button:hover, .lumora-map button:focus-visible { border-color: var(--blue); background: #f3f7ff; transform: translateY(-2px); outline: none; }
.lumora-map button span { display: block; margin-bottom: 7px; color: var(--blue); font-size: 9px; letter-spacing: .12em; }
.lumora-map--short { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lumora-map--checkout { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lumora-email-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
.lumora-email-strip figure { min-width: 0; margin: 0; cursor: zoom-in; }
.lumora-email-strip figure:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.lumora-email-strip img { display: block; width: 100%; height: 250px; object-fit: cover; object-position: top center; border: 1px solid var(--paper-line); border-radius: 10px; background: #fff; }
.lumora-email-strip figcaption { margin-top: 7px; color: var(--muted); font-size: 10px; font-weight: 800; }
.lumora-calendar-note { margin: 28px 0 13px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.lumora-calendar-help { margin: 12px 0 20px; color: var(--muted); font-size: 12px; }
.lumora-calendar-board { overflow: hidden; border: 1px solid var(--paper-line); border-radius: var(--radius-md); background: #fff; }
.lumora-calendar-board-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--paper-line); background: #f7f9fd; }
.lumora-calendar-board-head strong { color: var(--blue); font-size: 12px; letter-spacing: .15em; }
.lumora-calendar-board-head span { color: var(--muted); font-size: 12px; }
.lumora-calendar-days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.lumora-calendar-days button { min-height: 112px; padding: 13px 11px; border: 0; border-right: 1px solid var(--paper-line); color: var(--navy); background: #fff; font: inherit; text-align: left; cursor: pointer; transition: background 180ms ease, transform 180ms ease; }
.lumora-calendar-days button:last-child { border-right: 0; }
.lumora-calendar-days button:hover, .lumora-calendar-days button:focus-visible { background: #f3f7ff; outline: none; transform: translateY(-2px); }
.lumora-calendar-days button > span { display: block; margin-bottom: 17px; color: var(--blue); font-size: 20px; font-weight: 800; letter-spacing: -.05em; }
.lumora-calendar-days button strong { display: block; min-height: 32px; font-size: 12px; line-height: 1.25; }
.lumora-calendar-days button small { display: block; margin-top: 10px; color: var(--muted); font-size: 10px; }
.lumora-calendar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lumora-campaign { min-width: 0; overflow: hidden; border: 1px solid var(--paper-line); border-radius: var(--radius-md); background: #fff; }
.lumora-campaign-date { padding: 11px 14px 0; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.lumora-campaign img { display: block; width: 100%; height: 340px; margin-top: 9px; object-fit: cover; object-position: top center; background: #f6f2ec; }
.lumora-campaign > div:last-child { display: grid; gap: 4px; padding: 14px; }
.lumora-campaign strong { font-size: 15px; letter-spacing: -.03em; }
.lumora-campaign span { color: var(--muted); font-size: 11px; line-height: 1.45; }
.lumora-campaign { cursor: pointer; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.lumora-campaign:hover, .lumora-campaign:focus-visible { border-color: var(--blue); box-shadow: 0 14px 28px rgba(20, 42, 77, .1); outline: none; transform: translateY(-3px); }
.lumora-campaign::after { display: block; padding: 0 14px 14px; color: var(--blue); content: 'Kliknij, aby zobaczyć mail →'; font-size: 10px; font-weight: 800; }
.lumora-lightbox { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 28px; opacity: 0; pointer-events: none; background: rgba(11, 24, 48, .72); transition: opacity 180ms ease; }
.lumora-lightbox.is-open { opacity: 1; pointer-events: auto; }
.lumora-lightbox-backdrop { position: absolute; inset: 0; }
.lumora-lightbox-dialog { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(280px, .9fr) minmax(260px, .75fr); gap: 26px; width: min(920px, 100%); max-height: min(86vh, 820px); padding: 18px; overflow: auto; border: 1px solid rgba(255,255,255,.35); border-radius: 22px; background: #fff; box-shadow: 0 24px 70px rgba(5, 17, 39, .3); }
.lumora-lightbox-close { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid var(--paper-line); border-radius: 50%; color: var(--navy); background: rgba(255,255,255,.92); font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.lumora-lightbox-image { min-height: 300px; max-height: min(72vh, 690px); overflow: auto; border-radius: 14px; background: #f7f1e8; }
.lumora-lightbox-image img { display: block; width: min(100%, 600px); height: auto; margin: 0 auto; cursor: zoom-in; }
.lumora-lightbox-image img[hidden] { display: none; }
.lumora-lightbox-image img.is-zoomed { width: 760px; max-width: none; cursor: zoom-out; }
.lumora-lightbox-note { max-width: 410px; margin: 0 auto; padding: 28px 24px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.lumora-lightbox-copy { align-self: center; padding: 30px 22px 30px 0; }
.lumora-lightbox-copy .eyebrow { margin-bottom: 14px; }
.lumora-lightbox-copy h2 { max-width: 390px; margin-bottom: 16px; }
.lumora-lightbox-copy #lumora-lightbox-text { max-width: 390px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.lumora-lightbox-zoom { margin-top: 24px; padding: 11px 14px; border: 1px solid var(--paper-line); border-radius: 999px; color: var(--navy); background: #fff; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.lumora-lightbox-zoom:hover, .lumora-lightbox-zoom:focus-visible { border-color: var(--blue); color: var(--blue); outline: none; }
body.lumora-modal-open { overflow: hidden; }
.project-copy { display: grid; align-content: start; gap: 13px; padding: 24px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--paper-line); border-radius: var(--radius-md); background: #eef3fa; }
.gallery img { width: 100%; height: 285px; object-fit: cover; object-position: top center; }
.gallery figcaption { padding: 12px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.back-link { display: inline-flex; margin-bottom: 18px; color: var(--blue); font-size: 13px; font-weight: 800; text-decoration: none; }
html.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .brand-copy { display: none; }
  .nav { display: none; position: absolute; top: 66px; right: 12px; left: 12px; flex-direction: column; gap: 0; padding: 10px; border: 1px solid rgba(142, 173, 225, .28); border-radius: 18px; background: rgba(5, 17, 39, .94); box-shadow: 0 16px 32px rgba(2, 8, 23, .3), 0 0 26px rgba(27, 69, 148, .22); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; color: rgba(238, 244, 255, .92); }
  .menu-toggle { display: flex; }
  .topbar-actions > .button { display: none; }
  .process-grid, .tools-grid, .about-grid, .case-grid { grid-template-columns: 1fr; }
  .process-intro { max-width: none; }
  .about-photo, .about-copy, .about-tools-column { grid-column: auto; grid-row: auto; }
  .case-showcase--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .case-artifacts { grid-template-columns: repeat(2, 1fr); }
  .holivica-mail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .holivica-scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .holivica-monthly { grid-template-columns: 1fr 1fr; }
  .revous-mail-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lumora-automation-grid, .lumora-calendar { grid-template-columns: 1fr; }
  .lumora-lightbox-dialog { grid-template-columns: minmax(220px, .9fr) minmax(220px, .75fr); gap: 15px; }
  .lumora-calendar-days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lumora-calendar-days button:nth-child(3) { border-right: 0; }
  .lumora-calendar-days button:nth-child(n + 4) { border-top: 1px solid var(--paper-line); }
  .hero-copy { grid-template-columns: minmax(0, 1fr) minmax(190px, .68fr); gap: 24px; }
  .hero-left { grid-column: 1; }
  .hero-photo-stage { min-height: 760px; padding-bottom: 120px; }
  .hero-visual { right: 1vw; width: 51vw; height: 560px; opacity: .72; }
  .hero-phone { width: clamp(205px, 25vw, 270px); height: min(60vh, 560px); }
  .hero-tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: -30px; }
  .hero-tile { min-height: 126px; padding: 13px 11px 15px; }
  .hero-tile h2 { margin: 12px 0 6px; font-size: 17px; }
  .hero-tile p { font-size: 10px; line-height: 1.4; }
  .tools-grid { gap: 34px; }
  .process-visual img { height: 470px; }
  .process-visual--infographic { height: auto; aspect-ratio: 4 / 3; }
  .process-visual--infographic img { height: 100%; }
  .about-tools { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .mail-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .page { padding: 0 10px 50px; }
  .topbar { top: 0; margin-right: -10px; margin-bottom: 10px; margin-left: -10px; padding-left: 15px; }
  .topbar--hero { width: 100vw; margin-right: calc(50% - 50vw); margin-bottom: -70px; margin-left: calc(50% - 50vw); padding-right: 15px; padding-left: 15px; }
  .topbar:not(.topbar--hero) { width: 100vw; margin-right: calc(50% - 50vw); margin-bottom: 10px; margin-left: calc(50% - 50vw); padding-right: 15px; padding-left: 15px; }
  .brand img { width: 96px; }
  .section, .subpage-hero, .contact { padding: 28px 20px; }
  .subpage-hero { min-height: 470px; padding-bottom: 232px; }
  .subpage-hero-art { top: auto; right: 16px; bottom: 18px; width: 205px; height: 205px; transform: none; }
  .subpage-hero-orbit { top: 0; right: 0; width: 180px; height: 180px; }
  .subpage-hero-mail { top: 10px; right: 29px; width: 108px; height: 180px; padding: 6px; border-radius: 14px; }
  .subpage-hero-mail img { border-radius: 9px; }
  .case-process { padding: 0; }
  .case-process__heading { padding: 34px 20px 30px; }
  .case-process .case-showcase--process { width: calc(100% - 40px); }
  .holivica-scope-grid, .holivica-monthly, .holivica-scope-note { width: calc(100% - 40px); }
  .holivica-scope-grid { grid-template-columns: 1fr; }
  .holivica-monthly { display: block; padding: 23px 20px 21px; }
  .holivica-monthly h3 { margin-bottom: 17px; }
  .holivica-monthly-points { margin-top: 18px; }
  .hero { width: calc(100% + 20px); margin: 0 -10px 0; border-right: 0; border-left: 0; border-radius: 0; }
  h1 { font-size: clamp(43px, 14vw, 66px); }
  h2 { font-size: clamp(32px, 11vw, 48px); }
  .hero-photo-stage { min-height: auto; flex-direction: column; padding: 22px 14px 78px; }
  .hero-copy { grid-template-columns: 1fr; gap: 22px; }
  .hero-left { display: contents; }
  .hero-intro, .hero-support { grid-column: auto; grid-row: auto; }
  .hero-intro { order: 1; }
  .hero-support { order: 2; }
  .hero-copy { min-height: 0; align-content: start; padding: 25px 0 29px; }
  .hero-visual { position: relative; top: auto; right: auto; order: 2; align-self: center; width: min(100%, 380px); height: 410px; margin-top: 8px; transform: none; opacity: 1; }
  .hero-phone { width: min(61vw, 225px); height: min(370px, 98vw); }
  .hero-mail-card { width: 128px; height: 255px; padding: 6px; border-radius: 18px; }
  .hero-mail-card__scroll { border-radius: 13px; }
  .hero-mail-card--left { top: 15%; left: 0; }
  .hero-mail-card--right { top: 5%; right: 0; }
  .hero-mail-card--back { right: 1%; bottom: 0; }
  .hero-roles-line { gap: 5px; margin-top: -2px; font-size: 10px; }
  .hero-roles-line i { font-size: 13px; }
  .hero-tiles { grid-template-columns: 1fr; margin-top: -22px; margin-bottom: 10px; }
  .hero-tile { min-height: 0; padding: 15px 16px 17px; }
  .hero-tile h2 { margin: 10px 0 7px; font-size: 20px; }
  .hero-tile p { font-size: 12px; }
  .section-heading, .contact { display: block; }
  .section-heading > p { margin-top: 19px; }
  .section-heading-note { margin-top: 19px; }
  .process-visual img { height: 340px; }
  .process-visual--infographic { height: auto; aspect-ratio: 4 / 3; }
  .process-visual--infographic img { height: 100%; }
  .about-tools { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 28px; }
  .about-tool { gap: 7px; }
  .about-tool-icons { min-height: 34px; }
  .tool-logo { width: 30px; height: 30px; }
  .about-tool strong { font-size: 10px; }
  .about-tool > span:last-child { max-width: 82px; font-size: 9px; line-height: 1.3; }
  .process-list, .situations-grid, .project-grid, .mail-grid { display: block; }
  .process-item { margin-bottom: 0; }
  .situation, .project, .mail-item { margin-bottom: 12px; }
  .project { grid-template-rows: 270px auto; }
  .project-media--text { padding: 24px 130px 63px 23px; }
  .project-mail-preview { top: 23px; right: 17px; width: 103px; height: 199px; padding: 6px; border-radius: 13px; }
  .project-mail-preview img { border-radius: 8px; }
  .mail-image { height: 350px; }
  .tool-row { grid-template-columns: 1fr; gap: 9px; }
  .contact-copy { margin-top: 25px; max-width: none; }
  .contact-actions { display: grid; }
  .contact .button { width: 100%; }
  .footer { display: block; padding: 38px 24px; }
  .footer--project { margin-bottom: -50px; }
  .footer-project-cta { margin-bottom: 34px; }
  .footer-details { gap: 26px; }
  .footer-links { justify-content: start; margin-top: 20px; }
  .case-fact { grid-template-columns: 1fr; gap: 8px; }
  .case-showcase { grid-template-columns: 1fr 1fr; }
  .case-showcase--six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-process .case-showcase--process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-showcase--three { grid-template-columns: 1fr; }
  .case-showcase article { min-height: 170px; padding: 17px; }
  .case-process .case-showcase--process article { min-height: 0; padding: 18px 16px 20px; }
  .case-showcase span { margin-bottom: 25px; }
  .case-artifacts { grid-template-columns: 1fr; }
  .holivica-mail-grid { grid-template-columns: 1fr; gap: 14px; }
  .holivica-mail-card__media { height: 510px; }
  .revous-mail-lightbox { padding: 10px; }
  .revous-intro-overlay { bottom: 14px; left: 14px; right: 14px; max-width: none; padding: 14px 16px; }
  .revous-intro-overlay strong { font-size: 19px; }
  .revous-mail-gallery { grid-template-columns: 1fr; gap: 14px; }
  .revous-mail-lightbox-head { padding: 15px 14px 12px; }
  .revous-mail-switcher { padding: 10px 14px; }
  .revous-mail-lightbox-scroll { padding: 12px; }
  .revous-mail-open img { height: 500px; }
  .lumora-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lumora-map--short { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lumora-map--checkout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lumora-email-strip img { height: 260px; }
  .lumora-campaign img { height: 420px; }
  .lumora-calendar-board-head { display: block; }
  .lumora-calendar-board-head span { display: block; margin-top: 6px; }
  .lumora-calendar-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lumora-calendar-days button:nth-child(3) { border-right: 1px solid var(--paper-line); }
  .lumora-calendar-days button:nth-child(even) { border-right: 0; }
  .lumora-calendar-days button:nth-child(n + 3) { border-top: 1px solid var(--paper-line); }
  .lumora-lightbox { padding: 12px; }
  .lumora-lightbox-dialog { display: block; max-height: 92vh; padding: 12px; border-radius: 16px; }
  .lumora-lightbox-image { max-height: 58vh; }
  .lumora-lightbox-image img { width: 100%; }
  .lumora-lightbox-image img.is-zoomed { width: 600px; }
  .lumora-lightbox-copy { padding: 20px 8px 10px; }
  .lumora-lightbox-copy h2 { font-size: 34px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 9px; }
  .gallery img { height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html.js [data-reveal], .js .process-item[data-process-item], .js .case-process .case-showcase--process article { opacity: 1; transform: none; transition: none; }
}

/* Portfolio mail categories: one quiet surface, four horizontal collections. */
.mail-library { background: linear-gradient(135deg, #fff 0%, #f1f6ff 100%); }
.mail-library--teaser { min-height: 0; }
.mail-teaser-copy { display: grid; align-content: end; gap: 18px; max-width: 390px; }
.mail-teaser-copy p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.mail-teaser-copy .text-link { width: fit-content; }
.mail-library-heading { margin-bottom: 42px; }
.mail-library-heading > p { max-width: 390px; }
.mail-category-list { display: grid; gap: 0; border-top: 1px solid var(--paper-line); }
.mail-category { display: grid; grid-template-columns: minmax(205px, .34fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 58px); padding: 30px 0 34px; border-bottom: 1px solid var(--paper-line); }
.mail-category:last-child { padding-bottom: 0; border-bottom: 0; }
.mail-category-intro { display: grid; align-content: start; gap: 18px; }
.mail-category-number { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.mail-category-intro h3 { max-width: 240px; margin-bottom: 10px; font-size: clamp(24px, 2.6vw, 36px); line-height: .98; }
.mail-category-intro p { max-width: 240px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.mail-category-content { min-width: 0; }
.mail-category-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 16px; }
.mail-category-note strong { color: var(--blue); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.mail-category-note span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.mail-carousel-wrap { min-width: 0; }
.mail-carousel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.mail-carousel-head > p { color: var(--muted); font-size: 12px; }
.mail-carousel-controls { display: flex; gap: 8px; flex: 0 0 auto; }
.mail-carousel-controls button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(29, 78, 216, .22); border-radius: 50%; color: var(--blue); background: rgba(255,255,255,.74); font: inherit; font-size: 18px; cursor: pointer; transition: background 160ms ease, color 160ms ease, transform 160ms ease; }
.mail-carousel-controls button:hover, .mail-carousel-controls button:focus-visible { color: #fff; background: var(--blue); outline: none; transform: translateY(-2px); }
.mail-carousel { overflow-x: auto; overflow-y: hidden; padding: 2px 4px 12px 1px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.mail-carousel::-webkit-scrollbar { display: none; }
.mail-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 252px); gap: 14px; }
.mail-slide { min-width: 0; padding: 0; overflow: hidden; border: 1px solid var(--paper-line); border-radius: 16px; color: inherit; background: rgba(255,255,255,.84); box-shadow: 0 8px 20px rgba(16, 40, 70, .05); text-align: left; cursor: pointer; scroll-snap-align: start; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.mail-slide:hover, .mail-slide:focus-visible { border-color: rgba(29, 78, 216, .46); box-shadow: 0 14px 26px rgba(16, 40, 70, .12); outline: none; transform: translateY(-3px); }
.mail-slide-image { display: block; height: 270px; overflow: hidden; background: #f4f7fb; }
.mail-slide-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 400ms cubic-bezier(.22,.8,.2,1); }
.mail-slide:hover .mail-slide-image img, .mail-slide:focus-visible .mail-slide-image img { transform: scale(1.045); }
.mail-slide-copy { display: grid; gap: 6px; padding: 13px 14px 15px; }
.mail-slide-copy small { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mail-slide-copy strong { font-size: 17px; letter-spacing: -.04em; line-height: 1.05; }
.mail-slide-copy em { color: var(--muted); font-family: var(--sans); font-size: 12px; font-style: normal; font-weight: 500; line-height: 1.4; }
.mail-category-list { gap: 18px; border-top: 0; }
.mail-category { position: relative; isolation: isolate; overflow: hidden; grid-template-columns: minmax(205px, .34fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 58px); padding: 25px 24px 27px; border: 1px solid rgba(29, 78, 216, .12); border-radius: 24px; background: linear-gradient(135deg, #fff 0%, var(--mail-category-tint, #f1f6ff) 100%); box-shadow: 0 12px 28px rgba(16, 40, 70, .055); }
.mail-category:last-child { padding-bottom: 27px; border-bottom: 1px solid rgba(29, 78, 216, .12); }
.mail-category::before { position: absolute; z-index: -1; top: -90px; right: -60px; width: 250px; height: 250px; border-radius: 50%; background: radial-gradient(circle, var(--mail-category-glow, rgba(67, 101, 214, .16)) 0%, transparent 68%); content: ''; pointer-events: none; }
.mail-category:nth-child(1) { --mail-category-accent: #3154d6; --mail-category-tint: #eef3ff; --mail-category-glow: rgba(49, 84, 214, .2); }
.mail-category:nth-child(2) { --mail-category-accent: #8759aa; --mail-category-tint: #f7effb; --mail-category-glow: rgba(135, 89, 170, .18); }
.mail-category:nth-child(3) { --mail-category-accent: #b36c2d; --mail-category-tint: #fff5e8; --mail-category-glow: rgba(179, 108, 45, .18); }
.mail-category:nth-child(4) { --mail-category-accent: #27756f; --mail-category-tint: #edf9f7; --mail-category-glow: rgba(39, 117, 111, .17); }
.mail-category-intro { position: relative; z-index: 1; gap: 14px; padding: 4px 0; }
.mail-category-number { display: inline-grid; width: 40px; height: 40px; place-items: center; border: 1px solid color-mix(in srgb, var(--mail-category-accent) 28%, transparent); border-radius: 14px; color: var(--mail-category-accent); background: rgba(255,255,255,.76); font-size: 11px; letter-spacing: .13em; }
.mail-category-intro h3 { margin-bottom: 6px; }
.mail-category-intro p { color: color-mix(in srgb, var(--muted) 88%, var(--mail-category-accent)); }
.mail-category-content { position: relative; z-index: 1; }
.mail-category-note strong { padding: 6px 9px; border-radius: 999px; color: var(--mail-category-accent); background: rgba(255,255,255,.76); font-size: 10px; }
.mail-category-note span { color: var(--muted); }
.mail-slide { border-color: color-mix(in srgb, var(--mail-category-accent) 18%, var(--paper-line)); box-shadow: 0 9px 20px rgba(16, 40, 70, .07); }
.mail-slide:hover, .mail-slide:focus-visible { border-color: color-mix(in srgb, var(--mail-category-accent) 52%, transparent); box-shadow: 0 16px 30px rgba(16, 40, 70, .13); }
.mail-slide-copy small { color: var(--mail-category-accent); }
.mail-carousel-controls button { border-color: color-mix(in srgb, var(--mail-category-accent) 28%, transparent); color: var(--mail-category-accent); }
.mail-carousel-controls button:hover, .mail-carousel-controls button:focus-visible { background: var(--mail-category-accent); }
.mail-lightbox { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(7, 20, 42, .78); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
.mail-lightbox.is-hidden { display: none; }
.mail-lightbox-dialog { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto minmax(0, 1fr); gap: 8px 14px; width: min(680px, 100%); max-height: 92vh; padding: 18px; overflow: hidden; border: 1px solid rgba(216, 226, 239, .9); border-radius: 22px; background: #fff; box-shadow: 0 28px 60px rgba(0,0,0,.26); }
.mail-lightbox-dialog > .eyebrow { grid-column: 1; align-self: center; margin: 0; padding-right: 42px; }
.mail-lightbox-close { position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--paper-line); border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.9); font: inherit; font-size: 23px; line-height: 1; cursor: pointer; }
.mail-lightbox-close:hover, .mail-lightbox-close:focus-visible { border-color: var(--blue); color: var(--blue); outline: none; }
.mail-lightbox-zoom { grid-column: 2; grid-row: 2; align-self: center; min-height: 34px; padding: 0 13px; border: 1px solid rgba(29, 78, 216, .22); border-radius: 999px; color: var(--blue); background: var(--blue-soft); font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.mail-lightbox-stage { grid-column: 1 / -1; grid-row: 3; min-height: 0; overflow: auto; padding: 12px; border: 1px solid var(--paper-line); border-radius: 14px; background: #edf1f7; }
.mail-lightbox-stage img { display: block; width: min(100%, 600px); height: auto; margin: 0 auto; border-radius: 8px; }
.mail-lightbox.is-zoomed .mail-lightbox-stage { cursor: zoom-out; }
.mail-lightbox.is-zoomed .mail-lightbox-stage img { width: 760px; max-width: none; }
body.mail-modal-open { overflow: hidden; }

@media (max-width: 900px) {
  .mail-category { grid-template-columns: 1fr; gap: 18px; }
  .mail-category-intro { display: flex; align-items: baseline; gap: 14px; }
  .mail-category-intro h3, .mail-category-intro p { max-width: none; }
  .mail-category-intro h3 { margin-bottom: 8px; }
}

@media (max-width: 620px) {
  .mail-library { padding-right: 20px; padding-left: 20px; }
  .mail-library-heading { margin-bottom: 30px; }
  .mail-library-heading h2 { font-size: clamp(34px, 11vw, 48px); }
  .mail-category { padding: 20px 18px 22px; }
  .mail-category-intro { display: grid; gap: 12px; }
  .mail-category-intro h3 { font-size: 27px; }
  .mail-category-note { display: grid; gap: 5px; }
  .mail-carousel-head { align-items: end; }
  .mail-track { grid-auto-columns: minmax(205px, 74vw); }
  .mail-slide-image { height: 250px; }
  .mail-lightbox { padding: 10px; }
  .mail-lightbox-dialog { width: 100%; max-height: 94vh; padding: 13px; border-radius: 16px; }
  .mail-lightbox-stage { padding: 8px; }
  .mail-lightbox.is-zoomed .mail-lightbox-stage img { width: 620px; }
}
