:root {
  --paper: #f5efe7;
  --paper-2: #fffaf5;
  --ink: #090909;
  --orange: #ff4a0a;
  --pink: #ff49bd;
  --line: rgba(9, 9, 9, 0.18);
  --radius: 24px;
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }

::selection { background: var(--pink); color: var(--ink); }

.section-shell {
  width: min(1480px, calc(100% - 48px));
  margin-inline: auto;
}
.section-pad { padding-block: 120px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
}

.brand {
  justify-self: start;
  display: flex;
  flex-direction: column;
  font-weight: 1000;
  line-height: .72;
  letter-spacing: -0.08em;
  transform: skewX(-5deg);
  font-size: 22px;
}

.desktop-nav { display: flex; gap: 28px; font-size: 14px; text-transform: uppercase; }
.desktop-nav a { position: relative; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 2px;
  background: var(--orange);
  transition: right .2s ease;
}
.desktop-nav a:hover::after { right: 0; }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; gap: 5px; align-items: center; font-size: 13px; }
.lang-btn { border: 0; background: transparent; padding: 4px; opacity: .4; cursor: pointer; }
.lang-btn.is-active { opacity: 1; font-weight: 800; }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--orange);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 900;
  text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pill:hover { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.pill-small { min-height: 42px; padding-inline: 18px; font-size: 12px; }

.menu-btn { display: none; border: 0; background: transparent; font-weight: 900; }
.mobile-menu { display: none; }

.hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: center;
  gap: 20px;
  padding-block: 70px 50px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  font-family: "Arial Black", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.07em;
  line-height: .84;
}

.hero h1 { font-size: clamp(62px, 8.8vw, 154px); max-width: 1050px; }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { transform: translateX(2.5vw); }
.hero h1 .accent-word { color: var(--orange); text-shadow: 4px 4px 0 var(--ink); -webkit-text-stroke: 2px var(--ink); }

.hero-bottom {
  margin-top: 42px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.hero-bottom p { max-width: 570px; margin: 0; font-size: clamp(17px, 1.4vw, 24px); line-height: 1.25; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 520px; transform: translateY(-104px); }
.planet-logo {
  width: min(650px, 49vw);
  max-width: none;
  margin-left: -40px;
  mix-blend-mode: multiply;
  animation: float 6s ease-in-out infinite;
  transform: rotate(6deg);
}
.pink-sticker {
  position: absolute;
  top: 12%;
  right: clamp(24px, 4vw, 64px);
  z-index: 2;
  background: var(--pink);
  border: 2px solid var(--ink);
  padding: 16px 18px;
  font-family: "Arial Black", Impact, sans-serif;
  text-transform: uppercase;
  transform: rotate(6deg);
  box-shadow: 5px 5px 0 var(--ink);
  max-width: 190px;
  line-height: 1.08;
}

@keyframes float {
  0%,100% { transform: translateY(0) rotate(6deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}

.marquee { overflow: hidden; border-block: 2px solid var(--ink); background: var(--orange); }
.marquee-track { display: flex; width: max-content; animation: marquee 25s linear infinite; }
.marquee span {
  white-space: nowrap;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(28px, 4vw, 62px);
  letter-spacing: -0.04em;
  padding-block: 10px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.section-number { font-family: "Arial Black", Impact, sans-serif; font-size: 14px; border: 2px solid var(--ink); display: inline-block; padding: 5px 9px; border-radius: 999px; margin-bottom: 18px; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; }
.about h2 { font-size: clamp(48px, 6vw, 98px); }
.about-copy { font-size: clamp(18px, 1.6vw, 26px); line-height: 1.35; }
.about-copy p { margin: 0 0 24px; }

.principles { margin-top: 90px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 2px solid var(--ink); }
.principle-card { min-width: 0; min-height: 340px; padding: 24px; border-right: 2px solid var(--ink); display: flex; flex-direction: column; overflow: hidden; }
.principle-card:last-child { border-right: 0; }
.principle-card span { font-weight: 900; }
.principle-card h3 { margin: auto 0 12px; font-family: "Arial Black", Impact, sans-serif; font-size: clamp(30px, 3vw, 58px); text-transform: uppercase; letter-spacing: -0.06em; overflow-wrap: anywhere; hyphens: auto; }
.principle-card p { margin: 0; max-width: 28ch; line-height: 1.35; }
.orange-card { background: var(--orange); }
.pink-card { background: var(--pink); }
.dark-card { background: var(--ink); color: var(--paper); }

.section-heading { display: grid; grid-template-columns: .55fr 1.45fr; gap: 40px; align-items: end; margin-bottom: 60px; }
.section-heading h2 { font-size: clamp(50px, 7vw, 110px); }

.format-list { border-top: 2px solid var(--ink); }
.format-row {
  display: grid;
  grid-template-columns: 90px 1fr 80px;
  align-items: center;
  min-height: 180px;
  border-bottom: 2px solid var(--ink);
  transition: background .2s ease, padding .2s ease;
}
.format-row:hover { background: var(--pink); padding-inline: 22px; }
.format-index { font-weight: 900; }
.format-row h3 { margin: 0; font-family: "Arial Black", Impact, sans-serif; font-size: clamp(38px, 5vw, 84px); letter-spacing: -0.055em; text-transform: uppercase; }
.format-row p { margin: 7px 0 0; font-size: 16px; text-transform: uppercase; }
.format-arrow { justify-self: end; font-size: 42px; }
.placeholder-note { margin-top: 18px; font-size: 13px; opacity: .55; }

.method { background: var(--ink); color: var(--paper); }
.method .section-number { border-color: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.35); border-left: 1px solid rgba(255,255,255,.35); }
.step { min-width: 0; min-height: 360px; border-right: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); padding: 24px; display: flex; flex-direction: column; }
.step span { color: var(--orange); font-weight: 900; }
.step h3 { margin: auto 0 14px; font-size: 29px; text-transform: uppercase; }
.step p { margin: 0; line-height: 1.5; opacity: .82; }

.statement { position: relative; min-height: 660px; display: flex; flex-direction: column; justify-content: center; }
.statement blockquote { margin: 0; max-width: 1200px; font-family: "Arial Black", Impact, sans-serif; font-size: clamp(54px, 7vw, 118px); line-height: .92; letter-spacing: -0.06em; text-transform: uppercase; }
.scribble { position: absolute; right: 5%; bottom: 12%; font-family: cursive; font-size: clamp(54px, 8vw, 120px); color: var(--pink); transform: rotate(-8deg); }

.review-slider { display: grid; grid-template-columns: 72px 1fr 72px; gap: 20px; align-items: center; }
.review-window { overflow: hidden; border: 2px solid var(--ink); background: var(--paper-2); }
.review-track { display: flex; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.review-card { min-width: 100%; min-height: 390px; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.review-card p { margin: 0; font-family: "Arial Black", Impact, sans-serif; font-size: clamp(32px, 4.5vw, 72px); line-height: 1; letter-spacing: -0.045em; }
.review-card span { font-size: 14px; text-transform: uppercase; opacity: .65; }
.slider-btn { width: 64px; height: 64px; border: 2px solid var(--ink); border-radius: 50%; background: var(--orange); cursor: pointer; font-size: 26px; box-shadow: 3px 3px 0 var(--ink); }
.slider-btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }

.contact { background: var(--orange); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: start; }
.contact h2 { font-size: clamp(68px, 9vw, 150px); }
.contact-card { background: var(--paper); border: 2px solid var(--ink); padding: 30px; box-shadow: 8px 8px 0 var(--ink); }
.contact-card > p { font-size: 22px; line-height: 1.3; }
.contact-cta { margin-block: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 16px; border-block: 2px solid var(--ink); font-family: "Arial Black", Impact, sans-serif; font-size: clamp(24px, 3vw, 44px); }
.outline-btn { min-height: 52px; padding: 0 18px; border: 2px solid var(--ink); background: transparent; font-weight: 900; text-transform: uppercase; cursor: pointer; }
.outline-btn:hover { background: var(--pink); }

.footer { padding-block: 80px 40px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.footer-brand img { display: block; width: min(520px, 70vw); mix-blend-mode: multiply; }
.footer-meta { text-align: right; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.footer-meta a { display: block; margin-block: 12px; text-decoration: underline; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: grid; place-items: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.58); }
.modal-panel { position: relative; z-index: 2; width: min(680px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: var(--paper); border: 2px solid var(--ink); padding: 34px; box-shadow: 10px 10px 0 var(--pink); }
.modal-panel h2 { margin: 0 0 12px; font-family: "Arial Black", Impact, sans-serif; font-size: clamp(42px, 7vw, 74px); text-transform: uppercase; letter-spacing: -0.055em; }
.modal-close { position: absolute; right: 18px; top: 12px; border: 0; background: transparent; font-size: 38px; cursor: pointer; }
#leadForm { display: grid; gap: 18px; margin-top: 26px; }
#leadForm label { display: grid; gap: 8px; font-weight: 800; font-size: 13px; text-transform: uppercase; }
#leadForm input, #leadForm textarea, .form-result textarea { width: 100%; border: 2px solid var(--ink); background: var(--paper-2); padding: 14px; border-radius: 0; outline: none; }
#leadForm input:focus, #leadForm textarea:focus { box-shadow: 4px 4px 0 var(--orange); }
.form-submit { border-radius: 0; justify-self: start; cursor: pointer; }
.form-result { margin-top: 26px; border-top: 2px solid var(--ink); padding-top: 22px; }
.result-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }

.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,73,189,.18), transparent 65%);
  transform: translate(-50%,-50%);
  pointer-events: none;
  z-index: -1;
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .desktop-nav, .header-actions .pill-small { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .header-actions { grid-column: 2; }
  .menu-btn { display: block; }
  .mobile-menu {
    position: fixed;
    z-index: 45;
    inset: var(--header-h) 0 auto 0;
    background: var(--ink);
    color: var(--paper);
    padding: 26px 24px 32px;
    border-bottom: 2px solid var(--orange);
  }
  .mobile-menu.is-open { display: grid; gap: 18px; }
  .mobile-menu a { font-family: "Arial Black", Impact, sans-serif; font-size: 32px; text-transform: uppercase; }

  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 360px; transform: translateY(-50px); }
  .planet-logo { width: min(620px, 80vw); margin-left: 12px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .principles, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principle-card:nth-child(2) { border-right: 0; }
  .principle-card:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .section-heading { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root { --header-h: 68px; }
  .section-shell { width: min(100% - 28px, 1480px); }
  .section-pad { padding-block: 78px; }
  .site-header { padding-inline: 14px; }
  .hero { padding-block: 46px 34px; }
  .hero h1 { font-size: clamp(54px, 18vw, 86px); }
  .hero h1 span:nth-child(2) { transform: none; }
  .hero h1 .accent-word { text-shadow: 3px 3px 0 var(--ink); -webkit-text-stroke: 1px var(--ink); }
  .hero-bottom { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .hero-bottom .pill { align-self: flex-start; }
  .hero-art { min-height: 300px; transform: translateY(-28px); }
  .pink-sticker { right: 11%; top: 4%; font-size: 12px; max-width: 145px; transform: rotate(5deg); }
  .planet-logo { width: 90vw; margin-left: 10px; }
  .about h2, .section-heading h2 { font-size: clamp(44px, 14vw, 70px); }
  .principles, .steps { grid-template-columns: 1fr; }
  .principle-card { border-right: 0; border-bottom: 2px solid var(--ink); min-height: 280px; }
  .principle-card:last-child { border-bottom: 0; }
  .step { min-height: 270px; }
  .format-row { grid-template-columns: 44px 1fr 38px; min-height: 150px; gap: 6px; }
  .format-row h3 { font-size: clamp(32px, 10vw, 52px); }
  .format-row p { font-size: 12px; }
  .format-arrow { font-size: 30px; }
  .statement { min-height: 520px; }
  .review-slider { grid-template-columns: 1fr 1fr; }
  .review-window { grid-column: 1 / -1; grid-row: 1; }
  .slider-btn { grid-row: 2; width: 52px; height: 52px; }
  .slider-btn.next { justify-self: end; }
  .review-card { min-height: 360px; padding: 26px; }
  .contact h2 { font-size: clamp(60px, 17vw, 96px); }
  .footer { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
  .cursor-glow { display: none; }
}

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


/* --- v2: corporate English + founder + safer responsive layout --- */
.corporate {
  background: var(--pink);
  border-block: 2px solid var(--ink);
}
.corporate-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 54px;
  align-items: stretch;
}
.corporate-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  padding: 34px;
  background: var(--orange);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}
.corporate-copy p {
  margin: 0;
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.18;
  font-weight: 700;
}
.corporate-copy .pill {
  align-self: flex-start;
  background: var(--paper);
}
.client-panel {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 30px;
}
.client-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.client-logo {
  min-width: 0;
  height: 210px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: #fff;
}
.client-logo:nth-child(1),
.client-logo:nth-child(3) { background: #050505; }
.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.founder { overflow: visible; }
.founder-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 460px) 1fr;
  gap: 64px;
  align-items: center;
  padding: clamp(28px, 5vw, 70px);
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 10px 10px 0 var(--orange);
  overflow: hidden;
}
.founder-photo-wrap {
  position: relative;
  width: min(430px, 100%);
  min-height: 520px;
  justify-self: center;
  display: grid;
  place-items: end center;
  isolation: isolate;
}
.founder-photo-wrap::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: -34px;
  top: 34px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 285px 365px 0 -58px var(--orange), 350px 70px 0 -72px var(--orange);
}
.founder-photo-wrap::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -48px;
  top: 8px;
  width: 170px;
  height: 135px;
  background: repeating-linear-gradient(135deg, var(--orange) 0 9px, transparent 9px 22px);
  transform: rotate(3deg);
}
.founder-art {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center bottom;
  border: 0;
  box-shadow: none;
  background: #fff;
}
.founder-copy h2 {
  margin: 0 0 28px;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(54px, 7vw, 118px);
  line-height: .88;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}
.founder-copy > p:last-child {
  margin: 0;
  max-width: 760px;
  font-size: clamp(20px, 1.8vw, 29px);
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .corporate-grid, .founder-shell { grid-template-columns: 1fr; }
  .founder-photo-wrap { width: min(390px, 82vw); min-height: 450px; margin-inline: auto; }
}

@media (max-width: 820px) {
  /* Long Ukrainian headings must never force a horizontal scroll. */
  .principles, .steps { grid-template-columns: 1fr; }
  .principle-card {
    border-right: 0 !important;
    border-bottom: 2px solid var(--ink);
    min-height: 260px;
  }
  .principle-card:last-child { border-bottom: 0; }
  .principle-card:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .step { min-height: 250px; }
  .client-logos { grid-template-columns: 1fr 1fr; }
  .client-logo { height: 160px; }
}

@media (max-width: 700px) {
  .hero-art { overflow: visible; }
  .planet-logo { width: 90vw; margin-left: 10px; }
  .pink-sticker { right: 8%; top: 4%; }
  .corporate-grid { gap: 28px; }
  .corporate-copy, .client-panel { padding: 22px; }
  .client-logos { grid-template-columns: 1fr; }
  .client-logo { height: 160px; }
  .founder-shell { padding: 26px 20px; gap: 42px; box-shadow: 6px 6px 0 var(--orange); }
  .founder-photo-wrap { width: min(330px, 86vw); min-height: 390px; }
  .founder-copy h2 { font-size: clamp(48px, 15vw, 78px); }
}

/* --- v3: founder portrait + clean corporate logo wall --- */
.client-logos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.client-logo {
  height: 170px;
  padding: 22px;
  overflow: hidden;
  background: var(--paper-2);
}
.client-logo:nth-child(1),
.client-logo:nth-child(3) {
  background: var(--paper-2);
}
.client-logo img {
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 72%;
  object-fit: contain;
}
.client-logo--dark {
  background: #111 !important;
}
.client-logo--dark img {
  max-width: 82%;
  max-height: 68%;
}
.client-logo--rect {
  padding: 0;
  background: transparent;
}
.client-logo--rect img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}
.client-logo--blue {
  background: #0b2d92 !important;
}
.client-logo--transparent {
  background: var(--paper-2) !important;
}
.client-logo--transparent img {
  max-width: 68%;
  max-height: 68%;
}


@media (max-width: 1100px) {
  .client-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-logo { height: 180px; }
}

@media (max-width: 700px) {
  .client-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .client-logo { height: 128px; padding: 14px; }
  .client-logo--rect { padding: 0; }
  .client-logo--transparent img { max-width: 72%; max-height: 72%; }
}
