@font-face {
  font-family: Manrope;
  src: url("./manrope-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Manrope;
  src: url("./manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --ink: #171322;
  --ink-soft: #211a2c;
  --paper: #f7f4ee;
  --white: #fffdf8;
  --muted: #5b5362;
  --line: #d8d0da;
  --pink: #ffb5e4;
  --pink-hot: #680549;
  --lilac: #eae2fa;
  color: var(--ink);
  background: var(--paper);
  font: 500 100%/1.6 Manrope, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
h1, h2, h3, p { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid #a04594; outline-offset: 4px; }
.wrap { width: min(calc(100% - 5rem), 82rem); margin-inline: auto; }
.skip { position: fixed; z-index: 11; top: 1rem; left: 1rem; padding: .8rem; background: var(--white); transform: translateY(-180%); }
.skip:focus { transform: none; }

.header { color: var(--white); background: var(--ink); border-bottom: 1px solid #3c3447; }
.header-inner { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { flex: 0 0 auto; width: 7.15rem; display: block; }
.logo img { width: 100%; }
.header nav, .footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 3vw, 3rem); }
.header nav a, .footer nav a { text-decoration: none; font-weight: 700; }
.header nav a:hover, .header nav [aria-current] { color: var(--pink); }
.button {
  border: 1px solid transparent;
  min-height: 3.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  padding: .7rem 1.4rem;
  border-radius: .55rem;
  text-align: center;
  text-decoration: none;
  font-size: .93rem;
  font-weight: 800;
  line-height: 1.3;
  transition: background-color 180ms, color 180ms, border-color 180ms;
}
.primary { background: var(--pink); color: #34112c; }
.primary:hover { background: #ffd0ec; }
.header .header-cta { align-self: center; }
.outline { color: inherit; border-color: currentColor; background: transparent; }
.outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hero .outline:hover, .services-band .outline:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.quiet { background: #eee8ed; color: var(--ink); }
.quiet:hover { background: #e4d9e4; }
.menu-button { background: transparent; border: 1px solid #756982; color: var(--white); border-radius: .4rem; min-height: 2.6rem; padding: .35rem .7rem; }

.hero { color: var(--white); background: var(--ink); padding: clamp(2rem, 5vw, 5rem) 0; }
.hero-grid { min-height: min(43vw, 37rem); display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: clamp(2rem, 4.5vw, 5rem); }
.hero-copy { padding-block: 1rem; }
.eyebrow { margin-bottom: 1rem; font-size: .82rem; line-height: 1.45; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--pink-hot); }
.hero .eyebrow, .services-band .eyebrow { color: var(--pink); }
h1 { font-size: clamp(2.6rem, 6.5vw, 6.3rem); line-height: 1.01; letter-spacing: -.075em; font-weight: 800; overflow-wrap: anywhere; }
.hero h1 { font-size: clamp(2.7rem, 6.1vw, 6.35rem); }
.hero-description { margin-top: 1.65rem; max-width: 32rem; font-size: clamp(1.02rem, 1.8vw, 1.32rem); color: #ded5e6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.hero-visual {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 1.2rem;
  min-height: clamp(19rem, 37vw, 35.5rem);
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(90deg, #c398e51b 0 1px, transparent 1px 12.5%),
    repeating-linear-gradient(0deg, #c398e51b 0 1px, transparent 1px 12.5%),
    radial-gradient(ellipse at 52% 57%, #654379, #332046 57%, #281e38 83%);
  border: 1px solid #583e6d;
}
.hero-visual img { width: 75%; max-height: 31rem; object-fit: contain; transform: rotate(-10deg); clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%, 0 9%, 6% 9%); }

.section { padding-block: clamp(3.2rem, 8vw, 7.75rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.3rem 3rem; margin-bottom: clamp(1.6rem, 3.5vw, 3.2rem); }
.section-heading > .button { align-self: end; flex: 0 0 auto; }
.section-heading p { max-width: 28rem; }
.section-heading h2 + p, .contact-teaser h2 + p { margin-top: .9rem; }
h2 { font-size: clamp(2.1rem, 4.2vw, 4.3rem); font-weight: 800; line-height: 1.07; letter-spacing: -.065em; overflow-wrap: anywhere; }
h3 { font-size: clamp(1.2rem, 2.05vw, 1.8rem); font-weight: 800; line-height: 1.2; letter-spacing: -.035em; overflow-wrap: anywhere; }
.portfolio-home { background: var(--paper); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4.3vw, 3.5rem) clamp(1rem, 2vw, 2rem); }
.project-card { display: block; min-width: 0; text-decoration: none; }
.project-image { position: relative; overflow: hidden; border-radius: .9rem; background: #2b1d36; aspect-ratio: 1.45; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 320ms ease; }
.project-card:hover .project-image img { transform: scale(1.045); }
.project-card:hover h3 { color: var(--pink-hot); }
.project-label { position: absolute; bottom: .9rem; left: .9rem; border-radius: .35rem; background: var(--paper); padding: .3rem .6rem; font-size: .79rem; font-weight: 800; }
.project-meta { padding-top: .85rem; }
.project-meta > span { display: block; color: var(--muted); font-size: .87rem; margin-bottom: .2rem; }
.services-band { background: var(--ink-soft); color: var(--white); }
.service-list { border-top: 1px solid #655770; }
.service-row { display: grid; grid-template-columns: 1fr .72fr; align-items: center; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid #655770; text-decoration: none; }
.service-row > span { justify-self: end; text-align: end; color: #dcd1e2; }
.service-row p { margin-top: .5rem; max-width: 38rem; color: #dcd1e2; }
.service-row:hover h3 { color: var(--pink); }
.about { background: var(--lilac); }
.about .section-heading > p { max-width: 26rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { border-top: 1px solid #9e8cb4; padding-top: 1.25rem; }
.steps li::before { counter-increment: step; content: counter(step) "."; display: block; margin-bottom: 1.3rem; color: var(--pink-hot); font-weight: 800; }
.steps p { margin-top: .5rem; color: #51425c; }
.contact-teaser { background: #f2d9ed; }
.contact-teaser .section-heading { margin-bottom: 0; }

.intro { padding: clamp(3.2rem, 9vw, 8rem) 0 clamp(2.3rem, 5vw, 4rem); }
.intro h1 { max-width: 65rem; }
.intro-copy { margin-top: 1.2rem; font-size: clamp(1.02rem, 2vw, 1.28rem); max-width: 43rem; color: var(--muted); }
.case-catalog { padding-top: .5rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.65rem; }
.filters button { padding: .47rem .95rem; border: 1px solid #9d8ca3; border-radius: .4rem; background: transparent; font-weight: 700; min-height: 2.65rem; }
.filters button:hover { border-color: var(--ink); }
.filters [aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.back { display: inline-block; margin-bottom: 1.25rem; font-weight: 750; }
.deliverables { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.deliverables li { border: 1px solid #9d8ca3; padding: .25rem .65rem; border-radius: .35rem; }
.case-cover { overflow: hidden; border-radius: .8rem; background: #33213c; }
.case-cover img { width: 100%; max-height: 44rem; object-fit: contain; }
.case-story { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 4rem; }
.case-story p { margin-top: .85rem; }
.case-gallery { padding-top: 0; }
.case-gallery h2, .benefits h2 { margin-bottom: 1.65rem; }
.case-gallery img { border-radius: .65rem; width: 100%; max-height: 30rem; object-fit: contain; background: var(--lilac); }
.benefits { background: var(--lilac); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 2rem; }
.benefit-grid article { border-top: 1px solid #9e8cb4; padding-top: 1rem; }
.benefit-grid p { margin-top: .5rem; }
.faq { margin-top: 2rem; border-top: 1px solid #afa1b6; }
.faq details { padding: .9rem 0; border-bottom: 1px solid #afa1b6; }
.faq summary { font-size: 1.15rem; font-weight: 800; cursor: pointer; }
.faq p { margin: .6rem 1.2rem; }

.contact { background: var(--lilac); }
.contact-grid { display: grid; grid-template-columns: 1fr .92fr; align-items: start; gap: clamp(1.5rem, 5vw, 5rem); }
.contact address { margin-top: 2rem; display: grid; gap: .15rem; justify-items: start; font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 700; overflow-wrap: anywhere; }
.contact-box { scroll-margin: 1rem; padding: clamp(1.2rem, 3.6vw, 3rem); border: 1px solid #d5c8e2; border-radius: .85rem; background: var(--white); }
.contact-box h2 { font-size: clamp(1.55rem, 2.8vw, 2.65rem); letter-spacing: -.045em; }
.contact-box p { margin: .9rem 0; }
.contact-box form { display: grid; gap: .9rem; margin-top: 1.35rem; }
.contact-box label { display: block; font-weight: 750; line-height: 1.4; }
.contact-box input:not([type="checkbox"]), .contact-box select, .contact-box textarea { display: block; margin-top: .3rem; width: 100%; padding: .62rem .8rem; min-height: 2.8rem; border: 1px solid #a799b0; border-radius: .4rem; background: #fff; color: var(--ink); }
.contact-box select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, #51425c 50%), linear-gradient(135deg, #51425c 50%, transparent 50%); background-position: calc(100% - 1rem) 51%, calc(100% - .7rem) 51%; background-size: .32rem .32rem; background-repeat: no-repeat; }
.contact-box input[type="file"] { font-size: .9rem; }
.contact-box .optional, .contact-box small { color: var(--muted); font-weight: 500; font-size: .84rem; }
.contact-box .trap { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; align-items: flex-start; gap: .65rem; font-size: .93rem; }
.consent input { flex: none; width: 1.1rem; height: 1.1rem; margin: .15rem 0 0; accent-color: var(--pink-hot); }
.consent label { display: inline; font-weight: 550; }
.form-error { background: #fbe0e4; border-radius: .4rem; padding: .7rem; color: #7a173d; }
.request-popup {
  width: min(calc(100% - 1.5rem), 34rem);
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: .85rem;
  box-shadow: 0 1rem 4rem #17132255;
}
.request-popup::backdrop { background: #171322a6; }
body:has(.request-popup[open]) { overflow: hidden; }
.request-popup-content { position: relative; padding: clamp(1.15rem, 5vw, 2.2rem); }
.request-popup-content h2 { padding-right: 2.15rem; }
.request-popup-content > p { color: var(--muted); margin-bottom: 0; }
.request-popup-content form { margin-top: 1.15rem; }
.request-popup-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid #b5a6bd;
  border-radius: .45rem;
  background: var(--white);
  font-size: 1.65rem;
  line-height: 1;
}
.request-popup-close:hover { background: var(--lilac); }
.legal { max-width: 55rem; }
.legal h1 { font-size: clamp(2.25rem, 6vw, 4.7rem); }
.legal h2 { font-size: 1.5rem; letter-spacing: -.035em; margin-top: 1.8rem; }
.legal p { margin-top: .8rem; }
.legal-note { margin-top: 1.55rem; padding: 1rem 1.2rem; border-left: .2rem solid #ab67a3; background: var(--lilac); }
.legal-note p:first-child { margin-top: 0; }
.error-link { padding-bottom: 4rem; }

.footer { background: var(--ink); color: var(--white); padding: 2.4rem 0 1.5rem; }
.footer-main, .footer-legal { display: flex; align-items: center; justify-content: space-between; gap: .85rem 1.5rem; flex-wrap: wrap; }
.footer-main { padding-bottom: 1.7rem; }
.footer-email { color: #ded5e6; overflow-wrap: anywhere; }
.footer-legal { padding-top: 1.25rem; border-top: 1px solid #55485d; color: #ded5e6; font-size: .85rem; }
.text-button { appearance: none; border: 0; background: none; padding: 0; text-decoration: underline; text-underline-offset: .2em; }
.footer a:hover, .text-button:hover { color: var(--pink); }
.cookie-panel { position: fixed; inset: auto 1.3rem 1.3rem auto; z-index: 8; width: min(calc(100% - 2.6rem), 28rem); padding: 1.25rem; border: 1px solid #c5b7c9; border-radius: .75rem; background: var(--white); box-shadow: 0 .35rem 2.5rem #17132240; }
.cookie-panel h2 { font-size: 1.4rem; letter-spacing: -.03em; }
.cookie-panel p { margin-block: .65rem; }
.cookie-panel a { font-size: .9rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .85rem; }
.cookie-actions .button { font-size: .84rem; padding-inline: .7rem; min-height: 2.7rem; }

@media (max-width: 63rem) {
  .wrap { width: min(calc(100% - 3rem), 82rem); }
  .header-inner { gap: 1rem; }
  .header nav { gap: 1.05rem; }
  .header-cta { padding-inline: .7rem; }
}
@media (max-width: 47.5rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.4rem; flex-wrap: wrap; padding-block: .7rem; }
  .header-cta { display: none; }
  .header nav { width: 100%; order: 2; padding-bottom: .2rem; }
  .header .logo { width: 6.25rem; }
  .hero { padding-top: 2.2rem; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-block: 0; }
  .hero h1 { font-size: clamp(2.65rem, 9.4vw, 4.8rem); }
  .hero-visual { width: 100%; min-height: auto; aspect-ratio: 1.18; }
  .hero-visual img { width: 67%; max-height: 33rem; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading > .button { align-self: start; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .case-story, .benefit-grid { grid-template-columns: 1fr; }
  .footer-main { align-items: start; flex-direction: column; }
  .footer-legal { justify-content: flex-start; }
}
@media (max-width: 32rem) {
  .project-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: .35rem; padding-block: 1.1rem; }
  .service-row > span { justify-self: start; text-align: start; }
  .cookie-panel { inset: auto .55rem .55rem; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
