/* devdream.io */

/* ---------- Czcionki (pliki lokalne, licencja OFL w assets/fonts) ---------- */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin.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: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-500-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-500-latin.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;
}

/* ---------- Zmienne: kolory z logo, układ ---------- */

:root {
  --bg: #131335;
  --bg-deep: #0d0d28;
  --surface: #1a1a43;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f4f4fb;
  --muted: #a9a9c9;
  --accent: #ff1200;
  --accent-text: #ff5a4c;
  --on-accent: #131335;
  --product: #33733f;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;

  --container: 1160px;
  --gutter: clamp(20px, 4vw, 32px);
  --header-h: 72px;
  --radius: 8px;
  --radius-sm: 4px;
}

/* ---------- Podstawy ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
ul,
dl,
dd {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--bg);
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

.eyebrow {
  font: 500 0.78rem/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.accent {
  color: var(--accent);
}

/* ---------- Przyciski ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: 600 1rem/1.2 var(--font);
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}

.btn--primary:hover {
  background: #ff3b2c;
  box-shadow: 0 0 32px rgba(255, 18, 0, 0.35);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.btn--small {
  padding: 10px 18px;
  font-size: 0.92rem;
}

/* ---------- Nagłówek ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(19, 19, 53, 0.72);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__mark {
  width: auto;
  height: 38px;
}

.brand__word {
  width: auto;
  height: 17px;
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 9vw, 120px)) 0 clamp(56px, 8vw, 112px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.16) 1px, transparent 0);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 74% 46%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 75% at 74% 46%, #000 10%, transparent 72%);
}

.hero::after {
  top: 50%;
  right: max(-200px, calc(50% - 780px));
  width: 720px;
  height: 720px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(255, 18, 0, 0.17), transparent 62%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

h1 {
  margin-top: 20px;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lead {
  max-width: 58ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__logo img {
  width: min(100%, 440px);
  margin-inline: auto;
}

/* ---------- Pasek faktów ---------- */

.proof {
  border-block: 1px solid var(--line);
  background: var(--bg-deep);
}

.proof__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof__grid > div {
  padding: 36px 32px;
  border-left: 1px solid var(--line);
}

.proof__grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.proof dt {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.proof dd {
  max-width: 32ch;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.98rem;
}

.sectors {
  padding: 18px 0 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 500 0.76rem/1.9 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sectors span {
  margin-right: 14px;
  color: var(--accent-text);
}

/* ---------- Sekcje ---------- */

.section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.section--alt {
  border-block: 1px solid var(--line);
  background: var(--bg-deep);
}

.section__head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

h2 {
  margin-top: 14px;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section__head .section__intro {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.1rem;
}

/* ---------- Usługi ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), rgba(26, 26, 67, 0.5));
  transition: border-color 0.25s, transform 0.25s;
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  transition: color 0.25s, background-color 0.25s;
}

.card:hover .card__icon {
  background: rgba(255, 18, 0, 0.12);
  color: var(--accent-text);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__no {
  position: absolute;
  top: 30px;
  right: 28px;
  color: rgba(255, 255, 255, 0.3);
  font: 500 0.75rem/1 var(--mono);
  letter-spacing: 0.1em;
}

.card h3 {
  margin-top: 22px;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.97rem;
}

.card .card__stack {
  margin-top: auto;
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.6);
  font: 500 0.76rem/1.6 var(--mono);
  letter-spacing: 0.04em;
}

/* ---------- Technologie ---------- */

.tech {
  padding: 30px 0 34px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.tech__label {
  color: var(--muted);
  text-align: center;
}

.tech__viewport {
  margin-top: 20px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.tech__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.tech__viewport:hover .tech__track {
  animation-play-state: paused;
}

.tech__list {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.tech__list li {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.68);
  font: 500 0.92rem/1 var(--mono);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.tech__list li::after {
  content: "";
  width: 5px;
  height: 5px;
  margin: 0 26px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Realizacje ---------- */

.work {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.work__card {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.work__card--wide {
  grid-column: span 4;
}

.work__card h3 {
  margin-top: 14px;
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.work__card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.97rem;
}

.work__card .work__label {
  margin-top: 0;
  color: var(--accent-text);
  font: 500 0.74rem/1.5 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}

.chips li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.74);
  font: 500 0.74rem/1.4 var(--mono);
  letter-spacing: 0.03em;
}

.work__card--featured {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  grid-column: 1 / -1;
  min-height: 470px;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 100% 100%, rgba(51, 115, 63, 0.45), transparent 62%),
    var(--surface);
}

.work__body {
  display: flex;
  flex-direction: column;
  padding: 44px;
}

.work__card--featured h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.work__card--featured h3 img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.work__card--featured .work__desc {
  margin-top: 18px;
  font-size: 1.04rem;
}

.work__card--featured .chips {
  margin-top: 0;
  padding-top: 24px;
}

.work__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding: 28px 0 3px;
  border-bottom: 1px solid var(--accent);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.work__link:hover {
  color: var(--accent-text);
}

.work__link svg {
  width: 16px;
  height: 16px;
}

.work__shots {
  position: relative;
}

.work__shots img {
  position: absolute;
  width: 44%;
  border: 5px solid #0a0a1f;
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 60px rgba(0, 0, 0, 0.5);
}

.work__shots img:first-child {
  top: 52px;
  left: 6%;
  transform: rotate(-5deg);
}

.work__shots img:last-child {
  top: 108px;
  left: 46%;
  transform: rotate(4deg);
}

/* ---------- Kontakt ---------- */

.contact {
  position: relative;
  overflow: hidden;
}

.contact::after {
  content: "";
  position: absolute;
  right: -220px;
  bottom: -320px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(255, 18, 0, 0.14), transparent 62%);
  pointer-events: none;
}

.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "intro form"
    "company form";
  align-items: start;
  gap: 40px clamp(32px, 6vw, 80px);
}

.contact__intro {
  grid-area: intro;
}

.contact__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 32px;
}

.contact__link {
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent);
  color: var(--text);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

.contact__link:hover {
  color: var(--accent-text);
}

.contact__note {
  margin-top: 20px;
  color: var(--muted);
}

.company,
.contact-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(26, 26, 67, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.company {
  grid-area: company;
}

.company h3,
.contact-form h3 {
  color: var(--muted);
  font: 500 0.78rem/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.company dl {
  margin-top: 14px;
}

.company dl > div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.company dl > div:last-child {
  padding-bottom: 0;
}

.company dt {
  padding-top: 3px;
  color: var(--muted);
  font: 500 0.74rem/1.5 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.company dd {
  font-weight: 500;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  grid-area: form;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(13, 13, 40, 0.6);
  color: var(--text);
  font: 400 1rem/1.5 var(--font);
  transition: border-color 0.2s;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline-offset: 0;
}

.contact-form__pot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 4px;
  cursor: pointer;
}

.contact-form__status {
  display: none;
  padding: 12px 14px;
  border-left: 3px solid var(--product);
  border-radius: var(--radius-sm);
  background: rgba(51, 115, 63, 0.25);
  color: var(--text);
  font-size: 0.95rem;
}

.contact-form__status:target {
  display: block;
}

.contact-form__status--blad {
  border-left-color: var(--accent);
  background: rgba(255, 18, 0, 0.12);
}

.contact-form__rodo {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.contact-form__rodo details,
.contact-form__rodo details p {
  margin-top: 8px;
}

.contact-form__rodo summary {
  width: fit-content;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.contact-form__rodo summary:hover {
  color: var(--text);
}

/* ---------- Stopka ---------- */

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .brand__mark {
  height: 30px;
}

.site-footer .brand__word {
  height: 14px;
}

.site-footer__tag {
  color: var(--accent-text);
  font: 500 0.74rem/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__copy {
  margin-left: auto;
}

/* ---------- Ruch ---------- */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .hero__text > *,
  .hero__logo {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero__text > :nth-child(2) {
    animation-delay: 0.06s;
  }

  .hero__text > :nth-child(3) {
    animation-delay: 0.12s;
  }

  .hero__text > :nth-child(4) {
    animation-delay: 0.18s;
  }

  .hero__logo {
    animation-delay: 0.1s;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech__viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .tech__track {
    display: block;
    width: auto;
    animation: none;
  }

  .tech__list {
    flex-shrink: 1;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 16px;
    padding-inline: var(--gutter);
  }

  .tech__list[aria-hidden="true"] {
    display: none;
  }

  .tech__list li:last-child::after {
    display: none;
  }

  .card:hover {
    transform: none;
  }
}

/* ---------- Mniejsze ekrany ---------- */

@media (max-width: 1023px) {
  .cards,
  .work {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work__card {
    grid-column: auto;
  }

  .work__card--featured,
  .work__card--wide {
    grid-column: 1 / -1;
  }

  .work__card--featured {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .work__body {
    padding: 36px;
  }

  .work__shots {
    min-height: 360px;
  }

  .work__shots img {
    width: 32%;
  }

  .work__shots img:first-child {
    top: 12px;
    left: 14%;
  }

  .work__shots img:last-child {
    top: 56px;
    left: 54%;
  }
}

@media (max-width: 899px) {
  .hero__grid,
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact__grid {
    grid-template-rows: auto;
    grid-template-areas:
      "intro"
      "form"
      "company";
  }

  .hero__logo {
    order: -1;
  }

  .hero__logo img {
    width: min(62%, 250px);
    margin-inline: 0;
  }

  .hero::before {
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 60% 30%, #000 10%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 60% at 60% 30%, #000 10%, transparent 75%);
  }

  .hero::after {
    top: 180px;
    right: -320px;
  }
}

@media (max-width: 759px) {
  :root {
    --header-h: 64px;
  }

  .site-nav {
    display: none;
  }

  .site-header__inner {
    justify-content: space-between;
  }

  .brand__mark {
    height: 34px;
  }

  .brand__word {
    height: 15px;
  }

  .proof__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .proof__grid > div {
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .proof__grid > div:first-child {
    border-top: 0;
  }

  .proof dd {
    max-width: none;
  }
}

@media (max-width: 699px) {
  .cards,
  .work {
    grid-template-columns: minmax(0, 1fr);
  }

  .work__body {
    padding: 28px;
  }

  .work__shots {
    min-height: 320px;
  }

  .work__shots img {
    width: 46%;
  }

  .work__shots img:first-child {
    top: 8px;
    left: 5%;
  }

  .work__shots img:last-child {
    top: 44px;
    left: 49%;
  }

  .actions .btn,
  .contact-form .btn {
    width: 100%;
  }

  .site-footer__copy {
    margin-left: 0;
  }
}
