/* =====================================================================
   Great Fish Web Studio — main stylesheet
   ---------------------------------------------------------------------
   1. Fonts            6. Header & mobile menu     11. Tasks list
   2. Design tokens    7. Footer                   12. Works / cases
   3. Base / reset     8. Popup & forms            13. Services page
   4. Layout helpers   9. Home hero                14. Inner pages
   5. UI components   10. Services overview        15. Animations
                                                   16. Responsive
   ===================================================================== */

/* 1. Fonts (self-hosted, no external requests) ----------------------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2');
  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;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-display-latin-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-display-latin-400-italic.woff2') format('woff2');
  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;
}

/* 2. Design tokens ---------------------------------------------------- */
:root {
  --c-dark: #020509;        /* dark ACCENT only: icons, one accent card, dark buttons (no more black sections) */
  --c-ink: #17222c;         /* main text */
  --c-light: #f4f7f6;       /* page background */
  --c-tint: #d3f1e0;        /* soft mint: small pills on white cards (no longer used for panels) */
  --c-sea: #062331;         /* dark water panels (instead of the mint ones) */
  --c-sea-deep: #021822;    /* deepest water */
  --c-azure: #1a4657;       /* water azure: the round arrow buttons, number circles */
  --glass: rgba(255, 255, 255, .07);         /* translucent cards on the dark water */
  --glass-line: rgba(255, 255, 255, .13);
  --c-tint-2: #c2ebd4;      /* stronger mint: hover, small pills */
  --c-tint-text: #4e5a62;   /* secondary text on the mint panels */
  --c-green-deep: #136b41;  /* green text on the mint panels */
  --line-tint: rgba(12, 70, 44, .18);
  --shadow-tint: 0 1px 2px rgba(12, 70, 44, .08), 0 14px 30px -14px rgba(12, 70, 44, .34);
  --c-card: #ffffff;        /* cards */
  --c-line: rgba(2, 5, 9, .1);
  --c-gray: #66717a;        /* secondary text */
  --c-green: #67efa5;       /* accent (buttons) */
  --c-green-dark: #18804f;  /* accent text on light background */
  --c-input-dark: #252d39;
  --c-input-light: #ffffff;
  --c-link: #18804f;        /* links inside forms */

  --r-xl: 32px;             /* big rounded panels */
  --r-lg: 24px;             /* cards */
  --r-md: 16px;             /* inputs, small blocks */
  --panel-gap: 12px;        /* rounded panels are inset from the screen edges by this much */
  --shadow: 0 1px 2px rgba(2, 30, 40, .04), 0 12px 32px -12px rgba(2, 30, 40, .14);
  --shadow-hover: 0 2px 6px rgba(2, 30, 40, .06), 0 26px 46px -18px rgba(2, 30, 40, .26);

  --font-main: 'Manrope', Arial, Helvetica, sans-serif;
  --font-accent: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --container: 1440px;
  --gutter: 40px;
  --header-h: 116px;
  --ease: cubic-bezier(.25, .8, .25, 1);
}

/* 3. Base / reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--c-ink);
  background: var(--c-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
strong, b { font-weight: 700; }
:focus-visible { outline: 2px solid var(--c-green-dark); outline-offset: 3px; }
.section--dark :focus-visible, .contact-card :focus-visible { outline-color: var(--c-green); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 18px;
  background: var(--c-green); color: var(--c-ink); border-radius: 30px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* 4. Layout helpers --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { position: relative; overflow-x: clip; } /* elements sliding in from the side must not widen the page on phones */
.section--dark { background: var(--c-dark); color: #fff; }
.section--light { background: var(--c-light); color: var(--c-ink); }
/* soft mint panel with rounded corners, inset from the screen edges (replaces the full-width black sections) */
/* dark water panel with rounded corners, inset from the screen edges (replaces the mint panels):
   a still from the water video + a deep gradient; page heroes and 404 also get the video itself */
.section--sea {
  margin-left: var(--panel-gap);
  margin-right: var(--panel-gap);
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(3, 28, 40, .5) 0%, rgba(2, 22, 32, .78) 40%, rgba(2, 20, 30, .92) 100%),
    url('../img/sea.webp') center top / cover no-repeat,
    var(--c-sea);
  color: #fff;
  isolation: isolate;
}
.section--sea > .bg-video { z-index: -1; border-radius: inherit; }
.section--sea > .container { position: relative; z-index: 1; }

/* accent italic word ("essential features", "take care", ...) */
.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  line-height: 1;
  letter-spacing: 0;
}
.text-green { color: var(--c-green-dark); }
.text-green-light { color: var(--c-green); }

/* typography */
.h1 { font-size: 54px; line-height: 84px; font-weight: 600; }
.h2 { font-size: 42px; line-height: 53px; font-weight: 600; }
.h2-lg { font-size: 48px; line-height: 60px; font-weight: 600; }
.h3 { font-size: 36px; line-height: 45px; font-weight: 600; }
.lead { font-size: 17px; line-height: 26px; }

/* section label ("Services", "Cases"…): large text with the fish from the logo, no fill */
.label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--c-ink);
  white-space: nowrap;
  align-self: flex-start;
  justify-self: start;
}
.label::before {
  content: '';
  flex: none;
  width: 48px;
  height: 39px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -5 128 104'%3E%3Cpath d='M2 26 58.9 82.9Q74.7 98.5 90.5 82.9L109.5 63.9C119.5 53.5 119.5 43 109.5 32.5L86.5 9.5C75.9-1 65.2-.9 54.6 9.7L2 62.3' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='97.6' cy='44.4' r='4.4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -5 128 104'%3E%3Cpath d='M2 26 58.9 82.9Q74.7 98.5 90.5 82.9L109.5 63.9C119.5 53.5 119.5 43 109.5 32.5L86.5 9.5C75.9-1 65.2-.9 54.6 9.7L2 62.3' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='97.6' cy='44.4' r='4.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section--sea .label { color: #fff; }
.section--sea .label::before { background: #fff; opacity: .55; }
.label--light { color: #fff; }
.label--light::before { background: #fff; opacity: .55; }

/* breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 16px;
  line-height: 25px;
  font-weight: 600;
  color: #fff;
}
.breadcrumbs span { opacity: .5; }
.breadcrumbs a:hover { opacity: .6; }

/* "bubble" on the edge between two blocks: a water-azure circle with a bouncing white arrow
   (the page background ring around it bites into the block above) */
.notch {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(160deg, #24607a 0%, var(--c-azure) 45%, #0c3242 100%);
  box-shadow: 0 0 0 8px var(--c-light);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.notch svg:first-child { display: none; }
.notch .notch__arrow { position: absolute; top: 50%; left: 50%; width: 17px; height: 10px; margin: -6px 0 0 -8.5px; }
.notch .notch__arrow path { fill: #fff; }
.notch__arrow {
  animation: notch-bounce 2s ease-in-out infinite;
}
@keyframes notch-bounce {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(5px); }
}

/* 5. UI components ---------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  height: 60px;
  padding: 0 30px;
  border: 0;
  border-radius: 100px;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .005em;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--green { background: var(--c-green); color: var(--c-ink); }
.btn--green:hover { background: #8af5bb; box-shadow: 0 8px 24px rgba(103, 239, 165, .25); }
.btn--white { background: #fff; color: var(--c-ink); }
.btn--white:hover { background: var(--c-green); }
.btn--dark { background: var(--c-dark); color: #fff; }
.btn--dark:hover { background: var(--c-green); color: var(--c-ink); }
.btn--outline {
  min-width: 254px;
  height: 55px;
  background: transparent;
  border: 1px solid var(--c-green-dark);
  color: var(--c-green-dark);
}
.btn--outline:hover { background: var(--c-green-dark); color: #fff; }
.btn--outline-white {
  min-width: 0;
  height: 50px;
  padding: 0 26px;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}
.btn--outline-white:hover { background: #fff; color: var(--c-dark); }
.btn--ghost {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--c-ink); }
.btn--sm { min-width: 0; height: 40px; padding: 0 24px; font-size: 15px; }

/* "flash" light sweep on the main buttons (as on the original site) */
.btn--flash::after {
  content: '';
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: -80px;
  width: 50px;
  z-index: -1;
  background: rgba(255, 255, 255, .45);
  transform: skewX(-25deg);
  animation: btn-flash 4s ease-in-out 1.5s infinite;
}
@keyframes btn-flash {
  0% { left: -80px; }
  35%, 100% { left: calc(100% + 80px); }
}

/* white pill "Read more →" */
.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 44px;
  min-width: 183px;
  padding: 0 28px;
  border-radius: 22px;
  background: var(--c-tint);
  color: var(--c-ink);
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  transition: background-color .25s var(--ease), gap .25s var(--ease);
}
.pill-link svg { width: 22px; height: 10px; flex: none; }
.pill-link:hover { background: var(--c-green); gap: 20px; }

/* underlined link with external-link icon: "Call us ↗" */
.ext-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--c-green-dark);
  font-size: 18px;
  line-height: 25px;
  font-weight: 400;
  white-space: nowrap;
}
.ext-link__text { border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.ext-link svg { width: 15px; height: 15px; flex: none; margin-top: -4px; }
.ext-link:hover { color: var(--c-ink); }

/* tooltip "?" */
.tip { position: relative; flex: none; }
.tip__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--c-tint);
  color: var(--c-ink);
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
  transition: background-color .2s, color .2s;
}
.tip__btn:hover,
.tip.is-open .tip__btn { background: var(--c-dark); color: #fff; }
.tip__box {
  position: absolute;
  right: -12px;
  bottom: calc(100% + 12px);
  z-index: 30;
  width: 310px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  color: #000;
  font-size: 14px;
  line-height: 19.6px;
  text-align: left;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.tip__box ul { margin-top: 2px; padding-left: 20px; list-style: disc; }
.tip:hover .tip__box,
.tip.is-open .tip__box,
.tip__btn:focus-visible + .tip__box {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .2s, transform .2s;
}

/* background video */
.bg-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: #0b1a22 center / cover no-repeat;
}
.bg-video video { width: 100%; height: 100%; object-fit: cover; }
.bg-video::after { content: ''; position: absolute; inset: 0; }
.bg-video--hero::after { background: linear-gradient(0deg, rgba(3, 30, 42, .8) 0%, rgba(3, 30, 42, .4) 45%, rgba(3, 30, 42, .06) 100%); }
.bg-video--dim70::after { background: rgba(3, 27, 38, .62); }
.bg-video--dim65::after { background: rgba(3, 27, 38, .5); }

/* brand title "Great Fish / web studio" */
.brand-title {
  position: relative;
  width: 505px;
  height: 262px;
  color: #fff;
  font-weight: 400;
}
.brand-title__1,
.brand-title__2 { position: absolute; left: 0; white-space: nowrap; }
.brand-title__1 {
  top: 15px;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 113px;
  line-height: 113px;
  letter-spacing: -.2px;
}
.brand-title__2 {
  top: 140px;
  font-size: 99px;
  line-height: 99px;
  letter-spacing: -.4px;
}

/* stat cards (25+ / 20+): photo background + live text.
   The text scales with the card: 1em = 16px on a 166px-wide card (cqw = % of the card's width);
   card 2 is wider (174/166), so its factor is smaller — both cards get the same text size. */
.stats { position: absolute; inset: 0; pointer-events: none; }
.stat {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  background: var(--c-ink);
  container-type: inline-size;
  will-change: transform;
}
.stat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stat__body {
  position: relative;
  margin: 0;
  padding: 1.1875em 1.125em 0;
  text-align: left;
  font-size: 16px;
  font-size: 9.64cqw;
  color: #fff;
}
.stat--2 .stat__body { font-size: 9.195cqw; }
.stat__num { display: block; font-size: 2em; line-height: 1; font-weight: 500; }
.stat__text { display: block; margin-top: .84em; font-size: .89em; line-height: 1.333; font-weight: 500; color: rgba(255, 255, 255, .88); }
.stat--1 { left: 70px; top: 222px; width: 166px; height: 149px; }
.stat--2 { left: 276px; top: 264px; width: 174px; height: 147px; }

/* 6. Header & mobile menu --------------------------------------------- */
.header {
  position: absolute;
  top: var(--panel-gap);   /* the hero is a card inset from the screen edge — the header sits inside it */
  left: 0;
  right: 0;
  z-index: 40;
}
.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.header__nav { display: flex; gap: 45px; padding-top: 1px; }
.header__nav a {
  position: relative;
  color: #fff;
  font-size: 16px;
  line-height: 25px;
  font-weight: 600;
  transition: color .2s;
}
.header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -3px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: right .3s var(--ease);
}
.header__nav a:hover,
.header__nav a[aria-current='page'] { color: #fff; }
.header__nav a:hover::after,
.header__nav a[aria-current='page']::after { right: 0; }
.header__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 210px;
  transform: translate(-57.8%, -50%);   /* the fish (57.8% of the logo width), not the whole logo, sits in the middle */
}
.header__logo img { width: 100%; height: auto; }
.header__cta {
  min-width: 268px;
  height: 52px;
  padding: 0 30px;
  background: rgba(255, 255, 255, .9);
  color: #0a2f41;
  font-size: 15px;
}
.header__cta:hover,
.header__cta[aria-current='page'] { background: var(--c-green); color: var(--c-ink); }
.header__cta--sm { min-width: 196px; }
/* email + "Contact us" (leads to the Contacts page) on the right */
.header__right { display: flex; align-items: center; gap: 28px; }
.header__email { color: #fff; font-size: 15px; line-height: 25px; font-weight: 600; transition: color .2s; }
/* a soft shadow keeps the white menu readable over the bright water highlights */
.header__nav a, .header__email { text-shadow: 0 1px 10px rgba(2, 20, 30, .45); }
.header__email:hover { opacity: .75; }

.burger {
  display: none;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 60;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.burger::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c-dark);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .75), 0 6px 18px rgba(2, 30, 40, .22);
  transition: background-color .2s;
}
.burger:hover::before { background: #13202a; }
.burger span {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s, opacity .3s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }

.mmenu {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  transition: visibility 0s .4s;
}
.mmenu.is-open { visibility: visible; transition: none; }
.mmenu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 20, 28, .4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .4s;
}
.mmenu.is-open .mmenu__overlay { opacity: 1; }
.mmenu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: 260px;
  max-width: 100%;
  padding: 40px 25px 25px;
  overflow-y: auto;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
  background: #fff;
  color: var(--c-ink);
  transform: translateX(100%);
  transition: transform .4s var(--ease);
}
.mmenu.is-open .mmenu__panel { transform: none; }
.mmenu__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
}
.mmenu__close::before,
.mmenu__close::after {
  content: '';
  position: absolute;
  top: 10px;
  left: -2px;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-ink);
  transform: rotate(45deg);
}
.mmenu__close::after { transform: rotate(-45deg); }
.mmenu__logo img { width: 120px; height: auto; }
.mmenu__nav { margin-top: 22px; }
.mmenu__nav a {
  display: block;
  padding: 6px 0;
  font-size: 18px;
  line-height: 25px;
  font-weight: 500;
}
.mmenu__nav a:hover,
.mmenu__nav a[aria-current='page'] { color: var(--c-green-dark); }
.mmenu__bottom { margin-top: auto; padding-top: 30px; }
.mmenu__text { font-size: 14px; line-height: 18px; }
.mmenu__email {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 20px 0 30px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  transition: color .2s;
}
.mmenu__email-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--c-dark);
  color: #fff;
  transition: background-color .2s, color .2s;
}
.mmenu__email-icon svg { width: 16px; height: 16px; }
.mmenu__email:hover { color: var(--c-green-dark); }
.mmenu__email:hover .mmenu__email-icon { background: var(--c-green); color: var(--c-ink); }
.mmenu__btn.btn { width: auto; min-width: 174px; height: 50px; font-size: 16px; }

/* 7. Footer ----------------------------------------------------------- */
/* Footer: the same water as the home hero, but near the bottom — the dark lower part of the video
   and a deeper gradient */
.footer {
  position: relative;
  margin: 0 var(--panel-gap) var(--panel-gap);
  padding: 84px 0 70px;
  border-radius: var(--r-xl);
  background: #04161f;
  color: #fff;
  isolation: isolate;
}
.footer > .container { position: relative; z-index: 1; }
.footer .bg-video { z-index: -2; border-radius: inherit; }
.bg-video--deep video { object-position: 50% 88%; }
.bg-video--deep::after { background: linear-gradient(180deg, rgba(3, 30, 42, .42) 0%, rgba(2, 20, 30, .7) 50%, rgba(1, 12, 18, .9) 100%); }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px minmax(0, 1fr);   /* equal sides: the logo column is exactly in the middle */
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "tagline logo right"
    "btn     logo right";
}
.footer__right {
  grid-area: right;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "studio email"
    "studio address"
    "studio privacy";
  padding-left: 64px;
}
.footer__tagline { grid-area: tagline; max-width: 360px; font-size: 14px; line-height: 22px; color: rgba(255, 255, 255, .72); }
.footer__btn { grid-area: btn; align-self: end; justify-self: start; margin-top: 30px; }
.footer__logo { grid-area: logo; align-self: center; justify-self: center; width: 100%; max-width: 290px; transform: translateX(-7.8%); }   /* fish in the middle */
.footer__logo img { width: 100%; height: auto; }
.footer__address { grid-area: address; align-self: end; justify-self: start; margin-bottom: 6px; font-size: 14px; line-height: 22px; font-weight: 500; color: rgba(255, 255, 255, .55); }
.footer__studio { grid-area: studio; }
.footer__email { grid-area: email; display: flex; flex-direction: column; align-items: flex-start; }
.footer__privacy { grid-area: privacy; align-self: end; justify-self: start; color: rgba(255, 255, 255, .78); font-size: 16px; line-height: 25px; padding-bottom: 3px; transition: color .2s; }
.footer__privacy:hover { color: #fff; }
.footer__caption { display: block; font-size: 15px; line-height: 25px; font-weight: 600; color: rgba(255, 255, 255, .55); }
.footer__big { font-size: 22px; line-height: 34px; font-weight: 600; white-space: nowrap; }
.footer__big:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.footer__email .footer__big { margin-top: 11px; }
.footer__email .ext-link { margin-top: 13px; }
.footer__links { margin-top: 12px; }
.footer__links li + li { margin-top: 14px; }
.footer__links a { font-size: 16px; line-height: 25px; color: rgba(255, 255, 255, .86); transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__links a[aria-current='page'] { color: #fff; text-decoration: underline; text-decoration-color: #fff; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* 8. Popup & forms ---------------------------------------------------- */
.popup {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 92px 20px 40px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s, visibility 0s .3s;
}
.popup.is-open { visibility: visible; opacity: 1; transition: opacity .3s; }
.popup__overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 20, 28, .4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
/* close button in the top right corner of the dialog */
.popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-light);
  transition: background-color .2s, transform .3s var(--ease);
}
.popup__close::before,
.popup__close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  margin: -1px 0 0 -8px;
  border-radius: 2px;
  background: var(--c-ink);
  transform: rotate(45deg);
  transition: background-color .2s;
}
.popup__close::after { transform: rotate(-45deg); }
.popup__close:hover { background: var(--c-green); transform: rotate(90deg); }
.popup__close:hover::before,
.popup__close:hover::after { background: var(--c-ink); }
.popup__dialog {
  position: relative;
  z-index: 1;
  width: 623px;
  max-width: 100%;
  padding: 41px 52px 46px;
  border-radius: 28px;
  background: #fff;
  color: var(--c-ink);
  box-shadow: 0 30px 80px -20px rgba(2, 30, 40, .35);
  text-align: center;
  transform: translateY(20px);
  transition: transform .35s var(--ease);
}
.popup.is-open .popup__dialog { transform: none; }
.popup__dialog:focus { outline: none; }
.popup__text { max-width: 399px; margin: 20px auto 0; }
.popup .form { margin-top: 30px; text-align: left; }
.popup .form__submit { align-self: center; }

.form { display: flex; flex-direction: column; gap: 10px; }
.form__field { position: relative; }
.form__input {
  display: block;
  width: 100%;
  height: 55px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  outline: none;
  font-size: 15px;
  line-height: 1.55;
  transition: box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
textarea.form__input { height: 85px; padding-top: 16px; padding-bottom: 12px; resize: vertical; }
.form__input:focus { box-shadow: inset 0 0 0 1px var(--c-green); }
.form--dark .form__input { background: var(--c-input-dark); color: #fff; }
.form--dark .form__input::placeholder { color: rgba(255, 255, 255, .5); }
.form--light .form__input { background: var(--c-input-light); color: var(--c-ink); box-shadow: inset 0 0 0 1px rgba(2, 5, 9, .13); }
.form--light .form__input::placeholder { color: rgba(23, 34, 44, .5); }
.form--light .form__input:focus { box-shadow: inset 0 0 0 2px var(--c-green-dark); }
.popup .form--light .form__input,
.popup .form--light .phone-wrap { background: var(--c-light); }

/* phone field with country code */
.phone { display: flex; align-items: center; }
.phone__country {
  position: relative;
  display: flex;
  align-items: center;
  flex: none;
  gap: 6px;
  height: 100%;
  padding-left: 20px;
  padding-right: 6px;
}
.phone__flag { width: 19px; height: 14px; border-radius: 1px; overflow: hidden; flex: none; }
.phone__caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: .6;
}
.phone__select {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}
.phone__code { flex: none; padding-left: 4px; font-size: 15px; }
.phone { height: 100%; }
.phone .form__input { flex: 1 1 auto; min-width: 0; height: 100%; padding-left: 6px; background: transparent !important; box-shadow: none !important; }
.phone__iso { font-size: 11px; font-weight: 700; letter-spacing: .3px; padding: 1px 4px; border: 1px solid currentColor; border-radius: 3px; opacity: .8; }
.phone-wrap {
  height: 55px;
  border-radius: 14px;
  transition: box-shadow .2s;
}
.form--dark .phone-wrap { background: var(--c-input-dark); color: #fff; }
.form--light .phone-wrap { background: var(--c-input-light); color: var(--c-ink); box-shadow: inset 0 0 0 1px rgba(2, 5, 9, .13); }
.phone-wrap:focus-within { box-shadow: inset 0 0 0 1px var(--c-green); }
.form--light .phone-wrap:focus-within { box-shadow: inset 0 0 0 2px var(--c-green-dark); }

/* checkbox */
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 20px;
  margin-top: 0;
  font-size: 14px;
  line-height: 16.8px;
  cursor: pointer;
  user-select: none;
}
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 6px;
  transition: background-color .2s;
}
.form--light .check__box { border-color: var(--c-green-dark); }
.check__box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}
.check input:checked + .check__box::after { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--c-green); outline-offset: 2px; }
.check a { color: var(--c-link); text-decoration: underline; text-underline-offset: 2px; }
.form--dark .check a { color: #fff; }
.check a:hover { text-decoration: underline; }

.form__submit {
  align-self: flex-start;
  width: 320px;
  max-width: 100%;
  min-width: 0;
  height: 65px;
  margin-top: 20px;
}
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.3;
  color: #ff6b6b;
}
.form__field.is-invalid .form__error { display: block; }
.form__field.is-invalid .form__input,
.form__field.is-invalid .phone-wrap { box-shadow: inset 0 0 0 1px #ff6b6b; }
.form__field.is-invalid .phone-wrap .form__input { box-shadow: none; }
.form__field.is-invalid .check__box { border-color: #ff6b6b; }
.form__status {
  display: none;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.45;
}
.form__status.is-success { display: block; background: rgba(103, 239, 165, .15); color: var(--c-green); }
.form__status.is-error { display: block; background: rgba(255, 107, 107, .12); color: #ff6b6b; }
.form--light .form__status.is-success { color: var(--c-green-dark); }
.form__status.is-info { display: block; background: rgba(255, 255, 255, .08); color: inherit; }
.form--light .form__status.is-info { background: rgba(0, 0, 0, .05); }
.form.is-sending .form__submit { opacity: .6; pointer-events: none; }
.form.is-sent > :not(.form__status) { display: none; }

/* Cloudflare Turnstile check (added by main.js only when it is switched on in send.php).
   Usually invisible; the negative margin cancels the flex gap so nothing moves. */
.form__captcha { align-self: stretch; min-width: 0; margin-top: -10px; }
.form__captcha.is-active { margin-top: 4px; }
.form__captcha iframe { max-width: 100%; }
.popup .form__captcha { display: flex; justify-content: center; }

/* Project brief form (all forms on the site): 2 steps + option chips.
   Step 1 — about the project, step 2 — contacts. main.js switches the steps;
   without JavaScript both steps are simply shown one under the other. */
.form__steps { display: none; margin-bottom: 14px; }
.form.is-stepped .form__steps { display: block; }
.form.is-sent .form__steps,
.form.is-sent .form__intro { display: none; } /* "Thank you" message alone */
.form__steps-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.form__steps-bar span { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .18); transition: background-color .3s; }
.form--light .form__steps-bar span { background: rgba(2, 5, 9, .12); }
.form__steps-bar span.is-on { background: var(--c-green); }
.form--light .form__steps-bar span.is-on { background: var(--c-green-dark); }
.form__steps-label { margin-top: 12px; font-size: 16px; line-height: 22px; font-weight: 600; }
.form__steps-num { margin-right: 8px; color: rgba(255, 255, 255, .72); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.form--light .form__steps-num { color: var(--c-green-dark); }

.form__step { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.form__step[hidden] { display: none; }
.form__step:focus { outline: none; }
.form__step[data-step="1"] { gap: 30px; }
.form__step[data-step="1"] .form__next { margin-top: 2px; }
.form:not(.is-stepped) .form__step[data-step="2"] { margin-top: 24px; }
.form:not(.is-stepped) .form__next,
.form:not(.is-stepped) .form__back { display: none; }

/* a group of options (fieldset) */
.form__group { min-width: 0; margin: 0; padding: 0; border: 0; }
.form__legend { float: left; width: 100%; margin: 0 0 12px; padding: 0; font-size: 15px; line-height: 21px; font-weight: 600; }
.form__legend + * { clear: both; }
.form__hint { margin-left: 6px; font-size: 12.5px; font-weight: 500; opacity: .55; }
.form__reveal { margin-top: 8px; }
.form__reveal .form__input { height: 46px; }
.form__reveal[hidden] { display: none; }

/* start screen before step 1 (Contacts page: form with data-intro) */
.form__intro { display: none; }
.form.is-intro .form__intro { display: block; }
.form.is-intro > .form__steps,
.form.is-intro > .form__step { display: none; }
.intro-steps { counter-reset: none; border-radius: var(--r-lg); background: #fff; padding: 4px 28px; box-shadow: var(--shadow); }
.intro-steps__item { display: flex; align-items: flex-start; gap: 22px; padding: 22px 0; }
.intro-steps__item + .intro-steps__item { border-top: 1px solid rgba(2, 5, 9, .08); }
.intro-steps__num { flex: none; min-width: 36px; font-family: var(--font-accent); font-style: italic; font-size: 34px; line-height: 1; color: var(--c-green-dark); }
.intro-steps__body { display: flex; flex-direction: column; gap: 4px; }
.intro-steps__title { font-size: 17px; line-height: 24px; font-weight: 600; color: var(--c-dark); }
.intro-steps__text { font-size: 15px; line-height: 22px; color: var(--c-gray); }
.form__intro-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.form__intro-foot .form__submit { margin-top: 0; }
.form__intro-time { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--c-gray); }
.form__intro-icon { width: 18px; height: 18px; flex: none; }

/* option chips: checkboxes / radio buttons that look like light outlined pills */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; display: inline-flex; max-width: 100%; cursor: pointer; user-select: none; }
.chip input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid;
  border-radius: 20px;
  font-size: 13.5px;
  line-height: 1.25;
  font-weight: 500;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip span::before {
  content: '';
  flex: none;
  width: 0;
  height: 10px;
  opacity: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 12'%3E%3Cpath d='M1.5 6.5l3.5 3.5 7.5-8.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 12'%3E%3Cpath d='M1.5 6.5l3.5 3.5 7.5-8.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: width .2s, margin-right .2s, opacity .2s;
}
.form--dark .chip span { background: transparent; border-color: rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .88); }
.form--light .chip span { background: #fff; border-color: rgba(2, 5, 9, .14); color: var(--c-ink); }
.contact-card .form--dark .chip span { background: rgba(2, 5, 9, .28); }
.chip:hover span { border-color: var(--c-green); color: #fff; }
.form--light .chip:hover span { border-color: var(--c-green-dark); color: var(--c-ink); }
.form .chip input:checked + span { background: var(--c-green); border-color: var(--c-green); color: var(--c-ink); }
.chip input:checked + span::before { width: 12px; margin-right: 6px; opacity: 1; }
.chip input:focus-visible + span { outline: 2px solid var(--c-green); outline-offset: 2px; }
.form--light .chip input:focus-visible + span { outline-color: var(--c-green-dark); }
.form__group.is-invalid .chip input:not(:checked) + span { border-color: rgba(255, 107, 107, .75); }

/* "How did you hear about us?" dropdown */
.select { position: relative; }
.select::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 22px;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  opacity: .6;
  pointer-events: none;
}
.form--dark .select { color: #fff; }
.form--light .select { color: var(--c-ink); }
.form__select { padding-right: 48px; cursor: pointer; }
.form--dark .form__select:has(option[value=""]:checked) { color: rgba(255, 255, 255, .5); }
.form--light .form__select:has(option[value=""]:checked) { color: rgba(23, 34, 44, .5); }
.form--dark .form__select option { color: #fff; background: var(--c-input-dark); }
.form--light .form__select option { color: var(--c-ink); background: #fff; }

/* step 2 buttons: Back + Send request */
.form__nav { display: flex; align-items: center; gap: 28px; margin-top: 20px; }
.form__nav .form__submit { margin-top: 0; }
.form__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 600;
  opacity: .75;
  transition: opacity .2s, color .2s;
}
.form__back::before { content: ''; width: 8px; height: 8px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(45deg); }
.form__back:hover { opacity: 1; color: #fff; }
.form--light .form__back:hover { color: var(--c-green-dark); }
.popup .form__nav { justify-content: center; }

/* Popup on desktops (980px+): a wider window, contacts in two columns —
   the options fit in fewer rows and the whole form is noticeably shorter.
   Tablets and phones keep the narrow one-column window. */
@media (min-width: 980px) {
  .popup { padding-top: 56px; }
  .popup__dialog { width: 900px; padding: 40px 56px 44px; }
  .popup__text { max-width: 700px; margin-top: 16px; text-wrap: balance; }
  .popup .form { margin-top: 26px; }
  .popup .form__step[data-step="1"] { gap: 24px; }
  .popup .form__step[data-step="2"]:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .popup .form__step[data-step="2"] > * { grid-column: 1 / -1; }
  .popup .form__step[data-step="2"] > .form__field--half { grid-column: auto; }
}
/* laptops with a low screen: start the window higher so the buttons stay in view */
@media (min-width: 980px) and (max-height: 860px) {
  .popup { padding-top: 24px; }
}

/* 9. Home hero -------------------------------------------------------- */
.hero { min-height: 840px; margin: var(--panel-gap) var(--panel-gap) 0; border-radius: var(--r-xl); overflow: hidden; }
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 505px minmax(0, 1fr);
  column-gap: 155px;
  padding-top: 215px;
  padding-bottom: 170px;
}
.hero__left { position: relative; height: 435px; }
/* home hero: the stat cards are a bit larger and further apart than on the studio cards */
.hero .stat--1 { left: 35px; top: 222px; width: 192px; height: 172px; }
.hero .stat--2 { left: 265px; top: 264px; width: 202px; height: 171px; }
.hero__right { padding-top: 39px; }
.hero__lead { max-width: 694px; font-size: 36px; line-height: 56px; font-weight: 600; }
.hero__lead span { color: #ecf4ff; }
.hero__text { max-width: 594px; margin-top: 29px; font-size: 20px; line-height: 31px; font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 38px; }
.hero__btn { min-width: 0; width: 240px; height: 65px; }

/* 10. Services overview (cards) --------------------------------------- */
.overview { padding: 98px 0 98px; }
.overview__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.overview__title { max-width: 1053px; }
.overview__head .label { align-self: flex-start; margin-top: 15px; flex: none; }
.overview__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 61px;
}
.scard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 26px 22px 26px 26px;
  border-radius: var(--r-lg);
  overflow: visible;
  background: var(--c-card);
  color: var(--c-ink);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.scard:hover { translate: 0 -6px; box-shadow: var(--shadow-hover); }
.scard__icon { position: relative; z-index: 1; width: 56px; height: 56px; pointer-events: none; transition: transform .45s var(--ease); }
.scard:hover .scard__icon { transform: rotate(-12deg) scale(1.06); }
.scard__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 28px; }
.scard__title { max-width: 240px; font-size: 23px; line-height: 31px; font-weight: 600; }
.scard__title--tight { padding-top: 0; }
.scard__head .tip { margin-top: 0; margin-right: 0; }
.scard__text { max-width: 280px; margin: 14px 0 24px; font-size: 16px; line-height: 25px; color: var(--c-gray); }
.scard .pill-link { align-self: flex-start; margin-top: auto; }
.scard__link { position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.scard__head, .scard__text, .scard .pill-link { position: relative; z-index: 1; }

/* home: 2×2 wide cards — icon + title on top, the intro, a light panel with the "what's included" list
   (one column, no "?" tooltip) and "Read more" at the bottom of the card. The panel stretches, so in a row of
   cards the panels and the buttons line up. Wide gaps between the cards. About still uses the 4-in-a-row cards above. */
.overview__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.scard--wide { min-height: 0; padding: 40px 44px 44px; }
.scard__top { position: relative; z-index: 1; display: flex; align-items: center; gap: 24px; }
.scard--wide .scard__icon { flex: none; width: 80px; height: 80px; }
.scard--wide .scard__title { max-width: none; font-size: 28px; line-height: 36px; }
.scard__body {
  flex: 1;
  display: grid;
  grid-template-areas: "text" "incl" "more";
  grid-template-rows: auto 1fr auto;
  margin-top: 30px;
}
.scard--wide .scard__text { grid-area: text; max-width: none; margin: 0; font-size: 17px; line-height: 27px; }
.scard__incl {
  grid-area: incl;
  position: relative;
  z-index: 1;
  margin-top: 30px;
  padding: 22px 26px 24px;
  border-radius: var(--r-md);
  background: var(--c-light);
}
.scard--wide .pill-link { grid-area: more; justify-self: start; margin-top: 28px; }
.scard__incl-title { margin: 0; font-size: 15px; line-height: 22px; font-weight: 700; color: var(--c-green-dark); }
.checks { display: grid; gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 36px; font-size: 16px; line-height: 24px; font-weight: 500; }
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1.2 5.3 4.4 8.4 10.8 1.6' fill='none' stroke='%2317222c' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
  box-shadow: inset 0 0 0 1.5px var(--c-green);
}

/* About: the same cards as on the home page, with small differences — the label on the left and the title on the right
   (like "Our specialization"), big light numbers 01–04 in the card corner, shorter intro texts,
   and a "How we work" strip of 4 steps at the end of the section (not on the home page) */
.overview--about .overview__head { display: grid; grid-template-columns: 379px minmax(0, 1fr); gap: 0; }
.overview--about .overview__head .label { margin-top: 10px; }
.overview--about .overview__title { max-width: 980px; }
.scard__num { position: absolute; top: 30px; right: 36px; z-index: 1; font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: -.02em; color: var(--c-ink); opacity: .07; pointer-events: none; transition: opacity .3s var(--ease); }
.scard:hover .scard__num { opacity: .14; }
.overview--about .scard__top { padding-right: 70px; }

.process { margin-top: 88px; }
.overview--about { padding-bottom: 96px; } /* a bit less room under "How we work" */
.process__head { display: flex; justify-content: space-between; align-items: baseline; gap: 40px; }
.process__title { font-size: 28px; line-height: 36px; font-weight: 600; }
.process__lead { max-width: 560px; font-size: 17px; line-height: 27px; color: var(--c-gray); text-align: right; text-wrap: balance; }
.process__steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: none; }
.process__steps::before { content: ''; position: absolute; left: 24px; right: 24px; top: 24px; border-top: 2px dashed rgba(23, 34, 44, .18); }
.process__step { position: relative; }
.process__num { position: relative; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-green); color: var(--c-ink); font-size: 18px; font-weight: 700; box-shadow: 0 0 0 8px var(--c-light); transition: transform .3s var(--ease); }
.process__step:hover .process__num { transform: rotate(-10deg) scale(1.06); }
.process__name { margin-top: 20px; font-size: 20px; line-height: 28px; font-weight: 600; }
.process__text { margin-top: 8px; font-size: 16px; line-height: 25px; color: var(--c-gray); }

/* Services: "Payment integrations" — a quiet extra row under the E-commerce box (no fill, a thin line on top) */
/* About: link to it from the "About Us" text */
.story__link { color: inherit; border-bottom: 1px solid currentColor; transition: color .2s; }
.story__link:hover { color: var(--c-green-dark); }

/* 11. Tasks list ------------------------------------------------------ */
.tasks { padding: 93px 0 98px; }
.tasks__inner {
  display: grid;
  grid-template-columns: 520px minmax(0, 787px);
  justify-content: space-between;
  align-items: start;
}
.tasks__aside { position: sticky; top: 60px; }
.tasks__title { margin-top: 33px; }
.tasks__text { max-width: 380px; margin-top: 21px; }
.tasks__aside .btn { margin-top: 32px; }
.tasks__list { display: grid; gap: 10px; margin-top: 0; }
.task {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 300px;
  align-items: center;
  min-height: 112px;
  padding: 22px 28px 22px 24px;
  border-radius: var(--r-lg);
  background: #fff;
  transition: box-shadow .3s var(--ease);
}
.task:hover { box-shadow: var(--shadow); }
.task__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-tint);
  color: var(--c-green-deep);
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.task:hover .task__num { background: var(--c-green); color: var(--c-ink); transform: rotate(-10deg); }
.task__title { max-width: 315px; font-size: 24px; line-height: 32px; font-weight: 600; }
.task__title--one { line-height: 32px; }
.task__text { max-width: 292px; font-size: 15px; line-height: 23px; color: var(--c-gray); }

/* 12. Works (home) & cases (cases page) ------------------------------- */
.works { padding: 116px 0 97px; }
.works__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 32px;
  align-items: start;
}
.works__head-right { display: flex; justify-content: space-between; gap: 30px; }
.works__text { max-width: 433px; }
.works__head .label { align-self: flex-start; margin-top: 15px; flex: none; }
.works__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 80px;
  margin-top: 62px;
}
/* home: case cards — a white card with a shadow; the picture (site screenshot on a colored background,
   img/works/*-card.webp, 4:3) fills the top of the card edge to edge; then the client name + an italic tagline, a short story and "Case overview"
   (placeholder link for now, see main.js).
   The last cell is the "Plenty more fish in the sea" card with a link to the Cases page. */
.work {
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  overflow: hidden;
  background: var(--c-card);
  box-shadow: var(--shadow);
}
.work[data-anim] {
  transition: opacity 1s var(--ease), transform 1s var(--ease), translate .35s var(--ease), box-shadow .35s var(--ease);
  transition-delay: var(--delay, 0s), var(--delay, 0s), 0s, 0s;
}
.work:hover { translate: 0 -6px; box-shadow: var(--shadow-hover); }
.work__img {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-light);
}
.work__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .6s var(--ease); }
.work:hover .work__img img { transform: scale(1.03); }
.work__body { display: flex; flex: 1; flex-direction: column; padding: 30px 36px 32px; }
.work__title { font-size: 30px; line-height: 38px; font-weight: 600; color: var(--c-ink); }
.work__tagline {
  display: block;
  margin-top: 2px;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 34px;
  color: var(--c-ink);
}
.work__text { max-width: 600px; margin-top: 16px; font-size: 17px; line-height: 27px; color: var(--c-gray); }
.work__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: auto; padding-top: 28px; }

.work-more {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 520px;
  padding: 48px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  box-shadow: var(--shadow);
}
.work-more .bg-video { z-index: -2; }
.work-more::before {   /* deeper water towards the bottom, so the text reads well */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 28, 40, 0) 0%, rgba(2, 22, 32, .55) 55%, rgba(2, 18, 28, .9) 100%);
}
.work-more__inner { position: relative; max-width: 470px; }
.work-more__title { margin-top: 24px; font-size: 44px; line-height: 52px; }
.work-more__text { margin-top: 18px; font-size: 18px; line-height: 28px; color: rgba(255, 255, 255, .82); }
.work-more__btn { margin-top: 32px; }

.contact-card {
  position: relative;
  min-height: 685px;
  padding: 40px 40px 42px;
  border-radius: var(--r-lg);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.contact-card .bg-video { z-index: -1; }
.contact-card__title { margin-top: 33px; }
.contact-card__text { max-width: 399px; margin-top: 20px; }
.contact-card .form { max-width: 460px; margin-top: 30px; }
.contact-card .form--brief { max-width: none; }

/* cases page list */
.cases { padding: 118px 0 40px; }
.cases__head {
  display: grid;
  grid-template-columns: 560px minmax(0, 1fr) auto;
  align-items: start;
}
.cases__text { max-width: 433px; }
.cases__head .label { margin-top: 15px; }
.cases__list { display: grid; gap: 29px; margin-top: 68px; }
.case {
  display: grid;
  grid-template-columns: minmax(0, 682fr) minmax(0, 678fr);
  min-height: 361px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-card);
  box-shadow: var(--shadow);
}
/* card text (since 03.11.2026): year + kicker, client name (link to the case page) + italic tagline,
   a bold lead sentence + gray text, "See case" + the live website link */
.case__body { display: flex; flex-direction: column; padding: 40px 44px 38px; }
.case__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.case__year { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 16px; background: var(--c-dark); color: #fff; font-size: 14px; font-weight: 600; }
.case__kicker { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-gray); }
.case__title { margin-top: auto; padding-top: 34px; font-size: 34px; line-height: 42px; font-weight: 600; letter-spacing: -.01em; color: var(--c-ink); }
.case__title a { transition: color .2s; }
.case__title a:hover { color: var(--c-green-dark); }
.case__tagline { display: block; margin-top: 2px; font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 28px; line-height: 36px; letter-spacing: 0; }
/* a short mint line between the title and the text */
.case__lead { position: relative; max-width: 520px; margin-top: 22px; padding-top: 22px; font-size: 17px; line-height: 26px; font-weight: 600; color: var(--c-ink); }
.case__lead::before { content: ''; position: absolute; left: 0; top: 0; width: 44px; height: 3px; border-radius: 2px; background: var(--c-green); }
.case__text { max-width: 520px; margin-top: 10px; font-size: 16px; line-height: 25px; color: var(--c-gray); }
.case__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.case__more { min-width: 0; transition: box-shadow .25s var(--ease); }
/* hover: only a shadow — no colour change, the button does not grow */
.case__more:hover { gap: 14px; background: var(--c-tint); box-shadow: 0 10px 22px -10px rgba(2, 30, 40, .45); }
/* the live website: globe in a mint circle + domain + small diagonal arrow */
.case__site { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; line-height: 22px; font-weight: 700; color: var(--c-ink); transition: color .2s; }
.case__site-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c-tint); transition: background-color .2s; }
.case__site-icon svg { width: 18px; height: 18px; }
.case__site-text { border-bottom: 2px solid var(--c-green); padding-bottom: 1px; }
.case__site-ext { width: 15px; height: 15px; margin-left: -4px; transition: transform .25s var(--ease); }
.case__site:hover { color: var(--c-green-dark); }
.case__site:hover .case__site-icon { background: var(--c-green); }
.case__site:hover .case__site-ext { transform: translate(2px, -2px); }
.case__media { position: relative; display: block; overflow: hidden; margin: 10px; border-radius: 18px; background: #bbc5cc; }
.case__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
/* round "go to the case" arrow in the water colour */
.case__go {
  position: absolute;
  right: 26px;
  bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(160deg, #24607a 0%, var(--c-azure) 52%, #0c3242 100%);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .55), 0 14px 28px -12px rgba(2, 30, 40, .6);
  transition: box-shadow .3s var(--ease);
}
.case__go svg { width: 26px; height: 26px; }
.case:has(.case__title a:hover) .case__img,
.case:has(.case__more:hover) .case__img,
.case__media:hover .case__img { transform: scale(1.06); }
/* hover: the arrow circle does not grow, only a deeper shadow */
.case:has(.case__title a:hover) .case__go,
.case:has(.case__more:hover) .case__go,
.case__media:hover .case__go { box-shadow: 0 0 0 4px rgba(255, 255, 255, .7), 0 18px 34px -10px rgba(2, 20, 30, .8); }

/* Cases page: filters (year / task / industry) — between the heading and the list, no card (since 02.11).
   Shown only with JS (main.js, section 7d); each .case carries data-year / data-task / data-industry
   (several values — space-separated). Year buttons are built from data-year automatically. */
.cases-filter {
  position: relative;
  display: none;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.js .cases-filter { display: grid; }
.cases-filter__groups { display: grid; gap: 8px; }
.cases-filter__group { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: start; gap: 12px; }
.cases-filter__cap { padding-top: 6px; font-size: 14px; line-height: 22px; font-weight: 700; color: var(--c-green-dark); }
.cases-filter__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.cases-filter__opt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 5px 14px;
  border: 1px solid rgba(23, 34, 44, .1);
  border-radius: 100px;
  background: #fff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--c-ink);
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, opacity .2s;
}
.cases-filter__opt:hover { border-color: var(--c-green-dark); }
.cases-filter__opt[aria-pressed="true"] { background: var(--c-green); border-color: var(--c-green); }
.cases-filter__opt:focus-visible { outline: 2px solid var(--c-green-dark); outline-offset: 2px; }
.cases-filter__opt:disabled { opacity: .4; cursor: default; }
.cases-filter__opt:disabled:hover { border-color: rgba(23, 34, 44, .1); }
/* number of cases for the option (with the other filters applied) */
.cases-filter__n {
  min-width: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: rgba(23, 34, 44, .07);
  font-size: 11.5px;
  line-height: 20px;
  font-weight: 700;
  text-align: center;
}
.cases-filter__opt[aria-pressed="true"] .cases-filter__n { background: rgba(23, 34, 44, .12); }
/* number of cases + "Reset filters" — top right, next to the short "Year" row */
.cases-filter__foot { position: absolute; top: 0; right: 0; display: flex; align-items: baseline; gap: 24px; }
.cases-filter__count { font-size: 14px; line-height: 20px; color: var(--c-gray); }
.cases-filter__count span:first-child { font-size: 26px; line-height: 30px; font-weight: 600; color: var(--c-ink); }
.cases-filter__reset { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--c-ink); border-bottom: 1px solid currentColor; transition: color .2s; }
.cases-filter__reset:hover { color: var(--c-green-dark); }
.cases-filter__reset[hidden] { display: none; }
.cases-filter + .cases__list { margin-top: 36px; }
.case[hidden] { display: none; }
.case.is-shown { animation: case-in .45s var(--ease) both; }
@keyframes case-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* Cases page: the bar under the list — "1–5 of 6 cases" | pagination | "Show 5 / 10 / 20 per page"
   (main.js 7d; 5 per page by default — data-per-page on .cases__list). Shown only with JS.
   The page buttons are hidden while everything fits on one page; the per-page choice always stays. */
.cases-bar { display: none; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px 24px; margin-top: 48px; }
.js .cases-bar { display: grid; }
.js .cases-bar[hidden] { display: none; }
.cases-bar__range { font-size: 14px; line-height: 20px; color: var(--c-gray); white-space: nowrap; }
.cases-pager { display: flex; justify-content: center; grid-column: 2; }
.cases-pager[hidden] { display: none; }
.cases-pager__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cases-pager__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 6px;
  border: 1px solid rgba(23, 34, 44, .1);
  border-radius: 22px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  transition: background-color .2s, border-color .2s, color .2s, opacity .2s;
}
.cases-pager__btn:hover { border-color: var(--c-green-dark); }
.cases-pager__btn:focus-visible { outline: 2px solid var(--c-green-dark); outline-offset: 2px; }
.cases-pager__btn[aria-current="page"] { border-color: transparent; background: linear-gradient(160deg, #24607a 0%, var(--c-azure) 52%, #0c3242 100%); color: #fff; cursor: default; }
.cases-pager__btn:disabled { opacity: .35; cursor: default; }
.cases-pager__btn:disabled:hover { border-color: rgba(23, 34, 44, .1); }
.cases-pager__btn svg { width: 18px; height: 18px; }
.cases-pager__gap { min-width: 24px; text-align: center; color: var(--c-gray); }
.cases-per { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 10px; }
.cases-per__cap { font-size: 14px; line-height: 20px; color: var(--c-gray); white-space: nowrap; }
.cases-per__opts { display: flex; gap: 4px; }
.cases-per__opt {
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(23, 34, 44, .1);
  border-radius: 17px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
  transition: background-color .2s, border-color .2s;
}
.cases-per__opt:hover { border-color: var(--c-green-dark); }
.cases-per__opt[aria-pressed="true"] { background: var(--c-green); border-color: var(--c-green); }
.cases-per__opt:focus-visible { outline: 2px solid var(--c-green-dark); outline-offset: 2px; }
.cases-empty { padding: 56px 24px; border: 1px dashed rgba(23, 34, 44, .18); border-radius: var(--r-lg); text-align: center; }
.cases-empty[hidden] { display: none; }
.cases-empty__title { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--c-ink); }
.cases-empty__text { max-width: 460px; margin: 10px auto 24px; font-size: 16px; line-height: 25px; color: var(--c-gray); }

/* home: final call to action before the footer — a fish in a "water drop" with ripples, an echo of the brand name
   ("the great fish in its pond"), one line of text and a button to the Contacts page */
.finale { padding: 40px 0 150px; text-align: center; }
.finale__inner { display: flex; flex-direction: column; align-items: center; }
.finale__decor { position: relative; width: 84px; height: 84px; margin-bottom: 46px; }
.finale__fish {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(160deg, #24607a 0%, var(--c-azure) 52%, #0c3242 100%);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(2, 30, 40, .5);
}
.finale__fish svg { width: 44px; height: 36px; }
/* one faint still ring + one slow ripple */
.finale__ripple {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(26, 70, 87, .22);
  border-radius: 50%;
  transform: scale(1.4);
}
.finale__ripple:nth-child(2) { border-color: rgba(26, 70, 87, .3); animation: finale-ripple 6s ease-out infinite; }
@keyframes finale-ripple {
  0% { transform: scale(1); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
.finale__title { max-width: 860px; text-wrap: balance; }
.finale__text { max-width: 620px; margin-top: 22px; text-wrap: balance; font-size: 20px; line-height: 31px; color: var(--c-gray); }
.finale__btn { margin-top: 40px; }
/* About: the same final block with small differences — envelope instead of the fish, own text,
   and the email next to the button */
.finale--about { padding-top: 20px; }
.finale--about .finale__fish svg { width: 38px; height: 38px; }
/* Services: the same final block — a stack of layers (all services together) in the water circle, own text,
   "See our work" link next to the button */
.finale--services { padding-top: 20px; }
.finale--services .finale__fish svg { width: 36px; height: 36px; }
/* Cases: the same final block — a browser window with a star in the water circle, own text,
   "Explore solutions" link next to the button */
.finale--cases { padding-top: 20px; }
.finale--cases .finale__fish svg { width: 40px; height: 40px; }
/* Contacts: the same final block without buttons (the form is right above) — a paper plane in the water circle */
.finale--contacts { padding-top: 20px; }
.finale--contacts .finale__fish svg { width: 36px; height: 36px; }
.finale__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 32px; margin-top: 40px; }
.finale__mail { font-size: 17px; line-height: 26px; font-weight: 600; color: var(--c-ink); border-bottom: 1px solid currentColor; transition: color .2s, border-color .2s; }
.finale__mail:hover { color: var(--c-green-dark); }

/* 13. Services page --------------------------------------------------- */
.service-anchors { display: flex; flex-wrap: wrap; gap: 10px; }
.service-anchors a {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 24px;
  border: 1px solid var(--glass-line);
  border-radius: 30px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
  transition: background-color .2s, color .2s, border-color .2s;
}
.service-anchors a:hover { background: #fff; border-color: #fff; color: var(--c-ink); }

/* Website Design & Development: title + lead in one row above the cards; 3 × 2 grid — 5 service cards
   (icon with a soft ring, title, text, short bullet list at the bottom)
   and a water-coloured call-to-action card → contacts.html in the 6th cell */
.sv-design { padding: 150px 0 160px; }
.sv-design__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  align-items: end;
  gap: 24px 60px;
  margin-bottom: 64px;
}
.sv-design__head .lead { padding-bottom: 6px; font-size: 18px; line-height: 29px; color: var(--c-gray); }
.sv-design__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.fcard {
  display: flex;
  flex-direction: column;
  padding: 36px 36px 34px;
  border-radius: var(--r-lg);
  background: var(--c-card);
  box-shadow: var(--shadow);
}
.fcard[data-anim] {
  transition: opacity 1s var(--ease), transform 1s var(--ease), translate .35s var(--ease), box-shadow .35s var(--ease);
  transition-delay: var(--delay, 0s), var(--delay, 0s), 0s, 0s;
}
.fcard:not(.fcard--cta):hover { translate: 0 -6px; box-shadow: var(--shadow-hover); }
.fcard__head { display: flex; align-items: flex-start; }
.fcard__icon {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(103, 239, 165, .16);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.fcard:hover .fcard__icon { transform: rotate(-12deg) scale(1.04); box-shadow: 0 0 0 14px rgba(103, 239, 165, .2); }
.fcard__title { margin-top: 30px; font-size: 23px; line-height: 31px; font-weight: 600; color: var(--c-ink); }
.fcard__text { margin: 12px 0 24px; font-size: 16px; line-height: 26px; font-weight: 500; color: var(--c-gray); }
.fcard__list {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(23, 34, 44, .09);
  list-style: none;
}
.fcard__list li { position: relative; padding-left: 30px; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--c-ink); }
.fcard__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1.2 5.3 4.4 8.4 10.8 1.6' fill='none' stroke='%2317222c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat;
}
/* the 6th cell: call to action on the water */
.fcard--cta {
  position: relative;
  overflow: hidden;
  justify-content: flex-end;
  min-height: 420px;
  padding: 40px 38px 40px;
  background:
    linear-gradient(180deg, rgba(3, 28, 40, .35) 0%, rgba(2, 22, 32, .75) 45%, rgba(2, 20, 30, .94) 100%),
    url('../img/sea.webp') center top / cover no-repeat,
    var(--c-sea);
  color: #fff;
}
.fcard__kicker { font-size: 15px; line-height: 22px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.fcard__cta-title { margin-top: 12px; font-size: 30px; line-height: 38px; font-weight: 600; text-wrap: balance; }
.fcard__cta-text { margin-top: 14px; font-size: 16px; line-height: 25px; color: rgba(255, 255, 255, .78); }
.fcard__btn { align-self: flex-start; margin-top: 28px; }

/* Branding & Graphic Design (dark water panel): on the left the title, the lead and a decorative "brand kit"
   (no background: two "Aa" font samples, the fish from the logo and 4 round colour swatches under a thin line);
   on the right 3 glass cards: round mint icon | title, text and a 2-column list */
.sv-brand { padding: 120px 0 120px; }
.sv-brand__inner { display: grid; grid-template-columns: 500px minmax(0, 1fr); gap: 60px; align-items: start; }
.sv-brand__intro .lead { max-width: 460px; margin-top: 20px; font-size: 18px; line-height: 29px; }
.brand-kit { max-width: 420px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--glass-line); }
.brand-kit__type { display: flex; gap: 40px; }
.brand-kit__font { display: flex; flex-direction: column; gap: 8px; }
.brand-kit__aa { font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -.02em; color: rgba(255, 255, 255, .9); }
.brand-kit__font--accent .brand-kit__aa { font-family: var(--font-accent); font-style: italic; font-weight: 400; }
.brand-kit__font--mark .brand-kit__aa { display: flex; align-items: center; height: 1em; }
.brand-kit__font--mark svg { width: auto; height: .92em; transition: transform .6s var(--ease); }
.brand-kit:hover .brand-kit__font--mark svg { transform: translateX(6px); }
.brand-kit__cap { font-size: 13px; line-height: 18px; font-weight: 600; color: rgba(255, 255, 255, .5); }
.brand-kit__swatches { display: flex; gap: 22px; margin-top: 28px; }
.brand-kit__sw { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11.5px; line-height: 16px; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .5); }
.brand-kit__sw i { display: block; width: 40px; height: 40px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }

.sv-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 26px; }
.sv-item__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-green);
  color: var(--c-ink);
  transition: transform .45s var(--ease);
}
.sv-item__icon svg { width: 28px; height: 28px; }
.sv-item:hover .sv-item__icon { transform: rotate(-12deg) scale(1.05); }
.sv-item__title { padding-top: 10px; font-size: 24px; line-height: 32px; font-weight: 600; }
.sv-item__text { margin-top: 12px; font-size: 16px; line-height: 26px; font-weight: 500; color: var(--c-gray); }
.sv-item__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 22px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--glass-line); }
.sv-item__list li { position: relative; padding-left: 28px; font-size: 15px; line-height: 22px; font-weight: 600; }
.sv-item__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1.2 5.3 4.4 8.4 10.8 1.6' fill='none' stroke='%2317222c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 8px no-repeat;
}

/* Website Maintenance & Support: centred title + lead, 2 × 2 grid of white cards (icon on the left | title, text,
   small "tag" pills at the bottom — tags instead of the check lists used in the other blocks), then a slim CTA bar → contacts.html */
.sv-support { padding: 130px 0 140px; }
.sv-support__head { max-width: 780px; margin: 0 auto; text-align: center; }
.sv-support__head .lead { margin-top: 22px; font-size: 18px; line-height: 29px; color: var(--c-gray); }
.sv-support__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1120px;
  margin: 60px auto 0;
}
.mcard {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 24px;
  padding: 34px 34px 32px 30px;
  border-radius: var(--r-lg);
  background: var(--c-card);
  box-shadow: var(--shadow);
}
.mcard[data-anim] {
  transition: opacity 1s var(--ease), transform 1s var(--ease), translate .35s var(--ease), box-shadow .35s var(--ease);
  transition-delay: var(--delay, 0s), var(--delay, 0s), 0s, 0s;
}
.mcard:hover { translate: 0 -6px; box-shadow: var(--shadow-hover); }
.mcard__icon { width: 60px; height: 60px; border-radius: 50%; transition: transform .45s var(--ease); }
.mcard:hover .mcard__icon { transform: rotate(-12deg) scale(1.05); }
.mcard__body { display: flex; flex-direction: column; }
.mcard__title { padding-top: 13px; font-size: 22px; line-height: 30px; font-weight: 600; color: var(--c-ink); }
.mcard__text { margin-top: 12px; font-size: 16px; line-height: 26px; font-weight: 500; color: var(--c-gray); }
.mcard__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 22px 0 0; list-style: none; }
.mcard__tags li { padding: 6px 14px; border: 1px solid rgba(23, 34, 44, .08); border-radius: 100px; background: var(--c-light); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--c-ink); }
/* closing line of the block: no frame, centred — a big phrase with an underlined link → contacts.html */
.sv-support__cta { max-width: 1120px; margin: 72px auto 0; text-align: center; }
.sv-support__cta-title { max-width: 760px; margin: 0 auto; font-size: 32px; line-height: 42px; font-weight: 600; color: var(--c-ink); text-wrap: balance; }
.sv-support__cta-title .accent { white-space: nowrap; }
.sv-support__link { display: inline-flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--c-green); color: var(--c-ink); white-space: nowrap; transition: color .25s var(--ease), border-color .25s var(--ease); }
.sv-support__link svg { width: 24px; height: 12px; flex: none; transition: transform .3s var(--ease); }
.sv-support__link:hover { color: var(--c-green-dark); border-color: var(--c-green-dark); }
.sv-support__link:hover svg { transform: translateX(4px); }

.sv-shop { padding: 88px 0 99px; }
.sv-shop .lead { margin-top: 20px; }
.sv-shop__box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px 22px;
  margin-top: 45px;
  padding: 40px;
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(3, 28, 40, .45) 0%, rgba(2, 20, 30, .88) 100%),
    url('../img/sea.webp') center top / cover no-repeat,
    var(--c-sea);
}
/* E-commerce: glass cards on the water panel. Each card: a short white bar + small tag, title, a white lead sentence,
   the text and a "What's included" row; a click on the card unfolds the list below (main.js, section 11; without JS
   the list is simply shown). The cards are aligned to the top of their row, so only the opened card grows.
   #payments (the payment card) is linked from About — opening the page with this hash unfolds that card. */
.ecard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 30px 30px 26px;
  border-radius: var(--r-lg);
  background: #fff;
  color: var(--c-ink);
  scroll-margin-top: 40px;
}
.ecard[data-expand] { cursor: pointer; }
.ecard__tag { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.ecard__tag::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .55); transition: width .4s var(--ease); }
.ecard:hover .ecard__tag::before,
.ecard.is-open .ecard__tag::before { width: 44px; }
.ecard__title { margin-top: 20px; font-size: 23px; line-height: 31px; font-weight: 600; }
.ecard__lead { margin-top: 14px; font-size: 17px; line-height: 25px; font-weight: 600; }
.ecard__text { margin: 8px 0 24px; font-size: 15.5px; line-height: 24px; font-weight: 500; color: var(--c-gray); }
.ecard__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: auto;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid var(--glass-line);
  background: none;
  color: inherit;
  font: inherit;
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.ecard__toggle i { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; transition: transform .4s var(--ease), background-color .3s, color .3s, border-color .3s; }
.ecard__toggle svg { width: 14px; height: 14px; }
.ecard:hover .ecard__toggle i { border-color: #fff; }
.ecard.is-open .ecard__toggle i { transform: rotate(45deg); background: #fff; border-color: #fff; color: var(--c-ink); }
.ecard__toggle:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }
.ecard__more { display: grid; grid-template-rows: 1fr; }
.js .ecard__more { grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.js .ecard.is-open .ecard__more { grid-template-rows: 1fr; }
.ecard__more-inner { min-height: 0; overflow: hidden; }
.ecard__list { display: grid; gap: 10px; margin: 0; padding: 18px 0 2px; list-style: none; }
.ecard__list li { position: relative; padding-left: 20px; font-size: 15px; line-height: 22px; font-weight: 500; color: rgba(255, 255, 255, .85); }
.ecard__list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .6); }
/* the one light card: "Didn't find the service you need?" */
.ecard--accent {
  overflow: hidden;
  justify-content: flex-end;
  padding: 34px 32px 32px;
  background: #fff;
  color: var(--c-ink);
}
.ecard__q { position: absolute; top: -34px; right: 18px; font-family: var(--font-accent); font-style: italic; font-size: 220px; line-height: 1; color: var(--c-azure); opacity: .1; pointer-events: none; }
.ecard--accent .ecard__title { position: relative; margin: 0; font-size: 30px; line-height: 38px; text-wrap: balance; }
.ecard__note { position: relative; margin-top: 14px; font-size: 16px; line-height: 25px; font-weight: 500; color: var(--c-gray); }
.ecard__link { position: relative; display: inline-flex; align-items: center; align-self: flex-start; gap: 10px; margin-top: 22px; padding-bottom: 2px; border-bottom: 2px solid var(--c-green); font-size: 16px; line-height: 24px; font-weight: 700; color: var(--c-ink); transition: color .25s var(--ease), border-color .25s var(--ease); }
.ecard__link svg { width: 22px; height: 10px; transition: transform .3s var(--ease); }
.ecard__link:hover { color: var(--c-green-dark); border-color: var(--c-green-dark); }
.ecard__link:hover svg { transform: translateX(4px); }

/* 14. Inner pages ----------------------------------------------------- */
.page-hero {
  margin-top: var(--panel-gap);
  padding-top: 144px;
  overflow: hidden;
}
.bg-video--page::after { background: linear-gradient(0deg, rgba(3, 30, 42, .86) 0%, rgba(3, 30, 42, .55) 55%, rgba(3, 30, 42, .3) 100%); }
.page-hero__title { margin-top: 28px; }
.page-hero--about { min-height: 436px; padding-bottom: 106px; }
.page-hero--about .container { position: relative; }
.page-hero__mark { position: absolute; top: 26px; right: var(--gutter); width: 288px; height: 225px; }
.page-hero__text { max-width: 1014px; margin-top: 23px; font-size: 18px; line-height: 29px; color: rgba(255, 255, 255, .82); }
/* Services: more room between the header menu and the breadcrumbs */
.page-hero.page-hero--services { padding-top: 176px; }
.page-hero--services { padding-bottom: 112px; }
.page-hero--services .service-anchors { margin-top: 30px; }
.page-hero--short { padding-bottom: 92px; }
/* Cases: only breadcrumbs in the hero — they sit lower, closer to the bottom edge */
.page-hero.page-hero--cases { padding-top: 210px; padding-bottom: 60px; }
/* Tasks page: breadcrumbs and the task list share one water block */
.page-hero.tasks--page { padding-top: 144px; padding-bottom: 110px; }
.tasks--page > .bg-video--page::after { background: linear-gradient(180deg, rgba(3, 30, 42, .45) 0%, rgba(2, 22, 32, .8) 30%, rgba(2, 20, 30, .92) 100%); }
.tasks--page .tasks__inner { margin-top: 53px; }
.page-hero--contacts { padding-bottom: 92px; }
.page-hero--contacts .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.contact-boxes { display: flex; gap: 23px; padding-top: 9px; }
.contact-box {
  display: flex;
  flex-direction: column;
  width: 318px;
  min-height: 160px;
  padding: 20px 26px 22px;
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color .3s, border-color .3s;
}
.contact-box:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); }
.contact-box__label { font-size: 14px; line-height: 20px; letter-spacing: .4px; text-transform: uppercase; opacity: .6; }
.contact-box__value { margin-top: 6px; font-size: 22px; line-height: 34px; font-weight: 600; white-space: nowrap; }
a.contact-box__value:hover { opacity: .8; }
.contact-box .ext-link { align-self: flex-start; margin-top: auto; padding-top: 14px; }


/* specialization statement */
.spec { padding: 80px 0 66px; }
.page-hero--about + .spec { padding-top: 114px; } /* About: more room under the water block */
.spec__inner { display: grid; grid-template-columns: 379px minmax(0, 1fr); }
.spec__inner .label { margin-top: 10px; }
.spec__text { font-size: 38px; line-height: 51px; font-weight: 600; }
.spec__text span { color: var(--c-green-dark); }

/* works carousel */
.carousel { position: relative; padding: 0 0 36px; background: var(--c-light); }
.carousel__viewport { max-width: 1160px; margin: 0 auto; overflow: hidden; }
.carousel__track { display: flex; transition: transform .5s var(--ease); }
.carousel__slide { flex: 0 0 25%; padding: 0 20px; }
.carousel__img { aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--r-md); background: var(--c-light); }
.carousel__img img { width: 100%; height: 100%; object-fit: cover; }
.carousel__arrow {
  position: absolute;
  top: calc(50% - 18px);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-green);
  transform: translateY(-50%);
  transition: background-color .2s, transform .2s;
}
.carousel__arrow:hover { background: #8af5bb; }
.carousel__arrow svg { width: 10px; height: 18px; }
.carousel__arrow--prev { left: 30px; }
.carousel__arrow--prev svg { transform: scaleX(-1); }
.carousel__arrow--next { right: 30px; }

/* About: big cards like the cases on the home page (fill + long site screenshot, 10:13), 3 per view on desktops.
   The arrows keep the original look and sit outside the cards; the cards are as wide as the container
   when there is room for the arrows beside it, otherwise they move in just enough (--side). */
.carousel--cards { padding: 6px 0 34px; overflow-x: clip; }
.carousel--cards .carousel__inner {
  --arrow: 40px;          /* original arrow size */
  --arrow-gap: 40px;      /* arrow ↔ card */
  --arrow-edge: 12px;     /* arrow ↔ screen edge (minimum) */
  --side: max(var(--gutter), calc(var(--arrow) + var(--arrow-gap) + var(--arrow-edge) - max(0px, (100vw - var(--container)) / 2)));
  position: relative;
  display: flow-root;     /* the viewport's negative margins must not leak out (arrows stay centred on the cards) */
  padding-left: var(--side);
  padding-right: var(--side);
}
.carousel--cards .carousel__viewport { max-width: none; margin: -16px -24px -44px; padding: 16px 24px 44px; } /* room for the card shadows */
.carousel--cards .carousel__track { gap: 32px; }
.carousel--cards .carousel__slide { flex: 0 0 calc((100% - 64px) / 3); padding: 0; }
.carousel--cards .carousel__img { aspect-ratio: 10 / 13; border-radius: var(--r-lg); background: #e6ecea; box-shadow: var(--shadow); }
.carousel--cards .carousel__img img { object-position: 50% 0; }
.carousel--cards .carousel__arrow { top: 50%; }
.carousel--cards .carousel__arrow--prev { left: calc(var(--side) - var(--arrow-gap) - var(--arrow)); }
.carousel--cards .carousel__arrow--next { right: calc(var(--side) - var(--arrow-gap) - var(--arrow)); }

.request-row { padding: 47px 0 65px; }
.carousel--cards + .request-row { padding-bottom: 105px; } /* About: more room before the next section */
.request-row__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.request-row__text { max-width: 1054px; font-size: 18px; line-height: 29px; font-weight: 500; }
.request-row .btn { flex: none; margin-top: 1px; }

/* about: belief block */
.belief { padding: 50px 0 60px; }
.belief__quote { position: relative; font-size: 46px; line-height: 62px; font-weight: 600; }
.belief__quote .label { position: absolute; left: 0; top: 16px; }
.belief__line { display: block; }
.belief__line--1 { padding-left: 222px; }
.belief__line--3 { text-align: right; color: var(--c-green-dark); }
.belief__row { display: grid; grid-template-columns: 600px minmax(0, 1fr); column-gap: 22px; align-items: start; margin-top: 39px; }
.belief__divider { position: relative; height: 1px; margin-top: 14px; background: var(--c-ink); }
.belief__divider img { position: absolute; left: 30px; top: -19px; width: 50px; height: 39px; will-change: transform; } /* swims along the line on scroll (main.js, 7b) */
.belief__text { max-width: 467px; font-size: 18px; line-height: 29px; font-weight: 500; }
.cta-box {
  position: relative;
  min-height: 312px;
  margin-top: 52px;
  padding: 78px 40px 60px;
  border-radius: var(--r-xl);
  overflow: hidden;
  color: #fff;
  text-align: center;
  isolation: isolate;
}
.cta-box .bg-video { z-index: -1; }
.cta-box__title { max-width: 900px; margin: 0 auto; font-size: 48px; line-height: 60px; font-weight: 600; text-wrap: balance; }
.cta-box__text { max-width: 600px; margin: 16px auto 0; font-size: 20px; line-height: 31px; color: rgba(255, 255, 255, .82); text-wrap: balance; }
.cta-box__actions { position: relative; display: inline-flex; margin-top: 34px; }
.cta-box__btn { min-width: 280px; height: 65px; }
.cta-box__note { margin-top: 22px; font-size: 16px; line-height: 25px; color: rgba(255, 255, 255, .8); }
.cta-box__note a { color: #fff; border-bottom: 1px solid currentColor; transition: opacity .2s; }
.cta-box__note a:hover { opacity: .75; }
.cta-box__arrow { position: absolute; left: calc(100% + 29px); top: -19px; width: 22px; height: 50px; }

/* contact block (form + video card) */
.contact-block { padding: 93px 0 97px; }
.contact-block__inner { display: grid; grid-template-columns: minmax(0, 660px) minmax(0, 634px); justify-content: space-between; }
.contact-block__title { margin-top: 32px; font-size: 38px; line-height: 48px; color: var(--c-ink); }
.contact-block__text { margin-top: 20px; color: var(--c-ink); }
.contact-block .form { margin-top: 26px; }
.contact-block .form .check { color: var(--c-ink); }
/* About: "About Us" story text instead of the form (the studio card on the right stays) */
.contact-block--story .contact-block__inner { align-items: center; }
.contact-block--story .contact-block__title .accent { white-space: nowrap; }
.story__text { margin-top: 24px; }
.story__text p { font-size: 18px; line-height: 29px; color: var(--c-ink); }
.story__text p + p { margin-top: 16px; }
.story__text strong { font-weight: 700; }
.studio-card {
  position: relative;
  align-self: start;
  height: 513px;
  margin-top: 57px;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
}
.studio-card .bg-video { z-index: -1; }
.studio-card .brand-title { position: absolute; left: 66px; top: 47px; }
.studio-card .stat--1 { left: 136px; top: 269px; }
.studio-card .stat--2 { left: 342px; top: 311px; }

/* legal / 404 pages */
.legal { padding: 70px 0 100px; }
.legal__body { max-width: 860px; }
.legal__body h2 { margin-top: 40px; font-size: 26px; line-height: 36px; font-weight: 600; }
.legal__body p, .legal__body li { margin-top: 14px; font-size: 17px; line-height: 28px; }
.legal__body ul { padding-left: 22px; list-style: disc; }
.legal__body a { color: var(--c-green-dark); text-decoration: underline; }
.legal__updated { margin-top: 10px; color: var(--c-gray); font-size: 15px; }
.not-found { display: flex; align-items: center; min-height: calc(100vh - 2 * var(--panel-gap)); min-height: calc(100svh - 2 * var(--panel-gap)); margin: var(--panel-gap) var(--panel-gap) var(--panel-gap); padding: 140px 0 80px; text-align: center; }
.not-found .container { display: flex; flex-direction: column; align-items: center; }
.not-found .not-found__code { margin: 0; font-family: var(--font-accent); font-style: italic; font-size: 160px; line-height: 1; color: #fff; }
.not-found p { max-width: 520px; margin-top: 18px; font-size: 18px; line-height: 28px; color: rgba(255, 255, 255, .78); }
.not-found .btn { margin-top: 34px; }

/* "Back to top" button (created by main.js): water-azure circle with a white arrow, bottom right */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(160deg, #24607a 0%, var(--c-azure) 45%, #0c3242 100%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .85), 0 10px 24px -6px rgba(2, 30, 40, .45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.to-top.is-visible:hover { transform: translateY(-3px); }
.to-top svg { width: 17px; height: 10px; margin-top: -2px; fill: #fff; }
.to-top:focus-visible { outline: 2px solid var(--c-azure); outline-offset: 4px; }

/* Tasks (Solutions) page ----------------------------------------------
   The water block with the task list stays as it was (.tasks--page);
   below it: "Where to start" (situations), Industries (water panel),
   tasks in real projects (cases), SEO text + studio card, final block. */
.tasks .task { column-gap: 24px; } /* longer task titles must not touch the description column (home + Solutions) */
.task__link { color: inherit; border-bottom: 1px solid rgba(255, 255, 255, .5); transition: border-color .2s, color .2s; }
.task__link:hover { color: #fff; border-color: #fff; }

/* section head: title on the left, lead (or a link) on the right */
.ts-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  align-items: end;
  gap: 24px 60px;
  margin-bottom: 64px;
}
.ts-head__title { margin-top: 28px; }
.ts-head .lead { padding-bottom: 6px; font-size: 18px; line-height: 29px; color: var(--c-gray); }
.section--sea .ts-head .lead { color: rgba(255, 255, 255, .72); }
.ts-head--link { grid-template-columns: minmax(0, 1fr) auto; }
.ts-head--link .pill-link { margin-bottom: 6px; }

/* text link with a mint underline and an arrow */
.ts-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--c-green);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--c-ink);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.ts-link svg { width: 22px; height: 10px; flex: none; transition: transform .3s var(--ease); }
.ts-link:hover { color: var(--c-green-dark); border-color: var(--c-green-dark); }
.ts-link:hover svg { transform: translateX(4px); }

/* "Where to start": four situations, white cards 2 × 2 */
.ts-start { padding: 150px 0 150px; }
.ts-start__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.ts-path {
  display: flex;
  flex-direction: column;
  padding: 40px 44px 38px;
  border-radius: var(--r-lg);
  background: var(--c-card);
  box-shadow: var(--shadow);
}
.ts-path[data-anim],
.ts-case[data-anim] {
  transition: opacity 1s var(--ease), transform 1s var(--ease), translate .35s var(--ease), box-shadow .35s var(--ease);
  transition-delay: var(--delay, 0s), var(--delay, 0s), 0s, 0s;
}
.ts-path:hover,
.ts-case:hover { translate: 0 -6px; box-shadow: var(--shadow-hover); }
.ts-path__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--c-green);
  color: var(--c-ink);
  box-shadow: 0 0 0 8px rgba(103, 239, 165, .16);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.ts-path__icon svg { width: 30px; height: 30px; }
.ts-path:hover .ts-path__icon { transform: rotate(-12deg) scale(1.04); box-shadow: 0 0 0 14px rgba(103, 239, 165, .2); }
.ts-path__title { margin-top: 30px; font-size: 28px; line-height: 36px; font-weight: 600; color: var(--c-ink); }
.ts-path__text { margin: 14px 0 28px; font-size: 16px; line-height: 26px; font-weight: 500; color: var(--c-gray); }
.ts-path__route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: auto;
  padding: 24px 0 28px;
  border-top: 1px solid rgba(23, 34, 44, .09);
}
.ts-path__cap { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-gray); }
.ts-route { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; padding: 0; list-style: none; }
.ts-route li { display: flex; align-items: center; gap: 10px; }
.ts-route li:not(:last-child)::after {
  content: '';
  width: 18px;
  height: 10px;
  flex: none;
  background: rgba(23, 34, 44, .35);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 10'%3E%3Cpath d='M0 5h20.5M16.5 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 10'%3E%3Cpath d='M0 5h20.5M16.5 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ts-route a {
  display: block;
  padding: 6px 14px;
  border: 1px solid rgba(23, 34, 44, .08);
  border-radius: 100px;
  background: var(--c-light);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--c-ink);
  white-space: nowrap;
  transition: background-color .25s, border-color .25s;
}
.ts-route a:hover { background: var(--c-tint); border-color: transparent; }

/* Industries: dark water panel with glass cards */
.ts-fields { padding: 120px 0 124px; }
.ts-fields__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ts-field {
  display: flex;
  flex-direction: column;
  padding: 32px 30px 30px;
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  transition: background-color .3s, border-color .3s, opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: 0s, 0s, var(--delay, 0s), var(--delay, 0s);
}
.ts-field:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .24); }
.ts-field__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-green);
  color: var(--c-ink);
  transition: transform .45s var(--ease);
}
.ts-field__icon svg { width: 28px; height: 28px; }
.ts-field:hover .ts-field__icon { transform: rotate(-12deg) scale(1.05); }
.ts-field__title { margin-top: 26px; font-size: 22px; line-height: 30px; font-weight: 600; }
.ts-field__text { margin: 10px 0 24px; font-size: 15.5px; line-height: 24px; font-weight: 500; color: rgba(255, 255, 255, .7); }
.ts-field__list { display: grid; gap: 10px; margin: auto 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .13); list-style: none; }
.ts-field__list li { position: relative; padding-left: 20px; font-size: 15px; line-height: 22px; font-weight: 500; color: rgba(255, 255, 255, .88); }
.ts-field__list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .6); }
/* under the industry cards: "Work with us" (popup) + a short call to action, no divider line */
.ts-fields__cta {
  display: flex;
  align-items: center;
  gap: 20px 36px;
  margin-top: 48px;
  padding-top: 44px;
}
.ts-fields__cta .btn { flex: none; }
.ts-fields__cta-text { max-width: 620px; font-size: 18px; line-height: 29px; color: rgba(255, 255, 255, .72); }
.ts-fields__cta-text strong { font-weight: 700; color: #fff; }

/* Tasks in real projects: case cards "task → solution" */
.ts-cases { padding: 140px 0 120px; }
.ts-cases__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.ts-case {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  background: var(--c-card);
  box-shadow: var(--shadow);
}
.ts-case__img { aspect-ratio: 16 / 9; overflow: hidden; background: #e6ecea; }
.ts-case__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .6s var(--ease); }
.ts-case:hover .ts-case__img img { transform: scale(1.03); }
.ts-case__body { display: flex; flex: 1; flex-direction: column; padding: 30px 36px 34px; }
.ts-case__kicker { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-gray); }
.ts-case__title { margin-top: 8px; font-size: 28px; line-height: 36px; font-weight: 600; color: var(--c-ink); }
.ts-case__steps { display: grid; gap: 14px; margin: 22px 0 28px; }
.ts-case__steps > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; }
.ts-case__steps dt {
  justify-self: start;
  margin-top: 1px;
  padding: 3px 11px;
  border-radius: 100px;
  background: var(--c-tint);
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-ink);
}
.ts-case__steps div + div dt { background: var(--c-azure); color: #fff; }
.ts-case__steps dd { margin: 0; font-size: 16px; line-height: 25px; font-weight: 500; color: var(--c-gray); }
.ts-case__steps div + div dd { color: var(--c-ink); }
.ts-case .ts-link { margin-top: auto; }

/* SEO text: the list of website types as small pills */
.ts-types { margin-top: 30px; }
.ts-types__cap { font-size: 15px; line-height: 22px; font-weight: 700; color: var(--c-green-dark); }
.ts-types__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.ts-types__list li { padding: 6px 14px; border: 1px solid rgba(23, 34, 44, .08); border-radius: 100px; background: #fff; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--c-ink); }

/* final block: a checklist instead of the fish */
.finale--tasks { padding-top: 20px; }
.finale--tasks .finale__fish svg { width: 36px; height: 36px; }

/* 15. Scroll animations ---------------------------------------------- */
[data-anim] { transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-anim]:not(.is-in) { opacity: 0; }
.js [data-anim='up']:not(.is-in) { transform: translateY(60px); }
.js [data-anim='left']:not(.is-in) { transform: translateX(-60px); }
.js [data-anim='right']:not(.is-in) { transform: translateX(60px); }
.js [data-anim='zoom']:not(.is-in) { transform: scale(.85); }

/* Elements on the dark water panels: translucent "glass" cards, white text, mint buttons */
.section--sea .task {
  border: 1px solid var(--glass-line);
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  transition: background-color .3s, border-color .3s;
}
.section--sea .task:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .24); box-shadow: none; }
.section--sea .task__num { background: var(--c-azure); color: #fff; }
.section--sea .task:hover .task__num { background: #fff; color: var(--c-ink); }
.section--sea .task__text { color: rgba(255, 255, 255, .7); }
.section--sea .tasks__text,
.section--sea .lead { color: rgba(255, 255, 255, .78); }
/* Branding: the two services as glass cards */
.section--sea .sv-brand__list { display: grid; gap: 16px; }
.section--sea .sv-item { padding: 34px 36px 34px 32px; border: 1px solid var(--glass-line); border-radius: var(--r-lg); background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .3s, border-color .3s, opacity 1s var(--ease), transform 1s var(--ease); transition-delay: 0s, 0s, var(--delay, 0s), var(--delay, 0s); }
.section--sea .sv-item:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }
.section--sea .sv-item__text { color: rgba(255, 255, 255, .72); }
.section--sea .sv-item__list li { color: rgba(255, 255, 255, .9); }
.section--sea .ext-link,
.page-hero .ext-link,
.footer .ext-link { color: #fff; }
.section--sea .ext-link:hover,
.page-hero .ext-link:hover,
.footer .ext-link:hover { color: #fff; opacity: .75; }
/* e-commerce box */
.sv-shop__box .ecard:not(.ecard--accent) { border: 1px solid var(--glass-line); background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; transition: background-color .3s, border-color .3s, opacity 1s var(--ease), transform 1s var(--ease); transition-delay: 0s, 0s, var(--delay, 0s), var(--delay, 0s); }
.sv-shop__box .ecard:not(.ecard--accent):hover,
.sv-shop__box .ecard.is-open { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .24); }
.sv-shop__box .ecard:not(.ecard--accent) .ecard__text { color: rgba(255, 255, 255, .7); }

.scard[data-anim] {
  transition: opacity 1s var(--ease), transform 1s var(--ease), translate .35s var(--ease), box-shadow .35s var(--ease);
  transition-delay: var(--delay, 0s), var(--delay, 0s), 0s, 0s;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-anim]:not(.is-in) { opacity: 1; transform: none; }
  .finale__ripple:nth-child(2) { transform: scale(1.75); opacity: .5; }
}

/* 16. Responsive ------------------------------------------------------ */
@media (max-width: 1399px) {
  .hero__inner { column-gap: 90px; }
  .hero__lead { font-size: 32px; line-height: 48px; }
  .header__nav { gap: 32px; }
  .tasks__inner { grid-template-columns: 440px minmax(0, 787px); column-gap: 40px; }
  .task { grid-template-columns: 70px minmax(0, 1fr) 270px; }
  .cases__head { grid-template-columns: 500px minmax(0, 1fr) auto; }
  .spec__inner { grid-template-columns: 300px minmax(0, 1fr); }
  .belief__quote { font-size: 42px; line-height: 58px; }
  .belief__line--1 { padding-left: 222px; }
  .overview--about .overview__head { grid-template-columns: 300px minmax(0, 1fr); }
}

/* the big footer email must not run past the right edge on narrower screens */
@media (max-width: 1399px) {
  .footer__big { font-size: 20px; }
}
@media (max-width: 1299px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr) 250px minmax(0, 1fr); }
  .footer__right { grid-template-columns: 150px minmax(0, 1fr); padding-left: 40px; }
}
@media (max-width: 1039px) {
  .footer__big { font-size: 18px; }
}

@media (max-width: 1199px) {
  .sv-support__cta-title { font-size: 28px; line-height: 38px; }
  :root { --gutter: 30px; }
  .h2 { font-size: 36px; line-height: 46px; }
  .h2-lg { font-size: 42px; line-height: 52px; }
  .h1 { font-size: 46px; line-height: 64px; }
  .header__nav { gap: 20px; }
  .header__nav a { font-size: 15px; }
  .header__cta, .header__cta--sm { min-width: 0; padding: 0 26px; }
  .header__right { gap: 18px; }
  .header__email { font-size: 14px; }
  .header__logo { width: 170px; }

  .hero { min-height: 770px; }
  .hero__inner { grid-template-columns: 420px minmax(0, 1fr); column-gap: 50px; padding-top: 196px; }
  .hero__left { height: 368px; }
  .brand-title { transform: scale(.83); transform-origin: left top; }
  .stat--1 { left: 58px; top: 190px; width: 140px; height: 126px; }
  .stat--2 { left: 230px; top: 224px; width: 146px; height: 124px; }
  .hero .stat--1 { left: 29px; top: 190px; width: 162px; height: 146px; }
  .hero .stat--2 { left: 223px; top: 224px; width: 169px; height: 144px; }
  .hero__right { padding-top: 10px; }
  .hero__lead { font-size: 28px; line-height: 42px; }
  .hero__text { font-size: 18px; line-height: 28px; }

  .overview__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .overview__grid--2 { gap: 40px; }
  .scard { min-height: 360px; }
  .scard__text { max-width: 360px; }
  .scard--wide { min-height: 0; padding: 34px 32px; }
  .scard__top { gap: 20px; }
  .scard--wide .scard__icon { width: 68px; height: 68px; }
  .scard--wide .scard__title { font-size: 25px; line-height: 33px; }
  .scard__body { margin-top: 26px; }
  .scard--wide .scard__text { font-size: 16px; line-height: 26px; }
  .scard__incl { margin-top: 26px; }

  .tasks__inner { grid-template-columns: minmax(0, 1fr); row-gap: 50px; }
  .tasks__aside { position: static; }
  .tasks__text { max-width: 520px; }

  .works__head { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .work__title { font-size: 26px; line-height: 34px; }
  .work__tagline { font-size: 23px; line-height: 30px; }
  .work__text { font-size: 16px; line-height: 26px; }
  .work-more { padding: 40px; }
  .work-more__title { font-size: 38px; line-height: 46px; }

  .cases__head { grid-template-columns: minmax(0, 1fr) auto; row-gap: 20px; }
  .case__body { padding: 34px 34px 32px; }
  .case__title { font-size: 30px; line-height: 38px; }
  .case__tagline { font-size: 25px; line-height: 33px; }
  .cases__text { grid-column: 1 / -1; grid-row: 2; }

  .sv-design { padding: 130px 0 140px; }
  .sv-design__head { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); margin-bottom: 52px; }
  .sv-design__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .fcard--cta { min-height: 0; }
  .sv-brand__inner { grid-template-columns: 380px minmax(0, 1fr); gap: 40px; }
  .brand-kit__aa { font-size: 42px; }
  .sv-item__list { grid-template-columns: minmax(0, 1fr); }
  .sv-support { padding: 120px 0 130px; }
  .sv-support__grid { gap: 24px; }
  .sv-shop__box { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 30px; }

  .spec__inner { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .spec__inner .label { margin: 0; }
  .spec__text { font-size: 32px; line-height: 44px; }
  .carousel__viewport { max-width: calc(100% - 140px); }
  .carousel__slide { padding: 0 12px; }
  .carousel--cards .carousel__track { gap: 24px; }
  .carousel--cards .carousel__viewport { margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; } /* less than the gap: the next card must not peek out */
  .carousel--cards .carousel__slide { flex-basis: calc((100% - 48px) / 3); }

  .belief__quote { font-size: 36px; line-height: 50px; }
  .belief__line--1 { padding-left: 216px; }
  .belief__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

  .contact-block__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
  .studio-card { height: auto; aspect-ratio: 634 / 513; }
  .studio-card .brand-title { left: 10%; top: 9%; transform: scale(.8); transform-origin: left top; }
  .studio-card .stat--1 { left: 21%; top: 52%; }
  .studio-card .stat--2 { left: 54%; top: 60%; }

  .page-hero--contacts .container { grid-template-columns: minmax(0, 1fr); }
  .contact-boxes { margin-top: 30px; padding-top: 0; }
  .page-hero__mark { width: 200px; height: 156px; }
  .page-hero__text { max-width: calc(100% - 230px); }

  .footer__grid { grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr); }
  .footer__right { grid-template-columns: 120px minmax(0, 1fr); padding-left: 20px; }
  .footer__btn { min-width: 0; width: 100%; max-width: 240px; }
  .hero__actions { gap: 14px; }
  .hero__btn { width: 210px; }
  .footer__big { font-size: 20px; }
  .overview--about .overview__head { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .overview--about .overview__head .label { margin: 0; }
  .scard__num { top: 26px; right: 28px; font-size: 48px; }
  .process__steps { gap: 24px; }
}

@media (max-width: 979px) {
  .sv-support__grid { gap: 20px; }
  .mcard { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 20px; padding: 30px 28px 28px; }
  .mcard__title { padding-top: 0; }
  .sv-design { padding: 120px 0 120px; }
  .sv-design__head { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 40px; }
  .sv-design__head .lead { max-width: 560px; padding: 0; }
  .sv-design__grid { gap: 20px; }
  .fcard { padding: 30px 28px 30px; }
  .fcard--cta { padding: 34px 28px; }
  .fcard__cta-title { font-size: 26px; line-height: 34px; }
  :root { --gutter: 24px; }
  .header__nav, .header__cta, .header__right { display: none; }
  .header__inner { height: 96px; }
  .header__logo { left: var(--gutter); width: 160px; transform: translateY(-50%); }
  .burger { display: block; top: calc(var(--panel-gap) + 24px); right: calc(var(--panel-gap) + 14px); }

  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); padding-top: 156px; padding-bottom: 90px; }
  .hero__left { width: 505px; max-width: 100%; height: 435px; margin: 0 auto; }
  .brand-title { transform: none; }
  .stat--1 { left: 70px; top: 222px; width: 166px; height: 149px; }
  .stat--2 { left: 276px; top: 264px; width: 174px; height: 147px; }
  .hero .stat--1 { left: 35px; top: 222px; width: 192px; height: 172px; }
  .hero .stat--2 { left: 265px; top: 264px; width: 202px; height: 171px; }
  .hero__right { padding-top: 20px; text-align: center; }
  .hero__lead, .hero__text { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }

  .overview__head { flex-direction: column-reverse; align-items: center; text-align: center; gap: 24px; }
  .overview__head .label { margin: 0; align-self: center; }
  .overview__grid--2 { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .works__head-right { flex-direction: column-reverse; }
  .works__grid { column-gap: 28px; row-gap: 52px; }
  .contact-card { grid-column: 1 / -1; min-height: 0; }
  .work { border-radius: 22px; }
  .work__body { padding: 22px 22px 24px; }
  .work__title { font-size: 22px; line-height: 29px; }
  .work__tagline { font-size: 20px; line-height: 26px; }
  .work__text { margin-top: 12px; font-size: 15.2px; line-height: 23.4px; }
  .work__actions { gap: 14px 24px; padding-top: 22px; }
  .work-more { min-height: 0; padding: 30px 26px; border-radius: 22px; }
  .work-more__title { margin-top: 18px; font-size: 30px; line-height: 37px; }
  .work-more__text { font-size: 15.2px; line-height: 23.4px; }
  .work-more__btn { margin-top: 24px; }
  .contact-card .form { max-width: 520px; }

  .case { grid-template-columns: minmax(0, 1fr); }
  .case__media { order: 2; min-height: 0; aspect-ratio: 678 / 361; }
  .case__body { padding: 30px 30px 32px; }
  .case__title { padding-top: 26px; }
  .cases-filter { margin-top: 40px; }
  .cases-filter__foot { position: static; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--c-line); }

  .sv-brand__inner { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .sv-item__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-shop__box { grid-template-columns: minmax(0, 1fr); }
  .ecard { min-height: 0; }

  .belief__line--1 { padding-left: 0; padding-top: 64px; }
  .belief__quote .label { top: 0; left: 0; }
  .belief__row { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .cta-box__arrow { display: none; }
  .cta-box__title { font-size: 40px; line-height: 50px; }
  .cta-box__text { font-size: 18px; line-height: 28px; }

  .contact-block__inner { grid-template-columns: minmax(0, 1fr); row-gap: 30px; text-align: center; }
  .contact-block .form { text-align: left; }
  .contact-block .label { justify-content: center; }
  .contact-block--story .story { text-align: left; }
  .contact-block--story .label { justify-content: flex-start; }
  .studio-card { margin-top: 0; max-width: 634px; width: 100%; justify-self: center; }
  .page-hero__mark { position: static; width: 120px; height: 94px; margin-bottom: 10px; }
  .page-hero__text { max-width: none; }

  .footer { padding: 80px 0 72px; }
  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "logo"
      "tagline"
      "btn"
      "right";
    grid-template-rows: none;
    max-width: 560px;
  }
  .footer__right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); margin-top: 43px; padding-left: 0; }
  .footer__tagline { justify-self: center; max-width: 330px; margin-top: 17px; text-align: center; }
  .footer__btn { justify-self: stretch; width: 100%; max-width: none; margin-top: 29px; }
  .footer__logo { max-width: 260px; }
  .footer__address { margin-top: 30px; }
  .footer__privacy { margin-top: 0; }

  /* About carousel: 2 cards per view */
  .carousel--cards .carousel__slide { flex-basis: calc((100% - 24px) / 2); }
  /* About: services head stays left-aligned; steps 2 × 2 */
  .overview--about .overview__head { text-align: left; align-items: start; }
  .overview--about .overview__head .label { align-self: start; }
  .process { margin-top: 56px; }
  .process__head { flex-direction: column; gap: 10px; }
  .process__lead { text-align: left; }
  .process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .process__steps::before { display: none; }
}

@media (max-width: 639px) {
  /* sizes below match the original mobile layout at 375px width */
  :root { --gutter: 23px; --panel-gap: 8px; --r-xl: 24px; --r-lg: 20px; }
  body { font-size: 16px; }
  .h1 { font-size: 33px; line-height: 50px; }
  .h2 { font-size: 28px; line-height: 35px; }
  .h2-lg { font-size: 28px; line-height: 35px; }
  .h3 { font-size: 26px; line-height: 33px; }
  .lead { font-size: 16px; line-height: 25px; }
  .label { gap: 11px; font-size: 19px; line-height: 26px; }
  .label::before { width: 40px; height: 32px; }
  .breadcrumbs { font-size: 15px; line-height: 23px; gap: 12px; }
  .notch { width: 48px; height: 48px; box-shadow: 0 0 0 6px var(--c-light); }
  .btn { min-width: 0; width: 100%; height: 64px; font-size: 17px; }
  .ext-link { font-size: 17px; }

  /* hero */
  .hero__inner { padding-top: 150px; padding-bottom: 112px; }
  .hero__left { width: 328px; height: 302px; margin: 0 auto 0 0; }
  .brand-title { width: 328px; height: 170px; }
  .brand-title__1 { top: 10px; font-size: 73px; line-height: 73px; }
  .brand-title__2 { top: 91px; font-size: 64px; line-height: 64px; letter-spacing: -.3px; }
  .hero .stat--1 { left: 4px; top: 146px; width: 141px; height: 127px; }
  .hero .stat--2 { left: 169px; top: 177px; width: 147px; height: 124px; }
  .hero__right { padding-top: 80px; }
  .hero__lead { font-size: 25.5px; line-height: 37.5px; }
  .hero__text { margin-top: 18px; font-size: 15.2px; line-height: 23.4px; }
  .hero__actions { flex-direction: column; gap: 16px; margin-top: 30px; }
  .hero__btn { width: 100%; height: 64px; }

  /* forms */
  .form__input { height: 58px; font-size: 17px; }
  .phone-wrap { height: 58px; }
  .phone__code { font-size: 17px; }
  textarea.form__input { height: 100px; }
  .check { font-size: 15px; line-height: 19px; }
  .form__submit { height: 65px; margin-top: 28px; font-size: 18px; }
  .chip span { min-height: 36px; padding: 7px 13px; font-size: 14px; }
  .form__reveal .form__input { height: 50px; font-size: 16px; }
  .form__select { padding-right: 40px; }
  .select::after { right: 18px; }
  .form__step[data-step="1"] { gap: 28px; }
  .form__nav { flex-direction: column-reverse; align-items: stretch; gap: 10px; margin-top: 24px; }
  .form__back { justify-content: center; }
  .intro-steps { padding: 0 20px; }
  .intro-steps__item { gap: 16px; padding: 20px 0; }
  .intro-steps__num { min-width: 30px; font-size: 30px; }
  .intro-steps__title { font-size: 16px; }
  .intro-steps__text { font-size: 14.5px; line-height: 21px; }
  .form__intro-foot { flex-direction: column; align-items: stretch; margin-top: 24px; }
  .form__intro-time { justify-content: center; }

  /* services overview */
  .overview { padding: 88px 0 80px; }
  .overview__head { gap: 22px; }
  .overview__grid { grid-template-columns: minmax(0, 1fr); gap: 23px; margin-top: 36px; }
  .scard { min-height: 0; padding: 22px 20px 24px 22px; }
  .scard__head { margin-top: 22px; }
  .scard__title { max-width: 270px; font-size: 21px; line-height: 29px; }
  .scard__title--tight { max-width: 200px; line-height: 27px; }
  .scard__text { max-width: 280px; font-size: 15.2px; line-height: 23.4px; }
  .scard .pill-link { margin-top: 24px; }
  .scard--wide { padding: 26px 22px 28px; }
  .scard__top { gap: 16px; }
  .scard--wide .scard__icon { width: 60px; height: 60px; }
  .scard--wide .scard__title { font-size: 21px; line-height: 28px; }
  .scard__body { margin-top: 20px; }
  .scard--wide .scard__text { font-size: 15.2px; line-height: 23.4px; }
  .scard__incl { margin-top: 20px; padding: 18px 18px 20px; }
  .scard__incl-title { font-size: 14px; line-height: 20px; }
  .checks { gap: 10px; margin-top: 12px; }
  .checks li { padding-left: 32px; font-size: 15px; line-height: 22px; }
  .checks li::before { width: 22px; height: 22px; background-size: 10px; }
  .pill-link { min-width: 214px; height: 52px; border-radius: 26px; font-size: 18px; }
  .tip__box { right: -8px; width: 260px; }

  /* tasks */
  .tasks { padding: 70px 0 85px; }
  .tasks__inner { row-gap: 45px; }
  .tasks__title { margin-top: 26px; font-size: 33px; line-height: 41px; }
  .tasks__text { margin-top: 25px; font-size: 16.4px; line-height: 25.8px; }
  .tasks__aside .btn { display: none; }
  .tasks__list { margin-top: 0; }
  .task { grid-template-columns: 56px minmax(0, 1fr); align-items: start; min-height: 0; padding: 20px 20px 22px 16px; }
  .task__num { grid-row: 1 / 3; width: 40px; height: 40px; font-size: 15px; }
  .task__title, .task__title--one { max-width: 290px; font-size: 23.4px; line-height: 31.6px; }
  .task__title--one { line-height: 36px; }
  .task__title br { display: none; }
  .task__text { max-width: 290px !important; margin-top: 12px; font-size: 15.2px; line-height: 23.4px; }
  .tasks__more { display: flex !important; height: 70px; margin-top: 30px; }

  /* final call to action */
  .finale { padding: 30px 0 110px; }
  .finale__decor { width: 72px; height: 72px; margin-bottom: 40px; }
  .finale__fish svg { width: 38px; height: 31px; }
  .finale__text { margin-top: 16px; font-size: 16px; line-height: 25px; }
  .finale__btn { margin-top: 30px; }
  .finale__actions { flex-direction: column; gap: 18px; margin-top: 30px; }
  .finale__mail { font-size: 16px; }
  .finale--about .finale__fish svg { width: 32px; height: 32px; }
  .finale--services .finale__fish svg { width: 30px; height: 30px; }
  .finale--cases .finale__fish svg { width: 34px; height: 34px; }
  .finale--contacts .finale__fish svg { width: 30px; height: 30px; }

  /* works */
  .works { padding: 95px 0 96px; }
  .works__head { row-gap: 16px; }
  .works__head .h2 { font-size: 29px; line-height: 36px; }
  .works__head-right { gap: 30px; }
  .works__text { font-size: 15.2px; line-height: 23.4px; }
  .works__grid { grid-template-columns: minmax(0, 1fr); row-gap: 44px; margin-top: 38px; }
  .work__body { padding: 22px 22px 24px; }
  .work__title { font-size: 21px; line-height: 28px; }
  .work__tagline { font-size: 20px; line-height: 26px; }
  .work__actions .pill-link { min-width: 0; }
  .work-more { min-height: 340px; padding: 30px 22px 28px; }
  .contact-card { padding: 36px 24px 28px; text-align: center; }
  .contact-card .label { justify-content: center; }
  .contact-card__title { margin-top: 22px; }
  .contact-card__text { max-width: 260px; margin: 16px auto 0; font-size: 15.2px; line-height: 23.4px; }
  .contact-card .form { margin-top: 30px; text-align: left; }
  .contact-card .form__submit, .contact-block .form__submit, .popup .form__submit { width: 100%; }

  /* cases page */
  .cases { padding: 79px 0 24px; }
  .cases__head { grid-template-columns: minmax(0, 1fr); }
  .cases__head .h2 { font-size: 29px; line-height: 36px; }
  .cases__head .label { grid-row: 1; margin: 0 0 30px; }
  .cases__text { grid-row: auto; font-size: 15.2px; line-height: 23.4px; }
  .cases__list { gap: 29px; margin-top: 52px; }
  .case__body { padding: 24px 22px 24px; }
  .case__meta { gap: 8px 12px; }
  .case__year { height: 28px; padding: 0 12px; font-size: 13px; }
  .case__kicker { font-size: 11.5px; line-height: 16px; }
  .case__media { margin: 8px; border-radius: 14px; aspect-ratio: 328 / 216; }
  .case__title { padding-top: 20px; font-size: 25px; line-height: 32px; }
  .case__tagline { font-size: 21px; line-height: 28px; }
  .case__lead { margin-top: 16px; padding-top: 16px; font-size: 15.5px; line-height: 23.5px; }
  .case__lead::before { width: 36px; }
  .case__text { margin-top: 8px; font-size: 15.2px; line-height: 23.4px; }
  .case__actions { gap: 16px 20px; margin-top: 22px; }
  .case__site { font-size: 15px; }
  .case__actions .pill-link { min-width: 0; padding: 0 30px; }
  .case__site-icon { width: 30px; height: 30px; }
  .case__go { right: 14px; bottom: 14px; width: 52px; height: 52px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .55), 0 10px 20px -10px rgba(2, 30, 40, .6); }
  .case__go svg { width: 22px; height: 22px; }
  .cases-filter { gap: 14px; margin-top: 32px; }
  .cases-filter__groups { gap: 12px; }
  .cases-filter__group { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cases-filter__cap { padding: 0; font-size: 13.5px; }
  /* options in one row that scrolls sideways */
  .cases-filter__opts { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); scrollbar-width: none; scroll-padding: 0 var(--gutter); }
  .cases-filter__opts::-webkit-scrollbar { display: none; }
  .cases-filter__opt { flex: none; min-height: 34px; padding: 5px 13px; font-size: 13.5px; }
  .cases-filter__foot { padding-top: 12px; }
  .cases-filter__count span:first-child { font-size: 22px; line-height: 26px; }
  .cases-filter + .cases__list { margin-top: 24px; }
  .cases-bar { grid-template-columns: minmax(0, 1fr) auto; gap: 18px 16px; margin-top: 36px; }
  .cases-pager { grid-column: 1 / -1; grid-row: 1; }
  .cases-per { grid-column: 2; }
  .cases-per { gap: 8px; }
  .cases-per__cap + .cases-per__opts + .cases-per__cap { display: none; }
  .cases-per__opt { min-width: 36px; }
  .cases-pager__list { gap: 6px; }
  .cases-pager__btn { min-width: 40px; height: 40px; font-size: 14px; }
  .cases-empty { padding: 40px 20px; }
  .cases-empty__title { font-size: 20px; line-height: 28px; }

  /* services page */
  .service-anchors { gap: 7px; }
  .service-anchors a { height: 38px; padding: 0 12px; font-size: 10.5px; }
  .page-hero--services { padding-bottom: 88px; }
  .page-hero--short, .page-hero--contacts { padding-bottom: 72px; }
  .page-hero--services .service-anchors { margin-top: 24px; }
  .page-hero.page-hero--cases { padding-top: 170px; padding-bottom: 52px; }
  .sv-design { padding: 120px 0 104px; }
  .sv-design__head { grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: 36px; text-align: center; }
  .sv-design__head .lead { max-width: 340px; margin: 17px auto 0; padding: 0; font-size: 16px; line-height: 25px; }
  .sv-design__head br { display: none; }
  .sv-design__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fcard { padding: 26px 22px 26px; }
  .fcard__icon { width: 52px; height: 52px; box-shadow: 0 0 0 6px rgba(103, 239, 165, .16); }
  .fcard__title { margin-top: 22px; font-size: 20px; line-height: 28px; }
  .fcard__text { margin: 10px 0 20px; font-size: 15.2px; line-height: 23.4px; }
  .fcard__list { padding-top: 20px; }
  .fcard__list li { font-size: 14.5px; line-height: 21px; }
  .fcard--cta { padding: 32px 22px 30px; }
  .fcard__cta-title { font-size: 25px; line-height: 32px; }
  .fcard__cta-text { font-size: 15.2px; line-height: 23.4px; }
  .sv-brand { padding: 108px 0 96px; }
  .sv-brand__intro .lead { margin-top: 24px; font-size: 16px; line-height: 25px; }
  .brand-kit { margin-top: 32px; padding-top: 24px; }
  .brand-kit__type { gap: 32px; }
  .brand-kit__aa { font-size: 38px; }
  .brand-kit__swatches { gap: 14px; margin-top: 22px; }
  .brand-kit__sw { font-size: 10px; }
  .brand-kit__sw i { width: 34px; height: 34px; }
  .section--sea .sv-item { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 22px 26px; }
  .sv-item__icon { width: 48px; height: 48px; }
  .sv-item__icon svg { width: 22px; height: 22px; }
  .sv-item__title { padding-top: 0; font-size: 21px; line-height: 29px; }
  .sv-item__text { margin-top: 10px; font-size: 15.2px; line-height: 23.4px; }
  .sv-item__list { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; padding-top: 18px; text-align: left; }
  .sv-item__list li { font-size: 14.5px; line-height: 21px; }
  .sv-support { padding: 120px 0 104px; }
  .sv-support__head .lead { margin-top: 18px; font-size: 16px; line-height: 25px; }
  .sv-support__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 36px; }
  .mcard { gap: 16px; padding: 26px 22px 26px; }
  .mcard__icon { width: 52px; height: 52px; }
  .mcard__title { font-size: 20px; line-height: 28px; }
  .mcard__text { margin-top: 10px; font-size: 15.2px; line-height: 23.4px; }
  .mcard__tags { gap: 6px; padding-top: 18px; }
  .mcard__tags li { padding: 5px 12px; font-size: 13px; line-height: 18px; }
  .sv-support__cta { margin-top: 52px; }
  .sv-support__cta-title { font-size: 23px; line-height: 32px; }
  .sv-shop { padding: 108px 0 90px; text-align: center; }
  .sv-shop .lead { max-width: 309px; margin: 14px auto 0; }
  .sv-shop__box { gap: 10px; margin: 39px -11px 0; padding: 12px; border-radius: var(--r-lg); text-align: left; }
  .ecard { min-height: 0; padding: 22px 20px 20px; border-radius: 16px; }
  .ecard__title { margin-top: 16px; font-size: 20px; line-height: 28px; }
  .ecard__lead { margin-top: 10px; font-size: 16px; line-height: 23px; }
  .ecard__text { font-size: 15.2px; line-height: 23px; }
  .ecard__text { margin-bottom: 20px; }
  .ecard__toggle { padding-top: 16px; }
  .ecard__list li { font-size: 14.5px; line-height: 21px; }
  .ecard--accent { padding: 28px 22px 26px; }
  .ecard--accent .ecard__title { font-size: 24px; line-height: 31px; }
  .ecard__q { top: -22px; font-size: 160px; }

  /* inner pages */
  .page-hero { padding-top: 116px; }
  .page-hero.tasks--page { padding-top: 116px; }
  .page-hero.page-hero--services { padding-top: 140px; }
  .page-hero__title { margin-top: 34px; }
  .page-hero--about { padding-bottom: 94px; }
  .page-hero__mark { position: absolute; top: -14px; right: var(--gutter); width: 63px; height: 49px; margin: 0; }
  .page-hero__text { margin-top: 20px; font-size: 15.2px; line-height: 24.6px; }
  .page-hero--contacts .page-hero__title { margin-top: 39px; }
  .contact-boxes { flex-direction: column; gap: 18px; margin: 28px -5px 0; }
  .contact-box { width: auto; min-height: 0; padding: 16px 20px 18px; border-radius: 18px; }
  .contact-box__label { font-size: 13px; }
  .contact-box__value { font-size: 21px; line-height: 33px; }
  .spec { padding: 100px 0 43px; }
  .page-hero--about + .spec { padding-top: 120px; }
  .spec__inner .label { margin-left: 0; }
  .spec__text { font-size: 23.4px; line-height: 31.6px; }
  .carousel__viewport { max-width: calc(100% - 110px); }
  .carousel__slide { flex-basis: 100%; padding: 0 6px; }
  .carousel__arrow { width: 26px; height: 26px; }
  .carousel__arrow svg { width: 7px; height: 12px; }
  .carousel__arrow--prev { left: 5px; }
  .carousel__arrow--next { right: 5px; }
  .carousel--cards { padding-bottom: 26px; }
  .carousel--cards .carousel__track { gap: 16px; }
  .carousel--cards .carousel__viewport { margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; }
  .carousel--cards .carousel__slide { flex-basis: 100%; }
  .carousel--cards .carousel__img { border-radius: var(--r-lg); }
  .carousel--cards .carousel__inner { --arrow: 26px; --arrow-gap: 18px; --arrow-edge: 6px; } /* original mobile arrows (26px) */
  .request-row { padding: 35px 0 63px; }
  .carousel--cards + .request-row { padding-bottom: 93px; }
  .request-row__inner { flex-direction: column; align-items: center; gap: 25px; text-align: center; }
  .request-row__text { font-size: 15.2px; line-height: 23.4px; }
  .request-row .btn { width: 298px; height: 64px; font-size: 17.5px; }
  .belief { padding: 76px 0 60px; }
  .belief__quote { font-size: 28px; line-height: 37.5px; }
  .belief__quote .label { left: 0; }
  .belief__line--1 { padding-top: 80px; }
  .belief__line--3 { margin-top: 22px; }
  .br-m { display: inline; }
  .belief__row { row-gap: 52px; margin-top: 73px; }
  .belief__divider { margin-top: 20px; }
  .belief__divider img { left: 36px; top: -21px; width: 54px; height: 42px; }
  .belief__text { font-size: 16.4px; line-height: 25.8px; }
  .cta-box { min-height: 0; margin-top: 51px; padding: 70px 24px 62px; }
  .cta-box__title { max-width: 290px; margin: 0 auto; font-size: 27px; line-height: 35px; }
  .cta-box__text { max-width: 290px; margin-top: 12px; font-size: 15.2px; line-height: 23.4px; }
  .cta-box__actions { display: flex; margin-top: 32px; }
  .cta-box__btn { width: 100%; min-width: 0; height: 64px; }
  .cta-box__note { max-width: 260px; margin: 18px auto 0; font-size: 15.2px; line-height: 23.4px; }
  .contact-block { padding: 88px 0 65px; }
  .contact-block__title { max-width: 300px; margin: 32px auto 0; font-size: 33px; line-height: 41px; }
  .contact-block__text { margin-top: 20px; font-size: 16.4px; line-height: 25.8px; }
  .contact-block .form { margin-top: 30px; }
  .contact-block--story .contact-block__title { margin-left: 0; }
  .story__text p { font-size: 16.4px; line-height: 25.8px; }
  .studio-card { height: 488px; aspect-ratio: auto; }
  .studio-card .brand-title { left: 30px; top: 120px; width: 328px; height: 170px; transform: scale(.83); transform-origin: left top; }
  .studio-card .brand-title__1 { top: 10px; font-size: 73px; line-height: 73px; }
  .studio-card .brand-title__2 { top: 91px; font-size: 64px; line-height: 64px; }
  .studio-card .stat--1 { left: 24px; top: 239px; width: 131px; height: 116px; }
  .studio-card .stat--2 { left: 168px; top: 272px; width: 137px; height: 115px; }
  .popup { padding: 60px 12px 30px; }
  .popup__dialog { padding: 58px 20px 30px; border-radius: 24px; }
  .popup__close { top: 12px; right: 12px; }
  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
  .popup__text { font-size: 15.2px; line-height: 23.4px; }

  .ecard__title, .ecard__text, .fcard__text, .mcard__text { max-width: none !important; }

  /* footer */
  .footer { padding: 76px 0 64px; }
  .footer__right { grid-template-columns: 139px minmax(0, 1fr); }
  .footer__logo { max-width: 220px; }
  .footer__tagline { max-width: 320px; font-size: 13px; line-height: 20px; }
  .footer__btn { height: 59px; }
  .footer__caption { font-size: 16.4px; line-height: 25.8px; }
  .footer__links { margin-top: 17px; }
  .footer__links li + li { margin-top: 12px; }
  .footer__links a { font-size: 16.4px; line-height: 25.8px; }
  .footer__big { font-size: 18.75px; line-height: 29px; }
  .footer__email .footer__big { margin-top: 8px; font-size: 16.4px; line-height: 25.8px; }
  .footer__email .ext-link { margin-top: 8px; }
  .footer__address { font-size: 14px; line-height: 22px; }
  .footer__privacy { font-size: 16.4px; line-height: 25.8px; }
  .scard__num { top: 22px; right: 20px; font-size: 40px; }
  .overview--about .scard__top { padding-right: 48px; }
  .process { margin-top: 48px; }
  .overview--about { padding-bottom: 76px; }
  .process__title { font-size: 23px; line-height: 30px; }
  .process__lead { font-size: 15.2px; line-height: 23.4px; }
  .process__steps { grid-template-columns: minmax(0, 1fr); row-gap: 22px; margin-top: 26px; }
  .process__step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; }
  .process__num { grid-row: span 2; width: 44px; height: 44px; font-size: 16px; }
  .process__name { margin-top: 0; font-size: 18px; line-height: 26px; }
  .process__text { margin-top: 2px; font-size: 15.2px; line-height: 23.4px; }
}

/* elements shown only on small screens */
.tasks__more { display: none; }
.br-m { display: none; }

/* Tasks (Solutions) page — responsive */
@media (max-width: 1199px) {
  .ts-head { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); margin-bottom: 52px; }
  .ts-head--link { grid-template-columns: minmax(0, 1fr) auto; }
  .ts-start { padding: 130px 0 130px; }
  .ts-start__grid { gap: 24px; }
  .ts-path { padding: 34px 32px 32px; }
  .ts-path__title { font-size: 25px; line-height: 33px; }
  .ts-fields { padding: 110px 0 114px; }
  .ts-fields__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ts-cases { padding: 130px 0 110px; }
  .ts-cases__grid { gap: 32px; }
  .ts-case__body { padding: 26px 28px 30px; }
  .ts-case__title { font-size: 25px; line-height: 33px; }
  .ts-case__steps > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (max-width: 979px) {
  .ts-head,
  .ts-head--link { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 40px; }
  .ts-head .lead { max-width: 560px; padding: 0; }
  .ts-head--link .pill-link { justify-self: start; margin: 0; }
  .ts-start { padding: 120px 0 120px; }
  .ts-start__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ts-fields { padding: 100px 0 104px; }
  .ts-fields__grid { gap: 16px; }
  .ts-field { padding: 28px 24px 26px; }
  .ts-cases { padding: 120px 0 100px; }
  .ts-cases__grid { gap: 20px; }
  .ts-case { border-radius: 22px; }
  .ts-case__body { padding: 22px 22px 24px; }
  .ts-case__title { font-size: 22px; line-height: 29px; }
  .ts-case__steps dd { font-size: 15.2px; line-height: 23.4px; }
  .ts-fields__cta { gap: 18px 28px; margin-top: 40px; padding-top: 36px; }
  .ts-fields__cta-text { font-size: 16.4px; line-height: 26px; }
}
@media (max-width: 639px) {
  .ts-head { margin-bottom: 32px; }
  .ts-head__title { margin-top: 22px; }
  .ts-head .lead { font-size: 16px; line-height: 25px; }
  .ts-start { padding: 110px 0 96px; }
  .ts-path { padding: 26px 22px 26px; }
  .ts-path__icon { width: 52px; height: 52px; box-shadow: 0 0 0 6px rgba(103, 239, 165, .16); }
  .ts-path__icon svg { width: 26px; height: 26px; }
  .ts-path__title { margin-top: 24px; font-size: 21px; line-height: 29px; }
  .ts-path__text { margin: 10px 0 22px; font-size: 15.2px; line-height: 23.4px; }
  .ts-path__route { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 0 24px; }
  .ts-route, .ts-route li { gap: 6px; }
  .ts-route li:not(:last-child)::after { width: 14px; }
  .ts-route a { padding: 5px 11px; font-size: 13px; line-height: 19px; }
  .ts-fields { margin-left: 0; margin-right: 0; padding: 90px 0 92px; border-radius: var(--r-lg); }
  .ts-fields__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ts-field { padding: 24px 22px 24px; border-radius: 16px; }
  .ts-field__icon { width: 48px; height: 48px; }
  .ts-field__icon svg { width: 24px; height: 24px; }
  .ts-field__title { margin-top: 20px; font-size: 20px; line-height: 28px; }
  .ts-cases { padding: 104px 0 90px; }
  .ts-cases__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ts-types__list li { font-size: 13.5px; }
  .finale--tasks .finale__fish svg { width: 30px; height: 30px; }
  .ts-fields__cta { flex-direction: column; align-items: stretch; margin-top: 32px; padding-top: 30px; }
  .ts-fields__cta .btn { width: 100%; min-width: 0; }
  .ts-fields__cta-text { font-size: 15.2px; line-height: 23.4px; }
}
