/* Design system (theme 3.0): colours, type scale, text styles and shared components.
   Loaded right after the legacy style.css; the page stylesheets in css/ build on these variables.
   Palette: navy background, the brand light blue (#61bed3) for accents. White text never sits on
   the light blue (2.1:1); navy text does (5.5:1). */

:root {
  --navy: #1f3764;
  --navy-deep: #172c52;
  --navy-raised: #26427a;
  --accent: #61bed3;
  --accent-light: #8fd3e2;
  --accent-ink: #1b7489; /* accent coloured text on white, 5.4:1 */
  --paper: #f4f7fa;
  --ink: #1f3764; /* text on white and light blue */
  --ink-muted: #5b6f93;
  --text-muted: #b9c6dc; /* secondary text on navy, 6.8:1 */
  --line: rgba(255, 255, 255, 0.16);
  --line-ink: rgba(31, 55, 100, 0.16);
  --line-accent: rgba(97, 190, 211, 0.45);

  --ff-display: CeraStencilPro-Light, Arial, sans-serif;
  --ff-text: Inter, Arial, sans-serif;

  --fs-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem); /* 17 → 19px */
  --fs-small: 0.9375rem; /* 15px */
  --fs-label: 0.8125rem; /* 13px, uppercase labels */
  --fs-lead: clamp(1.25rem, 1.05rem + 0.7vw, 1.75rem); /* 20 → 28px */
  --fs-statement: clamp(1.75rem, 1.15rem + 2.3vw, 3.5rem); /* 28 → 56px */
  --fs-h1: clamp(2.5rem, 1.55rem + 4vw, 5.25rem); /* 40 → 84px */
  --fs-h2: clamp(1.625rem, 1.35rem + 1vw, 2.25rem); /* 26 → 36px */
  --fs-h3: clamp(1.3125rem, 1.15rem + 0.55vw, 1.75rem); /* 21 → 28px */

  --gutter: clamp(20px, 4.5vw, 72px);
  --wrap: 1320px;
  --text-wrap: 760px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --contours: url("../img/contours.svg");
}

@media (min-width: 1001px) {
  :root {
    --header-h: 88px;
  }
}

/* ---------- Base ---------- */

html {
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

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

body {
  background-color: var(--navy);
  color: #fff;
  font-family: var(--ff-text);
  font-size: var(--fs-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* On the light blue, on white and in the white map popups the ring is navy. */
.gtp-highlight :focus-visible,
.is-light :focus-visible,
.gtp-map .maplibregl-popup :focus-visible {
  outline-color: var(--navy);
}

.skip-link:focus {
  background: var(--accent);
  color: var(--navy);
}

img {
  max-width: 100%;
  height: auto;
}

/* The layout wrapper used by the redesigned templates. */
.gtp-wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Contour lines: the topographic map motif ---------- */
/* An absolutely placed layer: <span class="gtp-contours" aria-hidden="true"></span> inside a
   positioned box. The colour comes from `color`, the strength from --contours-opacity. */
.gtp-contours {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  color: var(--accent);
  opacity: var(--contours-opacity, 0.18);
  background-color: currentColor;
  -webkit-mask: var(--contours) center / cover no-repeat;
  mask: var(--contours) center / cover no-repeat;
}

.gtp-contours--fade-left {
  -webkit-mask: var(--contours) center / cover no-repeat, linear-gradient(90deg, transparent 0%, #000 45%);
  -webkit-mask-composite: source-in;
  mask: var(--contours) center / cover no-repeat, linear-gradient(90deg, transparent 0%, #000 45%);
  mask-composite: intersect;
}

/* ---------- Text styles ---------- */

/* Small uppercase label with a short accent line, used above titles. */
.gtp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--ff-text);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.gtp-eyebrow::before {
  content: "";
  flex: none;
  width: 32px;
  height: 1px;
  background: currentColor;
}

.gtp-eyebrow a {
  display: inline-block;
  margin: -12px 0;
  padding: 12px 0;
  color: inherit;
  text-decoration: none;
}

.gtp-eyebrow a:hover {
  color: #fff;
}

/* Larger intro text in the display font. */
.gtp-lead,
.gtp-lead p {
  font-family: var(--ff-display);
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.gtp-lead p + p {
  margin-top: 0.8em;
}

/* Cera has a single weight: emphasis is colour, not a faux bold. */
.gtp-lead strong,
.gtp-lead b {
  font-weight: inherit;
  color: var(--accent);
}

.gtp-statement {
  font-family: var(--ff-display);
  font-size: var(--fs-statement);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--accent);
}

/* Headings break into lines of even length, leads avoid a lone word on the last line. */
.gtp-statement,
.gtp-sec-head__title,
.gtp-section__statement {
  text-wrap: balance;
}

.gtp-lead,
.gtp-lead p {
  text-wrap: pretty;
}

/* ---------- Section heading ----------
   <header class="gtp-sec-head"><span class="gtp-sec-head__index"></span><h2 class="gtp-sec-head__title">…</h2></header>
   The number comes from a CSS counter, so sections number themselves 01, 02, 03… */
body {
  counter-reset: gtp-section;
}

.gtp-sec-head {
  margin: 0 0 22px;
}

.gtp-sec-head__index {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-family: var(--ff-text);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
}

.gtp-sec-head__index::before {
  counter-increment: gtp-section;
  content: counter(gtp-section, decimal-leading-zero);
}

.gtp-sec-head__index::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--line-accent);
}

.gtp-sec-head__title,
.gtp-sec-head h2 {
  margin: 14px 0 0;
  padding: 0;
  color: #fff;
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-transform: none;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Long titles (questions, calls to action) in a smaller size. */
.gtp-sec-head--long .gtp-sec-head__title {
  font-size: clamp(1.3125rem, 1.15rem + 0.5vw, 1.625rem);
  line-height: 1.25;
}

/* Sections (inc/sections.php, gtp_print_sections()): the heading above its text on phones and
   tablets, in a left column from 1100px. A thin line opens every section after the intro. */
.gtp-sections {
  display: grid;
  gap: clamp(56px, 7vw, 104px);
}

.gtp-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line);
}

.gtp-section--intro {
  padding-top: 0;
  border-top: 0;
}

.gtp-section__body {
  min-width: 0;
  max-width: var(--text-wrap);
}

/* The intro's first paragraph reads as a lead (unless the hero already shows it, page.php). */
.gtp-section--intro:not(.gtp-section--no-lead) .gtp-prose > p:first-child {
  margin-bottom: 1.1em;
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--ff-display);
  font-size: var(--fs-lead);
  line-height: 1.45;
}

.gtp-section--intro:not(.gtp-section--no-lead) .gtp-prose > p:first-child strong,
.gtp-section--intro:not(.gtp-section--no-lead) .gtp-prose > p:first-child b {
  font-weight: inherit;
  color: var(--accent);
}

/* A heading without text of its own introduces the sections after it, like a lead. */
.gtp-section__statement {
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--ff-display);
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: normal;
  text-transform: none;
}

/* A heading without a number (the contact form at the end of a service page). */
.gtp-sec-head--plain .gtp-sec-head__title {
  margin-top: 0;
}

@media (min-width: 1100px) {
  .gtp-section {
    grid-template-columns: minmax(240px, 320px) minmax(0, var(--text-wrap));
    column-gap: clamp(48px, 6vw, 112px);
  }

  .gtp-section > .gtp-sec-head {
    margin-bottom: 0;
  }

  /* The heading stays in view while its text scrolls past. */
  .gtp-section > .gtp-sec-head .gtp-sec-head__sticky {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .gtp-section--no-head > .gtp-section__body {
    grid-column: 2;
  }
}

/* ---------- Text from the editor (WYSIWYG fields and page content) ---------- */

.gtp-prose {
  font-size: var(--fs-body);
  line-height: 1.7;
  overflow-wrap: break-word;
}

.gtp-prose p:not(table p) {
  margin: 0 0 1em;
  font-size: inherit;
  line-height: inherit;
}

.gtp-prose > :last-child {
  margin-bottom: 0;
}

.gtp-prose strong,
.gtp-prose b {
  font-weight: 600;
}

.gtp-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.gtp-prose a:hover {
  color: var(--accent-light);
}

.gtp-prose h2,
.gtp-prose h3,
.gtp-prose h4,
.gtp-prose h5,
.gtp-prose h6 {
  margin: 1.6em 0 0.6em;
  color: var(--accent);
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1.25;
}

.gtp-prose h2 {
  font-size: var(--fs-h2);
}

.gtp-prose h3 {
  font-size: var(--fs-h3);
}

.gtp-prose h4,
.gtp-prose h5,
.gtp-prose h6 {
  font-size: calc(var(--fs-body) * 1.15);
}

.gtp-prose > h2:first-child,
.gtp-prose > h3:first-child,
.gtp-prose > h4:first-child {
  margin-top: 0;
}

/* Lists: accent dashes instead of bullets, numbers in the accent colour. */
.gtp-prose ul,
.gtp-prose ol {
  margin: 0 0 1.2em;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

.gtp-prose li {
  position: relative;
  margin: 0;
  padding: 0.35em 0 0.35em 1.75em;
  border: 0;
  list-style: none;
}

.gtp-prose ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(0.35em + 0.82em);
  width: 0.9em;
  height: 1px;
  background: var(--accent);
}

.gtp-prose ol {
  counter-reset: gtp-ol;
}

.gtp-prose ol > li {
  counter-increment: gtp-ol;
}

.gtp-prose ol > li::before {
  content: counter(gtp-ol) ".";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 500;
}

/* A list made only of links (e.g. "Realizujemy m.in. takie usługi jak:", marked by
   gtp_mark_link_lists() in inc/content.php) becomes link tiles. */
.gtp-prose ul.gtp-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 10px;
  margin-top: 0.6em;
}

.gtp-prose ul.gtp-link-list > li {
  padding: 0;
}

/* Two columns keep every label on one line; an odd last tile takes the whole row. */
@media (min-width: 600px) {
  .gtp-prose ul.gtp-link-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gtp-prose ul.gtp-link-list > li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.gtp-prose ul.gtp-link-list > li::before {
  content: none;
}

.gtp-prose ul.gtp-link-list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line-accent);
  color: #fff;
  text-decoration: none;
  line-height: 1.35;
  transition: background-color 0.25s var(--ease), border-color 0.25s, color 0.25s;
}

.gtp-prose ul.gtp-link-list > li > a::first-letter {
  text-transform: uppercase;
}

.gtp-prose ul.gtp-link-list > li > a::after {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%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 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s var(--ease), background-color 0.25s;
}

.gtp-prose ul.gtp-link-list > li > a:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
}

.gtp-prose ul.gtp-link-list > li > a:hover::after {
  background-color: var(--navy);
  transform: translateX(4px);
}

.gtp-prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin-bottom: 1.2em;
  font-size: var(--fs-small);
  line-height: 1.5;
}

.gtp-prose th,
.gtp-prose td {
  padding: 10px 12px !important; /* style.css resets table cell padding with !important */
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.gtp-prose img {
  height: auto;
}

/* White and light panels: navy text, darker accents. */
.is-light,
.is-light .gtp-prose {
  color: var(--ink);
}

.is-light .gtp-prose a {
  color: var(--accent-ink);
}

.is-light .gtp-prose a:hover {
  color: var(--ink);
}

.is-light .gtp-prose h2,
.is-light .gtp-prose h3,
.is-light .gtp-prose h4,
.is-light .gtp-prose h5,
.is-light .gtp-prose h6,
.is-light .gtp-sec-head__index {
  color: var(--accent-ink);
}

.is-light .gtp-sec-head__title,
.is-light .gtp-sec-head h2 {
  color: var(--ink);
}

.is-light .gtp-prose ul > li::before {
  background: var(--accent-ink);
}

.is-light .gtp-prose ol > li::before {
  color: var(--accent-ink);
}

.is-light .gtp-prose th,
.is-light .gtp-prose td {
  border-color: var(--line-ink);
}

/* ---------- Page hero (template-parts/page-hero.php): eyebrow, title, lead, image ---------- */

.gtp-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 96px) 0 clamp(48px, 7vw, 112px);
}

.gtp-page-hero .gtp-contours {
  left: 30%;
  --contours-opacity: 0.17;
}

.gtp-page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 56px);
}

.gtp-page-hero__title,
.gtp-page-hero h1 {
  max-width: 15em;
  margin: 0;
  padding: 0;
  color: var(--accent);
  font-family: var(--ff-display);
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-wrap: balance;
}

.gtp-page-hero__lead {
  max-width: 38em;
  margin-top: clamp(24px, 3vw, 40px);
}

.gtp-page-hero__lead > :last-child {
  margin-bottom: 0;
}

.gtp-page-hero__media {
  margin: 0;
}

.gtp-page-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gtp-page-hero__caption {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 22px;
}

@media (min-width: 1001px) {
  .gtp-page-hero--image .gtp-page-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(48px, 6vw, 112px);
    align-items: center;
  }

  .gtp-page-hero--image .gtp-page-hero__title {
    font-size: clamp(2.5rem, 1.4rem + 3vw, 4.5rem);
  }
}

/* Entrance of the hero, without waiting for any script. */
@keyframes gtp-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.gtp-rise {
  animation: gtp-rise 0.7s var(--ease) both;
  animation-delay: calc(var(--rise-i, 0) * 70ms + 40ms);
}

/* The hero photo is the largest thing on the first screen: it shows from the first paint and
   only brightens and settles (an element that starts invisible delays what visitors, and the
   browser's "largest contentful paint", count as the page being there). */
@keyframes gtp-rise-photo {
  from {
    opacity: 0.4;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.gtp-rise-photo {
  animation: gtp-rise-photo 0.9s var(--ease) both;
}

@media (prefers-reduced-motion: reduce) {
  .gtp-rise,
  .gtp-rise-photo {
    animation: none;
  }
}

/* Page body below the hero. */
.gtp-page-body {
  padding-bottom: clamp(16px, 3vw, 40px);
}

/* ---------- Buttons and links ---------- */

.gtp-btn,
a.gtp-btn,
button.gtp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--accent);
  color: var(--navy);
  font-family: var(--ff-text);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s, border-color 0.25s;
}

.gtp-btn:hover,
.gtp-btn:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}

.gtp-btn--ghost,
a.gtp-btn--ghost,
button.gtp-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: var(--line-accent);
}

.gtp-btn--ghost:hover,
.gtp-btn--ghost:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
}

.gtp-btn svg,
.gtp-link-arrow svg {
  flex: none;
  transition: transform 0.25s var(--ease);
}

.gtp-btn:hover svg,
.gtp-link-arrow:hover svg {
  transform: translateX(4px);
}

.gtp-btn--navy,
a.gtp-btn--navy,
button.gtp-btn--navy {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.gtp-btn--navy:hover,
.gtp-btn--navy:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}

/* Text link with an arrow in a circle. */
.gtp-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--accent);
  font-family: var(--ff-display);
  font-size: 1.25rem;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.25s;
}

.gtp-link-arrow__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background-color 0.25s var(--ease), color 0.25s, border-color 0.25s;
}

.gtp-link-arrow:hover {
  color: #fff;
}

.gtp-link-arrow:hover .gtp-link-arrow__icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
}

/* ---------- Filter chips (Projekty, Klienci, Publikacje) ---------- */

.gtp-chip,
button.gtp-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: var(--ff-text);
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.gtp-chip:hover {
  background: transparent;
  border-color: var(--accent);
  color: #fff;
}

.gtp-chip[aria-pressed="true"],
.gtp-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
}

.gtp-chip__count {
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

.gtp-chip[aria-pressed="true"] .gtp-chip__count,
.gtp-chip.is-active .gtp-chip__count {
  color: var(--navy);
}

/* The number of items next to a page title (Klienci, Projekty). */
.gtp-title-count {
  display: inline-block;
  margin-left: 0.25em;
  padding: 0.35em 0.7em;
  border: 1px solid var(--line-accent);
  border-radius: 999px;
  color: #fff;
  font-family: var(--ff-text);
  font-size: max(0.2em, 0.8125rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  vertical-align: top;
  margin-top: 0.75em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Search field (Publikacje, Projekty, Klienci) ----------
   <label class="gtp-search"><span class="screen-reader-text">…</span><svg class="gtp-search__icon">…</svg>
   <input class="gtp-search__input" type="search"></label> */

.gtp-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  color: var(--text-muted);
  transition: color 0.2s;
}

.gtp-search:focus-within {
  color: var(--accent);
}

.gtp-search__icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.site .gtp-search__input {
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 10px 8px 10px 38px;
  border: 0;
  border-bottom: 1px solid var(--line-accent);
  border-radius: 0;
  background: transparent;
  box-shadow: 0 1px 0 transparent;
  color: #fff;
  font-family: var(--ff-display);
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.4375rem);
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site .gtp-search__input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.site .gtp-search__input:focus {
  outline: none;
  border-bottom-color: var(--accent);
  box-shadow: 0 1px 0 var(--accent);
}

.site .gtp-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%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 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat;
  cursor: pointer;
}

/* The site search form (searchform.php): the field and a button. */
.gtp-search-form {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  max-width: 720px;
}

.gtp-search-form .gtp-search {
  flex: 1;
}

.gtp-search-form .gtp-btn {
  flex: none;
}

@media (max-width: 599px) {
  .gtp-search-form {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ---------- Select with a label in front (Projekty: town) ---------- */

.gtp-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gtp-select__field {
  position: relative;
  display: block;
}

.gtp-select__field::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%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 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}

.site .gtp-select select {
  min-width: 200px;
  min-height: 42px;
  margin: 0;
  padding: 8px 44px 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: var(--ff-text);
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.site .gtp-select select:hover,
.site .gtp-select select:focus {
  border-color: var(--accent);
  outline: none;
}

.site .gtp-select select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.gtp-select option {
  background: var(--navy);
  color: #fff;
}

/* ---------- List filters (js/list-filters.js) ---------- */

.gtp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Phones: the chips in one row that scrolls sideways. */
@media (max-width: 699px) {
  .gtp-chips {
    flex-wrap: nowrap;
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
    padding: 2px var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
  }

  .gtp-chips::-webkit-scrollbar {
    display: none;
  }

  /* With a mouse: a thin scrollbar under the row (js/site.js adds wheel and drag scrolling). */
  @media (hover: hover) and (pointer: fine) {
    .gtp-chips {
      padding-bottom: 8px;
      scrollbar-width: thin;
      scrollbar-color: var(--line-accent) transparent;
    }
  }

  .gtp-chips.is-dragging {
    cursor: grabbing;
    user-select: none;
  }

  /* Room after the last chip, so it can scroll out of the fade. */
  .gtp-chips::after {
    content: "";
    flex: 0 0 32px;
  }

  .gtp-chips .gtp-chip {
    flex: none;
    white-space: nowrap;
  }
}

.gtp-filter-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-small);
  font-variant-numeric: tabular-nums;
}

.gtp-filter-status strong {
  color: var(--accent);
  font-weight: 500;
}

[data-filter-item][hidden],
[data-filter-section][hidden] {
  display: none !important;
}

/* No match: a sentence and a button that clears the filters (js/list-filters.js, js/timeline.js). */
.gtp-filter-empty {
  display: grid;
  gap: 20px;
  justify-items: start;
  margin: 0;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-family: var(--ff-display);
  font-size: var(--fs-lead);
}

.gtp-filter-empty[hidden] {
  display: none;
}

.gtp-filter-empty p {
  margin: 0;
}

/* ---------- Project cards (template-parts/project-card.php) ---------- */

.gtp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: clamp(40px, 4.5vw, 64px) clamp(20px, 2.5vw, 36px);
}

.gtp-card {
  position: relative;
  min-width: 0;
  margin: 0;
}

.gtp-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.gtp-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-deep);
}

.gtp-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

/* No photo: contour lines and the crossed frame of an empty drawing field. */
.gtp-card__media--empty {
  background:
    linear-gradient(to top right, transparent calc(50% - 0.5px), var(--line-accent) 50%, transparent calc(50% + 0.5px)),
    var(--navy-raised);
  box-shadow: inset 0 0 0 1px var(--line);
}

.gtp-card__media--empty .gtp-contours {
  --contours-opacity: 0.22;
  transition: transform 0.9s var(--ease);
}

.gtp-card__link:hover .gtp-card__media--empty .gtp-contours {
  transform: scale(1.06);
}

/* An accent line slides in under the photo. */
.gtp-card__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.gtp-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 20px;
}

.gtp-card__eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.gtp-card__title {
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 1.12rem + 0.45vw, 1.5625rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: pretty;
  overflow-wrap: break-word;
  transition: color 0.25s;
}

.gtp-card__text {
  display: -webkit-box;
  margin: 12px 0 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: var(--fs-small);
  line-height: 1.6;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.gtp-card__foot {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
}

.gtp-card__meta {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-small);
  line-height: 1.45;
}

.gtp-card__meta svg {
  flex: none;
  margin-top: 2px;
  color: var(--accent);
}

.gtp-card__arrow {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid var(--line-accent);
  border-radius: 50%;
  color: var(--accent);
  transition: background-color 0.25s var(--ease), border-color 0.25s, color 0.25s;
}

.gtp-card__arrow svg {
  transition: transform 0.25s var(--ease);
}

.gtp-card__link:hover .gtp-card__media img,
.gtp-card__link:focus-visible .gtp-card__media img {
  transform: scale(1.045);
}

.gtp-card__link:hover .gtp-card__media::after,
.gtp-card__link:focus-visible .gtp-card__media::after {
  transform: scaleX(1);
}

.gtp-card__link:hover .gtp-card__title,
.gtp-card__link:focus-visible .gtp-card__title {
  color: var(--accent);
}

.gtp-card__link:hover .gtp-card__arrow,
.gtp-card__link:focus-visible .gtp-card__arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
}

.gtp-card__link:hover .gtp-card__arrow svg {
  transform: translateX(2px);
}

@media (prefers-reduced-motion: reduce) {
  .gtp-card__media img {
    transition: none;
  }
}

/* Phones: a compact list, the photo as a square on the left. */
@media (max-width: 599px) {
  .gtp-cards {
    gap: 0;
  }

  .gtp-card {
    border-bottom: 1px solid var(--line);
  }

  .gtp-card__link {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 0;
  }

  .gtp-card__media {
    align-self: start;
    aspect-ratio: 1;
  }

  .gtp-card__body {
    padding-top: 0;
  }

  .gtp-card__eyebrow {
    margin-bottom: 6px;
    font-size: 0.6875rem;
  }

  .gtp-card__title {
    font-size: 1.1875rem;
  }

  .gtp-card__text,
  .gtp-card__arrow {
    display: none;
  }

  .gtp-card__foot {
    padding-top: 8px;
  }
}

/* ---------- Year chart (template-parts/year-chart.php): items per year, each bar jumps to its
   year below; js/timeline.js shows the matches of a search ---------- */

.gtp-chart {
  margin: 0 0 clamp(40px, 5vw, 64px);
}

.gtp-chart__bars {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  align-items: end;
  gap: clamp(3px, 0.6vw, 10px);
  height: clamp(150px, 16vw, 220px);
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line-accent);
  list-style: none;
}

.gtp-chart__slot {
  position: relative;
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gtp-chart__link,
.gtp-chart__slot.is-empty {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  min-width: 0;
  color: var(--accent);
  text-decoration: none;
}

.gtp-chart__bar {
  display: block;
  height: max(calc(var(--n) / var(--max) * 78%), 4px);
  background: linear-gradient(180deg, var(--accent) 0, rgba(97, 190, 211, 0.55) 100%);
  opacity: 0.55;
  transform-origin: bottom;
  transition: height 0.5s var(--ease), opacity 0.25s, transform 0.8s var(--ease);
}

.gtp-chart__slot.is-empty .gtp-chart__bar {
  height: 4px;
  background: var(--line);
  opacity: 1;
}

/* Bars rise one after another when the chart comes into view. */
@media screen and (prefers-reduced-motion: no-preference) {
  .gtp-js .gtp-chart[data-reveal]:not(.is-revealed) .gtp-chart__bar {
    transform: scaleY(0);
  }

  .gtp-chart__bar {
    transition-delay: 0s, 0s, calc(var(--bar-i, 0) * 40ms + 150ms);
  }
}

.gtp-chart__count {
  margin-bottom: 8px;
  color: #fff;
  font-size: var(--fs-label);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  opacity: 0.75;
  transition: opacity 0.25s, color 0.25s;
}

.gtp-chart__year {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: color 0.25s;
}

.gtp-chart__slot.is-empty .gtp-chart__year {
  opacity: 0.75;
}

.gtp-chart__link:hover .gtp-chart__bar,
.gtp-chart__link:focus-visible .gtp-chart__bar {
  opacity: 1;
}

.gtp-chart__link:hover .gtp-chart__count,
.gtp-chart__link:focus-visible .gtp-chart__count {
  color: var(--accent);
  opacity: 1;
}

.gtp-chart__link:hover .gtp-chart__year,
.gtp-chart__link:focus-visible .gtp-chart__year {
  color: #fff;
}

.gtp-chart__link:focus-visible {
  outline-offset: 6px;
}

/* No match for the search in that year. */
.gtp-chart__slot.is-dimmed .gtp-chart__count {
  opacity: 0;
}

.gtp-chart__slot.is-dimmed .gtp-chart__year {
  opacity: 0.75;
}

/* Space for the year labels under the axis. */
.gtp-chart::after {
  content: "";
  display: block;
  height: 30px;
}

/* Narrow screens: two-digit years ('97) on every other bar. */
@media (max-width: 799px) {
  .gtp-chart__century {
    display: none;
  }

  .gtp-chart__year::before {
    content: "\2019";
  }

  .gtp-chart__count {
    font-size: 0.6875rem;
  }

  .gtp-chart__slot:not(.is-tick) .gtp-chart__year {
    visibility: hidden;
  }

  /* The bars are too narrow to tap one year: an overview here, the years follow right below. */
  .gtp-chart__link {
    pointer-events: none;
  }
}

/* ---------- Items grouped by year (Publikacje, Referencje): the year in a sticky left column on
   wide screens ---------- */

.gtp-year {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--line);
}

.gtp-year + .gtp-year {
  margin-top: clamp(32px, 4vw, 56px);
}

.gtp-year[hidden],
[data-timeline-item][hidden] {
  display: none;
}

.gtp-year__head {
  margin: 0 0 12px;
}

.gtp-year__sticky {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
}

.gtp-year__label {
  margin: 0;
  padding: 0;
  color: var(--accent);
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4.25rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: none;
  font-variant-numeric: lining-nums;
}

.gtp-year__count {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

@media (min-width: 1000px) {
  .gtp-year {
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    column-gap: clamp(40px, 5vw, 96px);
  }

  .gtp-year__head {
    margin: 0;
  }

  .gtp-year__sticky {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    display: block;
  }

  .gtp-year__count {
    margin-top: 14px;
  }
}

/* ---------- Highlight box in the brand light blue (navy text) ---------- */

.gtp-highlight {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: var(--ink);
}

.gtp-highlight .gtp-contours {
  color: var(--navy);
  --contours-opacity: 0.1;
}

.gtp-highlight > :not(.gtp-contours) {
  position: relative;
  z-index: 1;
}

/* Lead text on light panels. */
.is-light .gtp-lead,
.is-light .gtp-lead p {
  color: var(--ink);
}

.is-light .gtp-lead strong,
.is-light .gtp-lead b {
  color: var(--accent-ink);
}

.is-light .gtp-section {
  border-top-color: var(--line-ink);
}

/* ---------- Memberships box (template-parts/memberships.php) ---------- */

.gtp-members {
  padding: clamp(28px, 4.5vw, 64px);
}

.gtp-members__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(20px, 3vw, 32px);
  color: var(--ink);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.gtp-members__label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.gtp-members__list {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .gtp-members__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 4vw, 64px);
  }
}

.gtp-members__item {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
}

.gtp-members__logo {
  display: grid;
  flex: none;
  place-items: center;
  width: clamp(80px, 8vw, 112px);
  height: clamp(80px, 8vw, 112px);
  padding: 12px;
  overflow: hidden;
  background: var(--navy);
}

.gtp-members__logo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.gtp-members__logo img.is-inverted {
  filter: invert(1);
}

.gtp-members__text {
  margin: 0;
  color: var(--ink);
  font-family: var(--ff-display);
  font-size: clamp(1.1875rem, 1rem + 0.6vw, 1.625rem);
  line-height: 1.3;
}

@media (max-width: 599px) {
  .gtp-members__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .gtp-members__logo {
    width: 76px;
    padding: 10px;
  }
}

/* ---------- Running names (template-parts/clients-marquee.php: Klienci, home page) ---------- */

.gtp-marquee {
  --gap: clamp(18px, 2.2vw, 36px);
  display: grid;
  gap: clamp(8px, 1.2vw, 18px);
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.gtp-marquee__row {
  overflow: hidden;
}

.gtp-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: gtp-marquee var(--duration, 240s) linear infinite;
}

/* Every name and mark carries its own space after it, so the second copy starts exactly at -50%. */
.gtp-marquee__name,
.gtp-marquee__mark {
  flex: none;
  margin-right: var(--gap);
}

.gtp-marquee__name {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--ff-display);
  font-size: clamp(1.625rem, 1.1rem + 2.3vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

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

.gtp-marquee__row:nth-child(2) .gtp-marquee__track {
  --duration: 300s;
  animation-direction: reverse;
}

.gtp-marquee__row:nth-child(2) .gtp-marquee__name {
  color: var(--accent);
}

.gtp-marquee__row:nth-child(3) .gtp-marquee__track {
  --duration: 210s;
}

.gtp-marquee__row:nth-child(3) .gtp-marquee__name {
  color: var(--text-muted);
}

.gtp-marquee:hover .gtp-marquee__track {
  animation-play-state: paused;
}

@keyframes gtp-marquee {
  from {
    transform: translateX(0);
  }

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

@media (prefers-reduced-motion: reduce) {
  .gtp-marquee__track {
    animation: none;
  }
}

/* ---------- Crop marks around a photo, like on a technical drawing ---------- */

.gtp-marks {
  position: relative;
}

.gtp-marks::before,
.gtp-marks::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 22px;
  height: 22px;
  pointer-events: none;
  border: 0 solid var(--accent);
}

.gtp-marks::before {
  top: -10px;
  left: -10px;
  border-top-width: 1px;
  border-left-width: 1px;
}

.gtp-marks::after {
  right: -10px;
  bottom: -10px;
  border-right-width: 1px;
  border-bottom-width: 1px;
}

/* ---------- Scroll reveal (js/site.js) ---------- */

.gtp-js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
}

.gtp-js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce), print {
  .gtp-js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Contact Form 7 (contact page, service pages) ---------- */

.wpcf7-form label {
  display: block;
  color: var(--text-muted);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wpcf7-form p {
  margin: 0 0 20px;
}

.site .wpcf7-form input[type="text"],
.site .wpcf7-form input[type="email"],
.site .wpcf7-form input[type="tel"],
.site .wpcf7-form textarea,
.site .wpcf7-form select {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--ff-text);
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
  transition: border-color 0.2s, background-color 0.2s;
}

.site .wpcf7-form textarea {
  min-height: 180px;
  resize: vertical;
}

.site .wpcf7-form input:focus,
.site .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}

.site .wpcf7-form input[type="submit"] {
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--navy);
  font-family: var(--ff-text);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s;
}

.site .wpcf7-form input[type="submit"]:hover,
.site .wpcf7-form input[type="submit"]:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}

/* The old "send" circle icon next to the button is replaced by the button itself. */
.site .wpcf7-form .submit-button {
  margin-top: 8px;
  text-align: left;
}

.site .wpcf7-form .submit-button::after {
  content: none;
}

.wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #ffb4a8;
  font-size: var(--fs-small);
  letter-spacing: 0;
  text-transform: none;
}

.site .wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 18px;
  border: 1px solid var(--accent);
  color: #fff;
  font-size: var(--fs-small);
}

/* ---------- Print ----------
   Browsers drop the navy backgrounds on paper: dark text on white, without the header, the
   menus, the footer, maps, forms and decorations. */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .gtp-header,
  .mobile-nav,
  .gtp-footer,
  .skip-link,
  .gtp-contours,
  .gtp-marquee,
  .gtp-map,
  .gtp-chips,
  .gtp-search,
  .gtp-btn,
  .gtp-section:has(.wpcf7),
  .wpcf7 {
    display: none !important;
  }

  .gtp-rise,
  .gtp-rise-photo {
    animation: none !important;
  }

  a {
    text-decoration: underline;
  }
}
