/* hex360.co.uk. A like-for-like remake of the Advansys build: Helvetica
   Neue Light for everything, Roboto Condensed for labels, numbers and
   buttons, the eight-colour dashed rule, pill buttons, 10px radii, and the
   dark #16171a. One stylesheet, no framework. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Helvetica Neue", "HelveticaNeue-Light", Helvetica, Arial, "Liberation Sans", sans-serif;
  font-weight: 300; font-size: 18px; line-height: 1.45; color: #24282b; background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p a, .prose a, .contact a, .login a { text-decoration: underline; text-underline-offset: 2px; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 300; line-height: 1.1; }
p + p { margin-top: 1em; }
:focus-visible { outline: 2px solid #5ead68; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #16171a; color: #fff; padding: .5rem 1rem; z-index: 200; }
.skip:focus { left: 1rem; top: 1rem; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

:root {
  --dark: #16171a; --dark2: #1d1e22; --ink: #24282b; --grey: #e6e6e6; --line: #bdbebf;
  --c1: #5ead68; --c2: #8fc34f; --c3: #d4b442; --c4: #dc724b; --c5: #e8208c; --c6: #7c4293; --c7: #2a3e8c; --c8: #398ec7;
  --cond: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --w: 1320px; --pad: clamp(15px, 3vw, 40px);
  --dashline: repeating-linear-gradient(to right, #58a85f 0, #58a85f 13px, transparent 13px, transparent 23px, #7dbd38 23px, #7dbd38 36px, transparent 36px, transparent 46px, #ddbd40 46px, #ddbd40 59px, transparent 59px, transparent 69px, #d45d37 69px, #d45d37 82px, transparent 82px, transparent 92px, #e30079 92px, #e30079 105px, transparent 105px, transparent 115px, #692a83 115px, #692a83 128px, transparent 128px, transparent 138px, #1f297b 138px, #1f297b 151px, transparent 151px, transparent 161px, #2a79bd 161px, #2a79bd 174px);
}
.container { width: min(var(--w), 100% - 2 * var(--pad)); margin-inline: auto; }
.narrow { max-width: 900px; }
.centre { text-align: center; }

/* Type */
.title { font-size: clamp(36px, 2.2rem + 2vw, 60px); line-height: 1; font-weight: 300; }
.label { font-family: var(--cond); font-weight: 500; font-size: 16px; line-height: 1; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.dash { display: block; width: 174px; height: 2px; background-image: var(--dashline); margin-top: 20px; }
.centre .dash { margin-inline: auto; }
.label--light { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--cond); font-size: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
  color: var(--dark); background: transparent; border: 2px solid #000; border-radius: 50px; padding: 17px 33px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s; white-space: nowrap;
}
.btn:hover { background: #000; color: #fff; }
.btn--white { color: #fff; border-color: #fff; }
.btn--white:hover { background: #fff; color: var(--dark); }
.btn--dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn--dark:hover { background: #000; }
.btn--small { padding: 12px 24px; font-size: 14px; }
.btn img { height: 22px; width: auto; }
.more { display: inline-flex; align-items: center; gap: 12px; font-family: var(--cond); font-weight: 700; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; color: #181818; margin-top: 18px; }

/* Hexagons */
.hex { --hs: 84px; display: inline-grid; place-items: center; width: var(--hs); height: calc(var(--hs) * 1.155); background: var(--c, #000); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); flex: none; }
.hex__in { display: grid; place-items: center; width: calc(100% - 10px); height: calc(100% - 10px); background: #fff; color: var(--ink); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); font-family: var(--cond); font-weight: 700; font-size: 24px; transition: background .3s, color .3s; }
.hex--small { --hs: 41px; }
.hex--small .hex__in { width: calc(100% - 4px); height: calc(100% - 4px); font-size: 18px; }
.hexo { position: relative; display: inline-grid; place-items: center; width: 44px; height: 50px; color: #fff; flex: none; }
.hexo__shape { position: absolute; inset: 0; width: 100%; height: 100%; }
.hexo > svg:not(.hexo__shape) { width: 15px; fill: currentColor; position: relative; }
.hexo--dark { color: #181818; }
.hex--white { --hs: 60px; background: #fff; }
.hex--white .hex__in { width: calc(100% - 8px); height: calc(100% - 8px); background: var(--dark); color: #fff; font-size: 22px; }

/* Header */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: #fff; transition: background .3s; }
.nav__bar { position: relative; display: flex; justify-content: flex-end; align-items: center; height: 140px; padding: 0 22px; transition: height .3s; }
.burger { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: none; border: 0; cursor: pointer; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; height: 2px; background: #fff; width: 33px; transition: width .2s; }
.burger span:nth-child(2) { width: 24px; }
.burger:hover span { width: 33px; }
.nav__brand { position: absolute; left: 50%; top: 30px; transform: translateX(-50%); width: 159px; transition: top .3s, width .3s; }
.nav__logo { width: 100%; transition: opacity .3s; }
.nav__logo--small { display: none; }
.nav__links { display: flex; gap: 28px; align-items: center; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; line-height: 1; color: #fff; }
.nav__link svg { width: 18px; fill: #fff; }
.nav__link--login { font-family: var(--cond); font-weight: 500; }
.nav__link--phone svg { width: 16px; }
/* The number as text needs room beside the centred logo; narrower screens get the icon alone. */
@media (max-width: 1199px) { .nav__link--phone span { display: none; } }
.nav.is-scrolled { background: var(--dark); }
.nav.is-scrolled .nav__bar { height: 84px; }
.nav.is-scrolled .nav__brand { top: 50%; transform: translate(-50%, -50%); width: 172px; }
.nav.is-scrolled .nav__logo--big { display: none; }
.nav.is-scrolled .nav__logo--small { display: block; }
@media (max-width: 991px) {
  .nav__bar { height: 110px; padding: 0 12px; }
  .burger { left: 12px; }
  .nav__brand { top: 21px; width: 128px; }
  .nav__link span { display: none; }
  .nav__link--mail { display: none; }
  .nav__link svg { width: 22px; }
  .nav.is-scrolled .nav__bar { height: 60px; }
  .nav.is-scrolled .nav__brand { width: 130px; }
}

/* Slide-out menu */
.menu { position: fixed; top: 0; left: 0; bottom: 0; width: 380px; max-width: 100%; background: var(--dark); color: #fff; z-index: 120; display: flex; flex-direction: column; justify-content: center; transform: translateX(-100%); transition: transform .3s; }
.menu[hidden] { display: flex; visibility: hidden; }
.menu.is-open { transform: none; visibility: visible; }
.menu__close { position: absolute; top: 55px; right: 25px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.menu__close span { position: absolute; left: 10px; top: 21px; width: 24px; height: 2px; background: #fff; transform: rotate(45deg); }
.menu__close span:last-child { transform: rotate(-45deg); }
.menu__links { display: flex; flex-direction: column; padding: 0 60px; }
.menu__link { font-size: 28px; line-height: 72px; color: #fff; }
.menu__link.is-current { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.menu__contacts { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-bottom: 35px; font-size: 18px; }
.menu__login { display: inline-flex; align-items: center; gap: 8px; font-family: var(--cond); font-weight: 500; margin-bottom: 15px; }
.menu__login svg { width: 18px; fill: #fff; }
.menu__backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 110; }
.menu__backdrop[hidden] { display: none; }
body.menu-open { overflow: hidden; }

/* Hero */
.hero { position: relative; height: 100vh; min-height: 560px; background: var(--dark); color: #fff; overflow: hidden; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1s; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.4)); }
.hero__caption { position: absolute; left: 15px; right: 15px; bottom: 0; text-align: center; padding-bottom: 50px; z-index: 2; }
.hero__title { font-size: clamp(44px, 2rem + 5vw, 100px); line-height: .88; font-weight: 300; margin-bottom: 40px; }
.hero__sub { font-size: clamp(16px, 1rem + .4vw, 20px); font-weight: 400; line-height: 1.35; max-width: 640px; margin: 0 auto 32px; color: rgba(255,255,255,.92); }
.hero__caption .btn { margin-bottom: 40px; }
.hero__down { display: block; width: 22px; margin: 0 auto; }
.hero__down svg { fill: #fff; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 60px; height: 60px; background: none; border: 0; cursor: pointer; opacity: .3; transition: opacity .3s; }
.hero__arrow:hover { opacity: .8; }
.hero__arrow svg { width: 22px; fill: #fff; margin: 0 auto; }
.hero__arrow--prev { left: 25px; }
.hero__arrow--next { right: 25px; }
.hero__dots { position: absolute; left: 50%; bottom: 15px; transform: translateX(-50%); display: flex; gap: 4px; z-index: 3; }
.hero__dots button { width: 18px; height: 18px; border: 0; background: none; cursor: pointer; position: relative; }
.hero__dots button::before { content: ""; position: absolute; left: 5px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: .2; transition: opacity .3s; }
.hero__dots button:hover::before { opacity: .6; }
.hero__dots button[aria-selected="true"]::before { opacity: .8; }
@media (max-width: 767px) { .hero__title { line-height: 1; margin-bottom: 20px; } .hero__sub { font-size: 15px; margin-bottom: 22px; } .hero__arrow { display: none; } .hero__caption { padding-bottom: 40px; } }

/* Inner banner */
.banner { position: relative; min-height: 505px; background-size: cover; background-position: center; color: #fff; text-align: center; display: flex; align-items: flex-end; }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.45)); }
.banner .container { position: relative; padding: 180px 0 55px; }
.banner__title { font-size: clamp(44px, 2rem + 5vw, 100px); line-height: 1; font-weight: 300; }
.banner__text { max-width: 780px; margin: 22px auto 0; font-size: 20px; line-height: 1.5; }
.crumb { display: flex; justify-content: center; align-items: center; gap: 10px; font-family: var(--cond); font-weight: 500; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 25px; }
.crumb svg { width: 18px; fill: #fff; }

/* Sections */
section.services { padding: 60px 0 35px; }
.services .title { margin-bottom: 25px; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.services__msg { display: flex; align-items: center; min-height: 320px; font-size: 24px; line-height: 30px; border: 2px dashed var(--line); border-radius: 10px; padding: 30px 80px; }
.service { position: relative; height: 320px; border-radius: 10px; overflow: hidden; isolation: isolate; background: var(--dark); }
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.service::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,.3)); transition: background .3s; }
.service__content { position: relative; color: #fff; padding: 0 40px 40px; }
.service__title { position: relative; font-size: 36px; line-height: 1; font-weight: 400; margin: 35px 0 10px; transition: margin .3s; }
.service__title::before { content: ""; position: absolute; top: -20px; left: 0; width: 174px; height: 2px; background-image: var(--dashline); opacity: 0; transition: opacity .3s; }
.service__text { font-size: 18px; line-height: 24px; font-weight: 400; opacity: 0; transition: opacity .3s; max-height: 200px; overflow: hidden; }
.service__icon { position: absolute; right: 28px; bottom: 23px; transition: opacity .3s; }
.service:hover::before, .service.is-open::before { background: rgba(0,0,0,.8); }
.service:hover .service__title, .service.is-open .service__title { margin-top: 45px; }
.service:hover .service__title::before, .service:hover .service__text, .service.is-open .service__title::before, .service.is-open .service__text { opacity: 1; }
.service:hover .service__icon, .service.is-open .service__icon { opacity: 0; }
/* The two green corner blocks behind cards three and four, drawn on the
   grid so the cards' overflow clipping can't swallow them. */
.services__grid::before, .services__grid::after { content: ""; position: absolute; width: 185px; height: 185px; background: var(--c2); border-radius: 10px; z-index: 0; }
.services__grid::before { top: -13px; right: -3px; }
.services__grid::after { top: calc(320px + 24px - 13px); left: -3px; }
.services__grid > * { position: relative; z-index: 1; }
@media (max-width: 991px) { .services__grid { grid-template-columns: 1fr 1fr; } .services__grid::before, .services__grid::after { display: none; } .services__msg { padding: 30px 50px; } .service__content { padding: 0 25px 25px; } }
@media (max-width: 575px) { .services__grid { grid-template-columns: 1fr; } .services__msg { min-height: 0; padding: 30px; } }

/* CTA */
.cta { position: relative; background-size: cover; background-position: center; color: #fff; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.75); }
.cta .container { position: relative; min-height: 680px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 60px 0; }
.cta__title { font-size: clamp(44px, 2rem + 5vw, 100px); line-height: 1; margin-bottom: 15px; }
.cta__text { max-width: 1100px; font-size: clamp(18px, 1rem + 1vw, 30px); line-height: 1.35; margin-bottom: 30px; }
@media (max-width: 991px) { .cta .container { min-height: 500px; } }

/* What makes us different */
.diff { padding: 115px 0 55px; }
.diff__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: start; }
.diff__title { position: relative; padding-left: 0; }
.diff__title::before { content: ""; position: absolute; left: calc(-1 * var(--pad)); top: 0; height: 100%; max-height: 220px; width: 17px; border-radius: 0 10px 10px 0; background: var(--c4); }
.diff__list { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; padding-top: 10px; }
.diff__item { display: flex; gap: 20px; align-items: flex-start; font-size: 22px; line-height: 1.2; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
.diff__item.is-in { opacity: 1; transform: none; }
.diff__item .hex { margin-top: -4px; }
@media (max-width: 991px) { .diff { padding: 70px 0 40px; } .diff__grid { grid-template-columns: 1fr; gap: 30px; } .diff__list { grid-template-columns: 1fr; gap: 24px; } .diff__item { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .diff__item { opacity: 1; transform: none; } }

/* Portfolio cards */
.portfolio { padding: 70px 0 60px; position: relative; }
.portfolio .title { margin-bottom: 40px; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; position: relative; }
.cases::before, .cases::after { content: ""; position: absolute; width: 185px; height: 185px; border-radius: 10px; z-index: 0; }
.cases::before { top: -13px; right: -13px; background: var(--c5); }
.cases::after { bottom: -13px; left: -13px; background: var(--c6); }
.case { position: relative; display: block; height: 524px; border-radius: 10px; overflow: hidden; color: #fff; isolation: isolate; z-index: 1; background: var(--dark); }
.case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.case::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.1), rgba(0,0,0,.6)); z-index: -1; }
.case__bg { position: absolute; inset: 0; background: rgba(0,0,0,.8); opacity: 0; transition: opacity .3s; z-index: -1; }
.case__content { position: absolute; left: 0; right: 0; top: 0; padding: 32px 30px; opacity: 0; transform: translateY(-10px); transition: opacity .3s, transform .3s; }
.case__title { font-size: 30px; line-height: 1.05; margin-bottom: 14px; }
.case__text { font-size: 16px; line-height: 1.4; }
.case__bottom { position: absolute; left: 30px; bottom: 32px; right: 90px; font-size: 30px; line-height: 1.05; transition: opacity .3s; }
.case__link { position: absolute; right: 28px; bottom: 28px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.case__link > span:first-child { opacity: 0; transition: opacity .3s; }
.case:hover img { transform: scale(1.04); }
.case:hover .case__bg, .case:hover .case__content, .case:hover .case__link > span:first-child { opacity: 1; }
.case:hover .case__content { transform: none; }
.case:hover .case__bottom { opacity: 0; }
.portfolio--others { background: #fff; }
@media (max-width: 991px) { .cases { grid-template-columns: 1fr 1fr; } .case { height: 420px; } }
@media (max-width: 575px) { .cases { grid-template-columns: 1fr; } .case { height: 360px; } .cases::before, .cases::after { display: none; } }

/* Client zone */
.client { padding: 40px 0 60px; }
.client__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; }
.client .title { margin-bottom: 20px; }
.client p { margin-bottom: 25px; }
@media (max-width: 991px) { .client__grid { grid-template-columns: 1fr; } }

/* Video */
.video { text-align: center; padding: 70px 0 60px; }
.video .label .dash { margin-inline: auto; }
.video .title { margin-bottom: 25px; }
.video__clip { position: relative; height: 740px; margin-bottom: 45px; }
.video__clip::after { content: ""; position: absolute; left: 50%; bottom: -13px; width: calc(50% + 14px); height: 385px; background: var(--c7); border-radius: 10px; z-index: -1; }
.video__poster { position: absolute; inset: 0; width: 100%; border: 0; border-radius: 10px; background: #dadada center / cover no-repeat; cursor: pointer; }
.video__clip iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.play { position: absolute; left: 25%; top: 50%; transform: translate(-50%, -50%); width: 115px; height: 115px; border-radius: 50%; background: var(--dark); display: grid; place-items: center; }
.play::after { content: ""; border-left: 34px solid #fff; border-top: 20px solid transparent; border-bottom: 20px solid transparent; margin-left: 8px; }
.play__ring { position: absolute; inset: -28px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.7); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.video__desc { position: absolute; right: 0; bottom: 0; width: 50%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #fff; background: var(--dark); border-radius: 0 10px 10px 0; padding: 40px; pointer-events: none; }
.video__quote { font-size: clamp(28px, 1.2rem + 2vw, 55px); line-height: 1.1; margin-bottom: 35px; max-width: 520px; }
.video__quote::before { content: ""; display: block; width: 174px; height: 2px; background-image: var(--dashline); margin: 0 auto 30px; }
.video__author { font-family: var(--cond); font-weight: 500; font-size: 18px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.video__source { font-family: var(--cond); font-size: 18px; }
@media (max-width: 991px) { .video__clip { height: 600px; } .video__desc { width: 100%; height: 50%; border-radius: 0 0 10px 10px; } .play { left: 50%; top: 25%; } .video__quote::before { display: none; } }
@media (max-width: 575px) { .video__clip { height: 500px; } .play { width: 80px; height: 80px; } .play::after { border-left-width: 24px; border-top-width: 14px; border-bottom-width: 14px; } .video__quote { font-size: 24px; } }

/* Partners */
.logos { border-top: 2px dashed var(--line); padding: 43px 0; }
.logos__wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 25px 40px; }
.logos__title { font-size: 36px; line-height: 1; }
.logos img { max-height: 76px; width: auto; }

/* Introduction */
.intro { padding: 100px 0 60px; position: relative; }
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.intro__title { position: relative; font-size: clamp(30px, 1.5rem + 1.5vw, 44px); line-height: 1.1; font-weight: 300; }
.intro__title::before { content: ""; position: absolute; left: calc(-1 * var(--pad)); top: 0; height: 220px; width: 17px; border-radius: 0 10px 10px 0; background: var(--c1); }
.intro__text { font-size: 24px; line-height: 32px; }
@media (max-width: 991px) { .intro { padding: 60px 0 40px; } .intro__grid { grid-template-columns: 1fr; gap: 25px; } .intro__text { font-size: 20px; line-height: 28px; } }
@media (min-width: 1400px) { .intro__title::before, .diff__title::before { left: calc((100vw - var(--w)) / -2); width: 17px; } }

/* Instagram strip */
.insta { padding: 60px 0 70px; border-top: 2px dashed var(--line); }
.insta[hidden] { display: none; }
.insta .title { margin-bottom: 35px; }
.insta__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px; }
.insta__post { position: relative; display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--dark); }
.insta__post img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.insta__post:hover img { transform: scale(1.05); }
.insta__post::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .3s; }
.insta__post:hover::after { background: rgba(0,0,0,.25); }
.insta__video { position: absolute; top: 12px; right: 12px; width: 0; height: 0; border-left: 16px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); z-index: 1; }
.insta .btn svg { width: 18px; fill: currentColor; }
@media (max-width: 767px) { .insta__grid { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* Story blocks (about, process) */
.story { padding: 25px 0; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.story--flip .story__media { order: 2; }
.story__media img { width: 100%; border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; }
.story__title { font-size: clamp(26px, 1.2rem + 1.4vw, 36px); line-height: 1.15; margin-bottom: 18px; }
.story__text p { font-size: 18px; line-height: 1.5; }
.story:first-of-type { padding-top: 70px; }
@media (max-width: 767px) { .story__grid { grid-template-columns: 1fr; gap: 25px; } .story--flip .story__media { order: 0; } }
.prose-block { padding: 40px 0; }
.prose-block p { font-size: 18px; line-height: 1.5; }
.prose h2 { font-size: 30px; margin: 30px 0 12px; }

/* Case study entry */
.entry { padding: 70px 0 40px; }
.entry__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 50px; align-items: start; }
.entry__media { display: flex; flex-direction: column; gap: 24px; }
.entry__media a { display: block; border-radius: 10px; overflow: hidden; }
.entry__media img { width: 100%; }
.entry__text { position: sticky; top: 110px; font-size: 18px; line-height: 1.5; }
@media (max-width: 767px) { .entry__grid { grid-template-columns: 1fr; } .entry__text { position: static; order: -1; } }

.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 2rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 100%; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Testimonials grid */
.tgrid { padding: 70px 0 40px; }
.tgrid__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 24px; }
.tcard__clip { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; }
.tcard__clip .play { left: 50%; width: 90px; height: 90px; }
.tcard__clip .play::after { border-left-width: 26px; border-top-width: 15px; border-bottom-width: 15px; }
.tcard__clip iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tcard__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-top: 14px; }
.tcard__name { font-size: 30px; }
.tcard__co { font-family: var(--cond); font-size: 14px; text-align: right; color: #6e6e73; }
.tcard__quote { margin-top: 14px; font-size: 18px; line-height: 1.5; color: #4b5156; border-left: 3px solid var(--c1); padding-left: 16px; }
@media (max-width: 767px) { .tgrid__grid { grid-template-columns: 1fr; } }

/* Contact and login pages */
.contact { padding: 60px 0 0; font-size: 20px; }
.contact__big { font-size: 22px; margin-top: 25px; }
.contact__big a { text-decoration: none; font-weight: 400; }
.contact__formwrap { background: var(--grey); padding: 70px 0 85px; margin-top: 50px; }
.login { padding: 60px 0 80px; font-size: 20px; }
.login .btn { margin: 10px 0; }
.login__help { font-size: 18px; color: #4b5156; }

/* Social circles */
.social { display: flex; gap: 6px; }
.social--centre { justify-content: center; margin-top: 25px; }
.social a { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--ink); transition: filter .2s; }
.social a:hover { filter: brightness(1.15); }
.social svg { width: 22px; fill: #fff; }
.social__fb { background: #237bef !important; }
.social__ig { background: linear-gradient(35deg, #f9ac0b 15%, #ef403d, #ad2b9d 90%) !important; }
.social__li { background: #1769c0 !important; }

/* Footer */
.footer { background: var(--grey); color: var(--ink); padding: 85px 0 60px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.footer__grid--noform { grid-template-columns: 1fr; }
.footer .title { margin-bottom: 15px; }
.footer__lead { font-size: 24px; line-height: 30px; margin-bottom: 40px; }
.footer__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; align-content: start; margin-top: 30px; }
.fcard { text-align: center; }
.fcard > svg { width: 53px; height: auto; fill: var(--c8); margin: 0 auto 20px; }
.fcard h3 { font-size: 36px; line-height: 1; margin-bottom: 15px; }
.fcard p { font-size: 20px; line-height: 26px; margin-bottom: 10px; }
.fcard__link { font-size: 24px; line-height: 1; font-weight: 500; }
.fcard .social { justify-content: center; margin-top: 10px; }
.fcard--reg p { font-size: 16px; line-height: 1.4; }
.fcard--reg img { display: inline-block; vertical-align: middle; margin: 6px 4px 0; }
.fcard__ea { display: block; max-width: 100%; margin: 14px auto 0; border: 1px solid #ddd; background: #fff; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 80px; padding: 80px 0 45px; }
.footer__nav a { font-size: 24px; line-height: 1; }
.footer__bottom { text-align: center; font-size: 16px; }
.footer__bottom span { margin: 0 6px; }
.footer__bottom a { text-decoration: underline; }
@media (max-width: 991px) { .footer { padding: 60px 0 40px; } .footer__grid { grid-template-columns: 1fr; gap: 40px; } .footer__nav { gap: 15px 35px; padding: 50px 0 30px; } .footer__nav a { font-size: 20px; } .footer__bottom span { display: block; height: 0; overflow: hidden; } }
@media (max-width: 575px) { .footer__cards { grid-template-columns: 1fr; } }

/* Form (footer and contact page) */
.form { display: flex; flex-direction: column; gap: 18px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-size: 18px; margin-bottom: 6px; }
.req { color: #fff; }
.contact .req { color: var(--grey); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; min-height: 56px; background: #fff; border: 0; border-radius: 0; padding: 10px 20px; font-family: var(--cond); font-size: 18px;
}
.form textarea { min-height: 140px; resize: vertical; }
.form select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2324282b' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 20px center; padding-right: 44px; }
.form select:invalid { color: #6e6e73; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--c1); outline-offset: 0; }
.form__check { display: flex; gap: 12px; align-items: flex-start; }
.form__check input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--dark); }
.form__check label { font-size: 20px; line-height: 26px; margin: 0; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.4rem; font-weight: 400; }
.form__status.is-error { color: #b42318; }
.form__status.is-ok { color: #2f7a3a; }
.form__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form__foot .btn { padding: 17px 68px; }
.form__req { font-size: 16px; color: #6e6e73; }
.form.is-sent .form__grid, .form.is-sent .form__row, .form.is-sent .form__check, .form.is-sent .form__foot { display: none; }
@media (max-width: 575px) { .form__grid { grid-template-columns: 1fr; } }

/* Back to top */
.totop { position: fixed; right: 20px; bottom: 20px; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--dark); color: #fff; cursor: pointer; z-index: 90; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.totop[hidden] { display: none; }
.totop svg { width: 20px; fill: #fff; }

/* Cookie box, bottom left like the original */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; color: var(--ink); padding: 12px 16px; box-shadow: 0 -4px 20px rgba(0,0,0,.15); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 320px; max-width: 720px; line-height: 1.35; }
.consent .btn { width: auto; padding: 9px 22px; font-size: 13px; }
.consent__no { background: none; border: 0; cursor: pointer; text-decoration: underline; font-size: 14px; color: #6e6e73; padding: 8px 4px; }
.consent-open .totop { bottom: 84px; }
@media (max-width: 575px) { .consent { padding: 10px 14px; gap: 6px 14px; } .consent p { flex-basis: 100%; } .consent-open .totop { bottom: 112px; } }

/* Process wheel */
.wheel { --wheel: min(100vw - 15rem, 78vh, 760px); --stages: 8; height: calc(100vh + var(--stages) * 42vh); background: #fff; }
.wheel__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; overflow: hidden; }
.wheel__box { position: relative; width: var(--wheel); height: var(--wheel); }
.wheel__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wheel__ring { fill: none; stroke: #bbb; stroke-width: 2; stroke-dasharray: 6 8; }
.wheel__spoke line { stroke: #bbb; stroke-width: 3; stroke-dasharray: 8 8; transition: stroke .3s; }
.wheel__spoke circle { fill: var(--c); }
.wheel__spoke.is-active line { stroke: var(--c); }
.wheel__hex { position: absolute; transform: translate(-50%, -50%); background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.wheel__hex .hex { --hs: calc(var(--wheel) * .11); transition: transform .25s; }
.wheel__hex .hex__in { font-size: clamp(16px, calc(var(--wheel) * .032), 24px); }
.wheel__hex:hover .hex, .wheel__hex.is-active .hex { transform: scale(1.06); }
.wheel__hex.is-active .hex__in { background: var(--c); color: #fff; }
.wheel__hex:focus-visible { outline: 0; }
.wheel__hex:focus-visible .hex { outline: 3px solid var(--c1); outline-offset: 4px; }
.wheel__label { position: absolute; font-family: var(--cond); font-weight: 500; font-size: clamp(11px, calc(var(--wheel) * .021), 15px); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); line-height: 18px; width: 9em; }
.wheel__hex--right .wheel__label { left: calc(100% + 15px); top: 50%; transform: translateY(-50%); text-align: left; }
.wheel__hex--left .wheel__label { right: calc(100% + 15px); top: 50%; transform: translateY(-50%); text-align: right; }
.wheel__hex--top .wheel__label { bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); text-align: center; }
.wheel__hex--bottom .wheel__label { top: calc(100% + 8px); left: 50%; transform: translateX(-50%); text-align: center; }
.wheel__circle { position: absolute; left: 50%; top: 50%; width: 52%; height: 52%; transform: translate(-50%, -50%); border-radius: 50%; padding: 16px; border: 2px dashed #bbb; }
.wheel__inner { width: 100%; height: 100%; border-radius: 50%; background: var(--c, var(--dark)); color: #fff; display: grid; place-items: center; text-align: center; position: relative; transition: background .3s; box-shadow: inset 0 0 0 calc(var(--wheel) * .02) rgba(255,255,255,.08); }
.wheel__inner::before { content: ""; position: absolute; inset: 25px; border-radius: 50%; background: rgba(255,255,255,.06); }
.wheel__panel { grid-area: 1 / 1; position: relative; width: 72%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; animation: wheel-in .35s ease both; }
.wheel__panel[hidden] { display: none; }
.wheel__panel .label { margin-bottom: 0; font-size: clamp(11px, calc(var(--wheel) * .02), 16px); }
.wheel__panel .label .dash { width: 60%; margin: 14px auto 0; }
.wheel__title { font-size: clamp(22px, calc(var(--wheel) * .062), 48px); margin-top: 14px; }
.wheel__panel .hex--white { --hs: clamp(40px, calc(var(--wheel) * .08), 60px); }
.wheel__panel .hex--white .hex__in { font-size: clamp(16px, calc(var(--wheel) * .03), 22px); }
.wheel__paneltitle { font-family: var(--cond); font-weight: 500; font-size: clamp(14px, calc(var(--wheel) * .027), 20px); letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }
.wheel__panel p { font-size: clamp(12px, calc(var(--wheel) * .021), 15px); line-height: 1.3; font-weight: 400; margin-top: 8px; }
.wheel__foot { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; }
@keyframes wheel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wheel__list, .wheel__listhead, .wheel__listfoot { display: none; }
@media (max-width: 767px) {
  .wheel { height: auto; padding: 60px 0 50px; }
  .wheel__sticky { display: none; }
  .wheel__listhead { display: block; text-align: center; padding: 0 15px 26px; }
  .wheel__list { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0 15px; }
  .wheel__item { display: flex; gap: 14px; align-items: flex-start; }
  .wheel__item .hex { --hs: 46px; }
  .wheel__item .hex__in { background: var(--c); color: #fff; }
  .wheel__itemtitle { font-family: var(--cond); font-weight: 500; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-top: 8px; }
  .wheel__item p { margin-top: 4px; font-size: 16px; line-height: 1.4; }
  .wheel__listfoot { display: flex; justify-content: center; margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) { .wheel { height: auto; padding: 4rem 0; } .wheel__sticky { position: static; height: auto; } .wheel__foot { position: static; margin-top: 1rem; } .wheel__panel { animation: none; } }

/* WhatsApp links. The address is built on click by js/chat.js. */
.nav__link--wa svg { width: 18px; }
.btn--wa { display: inline-flex; align-items: center; gap: 10px; background: #25d366; border-color: #25d366; color: #fff; }
.btn--wa:hover { background: #1da851; border-color: #1da851; color: #fff; }
.btn--wa svg { width: 20px; fill: #fff; }
.fcard__wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: inherit; text-decoration: underline; }
.fcard__wa svg { width: 18px; fill: #25d366; }

/* Website chat: a launcher above the back-to-top button and a panel. */
.chat-launch { position: fixed; right: 20px; bottom: 20px; z-index: 92; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border: 0; border-radius: 28px; background: var(--dark); color: #fff; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); font-family: var(--cond); font-weight: 500; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.chat-launch[hidden] { display: none; }
.chat-launch svg { width: 22px; fill: #fff; }
.chat-launch:hover { background: #000; }
.totop { bottom: 90px; }
.consent-open .chat-launch { bottom: 84px; }
.consent-open .totop { bottom: 154px; }
.chat { position: fixed; right: 20px; bottom: 90px; z-index: 101; width: 370px; max-width: calc(100% - 40px); height: min(640px, calc(100vh - 110px)); background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 14px 44px rgba(0,0,0,.3); display: flex; flex-direction: column; overflow: hidden; }
.chat[hidden] { display: none; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--dark); color: #fff; }
.chat__head img { width: 86px; height: auto; }
.chat__head strong { font-family: var(--cond); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }
.chat__close { margin-left: auto; background: none; border: 0; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.4; }
.chat__msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; white-space: pre-line; }
.chat__msg--bot { background: #f1f1f3; align-self: flex-start; border-bottom-left-radius: 4px; }
.chat__msg--me { background: var(--dark); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.chat__opt { border: 1.5px solid var(--dark); background: #fff; color: var(--ink); border-radius: 20px; padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer; }
.chat__opt:hover { background: var(--dark); color: #fff; }
.chat__opt--wa { display: inline-flex; align-items: center; gap: 8px; border-color: #25d366; background: #25d366; color: #fff; }
.chat__opt--wa:hover { background: #1da851; border-color: #1da851; }
.chat__opt--wa svg { width: 18px; fill: #fff; }
.chat__opt--link { text-decoration: none; }
.chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #e5e5e7; }
.chat__form[hidden] { display: none; }
.chat__form input { flex: 1; min-width: 0; border: 1px solid #c6c6c8; border-radius: 22px; padding: 10px 16px; font: inherit; font-size: 16px; }
.chat__form input:focus { outline: 2px solid var(--dark); outline-offset: 1px; }
.chat__form .btn { padding: 10px 18px; }
@media (max-width: 575px) {
  .chat-launch span { display: none; }
  .chat-launch { padding: 0; width: 56px; justify-content: center; }
  .consent-open .chat-launch { bottom: 112px; }
  .consent-open .totop { bottom: 182px; }
  .chat { left: 0; right: 0; top: 0; bottom: 0; width: auto; max-width: none; height: auto; border-radius: 0; }
  .chat-open { overflow: hidden; }
}

/* Google rating line under "What Our Customers Say" and on the testimonials page. */
.grating { font-family: var(--cond); font-weight: 500; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin: 14px 0 24px; }
.grating__stars { color: #f4b400; letter-spacing: 2px; font-size: 17px; }
.grating a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.tgrid .grating { text-align: center; margin: 0 0 30px; }
/* The same line in the hero, white on the photo, right above the main button. */
.grating--hero { margin: 0 auto 26px; color: #fff; font-size: 14px; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.grating--hero .grating__stars { font-size: 18px; }
@media (max-width: 767px) { .grating--hero { font-size: 13px; margin-bottom: 18px; } .grating--hero .grating__stars { display: block; margin-bottom: 2px; } }
/* On phones the cookie bar pushes the floating buttons up onto the hero's
   main button, so they wait until the visitor has answered it. WhatsApp and
   call stay in the header throughout. */
@media (max-width: 575px) { .consent-open .chat-launch, .consent-open .totop { display: none; } }

/* Service pages (content.mjs servicePages) */
.svc-intro { padding: 80px 0 24px; }
.svc-intro p { font-size: 20px; line-height: 1.5; margin-bottom: 18px; }
.svc-intro .svc-intro__lead { font-size: clamp(22px, 1rem + 1vw, 28px); line-height: 1.35; font-weight: 300; }
.svc-intro__cta { margin-top: 26px; }
.svc-points { padding: 30px 0 60px; }
.svc-points__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-point { background: var(--grey); padding: 30px 32px; border-top: 4px solid var(--c); border-radius: 0 0 10px 10px; }
.svc-point__title { font-size: 26px; font-weight: 300; line-height: 1.15; margin-bottom: 12px; }
.svc-point p { font-size: 17px; line-height: 1.55; }
.svc-cases { padding: 50px 0 10px; }
.svc-cases .title { margin-bottom: 30px; }
.svc-cases .cases { grid-template-columns: repeat(2, 1fr); }
.svc-stages { padding: 40px 0 60px; }
.svc-stages__list { list-style: none; padding: 0; margin: 26px 0 26px; display: grid; gap: 22px; }
.svc-stages__list li { display: flex; gap: 18px; align-items: flex-start; }
.svc-stages__list .hex { --hs: 48px; }
.svc-stages__list .hex__in { background: var(--c); color: #fff; }
.svc-stages__title { font-family: var(--cond); font-weight: 500; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-top: 10px; }
.svc-stages__list p { margin-top: 4px; font-size: 17px; line-height: 1.45; }
.svc-quote { padding: 60px 0; background: var(--dark); color: #fff; }
.svc-quote blockquote { margin: 0; }
.svc-quote blockquote p { font-size: clamp(22px, 1rem + 1vw, 30px); font-weight: 300; line-height: 1.35; }
.svc-quote blockquote footer { margin-top: 16px; font-family: var(--cond); letter-spacing: .08em; text-transform: uppercase; font-size: 14px; color: rgba(255,255,255,.75); }
.svc-quote .grating { color: #fff; margin: 28px 0 0; }
.svc-faq { padding: 60px 0 30px; }
.svc-faq .title { margin-bottom: 18px; }
.svc-faq__item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.svc-faq__item summary { cursor: pointer; font-size: 20px; line-height: 1.35; list-style: none; position: relative; padding-right: 40px; }
.svc-faq__item summary::-webkit-details-marker { display: none; }
.svc-faq__item summary::after { content: "+"; position: absolute; right: 6px; top: -4px; font-size: 28px; font-weight: 300; }
.svc-faq__item[open] summary::after { content: "\2212"; }
.svc-faq__item summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.svc-faq__item p { margin-top: 12px; font-size: 17px; line-height: 1.55; }
.svc-more { padding: 10px 0 60px; font-size: 17px; }
.svc-more a { text-decoration: underline; text-underline-offset: 3px; }
a.service { display: block; color: inherit; text-decoration: none; }
.footer__nav--services { padding-top: 0; }
@media (max-width: 767px) { .svc-points__grid, .svc-cases .cases { grid-template-columns: 1fr; } .svc-intro { padding: 50px 0 16px; } .svc-point { padding: 24px; } }
