/* Public site styles. */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url(fonts/open-sans-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url(fonts/open-sans-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: "Raleway";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/raleway-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/raleway-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;
}

:root {
  --accent: #d9232d;
  --accent-hover: #b91c25;
  --accent-soft: #fbe9ea;
  --text: #3d4650;
  --heading: #2b333c;
  --muted: #6b7b8d;
  --line: #e4e8ec;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --footer: #4a5562;
  --footer-text: #e9edf1;
  --header-h: 76px;
  --radius: 6px;
  --container: 1140px;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Raleway", "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  /* Footer stays at the bottom of the window on short pages. */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-wrap: break-word;
  /* lang="bg" would switch Raleway to Bulgarian letterforms (т as m, д as g); keep the standard ones. */
  font-feature-settings: "locl" 0;
}

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

/* Form controls don't inherit font settings by default. */
button,
input,
select,
textarea {
  font-feature-settings: inherit;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--accent-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.25;
  margin: 1.6em 0 0.6em;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
}
.skip-link:focus {
  top: 12px;
}

main {
  flex: 1 0 auto;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(1.4) blur(8px);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(20, 30, 40, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.logo {
  display: block;
  flex: none;
  margin-right: auto;
  line-height: 0;
  color: var(--heading);
  font-family: var(--font-head);
  font-weight: 700;
}
.logo img {
  width: auto;
  height: 58px;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--heading);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle span {
  top: 21px;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  left: 0;
}
.nav-toggle span::before {
  top: -7px;
}
.nav-toggle span::after {
  top: 7px;
}
.nav-open .nav-toggle span {
  background: transparent;
}
.nav-open .nav-toggle span::before {
  transform: translateY(7px) rotate(45deg);
}
.nav-open .nav-toggle span::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1060px) {
  :root {
    --header-h: 64px;
  }
  .logo img {
    height: 46px;
  }
  .nav-toggle {
    display: block;
  }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: #fff;
    padding: 12px 20px 40px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
  }
  .nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s, transform 0.2s;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .site-nav li + li {
    border-top: 1px solid var(--line);
  }
  .site-nav a {
    padding: 14px 4px;
    font-size: 18px;
    white-space: normal;
  }
  body.nav-open {
    overflow: hidden;
  }
}

/* ------------------------------------------------------------------ hero carousel */

.hero {
  position: relative;
  height: min(calc(100svh - var(--header-h)), 780px);
  min-height: 420px;
  overflow: hidden;
  background: #2f3740;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.hero-track {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  will-change: transform;
}
.hero-slide.is-active,
.hero-slide.is-moving {
  visibility: visible;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 25, 30, 0.35) 0%, rgba(20, 25, 30, 0.55) 100%);
}
.hero-caption {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 56px;
}
.hero-caption .container {
  max-width: 860px;
}
.hero-caption h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(30px, 5.2vw, 56px);
  font-weight: 700;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero-caption p {
  margin: 0 auto 26px;
  font-size: clamp(16px, 2vw, 19px);
}
/*
 * Slide animations start as soon as a slide begins moving in (.is-moving) and keep running
 * when it becomes .is-active: the selector keeps matching, so the animation isn't restarted.
 */
:is(.hero-slide.is-active, .hero-slide.is-moving) .hero-caption > .container > * {
  animation: hero-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
:is(.hero-slide.is-active, .hero-slide.is-moving) .hero-caption > .container > :nth-child(2) {
  animation-delay: 0.12s;
}
:is(.hero-slide.is-active, .hero-slide.is-moving) .hero-caption > .container > :nth-child(3) {
  animation-delay: 0.24s;
}
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
:is(.hero-slide.is-active, .hero-slide.is-moving) .hero-img {
  animation: hero-zoom 9s ease-out both;
}
@keyframes hero-zoom {
  from {
    transform: scale(1.06);
  }
}

.btn,
.prose a.button {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}
.btn:hover,
.prose a.button:hover {
  background: var(--accent-hover);
  color: #fff;
}
.btn:active {
  transform: translateY(1px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s;
}
.hero-arrow:hover {
  background: var(--accent);
}
.hero-arrow svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-prev {
  left: 16px;
}
.hero-next {
  right: 16px;
}
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.hero-dots button {
  width: 32px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.hero-dots button::before {
  content: "";
  display: block;
  height: 4px;
  margin: 10px 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.55);
  transition: background-color 0.2s;
}
.hero-dots button[aria-current="true"]::before {
  background: var(--accent);
}
@media (max-width: 700px) {
  .hero {
    height: min(calc(100svh - var(--header-h)), 560px);
    min-height: 360px;
  }
  .hero-arrow {
    display: none;
  }
  .hero-caption {
    padding: 0 8px 30px;
  }
}

/* ------------------------------------------------------------------ sections */

.section {
  padding: 56px 0;
}
.section + .section {
  padding-top: 0;
}
.section-title {
  margin: 0 0 28px;
  font-size: 28px;
  text-align: center;
}
.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--accent);
}

.page-head {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}
.page-head h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 400;
}

.draft-banner {
  background: #fff6db;
  border-bottom: 1px solid #f1dc9a;
  color: #6b5413;
  text-align: center;
  padding: 8px 20px;
  font-size: 14px;
}

.intro .prose {
  margin: 0 auto;
  font-size: 18px;
}

/* JS-enhanced reveal; content is fully visible without JavaScript. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ page content */

.prose {
  max-width: 860px;
}
.prose::after {
  content: "";
  display: table;
  clear: both;
}
.prose > :first-child {
  margin-top: 0;
}
.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose figure,
.prose .table-wrap {
  margin: 0 0 1.1em;
}
.prose h2 {
  font-size: 26px;
}
.prose h3 {
  font-size: 21px;
}
.prose h4 {
  font-size: 18px;
}
.prose ul {
  padding: 0;
  list-style: none;
}
.prose ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 0.45em;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 13px;
  height: 8px;
  border: solid var(--accent);
  border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg);
}
.prose ol {
  padding-left: 1.4em;
}
.prose ol li {
  margin-bottom: 0.45em;
  padding-left: 4px;
}
.prose li > ul,
.prose li > ol {
  margin: 0.45em 0 0;
}
.prose blockquote {
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-style: italic;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2em 0;
}
.prose img {
  display: block;
  border-radius: var(--radius);
}
/* Only plain images lose their margin; aligned/floated ones keep the spacing below. */
.prose p > img:only-child:not([class*="align"]):not([style*="float"]) {
  margin: 0;
}
.prose img.alignright,
.prose img[style*="float: right"],
.prose img[style*="float:right"] {
  float: right;
  margin: 6px 0 24px 44px;
  max-width: 45%;
}
.prose img.alignleft,
.prose img[style*="float: left"],
.prose img[style*="float:left"] {
  float: left;
  margin: 6px 44px 24px 0;
  max-width: 45%;
}
.prose img.aligncenter {
  margin-left: auto;
  margin-right: auto;
}
.prose .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
}
.prose td,
.prose th {
  padding: 10px 12px;
  border: 1px solid var(--line);
  vertical-align: top;
}
.prose th {
  background: var(--bg-soft);
  text-align: left;
}
.prose .embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0 0 1.1em;
}
.prose .embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
}
.prose a.file-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.prose a.file-link::before {
  content: "";
  flex: none;
  align-self: center;
  width: 14px;
  height: 17px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 17'%3E%3Cpath d='M1 0h8l5 5v11a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1zm7 1.5V6h4.5zM3 9v1.5h8V9zm0 3v1.5h8V12z'/%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 17'%3E%3Cpath d='M1 0h8l5 5v11a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1zm7 1.5V6h4.5zM3 9v1.5h8V9zm0 3v1.5h8V12z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .prose img.alignright,
  .prose img.alignleft,
  .prose img[style*="float"] {
    float: none !important;
    max-width: 100%;
    margin: 0 0 1.1em !important;
  }
}

/* ------------------------------------------------------------------ cards (events) & gallery */

.cards,
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

.card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #556270;
  color: #fff;
  text-decoration: none;
  aspect-ratio: 4 / 3;
  box-shadow: 0 6px 20px rgba(20, 30, 40, 0.08);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card-media {
  position: absolute;
  inset: 0;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 25, 30, 0) 40%, rgba(20, 25, 30, 0.78) 100%);
  transition: background-color 0.3s;
}
.card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 18px 20px;
}
.card-title {
  display: block;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.card-meta {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  opacity: 0.85;
}
.card:hover {
  color: #fff;
}
.card:hover img {
  transform: scale(1.06);
}
.card:hover::after {
  background-color: rgba(217, 35, 45, 0.18);
}

.gallery {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 14px;
}
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.2s;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
@media (max-width: 480px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* ------------------------------------------------------------------ lightbox */

.lb {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: rgba(12, 14, 17, 0.96);
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s;
  touch-action: none;
}
.lb.is-open {
  opacity: 1;
}
.lb[hidden] {
  display: none;
}
.lb-stage {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.lb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 56px 64px;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}
.lb-btn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}
.lb-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}
.lb-btn svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.lb-close {
  top: 10px;
  right: 10px;
}
.lb-prev,
.lb-next {
  top: 50%;
  margin-top: -24px;
}
.lb-prev {
  left: 10px;
}
.lb-next {
  right: 10px;
}
.lb-bar {
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 10px 20px max(14px, env(safe-area-inset-bottom));
  font-size: 14px;
  text-align: center;
}
.lb-count {
  opacity: 0.75;
  white-space: nowrap;
}
.lb-spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  opacity: 0;
  transition: opacity 0.2s 0.15s;
  pointer-events: none;
}
.lb.is-loading .lb-spinner {
  opacity: 1;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 700px) {
  .lb-img {
    padding: 56px 0 8px;
  }
  .lb-prev,
  .lb-next {
    display: none;
  }
}

/* ------------------------------------------------------------------ footer */

.site-footer {
  margin-top: 40px;
  background: var(--footer);
  color: var(--footer-text);
  font-size: 15px;
  padding: 40px 0 28px;
  text-align: center;
}
.site-footer a {
  color: #fff;
}
.footer-main p {
  margin: 0 0 4px;
}
.footer-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
}
.copyright {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: rgba(233, 237, 241, 0.8);
}
.credit a {
  color: rgba(233, 237, 241, 0.8);
  text-decoration: none;
}
.credit a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ------------------------------------------------------------------ contact form */

.contact-section h2 {
  margin-top: 0;
}
.contact-form {
  display: grid;
  gap: 16px;
  max-width: 720px;
}
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--heading);
}
.contact-form label > span[aria-hidden] {
  color: var(--accent);
}
.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  border: 1px solid #cdd4da;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 35, 45, 0.15);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.contact-form .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
}
.contact-form .consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}
.contact-form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}
.contact-form button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.captcha-img {
  display: block;
  width: 180px;
  height: 64px;
  border: 1px solid #cdd4da;
  border-radius: var(--radius);
  background: #f7f4ef;
}
.contact-form .captcha-refresh {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #cdd4da;
  border-radius: var(--radius);
  background: #fff;
  color: var(--heading);
  font-size: 20px;
  cursor: pointer;
}
.contact-form .captcha-refresh:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.contact-form .captcha-row input {
  width: 150px;
  margin-top: 0;
  font-size: 20px;
  letter-spacing: 0.25em;
  text-align: center;
}
.cf-turnstile {
  min-height: 65px;
}
.contact-form .hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin: 0;
  padding: 0;
}
.form-status:empty {
  display: none;
}
.form-status.ok,
.form-status.error {
  padding: 12px 16px;
  border-radius: var(--radius);
}
.form-status.ok {
  background: #e8f6ee;
  color: #17603a;
}
.form-status.error {
  background: var(--accent-soft);
  color: #8f141b;
}
.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0s 0.25s;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s, transform 0.25s;
}
.to-top:hover {
  background: var(--accent-hover);
  color: #fff;
}
.to-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-pill {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 90;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--heading);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.admin-pill:hover {
  color: #fff;
  background: #000;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero,
  .to-top,
  .admin-pill {
    display: none !important;
  }
}
