:root {
  --ink: #3f3645;
  --muted: #7a7280;
  --paper: #ffffff;
  --white: #ffffff;
  --yellow: #ffe57a;
  --yellow-soft: #fff8d6;
  --coral: #ff9a86;
  --coral-soft: #ffe8e2;
  --mint: #e8f8ef;
  --lilac: #f1ecff;
  --sky: #eaf7fd;
  --peach: #fff0dd;
  --line: rgba(63, 54, 69, .1);
  --radius: 32px;
  --font-display: "Onest", "Arial", sans-serif;
  --font-text: "Manrope", "Arial", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: var(--font-text);
  line-height: 1.5;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.shell { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.section { padding: 120px 0; }
.skip-link {
  position: fixed; top: -100px; left: 20px; z-index: 1000;
  padding: 12px 18px; color: var(--white); background: var(--ink); border-radius: 12px;
}
.skip-link:focus { top: 20px; }

.header {
  position: fixed; z-index: 100; top: 0; left: 0; width: 100%;
  padding: 16px 0; transition: .25s ease;
}
.header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span { font-family: var(--font-display); font-size: 13px; line-height: 1.06; text-transform: uppercase; letter-spacing: -.02em; }
.brand b { font-weight: 800; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.7vw, 42px); }
.nav a, .phone { font-size: 14px; font-weight: 600; }
.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; background: var(--coral);
  transform: scaleX(0); transform-origin: right; transition: transform .25s ease;
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 18px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 58px; padding: 0 28px; border: 0; border-radius: 16px;
  color: var(--ink); background: var(--yellow); font-weight: 800; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(255, 153, 133, .22); }
.button--small { min-height: 44px; padding: 0 20px; border-radius: 12px; font-size: 13px; }
.button--dark { color: var(--ink); background: var(--white); border: 1px solid rgba(73, 59, 77, .15); }
.menu { display: none; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 12px; background: var(--yellow); }
.menu span { display: block; width: 19px; height: 2px; margin: 5px auto; background: var(--ink); transition: .25s; }

.hero { position: relative; padding-top: 120px; min-height: 100vh; background: #ffffff; overflow: hidden; }
.hero__grid { min-height: calc(100vh - 180px); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px; padding: 62px 0 90px; }
.eyebrow, .section-kicker {
  margin: 0 0 26px; color: var(--muted); font-size: 12px; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.hero h1 {
  margin: 0; font-family: var(--font-display); font-size: clamp(70px, 8.7vw, 138px);
  font-weight: 800; line-height: .83; letter-spacing: -.075em;
}
.hero h1 i {
  position: relative; z-index: 1; display: inline-block; padding: 0 .12em .06em;
  font-style: normal;
}
.hero h1 i::before {
  content: ""; position: absolute; z-index: -1; inset: 9% -2% 0;
  background: var(--yellow); border-radius: 50% 42% 52% 45% / 44% 50% 46% 55%; transform: rotate(-2deg);
}
.hero__lead { max-width: 600px; margin: 38px 0 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; }
.hero__buttons { display: flex; align-items: center; gap: 30px; margin-top: 34px; }
.text-link { font-weight: 800; }
.text-link span { display: inline-block; margin-left: 6px; transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }

.hero-art {
  position: relative; min-height: 620px; border-radius: 48% 48% 42% 42% / 38% 42% 52% 55%;
  background: linear-gradient(155deg, #f7fbff 0%, #eaf6fd 100%);
  box-shadow: 0 20px 50px rgba(180, 210, 230, .18);
}
.hero-art__sun { position: absolute; top: 42px; right: 50px; width: 104px; color: #ff8d66; }
.hero-art__sun svg { overflow: visible; }
.hero-art__sun circle { fill: var(--yellow); stroke: currentColor; stroke-width: 5; }
.hero-art__sun path { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; }
.hero-art__cloud { position: absolute; width: 105px; height: 27px; border-radius: 40px; background: var(--white); }
.hero-art__cloud::before, .hero-art__cloud::after { content: ""; position: absolute; bottom: 0; border-radius: 50%; background: var(--white); }
.hero-art__cloud::before { left: 20px; width: 45px; height: 45px; }
.hero-art__cloud::after { right: 12px; width: 34px; height: 34px; }
.hero-art__cloud--one { top: 105px; left: 34px; }
.hero-art__cloud--two { top: 210px; right: 26px; transform: scale(.72); }
.hero-art__ground { position: absolute; left: 8%; right: 8%; bottom: 45px; height: 120px; border-radius: 50%; background: #c5ead5; }
.house { position: absolute; z-index: 2; left: 50%; bottom: 89px; width: 340px; transform: translateX(-50%); }
.house__roof {
  width: 286px; height: 180px; margin: 0 auto -50px;
  background: var(--coral); border: 4px solid var(--ink); border-radius: 28px 28px 8px 8px;
  transform: rotate(45deg); transform-origin: center;
}
.house__body { position: relative; height: 280px; background: var(--yellow-soft); border: 4px solid var(--ink); border-radius: 18px 18px 26px 26px; overflow: hidden; }
.house__window {
  position: absolute; left: 42px; top: 50px; width: 150px; height: 105px;
  background: #eff8ff; border: 4px solid var(--ink); border-radius: 70px 70px 10px 10px;
}
.house__window::before { content: ""; position: absolute; left: 50%; top: 0; width: 4px; height: 100%; background: var(--ink); transform: translateX(-50%); }
.face { position: absolute; bottom: 8px; width: 50px; height: 55px; border: 3px solid var(--ink); border-radius: 50% 50% 45% 45%; }
.face::before { content: "••"; position: absolute; left: 12px; top: 15px; font-weight: 900; letter-spacing: 9px; }
.face::after { content: ""; position: absolute; left: 16px; top: 34px; width: 15px; height: 7px; border-bottom: 2px solid var(--ink); border-radius: 50%; }
.face--one { left: 14px; background: #ffd3ad; }
.face--two { right: 9px; background: #decfff; }
.heart-svg {
  position: absolute; z-index: 2; top: 6px; left: 62px; width: 18px; height: 18px;
  fill: var(--coral); stroke: var(--ink); stroke-width: 1.6;
}
.house__door { position: absolute; right: 38px; bottom: 0; width: 82px; height: 125px; background: #cbaeff; border: 4px solid var(--ink); border-bottom: 0; border-radius: 44px 44px 0 0; }
.house__door::after { content: ""; position: absolute; right: 12px; top: 66px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.note {
  position: absolute; z-index: 4; padding: 10px 17px; border: 2px solid var(--ink); border-radius: 10px;
  background: var(--white); font-size: 13px; font-weight: 800; box-shadow: 5px 6px 18px rgba(73, 59, 77, .12);
}
.note--one { top: 165px; left: 0; transform: rotate(-7deg); }
.note--two { top: 293px; right: -12px; transform: rotate(7deg); background: var(--mint); }
.note--three { bottom: 34px; left: 14%; transform: rotate(3deg); background: var(--lilac); }

.ticker { width: 100%; padding: 19px 0; overflow: hidden; background: var(--yellow); border-block: 1px solid rgba(73, 59, 77, .18); transform: rotate(-1deg) scale(1.02); }
.ticker__track { display: flex; align-items: center; width: max-content; animation: ticker 28s linear infinite; }
.ticker span { padding: 0 22px; font-family: var(--font-display); font-size: 23px; font-weight: 800; text-transform: uppercase; }
.ticker b { color: var(--coral); font-size: 17px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-kicker { padding-top: 4px; }
.story__grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 80px; align-items: start; }
.story h2, .section-heading h2, .places h2, .career h2, .contact h2 {
  margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -.055em; line-height: .98;
}
.story h2 { font-size: clamp(50px, 6.4vw, 94px); }
.story h2 mark { position: relative; color: inherit; background: transparent; white-space: nowrap; }
.story h2 mark::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 12px;
  border-radius: 50%; border-top: 5px solid var(--coral); transform: rotate(-2deg);
}
.story__aside > p { margin: 8px 0 48px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.story__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.story__facts div { padding-top: 18px; border-top: 1px solid var(--line); }
.story__facts strong { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 42px; line-height: 1; }
.story__facts span { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }

.projects { background: #ffffff; border-radius: 0; }
.section-heading { display: grid; grid-template-columns: 1fr 380px; align-items: end; gap: 60px; margin-bottom: 58px; }
.section-heading h2, .places h2, .contact h2 { font-size: clamp(48px, 5.8vw, 80px); }
.section-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.project-card {
  position: relative; min-height: 520px; display: flex; flex-direction: column; justify-content: space-between;
  padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.project-card:hover { transform: translateY(-7px) rotate(-.4deg); box-shadow: 0 24px 55px rgba(114, 91, 116, .13); }
.project-card--wide .project-card__content { max-width: 76%; }
.project-card--yellow { background: var(--yellow-soft); }
.project-card--lilac { background: var(--lilac); }
.project-card--mint { background: var(--mint); }
.project-card--coral { background: var(--coral-soft); }
.project-card--sky { background: var(--sky); }
.project-card--peach { background: var(--peach); }
.project-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.project-card__number { font-size: 12px; font-weight: 800; }
.project-icon { width: 116px; height: 116px; display: grid; place-items: center; border: 1px solid rgba(73, 59, 77, .2); border-radius: 50%; background: rgba(255, 255, 255, .78); }
.project-icon svg { width: 78px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.project-icon .accent { stroke: #ee6c4d; stroke-width: 5; }
.tag { display: inline-flex; padding: 7px 12px; border: 1px solid rgba(73, 59, 77, .2); border-radius: 50px; background: rgba(255,255,255,.42); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.project-card h3 { margin: 16px 0 14px; font-family: var(--font-display); font-size: clamp(35px, 4vw, 59px); font-weight: 800; line-height: .98; letter-spacing: -.05em; }
.project-card p { max-width: 610px; margin: 0 0 28px; font-size: 15px; line-height: 1.6; }
.project-card a { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 800; }
.project-card a span { transition: transform .2s; }
.project-card a:hover span { transform: translate(3px, -3px); }

.places { background: var(--white); }
.places__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.places__intro { position: sticky; top: 120px; }
.places__intro > p { max-width: 390px; margin: 28px 0; color: var(--muted); font-size: 17px; }
.map-art { width: 100%; max-width: 440px; margin-top: 30px; color: var(--coral); }
.map-art path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 8 10; stroke-linecap: round; }
.map-art circle { fill: var(--yellow); stroke: var(--ink); stroke-width: 3; }
.place {
  display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 18px;
  padding: 33px 8px; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s;
}
.place:first-child { border-top: 1px solid var(--line); }
.place:hover { padding-inline: 22px; background: var(--yellow-soft); }
.place span { color: var(--muted); font-size: 12px; font-weight: 800; }
.place strong { font-family: var(--font-display); font-size: clamp(25px, 3vw, 39px); letter-spacing: -.04em; }
.place i { font-style: normal; font-size: 28px; transition: transform .2s; }
.place:hover i { transform: translate(4px, -4px); }

.career { padding-top: 20px; }
.career__card {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  padding: 78px; color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line); border-radius: 44px; overflow: hidden;
  box-shadow: 0 18px 48px rgba(63, 54, 69, .06);
}
.career h2 { font-size: clamp(46px, 5vw, 72px); }
.career__copy > p { max-width: 560px; margin: 28px 0 34px; color: var(--muted); font-size: 17px; }
.career .section-kicker { color: #db7665; }
.career__benefits { position: relative; z-index: 1; }
.career__benefits div { display: grid; grid-template-columns: 45px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.career__benefits div:first-child { border-top: 1px solid var(--line); }
.career__benefits span { color: #db7665; font-size: 12px; font-weight: 800; }
.career__benefits p { margin: 0; max-width: 440px; font-size: 15px; }
.career__flower { position: absolute; right: -45px; bottom: -50px; width: 240px; opacity: .17; }
.career__flower circle { fill: var(--coral); }

.contact { padding-bottom: 80px; }
.contact__head { max-width: 810px; margin-bottom: 55px; }
.contact__head > p { max-width: 580px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.contact__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; }
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 38px; border: 1px solid var(--line); border-radius: 32px; background: #ffffff; box-shadow: 0 16px 40px rgba(63, 54, 69, .05); }
.form label { display: block; }
.form label span { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 800; }
.form input, .form textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 12px 0; color: var(--ink); background: transparent; outline: none;
}
.form input:focus, .form textarea:focus { border-color: var(--coral); }
.form textarea { min-height: 90px; resize: vertical; }
.form__message { grid-column: 1 / -1; }
.form .button { justify-self: start; margin-top: 12px; }
.form__status { align-self: center; margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.contact-card {
  position: relative; min-height: 440px; padding: 38px; border: 1px solid var(--line); border-radius: 32px;
  background: #fffaf0; overflow: hidden;
}
.contact-card p { margin: 0 0 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.contact-card > a { display: block; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.04em; }
.contact-card__line { width: 100%; height: 2px; margin: 28px 0; background: var(--ink); }
.contact-card .contact-card__telegram { margin-top: 8px; font-family: var(--font-text); font-size: 14px; letter-spacing: 0; text-decoration: underline; }
.contact-card__smile { position: absolute; right: 22px; bottom: 20px; width: 135px; transform: rotate(8deg); }
.contact-card__smile svg { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.contact-card__smile circle:first-child { fill: var(--coral); }
.contact-card__smile circle:not(:first-child) { fill: var(--ink); }

.footer { padding: 55px 0 25px; color: var(--ink); background: #ffffff; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 60px; padding-bottom: 50px; }
.brand--footer img { filter: none; }
.footer__top > p { margin: 0; color: var(--muted); font-size: 14px; }
.footer__up { display: grid; place-items: center; width: 95px; height: 95px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.52); font-size: 13px; font-weight: 700; transition: .2s; }
.footer__up:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

.cookie {
  position: fixed; z-index: 120; left: 22px; bottom: 22px; max-width: 390px;
  display: flex; align-items: center; gap: 18px; padding: 14px 14px 14px 19px;
  border: 1px solid var(--line); border-radius: 17px; background: var(--white); box-shadow: 0 15px 42px rgba(73, 59, 77, .14);
  transform: translateY(150%); transition: transform .4s ease;
}
.cookie.show { transform: translateY(0); }
.cookie p { margin: 0; font-size: 12px; }
.cookie button { flex: 0 0 auto; padding: 10px 16px; border: 0; border-radius: 10px; background: var(--yellow); font-weight: 800; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(35px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .phone { display: none; }
  .hero__grid { grid-template-columns: 1fr .8fr; }
  .hero-art { min-height: 520px; }
  .house { width: 280px; bottom: 82px; }
  .house__roof { width: 235px; height: 145px; }
  .house__body { height: 235px; }
  .house__window { left: 30px; top: 40px; transform: scale(.84); transform-origin: left top; }
  .house__door { right: 27px; height: 108px; width: 70px; }
  .story__grid { grid-template-columns: 1.1fr .9fr; gap: 50px; }
  .career__card { padding: 56px; gap: 50px; }
}

@media (max-width: 860px) {
  .shell { width: min(100% - 36px, 720px); }
  .section { padding: 80px 0; }
  .header__actions .button { display: none; }
  .menu { display: block; }
  .nav {
    position: fixed; top: 0; right: -100%; z-index: -1; width: min(86vw, 420px); height: 100vh;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 60px 45px; background: var(--yellow-soft); border-left: 2px solid var(--ink);
    transition: right .35s ease;
  }
  .nav.open { right: 0; }
  .nav a { font-family: var(--font-display); font-size: 28px; font-weight: 800; }
  .menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { padding-top: 90px; }
  .hero__grid { grid-template-columns: 1fr; min-height: auto; gap: 55px; padding: 55px 0 90px; }
  .hero__copy { text-align: center; }
  .eyebrow, .hero__buttons { justify-content: center; }
  .hero__lead { margin-inline: auto; }
  .hero-art { width: min(100%, 570px); min-height: 560px; margin-inline: auto; }
  .story__grid, .section-heading, .places__grid, .career__card, .contact__grid { grid-template-columns: 1fr; }
  .story__aside > p { margin-top: 0; }
  .section-heading { gap: 26px; }
  .section-heading > p { max-width: 570px; }
  .project-card--wide .project-card__content { max-width: 100%; }
  .places__grid { gap: 48px; }
  .places__intro { position: static; }
  .career__card { gap: 46px; }
  .contact-card { min-height: 390px; }
}

@media (max-width: 620px) {
  .shell { width: calc(100% - 28px); }
  .header { padding: 10px 0; }
  .brand img { width: 36px; height: 36px; }
  .brand span { font-size: 11px; }
  .hero h1 { font-size: clamp(57px, 19vw, 86px); }
  .hero__lead { font-size: 16px; }
  .hero__buttons { flex-direction: column; gap: 20px; }
  .hero-art { min-height: 430px; border-radius: 40px; }
  .hero-art__sun { top: 25px; right: 28px; width: 72px; }
  .hero-art__cloud--one { top: 75px; transform: scale(.7); left: 0; }
  .hero-art__cloud--two { display: none; }
  .house { width: 230px; bottom: 67px; }
  .house__roof { width: 190px; height: 118px; margin-bottom: -40px; border-width: 3px; }
  .house__body { height: 190px; border-width: 3px; }
  .house__window { left: 20px; top: 31px; transform: scale(.64); }
  .house__door { right: 20px; width: 57px; height: 89px; border-width: 3px; }
  .hero-art__ground { bottom: 30px; height: 90px; }
  .note { padding: 7px 10px; font-size: 10px; box-shadow: 3px 3px 0 var(--ink); }
  .note--one { top: 140px; }
  .note--two { top: 225px; }
  .note--three { bottom: 19px; }
  .ticker span { font-size: 17px; }
  .story h2, .section-heading h2, .places h2, .contact h2 { font-size: 43px; }
  .story__grid { gap: 38px; }
  .story__aside > p { font-size: 16px; }
  .story__facts { grid-template-columns: 1fr; gap: 20px; }
  .story__facts div { display: grid; grid-template-columns: 80px 1fr; align-items: center; }
  .story__facts strong { margin: 0; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 490px; padding: 25px; border-radius: 25px; }
  .project-icon { width: 92px; height: 92px; }
  .project-icon svg { width: 61px; }
  .badge-medallion--lg { width: 96px; height: 96px; }
  .badge-medallion--lg svg { width: 48px; height: 48px; }
  .badge-medallion { width: 78px; height: 78px; }
  .badge-medallion svg { width: 36px; height: 36px; }
  .project-card h3 { font-size: 39px; }
  .place { grid-template-columns: 36px 1fr auto; gap: 10px; padding-block: 26px; }
  .place strong { font-size: 24px; }
  .career { padding-top: 0; }
  .career__card { width: calc(100% - 20px); padding: 38px 24px; border-radius: 28px; }
  .career h2 { font-size: 42px; }
  .form { grid-template-columns: 1fr; padding: 26px 22px; }
  .form__message { grid-column: auto; }
  .contact-card { min-height: 340px; padding: 28px 22px; }
  .footer__top { grid-template-columns: 1fr auto; gap: 30px; }
  .footer__top > p { grid-column: 1 / -1; grid-row: 2; }
  .footer__up { width: 75px; height: 75px; }
  .footer__bottom { flex-direction: column; }
  .cookie { left: 14px; right: 14px; bottom: 14px; max-width: none; }
}

/* ===== TEAMBOOK v3 additions ===== */
.demo-badge {
  display: inline-flex; align-items: center; margin-left: 8px; padding: 3px 8px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.button--ghost {
  background: transparent; border: 1px solid rgba(63,54,69,.18); min-height: 48px; padding: 0 18px; border-radius: 14px;
}
.icon-wrap, .timeline__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(255,255,255,.85);
}
.icon-wrap svg, .timeline__icon svg { width: 28px; height: 28px; stroke: var(--ink); }

/* Unified circular badges */
.badge-medallion {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  background: var(--white);
  box-shadow:
    6px 8px 0 rgba(63, 54, 69, .08),
    inset 0 0 0 6px rgba(255,255,255,.35);
  flex: 0 0 auto;
}
.badge-medallion svg {
  width: 42px;
  height: 42px;
  stroke: var(--ink);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.badge-medallion .accent { stroke: #ee6c4d; stroke-width: 3; }
.badge-medallion__ring {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 42px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 2px 3px 0 rgba(63, 54, 69, .1);
}
.badge-medallion__label {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 96px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.badge-medallion--lg {
  width: 118px;
  height: 118px;
}
.badge-medallion--lg svg { width: 58px; height: 58px; stroke-width: 3.2; }
.badge-medallion--lg .accent { stroke-width: 5; }
.badge-medallion--lg .badge-medallion__ring { font-size: 11px; padding: 5px 12px; }
.badge-medallion--lg .badge-medallion__label { font-size: 11px; max-width: 110px; }

.badge-medallion--yellow { background: linear-gradient(160deg, #fffdf3, var(--yellow)); }
.badge-medallion--yellow .badge-medallion__ring { background: var(--yellow); }
.badge-medallion--lilac { background: linear-gradient(160deg, #fff, var(--lilac)); }
.badge-medallion--lilac .badge-medallion__ring { background: var(--lilac); }
.badge-medallion--mint { background: linear-gradient(160deg, #fff, var(--mint)); }
.badge-medallion--mint .badge-medallion__ring { background: var(--mint); }
.badge-medallion--coral { background: linear-gradient(160deg, #fff, var(--coral-soft)); }
.badge-medallion--coral .badge-medallion__ring { background: var(--coral-soft); }
.badge-medallion--sky { background: linear-gradient(160deg, #fff, var(--sky)); }
.badge-medallion--sky .badge-medallion__ring { background: var(--sky); }
.badge-medallion--peach { background: linear-gradient(160deg, #fff, var(--peach)); }
.badge-medallion--peach .badge-medallion__ring { background: var(--peach); }

.audience-slot .badge-medallion { margin-bottom: 8px; }
.audience-slot:hover .badge-medallion,
.audience-slot.is-active .badge-medallion {
  transform: translateY(-3px) rotate(-2deg);
  box-shadow: 8px 10px 0 rgba(63, 54, 69, .12);
}
.project-card:hover .badge-medallion {
  transform: rotate(3deg) scale(1.04);
}

.tag--pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1.5px solid rgba(63, 54, 69, .18);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: none;
}
.tag--pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  flex: 0 0 auto;
}
.tag--yellow::before { background: #f0c84a; }
.tag--lilac::before { background: #9b86e0; }
.tag--mint::before { background: #4caf7a; }
.tag--coral::before { background: var(--coral); }
.tag--sky::before { background: #5aa8d8; }
.tag--peach::before { background: #e8a05a; }
.tag--accent {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.tag--accent::before { background: var(--yellow); }

.audience { padding-top: 72px; background: linear-gradient(180deg, #fff 0%, #fafbff 100%); }
.audience-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.audience-slot {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  min-height: 250px; padding: 22px; text-align: left; cursor: pointer;
  border: 1px solid var(--line); border-radius: 28px; background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.audience-slot:hover, .audience-slot.is-active {
  transform: translateY(-4px); box-shadow: 0 18px 40px rgba(63,54,69,.08);
  border-color: rgba(255,154,134,.55); background: var(--yellow-soft);
}
.audience-slot__num { font-size: 11px; font-weight: 800; color: var(--muted); }
.audience-slot strong { font-family: var(--font-display); font-size: 22px; letter-spacing: -.03em; }
.audience-slot > span:last-child { color: var(--muted); font-size: 14px; line-height: 1.45; }
.audience-slot:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.filter-chips, .faq-tabs, .chip-group { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  appearance: none; border: 1px solid var(--line); background: var(--white); color: var(--ink);
  border-radius: 999px; padding: 10px 16px; font-size: 13px; font-weight: 800; cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.chip:hover { transform: translateY(-1px); }
.chip.is-active { background: var(--yellow); border-color: transparent; }
.chip--toggle.is-active { background: var(--coral-soft); border-color: rgba(255,154,134,.5); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag--soft { background: rgba(255,255,255,.7); }
.card-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.card-cta { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 800; }
.card-cta--muted { color: var(--muted); }
.project-card.is-dimmed { opacity: .38; filter: grayscale(.15); transform: none; }
.project-card.is-hot {
  outline: 2px solid rgba(255,154,134,.65); box-shadow: 0 24px 55px rgba(114, 91, 116, .16);
}
.project-card--b2b { box-shadow: inset 0 0 0 1px rgba(63,54,69,.04); }

.nutrition { background: #fbfcff; border-block: 1px solid var(--line); }
.nutrition-offer {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 64px;
}
.nutrition-offer__copy {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 229, 122, .35), transparent 18rem),
    radial-gradient(circle at 90% 20%, rgba(255, 232, 226, .55), transparent 16rem),
    #fff;
  box-shadow: 0 18px 48px rgba(63, 54, 69, .06);
}
.nutrition-offer h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .98;
}
.nutrition-offer h2 mark {
  position: relative;
  isolation: isolate;
  color: inherit;
  background: transparent;
  white-space: nowrap;
}
.nutrition-offer h2 mark::after {
  content: "";
  position: absolute;
  left: -.04em;
  right: -.04em;
  bottom: .08em;
  height: .42em;
  border-radius: 999px;
  background: rgba(255, 229, 122, .72);
  z-index: -1;
  transform: rotate(-1.5deg);
}
.nutrition-offer__lead {
  max-width: 52ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.nutrition-offer__gift {
  position: relative;
  max-width: 52ch;
  margin: 22px 0 0;
  padding: 16px 18px 16px 20px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 229, 122, .55), rgba(255, 232, 226, .7));
  border: 1px solid rgba(63, 54, 69, .08);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}
.nutrition-offer__gift::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: var(--coral);
}
.nutrition-offer__gift-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.nutrition-offer__gift strong {
  display: inline;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -.02em;
  margin-right: .25em;
}
.nutrition-benefits {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.nutrition-benefits li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.78);
}
.nutrition-benefits__num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--yellow);
  border: 1px solid rgba(63,54,69,.12);
  font-size: 12px;
  font-weight: 800;
}
.nutrition-benefits strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -.02em;
}
.nutrition-benefits p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.nutrition-offer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.nutrition-offer__panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: linear-gradient(165deg, var(--peach), #fff 55%);
  box-shadow: 0 18px 48px rgba(63, 54, 69, .06);
}
.nutrition-offer__panel-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nutrition-formats { display: grid; gap: 14px; }
.nutrition-format {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.82);
}
.nutrition-format .badge-medallion {
  width: 76px;
  height: 76px;
}
.nutrition-format .badge-medallion svg { width: 34px; height: 34px; }
.nutrition-format strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -.03em;
}
.nutrition-format p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.nutrition-offer__note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.nutrition-board, .draft-card, .mini-form {
  padding: 32px; border: 1px solid var(--line); border-radius: 32px; background: var(--white);
  box-shadow: 0 16px 40px rgba(63,54,69,.05);
}
.mini-form label > span, .chip-fieldset legend {
  display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800;
}
.chip-fieldset { margin: 0; padding: 0; border: 0; }
.mini-form input, .mini-form select, .form select, .modal input, .modal textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 12px 0; background: transparent; color: var(--ink); outline: none;
}
.mini-form input:focus, .mini-form select:focus,
.form select:focus, .modal input:focus, .modal textarea:focus { border-color: var(--coral); }

.draft-card h3 { margin: 0 0 18px; font-family: var(--font-display); font-size: 32px; letter-spacing: -.04em; }
.status-board { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.status-board li {
  display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start;
  padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: #fafafa;
}
.status-board li span {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--line); font-size: 12px; font-weight: 800;
}
.status-board li strong { display: block; margin-bottom: 2px; }
.status-board li p { margin: 0; color: var(--muted); font-size: 13px; }
.status-board li.is-current { background: var(--yellow-soft); border-color: rgba(255,229,122,.8); }
.status-board li.is-done { background: var(--mint); }
.status-board--compact { margin-top: 12px; }
.draft-preview {
  padding: 16px 18px; border-radius: 18px; background: var(--lilac); font-size: 14px; line-height: 1.6;
}
.draft-preview p { margin: 0 0 6px; }

.feed-steps__title {
  margin: 0 0 28px; font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 42px); letter-spacing: -.04em;
}
.timeline {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.timeline li {
  padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); min-height: 210px;
}
.timeline strong { display: block; margin: 16px 0 8px; font-family: var(--font-display); font-size: 18px; letter-spacing: -.02em; }
.timeline p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.career__card { grid-template-columns: 1.05fr .95fr; }
.role-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.role-list li {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.role-list span { color: #db7665; font-size: 12px; font-weight: 800; }
.mini-form { position: relative; z-index: 1; display: grid; gap: 14px; }
.mini-form__title { margin: 0 0 4px; font-family: var(--font-display); font-size: 24px; letter-spacing: -.03em; }

.faq { background: #fff; }
.accordion { display: grid; gap: 12px; }
.accordion details {
  border: 1px solid var(--line); border-radius: 20px; padding: 4px 18px; background: #fafbff;
}
.accordion summary {
  cursor: pointer; padding: 16px 0; font-family: var(--font-display); font-size: 20px; letter-spacing: -.02em; list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion details p { margin: 0 0 16px; color: var(--muted); max-width: 70ch; }

.form__full { grid-column: 1 / -1; }
.lead-status {
  grid-column: 1 / -1; margin-top: 8px; padding: 18px; border-radius: 20px;
  background: var(--mint); border: 1px solid var(--line);
}
.lead-status__title { margin: 0; font-family: var(--font-display); font-size: 22px; }

.modal {
  border: 0; padding: 0; border-radius: 28px; max-width: min(560px, calc(100vw - 32px));
  box-shadow: 0 30px 80px rgba(63,54,69,.22);
}
.modal::backdrop { background: rgba(63,54,69,.45); }
.modal__card { padding: 28px; display: grid; gap: 16px; }
.modal__card h2 { margin: 0; font-family: var(--font-display); font-size: 28px; letter-spacing: -.03em; }
.modal__lead { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.wizard-steps { display: grid; gap: 14px; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.modal textarea { min-height: 80px; resize: vertical; }

@media (max-width: 1100px) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .nutrition-offer { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .form-row-2 { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .audience-grid { grid-template-columns: 1fr; }
  .career__card { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
